[arch-commits] Commit in dnssec-anchors/repos (testing-any testing-any/PKGBUILD)
Gaëtan Bisson
bisson at archlinux.org
Wed Jul 12 02:21:18 UTC 2017
Date: Wednesday, July 12, 2017 @ 02:21:17
Author: bisson
Revision: 300132
archrelease: copy trunk to testing-any
Added:
dnssec-anchors/repos/testing-any/
dnssec-anchors/repos/testing-any/PKGBUILD
(from rev 300131, dnssec-anchors/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: dnssec-anchors/repos/testing-any/PKGBUILD (from rev 300131, dnssec-anchors/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2017-07-12 02:21:17 UTC (rev 300132)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Thomas Mudrunka <harvie at email.cz>
+# Contributor: m4xm4n <max at maxfierke.com>
+
+pkgname=dnssec-anchors
+pkgver=20170711
+pkgrel=1
+pkgdesc='DNSSEC trust anchors for the root zone'
+url='https://data.iana.org/root-anchors/'
+license=('custom:NoCopyright')
+arch=('any')
+makedepends=('unbound')
+
+prepare() {
+ cd "${srcdir}"
+
+ unbound-anchor -v -a root.key ||
+ unbound-anchor -v -a root.key
+
+ unbound-host -v -f root.key -t DNSKEY . |
+ sed 's/ (secure)//;t;d' |
+ sed 's/ has / IN /' |
+ sed 's/ record / /' \
+ > trusted-key.key
+
+ echo 'The contents of this package are inelligible for copyright protection.' > LICENSE
+}
+
+package() {
+ cd "${srcdir}"
+ install -Dm644 trusted-key.key "${pkgdir}"/etc/trusted-key.key
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list