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

Gaëtan Bisson bisson at archlinux.org
Mon Mar 6 21:30:50 UTC 2017


    Date: Monday, March 6, 2017 @ 21:30:50
  Author: bisson
Revision: 290065

db-move: moved dnssec-anchors from [testing] to [core] (any)

Added:
  dnssec-anchors/repos/core-any/PKGBUILD
    (from rev 290064, dnssec-anchors/repos/testing-any/PKGBUILD)
Deleted:
  dnssec-anchors/repos/core-any/LICENSE
  dnssec-anchors/repos/core-any/PKGBUILD
  dnssec-anchors/repos/core-any/trusted-key.key
  dnssec-anchors/repos/testing-any/

--------------------------+
 /PKGBUILD                |   34 ++++++++++++++++++++++++++++++++++
 core-any/LICENSE         |    1 -
 core-any/PKGBUILD        |   42 ------------------------------------------
 core-any/trusted-key.key |    1 -
 4 files changed, 34 insertions(+), 44 deletions(-)

Deleted: core-any/LICENSE
===================================================================
--- core-any/LICENSE	2017-03-06 20:14:42 UTC (rev 290064)
+++ core-any/LICENSE	2017-03-06 21:30:50 UTC (rev 290065)
@@ -1 +0,0 @@
-The contents of this package are inelligible for copyright protection.

Deleted: core-any/PKGBUILD
===================================================================
--- core-any/PKGBUILD	2017-03-06 20:14:42 UTC (rev 290064)
+++ core-any/PKGBUILD	2017-03-06 21:30:50 UTC (rev 290065)
@@ -1,42 +0,0 @@
-# $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=20150403
-pkgrel=1
-pkgdesc='DNSSEC trust anchors for the root zone'
-url='http://data.iana.org/root-anchors/'
-license=('custom:NoCopyright')
-arch=('any')
-makedepends=('ldns')
-validpgpkeys=('2FBB91BCAAEE0ABE1F8031C7D1AFBCE00F6C91D2')
-source=('http://data.iana.org/root-anchors/root-anchors.xml'
-        'root-anchors.xml.asc::http://data.iana.org/root-anchors/root-anchors.asc'
-        'LICENSE')
-sha256sums=('dfb281b771dc854c18d1cff9d2eecaf184cf7a9668606aaa33e8f01bf4b4d8e4'
-            'SKIP'
-            'dd37e92942d5a4024f1c77df49d61ca77fc6284691814903a741785df61f78cb')
-
-build() {
-	cd "${srcdir}"
-	drill -z -s DNSKEY . > root.key
-
-	cat root-anchors.xml |
-	awk 'BEGIN{ORS=" "}(NR>4){gsub(/<[^>]*>/,"");print tolower($0)}' |
-	sed 's/   /\n/' > root.ds
-
-	# Any of those tests failing is suspicious; check thoroughly!
-	[[ "$(<root.ds)" = '19036 8 2 49aac11d7b6f6446702e54a1607371607a1a41855200fd2ce1cdde32f24e8fb5' ]] &&
-	grep -Pq 'IN\tDS\t'"$(<root.ds)" root.key ||
-	return 1
-
-	sed '/DNSKEY/s/ ;{id = '"$(cut -d\  -f1<root.ds)"' .*//;t;d' root.key > 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"
-}

Copied: dnssec-anchors/repos/core-any/PKGBUILD (from rev 290064, dnssec-anchors/repos/testing-any/PKGBUILD)
===================================================================
--- core-any/PKGBUILD	                        (rev 0)
+++ core-any/PKGBUILD	2017-03-06 21:30:50 UTC (rev 290065)
@@ -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=20170228
+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"
+}

Deleted: core-any/trusted-key.key
===================================================================
--- core-any/trusted-key.key	2017-03-06 20:14:42 UTC (rev 290064)
+++ core-any/trusted-key.key	2017-03-06 21:30:50 UTC (rev 290065)
@@ -1 +0,0 @@
-.	101689	IN	DNSKEY	257 3 8 AwEAAagAIKlVZrpC6Ia7gEzahOR+9W29euxhJhVVLOyQbSEW0O8gcCjFFVQUTf6v58fLjwBd0YI0EzrAcQqBGCzh/RStIoO8g0NfnfL2MTJRkxoXbfDaUeVPQuYEhg37NZWAJQ9VnMVDxP/VHL496M/QZxkjf5/Efucp2gaDX6RS6CXpoY68LsvPVjR0ZSwzz1apAzvN9dlzEheX7ICJBBtuA6G3LQpzW5hOA2hzCTMjJPJ8LbqF6dsV6DoBQzgul0sGIcGOYl7OyQdXfZ57relSQageu+ipAdTTJ25AsRTAoub8ONGcLmqrAmRLKBP1dfwhYB4N7knNnulqQxA+Uk1ihz0=



More information about the arch-commits mailing list