Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2013 08:40:13 +0900
From:      Hirohisa Yamaguchi <umq@ueo.co.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/177168: [maintainer] mail/opendkim update to 2.8.1
Message-ID:  <86boady71e.wl%umq@ueo.co.jp>
Resent-Message-ID: <201303202350.r2KNo3P2018746@freefall.freebsd.org>

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

>Number:         177168
>Category:       ports
>Synopsis:       [maintainer] mail/opendkim update to 2.8.1
>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:   Wed Mar 20 23:50:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Hirohisa Yamaguchi
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD calliope.****.org 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	The new version of mail/opendkim 2.8.1 is now available.
	Release announcement: http://lists.opendkim.org/archive/opendkim/announce/2013/03/0042.html
>How-To-Repeat:
	N/A
>Fix:

	The patch follows:

Index: mail/opendkim/Makefile
===================================================================
--- mail/opendkim/Makefile	(revision 314777)
+++ mail/opendkim/Makefile	(working copy)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=		opendkim
-PORTVERSION=		2.8.0
+PORTVERSION=		2.8.1
 CATEGORIES=		mail security
 MASTER_SITES=		SF
 MASTER_SITE_SUBDIR=	${PORTNAME} \
@@ -156,6 +156,7 @@
 
 pre-configure:
 	${REINPLACE_CMD} -e '/PKG_CONFIG/s/lua5/lua-5/' \
+		-e '/PKG_CONFIG/s/cyrussasl/libsasl2/' \
 	${WRKSRC}/configure
 
 post-patch:
Index: mail/opendkim/distinfo
===================================================================
--- mail/opendkim/distinfo	(revision 314777)
+++ mail/opendkim/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (opendkim-2.8.0.tar.gz) = a7b369b2182031d53257cbbac7ed99d70b00ebc442dfb832dc7d78d5d7b0c31c
-SIZE (opendkim-2.8.0.tar.gz) = 1175377
+SHA256 (opendkim-2.8.1.tar.gz) = 4fefda01a7fd7ecf37d3cd309c05ba714d97ac61a4eda145b6213bf8e4b536e8
+SIZE (opendkim-2.8.1.tar.gz) = 1176501
Index: mail/opendkim/files/patch-libopendkim__dkim-cache.c
===================================================================
--- mail/opendkim/files/patch-libopendkim__dkim-cache.c	(revision 314777)
+++ mail/opendkim/files/patch-libopendkim__dkim-cache.c	(working copy)
@@ -1,18 +0,0 @@
-diff --git a/libopendkim/dkim-cache.c b/libopendkim/dkim-cache.c
-index 1bb10e8..3a0d6c5 100644
---- ./libopendkim/dkim-cache.c
-+++ ./libopendkim/dkim-cache.c
-@@ -508,7 +508,13 @@ dkim_cache_stats(DB *db, u_int *queries, u_int *hits, u_int *expired,
- #if DB_VERSION_CHECK(2,0,0)
- 		DB_HASH_STAT *sp;
- 
-+# if DB_VERSION_CHECK(4,3,0)
- 		if (db->stat(db, NULL, (void *) &sp, 0) != 0)
-+# elif DB_VERSION_CHECK(4,0,0)
-+		if (db->stat(db, (void *) &sp, 0) != 0)
-+# else /* DB_VERSION_CHECK(4,0,0) */
-+		if (db->stat(db, (void *) &sp, NULL, 0) != 0)
-+# endif /* DB_VERSION_CHECK(4,0,0) */
- 		{
- 			*keys = (u_int) -1;
- 		}
Index: mail/opendkim/files/patch-libopendkim__tests__t-test49.c
===================================================================
--- mail/opendkim/files/patch-libopendkim__tests__t-test49.c	(revision 314777)
+++ mail/opendkim/files/patch-libopendkim__tests__t-test49.c	(working copy)
@@ -1,26 +0,0 @@
-diff --git a/libopendkim/tests/t-test49.c b/libopendkim/tests/t-test49.c
-index e54cb37..318ad8a 100644
---- ./libopendkim/tests/t-test49.c
-+++ ./libopendkim/tests/t-test49.c
-@@ -53,7 +53,7 @@ main(int argc, char **argv)
- 
- 	int status;
- 	int err;
--	u_int s1, s2, s3;
-+	u_int s1, s2, s3, s4;
- 	size_t buflen;
- 	DB *cache;
- 	char buf[BUFRSZ + 1];
-@@ -99,10 +99,11 @@ main(int argc, char **argv)
- 	assert(status == 1);
- 
- 	printf("--- retrieve cache stats\n");
--	dkim_cache_stats(&s1, &s2, &s3);
-+	dkim_cache_stats(cache, &s1, &s2, &s3, &s4, FALSE);
- 	assert(s1 == 3);
- 	assert(s2 == 1);
- 	assert(s3 == 1);
-+	assert(s4 == 0);
- 
- 	dkim_cache_close(cache);
- #endif /* ! QUERY_CACHE */
Index: mail/opendkim/files/patch-librbl__rbl.c
===================================================================
--- mail/opendkim/files/patch-librbl__rbl.c	(revision 0)
+++ mail/opendkim/files/patch-librbl__rbl.c	(working copy)
@@ -0,0 +1,10 @@
+--- ./librbl/rbl.c.orig	2012-10-25 07:12:31.000000000 +0900
++++ ./librbl/rbl.c	2013-03-21 02:26:41.000000000 +0900
+@@ -312,6 +312,7 @@
+ 
+ 	free(tmp);
+ #endif /* HAVE_RES_SETSERVERS */
++	return 0;
+ }
+ 
+ /*
Index: mail/opendkim/files/patch-opendkim__opendkim.c
===================================================================
--- mail/opendkim/files/patch-opendkim__opendkim.c	(revision 0)
+++ mail/opendkim/files/patch-opendkim__opendkim.c	(working copy)
@@ -0,0 +1,51 @@
+--- ./opendkim/opendkim.c.orig	2013-03-20 03:02:40.000000000 +0900
++++ ./opendkim/opendkim.c	2013-03-21 02:47:29.000000000 +0900
+@@ -4832,7 +4832,7 @@
+ 					{
+ 						snprintf(err, errlen,
+ 						         "%s is in group %u which has multiple users (e.g., \"%s\")",
+-						         s.st_gid,
++						         myname, s.st_gid,
+ 						         pw->pw_name);
+ 					}
+ 
+@@ -4858,7 +4858,7 @@
+ 					{
+ 						snprintf(err, errlen,
+ 						         "%s is in group %u which has multiple users (e.g., \"%s\")",
+-						         s.st_gid,
++						         myname, s.st_gid,
+ 						         gr->gr_mem[c]);
+ 					}
+ 
+@@ -12421,7 +12421,7 @@
+ 			{
+ 				syslog(LOG_INFO,
+ 				       "%s: can't parse default sender value '%s'",
+-				       dfc->mctx_jobid, from);
++				       dfc->mctx_jobid, conf->conf_defsender);
+ 			}
+ #endif /* _FFR_DEFAULT_SENDER */
+ 		}
+@@ -14945,8 +14945,8 @@
+ 				for (c = 0; c < nsigs && domain == NULL; c++)
+ 				{
+ 					if ((dkim_sig_getflags(sigs[c]) & DKIM_SIGFLAG_PASSED) == 0 ||
+-					    (dkim_sig_getflags(sigs[c]) & DKIM_SIGFLAG_TESTKEY) != 0 &&
+-					    dkim_sig_getbh(sigs[c]) != DKIM_SIGBH_MATCH)
++					    ((dkim_sig_getflags(sigs[c]) & DKIM_SIGFLAG_TESTKEY) != 0 &&
++					    dkim_sig_getbh(sigs[c]) != DKIM_SIGBH_MATCH))
+ 						continue;
+ 
+ 					cd = dkim_sig_getdomain(sigs[c]);
+@@ -15121,8 +15121,8 @@
+ 				for (c = 0; c < nsigs; c++)
+ 				{
+ 					if ((dkim_sig_getflags(sigs[c]) & DKIM_SIGFLAG_PASSED) == 0 ||
+-					    (dkim_sig_getflags(sigs[c]) & DKIM_SIGFLAG_TESTKEY) != 0 &&
+-					    dkim_sig_getbh(sigs[c]) != DKIM_SIGBH_MATCH)
++					    ((dkim_sig_getflags(sigs[c]) & DKIM_SIGFLAG_TESTKEY) != 0 &&
++					    dkim_sig_getbh(sigs[c]) != DKIM_SIGBH_MATCH))
+ 						continue;
+ 
+ 					checked = TRUE;

>Release-Note:
>Audit-Trail:
>Unformatted:



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