aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-11-22 19:44:54 +0800
committersobomax <sobomax@FreeBSD.org>2000-11-22 19:44:54 +0800
commit4114116304a0a694d4258ec662c4f78a82d4a400 (patch)
tree1f58386b8ce3b9b0710fb0d4c77aca83a5181999 /mail
parentd208e189b7811d886d799982c96db2bb692c3ad6 (diff)
downloadfreebsd-ports-gnome-4114116304a0a694d4258ec662c4f78a82d4a400.tar.gz
freebsd-ports-gnome-4114116304a0a694d4258ec662c4f78a82d4a400.tar.zst
freebsd-ports-gnome-4114116304a0a694d4258ec662c4f78a82d4a400.zip
- Add TLS support which includes SSL;
- add sample-flush.cf to pkg-plist; - update to 20001121. PR: 22962 Submitted by: maintainer
Diffstat (limited to 'mail')
-rw-r--r--mail/postfix-current/Makefile19
-rw-r--r--mail/postfix-current/distinfo3
-rw-r--r--mail/postfix-current/files/patch-bb40
-rw-r--r--mail/postfix-current/files/patch-bc40
-rw-r--r--mail/postfix-current/files/patch-bm40
-rw-r--r--mail/postfix-current/files/patch-bo40
-rw-r--r--mail/postfix-current/files/patch-bp63
-rw-r--r--mail/postfix-current/pkg-plist3
8 files changed, 144 insertions, 104 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index bf9ebc8156fe..57cbfaba2a63 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= postfix
-PORTVERSION= 20001030
-PORTREVISION= 1
+PORTVERSION= 20001121
CATEGORIES= mail
MASTER_SITES= ftp://ftp.merit.edu/postfix/experimental/ \
+ ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/ \
ftp://ftp.tux.org/pub/net/postfix/experimental/ \
ftp://ftp.utoronto.ca/mirror/packages/postfix/experimental/ \
ftp://ftp.samurai.com/pub/postfix/experimental/ \
@@ -36,7 +36,7 @@ CONF1= access aliases canonical main.cf master.cf \
regexp_table relocated transport virtual
CONF2= sample-aliases.cf sample-canonical.cf sample-debug.cf \
- sample-filter.cf sample-local.cf sample-misc.cf \
+ sample-filter.cf sample-flush.cf sample-local.cf sample-misc.cf \
sample-rate.cf sample-regexp.cf sample-relocated.cf \
sample-resource.cf sample-rewrite.cf sample-smtp.cf \
sample-smtpd.cf sample-transport.cf sample-virtual.cf
@@ -105,6 +105,19 @@ PLIST_SUB+= WITH_SASL=""
PLIST_SUB+= WITH_SASL="@comment "
.endif
+.if defined(WITH_TLS)
+CONF2+= sample-tls.cf
+BIN1+= tlsmgr
+POSTFIX_CCARGS+= -DHAS_SSL -I/usr/include/openssl
+POSTFIX_AUXLIBS+= -lssl -lcrypto
+DISTFILES+= ${DISTNAME}.tar.gz pfixtls-0.6.23-snap20001030-0.9.6.tar.gz
+EXTRA_PATCHES+= ${WRKDIR}/pfixtls-0.6.23-snap20001030-0.9.6/pfixtls.diff
+PATCH_STRIP= -p1
+PLIST_SUB+= WITH_TLS=""
+.else
+PLIST_SUB+= WITH_TLS="@comment "
+.endif
+
post-patch:
(cd ${WRKSRC} && make -f Makefile.init makefiles ${MAKEFILEFLAGS} \
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
diff --git a/mail/postfix-current/distinfo b/mail/postfix-current/distinfo
index 13782956a2cd..26513c47d182 100644
--- a/mail/postfix-current/distinfo
+++ b/mail/postfix-current/distinfo
@@ -1 +1,2 @@
-MD5 (snapshot-20001030.tar.gz) = c53af2a2dd52a2ddb92958bb91c14de1
+MD5 (snapshot-20001121.tar.gz) = c2c20ea7ba47c42af8c2da6ffbef855c
+MD5 (pfixtls-0.6.23-snap20001030-0.9.6.tar.gz) = a2e32d621740c760d0355ce31dea220b
diff --git a/mail/postfix-current/files/patch-bb b/mail/postfix-current/files/patch-bb
index 0fb75ceeeae0..ea744664dfa7 100644
--- a/mail/postfix-current/files/patch-bb
+++ b/mail/postfix-current/files/patch-bb
@@ -1,20 +1,20 @@
-*** ./html/access.5.html.orig Sat Apr 22 20:28:36 2000
---- ./html/access.5.html Thu Jun 1 22:21:32 2000
-***************
-*** 11,13 ****
- <b>SYNOPSIS</b>
-! <b>postmap</b> <b>/etc/postfix/access</b>
-
---- 11,13 ----
- <b>SYNOPSIS</b>
-! <b>postmap</b> <b>!!PREFIX!!/etc/postfix/access</b>
-
-***************
-*** 22,24 ****
- used for fast searching by the mail system. Execute the
-! command <b>postmap</b> <b>/etc/postfix/access</b> in order to rebuild
- the indexed file after changing the access table.
---- 22,24 ----
- used for fast searching by the mail system. Execute the
-! command <b>postmap</b> <b>!!PREFIX!!/etc/postfix/access</b> in order to rebuild
- the indexed file after changing the access table.
+--- ./html/access.5.html.orig Tue Nov 21 21:24:13 2000
++++ ./html/access.5.html Tue Nov 21 21:24:34 2000
+@@ -9,7 +9,7 @@
+ access - format of Postfix access table
+
+ <b>SYNOPSIS</b>
+- <b>postmap</b> <b>/etc/postfix/access</b>
++ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/access</b>
+
+ <b>DESCRIPTION</b>
+ The optional <b>access</b> table directs the Postfix SMTP server
+@@ -21,7 +21,7 @@
+ that serves as input to the <a href="postmap.1.html"><b>postmap</b>(1)</a> command. The
+ result, an indexed file in <b>dbm</b> or <b>db</b> format, is used for
+ fast searching by the mail system. Execute the command
+- <b>postmap</b> <b>/etc/postfix/access</b> in order to rebuild the
++ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/access</b> in order to rebuild the
+ indexed file after changing the access table.
+
+ When the table is provided via other means such as NIS,
diff --git a/mail/postfix-current/files/patch-bc b/mail/postfix-current/files/patch-bc
index 652e13c1f066..e407a9650585 100644
--- a/mail/postfix-current/files/patch-bc
+++ b/mail/postfix-current/files/patch-bc
@@ -1,20 +1,20 @@
-*** ./html/canonical.5.html.orig Sat Apr 22 20:28:37 2000
---- ./html/canonical.5.html Thu Jun 1 22:21:57 2000
-***************
-*** 11,13 ****
- <b>SYNOPSIS</b>
-! <b>postmap</b> <b>/etc/postfix/canonical</b>
-
---- 11,13 ----
- <b>SYNOPSIS</b>
-! <b>postmap</b> <b>!!PREFIX!!/etc/postfix/canonical</b>
-
-***************
-*** 21,23 ****
- used for fast searching by the mail system. Execute the
-! command <b>postmap</b> <b>/etc/postfix/canonical</b> in order to rebuild
- the indexed file after changing the canonical table.
---- 21,23 ----
- used for fast searching by the mail system. Execute the
-! command <b>postmap</b> <b>!!PREFIX!!/etc/postfix/canonical</b> in order to rebuild
- the indexed file after changing the canonical table.
+--- ./html/canonical.5.html.orig Tue Nov 21 21:32:38 2000
++++ ./html/canonical.5.html Tue Nov 21 21:33:21 2000
+@@ -9,7 +9,7 @@
+ canonical - format of Postfix canonical table
+
+ <b>SYNOPSIS</b>
+- <b>postmap</b> <b>/etc/postfix/canonical</b>
++ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/canonical</b>
+
+ <b>DESCRIPTION</b>
+ The optional <b>canonical</b> table specifies an address mapping
+@@ -20,7 +20,7 @@
+ that serves as input to the <a href="postmap.1.html"><b>postmap</b>(1)</a> command. The
+ result, an indexed file in <b>dbm</b> or <b>db</b> format, is used for
+ fast searching by the mail system. Execute the command
+- <b>postmap</b> <b>/etc/postfix/canonical</b> in order to rebuild the
++ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/canonical</b> in order to rebuild the
+ indexed file after changing the text file.
+
+ When the table is provided via other means such as NIS,
diff --git a/mail/postfix-current/files/patch-bm b/mail/postfix-current/files/patch-bm
index 5b779eb163f1..e5ccc2c50b94 100644
--- a/mail/postfix-current/files/patch-bm
+++ b/mail/postfix-current/files/patch-bm
@@ -1,20 +1,20 @@
-*** ./html/relocated.5.html.orig Sat Apr 22 20:28:37 2000
---- ./html/relocated.5.html Thu Jun 1 22:33:09 2000
-***************
-*** 11,13 ****
- <b>SYNOPSIS</b>
-! <b>postmap</b> <b>/etc/postfix/relocated</b>
-
---- 11,13 ----
- <b>SYNOPSIS</b>
-! <b>postmap</b> <b>!!PREFIX!!/etc/postfix/relocated</b>
-
-***************
-*** 21,23 ****
- used for fast searching by the mail system. Execute the
-! command <b>postmap</b> <b>/etc/postfix/relocated</b> in order to rebuild
- the indexed file after changing the relocated table.
---- 21,23 ----
- used for fast searching by the mail system. Execute the
-! command <b>postmap</b> <b>!!PREFIX!!/etc/postfix/relocated</b> in order to rebuild
- the indexed file after changing the relocated table.
+--- ./html/relocated.5.html.orig Tue Nov 21 21:37:54 2000
++++ ./html/relocated.5.html Tue Nov 21 21:38:08 2000
+@@ -9,7 +9,7 @@
+ relocated - format of Postfix relocated table
+
+ <b>SYNOPSIS</b>
+- <b>postmap</b> <b>/etc/postfix/relocated</b>
++ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/relocated</b>
+
+ <b>DESCRIPTION</b>
+ The optional <b>relocated</b> table provides the information that
+@@ -20,7 +20,7 @@
+ that serves as input to the <a href="postmap.1.html"><b>postmap</b>(1)</a> command. The
+ result, an indexed file in <b>dbm</b> or <b>db</b> format, is used for
+ fast searching by the mail system. Execute the command
+- <b>postmap</b> <b>/etc/postfix/relocated</b> in order to rebuild the
++ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/relocated</b> in order to rebuild the
+ indexed file after changing the relocated table.
+
+ When the table is provided via other means such as NIS,
diff --git a/mail/postfix-current/files/patch-bo b/mail/postfix-current/files/patch-bo
index d36eda1f6939..b45270be8151 100644
--- a/mail/postfix-current/files/patch-bo
+++ b/mail/postfix-current/files/patch-bo
@@ -1,20 +1,20 @@
-*** ./html/transport.5.html.orig Sat Apr 22 20:28:37 2000
---- ./html/transport.5.html Thu Jun 1 22:35:04 2000
-***************
-*** 11,13 ****
- <b>SYNOPSIS</b>
-! <b>postmap</b> <b>/etc/postfix/transport</b>
-
---- 11,13 ----
- <b>SYNOPSIS</b>
-! <b>postmap</b> <b>!!PREFIX!!/etc/postfix/transport</b>
-
-***************
-*** 22,24 ****
- used for fast searching by the mail system. Execute the
-! command <b>postmap</b> <b>/etc/postfix/transport</b> in order to rebuild
- the indexed file after changing the transport table.
---- 22,24 ----
- used for fast searching by the mail system. Execute the
-! command <b>postmap</b> <b>!!PREFIX!!/etc/postfix/transport</b> in order to rebuild
- the indexed file after changing the transport table.
+--- ./html/transport.5.html.orig Tue Nov 21 21:43:00 2000
++++ ./html/transport.5.html Tue Nov 21 21:43:20 2000
+@@ -9,7 +9,7 @@
+ transport - format of Postfix transport table
+
+ <b>SYNOPSIS</b>
+- <b>postmap</b> <b>/etc/postfix/transport</b>
++ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/transport</b>
+
+ <b>DESCRIPTION</b>
+ The optional <b>transport</b> table specifies a mapping from
+@@ -21,7 +21,7 @@
+ that serves as input to the <a href="postmap.1.html"><b>postmap</b>(1)</a> command. The
+ result, an indexed file in <b>dbm</b> or <b>db</b> format, is used for
+ fast searching by the mail system. Execute the command
+- <b>postmap</b> <b>/etc/postfix/transport</b> in order to rebuild the
++ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/transport</b> in order to rebuild the
+ indexed file after changing the transport table.
+
+ When the table is provided via other means such as NIS,
diff --git a/mail/postfix-current/files/patch-bp b/mail/postfix-current/files/patch-bp
index 6d7f1bb5201c..5206bfd4bfd0 100644
--- a/mail/postfix-current/files/patch-bp
+++ b/mail/postfix-current/files/patch-bp
@@ -1,20 +1,43 @@
-*** ./html/virtual.5.html.orig Sat Apr 22 20:28:38 2000
---- ./html/virtual.5.html Thu Jun 1 22:35:20 2000
-***************
-*** 11,13 ****
- <b>SYNOPSIS</b>
-! <b>postmap</b> <b>/etc/postfix/virtual</b>
-
---- 11,13 ----
- <b>SYNOPSIS</b>
-! <b>postmap</b> <b>!!PREFIX!!/etc/postfix/virtual</b>
-
-***************
-*** 28,30 ****
- used for fast searching by the mail system. Execute the
-! command <b>postmap</b> <b>/etc/postfix/virtual</b> in order to rebuild
- the indexed file after changing the virtual table.
---- 28,30 ----
- used for fast searching by the mail system. Execute the
-! command <b>postmap</b> <b>!!PREFIX!!/etc/postfix/virtual</b> in order to rebuild
- the indexed file after changing the virtual table.
+--- ./html/virtual.5.html.orig Tue Nov 21 21:46:50 2000
++++ ./html/virtual.5.html Tue Nov 21 21:47:17 2000
+@@ -9,7 +9,7 @@
+ virtual - format of Postfix virtual table
+
+ <b>SYNOPSIS</b>
+- <b>postmap</b> <b>/etc/postfix/virtual</b>
++ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/virtual</b>
+
+ <b>DESCRIPTION</b>
+ The optional <b>virtual</b> table specifies address redirections
+@@ -27,7 +27,7 @@
+ that serves as input to the <a href="postmap.1.html"><b>postmap</b>(1)</a> command. The
+ result, an indexed file in <b>dbm</b> or <b>db</b> format, is used for
+ fast searching by the mail system. Execute the command
+- <b>postmap</b> <b>/etc/postfix/virtual</b> in order to rebuild the
++ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/virtual</b> in order to rebuild the
+ indexed file after changing the text file.
+
+ When the table is provided via other means such as NIS,
+@@ -52,7 +52,7 @@
+
+ Support for a Postfix-style virtual domain looks like:
+
+- /etc/postfix/virtual:
++ !!PREFIX!!/etc/postfix/virtual:
+ <i>virtual.domain</i> <i>anything</i> (right-hand content does not matter)
+ <i>postmaster@virtual.domain</i> <i>postmaster</i>
+ <i>user1@virtual.domain</i> <i>address1</i>
+@@ -94,11 +94,11 @@
+
+ Support for a Sendmail-style virtual domain looks like:
+
+- /etc/postfix/main.cf:
++ !!PREFIX!!/etc/postfix/main.cf:
+ mydestination = $myhostname localhost.$mydomain $mydomain
+ <i>virtual.domain</i>
+
+- /etc/postfix/virtual:
++ !!PREFIX!!/etc/postfix/virtual:
+ <i>user1@virtual.domain</i> <i>address1</i>
+ <i>user2@virtual.domain</i> <i>address2,</i> <i>address3</i>
+
diff --git a/mail/postfix-current/pkg-plist b/mail/postfix-current/pkg-plist
index 3fc0f624adfa..0dfdc2c1ab01 100644
--- a/mail/postfix-current/pkg-plist
+++ b/mail/postfix-current/pkg-plist
@@ -10,6 +10,7 @@ etc/postfix/sample-canonical
etc/postfix/sample-canonical.cf
etc/postfix/sample-debug.cf
etc/postfix/sample-filter.cf
+etc/postfix/sample-flush.cf
%%WITH_LDAP%%etc/postfix/sample-ldap.cf
etc/postfix/sample-local.cf
etc/postfix/sample-main.cf
@@ -26,6 +27,7 @@ etc/postfix/sample-resource.cf
etc/postfix/sample-rewrite.cf
etc/postfix/sample-smtp.cf
etc/postfix/sample-smtpd.cf
+%%WITH_TLS%%etc/postfix/sample-tls.cf
etc/postfix/sample-transport
etc/postfix/sample-transport.cf
etc/postfix/sample-virtual
@@ -45,6 +47,7 @@ libexec/postfix/showq
libexec/postfix/smtp
libexec/postfix/smtpd
libexec/postfix/spawn
+%%WITH_TLS%%libexec/postfix/tlsmgr
libexec/postfix/trivial-rewrite
sbin/postalias
sbin/postcat