[arch-commits] Commit in dnssec-anchors/repos (4 files)
Gaetan Bisson
bisson at archlinux.org
Tue Apr 21 01:52:21 UTC 2015
Date: Tuesday, April 21, 2015 @ 03:52:21
Author: bisson
Revision: 237839
archrelease: copy trunk to testing-any
Added:
dnssec-anchors/repos/testing-any/
dnssec-anchors/repos/testing-any/LICENSE
(from rev 237838, dnssec-anchors/trunk/LICENSE)
dnssec-anchors/repos/testing-any/PKGBUILD
(from rev 237838, dnssec-anchors/trunk/PKGBUILD)
dnssec-anchors/repos/testing-any/trusted-key.key
(from rev 237838, dnssec-anchors/trunk/trusted-key.key)
-----------------+
LICENSE | 1 +
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
trusted-key.key | 1 +
3 files changed, 44 insertions(+)
Copied: dnssec-anchors/repos/testing-any/LICENSE (from rev 237838, dnssec-anchors/trunk/LICENSE)
===================================================================
--- testing-any/LICENSE (rev 0)
+++ testing-any/LICENSE 2015-04-21 01:52:21 UTC (rev 237839)
@@ -0,0 +1 @@
+The contents of this package are inelligible for copyright protection.
Copied: dnssec-anchors/repos/testing-any/PKGBUILD (from rev 237838, dnssec-anchors/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2015-04-21 01:52:21 UTC (rev 237839)
@@ -0,0 +1,42 @@
+# $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/testing-any/trusted-key.key (from rev 237838, dnssec-anchors/trunk/trusted-key.key)
===================================================================
--- testing-any/trusted-key.key (rev 0)
+++ testing-any/trusted-key.key 2015-04-21 01:52:21 UTC (rev 237839)
@@ -0,0 +1 @@
+. 101689 IN DNSKEY 257 3 8 AwEAAagAIKlVZrpC6Ia7gEzahOR+9W29euxhJhVVLOyQbSEW0O8gcCjFFVQUTf6v58fLjwBd0YI0EzrAcQqBGCzh/RStIoO8g0NfnfL2MTJRkxoXbfDaUeVPQuYEhg37NZWAJQ9VnMVDxP/VHL496M/QZxkjf5/Efucp2gaDX6RS6CXpoY68LsvPVjR0ZSwzz1apAzvN9dlzEheX7ICJBBtuA6G3LQpzW5hOA2hzCTMjJPJ8LbqF6dsV6DoBQzgul0sGIcGOYl7OyQdXfZ57relSQageu+ipAdTTJ25AsRTAoub8ONGcLmqrAmRLKBP1dfwhYB4N7knNnulqQxA+Uk1ihz0=
More information about the arch-commits
mailing list