ldns/ldns.spec

193 lines
5.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package ldns
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define libname libldns3
Name: ldns
Version: 1.7.1
Release: 0
Summary: A library for developing the Domain Name System
Accepting request 517554 from home:pmonrealgonzalez:branches:server:dns - Update to version 1.7.0 * Ldns built with openssl-1.1.0 [bsc#1042653] * Fix #551 change Regent to Copyright holder in BSD license in some of the headings of the file, to match the opensource.org BSD license. * -e option makes ldns-compare-zones exit with status code 2 on difference * Filter out specified RR types with ldns-read-zone -e and -E options * bugfix #563: Correct DNSKEY from DSA private key. * bugfix #562: ldns-keygen match DSA key maximum size with library. And check keysizes with all algorithms. * ldns-verify-zone accepts only one single zonefile as argument. * bugfix #573: ldns-keygen write private keys with mode 0600. * Fix configure to make ldns compile with LibreSSL 2.0 * drill now also accepts dig style -y option (-y <[algo:]name:key> i.s.o. -y <name:key[:algo]>) * OPENPGPKEY draft rr types. Enable with: --enable-rrtype-openpgpkey * bugfix #608: Correct comment about escaped characters * CDS and CDNSKEY rr type from RFC 7344. --enable-rrtype-cds configure option removed * fix: Memory leak in ldns_pkt_rr_list_by_name() * fix: Memory leak in ldns_dname2buffer_wire_compress() * bugfix #613: Allow tab as whitespace too in last rdata field of types of variable length. * bugfix: strip trailing whitespace from $ORIGIN lines in zone files * Let ldns-keygen output .ds files only for KSK keys * Parse RFC7218 TLSA mnemonics, but do not output them * Let ldns-dane use SPKI as the default selector i.s.o. Cert * bugfix: Fit left over NSEC3s once more before adding empty non terminals * bugfix #605: Determine default trust anchor location at compile time * bugfix #697: Double free with ldns-dane create * bugfix #623: Do not redefine bool type and boolean values OBS-URL: https://build.opensuse.org/request/show/517554 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=32
2017-08-24 10:27:35 +02:00
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: http://www.nlnetlabs.nl/projects/ldns/
Accepting request 517554 from home:pmonrealgonzalez:branches:server:dns - Update to version 1.7.0 * Ldns built with openssl-1.1.0 [bsc#1042653] * Fix #551 change Regent to Copyright holder in BSD license in some of the headings of the file, to match the opensource.org BSD license. * -e option makes ldns-compare-zones exit with status code 2 on difference * Filter out specified RR types with ldns-read-zone -e and -E options * bugfix #563: Correct DNSKEY from DSA private key. * bugfix #562: ldns-keygen match DSA key maximum size with library. And check keysizes with all algorithms. * ldns-verify-zone accepts only one single zonefile as argument. * bugfix #573: ldns-keygen write private keys with mode 0600. * Fix configure to make ldns compile with LibreSSL 2.0 * drill now also accepts dig style -y option (-y <[algo:]name:key> i.s.o. -y <name:key[:algo]>) * OPENPGPKEY draft rr types. Enable with: --enable-rrtype-openpgpkey * bugfix #608: Correct comment about escaped characters * CDS and CDNSKEY rr type from RFC 7344. --enable-rrtype-cds configure option removed * fix: Memory leak in ldns_pkt_rr_list_by_name() * fix: Memory leak in ldns_dname2buffer_wire_compress() * bugfix #613: Allow tab as whitespace too in last rdata field of types of variable length. * bugfix: strip trailing whitespace from $ORIGIN lines in zone files * Let ldns-keygen output .ds files only for KSK keys * Parse RFC7218 TLSA mnemonics, but do not output them * Let ldns-dane use SPKI as the default selector i.s.o. Cert * bugfix: Fit left over NSEC3s once more before adding empty non terminals * bugfix #605: Determine default trust anchor location at compile time * bugfix #697: Double free with ldns-dane create * bugfix #623: Do not redefine bool type and boolean values OBS-URL: https://build.opensuse.org/request/show/517554 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=32
2017-08-24 10:27:35 +02:00
Source: http://www.nlnetlabs.nl/downloads/ldns/ldns-%{version}.tar.gz
Source1: http://www.nlnetlabs.nl/downloads/ldns/ldns-%{version}.tar.gz.asc
Source2: ldns.keyring
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: libopenssl-devel
BuildRequires: libpcap-devel
Accepting request 517554 from home:pmonrealgonzalez:branches:server:dns - Update to version 1.7.0 * Ldns built with openssl-1.1.0 [bsc#1042653] * Fix #551 change Regent to Copyright holder in BSD license in some of the headings of the file, to match the opensource.org BSD license. * -e option makes ldns-compare-zones exit with status code 2 on difference * Filter out specified RR types with ldns-read-zone -e and -E options * bugfix #563: Correct DNSKEY from DSA private key. * bugfix #562: ldns-keygen match DSA key maximum size with library. And check keysizes with all algorithms. * ldns-verify-zone accepts only one single zonefile as argument. * bugfix #573: ldns-keygen write private keys with mode 0600. * Fix configure to make ldns compile with LibreSSL 2.0 * drill now also accepts dig style -y option (-y <[algo:]name:key> i.s.o. -y <name:key[:algo]>) * OPENPGPKEY draft rr types. Enable with: --enable-rrtype-openpgpkey * bugfix #608: Correct comment about escaped characters * CDS and CDNSKEY rr type from RFC 7344. --enable-rrtype-cds configure option removed * fix: Memory leak in ldns_pkt_rr_list_by_name() * fix: Memory leak in ldns_dname2buffer_wire_compress() * bugfix #613: Allow tab as whitespace too in last rdata field of types of variable length. * bugfix: strip trailing whitespace from $ORIGIN lines in zone files * Let ldns-keygen output .ds files only for KSK keys * Parse RFC7218 TLSA mnemonics, but do not output them * Let ldns-dane use SPKI as the default selector i.s.o. Cert * bugfix: Fit left over NSEC3s once more before adding empty non terminals * bugfix #605: Determine default trust anchor location at compile time * bugfix #697: Double free with ldns-dane create * bugfix #623: Do not redefine bool type and boolean values OBS-URL: https://build.opensuse.org/request/show/517554 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=32
2017-08-24 10:27:35 +02:00
BuildRequires: perl-Devel-CheckLib
BuildRequires: python3-devel
BuildRequires: swig
%description
ldns is a C library that can be used for domain name system (DNS)
development. It supports RFCs like the DNSSEC documents, and allows
developers to create software conforming to RFCs, as well as
experimental software for current Internet Drafts.
This package holds the tools/examples from ldns.
Accepting request 517554 from home:pmonrealgonzalez:branches:server:dns - Update to version 1.7.0 * Ldns built with openssl-1.1.0 [bsc#1042653] * Fix #551 change Regent to Copyright holder in BSD license in some of the headings of the file, to match the opensource.org BSD license. * -e option makes ldns-compare-zones exit with status code 2 on difference * Filter out specified RR types with ldns-read-zone -e and -E options * bugfix #563: Correct DNSKEY from DSA private key. * bugfix #562: ldns-keygen match DSA key maximum size with library. And check keysizes with all algorithms. * ldns-verify-zone accepts only one single zonefile as argument. * bugfix #573: ldns-keygen write private keys with mode 0600. * Fix configure to make ldns compile with LibreSSL 2.0 * drill now also accepts dig style -y option (-y <[algo:]name:key> i.s.o. -y <name:key[:algo]>) * OPENPGPKEY draft rr types. Enable with: --enable-rrtype-openpgpkey * bugfix #608: Correct comment about escaped characters * CDS and CDNSKEY rr type from RFC 7344. --enable-rrtype-cds configure option removed * fix: Memory leak in ldns_pkt_rr_list_by_name() * fix: Memory leak in ldns_dname2buffer_wire_compress() * bugfix #613: Allow tab as whitespace too in last rdata field of types of variable length. * bugfix: strip trailing whitespace from $ORIGIN lines in zone files * Let ldns-keygen output .ds files only for KSK keys * Parse RFC7218 TLSA mnemonics, but do not output them * Let ldns-dane use SPKI as the default selector i.s.o. Cert * bugfix: Fit left over NSEC3s once more before adding empty non terminals * bugfix #605: Determine default trust anchor location at compile time * bugfix #697: Double free with ldns-dane create * bugfix #623: Do not redefine bool type and boolean values OBS-URL: https://build.opensuse.org/request/show/517554 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=32
2017-08-24 10:27:35 +02:00
%package -n %{libname}
Summary: A library for developing the Domain Name System
Group: System/Libraries
Accepting request 517554 from home:pmonrealgonzalez:branches:server:dns - Update to version 1.7.0 * Ldns built with openssl-1.1.0 [bsc#1042653] * Fix #551 change Regent to Copyright holder in BSD license in some of the headings of the file, to match the opensource.org BSD license. * -e option makes ldns-compare-zones exit with status code 2 on difference * Filter out specified RR types with ldns-read-zone -e and -E options * bugfix #563: Correct DNSKEY from DSA private key. * bugfix #562: ldns-keygen match DSA key maximum size with library. And check keysizes with all algorithms. * ldns-verify-zone accepts only one single zonefile as argument. * bugfix #573: ldns-keygen write private keys with mode 0600. * Fix configure to make ldns compile with LibreSSL 2.0 * drill now also accepts dig style -y option (-y <[algo:]name:key> i.s.o. -y <name:key[:algo]>) * OPENPGPKEY draft rr types. Enable with: --enable-rrtype-openpgpkey * bugfix #608: Correct comment about escaped characters * CDS and CDNSKEY rr type from RFC 7344. --enable-rrtype-cds configure option removed * fix: Memory leak in ldns_pkt_rr_list_by_name() * fix: Memory leak in ldns_dname2buffer_wire_compress() * bugfix #613: Allow tab as whitespace too in last rdata field of types of variable length. * bugfix: strip trailing whitespace from $ORIGIN lines in zone files * Let ldns-keygen output .ds files only for KSK keys * Parse RFC7218 TLSA mnemonics, but do not output them * Let ldns-dane use SPKI as the default selector i.s.o. Cert * bugfix: Fit left over NSEC3s once more before adding empty non terminals * bugfix #605: Determine default trust anchor location at compile time * bugfix #697: Double free with ldns-dane create * bugfix #623: Do not redefine bool type and boolean values OBS-URL: https://build.opensuse.org/request/show/517554 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=32
2017-08-24 10:27:35 +02:00
%description -n %{libname}
ldns is a C library that can be used for domain name system (DNS)
development. It supports RFCs like the DNSSEC documents, and allows
developers to create software conforming to RFCs, as well as
experimental software for current Internet Drafts.
%package devel
Summary: Development files for ldns
Group: Development/Libraries/C and C++
Accepting request 517554 from home:pmonrealgonzalez:branches:server:dns - Update to version 1.7.0 * Ldns built with openssl-1.1.0 [bsc#1042653] * Fix #551 change Regent to Copyright holder in BSD license in some of the headings of the file, to match the opensource.org BSD license. * -e option makes ldns-compare-zones exit with status code 2 on difference * Filter out specified RR types with ldns-read-zone -e and -E options * bugfix #563: Correct DNSKEY from DSA private key. * bugfix #562: ldns-keygen match DSA key maximum size with library. And check keysizes with all algorithms. * ldns-verify-zone accepts only one single zonefile as argument. * bugfix #573: ldns-keygen write private keys with mode 0600. * Fix configure to make ldns compile with LibreSSL 2.0 * drill now also accepts dig style -y option (-y <[algo:]name:key> i.s.o. -y <name:key[:algo]>) * OPENPGPKEY draft rr types. Enable with: --enable-rrtype-openpgpkey * bugfix #608: Correct comment about escaped characters * CDS and CDNSKEY rr type from RFC 7344. --enable-rrtype-cds configure option removed * fix: Memory leak in ldns_pkt_rr_list_by_name() * fix: Memory leak in ldns_dname2buffer_wire_compress() * bugfix #613: Allow tab as whitespace too in last rdata field of types of variable length. * bugfix: strip trailing whitespace from $ORIGIN lines in zone files * Let ldns-keygen output .ds files only for KSK keys * Parse RFC7218 TLSA mnemonics, but do not output them * Let ldns-dane use SPKI as the default selector i.s.o. Cert * bugfix: Fit left over NSEC3s once more before adding empty non terminals * bugfix #605: Determine default trust anchor location at compile time * bugfix #697: Double free with ldns-dane create * bugfix #623: Do not redefine bool type and boolean values OBS-URL: https://build.opensuse.org/request/show/517554 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=32
2017-08-24 10:27:35 +02:00
Requires: %{libname} = %{version}
Requires: openssl-devel
%description devel
ldns is a C library that can be used for domain name system (DNS)
development. It supports RFCs like the DNSSEC documents, and allows
developers to create software conforming to RFCs, as well as
experimental software for current Internet Drafts.
This package holds the development files.
%package -n python3-ldns
Summary: Python3 bindings for ldns
Group: Development/Languages/Python
Accepting request 517554 from home:pmonrealgonzalez:branches:server:dns - Update to version 1.7.0 * Ldns built with openssl-1.1.0 [bsc#1042653] * Fix #551 change Regent to Copyright holder in BSD license in some of the headings of the file, to match the opensource.org BSD license. * -e option makes ldns-compare-zones exit with status code 2 on difference * Filter out specified RR types with ldns-read-zone -e and -E options * bugfix #563: Correct DNSKEY from DSA private key. * bugfix #562: ldns-keygen match DSA key maximum size with library. And check keysizes with all algorithms. * ldns-verify-zone accepts only one single zonefile as argument. * bugfix #573: ldns-keygen write private keys with mode 0600. * Fix configure to make ldns compile with LibreSSL 2.0 * drill now also accepts dig style -y option (-y <[algo:]name:key> i.s.o. -y <name:key[:algo]>) * OPENPGPKEY draft rr types. Enable with: --enable-rrtype-openpgpkey * bugfix #608: Correct comment about escaped characters * CDS and CDNSKEY rr type from RFC 7344. --enable-rrtype-cds configure option removed * fix: Memory leak in ldns_pkt_rr_list_by_name() * fix: Memory leak in ldns_dname2buffer_wire_compress() * bugfix #613: Allow tab as whitespace too in last rdata field of types of variable length. * bugfix: strip trailing whitespace from $ORIGIN lines in zone files * Let ldns-keygen output .ds files only for KSK keys * Parse RFC7218 TLSA mnemonics, but do not output them * Let ldns-dane use SPKI as the default selector i.s.o. Cert * bugfix: Fit left over NSEC3s once more before adding empty non terminals * bugfix #605: Determine default trust anchor location at compile time * bugfix #697: Double free with ldns-dane create * bugfix #623: Do not redefine bool type and boolean values OBS-URL: https://build.opensuse.org/request/show/517554 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=32
2017-08-24 10:27:35 +02:00
Requires: %{libname} >= %{version}
%description -n python3-ldns
Python bindings for the ldns library
%package -n perl-DNS-LDNS
Summary: Perl bindings for ldns
Group: Development/Languages/Perl
Accepting request 517554 from home:pmonrealgonzalez:branches:server:dns - Update to version 1.7.0 * Ldns built with openssl-1.1.0 [bsc#1042653] * Fix #551 change Regent to Copyright holder in BSD license in some of the headings of the file, to match the opensource.org BSD license. * -e option makes ldns-compare-zones exit with status code 2 on difference * Filter out specified RR types with ldns-read-zone -e and -E options * bugfix #563: Correct DNSKEY from DSA private key. * bugfix #562: ldns-keygen match DSA key maximum size with library. And check keysizes with all algorithms. * ldns-verify-zone accepts only one single zonefile as argument. * bugfix #573: ldns-keygen write private keys with mode 0600. * Fix configure to make ldns compile with LibreSSL 2.0 * drill now also accepts dig style -y option (-y <[algo:]name:key> i.s.o. -y <name:key[:algo]>) * OPENPGPKEY draft rr types. Enable with: --enable-rrtype-openpgpkey * bugfix #608: Correct comment about escaped characters * CDS and CDNSKEY rr type from RFC 7344. --enable-rrtype-cds configure option removed * fix: Memory leak in ldns_pkt_rr_list_by_name() * fix: Memory leak in ldns_dname2buffer_wire_compress() * bugfix #613: Allow tab as whitespace too in last rdata field of types of variable length. * bugfix: strip trailing whitespace from $ORIGIN lines in zone files * Let ldns-keygen output .ds files only for KSK keys * Parse RFC7218 TLSA mnemonics, but do not output them * Let ldns-dane use SPKI as the default selector i.s.o. Cert * bugfix: Fit left over NSEC3s once more before adding empty non terminals * bugfix #605: Determine default trust anchor location at compile time * bugfix #697: Double free with ldns-dane create * bugfix #623: Do not redefine bool type and boolean values OBS-URL: https://build.opensuse.org/request/show/517554 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=32
2017-08-24 10:27:35 +02:00
Requires: %{libname} >= %{version}
%description -n perl-DNS-LDNS
Perl bindings for the ldns library.
%prep
%autosetup
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
if pkg-config --max-version=1.1.0 openssl; then
DISABLE_DANE="--disable-dane-verify"
fi
export PYTHON=%{_bindir}/python3
%configure \
--disable-rpath \
--disable-static \
--enable-rrtype-ninfo \
--enable-rrtype-rkey \
--enable-rrtype-cds \
--enable-rrtype-uri \
--enable-rrtype-ta \
--with-pyldns \
--with-pyldnsx \
--with-drill \
--with-examples \
--with-ca-path=%{_sysconfdir}/ssl/certs/ \
$DISABLE_DANE
Accepting request 517554 from home:pmonrealgonzalez:branches:server:dns - Update to version 1.7.0 * Ldns built with openssl-1.1.0 [bsc#1042653] * Fix #551 change Regent to Copyright holder in BSD license in some of the headings of the file, to match the opensource.org BSD license. * -e option makes ldns-compare-zones exit with status code 2 on difference * Filter out specified RR types with ldns-read-zone -e and -E options * bugfix #563: Correct DNSKEY from DSA private key. * bugfix #562: ldns-keygen match DSA key maximum size with library. And check keysizes with all algorithms. * ldns-verify-zone accepts only one single zonefile as argument. * bugfix #573: ldns-keygen write private keys with mode 0600. * Fix configure to make ldns compile with LibreSSL 2.0 * drill now also accepts dig style -y option (-y <[algo:]name:key> i.s.o. -y <name:key[:algo]>) * OPENPGPKEY draft rr types. Enable with: --enable-rrtype-openpgpkey * bugfix #608: Correct comment about escaped characters * CDS and CDNSKEY rr type from RFC 7344. --enable-rrtype-cds configure option removed * fix: Memory leak in ldns_pkt_rr_list_by_name() * fix: Memory leak in ldns_dname2buffer_wire_compress() * bugfix #613: Allow tab as whitespace too in last rdata field of types of variable length. * bugfix: strip trailing whitespace from $ORIGIN lines in zone files * Let ldns-keygen output .ds files only for KSK keys * Parse RFC7218 TLSA mnemonics, but do not output them * Let ldns-dane use SPKI as the default selector i.s.o. Cert * bugfix: Fit left over NSEC3s once more before adding empty non terminals * bugfix #605: Determine default trust anchor location at compile time * bugfix #697: Double free with ldns-dane create * bugfix #623: Do not redefine bool type and boolean values OBS-URL: https://build.opensuse.org/request/show/517554 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=32
2017-08-24 10:27:35 +02:00
make %{?_smp_mflags}
# We cannot use the built-in --with-p5-dns-ldns
pushd contrib/DNS-LDNS
LD_LIBRARY_PATH="../../lib:$LD_LIBRARY_PATH" perl \
Makefile.PL INSTALLDIRS=vendor INC="-I. -I../.." LIBS="-L../../lib"
make %{?_smp_mflags}
popd
%install
Accepting request 517554 from home:pmonrealgonzalez:branches:server:dns - Update to version 1.7.0 * Ldns built with openssl-1.1.0 [bsc#1042653] * Fix #551 change Regent to Copyright holder in BSD license in some of the headings of the file, to match the opensource.org BSD license. * -e option makes ldns-compare-zones exit with status code 2 on difference * Filter out specified RR types with ldns-read-zone -e and -E options * bugfix #563: Correct DNSKEY from DSA private key. * bugfix #562: ldns-keygen match DSA key maximum size with library. And check keysizes with all algorithms. * ldns-verify-zone accepts only one single zonefile as argument. * bugfix #573: ldns-keygen write private keys with mode 0600. * Fix configure to make ldns compile with LibreSSL 2.0 * drill now also accepts dig style -y option (-y <[algo:]name:key> i.s.o. -y <name:key[:algo]>) * OPENPGPKEY draft rr types. Enable with: --enable-rrtype-openpgpkey * bugfix #608: Correct comment about escaped characters * CDS and CDNSKEY rr type from RFC 7344. --enable-rrtype-cds configure option removed * fix: Memory leak in ldns_pkt_rr_list_by_name() * fix: Memory leak in ldns_dname2buffer_wire_compress() * bugfix #613: Allow tab as whitespace too in last rdata field of types of variable length. * bugfix: strip trailing whitespace from $ORIGIN lines in zone files * Let ldns-keygen output .ds files only for KSK keys * Parse RFC7218 TLSA mnemonics, but do not output them * Let ldns-dane use SPKI as the default selector i.s.o. Cert * bugfix: Fit left over NSEC3s once more before adding empty non terminals * bugfix #605: Determine default trust anchor location at compile time * bugfix #697: Double free with ldns-dane create * bugfix #623: Do not redefine bool type and boolean values OBS-URL: https://build.opensuse.org/request/show/517554 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=32
2017-08-24 10:27:35 +02:00
make DESTDIR=%{buildroot} \
install \
install-drill \
install-examples
Accepting request 517554 from home:pmonrealgonzalez:branches:server:dns - Update to version 1.7.0 * Ldns built with openssl-1.1.0 [bsc#1042653] * Fix #551 change Regent to Copyright holder in BSD license in some of the headings of the file, to match the opensource.org BSD license. * -e option makes ldns-compare-zones exit with status code 2 on difference * Filter out specified RR types with ldns-read-zone -e and -E options * bugfix #563: Correct DNSKEY from DSA private key. * bugfix #562: ldns-keygen match DSA key maximum size with library. And check keysizes with all algorithms. * ldns-verify-zone accepts only one single zonefile as argument. * bugfix #573: ldns-keygen write private keys with mode 0600. * Fix configure to make ldns compile with LibreSSL 2.0 * drill now also accepts dig style -y option (-y <[algo:]name:key> i.s.o. -y <name:key[:algo]>) * OPENPGPKEY draft rr types. Enable with: --enable-rrtype-openpgpkey * bugfix #608: Correct comment about escaped characters * CDS and CDNSKEY rr type from RFC 7344. --enable-rrtype-cds configure option removed * fix: Memory leak in ldns_pkt_rr_list_by_name() * fix: Memory leak in ldns_dname2buffer_wire_compress() * bugfix #613: Allow tab as whitespace too in last rdata field of types of variable length. * bugfix: strip trailing whitespace from $ORIGIN lines in zone files * Let ldns-keygen output .ds files only for KSK keys * Parse RFC7218 TLSA mnemonics, but do not output them * Let ldns-dane use SPKI as the default selector i.s.o. Cert * bugfix: Fit left over NSEC3s once more before adding empty non terminals * bugfix #605: Determine default trust anchor location at compile time * bugfix #697: Double free with ldns-dane create * bugfix #623: Do not redefine bool type and boolean values OBS-URL: https://build.opensuse.org/request/show/517554 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=32
2017-08-24 10:27:35 +02:00
make DESTDIR=%{buildroot} \
install-pyldns \
install-pyldnsx
rm -v %{buildroot}%{python3_sitearch}/*.la
Accepting request 517554 from home:pmonrealgonzalez:branches:server:dns - Update to version 1.7.0 * Ldns built with openssl-1.1.0 [bsc#1042653] * Fix #551 change Regent to Copyright holder in BSD license in some of the headings of the file, to match the opensource.org BSD license. * -e option makes ldns-compare-zones exit with status code 2 on difference * Filter out specified RR types with ldns-read-zone -e and -E options * bugfix #563: Correct DNSKEY from DSA private key. * bugfix #562: ldns-keygen match DSA key maximum size with library. And check keysizes with all algorithms. * ldns-verify-zone accepts only one single zonefile as argument. * bugfix #573: ldns-keygen write private keys with mode 0600. * Fix configure to make ldns compile with LibreSSL 2.0 * drill now also accepts dig style -y option (-y <[algo:]name:key> i.s.o. -y <name:key[:algo]>) * OPENPGPKEY draft rr types. Enable with: --enable-rrtype-openpgpkey * bugfix #608: Correct comment about escaped characters * CDS and CDNSKEY rr type from RFC 7344. --enable-rrtype-cds configure option removed * fix: Memory leak in ldns_pkt_rr_list_by_name() * fix: Memory leak in ldns_dname2buffer_wire_compress() * bugfix #613: Allow tab as whitespace too in last rdata field of types of variable length. * bugfix: strip trailing whitespace from $ORIGIN lines in zone files * Let ldns-keygen output .ds files only for KSK keys * Parse RFC7218 TLSA mnemonics, but do not output them * Let ldns-dane use SPKI as the default selector i.s.o. Cert * bugfix: Fit left over NSEC3s once more before adding empty non terminals * bugfix #605: Determine default trust anchor location at compile time * bugfix #697: Double free with ldns-dane create * bugfix #623: Do not redefine bool type and boolean values OBS-URL: https://build.opensuse.org/request/show/517554 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=32
2017-08-24 10:27:35 +02:00
make -C contrib/DNS-LDNS DESTDIR=%{buildroot} pure_install
chmod 755 %{buildroot}%{perl_vendorarch}/auto/DNS/LDNS/LDNS.so
rm -f %{buildroot}%{perl_vendorarch}/auto/DNS/LDNS/{.packlist,LDNS.bs}
Accepting request 517554 from home:pmonrealgonzalez:branches:server:dns - Update to version 1.7.0 * Ldns built with openssl-1.1.0 [bsc#1042653] * Fix #551 change Regent to Copyright holder in BSD license in some of the headings of the file, to match the opensource.org BSD license. * -e option makes ldns-compare-zones exit with status code 2 on difference * Filter out specified RR types with ldns-read-zone -e and -E options * bugfix #563: Correct DNSKEY from DSA private key. * bugfix #562: ldns-keygen match DSA key maximum size with library. And check keysizes with all algorithms. * ldns-verify-zone accepts only one single zonefile as argument. * bugfix #573: ldns-keygen write private keys with mode 0600. * Fix configure to make ldns compile with LibreSSL 2.0 * drill now also accepts dig style -y option (-y <[algo:]name:key> i.s.o. -y <name:key[:algo]>) * OPENPGPKEY draft rr types. Enable with: --enable-rrtype-openpgpkey * bugfix #608: Correct comment about escaped characters * CDS and CDNSKEY rr type from RFC 7344. --enable-rrtype-cds configure option removed * fix: Memory leak in ldns_pkt_rr_list_by_name() * fix: Memory leak in ldns_dname2buffer_wire_compress() * bugfix #613: Allow tab as whitespace too in last rdata field of types of variable length. * bugfix: strip trailing whitespace from $ORIGIN lines in zone files * Let ldns-keygen output .ds files only for KSK keys * Parse RFC7218 TLSA mnemonics, but do not output them * Let ldns-dane use SPKI as the default selector i.s.o. Cert * bugfix: Fit left over NSEC3s once more before adding empty non terminals * bugfix #605: Determine default trust anchor location at compile time * bugfix #697: Double free with ldns-dane create * bugfix #623: Do not redefine bool type and boolean values OBS-URL: https://build.opensuse.org/request/show/517554 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=32
2017-08-24 10:27:35 +02:00
rm -v %{buildroot}%{_libdir}/libldns.*a
%fdupes %{buildroot}%{_mandir}
Accepting request 517554 from home:pmonrealgonzalez:branches:server:dns - Update to version 1.7.0 * Ldns built with openssl-1.1.0 [bsc#1042653] * Fix #551 change Regent to Copyright holder in BSD license in some of the headings of the file, to match the opensource.org BSD license. * -e option makes ldns-compare-zones exit with status code 2 on difference * Filter out specified RR types with ldns-read-zone -e and -E options * bugfix #563: Correct DNSKEY from DSA private key. * bugfix #562: ldns-keygen match DSA key maximum size with library. And check keysizes with all algorithms. * ldns-verify-zone accepts only one single zonefile as argument. * bugfix #573: ldns-keygen write private keys with mode 0600. * Fix configure to make ldns compile with LibreSSL 2.0 * drill now also accepts dig style -y option (-y <[algo:]name:key> i.s.o. -y <name:key[:algo]>) * OPENPGPKEY draft rr types. Enable with: --enable-rrtype-openpgpkey * bugfix #608: Correct comment about escaped characters * CDS and CDNSKEY rr type from RFC 7344. --enable-rrtype-cds configure option removed * fix: Memory leak in ldns_pkt_rr_list_by_name() * fix: Memory leak in ldns_dname2buffer_wire_compress() * bugfix #613: Allow tab as whitespace too in last rdata field of types of variable length. * bugfix: strip trailing whitespace from $ORIGIN lines in zone files * Let ldns-keygen output .ds files only for KSK keys * Parse RFC7218 TLSA mnemonics, but do not output them * Let ldns-dane use SPKI as the default selector i.s.o. Cert * bugfix: Fit left over NSEC3s once more before adding empty non terminals * bugfix #605: Determine default trust anchor location at compile time * bugfix #697: Double free with ldns-dane create * bugfix #623: Do not redefine bool type and boolean values OBS-URL: https://build.opensuse.org/request/show/517554 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=32
2017-08-24 10:27:35 +02:00
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files
%{_bindir}/drill
%{_bindir}/ldns-chaos
%{_bindir}/ldns-compare-zones
%{_bindir}/ldns-dpa
%{_bindir}/ldns-gen-zone
%{_bindir}/ldns-key2ds
%{_bindir}/ldns-keyfetcher
%{_bindir}/ldns-keygen
%{_bindir}/ldns-mx
%{_bindir}/ldns-notify
%{_bindir}/ldns-nsec3-hash
%{_bindir}/ldns-read-zone
%{_bindir}/ldns-resolver
%{_bindir}/ldns-revoke
%{_bindir}/ldns-rrsig
%{_bindir}/ldns-signzone
%{_bindir}/ldns-test-edns
%{_bindir}/ldns-testns
%{_bindir}/ldns-update
%{_bindir}/ldns-verify-zone
%{_bindir}/ldns-version
%{_bindir}/ldns-walk
%{_bindir}/ldns-zcat
%{_bindir}/ldns-zsplit
%{_bindir}/ldnsd
%{_bindir}/ldns-dane
%{_mandir}/man1/drill.1%{?ext_man}
%{_mandir}/man1/ldns*.1%{?ext_man}
Accepting request 517554 from home:pmonrealgonzalez:branches:server:dns - Update to version 1.7.0 * Ldns built with openssl-1.1.0 [bsc#1042653] * Fix #551 change Regent to Copyright holder in BSD license in some of the headings of the file, to match the opensource.org BSD license. * -e option makes ldns-compare-zones exit with status code 2 on difference * Filter out specified RR types with ldns-read-zone -e and -E options * bugfix #563: Correct DNSKEY from DSA private key. * bugfix #562: ldns-keygen match DSA key maximum size with library. And check keysizes with all algorithms. * ldns-verify-zone accepts only one single zonefile as argument. * bugfix #573: ldns-keygen write private keys with mode 0600. * Fix configure to make ldns compile with LibreSSL 2.0 * drill now also accepts dig style -y option (-y <[algo:]name:key> i.s.o. -y <name:key[:algo]>) * OPENPGPKEY draft rr types. Enable with: --enable-rrtype-openpgpkey * bugfix #608: Correct comment about escaped characters * CDS and CDNSKEY rr type from RFC 7344. --enable-rrtype-cds configure option removed * fix: Memory leak in ldns_pkt_rr_list_by_name() * fix: Memory leak in ldns_dname2buffer_wire_compress() * bugfix #613: Allow tab as whitespace too in last rdata field of types of variable length. * bugfix: strip trailing whitespace from $ORIGIN lines in zone files * Let ldns-keygen output .ds files only for KSK keys * Parse RFC7218 TLSA mnemonics, but do not output them * Let ldns-dane use SPKI as the default selector i.s.o. Cert * bugfix: Fit left over NSEC3s once more before adding empty non terminals * bugfix #605: Determine default trust anchor location at compile time * bugfix #697: Double free with ldns-dane create * bugfix #623: Do not redefine bool type and boolean values OBS-URL: https://build.opensuse.org/request/show/517554 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=32
2017-08-24 10:27:35 +02:00
%files -n %{libname}
%{_libdir}/libldns.so.*
%files devel
%{_bindir}/ldns-config
%{_includedir}/ldns/
%{_libdir}/libldns.so
%{_libdir}/pkgconfig/ldns.pc
%{_mandir}/man3/ldns*.3%{?ext_man}
%license LICENSE
%doc libdns.vim README*
%files -n perl-DNS-LDNS
%{perl_vendorarch}/DNS/LDNS.pm
%dir %{perl_vendorarch}/DNS/
%{perl_vendorarch}/DNS/LDNS/
%dir %{perl_vendorarch}/auto/DNS/
%{perl_vendorarch}/auto/DNS/LDNS/
%{_mandir}/man3/DNS::LDNS*3pm*
%files -n python3-ldns
%{python3_sitearch}/*ldns*
%changelog