Date: Sunday, June 29, 2014 @ 18:14:48
  Author: bisson
Revision: 215576

archrelease: copy trunk to testing-any

Added:
  dnssec-anchors/repos/testing-any/
  dnssec-anchors/repos/testing-any/LICENSE
    (from rev 215575, dnssec-anchors/trunk/LICENSE)
  dnssec-anchors/repos/testing-any/PKGBUILD
    (from rev 215575, dnssec-anchors/trunk/PKGBUILD)
  dnssec-anchors/repos/testing-any/trusted-key.key
    (from rev 215575, dnssec-anchors/trunk/trusted-key.key)

-----------------+
 LICENSE         |    1 +
 PKGBUILD        |   37 +++++++++++++++++++++++++++++++++++++
 trusted-key.key |    1 +
 3 files changed, 39 insertions(+)

Copied: dnssec-anchors/repos/testing-any/LICENSE (from rev 215575, 
dnssec-anchors/trunk/LICENSE)
===================================================================
--- testing-any/LICENSE                         (rev 0)
+++ testing-any/LICENSE 2014-06-29 16:14:48 UTC (rev 215576)
@@ -0,0 +1 @@
+The contents of this package are inelligible for copyright protection.

Copied: dnssec-anchors/repos/testing-any/PKGBUILD (from rev 215575, 
dnssec-anchors/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD                                (rev 0)
+++ testing-any/PKGBUILD        2014-06-29 16:14:48 UTC (rev 215576)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Gaetan Bisson <[email protected]>
+# Contributor: Thomas Mudrunka <[email protected]>
+# Contributor: m4xm4n <[email protected]>
+
+pkgname=dnssec-anchors
+pkgver=20140629
+pkgrel=1
+pkgdesc='DNSSEC trust anchors for the root zone'
+url='http://data.iana.org/root-anchors/'
+license=('custom:NoCopyright')
+arch=('any')
+source=('LICENSE'
+        'trusted-key.key')
+sha256sums=('dd37e92942d5a4024f1c77df49d61ca77fc6284691814903a741785df61f78cb'
+            'ca6388cc16223b29b607f07a9aa77e0aa52f653106d440cdc92cc40e145a4bb5')
+
+get_trusted-key() {
+       drill -z -s DNSKEY . > root.key
+
+       curl http://data.iana.org/root-anchors/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 215575, 
dnssec-anchors/trunk/trusted-key.key)
===================================================================
--- testing-any/trusted-key.key                         (rev 0)
+++ testing-any/trusted-key.key 2014-06-29 16:14:48 UTC (rev 215576)
@@ -0,0 +1 @@
+.      166750  IN      DNSKEY  257 3 8 
AwEAAagAIKlVZrpC6Ia7gEzahOR+9W29euxhJhVVLOyQbSEW0O8gcCjFFVQUTf6v58fLjwBd0YI0EzrAcQqBGCzh/RStIoO8g0NfnfL2MTJRkxoXbfDaUeVPQuYEhg37NZWAJQ9VnMVDxP/VHL496M/QZxkjf5/Efucp2gaDX6RS6CXpoY68LsvPVjR0ZSwzz1apAzvN9dlzEheX7ICJBBtuA6G3LQpzW5hOA2hzCTMjJPJ8LbqF6dsV6DoBQzgul0sGIcGOYl7OyQdXfZ57relSQageu+ipAdTTJ25AsRTAoub8ONGcLmqrAmRLKBP1dfwhYB4N7knNnulqQxA+Uk1ihz0=

Reply via email to