25 Commits

Author SHA256 Message Date
05be45ef97 Add BR for systemd and update ghost entries 2026-02-04 16:48:29 +01:00
6009512f17 Add ghost entry for /var/lib/unbound 2026-02-04 11:09:32 +01:00
abb288f410 Use tmpfiles to remove /var/lib/unbound from files
Create /var/lib/unbound with systemd-tmpfiles, move root.key to
/usr/share/unbound and copy it to /var/lib/unbound/root.key to
improve immutable os compatibility.
2026-02-03 15:55:58 +01:00
8b98049e11 Update to 1.24.2 2025-11-26 12:33:58 +01:00
0e942d97ea Add patch to fix build issue with swig 4.4.0 2025-10-23 11:58:06 +02:00
d5fbe28fea Update keyring
Release was issued with a different gpg key
2025-10-23 11:20:39 +02:00
cc0d4d917a Update to 1.24.1 2025-10-23 11:13:02 +02:00
a88134e09c Update to 1.24.0 2025-09-24 13:15:11 +02:00
45b8656053 Accepting request 1298773 from server:dns
OBS-URL: https://build.opensuse.org/request/show/1298773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unbound?expand=0&rev=75
2025-08-12 15:03:20 +00:00
46ad51449c Accepting request 1298772 from home:darix:apps
- Update to 1.23.1:
  Bug Fixes:
  * Fix RebirthDay Attack CVE-2025-5994, reported by Xiang Li from
    AOSP Lab Nankai University.

- simplify python handling. python2 support is dropped and python3
  is built by default. Conditionals for the latter are removed.

- enable EDNS subnet handling

- Update to 1.23.1: (boo#1246625)
  Bug Fixes:
  * Fix RebirthDay Attack CVE-2025-5994, reported by Xiang Li from
    AOSP Lab Nankai University.
  - our package was not built with EDNS subnet support up to this
    point and therefor was not affected.

- prepare enabling quic support:
  currently fails on missing quic support in openssl. aws-lc is
  sadly not a drop in replacement for unbound.
- enable TCP Fast Open for the server and client
- remove unused --with-ldns option
- enable cachedb including hiredis support on Tumbleweed
  new BuildRequires pkgconfig(libhiredis)

OBS-URL: https://build.opensuse.org/request/show/1298772
OBS-URL: https://build.opensuse.org/package/show/server:dns/unbound?expand=0&rev=194
2025-08-11 10:25:08 +00:00
602ae39175 Accepting request 1294832 from server:dns
OBS-URL: https://build.opensuse.org/request/show/1294832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unbound?expand=0&rev=74
2025-07-23 14:31:50 +00:00
d95cae9d05 Accepting request 1294635 from home:mia:branches:server:dns
- Remove leftover dependency on sudo (not required)
  See also: boo#1215628

OBS-URL: https://build.opensuse.org/request/show/1294635
OBS-URL: https://build.opensuse.org/package/show/server:dns/unbound?expand=0&rev=192
2025-07-21 12:45:03 +00:00
f35d66188c Accepting request 1272419 from server:dns
- Update to 1.23.0

OBS-URL: https://build.opensuse.org/request/show/1272419
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unbound?expand=0&rev=73
2025-04-25 20:18:10 +00:00
8edd97db41 - Update to 1.23.0:
OBS-URL: https://build.opensuse.org/package/show/server:dns/unbound?expand=0&rev=190
2025-04-24 12:11:48 +00:00
85b77de3dc Accepting request 1226894 from server:dns
OBS-URL: https://build.opensuse.org/request/show/1226894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unbound?expand=0&rev=72
2024-11-28 23:08:30 +00:00
782bb8ffbb Accepting request 1226891 from home:ojkastl_buildservice:branches:server:dns
add workaround for bug https://github.com/NLnetLabs/unbound/issues/509

OBS-URL: https://build.opensuse.org/request/show/1226891
OBS-URL: https://build.opensuse.org/package/show/server:dns/unbound?expand=0&rev=188
2024-11-27 12:13:17 +00:00
694a51992a Accepting request 1208856 from server:dns
Update to 1.22.0

OBS-URL: https://build.opensuse.org/request/show/1208856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unbound?expand=0&rev=71
2024-10-20 08:08:52 +00:00
6836f2acef - Update to 1.22.0
- Update keyring

OBS-URL: https://build.opensuse.org/package/show/server:dns/unbound?expand=0&rev=186
2024-10-18 11:23:20 +00:00
698dcbbcb2 Accepting request 1208444 from server:dns
Fix version number in changelog

OBS-URL: https://build.opensuse.org/request/show/1208444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unbound?expand=0&rev=70
2024-10-16 21:44:03 +00:00
f66756741a Fix version number in changelog
OBS-URL: https://build.opensuse.org/package/show/server:dns/unbound?expand=0&rev=184
2024-10-16 12:26:40 +00:00
3e2de2b0a5 Accepting request 1206077 from server:dns
- Update to 1.21.0:
  Security Fixes:
  * Fix CVE-2024-8508, unbounded name compression could lead to
    denial of service.
    [CVE-2024-8508, bsc#1231284]
- Update keyring
- Update to 1.21.0:
  Security Fixes:
  * Fix CVE-2024-8508, unbounded name compression could lead to
    denial of service.
    [CVE-2024-8508, bsc#1231284]
- Update keyring

OBS-URL: https://build.opensuse.org/request/show/1206077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unbound?expand=0&rev=69
2024-10-08 15:16:32 +00:00
a9ce76fffd - Update to 1.21.0:
Security Fixes:
  * Fix CVE-2024-8508, unbounded name compression could lead to
    denial of service.
    [CVE-2024-8508, bsc#1231284]

- Update keyring

OBS-URL: https://build.opensuse.org/package/show/server:dns/unbound?expand=0&rev=182
2024-10-07 11:18:05 +00:00
9cdf590e6f Accepting request 1194091 from server:dns
- Update to 1.21.0:
  [CVE-2024-43167, bsc#1229068]

OBS-URL: https://build.opensuse.org/request/show/1194091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unbound?expand=0&rev=68
2024-08-16 10:22:55 +00:00
07733f6c7b Reference CVE and bsc# for security fix
OBS-URL: https://build.opensuse.org/package/show/server:dns/unbound?expand=0&rev=180
2024-08-15 09:50:30 +00:00
cc69efeb4c - Update to 1.21.0:
OBS-URL: https://build.opensuse.org/package/show/server:dns/unbound?expand=0&rev=179
2024-08-15 09:32:08 +00:00
11 changed files with 97 additions and 30 deletions

View File

@@ -1,11 +1,25 @@
-------------------------------------------------------------------
Thu Oct 23 11:18:09 UTC 2025 - Jorik Cronenberg <jorik.cronenberg@suse.com>
Wed Nov 26 11:33:22 UTC 2025 - Jorik Cronenberg <jorik.cronenberg@suse.com>
- Update to 1.24.2:
Bug Fixes:
* Additional fix for CVE-2025-11411 (possible domain hijacking
attack), to include YXDOMAIN and non-referral nodata answers in
the mitigation as well, reported by TaoFei Guo from Peking
University, Yang Luo and JianJun Chen from Tsinghua University.
-------------------------------------------------------------------
Wed Oct 22 10:35:26 UTC 2025 - Jorik Cronenberg <jorik.cronenberg@suse.com>
- Update to 1.24.1:
Security Fixes:
* Fix CVE-2025-11411 (possible domain hijacking attack)
[bsc#1252525]
-------------------------------------------------------------------
Wed Sep 24 10:54:29 UTC 2025 - Jorik Cronenberg <jorik.cronenberg@suse.com>
- Update to 1.24.0:
Features:
* Increase default to num-queries-per-thread: 2048, when unbound
is compiled with libevent. It makes saturation of the task

View File

@@ -22,7 +22,7 @@
%bcond_without hardened_build
#
Name: libunbound-devel-mini
Version: 1.24.1
Version: 1.24.2
#!BcntSyncTag: unbound
Release: 0
Summary: Just a devel package for build loops

View File

@@ -0,0 +1,3 @@
#Type Path Mode UID GID Age Argument
d /var/lib/unbound 0755 unbound unbound - -
C /var/lib/unbound/root.key 0644 unbound unbound - /usr/share/unbound/root.key

View File

@@ -1 +1,2 @@
D /run/unbound 0755 unbound unbound -
#Type Path Mode UID GID Age Argument
D /run/unbound 0755 unbound unbound - -

Binary file not shown.

View File

@@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQJIBAABCAAyFiEElI60IyLF0At5NA9dz/M0TZCHpJAFAmj4oOIUHGdlb3JnZUBu
bG5ldGxhYnMubmwACgkQz/M0TZCHpJBY2Q//aZRuSdAq68p0s1L4wnCKr6NCH9Uk
64EFECEzY8pULuE5EOY/IAJ8Hv2hHTlL9moFxR0FiIKzouiyyp1l34m+s4d+Jcvq
Ox+4XLKqAz5OdcUAK7Dw8wIORqZg/NNS7U1X2bCTOEpfeCx9qM4d9+/X9Hz6QIoq
2/3s31lXW2CbevzjQHkFNO4RmBETNDe94pyhq0d/pEhOVHQtFFLx28NEUCeW44YC
ChRJMO9w0H1nfE/bc4XpyIXqVwH0mdUoiHTv4jJxMpnqzKFlRLR2qQ2jEWjvjQTo
dcxprljUqQTSuJDGu1W0OrPIRSDeX4bqgksMms2p1ZKwIKlgEg2nv3MH8qUNRR+x
GiOBXk+CxKT4HyPtjDJxAQwiM6bbQo7NJYie3AEaEJDvoIDE78Ktq8i2AGRDFWTA
bUUpqIT1PXsT/nYPtyN4i3AnPwHNaUHrOXXKJDw63kz9xv1gWQHMaSxWiOznF6vM
5/NOAhG+WJMlz5HELYpxVkO/XIRflXYcQuTbhBeHoAjHcgpHM5rcaNXmYg4jHs8a
151Uk2NwBFQahkTc1RRL5bSqNAekKeOWUVz3SQE7fEwxt8bJDmymFVTlBo254jtQ
oQz3Lyz6ZyiTZW5MQvkM6DCdihqQtqEtmyTyuixQf4vmetazkjeXCBWl/Tp1HeKX
kKR7/YW1Aw6gaxU=
=a3Wl
-----END PGP SIGNATURE-----

BIN
unbound-1.24.2.tar.gz LFS Normal file

Binary file not shown.

17
unbound-1.24.2.tar.gz.asc Normal file
View File

@@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJIBAABCAAyFiEElI60IyLF0At5NA9dz/M0TZCHpJAFAmkm1EQUHGdlb3JnZUBu
bG5ldGxhYnMubmwACgkQz/M0TZCHpJBShg//WYjN8jarUIfeH1IhnnqxTBxZ5CvT
WUkgQy5laBIeWRE9l+rWdG7KRVjIH5wDLN9kuwSA6daO1owwxubrj20czkyaByFi
Mfb2V0FgpUwvfqXILEW0taEzQyGnzJy/UPV3nZXWWaLeRIrjVb5rNtazprQMlFSV
1OhCJX77BI1NNC87/I5HGPO5dAR8epe3+6tdXP29vDJHnkWkEvy17y8uTxDwRA/b
Yip9yiT7HbOHQsQhfFwQ747Tzc6CZ8XkRPLd2QNWA6tGaqQINDJv7N8/VqxqnjXF
wtpsRpn/qBx8m3T6u6/au0LiwnGUikmPyjsPZapIvlgP/BW33wU/HO2AxQWFO234
5wdZ37BSchvHJFPtNJXX3Wak4FcWbe41GlP9dHCD74D/d1uG9DyeuMC5aoGStQZu
ldMzCoNwLKS4bfQyFsNA1rldinNRtoz7/Ac2Y9+Z6VhI6d/uqb+FBmenavvqQblz
bFccL0nQ4I4xjhGFqSjfTrQgwHQnyKKTToZzTSABqssG97m3F6twdrcZOqYCotLN
9ttXdwEwOUIpVD2UUbjS3LfZHBuQDjIETqgC89UZb6cOVzLbTFfnAQBDhFTGvqq5
ohhAiZa9ePg8gXuziPtxp7AyQ+izvWESn7Af1yuXu315xuU7OG/7Wh1wyN2wjD5+
vbIU556z7rrFT30=
=vyR7
-----END PGP SIGNATURE-----

View File

@@ -0,0 +1,13 @@
diff --git a/libunbound/python/libunbound.i b/libunbound/python/libunbound.i
index dc125146c..9ed1be90b 100644
--- a/libunbound/python/libunbound.i
+++ b/libunbound/python/libunbound.i
@@ -853,7 +853,7 @@ Result: ['74.125.43.147', '74.125.43.99', '74.125.43.103', '74.125.43.104']
%{
//printf("resolve_start(%lX)\n",(long unsigned int)arg1);
Py_BEGIN_ALLOW_THREADS
- $function
+ $action
Py_END_ALLOW_THREADS
//printf("resolve_stop()\n");
%}

View File

@@ -1,11 +1,40 @@
-------------------------------------------------------------------
Thu Oct 23 11:08:38 UTC 2025 - Jorik Cronenberg <jorik.cronenberg@suse.com>
Fri Jan 30 12:21:42 UTC 2026 - Jorik Cronenberg <jorik.cronenberg@suse.com>
- Create /var/lib/unbound with systemd-tmpfiles, move root.key to
/usr/share/unbound and copy it to /var/lib/unbound/root.key to
improve immutable os compatibility.
- Add BuildRequires for pkgconfig(systemd) to avoid tmpfiles not
found error in install section.
-------------------------------------------------------------------
Wed Nov 26 11:31:04 UTC 2025 - Jorik Cronenberg <jorik.cronenberg@suse.com>
- Update to 1.24.2:
Bug Fixes:
* Additional fix for CVE-2025-11411 (possible domain hijacking
attack), to include YXDOMAIN and non-referral nodata answers in
the mitigation as well, reported by TaoFei Guo from Peking
University, Yang Luo and JianJun Chen from Tsinghua University.
-------------------------------------------------------------------
Thu Oct 23 09:56:53 UTC 2025 - Jorik Cronenberg <jorik.cronenberg@suse.com>
- Add patch to fix build issue with swig 4.4.0
[unbound-swig-4.4.0-compat.patch]
-------------------------------------------------------------------
Wed Oct 22 10:35:26 UTC 2025 - Jorik Cronenberg <jorik.cronenberg@suse.com>
- Update to 1.24.1:
Security Fixes:
* Fix CVE-2025-11411 (possible domain hijacking attack)
[bsc#1252525]
-------------------------------------------------------------------
Wed Sep 24 10:54:29 UTC 2025 - Jorik Cronenberg <jorik.cronenberg@suse.com>
- Update to 1.24.0:
Features:
* Increase default to num-queries-per-thread: 2048, when unbound
is compiled with libevent. It makes saturation of the task

View File

@@ -39,7 +39,7 @@
%define piddir /run
Name: unbound
Version: 1.24.1
Version: 1.24.2
Release: 0
BuildRequires: flex
BuildRequires: ldns-devel >= %{ldns_version}
@@ -68,6 +68,7 @@ Requires: ldns >= %{ldns_version}
# unbound-control-setup depends on /usr/bin/openssl
Requires: openssl
%if %{with systemd}
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(libsystemd)
%{?systemd_requires}
%endif
@@ -94,6 +95,8 @@ Source15: unbound-anchor.timer
Source16: unbound-munin.README
Source18: unbound-anchor.service
Source19: unbound.sysusers
Source20: tmpfiles-unbound-anchor.conf
Patch0: unbound-swig-4.4.0-compat.patch
Summary: Validating, recursive, and caching DNS(SEC) resolver
License: BSD-3-Clause
@@ -176,7 +179,7 @@ Unbound is a validating, recursive, and caching DNS(SEC) resolver.
This package holds the Python modules and extensions for unbound.
%prep
%setup
%autosetup -p1
%build
%sysusers_generate_pre %{SOURCE19} anchor unbound.conf
@@ -253,13 +256,14 @@ install -m 0644 testcode/streamtcp.1 %{buildroot}/%{_mandir}/man1/unbound-stream
# Install tmpfiles.d config
install -d -m 0755 %{buildroot}%{_tmpfilesdir}/ \
%{buildroot}%{_sharedstatedir}/unbound
%{buildroot}%{_datadir}/unbound
install -m 0644 %{SOURCE8} %{buildroot}%{_tmpfilesdir}/unbound.conf
install -m 0644 %{SOURCE20} %{buildroot}%{_tmpfilesdir}/unbound-anchor.conf
# install root and DLV key - we keep a copy of the root key in old location,
# in case user has changed the configuration and we wouldn't update it there
install -m 0644 %{SOURCE5} %{SOURCE6} %{buildroot}%{_sysconfdir}/unbound/
install -m 0644 %{SOURCE13} %{buildroot}%{_sharedstatedir}/unbound/root.key
install -m 0644 %{SOURCE13} %{buildroot}%{_datadir}/unbound/root.key
# create softlink for all functions of libunbound man pages
for mpage in ub_ctx ub_result ub_ctx_create ub_ctx_delete ub_ctx_set_option ub_ctx_get_option ub_ctx_config ub_ctx_set_fwd ub_ctx_resolvconf ub_ctx_hosts ub_ctx_add_ta ub_ctx_add_ta_file ub_ctx_trustedkeys ub_ctx_debugout ub_ctx_debuglevel ub_ctx_async ub_poll ub_wait ub_fd ub_process ub_resolve ub_resolve_async ub_cancel ub_resolve_free ub_strerror ub_ctx_print_local_zones ub_ctx_zone_add ub_ctx_zone_remove ub_ctx_data_add ub_ctx_data_remove;
@@ -403,8 +407,11 @@ systemd-tmpfiles --create %{_tmpfilesdir}/unbound.conf || :
%{_unitdir}/unbound-anchor.timer
%{_unitdir}/unbound-anchor.service
%{_sysusersdir}/unbound.conf
%dir %attr(-,unbound,unbound) %{_sharedstatedir}/%{name}
%attr(0644,unbound,unbound) %config(noreplace) %{_sharedstatedir}/%{name}/root.key
%{_tmpfilesdir}/unbound-anchor.conf
%ghost %dir %{_sharedstatedir}/%{name}
%ghost %attr(0644,root,root) %{_sharedstatedir}/%{name}/root.key
%dir %attr(-,unbound,unbound) %{_datadir}/%{name}
%attr(0644,unbound,unbound) %{_datadir}/%{name}/root.key
%attr(0644,root,unbound) %config(noreplace) %{_sysconfdir}/%{name}/dlv.isc.org.key
# just left for backwards compat with user changed unbound.conf files - format is different!
%attr(0644,root,unbound) %config(noreplace) %{_sysconfdir}/%{name}/root.key