pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/p5-Net-DNS-SEC Updated to version 0.12



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a70daafc7956
branches:  trunk
changeset: 492863:a70daafc7956
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Wed Apr 20 16:22:38 2005 +0000

description:
Updated to version 0.12

OWN_DIRS was incorrectly used (did not work when PKG_CONFIG=no).
INSTALLATION_DIRS creates the directories now and the PLIST removes them.

Needs at least net/p5-Net-DNS 0.44 (see changes below).
--

Changes since 0.11
==================
   FEAT: Added utility function key_difference() to Net::DNS::SEC. See
         perlpod for details. I needed this in other software and
         figured they are generic enough to make them available
         through this module.

   FEAT: Modified some functions to use DNSKEY and RRSIG instead off
         KEY and SIG.
         - Net::DNS::Keyset now uses DNSKEY and RRSIG.
         - the demo function getkeyset.pl now uses DNSKEY too.

   FEAT: Added the possibility to create a keyset out of two arrays of
         dnskey and rrsig object.

   FEAT: Added some helperfunctions to Net::DNS::SEC::Private to read X509
         formated private keys and dump them into bind format.
         This functionality has not been tested well.

   BUG : When reading a RRSIG from a packet the signame would not have
         a trailing dot.

   FEAT:  Removed critical dependency on bubblebabble. It is available to
          DS if installed but not critically dependend.

   BUG: - Fixed minor in signing unknown RR types.

   FEAT: - Prelimanary support for draf-ietf-dnssec-nsec-rdata-02. This
           depends on support for unknown RR types (Net::DNS version
           0.44)

   FEAT: - To be able to deal with argument supplied as either mnemonics or
           by value the Net::DNS::SEC::argument method was created. It can
           be used as a class method but it is also inherited by
           Net::DNS::RR::RRSIG and Net::DNS::RR::DNSKEY.

diffstat:

 security/p5-Net-DNS-SEC/Makefile |  17 ++++++++---------
 security/p5-Net-DNS-SEC/PLIST    |   4 +++-
 security/p5-Net-DNS-SEC/distinfo |   8 ++++----
 3 files changed, 15 insertions(+), 14 deletions(-)

diffs (75 lines):

diff -r 05a85c2ffa3f -r a70daafc7956 security/p5-Net-DNS-SEC/Makefile
--- a/security/p5-Net-DNS-SEC/Makefile  Wed Apr 20 16:21:15 2005 +0000
+++ b/security/p5-Net-DNS-SEC/Makefile  Wed Apr 20 16:22:38 2005 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2005/04/11 21:47:16 tv Exp $
+# $NetBSD: Makefile,v 1.8 2005/04/20 16:22:38 heinz Exp $
 #
 
-DISTNAME=              Net-DNS-SEC-0.11
+DISTNAME=              Net-DNS-SEC-0.12
 PKGNAME=               p5-${DISTNAME}
-PKGREVISION=           2
 SVR4_PKGNAME=          p5nds
 CATEGORIES=            security net perl5
 MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=Net/}
@@ -12,7 +11,7 @@
 HOMEPAGE=              http://www.ripe.net/disi/
 COMMENT=               DNSSEC extension to Net::DNS Perl DNS Resolver Module
 
-DEPENDS+=              p5-Net-DNS>=0.40:../../net/p5-Net-DNS
+DEPENDS+=              p5-Net-DNS>=0.44:../../net/p5-Net-DNS
 DEPENDS+=              p5-Crypt-OpenSSL-RSA>=0.19:../../security/p5-Crypt-OpenSSL-RSA
 DEPENDS+=              p5-Crypt-OpenSSL-Bignum>=0.03:../../security/p5-Crypt-OpenSSL-Bignum
 DEPENDS+=              p5-Crypt-OpenSSL-DSA>=0.10:../../security/p5-Crypt-OpenSSL-DSA
@@ -27,10 +26,10 @@
 
 REPLACE_PERL=          demo/getkeyset.pl demo/key2ds demo/make-signed-keyset
 
-DOCDIR=                        ${PREFIX}/share/doc/${PKGBASE}
-EGDIR=                 ${PREFIX}/share/examples/${PKGBASE}
+DOCSUBDIR=             share/doc/${PKGBASE}
+EGSUBDIR=              share/examples/${PKGBASE}
 
-OWN_DIRS+=             ${DOCDIR} ${EGDIR}
+INSTALLATION_DIRS+=    ${DOCSUBDIR} ${EGSUBDIR}
 
 SUBST_CLASSES+=                p5nds
 SUBST_STAGE.p5nds=     post-install
@@ -38,9 +37,9 @@
 SUBST_SED.p5nds=       -e "1s,-I./blib/lib,,"
 
 post-install:
-       @${INSTALL_DATA} ${WRKSRC}/README  ${DOCDIR}/
+       @${INSTALL_DATA} ${WRKSRC}/README  ${PREFIX}/${DOCSUBDIR}/
 .for f in getkeyset.pl key2ds make-signed-keyset
-       @${INSTALL_SCRIPT} ${WRKSRC}/demo/${f} ${EGDIR}/
+       @${INSTALL_SCRIPT} ${WRKSRC}/demo/${f} ${PREFIX}/${EGSUBDIR}/
 .endfor
 
 .include "../../lang/perl5/module.mk"
diff -r 05a85c2ffa3f -r a70daafc7956 security/p5-Net-DNS-SEC/PLIST
--- a/security/p5-Net-DNS-SEC/PLIST     Wed Apr 20 16:21:15 2005 +0000
+++ b/security/p5-Net-DNS-SEC/PLIST     Wed Apr 20 16:22:38 2005 +0000
@@ -1,5 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/04 00:33:02 heinz Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/04/20 16:22:38 heinz Exp $
 share/doc/${PKGBASE}/README
 share/examples/${PKGBASE}/getkeyset.pl
 share/examples/${PKGBASE}/key2ds
 share/examples/${PKGBASE}/make-signed-keyset
+@dirrm share/doc/${PKGBASE}
+@dirrm share/examples/${PKGBASE}
diff -r 05a85c2ffa3f -r a70daafc7956 security/p5-Net-DNS-SEC/distinfo
--- a/security/p5-Net-DNS-SEC/distinfo  Wed Apr 20 16:21:15 2005 +0000
+++ b/security/p5-Net-DNS-SEC/distinfo  Wed Apr 20 16:22:38 2005 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 13:10:11 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/04/20 16:22:38 heinz Exp $
 
-SHA1 (Net-DNS-SEC-0.11.tar.gz) = 7bd95a02488eb28f82c18f0675f23c80ad4bdc76
-RMD160 (Net-DNS-SEC-0.11.tar.gz) = 422c35d3b3444e0fd7df7abb40ceca6c60fbee23
-Size (Net-DNS-SEC-0.11.tar.gz) = 49996 bytes
+SHA1 (Net-DNS-SEC-0.12.tar.gz) = 199176a5354538d02f70311e14506b07f8e163ef
+RMD160 (Net-DNS-SEC-0.12.tar.gz) = 1b5fd4e29fab6d1922e64978daa53d94554f0a88
+Size (Net-DNS-SEC-0.12.tar.gz) = 60698 bytes



Home | Main Index | Thread Index | Old Index