aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxming <xmingske@gmail.com>2014-11-04 10:09:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-04 10:18:20 +0000
commit417f467538e0b0363fb8914c6fd73556cba4cc28 (patch)
tree97cf684eed8426ea999c78a31255c67d76900203
parent4437cfc043ef4909cdc32d32b43eb11000daa583 (diff)
downloadaports-417f467538e0b0363fb8914c6fd73556cba4cc28.tar.bz2
aports-417f467538e0b0363fb8914c6fd73556cba4cc28.tar.xz
testing/dnssec-tools: new aport
Set of tools that will help ease the deployment of DNSSEC https://www.dnssec-tools.org/ fixes #3468
-rw-r--r--testing/dnssec-tools/APKBUILD55
1 files changed, 55 insertions, 0 deletions
diff --git a/testing/dnssec-tools/APKBUILD b/testing/dnssec-tools/APKBUILD
new file mode 100644
index 0000000000..20d330f424
--- /dev/null
+++ b/testing/dnssec-tools/APKBUILD
@@ -0,0 +1,55 @@
+# Contributor: <xmingske@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=dnssec-tools
+pkgver=2.1
+pkgrel=0
+pkgdesc="Set of tools that will help ease the deployment of DNSSEC"
+url="https://www.dnssec-tools.org/"
+arch="all"
+license="GPL3"
+makedepends="autoconf automake bind-dev libtool openssl-dev perl-graphviz perl-crypt-openssl-random
+ perl-net-dns perl-net-dns-sec perl-xml-simple perl-dev sed"
+source="http://www.dnssec-tools.org/download/dnssec-tools-2.1.tar.gz"
+subpackages="$pkgname-dev"
+
+_builddir="${srcdir}/${pkgname}-${pkgver}"
+
+prepare() {
+ local pf
+ cd "${_builddir}"
+ for pf in $source; do
+ case $pf in
+ *.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;;
+ esac
+ done
+ sed -e '/^maninstall:/,+3s:$(MKPATH) $(mandir)/$(man1dir):$(MKPATH) $(DESTDIR)/$(mandir)/$(man1dir):' \
+ -i Makefile.in || die
+ 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 || die
+}
+
+build() {
+ cd "${_builddir}"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --disable-bind-checks \
+ --without-validator \
+ --with-perl-build-args=INSTALLDIRS=vendor
+ make || return 1
+}
+
+package() {
+ cd "${_builddir}"
+ mkdir -p "${pkgdir}"/usr/share/man/man1
+ make DESTDIR="${pkgdir}" install || return 1
+}
+
+md5sums="b4c76b325c380780682a548730d3e09a dnssec-tools-2.1.tar.gz"
+sha256sums="64eebfd1213714b530e501f22b5ff9786db9b982897c432fecba75740ddcda52 dnssec-tools-2.1.tar.gz"
+sha512sums="61119837320bf9a7c2d64a593fc3ed6b84ee7683b7e4ba5de380b0fd1be70e44bf73825ea5395cc1d3ddc729eaef17823a230b44b68fbc5fca988f8fb080f66b dnssec-tools-2.1.tar.gz"