From 69ab201451179bb242dbc5e039ed51ebec7618ba Mon Sep 17 00:00:00 2001 From: jakob Date: Sun, 3 Feb 2008 19:09:49 +0000 Subject: [PATCH] add ldns-utils package (from libldns examples subdir) --- net/ldns/Makefile | 3 +- net/ldns/Makefile.inc | 24 ++++++++++++ net/ldns/utils/Makefile | 14 +++++++ net/ldns/utils/distinfo | 5 +++ .../utils/patches/patch-examples_Makefile_in | 13 +++++++ net/ldns/utils/pkg/DESCR | 3 ++ net/ldns/utils/pkg/PLIST | 39 +++++++++++++++++++ 7 files changed, 100 insertions(+), 1 deletion(-) create mode 100644 net/ldns/Makefile.inc create mode 100644 net/ldns/utils/Makefile create mode 100644 net/ldns/utils/distinfo create mode 100644 net/ldns/utils/patches/patch-examples_Makefile_in create mode 100644 net/ldns/utils/pkg/DESCR create mode 100644 net/ldns/utils/pkg/PLIST diff --git a/net/ldns/Makefile b/net/ldns/Makefile index 48f350982ec..d0da384cf99 100644 --- a/net/ldns/Makefile +++ b/net/ldns/Makefile @@ -1,6 +1,7 @@ -# $OpenBSD: Makefile,v 1.7 2008/02/03 19:08:30 jakob Exp $ +# $OpenBSD: Makefile,v 1.8 2008/02/03 19:09:49 jakob Exp $ SUBDIR+= libldns SUBDIR+= drill +SUBDIR+= utils .include diff --git a/net/ldns/Makefile.inc b/net/ldns/Makefile.inc new file mode 100644 index 00000000000..69848825468 --- /dev/null +++ b/net/ldns/Makefile.inc @@ -0,0 +1,24 @@ +# $OpenBSD: Makefile.inc,v 1.1 2008/02/03 19:09:49 jakob Exp $ + +VERSION= 1.2.2 + +DISTNAME= ldns-${VERSION} + +CATEGORIES= net + +MASTER_SITES= http://www.nlnetlabs.nl/downloads/ +HOMEPAGE= http://www.nlnetlabs.nl/ldns/ + +MAINTAINER= Jakob Schlyter + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +SEPARATE_BUILD= concurrent +CONFIGURE_STYLE= gnu +CONFIGURE_ENV= ac_cv_prog_doxygen= +USE_LIBTOOL= Yes +USE_GMAKE= Yes +NO_REGRESS= Yes diff --git a/net/ldns/utils/Makefile b/net/ldns/utils/Makefile new file mode 100644 index 00000000000..67cb95d40bd --- /dev/null +++ b/net/ldns/utils/Makefile @@ -0,0 +1,14 @@ +# $OpenBSD: Makefile,v 1.1 2008/02/03 19:09:49 jakob Exp $ + +COMMENT= LDNS utilities + +PKGNAME= ldns-utils-${VERSION} + +WANTLIB= c ssl crypto +LIB_DEPENDS+= ldns::net/ldns/libldns + +WRKSRC= ${WRKDIST}/examples + +CONFIGURE_ARGS+= --with-ldns=${LOCALBASE} + +.include diff --git a/net/ldns/utils/distinfo b/net/ldns/utils/distinfo new file mode 100644 index 00000000000..e7aeed7390b --- /dev/null +++ b/net/ldns/utils/distinfo @@ -0,0 +1,5 @@ +MD5 (ldns-1.2.2.tar.gz) = y6XgYbZjd86yXiMJ0s8X8w== +RMD160 (ldns-1.2.2.tar.gz) = MpmzhW4+TicR3zmrJmIN0vvtpKo= +SHA1 (ldns-1.2.2.tar.gz) = 5z0TzTZJBIXpKSShhX2rErNRJhM= +SHA256 (ldns-1.2.2.tar.gz) = RlEvRvnNeI+xuICfVv3SKd3jMiTN07/NKBGYvi5H9nM= +SIZE (ldns-1.2.2.tar.gz) = 723900 diff --git a/net/ldns/utils/patches/patch-examples_Makefile_in b/net/ldns/utils/patches/patch-examples_Makefile_in new file mode 100644 index 00000000000..1604716f9fd --- /dev/null +++ b/net/ldns/utils/patches/patch-examples_Makefile_in @@ -0,0 +1,13 @@ +Index: examples/Makefile.in +=================================================================== +--- examples/Makefile.in (revision 2544) ++++ examples/Makefile.in (revision 2543) +@@ -104,7 +104,7 @@ + $(INSTALL) -d -m 755 $(DESTDIR)$(mandir)/man1 + for i in $(PROGRAMS); do \ + $(libtool) --tag=CC --mode=install ${INSTALL} -c $$i $(DESTDIR)$(bindir) ; \ +- $(INSTALL) -c -m 644 $$i.1 $(DESTDIR)$(mandir)/man1/$$i.1 ; \ ++ $(INSTALL) -c -m 644 $(srcdir)/$$i.1 $(DESTDIR)$(mandir)/man1/$$i.1 ; \ + done + exit 0 + diff --git a/net/ldns/utils/pkg/DESCR b/net/ldns/utils/pkg/DESCR new file mode 100644 index 00000000000..b66e9b0790d --- /dev/null +++ b/net/ldns/utils/pkg/DESCR @@ -0,0 +1,3 @@ +Various DNS utilities based on top of the ldns library. These tools where +designed with DNSSEC in mind and are useful for DNS and DNSSEC testing and +debugging. diff --git a/net/ldns/utils/pkg/PLIST b/net/ldns/utils/pkg/PLIST new file mode 100644 index 00000000000..e837dc51568 --- /dev/null +++ b/net/ldns/utils/pkg/PLIST @@ -0,0 +1,39 @@ +@comment $OpenBSD: PLIST,v 1.1 2008/02/03 19:09:49 jakob Exp $ +bin/ldns-chaos +bin/ldns-compare-zones +bin/ldns-dpa +bin/ldns-key2ds +bin/ldns-keyfetcher +bin/ldns-keygen +bin/ldns-mx +bin/ldns-notify +bin/ldns-read-zone +bin/ldns-resolver +bin/ldns-rrsig +bin/ldns-signzone +bin/ldns-testns +bin/ldns-update +bin/ldns-version +bin/ldns-walk +bin/ldns-zcat +bin/ldns-zsplit +bin/ldnsd +@man man/man1/ldns-chaos.1 +@man man/man1/ldns-compare-zones.1 +@man man/man1/ldns-dpa.1 +@man man/man1/ldns-key2ds.1 +@man man/man1/ldns-keyfetcher.1 +@man man/man1/ldns-keygen.1 +@man man/man1/ldns-mx.1 +@man man/man1/ldns-notify.1 +@man man/man1/ldns-read-zone.1 +@man man/man1/ldns-resolver.1 +@man man/man1/ldns-rrsig.1 +@man man/man1/ldns-signzone.1 +@man man/man1/ldns-testns.1 +@man man/man1/ldns-update.1 +@man man/man1/ldns-version.1 +@man man/man1/ldns-walk.1 +@man man/man1/ldns-zcat.1 +@man man/man1/ldns-zsplit.1 +@man man/man1/ldnsd.1