From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 8 17:40:09 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5F331065670 for ; Tue, 8 Nov 2011 17:40:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D4FAA8FC18 for ; Tue, 8 Nov 2011 17:40:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id pA8He993008064 for ; Tue, 8 Nov 2011 17:40:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id pA8He9pT008063; Tue, 8 Nov 2011 17:40:09 GMT (envelope-from gnats) Date: Tue, 8 Nov 2011 17:40:09 GMT Message-Id: <201111081740.pA8He9pT008063@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Hirohisa Yamaguchi Cc: Subject: Re: ports/162177: mail/opendkim - make dependency to Sendmail optional X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hirohisa Yamaguchi List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2011 17:40:10 -0000 The following reply was made to PR ports/162177; it has been noted by GNATS. From: Hirohisa Yamaguchi To: bug-followup@FreeBSD.ORG Cc: Michele Mazzucchi Subject: Re: ports/162177: mail/opendkim - make dependency to Sendmail optional Date: Wed, 09 Nov 2011 02:24:27 +0900 --pgp-sign-Multipart_Wed_Nov__9_02:24:27_2011-1 Content-Type: multipart/mixed; boundary="Multipart_Wed_Nov__9_02:24:27_2011-1" --Multipart_Wed_Nov__9_02:24:27_2011-1 Content-Type: text/plain; charset=US-ASCII Hi, At Sun, 30 Oct 2011 22:11:57 GMT, Michele Mazzucchi wrote: | This patch allows people who run MTAs other than the bat to use the | port without dragging on sendmail as well. The milter component is | enabled/disabled with a suitable switch in OPTIONS. | For compatibility, the "FILTER" option is currently on by default, | thus reproducing the behavior of the former port in interactive mode. Thanks for the patch. I made a slight change to your (latter) patch, and attached. Regards, -- Hirohisa Yamaguchi umq@ueo.co.jp --Multipart_Wed_Nov__9_02:24:27_2011-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="mail_opendkim-2.4.2.patch" Content-Transfer-Encoding: 7bit Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/opendkim/Makefile,v retrieving revision 1.8 diff -p -u -r1.8 Makefile --- Makefile 2 Jul 2011 11:55:27 -0000 1.8 +++ Makefile 8 Nov 2011 16:49:36 -0000 @@ -6,7 +6,7 @@ # PORTNAME= opendkim -PORTVERSION= 2.4.1 +PORTVERSION= 2.4.2 CATEGORIES= mail security MASTER_SITES= SF MASTER_SITE_SUBDIR= ${PORTNAME} @@ -25,18 +25,16 @@ LICENSE_PERMS_SENDMAIL= dist-mirror dist GNU_CONFIGURE= yes USE_OPENSSL= yes -USE_RC_SUBR= milter-opendkim USE_LDCONFIG= yes -MAN5= opendkim.conf.5 MAN8= opendkim-genkey.8 opendkim-genzone.8 \ - opendkim-testadsp.8 opendkim-testkey.8 \ - opendkim.8 + opendkim-testadsp.8 opendkim-testkey.8 SUB_FILES= pkg-message OPTIONS= \ ARLIB "Asynchronous thread-safe DNS library" On \ + FILTER "OpenDKIM filter, requires libmilter/Sendmail" On \ GNUTLS "Use GnuTLS instead of OpenSSL" Off \ LUA "Describe filter policy with lua" Off \ MEMCACHED "Use memcached as a data set" Off \ @@ -50,10 +48,19 @@ MAKE_ARGS+= pkgconfigdir="${PREFIX}/libd .include +.if defined(WITH_FILTER) && !defined(WITHOUT_FILTER) +USE_RC_SUBR= milter-opendkim +MAN5+= opendkim.conf.5 +MAN8+= opendkim.8 +PLIST_SUB+= FILTER="" WITHOUT_MILTER_CFLAGS= yes WITHOUT_MILTER_LDFLAGS= yes .include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" CONFIGURE_ARGS+= --with-milter=${MILTERBASE} +.else +CONFIGURE_ARGS+= --disable-filter +PLIST_SUB+= FILTER="@comment " +.endif .if defined(WITH_GNUTLS) LIB_DEPENDS+= gnutls.47:${PORTSDIR}/security/gnutls @@ -95,9 +102,6 @@ LIB_DEPENDS+= unbound:${PORTSDIR}/dns/u PLIST_SUB+= ARLIB="@comment " .else .if defined(WITH_ARLIB) -. if ${CC} == "clang" -BROKEN= ARLIB option does not compile with clang -. endif PLIST_SUB+= ARLIB="" CONFIGURE_ARGS+= --enable-arlib MAN3= ar.3 @@ -126,7 +130,9 @@ USE_OPENLDAP= yes .endif .if defined(WITH_LUA) || defined(WITH_RBL) || defined(WITH_STATSEXT) CONFIGURE_ARGS+= --with-lua +. if !defined(WITHOUT_FILTER) MAN3+= opendkim-lua.3 +. endif MAN8+= miltertest.8 PLIST_SUB+= LUA="" USE_LUA= 5.1 Index: Makefile.features =================================================================== RCS file: /home/ncvs/ports/mail/opendkim/Makefile.features,v retrieving revision 1.5 diff -p -u -r1.5 Makefile.features --- Makefile.features 2 Jul 2011 11:55:27 -0000 1.5 +++ Makefile.features 8 Nov 2011 16:49:36 -0000 @@ -16,6 +16,7 @@ CONFIGURE_ARGS+= --enable-allsymbols .endif .if defined(WITH_ATPS) && !defined(WITHOUT_ATPS) +WITH_XTAGS= yes CONFIGURE_ARGS+= --enable-atps .endif Index: distinfo =================================================================== RCS file: /home/ncvs/ports/mail/opendkim/distinfo,v retrieving revision 1.6 diff -p -u -r1.6 distinfo --- distinfo 2 Jul 2011 11:55:27 -0000 1.6 +++ distinfo 8 Nov 2011 16:49:36 -0000 @@ -1,2 +1,2 @@ -SHA256 (opendkim-2.4.1.tar.gz) = 1567a6d41dba92977d3eaae726580c5ecdc74766866331e87fc201792333b1f2 -SIZE (opendkim-2.4.1.tar.gz) = 1322057 +SHA256 (opendkim-2.4.2.tar.gz) = 930a9ef845822ba310666dfc918d306d1ffa44cc0a8d9f56d7c0b0426d668f3f +SIZE (opendkim-2.4.2.tar.gz) = 1374662 Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/mail/opendkim/pkg-plist,v retrieving revision 1.6 diff -p -u -r1.6 pkg-plist --- pkg-plist 2 Jul 2011 11:55:27 -0000 1.6 +++ pkg-plist 8 Nov 2011 16:49:36 -0000 @@ -18,7 +18,7 @@ lib/libopendkim.so lib/libopendkim.so.5 %%ARLIB%%libdata/pkgconfig/ar.pc libdata/pkgconfig/opendkim.pc -sbin/opendkim +%%FILTER%%sbin/opendkim @dirrm include/opendkim %%ARLIB%%@dirrm include/ar @dirrmtry etc/mail --Multipart_Wed_Nov__9_02:24:27_2011-1-- --pgp-sign-Multipart_Wed_Nov__9_02:24:27_2011-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit Content-Description: OpenPGP Digital Signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAABAgAGBQJOuWXLAAoJEML/cja+Xi6+owkH+gP5fjd23hpOGparHTTGO9cg /428mR5ZsORHQvITiM6Y1eXeg6/PL+7GxOU0DSq3LZF1gV3Wkv0ak3aclnrl+gar qDlnmuH9KrpAuWQzXHb5ac8NtQsIZc8P6SuYaQU4mxykASgqr9vHf39ewdejzNcZ OmXMzcx6rAfbS5p4o9fV5CfdYGgfA/NXYoFfgS2f5dP8ELLzSjWgsHnyVjcXo4xJ G7nItcO3c+hfUw1CIXNqMMwZhAEGsVyp/hFQ8rSXHna/5zKcWEXpchnFptqDeCf6 dON2IFo52gXul+lTEQ9pXe/zgyzNCYD77SF/RvaZSVAwyudtR/PiIKBr/8sCVPc= =fnsm -----END PGP SIGNATURE----- --pgp-sign-Multipart_Wed_Nov__9_02:24:27_2011-1--