[arch-commits] Commit in dnssec-anchors/repos (4 files)
Jelle van der Waa
jelle at archlinux.org
Tue Oct 13 19:54:15 UTC 2020
Date: Tuesday, October 13, 2020 @ 19:54:15
Author: jelle
Revision: 398256
archrelease: copy trunk to testing-any
Added:
dnssec-anchors/repos/testing-any/
dnssec-anchors/repos/testing-any/LICENSE
(from rev 398255, dnssec-anchors/trunk/LICENSE)
dnssec-anchors/repos/testing-any/PKGBUILD
(from rev 398255, dnssec-anchors/trunk/PKGBUILD)
dnssec-anchors/repos/testing-any/dnssec-anchors-versioned.sh
(from rev 398255, dnssec-anchors/trunk/dnssec-anchors-versioned.sh)
-----------------------------+
LICENSE | 1 +
PKGBUILD | 23 +++++++++++++++++++++++
dnssec-anchors-versioned.sh | 23 +++++++++++++++++++++++
3 files changed, 47 insertions(+)
Copied: dnssec-anchors/repos/testing-any/LICENSE (from rev 398255, dnssec-anchors/trunk/LICENSE)
===================================================================
--- testing-any/LICENSE (rev 0)
+++ testing-any/LICENSE 2020-10-13 19:54:15 UTC (rev 398256)
@@ -0,0 +1 @@
+The contents of this package are inelligible for copyright protection.
Copied: dnssec-anchors/repos/testing-any/PKGBUILD (from rev 398255, dnssec-anchors/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2020-10-13 19:54:15 UTC (rev 398256)
@@ -0,0 +1,23 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Thomas Mudrunka <harvie at email.cz>
+# Contributor: m4xm4n <max at maxfierke.com>
+
+pkgname=dnssec-anchors
+pkgver=20190629
+_trusted_key=trusted-key-${pkgver}.key
+pkgrel=3
+pkgdesc='DNSSEC trust anchors for the root zone'
+url='https://data.iana.org/root-anchors/'
+license=('custom:none')
+arch=('any')
+makedepends=('unbound')
+source=('LICENSE' "https://sources.archlinux.org/other/packages/${pkgname}/${_trusted_key}")
+sha256sums=('dd37e92942d5a4024f1c77df49d61ca77fc6284691814903a741785df61f78cb'
+ 'b01933ede7d505cac6bbee8c58027057d3a073581fa6cf595c352553dd07ee3c')
+
+package() {
+ cd "${srcdir}"
+ install -Dm644 ${_trusted_key} "${pkgdir}"/etc/trusted-key.key
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
Copied: dnssec-anchors/repos/testing-any/dnssec-anchors-versioned.sh (from rev 398255, dnssec-anchors/trunk/dnssec-anchors-versioned.sh)
===================================================================
--- testing-any/dnssec-anchors-versioned.sh (rev 0)
+++ testing-any/dnssec-anchors-versioned.sh 2020-10-13 19:54:15 UTC (rev 398256)
@@ -0,0 +1,23 @@
+#!/usr/bin/bash
+
+TRUSTED_KEY=trusted-key-$(date +%Y%m%d).key
+DEST=/srv/ftp/other/packages/dnssec-anchors
+
+update_key() {
+ key=$1
+ 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 / /' \
+ > "${key}"
+
+ # Cleanup created root.key
+ rm root.key
+}
+
+update_key "${TRUSTED_KEY}"
+
+scp "${TRUSTED_KEY}" repos.archlinux.org:${DEST}
More information about the arch-commits
mailing list