summaryrefslogtreecommitdiff
path: root/net/udns
diff options
context:
space:
mode:
authorschnoebe <schnoebe@pkgsrc.org>2014-02-24 19:29:02 +0000
committerschnoebe <schnoebe@pkgsrc.org>2014-02-24 19:29:02 +0000
commit0682dd79cec36a3688653f1e1f0ae588de902345 (patch)
tree1b930995a31ef98b2bcb298ee7dc2b5c955a1729 /net/udns
parente463ff135bcf100cc1e07b8da7dc84239fe4c38d (diff)
downloadpkgsrc-0682dd79cec36a3688653f1e1f0ae588de902345.tar.gz
Upgrade to 0.4:
0.4 (Jan 2014) - bugfix: fix a bug in new list code introduced in 0.3 - portability: use $(LD)/$(LDFLAGS)/$(LIBS) 0.3 (Jan 2014) - bugfix: refactor double-linked list implementation in udns_resolver.c (internal to the library) to be more strict-aliasing-friendly, because old code were miscompiled by gcc. - bugfix: forgotten strdup() in rblcheck
Diffstat (limited to 'net/udns')
-rw-r--r--net/udns/Makefile5
-rw-r--r--net/udns/distinfo10
-rw-r--r--net/udns/patches/patch-aa51
3 files changed, 44 insertions, 22 deletions
diff --git a/net/udns/Makefile b/net/udns/Makefile
index 91f722e2bc9..a9f0fb17a63 100644
--- a/net/udns/Makefile
+++ b/net/udns/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2013/09/13 09:57:36 jperkin Exp $
+# $NetBSD: Makefile,v 1.9 2014/02/24 19:29:02 schnoebe Exp $
-DISTNAME= udns-0.2
-PKGREVISION= 2
+DISTNAME= udns-0.4
CATEGORIES= net
MASTER_SITES= http://www.corpit.ru/mjt/udns/
diff --git a/net/udns/distinfo b/net/udns/distinfo
index 8f080e89d57..d10264e86a8 100644
--- a/net/udns/distinfo
+++ b/net/udns/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2013/09/13 09:57:36 jperkin Exp $
+$NetBSD: distinfo,v 1.5 2014/02/24 19:29:02 schnoebe Exp $
-SHA1 (udns-0.2.tar.gz) = 416da8c95283eae45f6d2e6fb055c4ef765a3f02
-RMD160 (udns-0.2.tar.gz) = 41d090516ef2f67f4d9a4a11c1db5347bf9392c8
-Size (udns-0.2.tar.gz) = 87308 bytes
-SHA1 (patch-aa) = 941c6726b2d6140fd5b998ba7a668f41748704c4
+SHA1 (udns-0.4.tar.gz) = ffa0abf9d1654feb64d571b2615d8b70e1dd92ce
+RMD160 (udns-0.4.tar.gz) = 49de30814b3c3687438b529354d2fcfdaaa4e6f0
+Size (udns-0.4.tar.gz) = 84716 bytes
+SHA1 (patch-aa) = b67e3e824507b37501774ac5356ccc7fc0d74ef6
SHA1 (patch-ab) = 3261f7f420c2baab49830d148c969c7595d31a04
diff --git a/net/udns/patches/patch-aa b/net/udns/patches/patch-aa
index f9841ed6ba5..d26acaf2027 100644
--- a/net/udns/patches/patch-aa
+++ b/net/udns/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.3 2013/09/13 09:57:36 jperkin Exp $
+$NetBSD: patch-aa,v 1.4 2014/02/24 19:29:02 schnoebe Exp $
-Make use of libtool.
+Uniformly use libtool.
---- Makefile.in.orig 2010-12-27 17:35:02.000000000 +0000
+--- Makefile.in.orig 2014-01-23 10:45:31.000000000 +0000
+++ Makefile.in
@@ -35,7 +35,7 @@ DIST = COPYING.LGPL udns.h udns.3 dnsg
@@ -13,7 +13,7 @@ Make use of libtool.
SOBJS = $(OBJS:.o=.lo)
SOLIB = lib$(NAME)_s.so
-@@ -63,10 +63,10 @@ all: static
+@@ -66,10 +66,10 @@ all: static
static: $(LIB) $(UTILS)
staticlib: $(LIB)
$(LIB): $(OBJS)
@@ -27,21 +27,44 @@ Make use of libtool.
shared: $(SOLIBV) $(SOUTILS)
sharedlib: $(SOLIBV)
-@@ -183,14 +183,14 @@ dnsget.o dnsget.lo: dnsget.c config.h ud
+@@ -153,9 +153,11 @@ depend dep deps: $(SRCS) $(USRC)
+ done >> Makefile.tmp; \
+ for f in $(USRCS:.c=.o); do \
+ echo "$${f%.?}: $$f \$$(LIB)"; \
+- echo " \$$(LD) \$$(LDLAGS) -o \$$@ $$f \$$(LIBFL) \$$(LIBS)"; \
++ echo " \$$(LIBTOOL) --mode=link \$$(CC) \$$(CFLAGS) \$$(LDLAGS) \\";\
++ echo " -o \$$@ $$f \$$(LIBFL) \$$(LIBS)"; \
+ echo "$${f%.?}_s: $$f \$$(SOLIB)"; \
+- echo " \$$(LD) \$$(LDFLAGS) -o \$$@ $$f \$$(SOLIBFL)"; \
++ echo " \$$(LIBTOOL) --mode=link \$$(CC) \$(CFLAGS) \$$(LDFLAGS) \\";\
++ echo " -o \$$@ $$f \$$(SOLIBFL)"; \
+ done >> Makefile.tmp ; \
+ if cmp Makefile.tmp Makefile.in >/dev/null 2>&1 ; then \
+ echo Makefile.in unchanged; rm -f Makefile.tmp; \
+@@ -184,14 +186,20 @@ dnsget.o dnsget.lo: dnsget.c config.h ud
rblcheck.o rblcheck.lo: rblcheck.c config.h udns.h getopt.c
ex-rdns.o ex-rdns.lo: ex-rdns.c udns.h
dnsget: dnsget.o $(LIB)
-- $(CC) $(CFLAGS) -o $@ dnsget.o $(LIBFL)
-+ ${LIBTOOL} --mode=link $(CC) $(CFLAGS) -o $@ dnsget.o $(LIBFL)
+- $(LD) $(LDLAGS) -o $@ dnsget.o $(LIBFL) $(LIBS)
++ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDLAGS) -o $@ dnsget.o \
++ $(LIBFL) $(LIBS)
dnsget_s: dnsget.o $(SOLIB)
- $(CC) $(CFLAGS) -o $@ dnsget.o $(SOLIBFL)
+- $(LD) $(LDFLAGS) -o $@ dnsget.o $(SOLIBFL)
++ $(LIBTOOL) --mode=link $(CC) $(CLFAGS) $(LDFLAGS) -o $@ dnsget.o \
++ $(SOLIBFL)
rblcheck: rblcheck.o $(LIB)
-- $(CC) $(CFLAGS) -o $@ rblcheck.o $(LIBFL)
-+ ${LIBTOOL} --mode=link $(CC) $(CFLAGS) -o $@ rblcheck.o $(LIBFL)
+- $(LD) $(LDLAGS) -o $@ rblcheck.o $(LIBFL) $(LIBS)
++ $(LIBTOOL) --mode=link $(CC) $(CLFAGS) $(LDLAGS) -o $@ rblcheck.o \
++ $(LIBFL) $(LIBS)
rblcheck_s: rblcheck.o $(SOLIB)
- $(CC) $(CFLAGS) -o $@ rblcheck.o $(SOLIBFL)
+- $(LD) $(LDFLAGS) -o $@ rblcheck.o $(SOLIBFL)
++ $(LIBTOOL) --mode=link $(CC) $(CLFAGS) $(LDFLAGS) -o $@ rblcheck.o \
++ $(SOLIBFL)
ex-rdns: ex-rdns.o $(LIB)
-- $(CC) $(CFLAGS) -o $@ ex-rdns.o $(LIBFL)
-+ ${LIBTOOL} --mode=link $(CC) $(CFLAGS) -o $@ ex-rdns.o $(LIBFL)
+- $(LD) $(LDLAGS) -o $@ ex-rdns.o $(LIBFL) $(LIBS)
++ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDLAGS) -o $@ ex-rdns.o \
++ $(LIBFL) $(LIBS)
ex-rdns_s: ex-rdns.o $(SOLIB)
- $(CC) $(CFLAGS) -o $@ ex-rdns.o $(SOLIBFL)
+- $(LD) $(LDFLAGS) -o $@ ex-rdns.o $(SOLIBFL)
++ $(LIBTOOL) --mode=link $(CC) $(CLFAGS) $(LDFLAGS) -o $@ ex-rdns.o \
++ $(SOLIBFL)