Update to release 3.0.0 #6
BIN
kea-2.6.3.tar.gz
(Stored with Git LFS)
BIN
kea-2.6.3.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,16 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQIzBAABCgAdFiEEAlmjO19aOkRmzzRcel4ITKylGIQFAmgvfDoACgkQel4ITKyl
|
|
||||||
GIQKQA/9ExKLzofEhdch9eE9gcRVth2RehqbrJdVE0iPZOGZFnbSKe6KUleyPOgt
|
|
||||||
g6kympVGO+8ZHbu5BBMc29SpsBXSTAm79ZvLiHVM4EjWaTH0uqZgb3HyNrloIYzX
|
|
||||||
QW5/TtXVCdDHreH7Giy+Bx3303aMEu2H+hlQpCl2a2LbsvqI9Tv9ytymdHyNWfUy
|
|
||||||
yCwPzUdE8mi+KJdE0XE/pibZrI1UaQdfsg/ZmLzho3nGbaWMrvbTIgcuqYtTCD+S
|
|
||||||
Dodv/Bx195rHhecOQ1liNWwAxkeB+9Um6YCstvbpON3uwnwVp+e3T60rHVg5SGqe
|
|
||||||
66Un7WME5wVZ7nOg1XBijSK7BmyGucPGA+/IBWAdjpU+m7gb2M6quTs6Elyf6p53
|
|
||||||
AdIq0UX0nN9eo8wa+bme71JOzFive9iR9RtnNhaus6IeMB6lSH7kmrXnDXK2EQQe
|
|
||||||
x53bYPe+yFL6QeWSFTxlIDj77fqcN9vI20zRkDvWdyG83VzZP6tOS7JTR3dJoToM
|
|
||||||
4GTRdkJ3maUV/gujx3hR41b1EknlcFW3LUEVV0NqdlU1Qy9fOh/mLwFosuaOPSYx
|
|
||||||
4WFuT5aIScS7bxQqPSBQ/h2Xn63oUuTch08eGMuTtMs+TdkQuhciXKXpYE3lt1sW
|
|
||||||
8NNI0M4HqaviUu9SaVg1aGAvJ8pFJQjI8YR9NrK2O3mTcAprNPA=
|
|
||||||
=inHP
|
|
||||||
-----END PGP SIGNATURE-----
|
|
BIN
kea-3.0.0.tar.xz
(Stored with Git LFS)
Normal file
BIN
kea-3.0.0.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
16
kea-3.0.0.tar.xz.asc
Normal file
16
kea-3.0.0.tar.xz.asc
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEECQoqB5I/kltXZ4A6QuXfeMgycdsFAmhbvsIACgkQQuXfeMgy
|
||||||
|
cdtPVQ//WuPtFbsJ1jEPdjiwue23yo0zCWnc8CTLTs3sNSBuYHklihYZfhEvKzW6
|
||||||
|
/NhACkJ96BP9x79/kASWTnACRAhqTGXLAmk2qJ1U1js6oJ6/sYigFpyx2SdZxo6V
|
||||||
|
fY1wybDa4G4FqJ/nCzOPewD7zeJHrUyViz/YE+LyAn3XROlp0LFJygKCw7IqjaHz
|
||||||
|
CeFpD3fh9X/oqxM8H1OjKt6hpxFlY7eRKB9bjvEbxQbmyh8m9dEMD7V8nVK6SrWZ
|
||||||
|
icArFP3FhwTgRRjLylgXSRc9zsujAbWtiPmL9dYTew01w4dXs2xni8MuUHbr73X0
|
||||||
|
xBNCMtu28bIrOcA6sds+ZCJ0/dclJdXJqI5UgxoRtt7ZrboR3uxtjoiYYN4oWD8E
|
||||||
|
CmXFwjb2++MmCv1ZQQU0ZsoVoe+nKI0/9AFWQe4jjWt5WfwX8Hhxhp5cc43bSito
|
||||||
|
MKOGnEijm9xaixxwKDeuIBo1LcS0adRV2iY60OWJcyT4ZRVzdu2jpl2AXwwaIwKA
|
||||||
|
Zb3U3EizlUnM6r8Ih1MZmquV2FSCkhvhKcSarR8g76M5s1NadzwB/5+p7+fiSXXA
|
||||||
|
x4ssHWf37uU3rI8v4cW54ZvmZK/MqvY50JF+HYRpDS2rXHf49Sq8u7YmtigYCqy/
|
||||||
|
MMmQniZVnutF+d8akuLILIOCO30Pvwe0w0nD7y/ZFke3V+HiZFU=
|
||||||
|
=6qEE
|
||||||
|
-----END PGP SIGNATURE-----
|
@@ -9,6 +9,7 @@ User=keadhcp
|
|||||||
Environment=KEA_PIDFILE_DIR=/run/kea
|
Environment=KEA_PIDFILE_DIR=/run/kea
|
||||||
RuntimeDirectory=kea
|
RuntimeDirectory=kea
|
||||||
RuntimeDirectoryMode=0750
|
RuntimeDirectoryMode=0750
|
||||||
|
RuntimeDirectoryPreserve=yes
|
||||||
ExecStart=/usr/sbin/kea-ctrl-agent -c /etc/kea/kea-ctrl-agent.conf
|
ExecStart=/usr/sbin/kea-ctrl-agent -c /etc/kea/kea-ctrl-agent.conf
|
||||||
ExecReload=kill -HUP $MAINPID
|
ExecReload=kill -HUP $MAINPID
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
|
@@ -10,6 +10,7 @@ AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|||||||
Environment=KEA_PIDFILE_DIR=/run/kea
|
Environment=KEA_PIDFILE_DIR=/run/kea
|
||||||
RuntimeDirectory=kea
|
RuntimeDirectory=kea
|
||||||
RuntimeDirectoryMode=0750
|
RuntimeDirectoryMode=0750
|
||||||
|
RuntimeDirectoryPreserve=yes
|
||||||
ExecStart=/usr/sbin/kea-dhcp-ddns -c /etc/kea/kea-dhcp-ddns.conf
|
ExecStart=/usr/sbin/kea-dhcp-ddns -c /etc/kea/kea-dhcp-ddns.conf
|
||||||
ExecReload=kill -HUP $MAINPID
|
ExecReload=kill -HUP $MAINPID
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
|
@@ -10,6 +10,7 @@ AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW
|
|||||||
Environment=KEA_PIDFILE_DIR=/run/kea
|
Environment=KEA_PIDFILE_DIR=/run/kea
|
||||||
RuntimeDirectory=kea
|
RuntimeDirectory=kea
|
||||||
RuntimeDirectoryMode=0750
|
RuntimeDirectoryMode=0750
|
||||||
|
RuntimeDirectoryPreserve=yes
|
||||||
ExecStart=/usr/sbin/kea-dhcp4 -c /etc/kea/kea-dhcp4.conf
|
ExecStart=/usr/sbin/kea-dhcp4 -c /etc/kea/kea-dhcp4.conf
|
||||||
ExecReload=kill -HUP $MAINPID
|
ExecReload=kill -HUP $MAINPID
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
|
@@ -10,6 +10,7 @@ AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|||||||
Environment=KEA_PIDFILE_DIR=/run/kea
|
Environment=KEA_PIDFILE_DIR=/run/kea
|
||||||
RuntimeDirectory=kea
|
RuntimeDirectory=kea
|
||||||
RuntimeDirectoryMode=0750
|
RuntimeDirectoryMode=0750
|
||||||
|
RuntimeDirectoryPreserve=yes
|
||||||
ExecStart=/usr/sbin/kea-dhcp6 -c /etc/kea/kea-dhcp6.conf
|
ExecStart=/usr/sbin/kea-dhcp6 -c /etc/kea/kea-dhcp6.conf
|
||||||
ExecReload=kill -HUP $MAINPID
|
ExecReload=kill -HUP $MAINPID
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
|
54
kea.changes
54
kea.changes
@@ -1,3 +1,57 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 1 09:28:14 UTC 2025 - Jorik Cronenberg <jorik.cronenberg@suse.com>
|
||||||
|
|
||||||
|
- Update to release 3.0.0
|
||||||
|
Noteworthy changes:
|
||||||
|
* Lease caching is now enabled by default.
|
||||||
|
* The control-socket.socket-name and control-socket.socket-type
|
||||||
|
parameters have been removed from the CB.
|
||||||
|
* Kea now rejects certain default passwords. If you copied your
|
||||||
|
Kea configuration from the examples in our documentation using
|
||||||
|
our sample password, change your password to a unique value.
|
||||||
|
* The kea-control-agent is now deprecated. The individual Kea
|
||||||
|
services support HTTP/HTTPS control channels, so the Control
|
||||||
|
Agent (CA) is no longer needed. The CA is still available but
|
||||||
|
will be removed in a future release.
|
||||||
|
* The precedence of options specified in a template class and its
|
||||||
|
spawned classes has been reversed. An option specified in a
|
||||||
|
spawned class now takes precedence over the same option
|
||||||
|
specified in the template class.
|
||||||
|
* The only-if-required and require-client-classes were renamed to
|
||||||
|
only-in-additional-list and evaluate-additional-classes.
|
||||||
|
* Classes included in require-client-classes (now called
|
||||||
|
evaluate-additional-classes) that do not have test expressions
|
||||||
|
will now be unconditionally added to a client's list of
|
||||||
|
matching classes; previously, they were ignored.
|
||||||
|
* Additional classes are now evaluated in the same order as
|
||||||
|
option-data, i.e. pools, subnets, and shared networks. In
|
||||||
|
earlier versions, the order was reversed.
|
||||||
|
* It is now possible to define multiple client classes when
|
||||||
|
limiting access to networks, subnets, and pools. The parameter
|
||||||
|
client-class (a single class name) has been replaced with
|
||||||
|
client-classes (a list of one or more class names). The older
|
||||||
|
syntax is still accepted but is now deprecated and will be
|
||||||
|
removed in the future. You cannot specify both client-class and
|
||||||
|
client-classes within the same scope.
|
||||||
|
* Options name value pairs specified in option-data have a new
|
||||||
|
parameter available: client-classes. This allows the
|
||||||
|
administrator to place a guard on the option requiring
|
||||||
|
membership in a class or classes before that particular option
|
||||||
|
data will be added to the packet. This is intended as a
|
||||||
|
powerful mechanism to bring back some of the functionality from
|
||||||
|
the conditional (if) statements that were widely used in ISC
|
||||||
|
DHCP. See Option Class-Tagging in the ARM for further
|
||||||
|
information.
|
||||||
|
* The build system has been switched to meson.
|
||||||
|
|
||||||
|
Further detailed information of all changes is available at
|
||||||
|
https://gitlab.isc.org/isc-projects/kea/-/wikis/Release-Notes/release-notes-3.0.0
|
||||||
|
and
|
||||||
|
https://kb.isc.org/docs/things-to-be-aware-of-when-upgrading-to-kea-300
|
||||||
|
|
||||||
|
- Set RuntimeDirectoryPreserve=yes in services to prevent deletion
|
||||||
|
of RuntimeDirectory when one service gets stopped.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 16 12:27:37 UTC 2025 - Jorik Cronenberg <jorik.cronenberg@suse.com>
|
Mon Jun 16 12:27:37 UTC 2025 - Jorik Cronenberg <jorik.cronenberg@suse.com>
|
||||||
|
|
||||||
|
222
kea.spec
222
kea.spec
@@ -16,36 +16,33 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define asiodns_sover 49
|
%define asiodns_sover 62
|
||||||
%define asiolink_sover 72
|
%define asiolink_sover 87
|
||||||
%define cc_sover 68
|
%define cc_sover 82
|
||||||
%define cfgclient_sover 66
|
%define cfgrpt_sover 3
|
||||||
%define cryptolink_sover 50
|
%define config_sover 83
|
||||||
%define d2srv_sover 47
|
%define cryptolink_sover 63
|
||||||
%define database_sover 62
|
%define d2srv_sover 63
|
||||||
%define dhcppp_sover 92
|
%define database_sover 76
|
||||||
%define dhcp_ddns_sover 57
|
%define dhcp_sover 109
|
||||||
%define dhcpsrv_sover 111
|
%define dhcp_ddns_sover 68
|
||||||
%define dnspp_sover 57
|
%define dhcpsrv_sover 129
|
||||||
%define eval_sover 69
|
%define dns_sover 71
|
||||||
%define exceptions_sover 33
|
%define eval_sover 84
|
||||||
%define hooks_sover 100
|
%define exceptions_sover 45
|
||||||
%define http_sover 72
|
%define hooks_sover 118
|
||||||
%define log_sover 61
|
%define http_sover 87
|
||||||
%define mysql_sover 71
|
%define log_interprocess_sover 3
|
||||||
%define pgsql_sover 71
|
%define log_sover 75
|
||||||
%define process_sover 74
|
%define mysql_sover 88
|
||||||
%define stats_sover 41
|
%define pgsql_sover 88
|
||||||
%define tcp_sover 19
|
%define process_sover 90
|
||||||
%define util_io_sover 0
|
%define stats_sover 53
|
||||||
%define util_sover 86
|
%define tcp_sover 33
|
||||||
%if 0%{?suse_version} >= 1600
|
%define util_io_sover 12
|
||||||
%bcond_without regen_files
|
%define util_sover 101
|
||||||
%else
|
|
||||||
%bcond_with regen_files
|
|
||||||
%endif
|
|
||||||
Name: kea
|
Name: kea
|
||||||
Version: 2.6.3
|
Version: 3.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Dynamic Host Configuration Protocol daemon
|
Summary: Dynamic Host Configuration Protocol daemon
|
||||||
License: MPL-2.0
|
License: MPL-2.0
|
||||||
@@ -53,19 +50,15 @@ Group: Productivity/Networking/Boot/Servers
|
|||||||
URL: https://kea.isc.org/
|
URL: https://kea.isc.org/
|
||||||
#Git-Clone: https://gitlab.isc.org/isc-projects/kea
|
#Git-Clone: https://gitlab.isc.org/isc-projects/kea
|
||||||
#Github is out of date / abandoned(?)
|
#Github is out of date / abandoned(?)
|
||||||
Source: https://ftp.isc.org/isc/kea/%version/kea-%version.tar.gz
|
Source: https://ftp.isc.org/isc/kea/%version/kea-%version.tar.xz
|
||||||
Source2: https://ftp.isc.org/isc/kea/%version/kea-%version.tar.gz.asc
|
Source2: https://ftp.isc.org/isc/kea/%version/kea-%version.tar.xz.asc
|
||||||
# https://www.isc.org/pgpkey/
|
# https://www.isc.org/pgpkey/
|
||||||
Source3: kea.keyring
|
Source3: kea.keyring
|
||||||
Source4: kea-dhcp4.service
|
Source4: kea-dhcp4.service
|
||||||
Source5: kea-dhcp6.service
|
Source5: kea-dhcp6.service
|
||||||
Source6: kea-dhcp-ddns.service
|
Source6: kea-dhcp-ddns.service
|
||||||
Source7: kea-ctrl-agent.service
|
Source7: kea-ctrl-agent.service
|
||||||
BuildRequires: autoconf >= 2.59
|
BuildRequires: meson
|
||||||
BuildRequires: automake
|
|
||||||
%if %{with regen_files}
|
|
||||||
BuildRequires: bison >= 3.3
|
|
||||||
%endif
|
|
||||||
BuildRequires: freeradius-server-devel
|
BuildRequires: freeradius-server-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libmysqlclient-devel
|
BuildRequires: libmysqlclient-devel
|
||||||
@@ -80,11 +73,9 @@ BuildRequires: python3-sphinx_rtd_theme
|
|||||||
BuildRequires: sysuser-tools
|
BuildRequires: sysuser-tools
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRequires: pkgconfig(libcrypto)
|
BuildRequires: pkgconfig(libcrypto)
|
||||||
|
BuildRequires: fdupes
|
||||||
%sysusers_requires
|
%sysusers_requires
|
||||||
Suggests: %name-hooks = %version
|
Suggests: %name-hooks = %version
|
||||||
%if %{with regen_files}
|
|
||||||
BuildRequires: flex
|
|
||||||
%endif
|
|
||||||
%if 0%{?suse_version} >= 1500
|
%if 0%{?suse_version} >= 1500
|
||||||
BuildRequires: libboost_system-devel
|
BuildRequires: libboost_system-devel
|
||||||
%else
|
%else
|
||||||
@@ -140,11 +131,20 @@ Group: System/Libraries
|
|||||||
libkea-cc is used for the control channel protocol between keactrl
|
libkea-cc is used for the control channel protocol between keactrl
|
||||||
and the server.
|
and the server.
|
||||||
|
|
||||||
%package -n libkea-cfgclient%cfgclient_sover
|
%package -n libkea-cfgrpt%cfgrpt_sover
|
||||||
|
Summary: Kea DHCP server config report library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libkea-cfgrpt%cfgrpt_sover
|
||||||
|
The cfgrpt library is used for generating configuration reports for Kea,
|
||||||
|
providing detailed JSON-formatted summaries of the server's current
|
||||||
|
configuration.
|
||||||
|
|
||||||
|
%package -n libkea-config%config_sover
|
||||||
Summary: Kea DHCP server configuration client library
|
Summary: Kea DHCP server configuration client library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libkea-cfgclient%cfgclient_sover
|
%description -n libkea-config%config_sover
|
||||||
The Kea DHCP server can be managed at runtime via the Control
|
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
|
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
|
sysadmin or a script) to issue commands to the server which can
|
||||||
@@ -177,12 +177,12 @@ Group: System/Libraries
|
|||||||
%description -n libkea-database%database_sover
|
%description -n libkea-database%database_sover
|
||||||
Kea's database abstraction library.
|
Kea's database abstraction library.
|
||||||
|
|
||||||
%package -n libkea-dhcp++%dhcppp_sover
|
%package -n libkea-dhcp%dhcp_sover
|
||||||
Summary: Kea DHCP library
|
Summary: Kea DHCP library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libkea-dhcp++%dhcppp_sover
|
%description -n libkea-dhcp%dhcp_sover
|
||||||
libdhcp++ is an all-purpose DHCP-manipulation library, written in
|
libdhcp is an all-purpose DHCP-manipulation library, written in
|
||||||
C++. It offers packet parsing and assembly, DHCPv4 and DHCPv6 options
|
C++. It offers packet parsing and assembly, DHCPv4 and DHCPv6 options
|
||||||
parsing and assembly, interface detection, and socket operations It
|
parsing and assembly, interface detection, and socket operations It
|
||||||
can be used by server, client, relay, performance tools and other
|
can be used by server, client, relay, performance tools and other
|
||||||
@@ -208,11 +208,11 @@ operations, including the "Lease Manager" that manages information
|
|||||||
about leases and the "Configuration Manager" that stores the servers'
|
about leases and the "Configuration Manager" that stores the servers'
|
||||||
configuration etc.
|
configuration etc.
|
||||||
|
|
||||||
%package -n libkea-dns++%dnspp_sover
|
%package -n libkea-dns%dns_sover
|
||||||
Summary: Kea DHCP server component library
|
Summary: Kea DHCP server component library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libkea-dns++%dnspp_sover
|
%description -n libkea-dns%dns_sover
|
||||||
One of the many libraries the Kea DHCP server is composed of.
|
One of the many libraries the Kea DHCP server is composed of.
|
||||||
|
|
||||||
%package -n libkea-eval%eval_sover
|
%package -n libkea-eval%eval_sover
|
||||||
@@ -256,6 +256,14 @@ receive messages and send responses over HTTP. This library uses
|
|||||||
boost ASIO for creating TCP connections and asynchronously receive
|
boost ASIO for creating TCP connections and asynchronously receive
|
||||||
and send the data over the sockets.
|
and send the data over the sockets.
|
||||||
|
|
||||||
|
%package -n libkea-log-interprocess%log_interprocess_sover
|
||||||
|
Summary: Kea DHCP log interprocess library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libkea-log-interprocess%log_interprocess_sover
|
||||||
|
The log-interprocess library facilitates the transfer of logging messages
|
||||||
|
between the different Kea processes.
|
||||||
|
|
||||||
%package -n libkea-log%log_sover
|
%package -n libkea-log%log_sover
|
||||||
Summary: Kea DHCP logging system library
|
Summary: Kea DHCP logging system library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@@ -328,18 +336,20 @@ Group: Development/Libraries/C and C++
|
|||||||
Requires: libkea-asiodns%asiodns_sover = %version
|
Requires: libkea-asiodns%asiodns_sover = %version
|
||||||
Requires: libkea-asiolink%asiolink_sover = %version
|
Requires: libkea-asiolink%asiolink_sover = %version
|
||||||
Requires: libkea-cc%cc_sover = %version
|
Requires: libkea-cc%cc_sover = %version
|
||||||
Requires: libkea-cfgclient%cfgclient_sover = %version
|
Requires: libkea-cfgrpt%cfgrpt_sover = %version
|
||||||
|
Requires: libkea-config%config_sover = %version
|
||||||
Requires: libkea-cryptolink%cryptolink_sover = %version
|
Requires: libkea-cryptolink%cryptolink_sover = %version
|
||||||
Requires: libkea-d2srv%d2srv_sover = %version
|
Requires: libkea-d2srv%d2srv_sover = %version
|
||||||
Requires: libkea-database%database_sover = %version
|
Requires: libkea-database%database_sover = %version
|
||||||
Requires: libkea-dhcp++%dhcppp_sover = %version
|
Requires: libkea-dhcp%dhcp_sover = %version
|
||||||
Requires: libkea-dhcp_ddns%dhcp_ddns_sover = %version
|
Requires: libkea-dhcp_ddns%dhcp_ddns_sover = %version
|
||||||
Requires: libkea-dhcpsrv%dhcpsrv_sover = %version
|
Requires: libkea-dhcpsrv%dhcpsrv_sover = %version
|
||||||
Requires: libkea-dns++%dnspp_sover = %version
|
Requires: libkea-dns%dns_sover = %version
|
||||||
Requires: libkea-eval%eval_sover = %version
|
Requires: libkea-eval%eval_sover = %version
|
||||||
Requires: libkea-exceptions%exceptions_sover = %version
|
Requires: libkea-exceptions%exceptions_sover = %version
|
||||||
Requires: libkea-hooks%hooks_sover = %version
|
Requires: libkea-hooks%hooks_sover = %version
|
||||||
Requires: libkea-http%http_sover = %version
|
Requires: libkea-http%http_sover = %version
|
||||||
|
Requires: libkea-log-interprocess%log_interprocess_sover = %version
|
||||||
Requires: libkea-log%log_sover = %version
|
Requires: libkea-log%log_sover = %version
|
||||||
Requires: libkea-mysql%mysql_sover = %version
|
Requires: libkea-mysql%mysql_sover = %version
|
||||||
Requires: libkea-pgsql%pgsql_sover = %version
|
Requires: libkea-pgsql%pgsql_sover = %version
|
||||||
@@ -361,20 +371,13 @@ Development files for the Kea DHCP server
|
|||||||
export FREERADIUS_INCLUDE="%_includedir/freeradius"
|
export FREERADIUS_INCLUDE="%_includedir/freeradius"
|
||||||
export FREERADIUS_LIB=""
|
export FREERADIUS_LIB=""
|
||||||
export FREERADIUS_DICTIONARY=""
|
export FREERADIUS_DICTIONARY=""
|
||||||
autoreconf -fi
|
%meson -D netconf=disabled
|
||||||
%configure \
|
%meson_build
|
||||||
--disable-rpath --disable-static \
|
%meson_build doc
|
||||||
%if %{with regen_files}
|
|
||||||
--enable-generate-docs --enable-generate-parser \
|
|
||||||
%endif
|
|
||||||
--enable-logger-checks \
|
|
||||||
--with-dhcp-mysql --with-dhcp-pgsql \
|
|
||||||
--enable-perfdhcp --enable-shell
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b=%buildroot
|
b=%buildroot
|
||||||
%make_install
|
%meson_install
|
||||||
find %buildroot -type f -name "*.la" -delete -print
|
find %buildroot -type f -name "*.la" -delete -print
|
||||||
mkdir -p "$b/%_unitdir" "$b/%_sysusersdir"
|
mkdir -p "$b/%_unitdir" "$b/%_sysusersdir"
|
||||||
cp %_sourcedir/*.service "$b/%_unitdir/"
|
cp %_sourcedir/*.service "$b/%_unitdir/"
|
||||||
@@ -388,8 +391,8 @@ perl -i -pe 's{%_localstatedir/log/kea-}{%_localstatedir/log/kea/}' \
|
|||||||
mkdir -p "$b%_localstatedir/log/kea"
|
mkdir -p "$b%_localstatedir/log/kea"
|
||||||
|
|
||||||
# Remove unnecessary files
|
# Remove unnecessary files
|
||||||
find "%buildroot/%_libdir" -name "*.so.*" -type l -delete
|
|
||||||
rm -Rf "%buildroot/%python3_sitelib/kea/__pycache__"
|
rm -Rf "%buildroot/%python3_sitelib/kea/__pycache__"
|
||||||
|
%fdupes %{buildroot}/%{_datadir}/doc/kea
|
||||||
|
|
||||||
%pre -f random.pre
|
%pre -f random.pre
|
||||||
%service_add_pre kea-dhcp4.service kea-dhcp6.service kea-dhcp-ddns.service kea-ctrl-agent.service
|
%service_add_pre kea-dhcp4.service kea-dhcp6.service kea-dhcp-ddns.service kea-ctrl-agent.service
|
||||||
@@ -450,18 +453,20 @@ fi
|
|||||||
%ldconfig_scriptlets -n libkea-asiodns%asiodns_sover
|
%ldconfig_scriptlets -n libkea-asiodns%asiodns_sover
|
||||||
%ldconfig_scriptlets -n libkea-asiolink%asiolink_sover
|
%ldconfig_scriptlets -n libkea-asiolink%asiolink_sover
|
||||||
%ldconfig_scriptlets -n libkea-cc%cc_sover
|
%ldconfig_scriptlets -n libkea-cc%cc_sover
|
||||||
%ldconfig_scriptlets -n libkea-cfgclient%cfgclient_sover
|
%ldconfig_scriptlets -n libkea-cfgrpt%cfgrpt_sover
|
||||||
|
%ldconfig_scriptlets -n libkea-config%config_sover
|
||||||
%ldconfig_scriptlets -n libkea-cryptolink%cryptolink_sover
|
%ldconfig_scriptlets -n libkea-cryptolink%cryptolink_sover
|
||||||
%ldconfig_scriptlets -n libkea-d2srv%d2srv_sover
|
%ldconfig_scriptlets -n libkea-d2srv%d2srv_sover
|
||||||
%ldconfig_scriptlets -n libkea-database%database_sover
|
%ldconfig_scriptlets -n libkea-database%database_sover
|
||||||
%ldconfig_scriptlets -n libkea-dhcp++%dhcppp_sover
|
%ldconfig_scriptlets -n libkea-dhcp%dhcp_sover
|
||||||
%ldconfig_scriptlets -n libkea-dhcp_ddns%dhcp_ddns_sover
|
%ldconfig_scriptlets -n libkea-dhcp_ddns%dhcp_ddns_sover
|
||||||
%ldconfig_scriptlets -n libkea-dhcpsrv%dhcpsrv_sover
|
%ldconfig_scriptlets -n libkea-dhcpsrv%dhcpsrv_sover
|
||||||
%ldconfig_scriptlets -n libkea-dns++%dnspp_sover
|
%ldconfig_scriptlets -n libkea-dns%dns_sover
|
||||||
%ldconfig_scriptlets -n libkea-eval%eval_sover
|
%ldconfig_scriptlets -n libkea-eval%eval_sover
|
||||||
%ldconfig_scriptlets -n libkea-exceptions%exceptions_sover
|
%ldconfig_scriptlets -n libkea-exceptions%exceptions_sover
|
||||||
%ldconfig_scriptlets -n libkea-hooks%hooks_sover
|
%ldconfig_scriptlets -n libkea-hooks%hooks_sover
|
||||||
%ldconfig_scriptlets -n libkea-http%http_sover
|
%ldconfig_scriptlets -n libkea-http%http_sover
|
||||||
|
%ldconfig_scriptlets -n libkea-log-interprocess%log_interprocess_sover
|
||||||
%ldconfig_scriptlets -n libkea-log%log_sover
|
%ldconfig_scriptlets -n libkea-log%log_sover
|
||||||
%ldconfig_scriptlets -n libkea-mysql%mysql_sover
|
%ldconfig_scriptlets -n libkea-mysql%mysql_sover
|
||||||
%ldconfig_scriptlets -n libkea-pgsql%pgsql_sover
|
%ldconfig_scriptlets -n libkea-pgsql%pgsql_sover
|
||||||
@@ -475,7 +480,7 @@ fi
|
|||||||
%dir %attr(0755,root,root) %_sysconfdir/kea
|
%dir %attr(0755,root,root) %_sysconfdir/kea
|
||||||
%config(noreplace) %attr(0640,root,keadhcp) %_sysconfdir/kea/*.conf
|
%config(noreplace) %attr(0640,root,keadhcp) %_sysconfdir/kea/*.conf
|
||||||
%_mandir/man8/*.8%{?ext_man}
|
%_mandir/man8/*.8%{?ext_man}
|
||||||
%_sbindir/kea*
|
%attr(0755,root,root) %_sbindir/kea*
|
||||||
%_sbindir/perfdhcp
|
%_sbindir/perfdhcp
|
||||||
%_datadir/kea/
|
%_datadir/kea/
|
||||||
%_unitdir/*.service
|
%_unitdir/*.service
|
||||||
@@ -490,75 +495,108 @@ fi
|
|||||||
%files hooks
|
%files hooks
|
||||||
%dir %_libdir/kea
|
%dir %_libdir/kea
|
||||||
%_libdir/kea/hooks/
|
%_libdir/kea/hooks/
|
||||||
|
%dir %{_sysconfdir}/kea/radius
|
||||||
|
%{_sysconfdir}/kea/radius/dictionary
|
||||||
|
|
||||||
%files -n libkea-asiodns%asiodns_sover
|
%files -n libkea-asiodns%asiodns_sover
|
||||||
%_libdir/libkea-asiodns.so.%asiodns_sover.*
|
%_libdir/libkea-asiodns.so.%asiodns_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-asiodns.so.%asiodns_sover.*
|
||||||
|
|
||||||
%files -n libkea-asiolink%asiolink_sover
|
%files -n libkea-asiolink%asiolink_sover
|
||||||
%_libdir/libkea-asiolink.so.%asiolink_sover.*
|
%_libdir/libkea-asiolink.so.%asiolink_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-asiolink.so.%asiolink_sover.*
|
||||||
|
|
||||||
%files -n libkea-cc%cc_sover
|
%files -n libkea-cc%cc_sover
|
||||||
%_libdir/libkea-cc.so.%cc_sover.*
|
%_libdir/libkea-cc.so.%cc_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-cc.so.%cc_sover.*
|
||||||
|
|
||||||
%files -n libkea-cfgclient%cfgclient_sover
|
%files -n libkea-cfgrpt%cfgrpt_sover
|
||||||
%_libdir/libkea-cfgclient.so.%cfgclient_sover.*
|
%_libdir/libkea-cfgrpt.so.%cfgrpt_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-cfgrpt.so.%cfgrpt_sover.*
|
||||||
|
|
||||||
|
%files -n libkea-config%config_sover
|
||||||
|
%_libdir/libkea-config.so.%config_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-config.so.%config_sover.*
|
||||||
|
|
||||||
%files -n libkea-cryptolink%cryptolink_sover
|
%files -n libkea-cryptolink%cryptolink_sover
|
||||||
%_libdir/libkea-cryptolink.so.%cryptolink_sover.*
|
%_libdir/libkea-cryptolink.so.%cryptolink_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-cryptolink.so.%cryptolink_sover.*
|
||||||
|
|
||||||
%files -n libkea-d2srv%d2srv_sover
|
%files -n libkea-d2srv%d2srv_sover
|
||||||
%_libdir/libkea-d2srv.so.%d2srv_sover.*
|
%_libdir/libkea-d2srv.so.%d2srv_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-d2srv.so.%d2srv_sover.*
|
||||||
|
|
||||||
%files -n libkea-database%database_sover
|
%files -n libkea-database%database_sover
|
||||||
%_libdir/libkea-database.so.%database_sover.*
|
%_libdir/libkea-database.so.%database_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-database.so.%database_sover.*
|
||||||
|
|
||||||
%files -n libkea-dhcp++%dhcppp_sover
|
%files -n libkea-dhcp%dhcp_sover
|
||||||
%_libdir/libkea-dhcp++.so.%dhcppp_sover.*
|
%_libdir/libkea-dhcp.so.%dhcp_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-dhcp.so.%dhcp_sover.*
|
||||||
|
|
||||||
%files -n libkea-dhcp_ddns%dhcp_ddns_sover
|
%files -n libkea-dhcp_ddns%dhcp_ddns_sover
|
||||||
%_libdir/libkea-dhcp_ddns.so.%dhcp_ddns_sover.*
|
%_libdir/libkea-dhcp_ddns.so.%dhcp_ddns_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-dhcp_ddns.so.%dhcp_ddns_sover.*
|
||||||
|
|
||||||
%files -n libkea-dhcpsrv%dhcpsrv_sover
|
%files -n libkea-dhcpsrv%dhcpsrv_sover
|
||||||
%_libdir/libkea-dhcpsrv.so.%dhcpsrv_sover.*
|
%_libdir/libkea-dhcpsrv.so.%dhcpsrv_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-dhcpsrv.so.%dhcpsrv_sover.*
|
||||||
|
|
||||||
%files -n libkea-dns++%dnspp_sover
|
%files -n libkea-dns%dns_sover
|
||||||
%_libdir/libkea-dns++.so.%dnspp_sover.*
|
%_libdir/libkea-dns.so.%dns_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-dns.so.%dns_sover.*
|
||||||
|
|
||||||
%files -n libkea-eval%eval_sover
|
%files -n libkea-eval%eval_sover
|
||||||
%_libdir/libkea-eval.so.%eval_sover.*
|
%_libdir/libkea-eval.so.%eval_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-eval.so.%eval_sover.*
|
||||||
|
|
||||||
%files -n libkea-exceptions%exceptions_sover
|
%files -n libkea-exceptions%exceptions_sover
|
||||||
%_libdir/libkea-exceptions.so.%exceptions_sover.*
|
%_libdir/libkea-exceptions.so.%exceptions_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-exceptions.so.%exceptions_sover.*
|
||||||
|
|
||||||
%files -n libkea-hooks%hooks_sover
|
%files -n libkea-hooks%hooks_sover
|
||||||
%_libdir/libkea-hooks.so.%hooks_sover.*
|
%_libdir/libkea-hooks.so.%hooks_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-hooks.so.%hooks_sover.*
|
||||||
|
|
||||||
%files -n libkea-http%http_sover
|
%files -n libkea-http%http_sover
|
||||||
%_libdir/libkea-http.so.%http_sover.*
|
%_libdir/libkea-http.so.%http_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-http.so.%http_sover.*
|
||||||
|
|
||||||
|
%files -n libkea-log-interprocess%log_interprocess_sover
|
||||||
|
%_libdir/libkea-log-interprocess.so.%log_interprocess_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-log-interprocess.so.%log_interprocess_sover.*
|
||||||
|
|
||||||
%files -n libkea-log%log_sover
|
%files -n libkea-log%log_sover
|
||||||
%_libdir/libkea-log.so.%log_sover.*
|
%_libdir/libkea-log.so.%log_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-log.so.%log_sover.*
|
||||||
|
|
||||||
%files -n libkea-mysql%mysql_sover
|
%files -n libkea-mysql%mysql_sover
|
||||||
%_libdir/libkea-mysql.so.%mysql_sover.*
|
%_libdir/libkea-mysql.so.%mysql_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-mysql.so.%mysql_sover.*
|
||||||
|
|
||||||
%files -n libkea-pgsql%pgsql_sover
|
%files -n libkea-pgsql%pgsql_sover
|
||||||
%_libdir/libkea-pgsql.so.%pgsql_sover.*
|
%_libdir/libkea-pgsql.so.%pgsql_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-pgsql.so.%pgsql_sover.*
|
||||||
|
|
||||||
%files -n libkea-process%process_sover
|
%files -n libkea-process%process_sover
|
||||||
%_libdir/libkea-process.so.%process_sover.*
|
%_libdir/libkea-process.so.%process_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-process.so.%process_sover.*
|
||||||
|
|
||||||
%files -n libkea-stats%stats_sover
|
%files -n libkea-stats%stats_sover
|
||||||
%_libdir/libkea-stats.so.%stats_sover.*
|
%_libdir/libkea-stats.so.%stats_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-stats.so.%stats_sover.*
|
||||||
|
|
||||||
%files -n libkea-tcp%tcp_sover
|
%files -n libkea-tcp%tcp_sover
|
||||||
%_libdir/libkea-tcp.so.%tcp_sover.*
|
%_libdir/libkea-tcp.so.%tcp_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-tcp.so.%tcp_sover.*
|
||||||
|
|
||||||
%files -n libkea-util-io%util_io_sover
|
%files -n libkea-util-io%util_io_sover
|
||||||
%_libdir/libkea-util-io.so.%util_io_sover.*
|
%_libdir/libkea-util-io.so.%util_io_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-util-io.so.%util_io_sover.*
|
||||||
|
|
||||||
%files -n libkea-util%util_sover
|
%files -n libkea-util%util_sover
|
||||||
%_libdir/libkea-util.so.%util_sover.*
|
%_libdir/libkea-util.so.%util_sover
|
||||||
|
%attr(0755,root,root) %_libdir/libkea-util.so.%util_sover.*
|
||||||
|
|
||||||
%files -n python3-kea
|
%files -n python3-kea
|
||||||
%python3_sitelib/kea/
|
%python3_sitelib/kea/
|
||||||
@@ -566,5 +604,7 @@ fi
|
|||||||
%files devel
|
%files devel
|
||||||
%_includedir/kea/
|
%_includedir/kea/
|
||||||
%_libdir/libkea*.so
|
%_libdir/libkea*.so
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
%{_bindir}/kea-msg-compiler
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user