[arch-commits] Commit in dnssec-tools/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 12:06:50 UTC 2019
Date: Saturday, May 25, 2019 @ 12:06:50
Author: foutrelis
Revision: 470606
archrelease: copy trunk to community-staging-x86_64
Added:
dnssec-tools/repos/community-staging-x86_64/
dnssec-tools/repos/community-staging-x86_64/PKGBUILD
(from rev 470605, dnssec-tools/trunk/PKGBUILD)
dnssec-tools/repos/community-staging-x86_64/dnssec-tools.install
(from rev 470605, dnssec-tools/trunk/dnssec-tools.install)
dnssec-tools/repos/community-staging-x86_64/makefile-dependency.patch
(from rev 470605, dnssec-tools/trunk/makefile-dependency.patch)
---------------------------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++++++++++++++++
dnssec-tools.install | 9 ++++
makefile-dependency.patch | 11 +++++
3 files changed, 108 insertions(+)
Copied: dnssec-tools/repos/community-staging-x86_64/PKGBUILD (from rev 470605, dnssec-tools/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-05-25 12:06:50 UTC (rev 470606)
@@ -0,0 +1,88 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Luca Fulchir <luca at fulchir.it>
+
+pkgname=dnssec-tools
+pkgver=2.2.3
+pkgrel=4
+pkgdesc="libval & dnssec management tools"
+arch=('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' 'bind' 'openssl' 'glibc' 'pth'
+ 'perl-html-parser' 'perl-cgi')
+optdepends=('perl-tk: for GUI components'
+ 'perl-graphviz: for GUI components')
+options=('!emptydirs')
+source=(https://github.com/DNSSEC-Tools/DNSSEC-Tools/archive/dnssec-tools-$pkgver.tar.gz
+ makefile-dependency.patch)
+sha256sums=('bc4286beff38c6d951137753b40fb3bd98a2d62d73be094b9ce062dec7b5bcb5'
+ 'fb23565ff9afabf85dc812ab500a3652add4537e9519a49214e329de3d2171f9')
+install="dnssec-tools.install"
+
+prepare() {
+ # patch for race condition with -j 2+
+ cd DNSSEC-Tools-dnssec-tools-$pkgver/dnssec-tools
+ patch -p0 -i "$srcdir/makefile-dependency.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 DNSSEC-Tools-dnssec-tools-$pkgver/dnssec-tools
+
+ ./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 DNSSEC-Tools-dnssec-tools-$pkgver/dnssec-tools
+ 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
+
+ sed -i 's|/usr/bin/|/usr/bin/vendor_perl/|' dist/{rollerd,donutsd}.service
+ install -Dm644 dist/rollerd.service "$pkgdir"/usr/lib/systemd/system/rollerd.service
+ install -Dm644 dist/donutsd.service "$pkgdir"/usr/lib/systemd/system/donutsd.service
+
+ 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
+}
Copied: dnssec-tools/repos/community-staging-x86_64/dnssec-tools.install (from rev 470605, dnssec-tools/trunk/dnssec-tools.install)
===================================================================
--- community-staging-x86_64/dnssec-tools.install (rev 0)
+++ community-staging-x86_64/dnssec-tools.install 2019-05-25 12:06:50 UTC (rev 470606)
@@ -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
+}
+
+
Copied: dnssec-tools/repos/community-staging-x86_64/makefile-dependency.patch (from rev 470605, dnssec-tools/trunk/makefile-dependency.patch)
===================================================================
--- community-staging-x86_64/makefile-dependency.patch (rev 0)
+++ community-staging-x86_64/makefile-dependency.patch 2019-05-25 12:06:50 UTC (rev 470606)
@@ -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