Date: Sat, 14 Apr 2007 14:56:33 +0200 (CEST) From: Gabor Kovesdan <gabor@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/111564: [patch] mail/postfix: remove deprecated feature Message-ID: <20070414125633.43CB69F2DFF@server.t-hosting.hu> Resent-Message-ID: <200704141300.l3ED0818099864@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 111564 >Category: ports >Synopsis: [patch] mail/postfix: remove deprecated feature >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Apr 14 13:00:08 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Gabor Kovesdan >Release: FreeBSD 6.2-RELEASE amd64 >Organization: n/a >Environment: System: FreeBSD server.t-hosting.hu 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Feb 2 11:51:40 CET 2007 gabor@server.t-hosting.hu:/usr/src/sys/amd64/compile/FREEBSD amd64 >Description: The security/cyrus-sasl port is expired and should be remove but it is waiting for the dependencies to drop support so that we can remove it. I have sent this PR with the patch because the maintainer ignored my HEADSUP mail, in which I asked the affected maintainers to modify their ports manually. >How-To-Repeat: >Fix: --- mail-postfix.patch begins here --- Index: Makefile =================================================================== RCS file: /usr/cvs/ports/mail/postfix/Makefile,v retrieving revision 1.128 diff -u -r1.128 Makefile --- Makefile 5 Apr 2007 16:15:39 -0000 1.128 +++ Makefile 14 Apr 2007 12:53:31 -0000 @@ -7,6 +7,7 @@ PORTNAME= postfix PORTVERSION= 2.4.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ @@ -32,7 +33,7 @@ # back compat pull in settings from POSTFIX_OPTIONS for convenience when # make config is run (happens first time port is built, too) -.for o in SASL SASL2 SASLKRB SASLKRB5 SASLKRB5MIT TLS BDB MySQL PgSQL OpenLDAP CDB NIS VDA Test +.for o in SASL2 SASLKRB SASLKRB5 SASLKRB5MIT TLS BDB MySQL PgSQL OpenLDAP CDB NIS VDA Test STATUS_${o}=off .endfor .if defined(POSTFIX_OPTIONS) @@ -42,7 +43,6 @@ .endif OPTIONS= PCRE "Perl Compatible Regular Expressions" on \ - SASL "Cyrus SASLv1 (Simple Auth. and Sec. Layer)" ${STATUS_SASL} \ SASL2 "Cyrus SASLv2 (Simple Auth. and Sec. Layer)" ${STATUS_SASL2} \ DOVECOT "Dovecot SASL authentication method" off \ SASLKRB "If your SASL req. Kerberos select this option" ${STATUS_SASLKRB} \ @@ -104,17 +104,8 @@ POSTFIX_CCARGS+= -DNO_PCRE .endif -.if defined(WITH_SASL) -.if defined(WITH_SASL2) || defined(WITH_DOVECOT) -BROKEN= Select only one SASL authentication method -.endif -LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl -POSTFIX_CCARGS+= -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I${LOCALBASE}/include -I${LOCALBASE}/include/sasl1 -POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lsasl -lpam -lcrypt -.endif - .if defined(WITH_SASL2) -.if defined(WITH_SASL) || defined(WITH_DOVECOT) +.if defined(WITH_DOVECOT) BROKEN= Select only one SASL authentication method .endif LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2 @@ -123,7 +114,7 @@ .endif .if defined(WITH_DOVECOT) -.if defined(WITH_SASL) || defined(WITH_SASL2) +.if defined(WITH_SASL2) BROKEN= Select only one SASL authentication method .endif RUN_DEPENDS+= dovecot:${PORTSDIR}/mail/dovecot @@ -237,17 +228,6 @@ @sleep 10 .endif -.if defined(WITH_SASL) && !defined(WITH_MYSQL) && exists(${LOCALBASE}/lib/libsasl.a) - @if /usr/bin/nm ${LOCALBASE}/lib/libsasl.a | ${GREP} -wq "mysql_init"; then \ - ${ECHO_MSG}; \ - ${ECHO_MSG} "Your SASL library it's compiled with MYSQL"; \ - ${ECHO_MSG} "If you use MYSQL in ${PORTNAME} consider CTRL+C and"; \ - ${ECHO_MSG} "select MYSQL OPTION in config menu."; \ - ${ECHO_MSG} "# make clean config"; \ - ${ECHO_MSG}; \ - sleep 5; \ - fi -.endif .if defined(WITH_SASL2) && !defined(WITH_MYSQL) && exists(${LOCALBASE}/lib/libsasl2.a) @if /usr/bin/nm ${LOCALBASE}/lib/libsasl2.a | ${GREP} -wq "mysql_init"; then \ ${ECHO_MSG}; \ --- mail-postfix.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070414125633.43CB69F2DFF>