Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Mar 2012 23:02:17 +0900
From:      Hirohisa Yamaguchi <umq@ueo.co.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/165583: [maintainer] mail/opendkim update to 2.5.0
Message-ID:  <867gz4pggm.wl%umq@ueo.co.jp>
Resent-Message-ID: <201203011410.q21EAAUW083149@freefall.freebsd.org>

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

>Number:         165583
>Category:       ports
>Synopsis:       [maintainer] mail/opendkim update to 2.5.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 01 14:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Hirohisa Yamaguchi
>Release:        FreeBSD 8.1-RELEASE amd64
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD calliope.****.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	The new version of mail/opendkim 2.5.0 is now available.

>How-To-Repeat:
	N/A

>Fix:

	the patch attached:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/opendkim/Makefile,v
retrieving revision 1.11
diff -b -p -u -r1.11 Makefile
--- Makefile	22 Jan 2012 11:49:11 -0000	1.11
+++ Makefile	1 Mar 2012 07:39:23 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	opendkim
-PORTVERSION=	2.4.3
+PORTVERSION=	2.5.0
 CATEGORIES=	mail security
 MASTER_SITES=	SF
 MASTER_SITE_SUBDIR=	${PORTNAME} \
@@ -28,10 +28,8 @@ GNU_CONFIGURE=	yes
 USE_OPENSSL=	yes
 USE_LDCONFIG=	yes
 
-MAN8=		opendkim-genkey.8 opendkim-genzone.8 \
-		opendkim-testadsp.8 opendkim-testkey.8
-
-SUB_FILES=	pkg-message
+MAN8=		opendkim-genkey.8 opendkim-genzone.8 opendkim-testadsp.8 \
+		opendkim-testkey.8 opendkim-testmsg.8
 
 OPTIONS=	\
 	ARLIB		"Asynchronous thread-safe DNS library"	On  \
@@ -54,6 +52,7 @@ USE_RC_SUBR=	milter-opendkim
 MAN5+=		opendkim.conf.5
 MAN8+=		opendkim.8
 PLIST_SUB+=		FILTER=""
+SUB_FILES=		pkg-message
 WITHOUT_MILTER_CFLAGS=	yes
 WITHOUT_MILTER_LDFLAGS=	yes
 .include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
@@ -103,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
@@ -150,6 +146,11 @@ post-install:
 .endif
 	@${MKDIR} ${PREFIX}/etc/mail
 	${INSTALL_DATA} ${WRKSRC}/opendkim/opendkim.conf.sample ${PREFIX}/etc/mail/
+.if !defined(WITHOUT_FILTER)
 	@${CAT} ${PKGMESSAGE}
+.endif
+
+regression-test: build
+	cd ${WRKSRC} ; ${MAKE} check
 
 .include <bsd.port.post.mk>
Index: Makefile.features
===================================================================
RCS file: /home/ncvs/ports/mail/opendkim/Makefile.features,v
retrieving revision 1.6
diff -b -p -u -r1.6 Makefile.features
--- Makefile.features	8 Jan 2012 01:23:47 -0000	1.6
+++ Makefile.features	1 Mar 2012 07:39:23 -0000
@@ -18,6 +18,10 @@ CONFIGURE_ARGS+=	--enable-allsymbols
 .if defined(WITH_ATPS) && !defined(WITHOUT_ATPS)
 WITH_XTAGS=		yes
 CONFIGURE_ARGS+=	--enable-atps
+MAN8+=			opendkim-atpszone.8
+PLIST_SUB+=		ATPS=""
+.else
+PLIST_SUB+=		ATPS="@comment "
 .endif
 
 .if defined(WITH_CODECOVERAGE) && !defined(WITHOUT_CODECOVERAGE)
@@ -39,6 +43,10 @@ LIB_DEPENDS+=		tre:${PORTSDIR}/textproc/
 
 .if defined(WITH_DKIM_REPUTATION) && !defined(WITHOUT_DKIM_REPUTATION)
 CONFIGURE_ARGS+=	--enable-dkim_reputation
+MAN3+=			dkim-rep.3
+PLIST_SUB+=		DKIMREP=""
+.else
+PLIST_SUB+=		DKIMREP="@comment "
 .endif
 
 .if defined(WITH_IDENTITY_HEADER) && !defined(WITHOUT_IDENTITY_HEADER)
@@ -52,6 +60,7 @@ CONFIGURE_ARGS+=	--enable-ldap_caching
 
 .if defined(WITH_LUA_GLOBALS) && !defined(WITHOUT_LUA_GLOBALS)
 CONFIGURE_ARGS+=	--enable-lua_globals
+WITH_LUA=		yes
 .endif
 
 .if defined(WITH_OVERSIGN) && !defined(WITHOUT_OVERSIGN)
@@ -59,7 +68,6 @@ CONFIGURE_ARGS+=	--enable-oversign
 .endif
 
 .if defined(WITH_PARSE_TIME) && !defined(WITHOUT_PARSE_TIME)
-BROKEN=		The feature ``_FFR_PARSE_TIME'' is incomplete, does not work
 CONFIGURE_ARGS+=	--enable-parsetime
 .endif
 
@@ -67,12 +75,16 @@ CONFIGURE_ARGS+=	--enable-parsetime
 CONFIGURE_ARGS+=	--enable-postgres_reconnect_hack
 .endif
 
-.if defined(WITH_RATE_LIMIT) && !defined(WITHOUT_RATE_LIMIT)
+.if defined(WITH_RATE_LIMIT) || defined(WITH_RESIGN)
 CONFIGURE_ARGS+=	--enable-rate_limit
 .endif
 
 .if defined(WITH_RBL) && !defined(WITHOUT_RBL)
 CONFIGURE_ARGS+=	--enable-rbl
+MAN3+=			rbl.3
+PLIST_SUB+=		RBL=""
+.else
+PLIST_SUB+=		RBL="@comment "
 .endif
 
 .if defined(WITH_REDIRECT) && !defined(WITHOUT_REDIRECT)
@@ -83,8 +95,17 @@ CONFIGURE_ARGS+=	--enable-redirect
 CONFIGURE_ARGS+=	--enable-replace_rules
 .endif
 
-.if defined(WITH_REPORT_INTERVALS) && !defined(WITHOUT_REPORT_INTERVALS)
-CONFIGURE_ARGS+=	--enable-report_intervals
+.if defined(WITH_REPUTATION) && !defined(WITHOUT_REPUTATION)
+CONFIGURE_ARGS+=	--enable-reputation
+MAN3+=			ut.3
+MAN8+=			opendkim-genrates.8 opendkim-modtotals.8
+PLIST_SUB+=		REPUTE=""
+.else
+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)
@@ -105,6 +126,7 @@ CONFIGURE_ARGS+=	--enable-sender_macro
 
 .if defined(WITH_STATS) || defined(WITH_STATSEXT)
 CONFIGURE_ARGS+=	--enable-stats
+MAN1+=			opendkim-spam.1
 MAN8+=			opendkim-stats.8
 PLIST_SUB+=		STATS=""
 .else
@@ -117,6 +139,10 @@ CONFIGURE_ARGS+=	--enable-statsext
 
 .if defined(WITH_VBR) && !defined(WITHOUT_VBR)
 CONFIGURE_ARGS+=	--enable-vbr
+MAN3+=			vbr.3
+PLIST_SUB+=		VBR=""
+.else
+PLIST_SUB+=		VBR="@comment "
 .endif
 
 .if defined(WITH_XTAGS) && !defined(WITHOUT_XTAGS)
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/opendkim/distinfo,v
retrieving revision 1.8
diff -b -p -u -r1.8 distinfo
--- distinfo	22 Jan 2012 11:49:11 -0000	1.8
+++ distinfo	1 Mar 2012 07:39:23 -0000
@@ -1,2 +1,2 @@
-SHA256 (opendkim-2.4.3.tar.gz) = c3ef73c5aa2bf8a6626b822cea08b72c954376ae892d596346973d11003c0906
-SIZE (opendkim-2.4.3.tar.gz) = 1381956
+SHA256 (opendkim-2.5.0.tar.gz) = 5c17a5c82936495b35bc12b32438ebd7b7a624e3389fcac672f7d2ec5bdc8981
+SIZE (opendkim-2.5.0.tar.gz) = 1465356
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/opendkim/pkg-plist,v
retrieving revision 1.7
diff -b -p -u -r1.7 pkg-plist
--- pkg-plist	8 Jan 2012 01:23:47 -0000	1.7
+++ pkg-plist	1 Mar 2012 07:39:23 -0000
@@ -1,24 +1,58 @@
 @comment $FreeBSD: ports/mail/opendkim/pkg-plist,v 1.7 2012/01/08 01:23:47 scheidell Exp $
 %%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
 etc/mail/opendkim.conf.sample
-%%ARLIB%%include/ar/ar.h
+%%ARLIB%%include/async-resolv.h
+%%DKIMREP%%include/dkim-rep/dkim-rep.h
 include/opendkim/dkim.h
+%%RBL%%include/rbl/rbl.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
+%%DKIMREP%%lib/libdkimrep.so.1
 lib/libopendkim.a
 lib/libopendkim.la
 lib/libopendkim.so
-lib/libopendkim.so.5
+lib/libopendkim.so.6
+%%RBL%%lib/librbl.a
+%%RBL%%lib/librbl.la
+%%RBL%%lib/librbl.so
+%%RBL%%lib/librbl.so.1
+%%REPUTE%%lib/librepute.a
+%%REPUTE%%lib/librepute.la
+%%REPUTE%%lib/librepute.so
+%%REPUTE%%lib/librepute.so.1
+%%REPUTE%%lib/libut.a
+%%REPUTE%%lib/libut.la
+%%REPUTE%%lib/libut.so
+%%REPUTE%%lib/libut.so.1
+%%VBR%%lib/libvbr.a
+%%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
+%%REPUTE%%libdata/pkgconfig/repute.pc
+%%REPUTE%%libdata/pkgconfig/ut.pc
+%%VBR%%libdata/pkgconfig/vbr.pc
 %%FILTER%%sbin/opendkim
 @dirrm include/opendkim
-%%ARLIB%%@dirrm include/ar
 @dirrmtry etc/mail
Index: files/patch-libopendkim_tests_t-test75.c
===================================================================
RCS file: files/patch-libopendkim_tests_t-test75.c
diff -N files/patch-libopendkim_tests_t-test75.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-libopendkim_tests_t-test75.c	1 Mar 2012 07:39:23 -0000
@@ -0,0 +1,32 @@
+--- ./libopendkim/tests/t-test75.c.orig	2012-03-01 08:52:30.000000000 +0900
++++ ./libopendkim/tests/t-test75.c	2012-03-01 15:50:21.000000000 +0900
+@@ -52,6 +52,14 @@
+ 	dkim_query_t qtype = DKIM_QUERY_FILE;
+ 	unsigned char hdr[MAXHEADER + 1];
+ 
++#ifdef USE_GNUTLS
++	(void) gnutls_global_init();
++#endif /* USE_GNUTLS */
++
++	/* instantiate the library */
++	lib = dkim_init(NULL, NULL);
++	assert(lib != NULL);
++
+ 	if (!dkim_libfeature(lib, DKIM_FEATURE_PARSE_TIME))
+ 	{
+ 		printf("*** Date: value extraction SKIPPED\n");
+@@ -62,14 +70,6 @@
+ 		printf("*** Date: value extraction\n");
+ 	}
+ 
+-#ifdef USE_GNUTLS
+-	(void) gnutls_global_init();
+-#endif /* USE_GNUTLS */
+-
+-	/* instantiate the library */
+-	lib = dkim_init(NULL, NULL);
+-	assert(lib != NULL);
+-
+ #ifdef TEST_KEEP_FILES
+ 	/* set flags */
+ 	flags = (DKIM_LIBFLAGS_TMPFILES|DKIM_LIBFLAGS_KEEPFILES);
>Release-Note:
>Audit-Trail:
>Unformatted:



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