Date: Friday, January 20, 2017 @ 20:35:10 Author: bisson Revision: 287034
db-move: moved ldns from [testing] to [core] (i686, x86_64) Added: ldns/repos/core-i686/PKGBUILD (from rev 287033, ldns/repos/testing-i686/PKGBUILD) ldns/repos/core-i686/pc.patch (from rev 287033, ldns/repos/testing-i686/pc.patch) ldns/repos/core-x86_64/PKGBUILD (from rev 287033, ldns/repos/testing-x86_64/PKGBUILD) ldns/repos/core-x86_64/pc.patch (from rev 287033, ldns/repos/testing-x86_64/pc.patch) Deleted: ldns/repos/core-i686/PKGBUILD ldns/repos/core-x86_64/PKGBUILD ldns/repos/testing-i686/ ldns/repos/testing-x86_64/ ----------------------+ /PKGBUILD | 90 +++++++++++++++++++++++++++++++++++++++++++++++++ core-i686/PKGBUILD | 39 --------------------- core-i686/pc.patch | 60 ++++++++++++++++++++++++++++++++ core-x86_64/PKGBUILD | 39 --------------------- core-x86_64/pc.patch | 60 ++++++++++++++++++++++++++++++++ 5 files changed, 210 insertions(+), 78 deletions(-) Deleted: core-i686/PKGBUILD =================================================================== --- core-i686/PKGBUILD 2017-01-20 20:35:07 UTC (rev 287033) +++ core-i686/PKGBUILD 2017-01-20 20:35:10 UTC (rev 287034) @@ -1,39 +0,0 @@ -# $Id$ -# Maintainer: Gaetan Bisson <bis...@archlinux.org> -# Contributor: mathieui <mathi...@mathieui.net> -# Contributor: jiribb <jir...@gmail.com> - -pkgname=ldns -pkgver=1.7.0 -pkgrel=1 -pkgdesc='Fast DNS library supporting recent RFCs' -url='https://www.nlnetlabs.nl/projects/ldns/' -license=('custom:BSD') -arch=('i686' 'x86_64') -depends=('openssl' 'dnssec-anchors') -optdepends=('libpcap: ldns-dpa tool') -makedepends=('libpcap') -source=("https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz") -sha1sums=('ceeeccf8a27e61a854762737f6ee02f44662c1b8') - - -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 \ - --disable-dane-verify # needs openssl>=1.1.0 - - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: ldns/repos/core-i686/PKGBUILD (from rev 287033, ldns/repos/testing-i686/PKGBUILD) =================================================================== --- core-i686/PKGBUILD (rev 0) +++ core-i686/PKGBUILD 2017-01-20 20:35:10 UTC (rev 287034) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Gaetan Bisson <bis...@archlinux.org> +# Contributor: mathieui <mathi...@mathieui.net> +# Contributor: jiribb <jir...@gmail.com> + +pkgname=ldns +pkgver=1.7.0 +pkgrel=2 +pkgdesc='Fast DNS library supporting recent RFCs' +url='https://www.nlnetlabs.nl/projects/ldns/' +license=('custom:BSD') +arch=('i686' 'x86_64') +depends=('openssl' 'dnssec-anchors') +optdepends=('libpcap: ldns-dpa tool') +makedepends=('libpcap') +source=("https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'pc.patch') +sha1sums=('ceeeccf8a27e61a854762737f6ee02f44662c1b8' + '92161452a6e75dd283bebef4e60135ed23497e51') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../pc.patch +} + +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 \ + --disable-dane-verify # needs openssl>=1.1.0 + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} Copied: ldns/repos/core-i686/pc.patch (from rev 287033, ldns/repos/testing-i686/pc.patch) =================================================================== --- core-i686/pc.patch (rev 0) +++ core-i686/pc.patch 2017-01-20 20:35:10 UTC (rev 287034) @@ -0,0 +1,60 @@ +From 2a38f26ed5695c3ad737de082b56a296240dd51a Mon Sep 17 00:00:00 2001 +From: Willem Toorop <wil...@nlnetlabs.nl> +Date: Thu, 19 Jan 2017 09:41:51 +0100 +Subject: bugfix #1209: make install ldns.pc file + +--- + Changelog | 4 ++++ + Makefile.in | 16 ++++++++++++++-- + 2 files changed, 18 insertions(+), 2 deletions(-) + +diff --git a/Changelog b/Changelog +index 0bd3658..efda95e 100644 +--- a/Changelog ++++ b/Changelog +@@ -1,3 +1,7 @@ ++1.7.1 ????-??-?? ++ * bugfix #1209: make install ldns.pc file ++ Thanks Oleksandr Natalenko ++ + 1.7.0 2016-12-20 + * Fix lookup of relative names in ldns_resolver_search. + * bugfix #548: Double free for answers > 4096 in ldns_resolver_send_pkt +diff --git a/Makefile.in b/Makefile.in +index 04f683b..853777e 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -308,9 +308,9 @@ clean-p5-dns-ldns: $(p5_dns_ldns_dir)/Makefile + test-p5-dns-ldns: $(p5_dns_ldns_dir)/Makefile + cd $(p5_dns_ldns_dir); $(MAKE) test + +-install: install-h install-lib @INSTALL_CONFIG@ install-manpages $(pyldns_inst) $(pyldnsx_inst) @INSTALL_P5_DNS_LDNS@ @INSTALL_DRILL@ @INSTALL_EXAMPLES@ ++install: install-h install-lib install-pc @INSTALL_CONFIG@ install-manpages $(pyldns_inst) $(pyldnsx_inst) @INSTALL_P5_DNS_LDNS@ @INSTALL_DRILL@ @INSTALL_EXAMPLES@ + +-uninstall: uninstall-manpages @UNINSTALL_CONFIG@ uninstall-h uninstall-lib $(pyldns_uninst) $(pyldnsx_uninst) @UNINSTALL_P5_DNS_LDNS@ @UNINSTALL_DRILL@ @UNINSTALL_EXAMPLES@ ++uninstall: uninstall-manpages @UNINSTALL_CONFIG@ uninstall-h uninstall-lib uninstall-pc $(pyldns_uninst) $(pyldnsx_uninst) @UNINSTALL_P5_DNS_LDNS@ @UNINSTALL_DRILL@ @UNINSTALL_EXAMPLES@ + + destclean: uninstall + +@@ -355,6 +355,18 @@ uninstall-h: + test ! -d $(DESTDIR)$(includedir)/ldns || rmdir -p $(DESTDIR)$(includedir)/ldns || echo "ok, dir already gone" + exit 0 + ++packaging/libldns.pc: packaging/libldns.pc.in ++ ./config.status $@ ++ ++install-pc: packaging/libldns.pc ++ $(INSTALL) -m 644 packaging/libldns.pc $(DESTDIR)$(libdir)/pkgconfig/ldns.pc ++ ++uninstall-pc: ++ $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/pkgconfig/ldns.pc ++ test ! -d $(DESTDIR)$(libdir)/pkgconfig || rmdir -p $(DESTDIR)$(libdir)/pkgconfig || echo "ok, dir already gone" ++ test ! -d $(DESTDIR)$(libdir) || rmdir -p $(DESTDIR)$(libdir) || echo "ok, dir already gone" ++ ++ + install-lib: lib + $(INSTALL) -m 755 -d $(DESTDIR)$(libdir) + $(LIBTOOL) --mode=install cp libldns.la $(DESTDIR)$(libdir) +-- +cgit v0.11.2 + Deleted: core-x86_64/PKGBUILD =================================================================== --- core-x86_64/PKGBUILD 2017-01-20 20:35:07 UTC (rev 287033) +++ core-x86_64/PKGBUILD 2017-01-20 20:35:10 UTC (rev 287034) @@ -1,39 +0,0 @@ -# $Id$ -# Maintainer: Gaetan Bisson <bis...@archlinux.org> -# Contributor: mathieui <mathi...@mathieui.net> -# Contributor: jiribb <jir...@gmail.com> - -pkgname=ldns -pkgver=1.7.0 -pkgrel=1 -pkgdesc='Fast DNS library supporting recent RFCs' -url='https://www.nlnetlabs.nl/projects/ldns/' -license=('custom:BSD') -arch=('i686' 'x86_64') -depends=('openssl' 'dnssec-anchors') -optdepends=('libpcap: ldns-dpa tool') -makedepends=('libpcap') -source=("https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz") -sha1sums=('ceeeccf8a27e61a854762737f6ee02f44662c1b8') - - -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 \ - --disable-dane-verify # needs openssl>=1.1.0 - - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: ldns/repos/core-x86_64/PKGBUILD (from rev 287033, ldns/repos/testing-x86_64/PKGBUILD) =================================================================== --- core-x86_64/PKGBUILD (rev 0) +++ core-x86_64/PKGBUILD 2017-01-20 20:35:10 UTC (rev 287034) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Gaetan Bisson <bis...@archlinux.org> +# Contributor: mathieui <mathi...@mathieui.net> +# Contributor: jiribb <jir...@gmail.com> + +pkgname=ldns +pkgver=1.7.0 +pkgrel=2 +pkgdesc='Fast DNS library supporting recent RFCs' +url='https://www.nlnetlabs.nl/projects/ldns/' +license=('custom:BSD') +arch=('i686' 'x86_64') +depends=('openssl' 'dnssec-anchors') +optdepends=('libpcap: ldns-dpa tool') +makedepends=('libpcap') +source=("https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'pc.patch') +sha1sums=('ceeeccf8a27e61a854762737f6ee02f44662c1b8' + '92161452a6e75dd283bebef4e60135ed23497e51') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../pc.patch +} + +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 \ + --disable-dane-verify # needs openssl>=1.1.0 + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} Copied: ldns/repos/core-x86_64/pc.patch (from rev 287033, ldns/repos/testing-x86_64/pc.patch) =================================================================== --- core-x86_64/pc.patch (rev 0) +++ core-x86_64/pc.patch 2017-01-20 20:35:10 UTC (rev 287034) @@ -0,0 +1,60 @@ +From 2a38f26ed5695c3ad737de082b56a296240dd51a Mon Sep 17 00:00:00 2001 +From: Willem Toorop <wil...@nlnetlabs.nl> +Date: Thu, 19 Jan 2017 09:41:51 +0100 +Subject: bugfix #1209: make install ldns.pc file + +--- + Changelog | 4 ++++ + Makefile.in | 16 ++++++++++++++-- + 2 files changed, 18 insertions(+), 2 deletions(-) + +diff --git a/Changelog b/Changelog +index 0bd3658..efda95e 100644 +--- a/Changelog ++++ b/Changelog +@@ -1,3 +1,7 @@ ++1.7.1 ????-??-?? ++ * bugfix #1209: make install ldns.pc file ++ Thanks Oleksandr Natalenko ++ + 1.7.0 2016-12-20 + * Fix lookup of relative names in ldns_resolver_search. + * bugfix #548: Double free for answers > 4096 in ldns_resolver_send_pkt +diff --git a/Makefile.in b/Makefile.in +index 04f683b..853777e 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -308,9 +308,9 @@ clean-p5-dns-ldns: $(p5_dns_ldns_dir)/Makefile + test-p5-dns-ldns: $(p5_dns_ldns_dir)/Makefile + cd $(p5_dns_ldns_dir); $(MAKE) test + +-install: install-h install-lib @INSTALL_CONFIG@ install-manpages $(pyldns_inst) $(pyldnsx_inst) @INSTALL_P5_DNS_LDNS@ @INSTALL_DRILL@ @INSTALL_EXAMPLES@ ++install: install-h install-lib install-pc @INSTALL_CONFIG@ install-manpages $(pyldns_inst) $(pyldnsx_inst) @INSTALL_P5_DNS_LDNS@ @INSTALL_DRILL@ @INSTALL_EXAMPLES@ + +-uninstall: uninstall-manpages @UNINSTALL_CONFIG@ uninstall-h uninstall-lib $(pyldns_uninst) $(pyldnsx_uninst) @UNINSTALL_P5_DNS_LDNS@ @UNINSTALL_DRILL@ @UNINSTALL_EXAMPLES@ ++uninstall: uninstall-manpages @UNINSTALL_CONFIG@ uninstall-h uninstall-lib uninstall-pc $(pyldns_uninst) $(pyldnsx_uninst) @UNINSTALL_P5_DNS_LDNS@ @UNINSTALL_DRILL@ @UNINSTALL_EXAMPLES@ + + destclean: uninstall + +@@ -355,6 +355,18 @@ uninstall-h: + test ! -d $(DESTDIR)$(includedir)/ldns || rmdir -p $(DESTDIR)$(includedir)/ldns || echo "ok, dir already gone" + exit 0 + ++packaging/libldns.pc: packaging/libldns.pc.in ++ ./config.status $@ ++ ++install-pc: packaging/libldns.pc ++ $(INSTALL) -m 644 packaging/libldns.pc $(DESTDIR)$(libdir)/pkgconfig/ldns.pc ++ ++uninstall-pc: ++ $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/pkgconfig/ldns.pc ++ test ! -d $(DESTDIR)$(libdir)/pkgconfig || rmdir -p $(DESTDIR)$(libdir)/pkgconfig || echo "ok, dir already gone" ++ test ! -d $(DESTDIR)$(libdir) || rmdir -p $(DESTDIR)$(libdir) || echo "ok, dir already gone" ++ ++ + install-lib: lib + $(INSTALL) -m 755 -d $(DESTDIR)$(libdir) + $(LIBTOOL) --mode=install cp libldns.la $(DESTDIR)$(libdir) +-- +cgit v0.11.2 +