[arch-commits] Commit in unbound/repos/community-x86_64 (12 files)
David Runge
dvzrv at gemini.archlinux.org
Mon Aug 1 22:59:20 UTC 2022
Date: Monday, August 1, 2022 @ 22:59:20
Author: dvzrv
Revision: 1259718
archrelease: copy trunk to community-x86_64
Added:
unbound/repos/community-x86_64/PKGBUILD
(from rev 1259717, unbound/trunk/PKGBUILD)
unbound/repos/community-x86_64/keys/
unbound/repos/community-x86_64/unbound-1.14.0-trust_anchor_file.patch
(from rev 1259717, unbound/trunk/unbound-1.14.0-trust_anchor_file.patch)
unbound/repos/community-x86_64/unbound-sysusers.conf
(from rev 1259717, unbound/trunk/unbound-sysusers.conf)
unbound/repos/community-x86_64/unbound-tmpfiles.conf
(from rev 1259717, unbound/trunk/unbound-tmpfiles.conf)
unbound/repos/community-x86_64/unbound-trusted-key.hook
(from rev 1259717, unbound/trunk/unbound-trusted-key.hook)
Deleted:
unbound/repos/community-x86_64/PKGBUILD
unbound/repos/community-x86_64/keys/
unbound/repos/community-x86_64/unbound-1.14.0-trust_anchor_file.patch
unbound/repos/community-x86_64/unbound-sysusers.conf
unbound/repos/community-x86_64/unbound-tmpfiles.conf
unbound/repos/community-x86_64/unbound-trusted-key.hook
----------------------------------------+
PKGBUILD | 188 +++++++++++++++----------------
unbound-1.14.0-trust_anchor_file.patch | 24 +--
unbound-sysusers.conf | 2
unbound-tmpfiles.conf | 2
unbound-trusted-key.hook | 20 +--
5 files changed, 118 insertions(+), 118 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-01 22:59:07 UTC (rev 1259717)
+++ PKGBUILD 2022-08-01 22:59:20 UTC (rev 1259718)
@@ -1,94 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Hisato Tatekura <hisato_tatekura at excentrics.net>
-# Contributor: Massimiliano Torromeo <massimiliano DOT torromeo AT google mail service>
-
-pkgname=unbound
-pkgver=1.16.1
-pkgrel=1
-pkgdesc="Validating, recursive, and caching DNS resolver"
-arch=(x86_64)
-url="https://unbound.net/"
-license=(BSD)
-depends=(dnssec-anchors fstrm hiredis ldns libevent libnghttp2 libsodium openssl)
-makedepends=(expat protobuf-c python swig systemd)
-optdepends=(
- 'expat: for unbound-anchor'
- 'sh: for unbound-control-setup'
- 'python: for python-bindings'
-)
-provides=(libunbound.so)
-backup=(etc/${pkgname}/${pkgname}.conf)
-source=(
- "https://unbound.net/downloads/${pkgname}-${pkgver}.tar.gz"{,.asc}
- ${pkgname}-1.14.0-trust_anchor_file.patch
- ${pkgname}-sysusers.conf
- ${pkgname}-tmpfiles.conf
- ${pkgname}-trusted-key.hook
-)
-sha512sums=('71313789a85c5d4e50a7d6ac5c5a830dfd98bf016c48ff4c7283a975da9311149987f94eddbf976fe8aed98cbf4053c678656cf198e5a9680e3a442497e69c38'
- 'SKIP'
- '9590d3d459d96f99cbc7482fae0f5318dd22a034e45cff18079e4f3c9f9c3c1d7af90cdd5353fb469eac08c535555fd164097b496286b807b2117e8a3a6cd304'
- 'ef71d4e9b0eb0cc602d66bd0573d9424578fe33ef28a852c582d56f0fd34fdd63046c365ef7aed8b84a461b81254240af7ad3fd539da72f9587817d21bd6c585'
- '6b1849ae9d7cf427f6fa6cd0590e8f8c3f06210d2d6795e543b0f325a9e866db0f5db2275a29fa90f688783c0dd16f19c8a49a9817d5f5444e13f8f2df3ff712'
- '613826cdf5ab6e77f2805fa2aa65272508dcd11090add1961b3df6dfac3b67db016bc9f45fbcf0ef0de82b2d602c153d5263a488027a6cf13a72680b581b266d')
-b2sums=('722e2d88f66f35459b71cd339f451bf803c836827f9f74540c4ae500b7f682f0e8c89bda34915fb8df289cc524486fab2a04018717e1ae7ad62006be68af1cad'
- 'SKIP'
- '0978ab5c0474ed29de9c0904a46d114413e094dafeadaac4f10cdbc19e4152fcc064d7cdb8c331da7c2531075aa699326b84e21da1a8218a6f00a10f0e107b3d'
- '292a3c2e5fde292a03b6c9b2ddabd5089f52e73b50a404c3d9f54c1a43184924b661a21eea61cc521c594c1005a3b40b630fa585a38195c61298f9b24b248b92'
- 'd3951006b43068be904c6b91a9e0563d56228225854e12b40abbdd4ba9b47338e97265837297a6de879acbc8051bb749163f9457683f5e12fc29ac2e7b687fd3'
- 'd28785390eb6c125bd26ca11f097fe8864b080482157deeb7c70e9bee47ff2844abaed574db59a7c152ed3ec0acba05cfee4c3751f7a9f553320b064578f86c7')
-validpgpkeys=(EDFAA3F2CA4E6EB05681AF8E9F6F1C2D7E045F8D) # W.C.A. Wijngaards <wouter at nlnetlabs.nl>
-
-prepare() {
- cd ${pkgname}-${pkgver}
- # enable trusted-anchor-file and set it to an unbound specific location
- patch -p1 < ../${pkgname}-1.14.0-trust_anchor_file.patch
- autoreconf -vfi
-}
-
-build() {
- cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --sbindir=/usr/bin \
- --disable-rpath \
- --enable-dnscrypt \
- --enable-dnstap \
- --enable-pie \
- --enable-relro-now \
- --enable-subnet \
- --enable-systemd \
- --enable-tfo-client \
- --enable-tfo-server \
- --enable-cachedb \
- --with-libhiredis \
- --with-conf-file=/etc/unbound/unbound.conf \
- --with-pidfile=/run/unbound.pid \
- --with-rootkey-file=/etc/trusted-key.key \
- --with-libevent \
- --with-libnghttp2 \
- --with-pyunbound
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
-}
-
-check() {
- cd ${pkgname}-${pkgver}
- make -k check
-}
-
-package() {
- depends+=(libprotobuf-c.so libsystemd.so)
-
- cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
- install -vDm 644 contrib/${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
- install -vDm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
- install -vDm 644 ../${pkgname}-sysusers.conf "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
- install -vDm 644 ../${pkgname}-tmpfiles.conf "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
- # libalpm hook to copy the dnssec-anchors provided key to /etc/unbound
- install -vDm 644 ../unbound-trusted-key.hook -t "${pkgdir}"/usr/share/libalpm/hooks/
-}
Copied: unbound/repos/community-x86_64/PKGBUILD (from rev 1259717, unbound/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-01 22:59:20 UTC (rev 1259718)
@@ -0,0 +1,94 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Hisato Tatekura <hisato_tatekura at excentrics.net>
+# Contributor: Massimiliano Torromeo <massimiliano DOT torromeo AT google mail service>
+
+pkgname=unbound
+pkgver=1.16.2
+pkgrel=1
+pkgdesc="Validating, recursive, and caching DNS resolver"
+arch=(x86_64)
+url="https://unbound.net/"
+license=(BSD)
+depends=(dnssec-anchors fstrm hiredis ldns libevent libnghttp2 libsodium openssl)
+makedepends=(expat protobuf-c python swig systemd)
+optdepends=(
+ 'expat: for unbound-anchor'
+ 'sh: for unbound-control-setup'
+ 'python: for python-bindings'
+)
+provides=(libunbound.so)
+backup=(etc/${pkgname}/${pkgname}.conf)
+source=(
+ "https://unbound.net/downloads/${pkgname}-${pkgver}.tar.gz"{,.asc}
+ ${pkgname}-1.14.0-trust_anchor_file.patch
+ ${pkgname}-sysusers.conf
+ ${pkgname}-tmpfiles.conf
+ ${pkgname}-trusted-key.hook
+)
+sha512sums=('0ea65ea63265be677441bd2a28df12098ec5e86c3372240c2874f9bd13752b8b818da81ae6076cf02cbeba3d36e397698a4c2b50570be1a6a8e47f57a0251572'
+ 'SKIP'
+ '9590d3d459d96f99cbc7482fae0f5318dd22a034e45cff18079e4f3c9f9c3c1d7af90cdd5353fb469eac08c535555fd164097b496286b807b2117e8a3a6cd304'
+ 'ef71d4e9b0eb0cc602d66bd0573d9424578fe33ef28a852c582d56f0fd34fdd63046c365ef7aed8b84a461b81254240af7ad3fd539da72f9587817d21bd6c585'
+ '6b1849ae9d7cf427f6fa6cd0590e8f8c3f06210d2d6795e543b0f325a9e866db0f5db2275a29fa90f688783c0dd16f19c8a49a9817d5f5444e13f8f2df3ff712'
+ '613826cdf5ab6e77f2805fa2aa65272508dcd11090add1961b3df6dfac3b67db016bc9f45fbcf0ef0de82b2d602c153d5263a488027a6cf13a72680b581b266d')
+b2sums=('2f7f119d12807ff5c000fd500be72a0825614da3e1f079f9b8d15a651bda2fa0b41599a55c6f76b17ff56120aa61e48042469063f08dd199333520172ca16750'
+ 'SKIP'
+ '0978ab5c0474ed29de9c0904a46d114413e094dafeadaac4f10cdbc19e4152fcc064d7cdb8c331da7c2531075aa699326b84e21da1a8218a6f00a10f0e107b3d'
+ '292a3c2e5fde292a03b6c9b2ddabd5089f52e73b50a404c3d9f54c1a43184924b661a21eea61cc521c594c1005a3b40b630fa585a38195c61298f9b24b248b92'
+ 'd3951006b43068be904c6b91a9e0563d56228225854e12b40abbdd4ba9b47338e97265837297a6de879acbc8051bb749163f9457683f5e12fc29ac2e7b687fd3'
+ 'd28785390eb6c125bd26ca11f097fe8864b080482157deeb7c70e9bee47ff2844abaed574db59a7c152ed3ec0acba05cfee4c3751f7a9f553320b064578f86c7')
+validpgpkeys=(EDFAA3F2CA4E6EB05681AF8E9F6F1C2D7E045F8D) # W.C.A. Wijngaards <wouter at nlnetlabs.nl>
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ # enable trusted-anchor-file and set it to an unbound specific location
+ patch -p1 < ../${pkgname}-1.14.0-trust_anchor_file.patch
+ autoreconf -vfi
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sbindir=/usr/bin \
+ --disable-rpath \
+ --enable-dnscrypt \
+ --enable-dnstap \
+ --enable-pie \
+ --enable-relro-now \
+ --enable-subnet \
+ --enable-systemd \
+ --enable-tfo-client \
+ --enable-tfo-server \
+ --enable-cachedb \
+ --with-libhiredis \
+ --with-conf-file=/etc/unbound/unbound.conf \
+ --with-pidfile=/run/unbound.pid \
+ --with-rootkey-file=/etc/trusted-key.key \
+ --with-libevent \
+ --with-libnghttp2 \
+ --with-pyunbound
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make -k check
+}
+
+package() {
+ depends+=(libprotobuf-c.so libsystemd.so)
+
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -vDm 644 contrib/${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
+ install -vDm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+ install -vDm 644 ../${pkgname}-sysusers.conf "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
+ install -vDm 644 ../${pkgname}-tmpfiles.conf "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
+ # libalpm hook to copy the dnssec-anchors provided key to /etc/unbound
+ install -vDm 644 ../unbound-trusted-key.hook -t "${pkgdir}"/usr/share/libalpm/hooks/
+}
Deleted: unbound-1.14.0-trust_anchor_file.patch
===================================================================
--- unbound-1.14.0-trust_anchor_file.patch 2022-08-01 22:59:07 UTC (rev 1259717)
+++ unbound-1.14.0-trust_anchor_file.patch 2022-08-01 22:59:20 UTC (rev 1259718)
@@ -1,12 +0,0 @@
-diff -ruN a/doc/example.conf.in b/doc/example.conf.in
---- a/doc/example.conf.in 2021-12-09 08:55:44.000000000 +0100
-+++ b/doc/example.conf.in 2021-12-11 23:42:13.542310886 +0100
-@@ -533,7 +533,7 @@
- # with several entries, one file per entry.
- # Zone file format, with DS and DNSKEY entries.
- # Note this gets out of date, use auto-trust-anchor-file please.
-- # trust-anchor-file: ""
-+ trust-anchor-file: "/etc/unbound/trusted-key.key"
-
- # Trusted key for validation. DS or DNSKEY. specify the RR on a
- # single line, surrounded by "". TTL is ignored. class is IN default.
Copied: unbound/repos/community-x86_64/unbound-1.14.0-trust_anchor_file.patch (from rev 1259717, unbound/trunk/unbound-1.14.0-trust_anchor_file.patch)
===================================================================
--- unbound-1.14.0-trust_anchor_file.patch (rev 0)
+++ unbound-1.14.0-trust_anchor_file.patch 2022-08-01 22:59:20 UTC (rev 1259718)
@@ -0,0 +1,12 @@
+diff -ruN a/doc/example.conf.in b/doc/example.conf.in
+--- a/doc/example.conf.in 2021-12-09 08:55:44.000000000 +0100
++++ b/doc/example.conf.in 2021-12-11 23:42:13.542310886 +0100
+@@ -533,7 +533,7 @@
+ # with several entries, one file per entry.
+ # Zone file format, with DS and DNSKEY entries.
+ # Note this gets out of date, use auto-trust-anchor-file please.
+- # trust-anchor-file: ""
++ trust-anchor-file: "/etc/unbound/trusted-key.key"
+
+ # Trusted key for validation. DS or DNSKEY. specify the RR on a
+ # single line, surrounded by "". TTL is ignored. class is IN default.
Deleted: unbound-sysusers.conf
===================================================================
--- unbound-sysusers.conf 2022-08-01 22:59:07 UTC (rev 1259717)
+++ unbound-sysusers.conf 2022-08-01 22:59:20 UTC (rev 1259718)
@@ -1 +0,0 @@
-u unbound - "unbound" /etc/unbound
Copied: unbound/repos/community-x86_64/unbound-sysusers.conf (from rev 1259717, unbound/trunk/unbound-sysusers.conf)
===================================================================
--- unbound-sysusers.conf (rev 0)
+++ unbound-sysusers.conf 2022-08-01 22:59:20 UTC (rev 1259718)
@@ -0,0 +1 @@
+u unbound - "unbound" /etc/unbound
Deleted: unbound-tmpfiles.conf
===================================================================
--- unbound-tmpfiles.conf 2022-08-01 22:59:07 UTC (rev 1259717)
+++ unbound-tmpfiles.conf 2022-08-01 22:59:20 UTC (rev 1259718)
@@ -1 +0,0 @@
-C /etc/unbound/trusted-key.key - - - - /etc/trusted-key.key
Copied: unbound/repos/community-x86_64/unbound-tmpfiles.conf (from rev 1259717, unbound/trunk/unbound-tmpfiles.conf)
===================================================================
--- unbound-tmpfiles.conf (rev 0)
+++ unbound-tmpfiles.conf 2022-08-01 22:59:20 UTC (rev 1259718)
@@ -0,0 +1 @@
+C /etc/unbound/trusted-key.key - - - - /etc/trusted-key.key
Deleted: unbound-trusted-key.hook
===================================================================
--- unbound-trusted-key.hook 2022-08-01 22:59:07 UTC (rev 1259717)
+++ unbound-trusted-key.hook 2022-08-01 22:59:20 UTC (rev 1259718)
@@ -1,10 +0,0 @@
-[Trigger]
-Type = Path
-Target = etc/trusted-key.key
-Operation = Install
-Operation = Upgrade
-
-[Action]
-Description = Updating trusted-key.key for unbound...
-When = PostTransaction
-Exec = /bin/cp -f /etc/trusted-key.key /etc/unbound/
Copied: unbound/repos/community-x86_64/unbound-trusted-key.hook (from rev 1259717, unbound/trunk/unbound-trusted-key.hook)
===================================================================
--- unbound-trusted-key.hook (rev 0)
+++ unbound-trusted-key.hook 2022-08-01 22:59:20 UTC (rev 1259718)
@@ -0,0 +1,10 @@
+[Trigger]
+Type = Path
+Target = etc/trusted-key.key
+Operation = Install
+Operation = Upgrade
+
+[Action]
+Description = Updating trusted-key.key for unbound...
+When = PostTransaction
+Exec = /bin/cp -f /etc/trusted-key.key /etc/unbound/
More information about the arch-commits
mailing list