public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kea] f43: New version 3.0.4
@ 2026-10-06  4:32 Martin Osvald
  0 siblings, 0 replies; only message in thread
From: Martin Osvald @ 2026-10-06  4:32 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/kea
Branch : f43
Commit : c44b7327fff1aaba64fa76568e195f015a609e59
Author : Martin Osvald <mosvald@redhat.com>
Date   : 2026-10-05T16:39:17+02:00
Stats  : +31/-49 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/kea/c/c44b7327fff1aaba64fa76568e195f015a609e59?branch=f43

Log:
New version 3.0.4

---
diff --git a/kea.spec b/kea.spec
index 17ecca9..a29fcf2 100644
--- a/kea.spec
+++ b/kea.spec
@@ -1,5 +1,5 @@
 Name:           kea
-Version:        3.0.3
+Version:        3.0.4
 Release:        %autorelease
 Summary:        DHCPv4, DHCPv6 and DDNS server from ISC
 License:        MPL-2.0 AND BSL-1.0
@@ -9,9 +9,12 @@ URL:            http://kea.isc.org
 %bcond_with sysrepo
 %bcond_with tests
 
-%global keama_version 4.5.0
-# Bundled version of Bind libraries linked into Keama
-%global bind_version 9.11.36
+# The upstream tagged the 4.5.0 on Sep 19, 2023; grab the latest Keama from git instead
+# To switch to a tagged release: uncomment keama_version
+#%%global keama_version 4.5.0
+%global keama_commit 046ceef7a5db084211179dac42e986cda88a3c0e
+%global keama_shortcommit %{lua:print(rpm.expand("%{keama_commit}"):sub(1,7))}
+%global keama_dir keama-%{?keama_version}%{!?keama_version:%{keama_shortcommit}}
 
 # Conflict with kea-next
 %global upstream_name kea
@@ -23,8 +26,12 @@ Conflicts: %1 \
 
 Source0:        https://downloads.isc.org/isc/kea/%{version}/kea-%{version}.tar.xz
 Source1:        https://downloads.isc.org/isc/kea/%{version}/kea-%{version}.tar.xz.asc
+%if 0%{?keama_version:1}
 Source2:        https://downloads.isc.org/isc/keama/%{keama_version}/keama-%{keama_version}.tar.gz
 Source3:        https://downloads.isc.org/isc/keama/%{keama_version}/keama-%{keama_version}.tar.gz.asc
+%else
+Source2:        https://gitlab.isc.org/isc-projects/keama/-/archive/%{keama_shortcommit}/keama-%{keama_shortcommit}.tar.gz
+%endif
 Source10:       https://www.isc.org/docs/isc-keyblock.asc
 Source11:       kea-dhcp4.service
 Source12:       kea-dhcp6.service
@@ -130,7 +137,6 @@ This package contains shared libraries used by Kea DHCP server.
 
 %package keama
 Summary: Experimental migration assistant for Kea
-Provides: bundled(bind-libs) = %{bind_version}
 
 %description keama
 The KEA Migration Assistant is an experimental tool which helps to translate
@@ -139,10 +145,12 @@ ISC DHCP configurations to Kea.
 %prep
 %if 0%{?fedora} || 0%{?rhel} > 8
 %{gpgverify} --keyring='%{S:10}' --signature='%{S:1}' --data='%{S:0}'
+%if 0%{?keama_version:1}
 %{gpgverify} --keyring='%{S:10}' --signature='%{S:3}' --data='%{S:2}'
 %endif
+%endif
 
-%autosetup -T -b2 -N -n keama-%{keama_version}
+%autosetup -T -b2 -N -n %{keama_dir}
 %autosetup -p1 -n kea-%{version}
 
 %build
@@ -171,26 +179,9 @@ export KEA_PKG_TYPE_IN_CONFIGURE="rpm"
 %meson_build doc
 
 # Configure & build Keama
-pushd ../keama-%{keama_version}
-
-# We need to unpack the embedded copy of bind and call autoreconf to
-# ensure that config.{sub,guess} is up to date, since the copies
-# included in the archive are extremely old (2013) and unaware of
-# more recent architectures such as riscv64. The Keama build system
-# would normally take care of unpacking the archive, but it also
-# handles gracefully us doing it ourselves
-tar -C bind/ -zxvf bind/bind.tar.gz
-
-pushd bind/bind-%{bind_version}/
+pushd ../%{keama_dir}
 
 autoreconf --verbose --force --install
-
-# Back to Keama. Its build system will take care of configuring and
-# building the embedded copy of bind
-popd
-
-autoreconf --verbose --force --install
-
 %configure \
     --disable-dependency-tracking \
     --disable-silent-rules
@@ -207,23 +198,16 @@ popd
 %meson_install
 
 # Install Keama
-pushd ../keama-%{keama_version}
+pushd ../%{keama_dir}
 %make_install
 popd
 
-# Remove Keama's static library, dhcp headers and man pages
-rm %{buildroot}/%{_libdir}/libdhcp.a
-rm -rf %{buildroot}/%{_includedir}/omapip/
-rm -rf %{buildroot}%{_mandir}/man5/
-
 # Remove keactrl
-rm %{buildroot}%{_sysconfdir}/kea/keactrl.conf
-rm %{buildroot}%{_sbindir}/keactrl 
-rm %{buildroot}%{_mandir}/man8/keactrl.8*
+find %{buildroot} -name keactrl\* -delete
 
 %if %{without sysrepo}
 # Remove netconf files
-rm %{buildroot}%{_mandir}/man8/kea-netconf.8
+find %{buildroot} -name kea-netconf\* -delete
 %endif
 
 rm %{buildroot}%{_pkgdocdir}/COPYING
@@ -393,33 +377,32 @@ fi
 
 %files libs
 %license COPYING
-# older: find `rpm --eval %%{_topdir}`/BUILDROOT/kea-*/usr/lib64/ -type f | grep /usr/lib64/libkea | sed -e 's#.*/usr/lib64\(.*\.so\.[0-9]\+\)\.[0-9]\+\.[0-9]\+#%%{_libdir}\1*#' | sort
-# >=f41: find `rpm --eval %%{_topdir}`/BUILD/kea-*/BUILDROOT/usr/lib64/ -type f | grep /usr/lib64/libkea | sed -e 's#.*/usr/lib64\(.*\.so\.[0-9]\+\)\.[0-9]\+\.[0-9]\+#%%{_libdir}\1*#' | sort
-%{_libdir}/libkea-asiodns.so.62*
-%{_libdir}/libkea-asiolink.so.88*
-%{_libdir}/libkea-cc.so.83*
+# find `rpm --eval %%{_topdir}`/BUILD/kea-*/BUILDROOT/usr/lib64/ -type f | grep /usr/lib64/libkea | sed -e 's#.*/usr/lib64\(.*\.so\.[0-9]\+\)\.[0-9]\+\.[0-9]\+#%%{_libdir}\1*#' | sort
+%{_libdir}/libkea-asiodns.so.63*
+%{_libdir}/libkea-asiolink.so.89*
+%{_libdir}/libkea-cc.so.84*
 %{_libdir}/libkea-cfgrpt.so.3*
 %{_libdir}/libkea-config.so.84*
 %{_libdir}/libkea-cryptolink.so.64*
 %{_libdir}/libkea-d2srv.so.63*
 %{_libdir}/libkea-database.so.76*
 %{_libdir}/libkea-dhcp_ddns.so.68*
-%{_libdir}/libkea-dhcp.so.109*
-%{_libdir}/libkea-dhcpsrv.so.131*
+%{_libdir}/libkea-dhcp.so.110*
+%{_libdir}/libkea-dhcpsrv.so.132*
 %{_libdir}/libkea-dns.so.71*
-%{_libdir}/libkea-eval.so.84*
+%{_libdir}/libkea-eval.so.85*
 %{_libdir}/libkea-exceptions.so.45*
-%{_libdir}/libkea-hooks.so.121*
+%{_libdir}/libkea-hooks.so.122*
 %{_libdir}/libkea-http.so.87*
 %{_libdir}/libkea-log-interprocess.so.3*
 %{_libdir}/libkea-log.so.75*
 %{_libdir}/libkea-mysql.so.88*
 %{_libdir}/libkea-pgsql.so.88*
-%{_libdir}/libkea-process.so.91*
+%{_libdir}/libkea-process.so.92*
 %{_libdir}/libkea-stats.so.53*
 %{_libdir}/libkea-tcp.so.33*
 %{_libdir}/libkea-util-io.so.12*
-%{_libdir}/libkea-util.so.102*
+%{_libdir}/libkea-util.so.103*
 
 %files keama
 %license COPYING

diff --git a/sources b/sources
index 619062e..969ba81 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,3 @@
-SHA512 (kea-3.0.3.tar.xz) = 38dff3a089b76d043c0bd1cc1bbf480b71b627d101954eb2d8200bce507dcd43e8a1cbdb5b55b7f425424a156ec56e36af52b6c591ecf6c80c29b58875b5b585
-SHA512 (kea-3.0.3.tar.xz.asc) = 8ca4af7417915cddf0b1746c5de1717e939baae19dc9a8a87196ac624ede379681881e5a863859b93e7fae778f7d767183d29519c8ad070d387d739d52b00f45
-SHA512 (keama-4.5.0.tar.gz) = 2e48987e21999718be7ceb5b604be672c84666b07dde9545285ff7146ab6825e81af1ec3b5a4b50f20e61b40ed11b0254e3705cc580bb85de24b77ee8cbca162
-SHA512 (keama-4.5.0.tar.gz.asc) = 8ec416e44e143037a6936682d1e11b96c1a48be05f3e747e7a26b190e1f11c75104ef16c23eda9b257433b8de5a73c081b65fd903b611d8faa9c4b3b47702763
+SHA512 (kea-3.0.4.tar.xz) = 81b9678673099cc3a29f5bf33094a0ca52d07dfa34c3e78bb046a28d57dc07554c39096cd36dbb960489c01664221a4a968d261da43011c5d8fa1d4ec489a0c6
+SHA512 (kea-3.0.4.tar.xz.asc) = 48a967c24608d09601b02b51a179a118f7c5a58a32aafff07b1cccd48a8e7e58001786098bc9985b20fc558d126ad85ded2765ac6410aafccffb00806dacf2af
+SHA512 (keama-046ceef.tar.gz) = 4e9c51b6ab40a90fa6fe5bc44d69241257a9e3745328ac27015a9b9fac74988f8dda0a813c869fa9d426c934cc5df61e595e6a8c704932e56e4252a1b5b7d72c

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-06  4:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06  4:32 [rpms/kea] f43: New version 3.0.4 Martin Osvald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox