pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/udns UDNS is a stub DNS resolver library with abil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/efdcf5d54b45
branches:  trunk
changeset: 396698:efdcf5d54b45
user:      schnoebe <schnoebe%pkgsrc.org@localhost>
date:      Sat Aug 01 02:41:22 2009 +0000

description:
UDNS is a stub DNS resolver library with ability to perform both
synchronous and asynchronous DNS queries.

diffstat:

 net/udns/DESCR            |   2 ++
 net/udns/Makefile         |  35 +++++++++++++++++++++++++++++++++++
 net/udns/PLIST            |   8 ++++++++
 net/udns/buildlink3.mk    |  13 +++++++++++++
 net/udns/distinfo         |   6 ++++++
 net/udns/options.mk       |  14 ++++++++++++++
 net/udns/patches/patch-aa |  47 +++++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 125 insertions(+), 0 deletions(-)

diffs (153 lines):

diff -r 675e1dce53d7 -r efdcf5d54b45 net/udns/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/udns/DESCR    Sat Aug 01 02:41:22 2009 +0000
@@ -0,0 +1,2 @@
+UDNS is a stub DNS resolver library with ability to perform both
+synchronous and asynchronous DNS queries.
diff -r 675e1dce53d7 -r efdcf5d54b45 net/udns/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/udns/Makefile Sat Aug 01 02:41:22 2009 +0000
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/01 02:41:22 schnoebe Exp $
+
+DISTNAME=      udns_0.0.9
+PKGNAME=       ${DISTNAME:S/_/-/}
+CATEGORIES=    net
+MASTER_SITES=  http://www.corpit.ru/mjt/udns/
+
+MAINTAINER=    eric%cirr.com@localhost
+HOMEPAGE=      http://www.corpit.ru/mjt/udns.html
+COMMENT=       Lightweight DNS resolver supporting asynchronous queries
+
+LICENSE=       gnu-lgpl-v2.1
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
+
+USE_LIBTOOL=           yes
+HAS_CONFIGURE=         yes
+INSTALLATION_DIRS=     bin lib include ${PKGMANDIR}/man1 ${PKGMANDIR}/man3
+
+.include "options.mk"
+
+do-install:
+       ${LIBTOOL} --mode=install ${INSTALL_DATA} \
+               ${WRKSRC}/libudns.la ${DESTDIR}${PREFIX}/lib
+       ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
+               ${WRKSRC}/dnsget ${DESTDIR}${PREFIX}/bin
+       ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
+               ${WRKSRC}/rblcheck ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${WRKSRC}/udns.h ${DESTDIR}${PREFIX}/include
+       ${INSTALL_MAN} ${WRKSRC}/udns.3 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
+       ${INSTALL_MAN} ${WRKSRC}/dnsget.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKSRC}/rblcheck.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../mk/bsd.pkg.mk"
diff -r 675e1dce53d7 -r efdcf5d54b45 net/udns/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/udns/PLIST    Sat Aug 01 02:41:22 2009 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/01 02:41:22 schnoebe Exp $
+bin/dnsget
+bin/rblcheck
+include/udns.h
+lib/libudns.la
+man/man1/dnsget.1
+man/man1/rblcheck.1
+man/man3/udns.3
diff -r 675e1dce53d7 -r efdcf5d54b45 net/udns/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/udns/buildlink3.mk    Sat Aug 01 02:41:22 2009 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/08/01 02:41:22 schnoebe Exp $
+
+BUILDLINK_TREE+=       udns
+
+.if !defined(UDNS_BUILDLINK3_MK)
+UDNS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.udns+=   udns>=0.0.9
+BUILDLINK_ABI_DEPENDS.udns+=   udns>=0.0.9
+BUILDLINK_PKGSRCDIR.udns?=     ../../net/udns
+.endif # UDNS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -udns
diff -r 675e1dce53d7 -r efdcf5d54b45 net/udns/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/udns/distinfo Sat Aug 01 02:41:22 2009 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/01 02:41:22 schnoebe Exp $
+
+SHA1 (udns_0.0.9.tar.gz) = 9792ac12619d23d3086f960561428238c41a25e0
+RMD160 (udns_0.0.9.tar.gz) = c2d79b97cda87614a644da6a1be2d55f354d8a22
+Size (udns_0.0.9.tar.gz) = 84307 bytes
+SHA1 (patch-aa) = 0a931b98584a8b1ab83cec093de95f76b2494aa4
diff -r 675e1dce53d7 -r efdcf5d54b45 net/udns/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/udns/options.mk       Sat Aug 01 02:41:22 2009 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1.1.1 2009/08/01 02:41:22 schnoebe Exp $
+#
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.udns
+PKG_SUPPORTED_OPTIONS+=                inet6
+PKG_SUGGESTED_OPTIONS=         inet6
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+=       --enable-ipv6
+.else
+CONFIGURE_ARGS+=       --disable-ipv6
+.endif
diff -r 675e1dce53d7 -r efdcf5d54b45 net/udns/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/udns/patches/patch-aa Sat Aug 01 02:41:22 2009 +0000
@@ -0,0 +1,47 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/08/01 02:41:22 schnoebe Exp $
+
+# update to use libtool for portability
+
+--- Makefile.in.orig   2007-01-15 22:19:08.000000000 +0100
++++ Makefile.in
+@@ -34,7 +34,7 @@ DIST   = COPYING.LGPL udns.h udns.3 dnsg
+ 
+ OBJS   = $(SRCS:.c=.o) $(GEN:.c=.o)
+ LIB    = lib$(NAME).a
+-LIBFL  = -L. -l$(NAME)
++LIBFL  = lib$(NAME).la
+ 
+ SOVER  = 0
+ SOBJS  = $(OBJS:.o=.lo)
+@@ -63,10 +63,10 @@ all: static
+ static: $(LIB) $(UTILS)
+ staticlib: $(LIB)
+ $(LIB): $(OBJS)
+-      -rm -f $@
+-      $(AR) rv $@ $(OBJS)
++      ${LIBTOOL} --mode=link ${CC} -o ${LIB:.a=.la} ${OBJS:.o=.lo} \
++            -rpath ${PREFIX}/lib -version-info 0:9
+ .c.o:
+-      $(CC) $(CFLAGS) $(CDEFS) -c $<
++      ${LIBTOOL} --mode=compile $(CC) $(CFLAGS) $(CDEFS) -c $<
+ 
+ shared: $(SOLIBV) $(SOUTILS)
+ sharedlib: $(SOLIBV)
+@@ -183,14 +183,14 @@ dnsget.o dnsget.lo: dnsget.c config.h ud
+ rblcheck.o rblcheck.lo: rblcheck.c 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)
+ dnsget_s: dnsget.o $(SOLIB)
+       $(CC) $(CFLAGS) -o $@ dnsget.o $(SOLIBFL)
+ rblcheck: rblcheck.o $(LIB)
+-      $(CC) $(CFLAGS) -o $@ rblcheck.o $(LIBFL)
++      ${LIBTOOL} --mode=link $(CC) $(CFLAGS) -o $@ rblcheck.o $(LIBFL)
+ rblcheck_s: rblcheck.o $(SOLIB)
+       $(CC) $(CFLAGS) -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)
+ ex-rdns_s: ex-rdns.o $(SOLIB)
+       $(CC) $(CFLAGS) -o $@ ex-rdns.o $(SOLIBFL)



Home | Main Index | Thread Index | Old Index