Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2012 14:23:08 +0900
From:      Hirohisa Yamaguchi <umq@ueo.co.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/173049: [maintainer] mail/opendkim update to 2.7.0
Message-ID:  <867gqfazwj.wl%umq@ueo.co.jp>
Resent-Message-ID: <201210250530.q9P5U1xf017336@freefall.freebsd.org>

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

>Number:         173049
>Category:       ports
>Synopsis:       [maintainer] mail/opendkim update to 2.7.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 25 05:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Hirohisa Yamaguchi
>Release:        FreeBSD 8.3-RELEASE-p3 amd64
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD **** 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Tue Jun 12 00:39:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	The new version of mail/opendkim 2.7.0 is now available.
	Release notes: http://sourceforge.net/projects/opendkim/files/RELEASE_NOTES/download

>How-To-Repeat:
	N/A
>Fix:

	The patch follows:
	This update supersedes the PR ports/171276.

Index: mail/opendkim/Makefile
===================================================================
--- mail/opendkim/Makefile	(revision 306370)
+++ mail/opendkim/Makefile	(working copy)
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=		opendkim
-PORTVERSION=		2.5.2
+PORTVERSION=		2.7.0
 CATEGORIES=		mail security
 MASTER_SITES=		SF
 MASTER_SITE_SUBDIR=	${PORTNAME} \
@@ -17,7 +17,6 @@
 
 LICENSE=		BSD SENDMAIL
 LICENSE_COMB=		multi
-LICENSE_FILE=		${WRKSRC}/LICENSE
 
 LICENSE_FILE_SENDMAIL=	${WRKSRC}/LICENSE.Sendmail
 LICENSE_GROUPS_SENDMAIL=	FSF OSI
@@ -25,29 +24,38 @@
 LICENSE_PERMS_SENDMAIL=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
 GNU_CONFIGURE=	yes
+MAKE_JOBS_SAFE=	yes
+NO_OPTIONS_SORT=yes
 USE_OPENSSL=	yes
 USE_LDCONFIG=	yes
 
 MAN8=		opendkim-genkey.8 opendkim-genzone.8 opendkim-testadsp.8 \
 		opendkim-testkey.8 opendkim-testmsg.8
 
-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 \
-	OPENDBX		"Store filter policies via OpenDBX"	Off \
-	OPENLDAP	"Store filter policies in LDAP"		Off \
-	POPAUTH		"Use POP authentication DB"		Off \
-	QUERY_CACHE	"Cache DNS query results locally"	Off \
-	UNBOUND		"Use unbound DNS library"		Off
+OPTIONS_SINGLE=		RESOLV
+OPTIONS_SINGLE_RESOLV=	STOCK_RESOLVER UNBOUND
+OPTIONS_DEFINE=		FILTER GNUTLS LUA MEMCACHED OPENDBX OPENLDAP \
+			POPAUTH QUERY_CACHE STATS
+OPTIONS_DEFAULT=	FILTER LUA UNBOUND
 
+STOCK_RESOLVER_DESC=	Use the stock resolver library
+UNBOUND_DESC=		Use unbound DNS library
+FILTER_DESC=		OpenDKIM filter, requires libmilter/Sendmail
+GNUTLS_DESC=		Use GnuTLS instead of OpenSSL
+LUA_DESC=		Describe filter policy with lua
+MEMCACHED_DESC=		Use memcached as a data set
+OPENDBX_DESC=		Store filter policies via OpenDBX
+OPENLDAP_DESC=		Store filter policies in LDAP
+POPAUTH_DESC=		Use POP authentication DB
+QUERY_CACHE_DESC=	Cache DNS query results locally
+STATS_DESC=		Setup statistics tools
+
 MAKE_ARGS+=	pkgconfigdir="${PREFIX}/libdata/pkgconfig"
 
+.include "${.CURDIR}/Makefile.options"
 .include <bsd.port.pre.mk>
 
-.if defined(WITH_FILTER) && !defined(WITHOUT_FILTER)
+.if ${PORT_OPTIONS:MFILTER}
 USE_RC_SUBR=		milter-opendkim
 MAN5+=			opendkim.conf.5
 MAN8+=			opendkim.8
@@ -62,8 +70,8 @@
 PLIST_SUB+=		FILTER="@comment "
 .endif
 
-.if defined(WITH_GNUTLS)
-LIB_DEPENDS+=		gnutls.47:${PORTSDIR}/security/gnutls
+.if ${PORT_OPTIONS:MGNUTLS}
+LIB_DEPENDS+=		gnutls:${PORTSDIR}/security/gnutls
 CONFIGURE_ARGS+=	--with-gnutls=${LOCALBASE}
 .else
 CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
@@ -71,66 +79,74 @@
 
 .include "${.CURDIR}/Makefile.features"
 
-.if defined(WITH_DEBUG)
+.if ${PORT_OPTIONS:MDEBUG}
 CONFIGURE_ARGS+=	--enable-debug
 .endif
 
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	*
 .else
 CONFIGURE_ARGS+=--docdir=${WRKDIR}/doc
 .endif
 
-.if (defined(WITH_POPAUTH) \
-	|| defined(WITH_QUERY_CACHE) \
-	|| defined(WITH_BODYLENGTH_DB) \
-	|| defined(WITH_LDAP_CACHING) \
-	|| defined(WITH_STATS)) \
-	&& !defined(WITH_BDB_BASE)
+.if ${PORT_OPTIONS:MSTATS} || ${PORT_OPTIONS:MSTATSEXT}
+CONFIGURE_ARGS+=	--enable-stats
+MAN8+=			opendkim-expire.8 opendkim-gengraphs.8 \
+			opendkim-genstats.8 opendkim-stats.8
+. if ${PORT_OPTIONS:MOPENDBX}
+MAN1+=			opendkim-spam.1
+MAN8+=			opendkim-importstats.8
+. endif
+PLIST_SUB+=		STATS=""
+.else
+PLIST_SUB+=		STATS="@comment "
+.endif
+.if ${PORT_OPTIONS:MPOPAUTH} \
+	|| ${PORT_OPTIONS:MQUERY_CACHE} \
+	|| ${PORT_OPTIONS:MLDAP_CACHING} \
+	|| ${PORT_OPTIONS:MREPUTATION} \
+	|| ${PORT_OPTIONS:MSTATS}
+. if !defined(WITH_BDB_BASE)
 CONFIGURE_ARGS+=	--with-db-incdir=${BDB_INCLUDE_DIR} \
 			--with-db-libdir=${BDB_LIB_DIR} \
 			--with-db-lib=${BDB_LIB_NAME}
 USE_BDB=		41+
+. endif
 .endif
-.if defined(WITH_UNBOUND) && !defined(WITHOUT_UNBOUND)
-.if defined(WITH_ARLIB)
-IGNORE=		libar cannot be used simultaneously with libunbound
-.endif
-CONFIGURE_ARGS+=	--with-unbound \
-			--disable-arlib
+.if ${PORT_OPTIONS:MUNBOUND}
+CONFIGURE_ARGS+=	--with-unbound
 LIB_DEPENDS+=		unbound:${PORTSDIR}/dns/unbound
-PLIST_SUB+=		ARLIB="@comment "
-.else
-.if defined(WITH_ARLIB)
-PLIST_SUB+=		ARLIB=""
-CONFIGURE_ARGS+=	--enable-arlib
-MAN3=			ar.3
-.else
-CONFIGURE_ARGS+=	--disable-arlib
-PLIST_SUB+=		ARLIB="@comment "
 .endif
-.endif
-.if defined(WITH_POPAUTH) && !defined(WITHOUT_POPAUTH)
+.if ${PORT_OPTIONS:MPOPAUTH}
 CONFIGURE_ARGS+=	--enable-popauth
 .endif
-.if defined(WITH_QUERY_CACHE) && !defined(WITHOUT_QUERY_CACHE)
+.if ${PORT_OPTIONS:MQUERY_CACHE}
 CONFIGURE_ARGS+=	--enable-query_cache
 .endif
-.if defined(WITH_MEMCACHED)
+.if ${PORT_OPTIONS:MMEMCACHED}
 CONFIGURE_ARGS+=	--with-libmemcached
 LIB_DEPENDS+=		memcached:${PORTSDIR}/databases/libmemcached
+.else
+CONFIGURE_ARGS+=	--without-libmemcached
 .endif
-.if defined(WITH_OPENDBX)
+.if ${PORT_OPTIONS:MOPENDBX}
 CONFIGURE_ARGS+=	--with-odbx
 LIB_DEPENDS+=		opendbx:${PORTSDIR}/databases/opendbx
+PLIST_SUB+=		ODBX=""
+.else
+CONFIGURE_ARGS+=	--without-odbx
+PLIST_SUB+=		ODBX="@comment "
 .endif
-.if defined(WITH_OPENLDAP)
+.if ${PORT_OPTIONS:MOPENLDAP}
 CONFIGURE_ARGS+=	--with-openldap
+LIB_DEPENDS+=		ldap:${PORTSDIR}/net/openldap24-sasl-client
 USE_OPENLDAP=		yes
+.else
+CONFIGURE_ARGS+=	--without-openldap
 .endif
-.if defined(WITH_LUA) || defined(WITH_RBL) || defined(WITH_STATSEXT)
+.if ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MRBL} || ${PORT_OPTIONS:MSTATSEXT}
 CONFIGURE_ARGS+=	--with-lua
-. if !defined(WITHOUT_FILTER)
+. if ${PORT_OPTIONS:MFILTER}
 MAN3+=			opendkim-lua.3
 . endif
 MAN8+=			miltertest.8
@@ -141,12 +157,12 @@
 .endif
 
 post-install:
-.if !defined(WITH_DEBUG) && defined(WITH_FILTER) && !defined(WITHOUT_FILTER)
+.if !${PORT_OPTIONS:MDEBUG} && ${PORT_OPTIONS:MFILTER}
 	@${STRIP_CMD} ${PREFIX}/sbin/opendkim
 .endif
 	@${MKDIR} ${PREFIX}/etc/mail
 	${INSTALL_DATA} ${WRKSRC}/opendkim/opendkim.conf.sample ${PREFIX}/etc/mail/
-.if !defined(WITHOUT_FILTER)
+.if ${PORT_OPTIONS:MFILTER}
 	@${CAT} ${PKGMESSAGE}
 .endif
 
Index: mail/opendkim/distinfo
===================================================================
--- mail/opendkim/distinfo	(revision 306370)
+++ mail/opendkim/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (opendkim-2.5.2.tar.gz) = fb6994ea4bbd7e93772517cd3ee0b4ec338ed502a920fa2fa98b34869db167a9
-SIZE (opendkim-2.5.2.tar.gz) = 1475225
+SHA256 (opendkim-2.7.0.tar.gz) = f5c2319ec23fa20a6bd4bb1b4abc005f6a7dbb77852c13091a3f2a042f82fee2
+SIZE (opendkim-2.7.0.tar.gz) = 1143836
Index: mail/opendkim/files/patch-libopendkim__dkim.c
===================================================================
--- mail/opendkim/files/patch-libopendkim__dkim.c	(revision 0)
+++ mail/opendkim/files/patch-libopendkim__dkim.c	(working copy)
@@ -0,0 +1,20 @@
+--- ./libopendkim/dkim.c.orig	2012-10-19 05:22:16.000000000 +0900
++++ ./libopendkim/dkim.c	2012-10-20 15:52:54.000000000 +0900
+@@ -938,7 +938,7 @@
+ 			dkim_dstring_cat(dkim->dkim_sslerrbuf, "; ");
+ 
+ 		dkim_dstring_cat(dkim->dkim_sslerrbuf,
+-		                 gnutls_strerror(status));
++		                 (u_char *) gnutls_strerror(status));
+ 	}
+ 
+ #else /* USE_GNUTLS */
+@@ -1004,7 +1004,7 @@
+ 			dkim_dstring_cat(sig->sig_sslerrbuf, "; ");
+ 
+ 		dkim_dstring_cat(sig->sig_sslerrbuf,
+-		                 gnutls_strerror(status));
++		                 (u_char *) gnutls_strerror(status));
+ 	}
+ 
+ #else /* USE_GNUTLS */
Index: mail/opendkim/files/patch-opendkim_opendkim.conf.5.in
===================================================================
--- mail/opendkim/files/patch-opendkim_opendkim.conf.5.in	(revision 0)
+++ mail/opendkim/files/patch-opendkim_opendkim.conf.5.in	(working copy)
@@ -0,0 +1,21 @@
+diff --git ./opendkim/opendkim.conf.5.in ./opendkim/opendkim.conf.5.in
+index ae1d171..95dbad8 100644
+--- ./opendkim/opendkim.conf.5.in
++++ ./opendkim/opendkim.conf.5.in
+@@ -1271,16 +1271,6 @@ of the process umask.  See
+ for more information.
+ 
+ .TP
+-.I UnboundConfigFile (string)
+-Specifies a configuration file to be passed to the Unbound library that
+-performs DNS queries applying the DNSSEC protocol.  See the Unbound
+-documentation at http://unbound.net for the expected content of this file.
+-The results of using this and the
+-.I TrustAnchorFile
+-setting at the same time are undefined.
+-@UNBOUND_MANNOTICE@
+-
+-.TP
+ .I UserID (string)
+ Attempts to become the specified userid before starting operations.
+ The value is of the form
Index: mail/opendkim/Makefile.options
===================================================================
--- mail/opendkim/Makefile.options	(revision 0)
+++ mail/opendkim/Makefile.options	(working copy)
@@ -0,0 +1,44 @@
+# Makefile.options
+# Author:			Hirohisa Yamaguchi <umq@ueo.co.jp>
+#
+# This file is used to tune build time options.
+# Please refer FEATURES file distributed with the source for details.
+#
+# $FreeBSD$
+#
+
+OPTIONS_DEFINE+=	FFR
+FFR_DESC=		Use features marked as For-Future-Releases
+
+OPTIONS_MULTI+=		FFR
+OPTIONS_MULTI_FFR=	ADSP_LISTS ALLSYMBOLS ATPS CODECOVERAGE \
+			DB_HANDLE_POOLS DEFAULT_SENDER DIFFHEADERS \
+			DKIM_REPUTATION ERLANG IDENTITY_HEADER \
+			LDAP_CACHING POSTGRES_RECONNECT_HACK \
+			RATE_LIMIT RBL REDIRECT REPLACE_RULES REPRRD \
+			REPUTATION RESIGN SENDER_MACRO SOCKETDB \
+			STATSEXT VBR
+
+ADSP_LISTS_DESC=		ADSP filtering for lists (experimental)
+ALLSYMBOLS_DESC=		Export internal symbols for test
+ATPS_DESC=			Authorized Third Party Sign check
+CODECOVERAGE_DESC=		Include coverage/profile code
+DB_HANDLE_POOLS_DESC=		Database handle pools (experimental)
+DEFAULT_SENDER_DESC=		Default sender address
+DIFFHEADERS_DESC=		Compare signed and verified headers (experimental)
+DKIM_REPUTATION_DESC=		DKIM reputation check (experimental)
+ERLANG_DESC=			Support for Erlang datasets
+IDENTITY_HEADER_DESC=		Special header to set identity
+LDAP_CACHING_DESC=		LDAP query piggybacking and caching
+POSTGRES_RECONNECT_HACK_DESC=	PostgreSQL connection error detection bug hack
+RATE_LIMIT_DESC=		DKIM based rate limiting support
+RBL_DESC=			Realtime Blacklist query support
+REDIRECT_DESC=			Redirecting failed verification to a mailbox
+REPLACE_RULES_DESC=		String substition when signing
+REPRRD_DESC=			Support for collaborative reputation that uses rrdtool (experimental)
+REPUTATION_DESC=		Reputation check (experimental)
+RESIGN_DESC=			One-step resigning
+SENDER_MACRO_DESC=		Macro to determine sender
+SOCKETDB_DESC=			Arbitrary socket data sets
+STATSEXT_DESC=			Extended stats
+VBR_DESC=			Vouch-By-Reference support
Index: mail/opendkim/Makefile.features
===================================================================
--- mail/opendkim/Makefile.features	(revision 306370)
+++ mail/opendkim/Makefile.features	(working copy)
@@ -7,16 +7,15 @@
 # $FreeBSD$
 #
 
-.if defined(WITH_ADSP_LISTS) && !defined(WITHOUT_ADSP_LISTS)
+.if ${PORT_OPTIONS:MADSP_LISTS}
 CONFIGURE_ARGS+=	--enable-adsp_lists
 .endif
 
-.if defined(WITH_ALLSYMBOLS) && !defined(WITHOUT_ALLSYMBOLS)
+.if ${PORT_OPTIONS:MALLSYMBOLS}
 CONFIGURE_ARGS+=	--enable-allsymbols
 .endif
 
-.if defined(WITH_ATPS) && !defined(WITHOUT_ATPS)
-WITH_XTAGS=		yes
+.if ${PORT_OPTIONS:MATPS}
 CONFIGURE_ARGS+=	--enable-atps
 MAN8+=			opendkim-atpszone.8
 PLIST_SUB+=		ATPS=""
@@ -24,24 +23,26 @@
 PLIST_SUB+=		ATPS="@comment "
 .endif
 
-.if defined(WITH_CODECOVERAGE) && !defined(WITHOUT_CODECOVERAGE)
+.if ${PORT_OPTIONS:MCODECOVERAGE}
 CONFIGURE_ARGS+=	--enable-codecoverage
 .endif
 
-.if defined(WITH_DB_HANDLE_POOLS) && !defined(WITHOUT_DB_HANDLE_POOLS)
+.if ${PORT_OPTIONS:MDB_HANDLE_POOLS}
 CONFIGURE_ARGS+=	--enable-db_handle_pools
 .endif
 
-.if defined(WITH_DEFAULT_SENDER) && !defined(WITHOUT_DEFAULT_SENDER)
+.if ${PORT_OPTIONS:MDEFAULT_SENDER}
 CONFIGURE_ARGS+=	--enable-default_sender
 .endif
 
-.if defined(WITH_DIFFHEADERS) && !defined(WITHOUT_DIFFHEADERS)
+.if ${PORT_OPTIONS:MDIFFHEADERS}
 CONFIGURE_ARGS+=	--enable-diffheaders
 LIB_DEPENDS+=		tre:${PORTSDIR}/textproc/libtre
+.else
+CONFIGURE_ARGS+=	--without-tre
 .endif
 
-.if defined(WITH_DKIM_REPUTATION) && !defined(WITHOUT_DKIM_REPUTATION)
+.if ${PORT_OPTIONS:MDKIM_REPUTATION}
 CONFIGURE_ARGS+=	--enable-dkim_reputation
 MAN3+=			dkim-rep.3
 PLIST_SUB+=		DKIMREP=""
@@ -49,37 +50,31 @@
 PLIST_SUB+=		DKIMREP="@comment "
 .endif
 
-.if defined(WITH_IDENTITY_HEADER) && !defined(WITHOUT_IDENTITY_HEADER)
+.if ${PORT_OPTIONS:MERLANG}
+BUILD_DEPENDS+=		erl:${PORTSDIR}/lang/erlang
+CONFIGURE_ARGS+=	--with-erlang
+.else
+CONFIGURE_ARGS+=	--without-erlang
+.endif
+
+.if ${PORT_OPTIONS:MIDENTITY_HEADER}
 CONFIGURE_ARGS+=	--enable-identity_header
 .endif
 
-.if defined(WITH_LDAP_CACHING) && !defined(WITHOUT_LDAP_CACHING)
+.if ${PORT_OPTIONS:MLDAP_CACHING}
 WITH_OPENLDAP=		yes
 CONFIGURE_ARGS+=	--enable-ldap_caching
 .endif
 
-.if defined(WITH_LUA_GLOBALS) && !defined(WITHOUT_LUA_GLOBALS)
-CONFIGURE_ARGS+=	--enable-lua_globals
-WITH_LUA=		yes
+.if ${PORT_OPTIONS:MPOSTGRES_RECONNECT_HACK}
+CONFIGURE_ARGS+=	--enable-postgresql_reconnect_hack
 .endif
 
-.if defined(WITH_OVERSIGN) && !defined(WITHOUT_OVERSIGN)
-CONFIGURE_ARGS+=	--enable-oversign
-.endif
-
-.if defined(WITH_PARSE_TIME) && !defined(WITHOUT_PARSE_TIME)
-CONFIGURE_ARGS+=	--enable-parsetime
-.endif
-
-.if defined(WITH_POSTGRES_RECONNECT_HACK) && !defined(WITHOUT_POSTGRES_RECONNECT_HACK)
-CONFIGURE_ARGS+=	--enable-postgres_reconnect_hack
-.endif
-
-.if defined(WITH_RATE_LIMIT) || defined(WITH_RESIGN)
+.if ${PORT_OPTIONS:MRATE_LIMIT}
 CONFIGURE_ARGS+=	--enable-rate_limit
 .endif
 
-.if defined(WITH_RBL) && !defined(WITHOUT_RBL)
+.if ${PORT_OPTIONS:MRBL}
 CONFIGURE_ARGS+=	--enable-rbl
 MAN3+=			rbl.3
 PLIST_SUB+=		RBL=""
@@ -87,64 +82,64 @@
 PLIST_SUB+=		RBL="@comment "
 .endif
 
-.if defined(WITH_REDIRECT) && !defined(WITHOUT_REDIRECT)
+.if ${PORT_OPTIONS:MREDIRECT}
 CONFIGURE_ARGS+=	--enable-redirect
 .endif
 
-.if defined(WITH_REPLACE_RULES) && !defined(WITHOUT_REPLACE_RULES)
+.if ${PORT_OPTIONS:MREPLACE_RULES}
 CONFIGURE_ARGS+=	--enable-replace_rules
 .endif
 
-.if defined(WITH_REPUTATION) && !defined(WITHOUT_REPUTATION)
-CONFIGURE_ARGS+=	--enable-reputation
+.if ${PORT_OPTIONS:MREPRRD}
+CONFIGURE_ARGS+=	--enable-reprrd
+MAN8+=			opendkim-reprrdimport.8
+PLIST_SUB+=		REPRRD=""
+BUILD_DEPENDS=		rrdtool>=0:${PORTSDIR}/databases/rrdtool
+.else
+CONFIGURE_ARGS+=	--disable-reprrd
+PLIST_SUB+=		REPRRD="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MREPUTATION}
+CONFIGURE_ARGS+=	--enable-reputation \
+			--with-libcurl
+LIB_DEPENDS+=		curl:${PORTSDIR}/ftp/curl
+. if defined(WITH_LIBXML2) && !defined(WITHOUT_LIBXML2)
+CONFIGURE_ARGS+=	--with-libxml2
+LIB_DEPENDS+=		xml2:${PORTSDIR}/devel/libxml2
+. else
+CONFIGURE_ARGS+=	--with-libjansson
+LIB_DEPENDS+=		jansson:${PORTSDIR}/devel/jansson
+. endif
 MAN3+=			ut.3
-MAN8+=			opendkim-genrates.8 opendkim-modtotals.8
+MAN8+=			opendkim-genrates.8 opendkim-modtotals.8 \
+			opendkim-rephistory.8
 PLIST_SUB+=		REPUTE=""
 .else
+CONFIGURE_ARGS+=	--without-libcurl
 PLIST_SUB+=		REPUTE="@comment "
 .endif
 
-.if defined(WITH_REPUTATION_CACHE) && !defined(WITHOUT_REPUTATION_CACHE)
-CONFIGURE_ARGS+=	--enable-reputation_cache
-.endif
-
-.if defined(WITH_RESIGN) && !defined(WITHOUT_RESIGN)
+.if ${PORT_OPTIONS:MRESIGN}
 CONFIGURE_ARGS+=	--enable-resign
 .endif
 
-.if defined(WITH_SELECT_CANONICALIZATION) && !defined(WITHOUT_SELECT_CANONICALIZATION)
-CONFIGURE_ARGS+=	--enable-select_canonicalization
-.endif
-
-.if defined(WITH_SELECTOR_HEADER) && !defined(WITHOUT_SELECTOR_HEADER)
-CONFIGURE_ARGS+=	--enable-selector_header
-.endif
-
-.if defined(WITH_SENDER_MACRO) && !defined(WITHOUT_SENDER_MACRO)
+.if ${PORT_OPTIONS:MSENDER_MACRO}
 CONFIGURE_ARGS+=	--enable-sender_macro
 .endif
 
-.if defined(WITH_STATS) || defined(WITH_STATSEXT)
-CONFIGURE_ARGS+=	--enable-stats
-MAN1+=			opendkim-spam.1
-MAN8+=			opendkim-stats.8
-PLIST_SUB+=		STATS=""
-.else
-PLIST_SUB+=		STATS="@comment "
+.if ${PORT_OPTIONS:MSOCKETDB}
+CONFIGURE_ARGS+=	--enable-socketdb
 .endif
 
-.if defined(WITH_STATSEXT) && !defined(WITHOUT_STATSEXT)
+.if ${PORT_OPTIONS:MSTATSEXT}
 CONFIGURE_ARGS+=	--enable-statsext
 .endif
 
-.if defined(WITH_VBR) && !defined(WITHOUT_VBR)
+.if ${PORT_OPTIONS:MVBR}
 CONFIGURE_ARGS+=	--enable-vbr
 MAN3+=			vbr.3
 PLIST_SUB+=		VBR=""
 .else
 PLIST_SUB+=		VBR="@comment "
 .endif
-
-.if defined(WITH_XTAGS) && !defined(WITHOUT_XTAGS)
-CONFIGURE_ARGS+=	--enable-xtags
-.endif
Index: mail/opendkim/pkg-plist
===================================================================
--- mail/opendkim/pkg-plist	(revision 306370)
+++ mail/opendkim/pkg-plist	(working copy)
@@ -1,27 +1,15 @@
 @comment $FreeBSD$
 %%LUA%%bin/miltertest
-%%ATPS%%bin/opendkim-atpszone
-bin/opendkim-genkey
-%%REPUTE%%bin/opendkim-genrates
-bin/opendkim-genzone
-%%REPUTE%%bin/opendkim-modtotals
-%%STATS%%bin/opendkim-spam
-%%STATS%%bin/opendkim-stats
-bin/opendkim-testadsp
-bin/opendkim-testkey
-bin/opendkim-testmsg
+%%REPRRD%%bin/opendkim-reprrdimport
+%%ODBX%%%%STATS%%bin/opendkim-spam
 etc/mail/opendkim.conf.sample
-%%ARLIB%%include/async-resolv.h
 %%DKIMREP%%include/dkim-rep/dkim-rep.h
 include/opendkim/dkim.h
 %%RBL%%include/rbl/rbl.h
+%%REPRRD%%include/reprrd/reprrd.h
 %%REPUTE%%include/repute/repute.h
 %%REPUTE%%include/ut/ut.h
 %%VBR%%include/vbr/vbr.h
-%%ARLIB%%lib/libar.a
-%%ARLIB%%lib/libar.la
-%%ARLIB%%lib/libar.so
-%%ARLIB%%lib/libar.so.2
 %%DKIMREP%%lib/libdkimrep.a
 %%DKIMREP%%lib/libdkimrep.la
 %%DKIMREP%%lib/libdkimrep.so
@@ -29,11 +17,15 @@
 lib/libopendkim.a
 lib/libopendkim.la
 lib/libopendkim.so
-lib/libopendkim.so.6
+lib/libopendkim.so.8
 %%RBL%%lib/librbl.a
 %%RBL%%lib/librbl.la
 %%RBL%%lib/librbl.so
 %%RBL%%lib/librbl.so.1
+%%REPRRD%%lib/libreprrd.a
+%%REPRRD%%lib/libreprrd.la
+%%REPRRD%%lib/libreprrd.so
+%%REPRRD%%lib/libreprrd.so.1
 %%REPUTE%%lib/librepute.a
 %%REPUTE%%lib/librepute.la
 %%REPUTE%%lib/librepute.so
@@ -46,7 +38,6 @@
 %%VBR%%lib/libvbr.la
 %%VBR%%lib/libvbr.so
 %%VBR%%lib/libvbr.so.2
-%%ARLIB%%libdata/pkgconfig/ar.pc
 %%DKIMREP%%libdata/pkgconfig/dkim-rep.pc
 libdata/pkgconfig/opendkim.pc
 %%RBL%%libdata/pkgconfig/rbl.pc
@@ -54,5 +45,26 @@
 %%REPUTE%%libdata/pkgconfig/ut.pc
 %%VBR%%libdata/pkgconfig/vbr.pc
 %%FILTER%%sbin/opendkim
+%%ATPS%%sbin/opendkim-atpszone
+%%STATS%%sbin/opendkim-expire
+%%STATS%%sbin/opendkim-gengraphs
+sbin/opendkim-genkey
+%%REPUTE%%sbin/opendkim-genrates
+%%STATS%%sbin/opendkim-genstats
+sbin/opendkim-genzone
+%%ODBX%%%%STATS%%sbin/opendkim-importstats
+%%REPUTE%%sbin/opendkim-modtotals
+%%REPUTE%%sbin/opendkim-rephistory
+%%STATS%%sbin/opendkim-reportstats
+%%STATS%%sbin/opendkim-stats
+sbin/opendkim-testadsp
+sbin/opendkim-testkey
+sbin/opendkim-testmsg
+%%VBR%%@dirrm include/vbr
+%%REPUTE%%@dirrm include/ut
+%%REPUTE%%@dirrm include/repute
+%%REPRRD%%@dirrm include/reprrd
+%%RBL%%@dirrm include/rbl
 @dirrm include/opendkim
+%%DKIMREP%%@dirrm include/dkim-rep
 @dirrmtry etc/mail
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867gqfazwj.wl%umq>