Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Nov 2000 14:00:35 -0800 (PST)
From:      dwcjr@inethouston.net
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/22962: Update mail/postfix-current - Patch for TLS
Message-ID:  <20001119220035.1582C37B479@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         22962
>Category:       ports
>Synopsis:       Update mail/postfix-current - Patch for TLS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 19 14:10:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     David W. Chapman Jr.
>Release:        4.1.1-STABLE
>Organization:
Raintree Network Services
>Environment:
>Description:
Add TLS support which includes SSL
Add sample-flush.cf to pkg-plist
>How-To-Repeat:

>Fix:
diff -urN postfix-current.orig/Makefile postfix-current/Makefile
--- postfix-current.orig/Makefile Sun Nov 19 14:29:47 2000
+++ postfix-current/Makefile Sun Nov 19 15:24:27 2000
@@ -7,9 +7,10 @@

PORTNAME= postfix
PORTVERSION= 20001030
-PORTREVISION= 1
+PORTREVISION= 2
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/>; \
@@ -103,6 +104,19 @@
PLIST_SUB+= WITH_SASL=""
.else
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:
diff -urN postfix-current.orig/distinfo postfix-current/distinfo
--- postfix-current.orig/distinfo Sun Nov 19 14:29:47 2000
+++ postfix-current/distinfo Sun Nov 19 14:31:43 2000
@@ -1 +1,2 @@
MD5 (snapshot-20001030.tar.gz) = c53af2a2dd52a2ddb92958bb91c14de1
+MD5 (pfixtls-0.6.23-snap20001030-0.9.6.tar.gz) = a2e32d621740c760d0355ce31dea220b
diff -urN postfix-current.orig/pkg-plist postfix-current/pkg-plist
--- postfix-current.orig/pkg-plist Sun Nov 19 14:29:47 2000
+++ postfix-current/pkg-plist Sun Nov 19 15:19:14 2000
@@ -10,6 +10,7 @@
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-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/smtp
libexec/postfix/smtpd
libexec/postfix/spawn
+%%WITH_TLS%%libexec/postfix/tlsmgr
libexec/postfix/trivial-rewrite
sbin/postalias
sbin/postcat


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001119220035.1582C37B479>