From owner-freebsd-ports Sun Nov 19 14:10: 6 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0DB1F37B4CF for ; Sun, 19 Nov 2000 14:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA11327; Sun, 19 Nov 2000 14:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 1582C37B479; Sun, 19 Nov 2000 14:00:35 -0800 (PST) Message-Id: <20001119220035.1582C37B479@hub.freebsd.org> Date: Sun, 19 Nov 2000 14:00:35 -0800 (PST) From: dwcjr@inethouston.net To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/22962: Update mail/postfix-current - Patch for TLS Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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= \ + \ \ \ \ @@ -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