Browse Source

[testing] -> [core] 'dnssec-anchors-20190629-3' move

master
artoo 2 years ago
parent
commit
98fc79829f
  1. 26
      x86_64/core/PKGBUILD
  2. 0
      x86_64/core/dnssec-anchors-versioned.sh
  3. 1
      x86_64/testing/LICENSE
  4. 23
      x86_64/testing/PKGBUILD

26
x86_64/core/PKGBUILD

@ -1,33 +1,23 @@
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Maintainer: Jelle van der Waa <jelle@archlinux.org>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Thomas Mudrunka <harvie@email.cz>
# Contributor: m4xm4n <max@maxfierke.com>
pkgname=dnssec-anchors
pkgver=20190629
pkgrel=2
_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')
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
}
source=('LICENSE' "https://sources.archlinux.org/other/packages/${pkgname}/${_trusted_key}")
sha256sums=('dd37e92942d5a4024f1c77df49d61ca77fc6284691814903a741785df61f78cb'
'b01933ede7d505cac6bbee8c58027057d3a073581fa6cf595c352553dd07ee3c')
package() {
cd "${srcdir}"
install -Dm644 trusted-key.key "${pkgdir}"/etc/trusted-key.key
install -Dm644 ${_trusted_key} "${pkgdir}"/etc/trusted-key.key
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

0
x86_64/testing/dnssec-anchors-versioned.sh → x86_64/core/dnssec-anchors-versioned.sh

1
x86_64/testing/LICENSE

@ -1 +0,0 @@
The contents of this package are inelligible for copyright protection.

23
x86_64/testing/PKGBUILD

@ -1,23 +0,0 @@
# Maintainer: Jelle van der Waa <jelle@archlinux.org>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Thomas Mudrunka <harvie@email.cz>
# Contributor: m4xm4n <max@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"
}
Loading…
Cancel
Save