diff --git a/kea-1.5.0.tar.gz b/kea-1.5.0.tar.gz deleted file mode 100644 index 907ef13..0000000 --- a/kea-1.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:edce4fab68ca7af607cf7f5bc86596e04fe0ef4b8e88906e339cdefcf21daaec -size 7395257 diff --git a/kea-1.5.0.tar.gz.asc b/kea-1.5.0.tar.gz.asc deleted file mode 100644 index ff9c855..0000000 --- a/kea-1.5.0.tar.gz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABAgAdFiEEvg6XSLcYJToou4n/8bEb8FzwLlcFAlwT0L8ACgkQ8bEb8Fzw -LlfC9BAA2ZQmVP2NC+2kwlsxx4z6tVzD7Gy71TJxI/ZRarF6oyciUkrOPNVSF2f6 -LPuWJGbKnqW3DvRu14+GHVBGdVdatPKqnPAl5WLxOpCLzEQqunm/A32um2/HV4RY -inCscq2O5AGJGtAo+/EoQbQwPTxjsxhg5vseauMgnSCOoF90XcS1bi3xj0aHJED4 -x0xWPB7DfAl7RJ+yXGA7veqeEOt6ERj1ls6/SCZk4fBYOLEGXX9/emLNIInqnUh5 -hR9oRx6I99X/6/OVdsaR7tdk8xEOHjMMEF+q5OJlvhGNTpzl8n0kViwRysbitWR5 -lGdq3agRdwxnPSTfVmO56fndmxHq7rKk9PQEHfAAUv3arHYm45qwI29bOJUaly+T -UbC4nFGbbJyZMue6aUREe8+K8LWUmVSgfwn9X/stRC0gnNtDYXmfwygo3nk4Enbw -BrcU05ZYEkLGlthOXzig9nw2Csf27znrwvrh+NFT3ZC+ayqoxheZHmYNcBf5nWOk -FZsf0ZSzgYk9aH8j7EWRaDAkHccuZz+lhu1kTlo8cB1WVTuZ+dXXgwJWPV0ZDunX -mwFNrD4dsoiRThFdknNVMQZSjK9oqs9d0VKfiH29++GXLXGuq74hHuqpbF7H3/T3 -geaHmiTFeTLMosl2Ac7Rpe9cFJum3yT2Rn1WjRDZ2pNCrN2rx0M= -=A19s ------END PGP SIGNATURE----- diff --git a/kea-1.6.0~beta2.tar.gz b/kea-1.6.0~beta2.tar.gz new file mode 100644 index 0000000..10bba43 --- /dev/null +++ b/kea-1.6.0~beta2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44b6877b17684627b508587744be27ba0597cd0180aca14124b5e5bef5904686 +size 8055279 diff --git a/kea-1.6.0~beta2.tar.gz.asc b/kea-1.6.0~beta2.tar.gz.asc new file mode 100644 index 0000000..ec4677a --- /dev/null +++ b/kea-1.6.0~beta2.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABAgAdFiEEFWiQaF6g32oTce8gF8xdsfAIhAcFAl04lT4ACgkQF8xdsfAI +hAcifBAAgV8AWMHazrBC+ewOu4dWQS4mZi75cBL11fLswDDoC8hhu/izeS7J/qmM +EWLB2NUu4X1nF8+imTagY1sbKFNzd2bU7OIlJQgtRaxA5NLuWpCbx+KQ2C5zjg+8 +fHHwVXlT9kvMRfaosRVjdNnkV8LXHghCUJSy4eMMWT1TWcxq7GvOR33xBBAthyp/ +J90ziL8+aPfCO2QE3SIOcXrsXU5ep8+OBbQg4yoNbSBZymVKZAxKZbzojzND9Be/ +uuweNNYOOLoxd1n5mX3hD5tLM1mpQ/MxF8usZ0BXHUWh2rnRvKu3eKQSSvaKHAGc +UmMZPqaxEPgTOluzhBrK0HSzK1yLEDojgtQ5OZLvT7ya7kGtUctSksGNiCrOVVAS +OVLn48DViLjarT5M6mxC2m+eXRvn1xm0MFo4iSHisBT9sdMCDa9eJ/mZifaJv9Y2 +RO0iAkQoMJ40LW8MIsL/fUGKBFcHq/ggVQJ/WiA+mtAfRz0Sy9+0ui8ffRS9VAoc +geKJbSFxGG28MpPOwv/5g9+xW5SuY2hFYB3O0SsVU7rJuIvPJDtcJ4tz13C32MdL +cvUcQy9sw2iq29MDBtPwXTub9z6A//MK6SW9bQdoiF1VFNAE2BztTwctSgzS/z58 +8teLliU7CLDfNAwQbEJ4p17EdmZuYt/bVbg5BnP62abFRE1f6eI= +=Tvml +-----END PGP SIGNATURE----- diff --git a/kea.changes b/kea.changes index c31da76..2106bae 100644 --- a/kea.changes +++ b/kea.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Wed Aug 21 15:08:38 UTC 2019 - Adam Majer + +- Update to version 1.6.0~beta2 + * Default file locations for lease file, server-duid, log files and lock + files have changed. Files previously stored in `/var/kea` are now stored + in `/var/run/kea`. Server hooks previously installed in `/usr/lib/hooks` + are now installed in `/usr/lib/kea/hooks`. The log files are now stored + in `/var/log/kea`. + * The kea-admin commands (lease-init, lease-version, lease-upgrade) were + renamed to better reflect the fact that the database can store much more + than just leases. They're now called db-init, db-version, db-upgrade. + * The Logging entry in the configuration file has moved to specific + daemon sections. This require a simple configuration file modification. + You need to move Logging entry from its global scope into the Dhcp4, + Dhcp6, DhcpDdns, Control-agent or Netconf scope. + +Please see 1.6 migration wiki +https://gitlab.isc.org/isc-projects/kea/wikis/migrating-to-kea-1.6 + +For release notes, see +https://ftp.isc.org/isc/kea/1.6.0-beta2/Kea160beta2ReleaseNotes.txt + +- Fix building of perfdhcp +- Enable building of kea-shell +- Update sonames of all affected libraries and ship only libraries, + allowing `ldconfig` to actually make the symlinks +- Rework spec file to abstract soversions + ------------------------------------------------------------------- Fri Dec 28 23:05:17 UTC 2018 - mardnh@gmx.de diff --git a/kea.spec b/kea.spec index 70b8efe..b7f3f4a 100644 --- a/kea.spec +++ b/kea.spec @@ -15,6 +15,28 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%define asiodns_sover 0 +%define asiolink_sover 7 +%define cc_sover 8 +%define cfgclient_sover 7 +%define cryptolink_sover 4 +%define database_sover 3 +%define dhcppp_sover 13 +%define dhcp_ddns_sover 1 +%define dhcpsrv_sover 16 +%define dnspp_sover 3 +%define eval_sover 10 +%define exceptions_sover 0 +%define hooks_sover 7 +%define http_sover 6 +%define log_sover 3 +%define mysql_sover 1 +%define pgsql_sover 0 +%define process_sover 4 +%define stats_sover 3 +%define threads_sover 2 +%define util_io_sover 0 +%define util_sover 6 %if 0%{?suse_version} >= 1500 %bcond_without regen_files @@ -22,7 +44,7 @@ %bcond_with regen_files %endif Name: kea -Version: 1.5.0 +Version: 1.6.0~beta2 Release: 0 Summary: Dynamic Host Configuration Protocol daemon License: MPL-2.0 @@ -35,12 +57,13 @@ Source2: http://ftp.isc.org/isc/kea/%version/kea-%version.tar.gz.asc Source3: kea.keyring BuildRequires: autoconf >= 2.59 BuildRequires: automake +BuildRequires: freeradius-server-devel BuildRequires: gcc-c++ BuildRequires: libmysqlclient-devel BuildRequires: libtool >= 2 BuildRequires: log4cplus-devel BuildRequires: pkgconfig >= 0.23 -BuildRequires: postgresql-devel +BuildRequires: postgresql-server-devel BuildRequires: xz BuildRequires: pkgconfig(libcrypto) Requires(pre): shadow @@ -60,6 +83,8 @@ BuildRequires: boost-devel %if 0%{?suse_version} >= 1310 BuildRequires: systemd-rpm-macros %endif +BuildRequires: python-rpm-macros +BuildRequires: python3 %description Kea is a new DHCPv4/DHCPv6 server being developed by ISC in C++, a @@ -76,36 +101,36 @@ Group: System/Libraries A standard set of external libraries used to provide additional functionality for Kea DHCP server -%package -n libkea-asiodns0 +%package -n libkea-asiodns%{asiodns_sover} Summary: Kea DHCP server asiolink abstraction layer library Group: System/Libraries -%description -n libkea-asiodns0 +%description -n libkea-asiodns%{asiodns_sover} The asiodns library provides an abstraction layer between BIND10/Kea modules and the asiolink library. -%package -n libkea-asiolink7 +%package -n libkea-asiolink%{asiolink_sover} Summary: Kea DHCP server socket I/O abstraction layer library Group: System/Libraries -%description -n libkea-asiolink7 +%description -n libkea-asiolink%{asiolink_sover} The asiolink library provides an abstraction layer between BIND10/Kea modules and the socket I/O subsystem Kea is using (currently, boost::asio). -%package -n libkea-cc7 +%package -n libkea-cc%{cc_sover} Summary: Kea DHCP server command channel library Group: System/Libraries -%description -n libkea-cc7 +%description -n libkea-cc%{cc_sover} libkea-cc is used for the control channel protocol between keactrl and the server. -%package -n libkea-cfgclient6 +%package -n libkea-cfgclient%{cfgclient_sover} Summary: Kea DHCP server configuration client library Group: System/Libraries -%description -n libkea-cfgclient6 +%description -n libkea-cfgclient%{cfgclient_sover} The Kea DHCP server can be managed at runtime via the Control Channel. The CC allows an external entity (e.g. a tool run by a sysadmin or a script) to issue commands to the server which can @@ -114,28 +139,28 @@ envisioned are: reconfiguration, statistics retrieval and manipulation, and shutdown. Communication over the Control Channel is conducted using JSON -structures. The CC is a UNIX stream socket as of kea 0.9.2. +structures. -%package -n libkea-cryptolink4 +%package -n libkea-cryptolink%{cryptolink_sover} Summary: Kea DHCP server crypto abstraction layer library Group: System/Libraries -%description -n libkea-cryptolink4 +%description -n libkea-cryptolink%{cryptolink_sover} The Kea cryptolink library is an abstraction layer for crypto library backends (such as Botan, OpenSSL). -%package -n libkea-database1 +%package -n libkea-database%{database_sover} Summary: Kea database abstraction library Group: System/Library -%description -n libkea-database1 +%description -n libkea-database%{database_sover} Kea's database abstraction library. -%package -n libkea-dhcp++11 +%package -n libkea-dhcp++%{dhcppp_sover} Summary: Kea DHCP library Group: System/Libraries -%description -n libkea-dhcp++11 +%description -n libkea-dhcp++%{dhcppp_sover} libdhcp++ is an all-purpose DHCP-manipulation library, written in C++. It offers packet parsing and assembly, DHCPv4 and DHCPv6 options parsing and assembly, interface detection, and socket operations It @@ -143,53 +168,53 @@ can be used by server, client, relay, performance tools and other DHCP-related tools. For a server-specific library, see libkea-dhcpsrv. -%package -n libkea-dhcp_ddns1 +%package -n libkea-dhcp_ddns%{dhcp_ddns_sover} Summary: Kea DHCP Dynamic DNS library Group: System/Libraries -%description -n libkea-dhcp_ddns1 +%description -n libkea-dhcp_ddns%{dhcp_ddns_sover} This is a library of classes for sending and receiving requests used by ISC's DHCP-DDNS (aka D2) service to carry out DHCP-driven DNS updates. -%package -n libkea-dhcpsrv14 +%package -n libkea-dhcpsrv%{dhcpsrv_sover} Summary: Kea DHCP server component library Group: System/Libraries -%description -n libkea-dhcpsrv14 +%description -n libkea-dhcpsrv%{dhcpsrv_sover} This library contains code used for the DHCPv4 and DHCPv6 servers' operations, including the "Lease Manager" that manages information about leases and the "Configuration Manager" that stores the servers' configuration etc. -%package -n libkea-dns++3 +%package -n libkea-dns++%{dnspp_sover} Summary: Kea DHCP server component library Group: System/Libraries -%description -n libkea-dns++3 +%description -n libkea-dns++%{dnspp_sover} One of the many libraries the Kea DHCP server is composed of. -%package -n libkea-eval10 +%package -n libkea-eval%{eval_sover} Summary: Kea DHCP expression evaluation library Group: System/Libraries -%description -n libkea-eval10 +%description -n libkea-eval%{eval_sover} The core of the libeval library is a parser that is able to parse an expression (e.g. option[123].text == 'APC'). This is currently used for client classification. -%package -n libkea-exceptions0 +%package -n libkea-exceptions%{exceptions_sover} Summary: Kea DHCP server component library Group: System/Libraries -%description -n libkea-exceptions0 +%description -n libkea-exceptions%{exceptions_sover} One of the many libraries the Kea DHCP server is composed of. -%package -n libkea-hooks7 +%package -n libkea-hooks%{hooks_sover} Summary: Kea DHCP server hook library Group: System/Libraries -%description -n libkea-hooks7 +%description -n libkea-hooks%{hooks_sover} The hooks framework is a Kea system that simplifies the way that users can write code to modify the behavior of Kea. Instead of altering the Kea source code, they write functions that are compiled @@ -200,100 +225,108 @@ processing, the component "calls out" to functions in the library, passing to them the data is it currently working on. They can examine and modify the data as required. -%package -n libkea-http4 +%package -n libkea-http%{http_sover} Summary: Kea DHCP http communication library Group: System/Libraries -%description -n libkea-http4 +%description -n libkea-http%{http_sover} This library is used by Control Agent to establish HTTP connections, receive messages and send responses over HTTP. This library uses boost ASIO for creating TCP connections and asynchronously receive and send the data over the sockets. -%package -n libkea-log3 +%package -n libkea-log%{log_sover} Summary: Kea DHCP logging system library Group: System/Libraries -%description -n libkea-log3 +%description -n libkea-log%{log_sover} This library contains the Kea logging system, which is based on the log4J logging system common in Java development, and includes the following ideas: a set of severity levels; a hierarchy of logging sources; separation of message use from message text. -%package -n libkea-mysql0 +%package -n libkea-mysql%{mysql_sover} Summary: Kea MySQL database library Group: System/Library -%description -n libkea-mysql0 +%description -n libkea-mysql%{mysql_sover} Kea's database library for MySQL. -%package -n libkea-pgsql0 +%package -n libkea-pgsql%{pgsql_sover} Summary: Kea PostgreSQL database library Group: System/Library -%description -n libkea-pgsql0 +%description -n libkea-pgsql%{pgsql_sover} Kea's database library for PostgreSQL. -%package -n libkea-process3 +%package -n libkea-process%{process_sover} Summary: Kea DHCP process abstraction library Group: System/Libraries -%description -n libkea-process3 +%description -n libkea-process%{process_sover} One of the many libraries the Kea DHCP server is composed of. -%package -n libkea-stats2 +%package -n libkea-stats%{stats_sover} Summary: Kea DHCP Statistics Manager library Group: System/Libraries -%description -n libkea-stats2 +%description -n libkea-stats%{stats_sover} One of the many libraries the Kea DHCP server is composed of. -%package -n libkea-threads2 +%package -n libkea-threads%{threads_sover} Summary: Kea DHCP thread abstraction library Group: System/Libraries -%description -n libkea-threads2 +%description -n libkea-threads%{threads_sover} Kea's C++ wrapper library for pthreads and mutexes. -%package -n libkea-util-io0 +%package -n libkea-util-io%{util_io_sover} Summary: Kea I/O utility function library Group: System/Library -%description -n libkea-util-io0 +%description -n libkea-util-io%{util_io_sover} One of the many libraries the Kea DHCP server is composed of. -%package -n libkea-util5 +%package -n libkea-util%{util_sover} Summary: Kea utility function library Group: System/Library -%description -n libkea-util5 +%description -n libkea-util%{util_sover} One of the many libraries the Kea DHCP server is composed of. +%package -n python3-kea +Summary: Python interface to Kea DHCP server +Group: Python + +%description -n python3-kea +Python3 interface to ISC Kea DHCP server. + + %package devel Summary: Development files for the Kea DHCP server Group: Development/Libraries/C and C++ -Requires: libkea-asiodns0 = %version -Requires: libkea-asiolink7 = %version -Requires: libkea-cc7 = %version -Requires: libkea-cfgclient6 = %version -Requires: libkea-cryptolink4 = %version -Requires: libkea-database1 = %version -Requires: libkea-dhcp++11 = %version -Requires: libkea-dhcp_ddns1 = %version -Requires: libkea-dhcpsrv14 = %version -Requires: libkea-dns++3 = %version -Requires: libkea-eval10 = %version -Requires: libkea-exceptions0 = %version -Requires: libkea-hooks7 = %version -Requires: libkea-http4 = %version -Requires: libkea-log3 = %version -Requires: libkea-mysql0 = %version -Requires: libkea-pgsql0 = %version -Requires: libkea-process3 = %version -Requires: libkea-stats2 = %version -Requires: libkea-threads2 = %version -Requires: libkea-util-io0 = %version -Requires: libkea-util5 = %version +Requires: libkea-asiodns%{asiodns_sover} = %version +Requires: libkea-asiolink%{asiolink_sover} = %version +Requires: libkea-cc%{cc_sover} = %version +Requires: libkea-cfgclient%{cfgclient_sover} = %version +Requires: libkea-cryptolink%{cryptolink_sover} = %version +Requires: libkea-database%{database_sover} = %version +Requires: libkea-dhcp++%{dhcppp_sover} = %version +Requires: libkea-dhcp_ddns%{dhcp_ddns_sover} = %version +Requires: libkea-dhcpsrv%{dhcpsrv_sover} = %version +Requires: libkea-dns++%{dnspp_sover} = %version +Requires: libkea-eval%{eval_sover} = %version +Requires: libkea-exceptions%{exceptions_sover} = %version +Requires: libkea-hooks%{hooks_sover} = %version +Requires: libkea-http%{http_sover} = %version +Requires: libkea-log%{log_sover} = %version +Requires: libkea-mysql%{mysql_sover} = %version +Requires: libkea-pgsql%{pgsql_sover} = %version +Requires: libkea-process%{process_sover} = %version +Requires: libkea-stats%{stats_sover} = %version +Requires: libkea-threads%{threads_sover} = %version +Requires: libkea-util-io%{util_io_sover} = %version +Requires: libkea-util%{util_sover} = %version # Bundy DHCP and Kea share the same origin, so conflict Conflicts: otheproviders(pkgconfig(dns++)) @@ -301,9 +334,12 @@ Conflicts: otheproviders(pkgconfig(dns++)) Development files for the Kea DHCP server %prep -%setup -q +%setup -q -n kea-1.6.0-beta2 %build +export FREERADIUS_INCLUDE=/usr/include/freeradius +export FREERADIUS_LIB= +export FREERADIUS_DICTIONARY= autoreconf -fi %configure \ --disable-rpath \ @@ -314,7 +350,9 @@ autoreconf -fi %endif --enable-logger-checks \ --with-dhcp-mysql \ - --with-dhcp-pgsql + --with-dhcp-pgsql \ + --enable-perfdhcp \ + --enable-shell make %{?_smp_mflags} %install @@ -341,11 +379,18 @@ EOF cat <<-EOF >"$b/%_prefix/lib/tmpfiles.d/kea.conf" d /run/kea 0775 keadhcp keadhcp - EOF -perl -i -pe 's{%_localstatedir/run}{/run};s{%_localstatedir/log/kea-}{%_localstatedir/log/kea/}' \ + +perl -i -pe 's{%_localstatedir/log/kea-}{%_localstatedir/log/kea/}' \ "$b/%_sysconfdir/kea"/*.conf + + mkdir -p "$b%_localstatedir/log/kea" ln -s "%_sbindir/service" "%buildroot/%_sbindir/rc%name" +# Remove unnecessary files +find %buildroot%_libdir -name "*.so.*" -type l -delete +rm -rf %buildroot%python3_sitelib/kea/__pycache__ + %pre getent group keadhcp >/dev/null || groupadd -r keadhcp getent passwd keadhcp >/dev/null || useradd -r -N -M -g keadhcp \ @@ -363,57 +408,56 @@ systemd-tmpfiles --create kea.conf || : %postun %service_del_postun kea.service -%post -n libkea-asiodns0 -p /sbin/ldconfig -%postun -n libkea-asiodns0 -p /sbin/ldconfig -%post -n libkea-asiolink7 -p /sbin/ldconfig -%postun -n libkea-asiolink7 -p /sbin/ldconfig -%post -n libkea-cc7 -p /sbin/ldconfig -%postun -n libkea-cc7 -p /sbin/ldconfig -%post -n libkea-cfgclient6 -p /sbin/ldconfig -%postun -n libkea-cfgclient6 -p /sbin/ldconfig -%post -n libkea-cryptolink4 -p /sbin/ldconfig -%postun -n libkea-cryptolink4 -p /sbin/ldconfig -%post -n libkea-database1 -p /sbin/ldconfig -%postun -n libkea-database1 -p /sbin/ldconfig -%post -n libkea-dhcp++11 -p /sbin/ldconfig -%postun -n libkea-dhcp++11 -p /sbin/ldconfig -%post -n libkea-dhcp_ddns1 -p /sbin/ldconfig -%postun -n libkea-dhcp_ddns1 -p /sbin/ldconfig -%post -n libkea-dhcpsrv14 -p /sbin/ldconfig -%postun -n libkea-dhcpsrv14 -p /sbin/ldconfig -%post -n libkea-dns++3 -p /sbin/ldconfig -%postun -n libkea-dns++3 -p /sbin/ldconfig -%post -n libkea-eval10 -p /sbin/ldconfig -%postun -n libkea-eval10 -p /sbin/ldconfig -%post -n libkea-exceptions0 -p /sbin/ldconfig -%postun -n libkea-exceptions0 -p /sbin/ldconfig -%post -n libkea-hooks7 -p /sbin/ldconfig -%postun -n libkea-hooks7 -p /sbin/ldconfig -%post -n libkea-http4 -p /sbin/ldconfig -%postun -n libkea-http4 -p /sbin/ldconfig -%post -n libkea-log3 -p /sbin/ldconfig -%postun -n libkea-log3 -p /sbin/ldconfig -%post -n libkea-mysql0 -p /sbin/ldconfig -%postun -n libkea-mysql0 -p /sbin/ldconfig -%post -n libkea-pgsql0 -p /sbin/ldconfig -%postun -n libkea-pgsql0 -p /sbin/ldconfig -%post -n libkea-process3 -p /sbin/ldconfig -%postun -n libkea-process3 -p /sbin/ldconfig -%post -n libkea-stats2 -p /sbin/ldconfig -%postun -n libkea-stats2 -p /sbin/ldconfig -%post -n libkea-threads2 -p /sbin/ldconfig -%postun -n libkea-threads2 -p /sbin/ldconfig -%post -n libkea-util-io0 -p /sbin/ldconfig -%postun -n libkea-util-io0 -p /sbin/ldconfig -%post -n libkea-util5 -p /sbin/ldconfig -%postun -n libkea-util5 -p /sbin/ldconfig +%post -n libkea-asiodns%{asiodns_sover} -p /sbin/ldconfig +%postun -n libkea-asiodns%{asiodns_sover} -p /sbin/ldconfig +%post -n libkea-asiolink%{asiolink_sover} -p /sbin/ldconfig +%postun -n libkea-asiolink%{asiolink_sover} -p /sbin/ldconfig +%post -n libkea-cc%{cc_sover} -p /sbin/ldconfig +%postun -n libkea-cc%{cc_sover} -p /sbin/ldconfig +%post -n libkea-cfgclient%{cfgclient_sover} -p /sbin/ldconfig +%postun -n libkea-cfgclient%{cfgclient_sover} -p /sbin/ldconfig +%post -n libkea-cryptolink%{cryptolink_sover} -p /sbin/ldconfig +%postun -n libkea-cryptolink%{cryptolink_sover} -p /sbin/ldconfig +%post -n libkea-database%{database_sover} -p /sbin/ldconfig +%postun -n libkea-database%{database_sover} -p /sbin/ldconfig +%post -n libkea-dhcp++%{dhcppp_sover} -p /sbin/ldconfig +%postun -n libkea-dhcp++%{dhcppp_sover} -p /sbin/ldconfig +%post -n libkea-dhcp_ddns%{dhcp_ddns_sover} -p /sbin/ldconfig +%postun -n libkea-dhcp_ddns%{dhcp_ddns_sover} -p /sbin/ldconfig +%post -n libkea-dhcpsrv%{dhcpsrv_sover} -p /sbin/ldconfig +%postun -n libkea-dhcpsrv%{dhcpsrv_sover} -p /sbin/ldconfig +%post -n libkea-dns++%{dnspp_sover} -p /sbin/ldconfig +%postun -n libkea-dns++%{dnspp_sover} -p /sbin/ldconfig +%post -n libkea-eval%{eval_sover} -p /sbin/ldconfig +%postun -n libkea-eval%{eval_sover} -p /sbin/ldconfig +%post -n libkea-exceptions%{exceptions_sover} -p /sbin/ldconfig +%postun -n libkea-exceptions%{exceptions_sover} -p /sbin/ldconfig +%post -n libkea-hooks%{hooks_sover} -p /sbin/ldconfig +%postun -n libkea-hooks%{hooks_sover} -p /sbin/ldconfig +%post -n libkea-http%{http_sover} -p /sbin/ldconfig +%postun -n libkea-http%{http_sover} -p /sbin/ldconfig +%post -n libkea-log%{log_sover} -p /sbin/ldconfig +%postun -n libkea-log%{log_sover} -p /sbin/ldconfig +%post -n libkea-mysql%{mysql_sover} -p /sbin/ldconfig +%postun -n libkea-mysql%{mysql_sover} -p /sbin/ldconfig +%post -n libkea-pgsql%{pgsql_sover} -p /sbin/ldconfig +%postun -n libkea-pgsql%{pgsql_sover} -p /sbin/ldconfig +%post -n libkea-process%{process_sover} -p /sbin/ldconfig +%postun -n libkea-process%{process_sover} -p /sbin/ldconfig +%post -n libkea-stats%{stats_sover} -p /sbin/ldconfig +%postun -n libkea-stats%{stats_sover} -p /sbin/ldconfig +%post -n libkea-threads%{threads_sover} -p /sbin/ldconfig +%postun -n libkea-threads%{threads_sover} -p /sbin/ldconfig +%post -n libkea-util-io%{util_io_sover} -p /sbin/ldconfig +%postun -n libkea-util-io%{util_io_sover} -p /sbin/ldconfig +%post -n libkea-util%{util_sover} -p /sbin/ldconfig +%postun -n libkea-util%{util_sover} -p /sbin/ldconfig %files %dir %_sysconfdir/kea %config(noreplace) %_sysconfdir/kea/*.conf %_datadir/doc/kea/ %_mandir/man8/*.8* -%_bindir/kea* %_sbindir/rckea %_sbindir/kea* %_sbindir/perfdhcp @@ -421,83 +465,88 @@ systemd-tmpfiles --create kea.conf || : %_unitdir/*.service %_prefix/lib/tmpfiles.d/ %attr(0775,keadhcp,keadhcp) %_localstatedir/log/kea/ -%ghost %dir %_rundir/%name +# %ghost %dir %_rundir/%name %files hooks -%dir %_libdir/hooks -%_libdir/hooks/libdhcp_stat_cmds.so -%_libdir/hooks/libdhcp_lease_cmds.so -%_libdir/hooks/libdhcp_ha.so +%dir %_libdir/kea +%dir %_libdir/kea/hooks +%_libdir/kea/hooks/libdhcp_stat_cmds.so +%_libdir/kea/hooks/libdhcp_lease_cmds.so +%_libdir/kea/hooks/libdhcp_ha.so +%_libdir/kea/hooks/libdhcp_mysql_cb.so -%files -n libkea-asiodns0 -%_libdir/libkea-asiodns.so.0* +%files -n libkea-asiodns%{asiodns_sover} +%_libdir/libkea-asiodns.so.%{asiodns_sover}.* -%files -n libkea-asiolink7 -%_libdir/libkea-asiolink.so.7* +%files -n libkea-asiolink%{asiolink_sover} +%_libdir/libkea-asiolink.so.%{asiolink_sover}.* -%files -n libkea-cc7 -%_libdir/libkea-cc.so.7* +%files -n libkea-cc%{cc_sover} +%_libdir/libkea-cc.so.%{cc_sover}.* -%files -n libkea-cfgclient6 -%_libdir/libkea-cfgclient.so.6* +%files -n libkea-cfgclient%{cfgclient_sover} +%_libdir/libkea-cfgclient.so.%{cfgclient_sover}.* -%files -n libkea-cryptolink4 -%_libdir/libkea-cryptolink.so.4* +%files -n libkea-cryptolink%{cryptolink_sover} +%_libdir/libkea-cryptolink.so.%{cryptolink_sover}.* -%files -n libkea-database1 -%_libdir/libkea-database.so.1* +%files -n libkea-database%{database_sover} +%_libdir/libkea-database.so.%{database_sover}.* -%files -n libkea-dhcp++11 -%_libdir/libkea-dhcp++.so.11* +%files -n libkea-dhcp++%{dhcppp_sover} +%_libdir/libkea-dhcp++.so.%{dhcppp_sover}.* -%files -n libkea-dhcp_ddns1 -%_libdir/libkea-dhcp_ddns.so.1* +%files -n libkea-dhcp_ddns%{dhcp_ddns_sover} +%_libdir/libkea-dhcp_ddns.so.%{dhcp_ddns_sover}.* -%files -n libkea-dhcpsrv14 -%_libdir/libkea-dhcpsrv.so.14* +%files -n libkea-dhcpsrv%{dhcpsrv_sover} +%_libdir/libkea-dhcpsrv.so.%{dhcpsrv_sover}.* -%files -n libkea-dns++3 -%_libdir/libkea-dns++.so.3* +%files -n libkea-dns++%{dnspp_sover} +%_libdir/libkea-dns++.so.%{dnspp_sover}.* -%files -n libkea-eval10 -%_libdir/libkea-eval.so.10* +%files -n libkea-eval%{eval_sover} +%_libdir/libkea-eval.so.%{eval_sover}.* -%files -n libkea-exceptions0 -%_libdir/libkea-exceptions.so.0* +%files -n libkea-exceptions%{exceptions_sover} +%_libdir/libkea-exceptions.so.%{exceptions_sover}.* -%files -n libkea-hooks7 -%_libdir/libkea-hooks.so.7* +%files -n libkea-hooks%{hooks_sover} +%_libdir/libkea-hooks.so.%{hooks_sover}.* -%files -n libkea-http4 -%_libdir/libkea-http.so.4* +%files -n libkea-http%{http_sover} +%_libdir/libkea-http.so.%{http_sover}.* -%files -n libkea-log3 -%_libdir/libkea-log.so.3* +%files -n libkea-log%{log_sover} +%_libdir/libkea-log.so.%{log_sover}.* -%files -n libkea-mysql0 -%_libdir/libkea-mysql.so.0* +%files -n libkea-mysql%{mysql_sover} +%_libdir/libkea-mysql.so.%{mysql_sover}.* -%files -n libkea-pgsql0 -%_libdir/libkea-pgsql.so.0* +%files -n libkea-pgsql%{pgsql_sover} +%_libdir/libkea-pgsql.so.%{pgsql_sover}.* -%files -n libkea-process3 -%_libdir/libkea-process.so.3* +%files -n libkea-process%{process_sover} +%_libdir/libkea-process.so.%{process_sover}.* -%files -n libkea-stats2 -%_libdir/libkea-stats.so.2* +%files -n libkea-stats%{stats_sover} +%_libdir/libkea-stats.so.%{stats_sover}.* -%files -n libkea-threads2 -%_libdir/libkea-threads.so.2* +%files -n libkea-threads%{threads_sover} +%_libdir/libkea-threads.so.%{threads_sover}.* -%files -n libkea-util-io0 -%_libdir/libkea-util-io.so.0* +%files -n libkea-util-io%{util_io_sover} +%_libdir/libkea-util-io.so.%{util_io_sover}.* -%files -n libkea-util5 -%_libdir/libkea-util.so.5* +%files -n libkea-util%{util_sover} +%_libdir/libkea-util.so.%{util_sover}.* + +%files -n python3-kea +%dir %python3_sitelib/kea +%python3_sitelib/kea/*.py %files devel %_includedir/kea/ -%_libdir/pkgconfig/*.pc %_libdir/libkea*.so %changelog