add tls flavour
This commit is contained in:
parent
179bab50b0
commit
dc6c658f03
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile.inc,v 1.9 2001/10/24 12:22:45 espie Exp $
|
||||
# $OpenBSD: Makefile.inc,v 1.10 2001/10/25 21:35:38 jakob Exp $
|
||||
|
||||
COMMENT= fast, secure sendmail replacement
|
||||
|
||||
@ -25,7 +25,7 @@ MAKE_AUXLIBS?=
|
||||
|
||||
ALL_TARGET= default
|
||||
|
||||
FLAVORS= pcre sasl ldap mysql
|
||||
FLAVORS+= pcre sasl ldap mysql tls
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L:Mpcre}
|
||||
@ -52,6 +52,33 @@ MAKE_CCARGS+= -I${LOCALBASE}/include/mysql -DHAS_MYSQL
|
||||
MAKE_AUXLIBS+= -L${LOCALBASE}/lib/mysql -lmysqlclient
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Mtls}
|
||||
MASTER_SITES0= ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/ \
|
||||
ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/old/
|
||||
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
||||
${TLSDISTNAME}${EXTRACT_SUFX}:0
|
||||
|
||||
MAKE_CCARGS+= -DHAS_SSL
|
||||
MAKE_AUXLIBS+= -lssl -lcrypto
|
||||
|
||||
post-patch:
|
||||
mv ${WRKDIST}/conf/master.cf ${WRKDIST}/conf/master.cf.save
|
||||
cp ${WRKDIST}/conf/master.cf.orig ${WRKDIST}/conf/master.cf
|
||||
cd ${WRKDIST} && patch -p1 < ${WRKDIR}/${TLSDISTNAME}/pfixtls.diff
|
||||
mv ${WRKDIST}/conf/master.cf.save ${WRKDIST}/conf/master.cf
|
||||
cd ${WRKDIST} && patch -p0 < ${FILESDIR}/patch-tls-master.cf
|
||||
rm ${WRKDIST}/conf/*.orig
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/postfix/tls
|
||||
${INSTALL_DATA} ${WRKDIR}/${TLSDISTNAME}/doc/* \
|
||||
${PREFIX}/share/doc/postfix/tls
|
||||
.else
|
||||
post-patch:
|
||||
rm ${WRKDIST}/conf/*.orig
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
cd ${WRKSRC}; ${MAKE_PROGRAM} makefiles \
|
||||
CC="${CC}" OPT="${CFLAGS}" DEBUG="${MAKE_DEBUG}" \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.26 2001/10/08 22:12:18 jakob Exp $
|
||||
# $OpenBSD: Makefile,v 1.27 2001/10/25 21:35:38 jakob Exp $
|
||||
|
||||
DISTNAME= snapshot-20011008
|
||||
PKGNAME= postfix-${DISTNAME}
|
||||
@ -7,4 +7,6 @@ MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
||||
|
||||
MASTER_SITE_SUBDIR= experimental
|
||||
|
||||
TLSDISTNAME= pfixtls-0.7.11-snap20011008-0.9.6b
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,6 @@
|
||||
MD5 (postfix/pfixtls-0.7.11-snap20011008-0.9.6b.tar.gz) = 4b7a01e7a763c51d85456be075372985
|
||||
MD5 (postfix/snapshot-20011008.tar.gz) = 7e7326742e7fd29a28ae74e92a1798cd
|
||||
RMD160 (postfix/pfixtls-0.7.11-snap20011008-0.9.6b.tar.gz) = d066927b4ff1db86d45aec5a7a342ce4e8d6d07c
|
||||
RMD160 (postfix/snapshot-20011008.tar.gz) = b6da098271499f86b9c4614b57d555f80a2143e5
|
||||
SHA1 (postfix/pfixtls-0.7.11-snap20011008-0.9.6b.tar.gz) = 773ee9b20208b3b234d994500336e120d3a494b9
|
||||
SHA1 (postfix/snapshot-20011008.tar.gz) = 5c3437e5f444f21f04e2a3da04b6e19d73f3322a
|
||||
|
11
mail/postfix/snapshot/files/patch-tls-master.cf
Normal file
11
mail/postfix/snapshot/files/patch-tls-master.cf
Normal file
@ -0,0 +1,11 @@
|
||||
--- conf/master.cf.orig Thu Oct 25 22:22:08 2001
|
||||
+++ conf/master.cf Thu Oct 25 22:24:18 2001
|
||||
@@ -69,6 +69,8 @@
|
||||
# (yes) (yes) (yes) (never) (50)
|
||||
# ==========================================================================
|
||||
smtp inet n - - - - smtpd
|
||||
+#smtps inet n - - - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
|
||||
+#submission inet n - - - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
|
||||
#628 inet n - - - - qmqpd
|
||||
pickup fifo n n - 60 1 pickup
|
||||
cleanup unix - - - - 0 cleanup
|
17
mail/postfix/snapshot/pkg/PFRAG.tls
Normal file
17
mail/postfix/snapshot/pkg/PFRAG.tls
Normal file
@ -0,0 +1,17 @@
|
||||
@comment $OpenBSD: PFRAG.tls,v 1.1 2001/10/25 21:35:38 jakob Exp $
|
||||
share/doc/postfix/tls/conf.html
|
||||
share/doc/postfix/tls/index.html
|
||||
share/doc/postfix/tls/install.html
|
||||
share/doc/postfix/tls/intro.html
|
||||
share/doc/postfix/tls/loadCAcert.pl
|
||||
share/doc/postfix/tls/myownca.html
|
||||
share/doc/postfix/tls/prng.html
|
||||
share/doc/postfix/tls/references.html
|
||||
share/doc/postfix/tls/relaycert.html
|
||||
share/doc/postfix/tls/rfc2246.txt
|
||||
share/doc/postfix/tls/rfc2487.txt
|
||||
share/doc/postfix/tls/security.html
|
||||
share/doc/postfix/tls/setup.html
|
||||
share/doc/postfix/tls/test.html
|
||||
share/examples/postfix/sample-tls.cf
|
||||
@dirrm share/doc/postfix/tls
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2001/07/10 08:13:07 jakob Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.6 2001/10/25 21:35:38 jakob Exp $
|
||||
@pkgcfl postfix-*
|
||||
libexec/postfix/bounce
|
||||
libexec/postfix/cleanup
|
||||
@ -142,9 +142,7 @@ share/examples/postfix/aliases
|
||||
share/examples/postfix/canonical
|
||||
share/examples/postfix/main.cf
|
||||
share/examples/postfix/main.cf.default
|
||||
share/examples/postfix/main.cf.orig
|
||||
share/examples/postfix/master.cf
|
||||
share/examples/postfix/master.cf.orig
|
||||
share/examples/postfix/pcre_table
|
||||
share/examples/postfix/postfix-script
|
||||
share/examples/postfix/postfix-script-diff
|
||||
@ -176,6 +174,7 @@ share/examples/postfix/sample-transport.cf
|
||||
share/examples/postfix/sample-virtual.cf
|
||||
share/examples/postfix/transport
|
||||
share/examples/postfix/virtual
|
||||
%%tls%%
|
||||
@dirrm share/examples/postfix
|
||||
@dirrm share/doc/postfix
|
||||
@dirrm libexec/postfix
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2001/09/28 23:32:47 jakob Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2001/10/25 21:35:38 jakob Exp $
|
||||
|
||||
DISTNAME= postfix-20010228-pl05
|
||||
PKGNAME= postfix-20010228.pl05
|
||||
@ -7,4 +7,6 @@ MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
||||
|
||||
MASTER_SITE_SUBDIR= official
|
||||
|
||||
TLSDISTNAME= pfixtls-0.7.11-20010228-pl05-0.9.6b
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,6 @@
|
||||
MD5 (postfix/pfixtls-0.7.11-20010228-pl05-0.9.6b.tar.gz) = 760a45ec5be3fdb8beb0208c997c5293
|
||||
MD5 (postfix/postfix-20010228-pl05.tar.gz) = 55551e999af82412423c538a1cc8a61c
|
||||
RMD160 (postfix/pfixtls-0.7.11-20010228-pl05-0.9.6b.tar.gz) = 60ae1702e273ec36baed6b482298b8755f5fd421
|
||||
RMD160 (postfix/postfix-20010228-pl05.tar.gz) = d62bb12b8d7ca52cc323f3dc3294aeb0a3ebc2d7
|
||||
SHA1 (postfix/pfixtls-0.7.11-20010228-pl05-0.9.6b.tar.gz) = 901f8ca5d190d2b57d2cdffe4982f7ab85f0c7aa
|
||||
SHA1 (postfix/postfix-20010228-pl05.tar.gz) = 9e81a9ecbc2af4eecdaf8e203f9a3dacbc258eb9
|
||||
|
11
mail/postfix/stable/files/patch-tls-master.cf
Normal file
11
mail/postfix/stable/files/patch-tls-master.cf
Normal file
@ -0,0 +1,11 @@
|
||||
--- conf/master.cf.orig Thu Oct 25 22:20:55 2001
|
||||
+++ conf/master.cf Thu Oct 25 22:24:19 2001
|
||||
@@ -69,6 +69,8 @@
|
||||
# (yes) (yes) (yes) (never) (50)
|
||||
# ==========================================================================
|
||||
smtp inet n - - - - smtpd
|
||||
+#smtps inet n - - - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
|
||||
+#submission inet n - - - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
|
||||
pickup fifo n n - 60 1 pickup
|
||||
cleanup unix - - - - 0 cleanup
|
||||
qmgr fifo n - - 300 1 qmgr
|
17
mail/postfix/stable/pkg/PFRAG.tls
Normal file
17
mail/postfix/stable/pkg/PFRAG.tls
Normal file
@ -0,0 +1,17 @@
|
||||
@comment $OpenBSD: PFRAG.tls,v 1.1 2001/10/25 21:35:38 jakob Exp $
|
||||
share/doc/postfix/tls/conf.html
|
||||
share/doc/postfix/tls/index.html
|
||||
share/doc/postfix/tls/install.html
|
||||
share/doc/postfix/tls/intro.html
|
||||
share/doc/postfix/tls/loadCAcert.pl
|
||||
share/doc/postfix/tls/myownca.html
|
||||
share/doc/postfix/tls/prng.html
|
||||
share/doc/postfix/tls/references.html
|
||||
share/doc/postfix/tls/relaycert.html
|
||||
share/doc/postfix/tls/rfc2246.txt
|
||||
share/doc/postfix/tls/rfc2487.txt
|
||||
share/doc/postfix/tls/security.html
|
||||
share/doc/postfix/tls/setup.html
|
||||
share/doc/postfix/tls/test.html
|
||||
share/examples/postfix/sample-tls.cf
|
||||
@dirrm share/doc/postfix/tls
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2001/03/01 07:57:56 jakob Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2001/10/25 21:35:38 jakob Exp $
|
||||
@pkgcfl postfix-*
|
||||
libexec/postfix/bounce
|
||||
libexec/postfix/cleanup
|
||||
@ -131,9 +131,7 @@ share/examples/postfix/aliases
|
||||
share/examples/postfix/canonical
|
||||
share/examples/postfix/main.cf
|
||||
share/examples/postfix/main.cf.default
|
||||
share/examples/postfix/main.cf.orig
|
||||
share/examples/postfix/master.cf
|
||||
share/examples/postfix/master.cf.orig
|
||||
share/examples/postfix/pcre_table
|
||||
share/examples/postfix/postfix-script
|
||||
share/examples/postfix/postfix-script-diff
|
||||
@ -164,6 +162,7 @@ share/examples/postfix/sample-transport.cf
|
||||
share/examples/postfix/sample-virtual.cf
|
||||
share/examples/postfix/transport
|
||||
share/examples/postfix/virtual
|
||||
%%tls%%
|
||||
@dirrm share/examples/postfix
|
||||
@dirrm share/doc/postfix
|
||||
@dirrm libexec/postfix
|
||||
|
Loading…
Reference in New Issue
Block a user