[arch-commits] Commit in dnssec-anchors/repos (3 files)

Gaëtan Bisson bisson at archlinux.org
Wed Oct 3 22:49:05 UTC 2018


    Date: Wednesday, October 3, 2018 @ 22:49:05
  Author: bisson
Revision: 335721

archrelease: copy trunk to testing-any

Added:
  dnssec-anchors/repos/testing-any/
  dnssec-anchors/repos/testing-any/LICENSE
    (from rev 335720, dnssec-anchors/trunk/LICENSE)
  dnssec-anchors/repos/testing-any/PKGBUILD
    (from rev 335720, dnssec-anchors/trunk/PKGBUILD)

----------+
 LICENSE  |    1 +
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

Copied: dnssec-anchors/repos/testing-any/LICENSE (from rev 335720, dnssec-anchors/trunk/LICENSE)
===================================================================
--- testing-any/LICENSE	                        (rev 0)
+++ testing-any/LICENSE	2018-10-03 22:49:05 UTC (rev 335721)
@@ -0,0 +1 @@
+The contents of this package are inelligible for copyright protection.

Copied: dnssec-anchors/repos/testing-any/PKGBUILD (from rev 335720, dnssec-anchors/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2018-10-03 22:49:05 UTC (rev 335721)
@@ -0,0 +1,33 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Thomas Mudrunka <harvie at email.cz>
+# Contributor: m4xm4n <max at maxfierke.com>
+
+pkgname=dnssec-anchors
+pkgver=20181003
+pkgrel=1
+pkgdesc='DNSSEC trust anchors for the root zone'
+url='https://data.iana.org/root-anchors/'
+license=('custom:none')
+arch=('any')
+makedepends=('unbound')
+source=('LICENSE')
+sha256sums=('dd37e92942d5a4024f1c77df49d61ca77fc6284691814903a741785df61f78cb')
+
+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
+}
+
+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