[arch-commits] Commit in dnssec-tools/repos (16 files)
Felix Yan
fyan at archlinux.org
Tue Sep 8 07:31:10 UTC 2015
Date: Tuesday, September 8, 2015 @ 09:31:10
Author: fyan
Revision: 139573
archrelease: copy trunk to community-i686, community-x86_64
Added:
dnssec-tools/repos/community-i686/PKGBUILD
(from rev 139572, dnssec-tools/trunk/PKGBUILD)
dnssec-tools/repos/community-i686/dnssec-tools-link.patch
(from rev 139572, dnssec-tools/trunk/dnssec-tools-link.patch)
dnssec-tools/repos/community-i686/dnssec-tools.install
(from rev 139572, dnssec-tools/trunk/dnssec-tools.install)
dnssec-tools/repos/community-i686/makefile-dependency.patch
(from rev 139572, dnssec-tools/trunk/makefile-dependency.patch)
dnssec-tools/repos/community-x86_64/PKGBUILD
(from rev 139572, dnssec-tools/trunk/PKGBUILD)
dnssec-tools/repos/community-x86_64/dnssec-tools-link.patch
(from rev 139572, dnssec-tools/trunk/dnssec-tools-link.patch)
dnssec-tools/repos/community-x86_64/dnssec-tools.install
(from rev 139572, dnssec-tools/trunk/dnssec-tools.install)
dnssec-tools/repos/community-x86_64/makefile-dependency.patch
(from rev 139572, dnssec-tools/trunk/makefile-dependency.patch)
Deleted:
dnssec-tools/repos/community-i686/PKGBUILD
dnssec-tools/repos/community-i686/dnssec-tools-link.patch
dnssec-tools/repos/community-i686/dnssec-tools.install
dnssec-tools/repos/community-i686/makefile-dependency.patch
dnssec-tools/repos/community-x86_64/PKGBUILD
dnssec-tools/repos/community-x86_64/dnssec-tools-link.patch
dnssec-tools/repos/community-x86_64/dnssec-tools.install
dnssec-tools/repos/community-x86_64/makefile-dependency.patch
--------------------------------------------+
/PKGBUILD | 184 +++++++++++++++++++++++++++
/dnssec-tools-link.patch | 44 ++++++
/dnssec-tools.install | 18 ++
/makefile-dependency.patch | 22 +++
community-i686/PKGBUILD | 92 -------------
community-i686/dnssec-tools-link.patch | 22 ---
community-i686/dnssec-tools.install | 9 -
community-i686/makefile-dependency.patch | 11 -
community-x86_64/PKGBUILD | 92 -------------
community-x86_64/dnssec-tools-link.patch | 22 ---
community-x86_64/dnssec-tools.install | 9 -
community-x86_64/makefile-dependency.patch | 11 -
12 files changed, 268 insertions(+), 268 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2015-09-08 07:30:30 UTC (rev 139572)
+++ community-i686/PKGBUILD 2015-09-08 07:31:10 UTC (rev 139573)
@@ -1,92 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Luca Fulchir <luca at fulchir.it>
-
-pkgname=dnssec-tools
-pkgver=2.1
-pkgrel=2
-pkgdesc="libval & dnssec management tools"
-arch=('i686' 'x86_64')
-url="http://www.dnssec-tools.org"
-license=('BSD')
-conflicts=('libval' 'libval_shim' 'libsres')
-backup=('etc/dnssec-tools/dnssec-tools.conf' 'etc/dnssec-tools/resolv.conf' 'etc/dnssec-tools/root.hints' 'etc/dnssec-tools/dnsval.conf')
-depends=('dnsutils' 'perl' 'perl-timedate' 'perl-net-dns' 'perl-net-dns-sec' 'perl-mailtools' 'perl-tk' 'perl-graphviz' 'bind' 'openssl' 'glibc' 'pth')
-options=('!emptydirs')
-source=(http://www.dnssec-tools.org/download/${pkgname}-${pkgver}.tar.gz
- makefile-dependency.patch
- dnssec-tools-link.patch)
-sha256sums=('64eebfd1213714b530e501f22b5ff9786db9b982897c432fecba75740ddcda52'
- 'fb23565ff9afabf85dc812ab500a3652add4537e9519a49214e329de3d2171f9'
- 'bbf24ced5c41d61ddd49e39d5deec84d4b1a344ba9fecd3647cf07ccddc89714')
-install="dnssec-tools.install"
-
-prepare() {
- # patch for race condition with -j 2+
- cd "$srcdir/${pkgname}-${pkgver}"
- patch -p0 -i "$srcdir/makefile-dependency.patch"
-
- # patch for linking errors
- patch -p1 -i "$srcdir/dnssec-tools-link.patch"
-
- sed -e '/^maninstall:/,+3s:$(MKPATH) $(mandir)/$(man1dir):$(MKPATH) $(DESTDIR)/$(mandir)/$(man1dir):' \
- -i Makefile.in
- sed -e 's:/usr/local/etc:/etc:g' \
- -e 's:/usr/local:/usr:g' \
- -i tools/donuts/donuts \
- -i tools/etc/dnssec-tools/dnssec-tools.conf \
- -i tools/scripts/genkrf
- sed -e 's:/usr/bin/genkrf:/usr/bin/vendor_perl/genkrf:' \
- -e 's:/usr/bin/keyarch:/usr/bin/vendor_perl/keyarch:' \
- -e 's:/usr/bin/rollchk:/usr/bin/vendor_perl/rollchk:' \
- -e 's:/usr/bin/rollctl:/usr/bin/vendor_perl/rollctl:' \
- -e 's:/usr/bin/zonesigner:/usr/bin/vendor_perl/zonesigner:' \
- -e 's:/usr/sbin/dnssec-keygen:/usr/bin/dnssec-keygen:' \
- -e 's:/usr/sbin/rndc:/usr/bin/rndc:' \
- -e 's:/usr/sbin/named-checkzone:/usr/bin/named-checkzone:' \
- -e 's:/usr/sbin/dnssec-signzone:/usr/bin/dnssec-signzone:' \
- -i tools/etc/dnssec-tools/dnssec-tools.conf
-}
-
-build() {
- cd "$srcdir/${pkgname}-${pkgver}"
- ./configure \
- --exec_prefix=/usr \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --sysconfdir=/etc \
- --with-ipv6 \
- --with-nsec3 \
- --with-dlv \
- --with-perl-build-args=INSTALLDIRS=vendor
- make
-}
-
-package() {
- cd "$srcdir/${pkgname}-${pkgver}"
- make install DESTDIR="${pkgdir}"
- cp validator/etc/dnsval.conf validator/etc/root.hints "${pkgdir}"/etc/dnssec-tools/
-
- install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-
- cd "${pkgdir}/etc/dnssec-tools"
- mkdir KEY-SAFE
- touch KEY-SAFE/.pacmankeep
-
- ## add support for ISC DLV checking
- cat >> dnsval.conf <<EOF
-##################################
-# ISC DLV root anchor
-##################################
-: dlv-trust-points
- . dlv.isc.org.
-;
-EOF
-# template start; name=perl-binary-module-dependency; version=1;
-if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
- _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
- _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
- depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
-fi
-# template end;
-}
Copied: dnssec-tools/repos/community-i686/PKGBUILD (from rev 139572, dnssec-tools/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-09-08 07:31:10 UTC (rev 139573)
@@ -0,0 +1,92 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Luca Fulchir <luca at fulchir.it>
+
+pkgname=dnssec-tools
+pkgver=2.2
+pkgrel=1
+pkgdesc="libval & dnssec management tools"
+arch=('i686' 'x86_64')
+url="http://www.dnssec-tools.org"
+license=('BSD')
+conflicts=('libval' 'libval_shim' 'libsres')
+backup=('etc/dnssec-tools/dnssec-tools.conf' 'etc/dnssec-tools/resolv.conf' 'etc/dnssec-tools/root.hints' 'etc/dnssec-tools/dnsval.conf')
+depends=('dnsutils' 'perl' 'perl-timedate' 'perl-net-dns' 'perl-net-dns-sec' 'perl-mailtools' 'perl-tk' 'perl-graphviz' 'bind' 'openssl' 'glibc' 'pth')
+options=('!emptydirs')
+source=(http://www.dnssec-tools.org/download/${pkgname}-${pkgver}.tar.gz
+ makefile-dependency.patch
+ dnssec-tools-link.patch)
+sha256sums=('4f45033a7a27382fe5284de705a1792277dfbe9a149d369b95d787865a44ef66'
+ 'fb23565ff9afabf85dc812ab500a3652add4537e9519a49214e329de3d2171f9'
+ 'bbf24ced5c41d61ddd49e39d5deec84d4b1a344ba9fecd3647cf07ccddc89714')
+install="dnssec-tools.install"
+
+prepare() {
+ # patch for race condition with -j 2+
+ cd "$srcdir/${pkgname}-${pkgver}"
+ patch -p0 -i "$srcdir/makefile-dependency.patch"
+
+ # patch for linking errors
+ patch -p1 -i "$srcdir/dnssec-tools-link.patch"
+
+ sed -e '/^maninstall:/,+3s:$(MKPATH) $(mandir)/$(man1dir):$(MKPATH) $(DESTDIR)/$(mandir)/$(man1dir):' \
+ -i Makefile.in
+ sed -e 's:/usr/local/etc:/etc:g' \
+ -e 's:/usr/local:/usr:g' \
+ -i tools/donuts/donuts \
+ -i tools/etc/dnssec-tools/dnssec-tools.conf \
+ -i tools/scripts/genkrf
+ sed -e 's:/usr/bin/genkrf:/usr/bin/vendor_perl/genkrf:' \
+ -e 's:/usr/bin/keyarch:/usr/bin/vendor_perl/keyarch:' \
+ -e 's:/usr/bin/rollchk:/usr/bin/vendor_perl/rollchk:' \
+ -e 's:/usr/bin/rollctl:/usr/bin/vendor_perl/rollctl:' \
+ -e 's:/usr/bin/zonesigner:/usr/bin/vendor_perl/zonesigner:' \
+ -e 's:/usr/sbin/dnssec-keygen:/usr/bin/dnssec-keygen:' \
+ -e 's:/usr/sbin/rndc:/usr/bin/rndc:' \
+ -e 's:/usr/sbin/named-checkzone:/usr/bin/named-checkzone:' \
+ -e 's:/usr/sbin/dnssec-signzone:/usr/bin/dnssec-signzone:' \
+ -i tools/etc/dnssec-tools/dnssec-tools.conf
+}
+
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ ./configure \
+ --exec_prefix=/usr \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc \
+ --with-ipv6 \
+ --with-nsec3 \
+ --with-dlv \
+ --with-perl-build-args=INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
+ cp validator/etc/dnsval.conf validator/etc/root.hints "${pkgdir}"/etc/dnssec-tools/
+
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+
+ cd "${pkgdir}/etc/dnssec-tools"
+ mkdir KEY-SAFE
+ touch KEY-SAFE/.pacmankeep
+
+ ## add support for ISC DLV checking
+ cat >> dnsval.conf <<EOF
+##################################
+# ISC DLV root anchor
+##################################
+: dlv-trust-points
+ . dlv.isc.org.
+;
+EOF
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
Deleted: community-i686/dnssec-tools-link.patch
===================================================================
--- community-i686/dnssec-tools-link.patch 2015-09-08 07:30:30 UTC (rev 139572)
+++ community-i686/dnssec-tools-link.patch 2015-09-08 07:31:10 UTC (rev 139573)
@@ -1,22 +0,0 @@
---- dnssec-tools-1.9/validator/libsres/Makefile.in.orig 2009-04-17 17:38:24.000000000 +0200
-+++ dnssec-tools-1.9/validator/libsres/Makefile.in 2011-05-20 22:21:07.353636179 +0200
-@@ -63,7 +63,7 @@ clean:
- $(RM) -rf $(LT_DIR)
-
- $(LIBRES): $(LOBJ)
-- $(LIBTOOLLD) -o $@ $(LOBJ)
-+ $(LIBTOOLLD) -o $@ $(LOBJ) -lcrypto
-
- install:
- $(MKPATH) $(DESTDIR)/$(libdir)
---- dnssec-tools-1.9/validator/libval/Makefile.in.orig 2009-04-17 17:38:24.000000000 +0200
-+++ dnssec-tools-1.9/validator/libval/Makefile.in 2011-05-20 22:23:03.510306736 +0200
-@@ -60,7 +60,7 @@ clean:
- $(RM) -rf $(LT_DIR)
-
- $(LIBVAL): $(LOBJ)
-- $(LIBTOOLLD) -o $@ $(LOBJ) $(LSRES)
-+ $(LIBTOOLLD) -o $@ $(LOBJ) $(LSRES) -lssl -lcrypto -pthread
-
- install:
- $(MKPATH) $(DESTDIR)/$(libdir)
Copied: dnssec-tools/repos/community-i686/dnssec-tools-link.patch (from rev 139572, dnssec-tools/trunk/dnssec-tools-link.patch)
===================================================================
--- community-i686/dnssec-tools-link.patch (rev 0)
+++ community-i686/dnssec-tools-link.patch 2015-09-08 07:31:10 UTC (rev 139573)
@@ -0,0 +1,22 @@
+--- dnssec-tools-1.9/validator/libsres/Makefile.in.orig 2009-04-17 17:38:24.000000000 +0200
++++ dnssec-tools-1.9/validator/libsres/Makefile.in 2011-05-20 22:21:07.353636179 +0200
+@@ -63,7 +63,7 @@ clean:
+ $(RM) -rf $(LT_DIR)
+
+ $(LIBRES): $(LOBJ)
+- $(LIBTOOLLD) -o $@ $(LOBJ)
++ $(LIBTOOLLD) -o $@ $(LOBJ) -lcrypto
+
+ install:
+ $(MKPATH) $(DESTDIR)/$(libdir)
+--- dnssec-tools-1.9/validator/libval/Makefile.in.orig 2009-04-17 17:38:24.000000000 +0200
++++ dnssec-tools-1.9/validator/libval/Makefile.in 2011-05-20 22:23:03.510306736 +0200
+@@ -60,7 +60,7 @@ clean:
+ $(RM) -rf $(LT_DIR)
+
+ $(LIBVAL): $(LOBJ)
+- $(LIBTOOLLD) -o $@ $(LOBJ) $(LSRES)
++ $(LIBTOOLLD) -o $@ $(LOBJ) $(LSRES) -lssl -lcrypto -pthread
+
+ install:
+ $(MKPATH) $(DESTDIR)/$(libdir)
Deleted: community-i686/dnssec-tools.install
===================================================================
--- community-i686/dnssec-tools.install 2015-09-08 07:30:30 UTC (rev 139572)
+++ community-i686/dnssec-tools.install 2015-09-08 07:31:10 UTC (rev 139573)
@@ -1,9 +0,0 @@
-post_install() {
- echo "** NEXT: Please run 'dtinitconf' in order to set up the required"
- echo "** /etc/dnssec-tools/dnssec-tools.conf file"
- if [ ! -e /etc/dnssec-tools/log-rollerd ]; then
- touch /etc/dnssec-tools/log-rollerd
- fi
-}
-
-
Copied: dnssec-tools/repos/community-i686/dnssec-tools.install (from rev 139572, dnssec-tools/trunk/dnssec-tools.install)
===================================================================
--- community-i686/dnssec-tools.install (rev 0)
+++ community-i686/dnssec-tools.install 2015-09-08 07:31:10 UTC (rev 139573)
@@ -0,0 +1,9 @@
+post_install() {
+ echo "** NEXT: Please run 'dtinitconf' in order to set up the required"
+ echo "** /etc/dnssec-tools/dnssec-tools.conf file"
+ if [ ! -e /etc/dnssec-tools/log-rollerd ]; then
+ touch /etc/dnssec-tools/log-rollerd
+ fi
+}
+
+
Deleted: community-i686/makefile-dependency.patch
===================================================================
--- community-i686/makefile-dependency.patch 2015-09-08 07:30:30 UTC (rev 139572)
+++ community-i686/makefile-dependency.patch 2015-09-08 07:31:10 UTC (rev 139573)
@@ -1,11 +0,0 @@
---- Makefile.in 2014-07-26 10:41:58.086137103 +0200
-+++ Makefile.in 2014-07-26 10:42:06.232803695 +0200
-@@ -45,7 +45,7 @@
- $(QUIET)echo "**********************************************************************"
- $(QUIET)echo ""
-
--maninstall:
-+maninstall: makedirectories
- $(MKPATH) $(mandir)/$(man1dir)
- for i in $(MAN1PAGES) ; do \
- $(DOCINSTALL) docs/$$i $(DESTDIR)/$(mandir)/$(man1dir) ; \
Copied: dnssec-tools/repos/community-i686/makefile-dependency.patch (from rev 139572, dnssec-tools/trunk/makefile-dependency.patch)
===================================================================
--- community-i686/makefile-dependency.patch (rev 0)
+++ community-i686/makefile-dependency.patch 2015-09-08 07:31:10 UTC (rev 139573)
@@ -0,0 +1,11 @@
+--- Makefile.in 2014-07-26 10:41:58.086137103 +0200
++++ Makefile.in 2014-07-26 10:42:06.232803695 +0200
+@@ -45,7 +45,7 @@
+ $(QUIET)echo "**********************************************************************"
+ $(QUIET)echo ""
+
+-maninstall:
++maninstall: makedirectories
+ $(MKPATH) $(mandir)/$(man1dir)
+ for i in $(MAN1PAGES) ; do \
+ $(DOCINSTALL) docs/$$i $(DESTDIR)/$(mandir)/$(man1dir) ; \
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2015-09-08 07:30:30 UTC (rev 139572)
+++ community-x86_64/PKGBUILD 2015-09-08 07:31:10 UTC (rev 139573)
@@ -1,92 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Luca Fulchir <luca at fulchir.it>
-
-pkgname=dnssec-tools
-pkgver=2.1
-pkgrel=2
-pkgdesc="libval & dnssec management tools"
-arch=('i686' 'x86_64')
-url="http://www.dnssec-tools.org"
-license=('BSD')
-conflicts=('libval' 'libval_shim' 'libsres')
-backup=('etc/dnssec-tools/dnssec-tools.conf' 'etc/dnssec-tools/resolv.conf' 'etc/dnssec-tools/root.hints' 'etc/dnssec-tools/dnsval.conf')
-depends=('dnsutils' 'perl' 'perl-timedate' 'perl-net-dns' 'perl-net-dns-sec' 'perl-mailtools' 'perl-tk' 'perl-graphviz' 'bind' 'openssl' 'glibc' 'pth')
-options=('!emptydirs')
-source=(http://www.dnssec-tools.org/download/${pkgname}-${pkgver}.tar.gz
- makefile-dependency.patch
- dnssec-tools-link.patch)
-sha256sums=('64eebfd1213714b530e501f22b5ff9786db9b982897c432fecba75740ddcda52'
- 'fb23565ff9afabf85dc812ab500a3652add4537e9519a49214e329de3d2171f9'
- 'bbf24ced5c41d61ddd49e39d5deec84d4b1a344ba9fecd3647cf07ccddc89714')
-install="dnssec-tools.install"
-
-prepare() {
- # patch for race condition with -j 2+
- cd "$srcdir/${pkgname}-${pkgver}"
- patch -p0 -i "$srcdir/makefile-dependency.patch"
-
- # patch for linking errors
- patch -p1 -i "$srcdir/dnssec-tools-link.patch"
-
- sed -e '/^maninstall:/,+3s:$(MKPATH) $(mandir)/$(man1dir):$(MKPATH) $(DESTDIR)/$(mandir)/$(man1dir):' \
- -i Makefile.in
- sed -e 's:/usr/local/etc:/etc:g' \
- -e 's:/usr/local:/usr:g' \
- -i tools/donuts/donuts \
- -i tools/etc/dnssec-tools/dnssec-tools.conf \
- -i tools/scripts/genkrf
- sed -e 's:/usr/bin/genkrf:/usr/bin/vendor_perl/genkrf:' \
- -e 's:/usr/bin/keyarch:/usr/bin/vendor_perl/keyarch:' \
- -e 's:/usr/bin/rollchk:/usr/bin/vendor_perl/rollchk:' \
- -e 's:/usr/bin/rollctl:/usr/bin/vendor_perl/rollctl:' \
- -e 's:/usr/bin/zonesigner:/usr/bin/vendor_perl/zonesigner:' \
- -e 's:/usr/sbin/dnssec-keygen:/usr/bin/dnssec-keygen:' \
- -e 's:/usr/sbin/rndc:/usr/bin/rndc:' \
- -e 's:/usr/sbin/named-checkzone:/usr/bin/named-checkzone:' \
- -e 's:/usr/sbin/dnssec-signzone:/usr/bin/dnssec-signzone:' \
- -i tools/etc/dnssec-tools/dnssec-tools.conf
-}
-
-build() {
- cd "$srcdir/${pkgname}-${pkgver}"
- ./configure \
- --exec_prefix=/usr \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --sysconfdir=/etc \
- --with-ipv6 \
- --with-nsec3 \
- --with-dlv \
- --with-perl-build-args=INSTALLDIRS=vendor
- make
-}
-
-package() {
- cd "$srcdir/${pkgname}-${pkgver}"
- make install DESTDIR="${pkgdir}"
- cp validator/etc/dnsval.conf validator/etc/root.hints "${pkgdir}"/etc/dnssec-tools/
-
- install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-
- cd "${pkgdir}/etc/dnssec-tools"
- mkdir KEY-SAFE
- touch KEY-SAFE/.pacmankeep
-
- ## add support for ISC DLV checking
- cat >> dnsval.conf <<EOF
-##################################
-# ISC DLV root anchor
-##################################
-: dlv-trust-points
- . dlv.isc.org.
-;
-EOF
-# template start; name=perl-binary-module-dependency; version=1;
-if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
- _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
- _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
- depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
-fi
-# template end;
-}
Copied: dnssec-tools/repos/community-x86_64/PKGBUILD (from rev 139572, dnssec-tools/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-09-08 07:31:10 UTC (rev 139573)
@@ -0,0 +1,92 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Luca Fulchir <luca at fulchir.it>
+
+pkgname=dnssec-tools
+pkgver=2.2
+pkgrel=1
+pkgdesc="libval & dnssec management tools"
+arch=('i686' 'x86_64')
+url="http://www.dnssec-tools.org"
+license=('BSD')
+conflicts=('libval' 'libval_shim' 'libsres')
+backup=('etc/dnssec-tools/dnssec-tools.conf' 'etc/dnssec-tools/resolv.conf' 'etc/dnssec-tools/root.hints' 'etc/dnssec-tools/dnsval.conf')
+depends=('dnsutils' 'perl' 'perl-timedate' 'perl-net-dns' 'perl-net-dns-sec' 'perl-mailtools' 'perl-tk' 'perl-graphviz' 'bind' 'openssl' 'glibc' 'pth')
+options=('!emptydirs')
+source=(http://www.dnssec-tools.org/download/${pkgname}-${pkgver}.tar.gz
+ makefile-dependency.patch
+ dnssec-tools-link.patch)
+sha256sums=('4f45033a7a27382fe5284de705a1792277dfbe9a149d369b95d787865a44ef66'
+ 'fb23565ff9afabf85dc812ab500a3652add4537e9519a49214e329de3d2171f9'
+ 'bbf24ced5c41d61ddd49e39d5deec84d4b1a344ba9fecd3647cf07ccddc89714')
+install="dnssec-tools.install"
+
+prepare() {
+ # patch for race condition with -j 2+
+ cd "$srcdir/${pkgname}-${pkgver}"
+ patch -p0 -i "$srcdir/makefile-dependency.patch"
+
+ # patch for linking errors
+ patch -p1 -i "$srcdir/dnssec-tools-link.patch"
+
+ sed -e '/^maninstall:/,+3s:$(MKPATH) $(mandir)/$(man1dir):$(MKPATH) $(DESTDIR)/$(mandir)/$(man1dir):' \
+ -i Makefile.in
+ sed -e 's:/usr/local/etc:/etc:g' \
+ -e 's:/usr/local:/usr:g' \
+ -i tools/donuts/donuts \
+ -i tools/etc/dnssec-tools/dnssec-tools.conf \
+ -i tools/scripts/genkrf
+ sed -e 's:/usr/bin/genkrf:/usr/bin/vendor_perl/genkrf:' \
+ -e 's:/usr/bin/keyarch:/usr/bin/vendor_perl/keyarch:' \
+ -e 's:/usr/bin/rollchk:/usr/bin/vendor_perl/rollchk:' \
+ -e 's:/usr/bin/rollctl:/usr/bin/vendor_perl/rollctl:' \
+ -e 's:/usr/bin/zonesigner:/usr/bin/vendor_perl/zonesigner:' \
+ -e 's:/usr/sbin/dnssec-keygen:/usr/bin/dnssec-keygen:' \
+ -e 's:/usr/sbin/rndc:/usr/bin/rndc:' \
+ -e 's:/usr/sbin/named-checkzone:/usr/bin/named-checkzone:' \
+ -e 's:/usr/sbin/dnssec-signzone:/usr/bin/dnssec-signzone:' \
+ -i tools/etc/dnssec-tools/dnssec-tools.conf
+}
+
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ ./configure \
+ --exec_prefix=/usr \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc \
+ --with-ipv6 \
+ --with-nsec3 \
+ --with-dlv \
+ --with-perl-build-args=INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
+ cp validator/etc/dnsval.conf validator/etc/root.hints "${pkgdir}"/etc/dnssec-tools/
+
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+
+ cd "${pkgdir}/etc/dnssec-tools"
+ mkdir KEY-SAFE
+ touch KEY-SAFE/.pacmankeep
+
+ ## add support for ISC DLV checking
+ cat >> dnsval.conf <<EOF
+##################################
+# ISC DLV root anchor
+##################################
+: dlv-trust-points
+ . dlv.isc.org.
+;
+EOF
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
Deleted: community-x86_64/dnssec-tools-link.patch
===================================================================
--- community-x86_64/dnssec-tools-link.patch 2015-09-08 07:30:30 UTC (rev 139572)
+++ community-x86_64/dnssec-tools-link.patch 2015-09-08 07:31:10 UTC (rev 139573)
@@ -1,22 +0,0 @@
---- dnssec-tools-1.9/validator/libsres/Makefile.in.orig 2009-04-17 17:38:24.000000000 +0200
-+++ dnssec-tools-1.9/validator/libsres/Makefile.in 2011-05-20 22:21:07.353636179 +0200
-@@ -63,7 +63,7 @@ clean:
- $(RM) -rf $(LT_DIR)
-
- $(LIBRES): $(LOBJ)
-- $(LIBTOOLLD) -o $@ $(LOBJ)
-+ $(LIBTOOLLD) -o $@ $(LOBJ) -lcrypto
-
- install:
- $(MKPATH) $(DESTDIR)/$(libdir)
---- dnssec-tools-1.9/validator/libval/Makefile.in.orig 2009-04-17 17:38:24.000000000 +0200
-+++ dnssec-tools-1.9/validator/libval/Makefile.in 2011-05-20 22:23:03.510306736 +0200
-@@ -60,7 +60,7 @@ clean:
- $(RM) -rf $(LT_DIR)
-
- $(LIBVAL): $(LOBJ)
-- $(LIBTOOLLD) -o $@ $(LOBJ) $(LSRES)
-+ $(LIBTOOLLD) -o $@ $(LOBJ) $(LSRES) -lssl -lcrypto -pthread
-
- install:
- $(MKPATH) $(DESTDIR)/$(libdir)
Copied: dnssec-tools/repos/community-x86_64/dnssec-tools-link.patch (from rev 139572, dnssec-tools/trunk/dnssec-tools-link.patch)
===================================================================
--- community-x86_64/dnssec-tools-link.patch (rev 0)
+++ community-x86_64/dnssec-tools-link.patch 2015-09-08 07:31:10 UTC (rev 139573)
@@ -0,0 +1,22 @@
+--- dnssec-tools-1.9/validator/libsres/Makefile.in.orig 2009-04-17 17:38:24.000000000 +0200
++++ dnssec-tools-1.9/validator/libsres/Makefile.in 2011-05-20 22:21:07.353636179 +0200
+@@ -63,7 +63,7 @@ clean:
+ $(RM) -rf $(LT_DIR)
+
+ $(LIBRES): $(LOBJ)
+- $(LIBTOOLLD) -o $@ $(LOBJ)
++ $(LIBTOOLLD) -o $@ $(LOBJ) -lcrypto
+
+ install:
+ $(MKPATH) $(DESTDIR)/$(libdir)
+--- dnssec-tools-1.9/validator/libval/Makefile.in.orig 2009-04-17 17:38:24.000000000 +0200
++++ dnssec-tools-1.9/validator/libval/Makefile.in 2011-05-20 22:23:03.510306736 +0200
+@@ -60,7 +60,7 @@ clean:
+ $(RM) -rf $(LT_DIR)
+
+ $(LIBVAL): $(LOBJ)
+- $(LIBTOOLLD) -o $@ $(LOBJ) $(LSRES)
++ $(LIBTOOLLD) -o $@ $(LOBJ) $(LSRES) -lssl -lcrypto -pthread
+
+ install:
+ $(MKPATH) $(DESTDIR)/$(libdir)
Deleted: community-x86_64/dnssec-tools.install
===================================================================
--- community-x86_64/dnssec-tools.install 2015-09-08 07:30:30 UTC (rev 139572)
+++ community-x86_64/dnssec-tools.install 2015-09-08 07:31:10 UTC (rev 139573)
@@ -1,9 +0,0 @@
-post_install() {
- echo "** NEXT: Please run 'dtinitconf' in order to set up the required"
- echo "** /etc/dnssec-tools/dnssec-tools.conf file"
- if [ ! -e /etc/dnssec-tools/log-rollerd ]; then
- touch /etc/dnssec-tools/log-rollerd
- fi
-}
-
-
Copied: dnssec-tools/repos/community-x86_64/dnssec-tools.install (from rev 139572, dnssec-tools/trunk/dnssec-tools.install)
===================================================================
--- community-x86_64/dnssec-tools.install (rev 0)
+++ community-x86_64/dnssec-tools.install 2015-09-08 07:31:10 UTC (rev 139573)
@@ -0,0 +1,9 @@
+post_install() {
+ echo "** NEXT: Please run 'dtinitconf' in order to set up the required"
+ echo "** /etc/dnssec-tools/dnssec-tools.conf file"
+ if [ ! -e /etc/dnssec-tools/log-rollerd ]; then
+ touch /etc/dnssec-tools/log-rollerd
+ fi
+}
+
+
Deleted: community-x86_64/makefile-dependency.patch
===================================================================
--- community-x86_64/makefile-dependency.patch 2015-09-08 07:30:30 UTC (rev 139572)
+++ community-x86_64/makefile-dependency.patch 2015-09-08 07:31:10 UTC (rev 139573)
@@ -1,11 +0,0 @@
---- Makefile.in 2014-07-26 10:41:58.086137103 +0200
-+++ Makefile.in 2014-07-26 10:42:06.232803695 +0200
-@@ -45,7 +45,7 @@
- $(QUIET)echo "**********************************************************************"
- $(QUIET)echo ""
-
--maninstall:
-+maninstall: makedirectories
- $(MKPATH) $(mandir)/$(man1dir)
- for i in $(MAN1PAGES) ; do \
- $(DOCINSTALL) docs/$$i $(DESTDIR)/$(mandir)/$(man1dir) ; \
Copied: dnssec-tools/repos/community-x86_64/makefile-dependency.patch (from rev 139572, dnssec-tools/trunk/makefile-dependency.patch)
===================================================================
--- community-x86_64/makefile-dependency.patch (rev 0)
+++ community-x86_64/makefile-dependency.patch 2015-09-08 07:31:10 UTC (rev 139573)
@@ -0,0 +1,11 @@
+--- Makefile.in 2014-07-26 10:41:58.086137103 +0200
++++ Makefile.in 2014-07-26 10:42:06.232803695 +0200
+@@ -45,7 +45,7 @@
+ $(QUIET)echo "**********************************************************************"
+ $(QUIET)echo ""
+
+-maninstall:
++maninstall: makedirectories
+ $(MKPATH) $(mandir)/$(man1dir)
+ for i in $(MAN1PAGES) ; do \
+ $(DOCINSTALL) docs/$$i $(DESTDIR)/$(mandir)/$(man1dir) ; \
More information about the arch-commits
mailing list