[arch-commits] Commit in unbound/repos/community-x86_64 (8 files)

David Runge dvzrv at archlinux.org
Thu Feb 11 12:57:09 UTC 2021


    Date: Thursday, February 11, 2021 @ 12:57:08
  Author: dvzrv
Revision: 855919

archrelease: copy trunk to community-x86_64

Added:
  unbound/repos/community-x86_64/PKGBUILD
    (from rev 855918, unbound/trunk/PKGBUILD)
  unbound/repos/community-x86_64/unbound-sysusers.conf
    (from rev 855918, unbound/trunk/unbound-sysusers.conf)
  unbound/repos/community-x86_64/unbound-tmpfiles.conf
    (from rev 855918, unbound/trunk/unbound-tmpfiles.conf)
  unbound/repos/community-x86_64/unbound-trusted-key.hook
    (from rev 855918, unbound/trunk/unbound-trusted-key.hook)
Deleted:
  unbound/repos/community-x86_64/PKGBUILD
  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                 |  185 ++++++++++++++++++++++-----------------------
 unbound-sysusers.conf    |    2 
 unbound-tmpfiles.conf    |    2 
 unbound-trusted-key.hook |   20 ++--
 4 files changed, 106 insertions(+), 103 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-11 12:56:58 UTC (rev 855918)
+++ PKGBUILD	2021-02-11 12:57:08 UTC (rev 855919)
@@ -1,91 +0,0 @@
-# Maintainer: David Runge <dvzrv 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.13.0
-pkgrel=1
-pkgdesc="Validating, recursive, and caching DNS resolver"
-url="https://unbound.net/"
-license=('BSD')
-arch=('x86_64')
-depends=('dnssec-anchors' 'fstrm' 'hiredis' 'openssl' 'ldns' 'libevent'
-'libnghttp2' 'libsodium')
-makedepends=('expat' 'protobuf-c' 'systemd')
-optdepends=('expat: unbound-anchor')
-provides=('libunbound.so')
-backup=("etc/${pkgname}/${pkgname}.conf")
-source=("https://unbound.net/downloads/${pkgname}-${pkgver}.tar.gz"{,.asc}
-        "${pkgname}-sysusers.conf"
-        "${pkgname}-tmpfiles.conf"
-        "${pkgname}-trusted-key.hook")
-sha512sums=('d4f3c5a7df5d46f8b1ee32b61e68bdc0d63030820d236ecc51bc3ac356d15248acb9a5e0b6009e1936b03b751e8dd05a071a95ab239fdbbbb308442a59642ad5'
-            'SKIP'
-            'ef71d4e9b0eb0cc602d66bd0573d9424578fe33ef28a852c582d56f0fd34fdd63046c365ef7aed8b84a461b81254240af7ad3fd539da72f9587817d21bd6c585'
-            '6b1849ae9d7cf427f6fa6cd0590e8f8c3f06210d2d6795e543b0f325a9e866db0f5db2275a29fa90f688783c0dd16f19c8a49a9817d5f5444e13f8f2df3ff712'
-            '613826cdf5ab6e77f2805fa2aa65272508dcd11090add1961b3df6dfac3b67db016bc9f45fbcf0ef0de82b2d602c153d5263a488027a6cf13a72680b581b266d')
-b2sums=('742eed33845079452a942837a64e80f89ec7ec73459d0045c70ff83d3ba982fae6bade9feb56ef6faa9fca4859222ea00ac587c65c8ad722bef4a6b66a276ade'
-        'SKIP'
-        '292a3c2e5fde292a03b6c9b2ddabd5089f52e73b50a404c3d9f54c1a43184924b661a21eea61cc521c594c1005a3b40b630fa585a38195c61298f9b24b248b92'
-        'd3951006b43068be904c6b91a9e0563d56228225854e12b40abbdd4ba9b47338e97265837297a6de879acbc8051bb749163f9457683f5e12fc29ac2e7b687fd3'
-        'd28785390eb6c125bd26ca11f097fe8864b080482157deeb7c70e9bee47ff2844abaed574db59a7c152ed3ec0acba05cfee4c3751f7a9f553320b064578f86c7')
-validpgpkeys=('EDFAA3F2CA4E6EB05681AF8E9F6F1C2D7E045F8D') # W.C.A. Wijngaards <wouter at nlnetlabs.nl>
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  # set default location of trusted-key.key
-  sed '/# trust-anchor-file:/c\\ttrust-anchor-file: /etc/unbound/trusted-key.key' \
-    -i doc/example.conf.in
-
-  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
-  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}/"
-  # sysusers.d
-  install -vDm 644 "../${pkgname}-sysusers.conf" \
-    "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
-  # tmpfiles.d
-  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 ../${pkgname}-trusted-key.hook \
-    -t "${pkgdir}/usr/share/libalpm/hooks/"
-}

Copied: unbound/repos/community-x86_64/PKGBUILD (from rev 855918, unbound/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-11 12:57:08 UTC (rev 855919)
@@ -0,0 +1,94 @@
+# Maintainer: David Runge <dvzrv 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.13.1
+pkgrel=1
+pkgdesc="Validating, recursive, and caching DNS resolver"
+url="https://unbound.net/"
+license=('BSD')
+arch=('x86_64')
+depends=('dnssec-anchors' 'fstrm' 'hiredis' 'openssl' 'ldns' 'libevent'
+'libnghttp2' 'libsodium')
+makedepends=('expat' 'protobuf-c' 'systemd')
+optdepends=(
+  'expat: for unbound-anchor'
+  'sh: for unbound-control-setup'
+)
+provides=('libunbound.so')
+backup=("etc/${pkgname}/${pkgname}.conf")
+source=("https://unbound.net/downloads/${pkgname}-${pkgver}.tar.gz"{,.asc}
+        "${pkgname}-sysusers.conf"
+        "${pkgname}-tmpfiles.conf"
+        "${pkgname}-trusted-key.hook")
+sha512sums=('f4d26dca28dbcc33a5e65a55147fa01077c331292e88b6a87798cb6c3d4edb0515015d131fd893c92b74d22d9998a640f0adce404e6192d61ebe69a6a599287c'
+            'SKIP'
+            'ef71d4e9b0eb0cc602d66bd0573d9424578fe33ef28a852c582d56f0fd34fdd63046c365ef7aed8b84a461b81254240af7ad3fd539da72f9587817d21bd6c585'
+            '6b1849ae9d7cf427f6fa6cd0590e8f8c3f06210d2d6795e543b0f325a9e866db0f5db2275a29fa90f688783c0dd16f19c8a49a9817d5f5444e13f8f2df3ff712'
+            '613826cdf5ab6e77f2805fa2aa65272508dcd11090add1961b3df6dfac3b67db016bc9f45fbcf0ef0de82b2d602c153d5263a488027a6cf13a72680b581b266d')
+b2sums=('5fabb9205773a1983842e41cf7a4d6c3878fa8beb7c8ccc71ae1edf7738cb9506c3d7bb32cf887b305317ca695bf876d9f5bf9aeb0129b0e9e926d437b3e6eb3'
+        'SKIP'
+        '292a3c2e5fde292a03b6c9b2ddabd5089f52e73b50a404c3d9f54c1a43184924b661a21eea61cc521c594c1005a3b40b630fa585a38195c61298f9b24b248b92'
+        'd3951006b43068be904c6b91a9e0563d56228225854e12b40abbdd4ba9b47338e97265837297a6de879acbc8051bb749163f9457683f5e12fc29ac2e7b687fd3'
+        'd28785390eb6c125bd26ca11f097fe8864b080482157deeb7c70e9bee47ff2844abaed574db59a7c152ed3ec0acba05cfee4c3751f7a9f553320b064578f86c7')
+validpgpkeys=('EDFAA3F2CA4E6EB05681AF8E9F6F1C2D7E045F8D') # W.C.A. Wijngaards <wouter at nlnetlabs.nl>
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # set default location of trusted-key.key
+  sed '/# trust-anchor-file:/c\\ttrust-anchor-file: /etc/unbound/trusted-key.key' \
+    -i doc/example.conf.in
+
+  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
+  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}/"
+  # sysusers.d
+  install -vDm 644 "../${pkgname}-sysusers.conf" \
+    "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
+  # tmpfiles.d
+  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 ../${pkgname}-trusted-key.hook \
+    -t "${pkgdir}/usr/share/libalpm/hooks/"
+}

Deleted: unbound-sysusers.conf
===================================================================
--- unbound-sysusers.conf	2021-02-11 12:56:58 UTC (rev 855918)
+++ unbound-sysusers.conf	2021-02-11 12:57:08 UTC (rev 855919)
@@ -1 +0,0 @@
-u unbound - "unbound" /etc/unbound

Copied: unbound/repos/community-x86_64/unbound-sysusers.conf (from rev 855918, unbound/trunk/unbound-sysusers.conf)
===================================================================
--- unbound-sysusers.conf	                        (rev 0)
+++ unbound-sysusers.conf	2021-02-11 12:57:08 UTC (rev 855919)
@@ -0,0 +1 @@
+u unbound - "unbound" /etc/unbound

Deleted: unbound-tmpfiles.conf
===================================================================
--- unbound-tmpfiles.conf	2021-02-11 12:56:58 UTC (rev 855918)
+++ unbound-tmpfiles.conf	2021-02-11 12:57:08 UTC (rev 855919)
@@ -1 +0,0 @@
-C /etc/unbound/trusted-key.key - - - - /etc/trusted-key.key

Copied: unbound/repos/community-x86_64/unbound-tmpfiles.conf (from rev 855918, unbound/trunk/unbound-tmpfiles.conf)
===================================================================
--- unbound-tmpfiles.conf	                        (rev 0)
+++ unbound-tmpfiles.conf	2021-02-11 12:57:08 UTC (rev 855919)
@@ -0,0 +1 @@
+C /etc/unbound/trusted-key.key - - - - /etc/trusted-key.key

Deleted: unbound-trusted-key.hook
===================================================================
--- unbound-trusted-key.hook	2021-02-11 12:56:58 UTC (rev 855918)
+++ unbound-trusted-key.hook	2021-02-11 12:57:08 UTC (rev 855919)
@@ -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 855918, unbound/trunk/unbound-trusted-key.hook)
===================================================================
--- unbound-trusted-key.hook	                        (rev 0)
+++ unbound-trusted-key.hook	2021-02-11 12:57:08 UTC (rev 855919)
@@ -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