pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/libspf2



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Mon Dec 17 18:32:43 UTC 2018

Modified Files:
        pkgsrc/mail/libspf2: distinfo
Added Files:
        pkgsrc/mail/libspf2/patches: patch-src_libspf2_spf__dns__resolv.c

Log Message:
Avoid res_close() on OpenBSD (from OpenBSD ports).


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/mail/libspf2/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/mail/libspf2/patches/patch-src_libspf2_spf__dns__resolv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/libspf2/distinfo
diff -u pkgsrc/mail/libspf2/distinfo:1.9 pkgsrc/mail/libspf2/distinfo:1.10
--- pkgsrc/mail/libspf2/distinfo:1.9    Tue Nov  3 23:27:08 2015
+++ pkgsrc/mail/libspf2/distinfo        Mon Dec 17 18:32:42 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2015/11/03 23:27:08 agc Exp $
+$NetBSD: distinfo,v 1.10 2018/12/17 18:32:42 schmonz Exp $
 
 SHA1 (libspf2-1.2.10.tar.gz) = 3c31b20c737d9a8044440e5bf25697016b9cb582
 RMD160 (libspf2-1.2.10.tar.gz) = 5557435802896bec31362c1fa028e9e295656455
@@ -8,3 +8,4 @@ SHA1 (patch-configure) = 4457ad150c19203
 SHA1 (patch-src_include_spf__log.h) = 87b534d338b7fa36168cf8b745a285e38598cfed
 SHA1 (patch-src_libreplace_Makefile.in) = 12fab6f97efff6cc1944ebb5a5cf26fdb79971c2
 SHA1 (patch-src_libreplace_ensure__libreplace__symbol.c) = 1b2ccf11fe7cade3c7769e7388cdd79ee250b26e
+SHA1 (patch-src_libspf2_spf__dns__resolv.c) = 493449b294afa3154b8656d2155d3b144393d02c

Added files:

Index: pkgsrc/mail/libspf2/patches/patch-src_libspf2_spf__dns__resolv.c
diff -u /dev/null pkgsrc/mail/libspf2/patches/patch-src_libspf2_spf__dns__resolv.c:1.1
--- /dev/null   Mon Dec 17 18:32:43 2018
+++ pkgsrc/mail/libspf2/patches/patch-src_libspf2_spf__dns__resolv.c    Mon Dec 17 18:32:42 2018
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_libspf2_spf__dns__resolv.c,v 1.1 2018/12/17 18:32:42 schmonz Exp $
+
+OpenBSD's libc resolver provides res_init() but not res_close().
+
+--- src/libspf2/spf_dns_resolv.c.orig  Sat Jan 28 08:24:47 2012
++++ src/libspf2/spf_dns_resolv.c
+@@ -607,7 +607,9 @@ SPF_dns_resolv_free(SPF_dns_server_t *spf_dns_server)
+       SPF_ASSERT_NOTNULL(spf_dns_server);
+ 
+ #if ! HAVE_DECL_RES_NINIT
++#  ifndef __OpenBSD__
+       res_close();
++#  endif
+ #endif
+ 
+       free(spf_dns_server);



Home | Main Index | Thread Index | Old Index