Accepting request 892306 from home:elvigia:branches:server:dns

- Use --disable-explicit-port-randomisation, the linux kernel
  has source port randomization by default if port is 0 since ages.

- Use --disable-explicit-port-randomisation, the linux kernel
  has source port randomization by default if port is 0 since ages.

OBS-URL: https://build.opensuse.org/request/show/892306
OBS-URL: https://build.opensuse.org/package/show/server:dns/unbound?expand=0&rev=138
This commit is contained in:
Michael Ströder 2021-06-01 11:19:28 +00:00 committed by Git OBS Bridge
parent 280052b8ef
commit 0be9ff5267
4 changed files with 20 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 11 21:57:51 UTC 2021 - Cristian Rodríguez <crrodriguez@opensuse.org>
- Use --disable-explicit-port-randomisation, the linux kernel
has source port randomization by default if port is 0 since ages.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 9 10:56:09 UTC 2021 - Michael Ströder <michael@stroeder.com> Tue Feb 9 10:56:09 UTC 2021 - Michael Ströder <michael@stroeder.com>

View File

@ -36,8 +36,8 @@ BuildRequires: libexpat-devel
BuildRequires: libsodium-devel BuildRequires: libsodium-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
Requires: this-is-only-for-build-envs Requires: this-is-only-for-build-envs
Conflicts: unbound-devel
Conflicts: libunbound8 Conflicts: libunbound8
Conflicts: unbound-devel
Provides: libunbound-devel = %{version}-%{release} Provides: libunbound-devel = %{version}-%{release}
# #
URL: https://www.unbound.net/ URL: https://www.unbound.net/
@ -87,7 +87,8 @@ export CXXFLAGS="%{optflags}"
--with-pidfile=%{piddir}%{name}/%{name}.pid \ --with-pidfile=%{piddir}%{name}/%{name}.pid \
--without-pythonmodule --without-pyunbound \ --without-pythonmodule --without-pyunbound \
--with-libunbound-only \ --with-libunbound-only \
--with-rootkey-file=%{_sharedstatedir}/unbound/root.key --with-rootkey-file=%{_sharedstatedir}/unbound/root.key \
--disable-explicit-port-randomisation
make %{?_smp_mflags} make %{?_smp_mflags}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 11 21:56:07 UTC 2021 - Cristian Rodríguez <crrodriguez@opensuse.org>
- Use --disable-explicit-port-randomisation, the linux kernel
has source port randomization by default if port is 0 since ages.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 9 10:56:09 UTC 2021 - Michael Ströder <michael@stroeder.com> Tue Feb 9 10:56:09 UTC 2021 - Michael Ströder <michael@stroeder.com>

View File

@ -108,6 +108,7 @@ DNSSEC (secure DNS) validation and stub-resolvers (that do not run
as a server, but are linked into an application) are easily possible. as a server, but are linked into an application) are easily possible.
%define libname libunbound8 %define libname libunbound8
%package -n %{libname} %package -n %{libname}
Requires: %{name}-anchor >= %{version} Requires: %{name}-anchor >= %{version}
# #
@ -218,7 +219,8 @@ pushd ../p2
--with-conf-file=%{_sysconfdir}/%{name}/unbound.conf \ --with-conf-file=%{_sysconfdir}/%{name}/unbound.conf \
--with-pidfile=%{piddir}%{name}/%{name}.pid \ --with-pidfile=%{piddir}%{name}/%{name}.pid \
--with-pythonmodule --with-pyunbound PYTHON=%{__python2}\ --with-pythonmodule --with-pyunbound PYTHON=%{__python2}\
--with-rootkey-file=%{_sharedstatedir}/unbound/root.key --with-rootkey-file=%{_sharedstatedir}/unbound/root.key \
--disable-explicit-port-randomisation
make %{?_smp_mflags} all streamtcp make %{?_smp_mflags} all streamtcp
popd popd
@ -245,7 +247,8 @@ popd
%if %{with python3} %if %{with python3}
--with-pythonmodule --with-pyunbound PYTHON=%{__python3}\ --with-pythonmodule --with-pyunbound PYTHON=%{__python3}\
%endif %endif
--with-rootkey-file=%{_sharedstatedir}/unbound/root.key --with-rootkey-file=%{_sharedstatedir}/unbound/root.key \
--disable-explicit-port-randomisation
make %{?_smp_mflags} all streamtcp make %{?_smp_mflags} all streamtcp