d7ec135605
- Update to 1.19.0: * Features: - Fix #850: [FR] Ability to use specific database in Redis, with new redis-logical-db configuration option. - Merge #944: Disable EDNS DO. Disable the EDNS DO flag in upstream requests. This can be helpful for devices that cannot handle DNSSEC information. But it should not be enabled otherwise, because that would stop DNSSEC validation. The DNSSEC validation would not work for Unbound itself, and also not for downstream users. Default is no. The option is disable-edns-do: no - Expose the script filename in the Python module environment 'mod_env' instead of the config_file structure which includes the linked list of scripts in a multi Python module setup; fixes #79. - Expose the configured listening and outgoing interfaces, if any, as a list of strings in the Python 'config_file' class instead of the current Swig object proxy; fixes #79. - Mailing list patches from Daniel Gröber for DNS64 fallback to plain AAAA when no A record exists for synthesis, and minor DNS64 code refactoring for better readability. - Merge #951: Cachedb no store. The cachedb-no-store: yes option is used to stop cachedb from writing messages to the backend storage. It reads messages when data is available from the backend. The default is no. * Bug Fixes: - Fix for version generation race condition that ignored changes. - Fix #942: 1.18.0 libunbound DNS regression when built without OpenSSL. - Fix for WKS call to getservbyname that creates allocation on exit in unit test by testing numbers first and testing from the services list later. - Fix autoconf 2.69 warnings in configure. - Fix #927: unbound 1.18.0 make test error. Fix make test without SHA1. OBS-URL: https://build.opensuse.org/request/show/1127268 OBS-URL: https://build.opensuse.org/package/show/server:dns/unbound?expand=0&rev=167
113 lines
3.3 KiB
RPMSpec
113 lines
3.3 KiB
RPMSpec
#
|
|
# spec file for package libunbound-devel-mini
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# 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 ldns_version 1.6.16
|
|
%bcond_without python
|
|
%bcond_without munin
|
|
%bcond_without hardened_build
|
|
#
|
|
Name: libunbound-devel-mini
|
|
Version: 1.19.0
|
|
#!BcntSyncTag: unbound
|
|
Release: 0
|
|
Summary: Just a devel package for build loops
|
|
License: BSD-3-Clause
|
|
Group: Productivity/Networking/DNS/Servers
|
|
#
|
|
URL: https://www.unbound.net/
|
|
Source: https://www.unbound.net/downloads/unbound-%{version}.tar.gz
|
|
Source100: https://www.unbound.net/downloads/unbound-%{version}.tar.gz.asc
|
|
Source101: unbound.keyring
|
|
Source1: libunbound-devel-mini-rpmlintrc
|
|
Source5: root.key
|
|
Source6: dlv.isc.org.key
|
|
# From http://data.iana.org/root-anchors/icannbundle.pem
|
|
Source12: icannbundle.pem
|
|
Source13: root.anchor
|
|
#
|
|
#
|
|
BuildRequires: flex
|
|
BuildRequires: ldns-devel >= %{ldns_version}
|
|
BuildRequires: libevent-devel
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: libsodium-devel
|
|
BuildRequires: openssl-devel
|
|
Requires: this-is-only-for-build-envs
|
|
Conflicts: libunbound8
|
|
Conflicts: unbound-devel
|
|
Provides: libunbound-devel = %{version}-%{release}
|
|
|
|
%description
|
|
Unbound is a validating, recursive, and caching DNS(SEC) resolver.
|
|
|
|
The C implementation of Unbound is developed and maintained by NLnet
|
|
Labs. It is based on ideas and algorithms taken from a java prototype
|
|
developed by Verisign labs, Nominet, Kirei and ep.net.
|
|
|
|
Unbound is designed as a set of modular components, so that also
|
|
DNSSEC (secure DNS) validation and stub-resolvers (that do not run
|
|
as a server, but are linked into an application) are easily possible.
|
|
|
|
%prep
|
|
%setup -q -n unbound-%{version}
|
|
|
|
%build
|
|
export CFLAGS="%{optflags}"
|
|
export CXXFLAGS="%{optflags}"
|
|
%configure \
|
|
--disable-rpath \
|
|
--with-libevent \
|
|
--with-pthreads \
|
|
--disable-static \
|
|
--with-ldns=%{_prefix} \
|
|
--enable-sha2 \
|
|
--enable-gost \
|
|
--enable-ecdsa \
|
|
--enable-event-api \
|
|
--enable-pie \
|
|
--enable-relro-now \
|
|
--enable-dnscrypt \
|
|
--with-conf-file=%{_sysconfdir}/%{name}/unbound.conf \
|
|
--with-pidfile=%{piddir}/%{name}/%{name}.pid \
|
|
--without-pythonmodule --without-pyunbound \
|
|
--with-libunbound-only \
|
|
--with-rootkey-file=%{_sharedstatedir}/unbound/root.key \
|
|
--disable-explicit-port-randomisation
|
|
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
rm -rf %{buildroot}%{_mandir} %{buildroot}%{_libdir}/*.la
|
|
|
|
%check
|
|
# it currently fails in the ldns unit test. which is weird as both come from the same project
|
|
%make_build check ||:
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%{_libdir}/libunbound.so.*
|
|
%{_includedir}/unbound.h
|
|
%{_includedir}/unbound-event.h
|
|
%{_libdir}/libunbound.so
|
|
%{_libdir}/pkgconfig/libunbound.pc
|
|
|
|
%changelog
|