Date: Sunday, August 14, 2022 @ 20:29:06
  Author: felixonmars
Revision: 452713

archrelease: copy trunk to testing-x86_64

Added:
  ldns/repos/testing-x86_64/PKGBUILD
    (from rev 452712, ldns/trunk/PKGBUILD)
Deleted:
  ldns/repos/testing-x86_64/PKGBUILD

----------+
 PKGBUILD |   80 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 44 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-08-14 20:28:54 UTC (rev 452712)
+++ PKGBUILD    2022-08-14 20:29:06 UTC (rev 452713)
@@ -1,36 +0,0 @@
-# Maintainer: Gaetan Bisson <[email protected]>
-# Contributor: mathieui <[email protected]>
-# Contributor: jiribb <[email protected]>
-
-pkgname=ldns
-pkgver=1.8.2
-pkgrel=1
-pkgdesc='Fast DNS library supporting recent RFCs'
-url='https://www.nlnetlabs.nl/projects/ldns/'
-license=('custom:BSD')
-arch=('x86_64')
-depends=('openssl' 'dnssec-anchors')
-optdepends=('libpcap: ldns-dpa tool')
-makedepends=('libpcap')
-source=("https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz";)
-sha256sums=('b92b001cdd382de653620a05445e42e17a827eec93d64ee587ad291a533cc1e9')
-
-build() {
-       cd "${srcdir}/${pkgname}-${pkgver}"
-       ./configure \
-               --prefix=/usr \
-               --sysconfdir=/etc \
-               --localstatedir=/var \
-               --disable-rpath \
-               --with-drill \
-               --with-examples \
-               --with-trust-anchor=/etc/trusted-key.key \
-
-       make
-}
-
-package() {
-       cd "${srcdir}/${pkgname}-${pkgver}"
-       make DESTDIR="${pkgdir}" install
-       install -D -m644 LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: ldns/repos/testing-x86_64/PKGBUILD (from rev 452712, 
ldns/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-08-14 20:29:06 UTC (rev 452713)
@@ -0,0 +1,44 @@
+# Maintainer: Gaetan Bisson <[email protected]>
+# Contributor: mathieui <[email protected]>
+# Contributor: jiribb <[email protected]>
+
+pkgname=ldns
+pkgver=1.8.2
+pkgrel=2
+pkgdesc='Fast DNS library supporting recent RFCs'
+url='https://www.nlnetlabs.nl/projects/ldns/'
+license=('custom:BSD')
+arch=('x86_64')
+depends=('openssl' 'dnssec-anchors')
+optdepends=('libpcap: ldns-dpa tool')
+makedepends=('libpcap')
+source=("https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz";
+               
https://github.com/NLnetLabs/ldns/commit/1acee0c5d35f4a04df07e5d5f4490e6318513997.patch)
+sha256sums=('b92b001cdd382de653620a05445e42e17a827eec93d64ee587ad291a533cc1e9'
+            '03084dcee80fc1b6de47117bc9e0106e541fdda3600dbe0f6d9a8fb44d21d14e')
+
+prepare() {
+       cd $pkgname-$pkgver
+       # https://github.com/NLnetLabs/ldns/issues/183
+       patch -p1 -i ../1acee0c5d35f4a04df07e5d5f4490e6318513997.patch
+}
+
+build() {
+       cd $pkgname-$pkgver
+       ./configure \
+               --prefix=/usr \
+               --sysconfdir=/etc \
+               --localstatedir=/var \
+               --disable-rpath \
+               --with-drill \
+               --with-examples \
+               --with-trust-anchor=/etc/trusted-key.key \
+
+       make
+}
+
+package() {
+       cd $pkgname-$pkgver
+       make DESTDIR="${pkgdir}" install
+       install -D -m644 LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Reply via email to