2016-03-17 18:22:13 +01:00
|
|
|
#
|
|
|
|
# spec file for package kea
|
|
|
|
#
|
2022-08-18 15:14:35 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2016-03-17 18:22:13 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-08-28 16:19:01 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-03-17 18:22:13 +01:00
|
|
|
#
|
|
|
|
|
2019-08-28 16:19:01 +02:00
|
|
|
|
2022-12-15 15:06:28 +01:00
|
|
|
%define asiodns_sover 34
|
|
|
|
%define asiolink_sover 52
|
|
|
|
%define cc_sover 50
|
|
|
|
%define cfgclient_sover 47
|
|
|
|
%define cryptolink_sover 38
|
|
|
|
%define d2srv_sover 26
|
|
|
|
%define database_sover 45
|
|
|
|
%define dhcppp_sover 67
|
|
|
|
%define dhcp_ddns_sover 39
|
|
|
|
%define dhcpsrv_sover 83
|
|
|
|
%define dnspp_sover 40
|
|
|
|
%define eval_sover 49
|
|
|
|
%define exceptions_sover 23
|
|
|
|
%define hooks_sover 71
|
|
|
|
%define http_sover 53
|
|
|
|
%define log_sover 47
|
|
|
|
%define mysql_sover 48
|
|
|
|
%define pgsql_sover 47
|
|
|
|
%define process_sover 52
|
|
|
|
%define stats_sover 28
|
|
|
|
%define tcp_sover 1
|
Accepting request 725535 from home:adamm:branches:network:dhcp
- 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
OBS-URL: https://build.opensuse.org/request/show/725535
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/kea?expand=0&rev=11
2019-08-24 06:38:50 +02:00
|
|
|
%define util_io_sover 0
|
2022-12-15 15:06:28 +01:00
|
|
|
%define util_sover 64
|
2018-06-20 00:45:07 +02:00
|
|
|
%if 0%{?suse_version} >= 1500
|
|
|
|
%bcond_without regen_files
|
|
|
|
%else
|
|
|
|
%bcond_with regen_files
|
|
|
|
%endif
|
2018-12-29 00:11:32 +01:00
|
|
|
Name: kea
|
2022-12-15 15:06:28 +01:00
|
|
|
Version: 2.3.3
|
2018-12-29 00:11:32 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Dynamic Host Configuration Protocol daemon
|
|
|
|
License: MPL-2.0
|
|
|
|
Group: Productivity/Networking/Boot/Servers
|
|
|
|
URL: https://kea.isc.org/
|
2020-09-06 10:53:29 +02:00
|
|
|
#Git-Clone: https://github.com/isc-projects/kea
|
|
|
|
Source: https://ftp.isc.org/isc/kea/%version/kea-%version.tar.gz
|
|
|
|
Source2: https://ftp.isc.org/isc/kea/%version/kea-%version.tar.gz.asc
|
2019-08-27 16:37:24 +02:00
|
|
|
# https://www.isc.org/pgpkey/
|
2018-06-20 00:45:07 +02:00
|
|
|
Source3: kea.keyring
|
2016-03-17 18:22:13 +01:00
|
|
|
BuildRequires: autoconf >= 2.59
|
|
|
|
BuildRequires: automake
|
2021-10-05 13:31:13 +02:00
|
|
|
BuildRequires: bison >= 3.3
|
Accepting request 725535 from home:adamm:branches:network:dhcp
- 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
OBS-URL: https://build.opensuse.org/request/show/725535
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/kea?expand=0&rev=11
2019-08-24 06:38:50 +02:00
|
|
|
BuildRequires: freeradius-server-devel
|
2018-12-29 00:11:32 +01:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libmysqlclient-devel
|
|
|
|
BuildRequires: libtool >= 2
|
|
|
|
BuildRequires: log4cplus-devel
|
2020-11-10 09:19:17 +01:00
|
|
|
BuildRequires: pkg-config >= 0.23
|
Accepting request 725535 from home:adamm:branches:network:dhcp
- 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
OBS-URL: https://build.opensuse.org/request/show/725535
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/kea?expand=0&rev=11
2019-08-24 06:38:50 +02:00
|
|
|
BuildRequires: postgresql-server-devel
|
2019-08-28 16:19:01 +02:00
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python3
|
2020-04-22 10:41:17 +02:00
|
|
|
BuildRequires: python3-Sphinx
|
2018-12-29 00:11:32 +01:00
|
|
|
BuildRequires: xz
|
|
|
|
BuildRequires: pkgconfig(libcrypto)
|
|
|
|
Requires(pre): shadow
|
2019-08-28 17:15:46 +02:00
|
|
|
Suggests: %name-hooks = %version
|
2018-06-20 00:45:07 +02:00
|
|
|
%if 0%{with regen_files}
|
|
|
|
BuildRequires: bison >= 3.0
|
2016-03-17 18:22:13 +01:00
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
2018-06-20 00:45:07 +02:00
|
|
|
BuildRequires: elinks
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: libxslt-tools
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} >= 1500
|
|
|
|
BuildRequires: libboost_system-devel
|
|
|
|
%else
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
%endif
|
2016-03-17 18:22:13 +01:00
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
|
|
|
|
%description
|
|
|
|
Kea is a new DHCPv4/DHCPv6 server being developed by ISC in C++, a
|
|
|
|
continuation of the DHCP server in the (ended) BIND10 project. The
|
|
|
|
objective of this project is to provide a very high-performance,
|
|
|
|
extensible DHCP server engine for use by enterprises and service
|
|
|
|
providers, either as-is or with extensions and modifications.
|
|
|
|
|
2022-12-15 14:25:43 +01:00
|
|
|
%package doc
|
|
|
|
Summary: Documentation for Kea
|
|
|
|
Group: Documentation/HTML
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains the documentation for Kea.
|
|
|
|
|
2018-06-20 00:45:07 +02:00
|
|
|
%package hooks
|
|
|
|
Summary: Standard Kea DHCP hooks/plugins
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description hooks
|
|
|
|
A standard set of external libraries used to provide additional
|
|
|
|
functionality for Kea DHCP server
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-asiodns%asiodns_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP server asiolink abstraction layer library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-asiodns%asiodns_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
The asiodns library provides an abstraction layer between BIND10/Kea
|
|
|
|
modules and the asiolink library.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-asiolink%asiolink_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP server socket I/O abstraction layer library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-asiolink%asiolink_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
The asiolink library provides an abstraction layer between BIND10/Kea
|
|
|
|
modules and the socket I/O subsystem Kea is using (currently,
|
|
|
|
boost::asio).
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-cc%cc_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP server command channel library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-cc%cc_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
libkea-cc is used for the control channel protocol between keactrl
|
|
|
|
and the server.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-cfgclient%cfgclient_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP server configuration client library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-cfgclient%cfgclient_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
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
|
|
|
|
influence its behavior or retreive information from it. Examples
|
|
|
|
envisioned are: reconfiguration, statistics retrieval and
|
|
|
|
manipulation, and shutdown.
|
|
|
|
|
|
|
|
Communication over the Control Channel is conducted using JSON
|
Accepting request 725535 from home:adamm:branches:network:dhcp
- 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
OBS-URL: https://build.opensuse.org/request/show/725535
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/kea?expand=0&rev=11
2019-08-24 06:38:50 +02:00
|
|
|
structures.
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-cryptolink%cryptolink_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP server crypto abstraction layer library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-cryptolink%cryptolink_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
The Kea cryptolink library is an abstraction layer for crypto
|
|
|
|
library backends (such as Botan, OpenSSL).
|
|
|
|
|
2021-10-05 02:16:11 +02:00
|
|
|
%package -n libkea-d2srv%d2srv_sover
|
|
|
|
Summary: Kea DHCP-DDNS service library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libkea-d2srv%d2srv_sover
|
|
|
|
This library provides DHCP-DDNS specific event loop and business logic.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-database%database_sover
|
2018-12-29 00:16:51 +01:00
|
|
|
Summary: Kea database abstraction library
|
2019-08-28 16:19:01 +02:00
|
|
|
Group: System/Libraries
|
2018-12-29 00:16:51 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-database%database_sover
|
2018-12-29 00:16:51 +01:00
|
|
|
Kea's database abstraction library.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-dhcp++%dhcppp_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-dhcp++%dhcppp_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
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
|
|
|
|
can be used by server, client, relay, performance tools and other
|
|
|
|
DHCP-related tools. For a server-specific library, see
|
|
|
|
libkea-dhcpsrv.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-dhcp_ddns%dhcp_ddns_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP Dynamic DNS library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-dhcp_ddns%dhcp_ddns_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
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.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-dhcpsrv%dhcpsrv_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP server component library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-dhcpsrv%dhcpsrv_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
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.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-dns++%dnspp_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP server component library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-dns++%dnspp_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
One of the many libraries the Kea DHCP server is composed of.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-eval%eval_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP expression evaluation library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-eval%eval_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
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.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-exceptions%exceptions_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP server component library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-exceptions%exceptions_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
One of the many libraries the Kea DHCP server is composed of.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-hooks%hooks_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP server hook library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-hooks%hooks_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
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
|
|
|
|
and linked into one or more dynamic shared objects. The library is
|
|
|
|
specified in the Kea configuration and, at runtime, Kea dynamically
|
|
|
|
loads the library into its address space. At various points in the
|
|
|
|
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.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-http%http_sover
|
2017-06-07 15:42:58 +02:00
|
|
|
Summary: Kea DHCP http communication library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-http%http_sover
|
2017-06-07 15:42:58 +02:00
|
|
|
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.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-log%log_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP logging system library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-log%log_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
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.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-mysql%mysql_sover
|
2018-12-29 00:16:51 +01:00
|
|
|
Summary: Kea MySQL database library
|
2019-08-28 16:19:01 +02:00
|
|
|
Group: System/Libraries
|
2018-12-29 00:16:51 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-mysql%mysql_sover
|
2018-12-29 00:16:51 +01:00
|
|
|
Kea's database library for MySQL.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-pgsql%pgsql_sover
|
2018-12-29 00:16:51 +01:00
|
|
|
Summary: Kea PostgreSQL database library
|
2019-08-28 16:19:01 +02:00
|
|
|
Group: System/Libraries
|
2018-12-29 00:16:51 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-pgsql%pgsql_sover
|
2018-12-29 00:16:51 +01:00
|
|
|
Kea's database library for PostgreSQL.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-process%process_sover
|
2017-06-07 15:42:58 +02:00
|
|
|
Summary: Kea DHCP process abstraction library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-process%process_sover
|
2017-06-07 15:42:58 +02:00
|
|
|
One of the many libraries the Kea DHCP server is composed of.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-stats%stats_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP Statistics Manager library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-stats%stats_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
One of the many libraries the Kea DHCP server is composed of.
|
|
|
|
|
2022-12-15 15:06:28 +01:00
|
|
|
%package -n libkea-tcp%tcp_sover
|
|
|
|
Summary: Kea TCP server/listener library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libkea-tcp%tcp_sover
|
|
|
|
The KEA TCP library provides support for TCP server/listeners.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-util-io%util_io_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea I/O utility function library
|
2019-08-28 16:19:01 +02:00
|
|
|
Group: System/Libraries
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-util-io%util_io_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
One of the many libraries the Kea DHCP server is composed of.
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%package -n libkea-util%util_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea utility function library
|
2019-08-28 16:19:01 +02:00
|
|
|
Group: System/Libraries
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%description -n libkea-util%util_sover
|
2016-03-17 18:22:13 +01:00
|
|
|
One of the many libraries the Kea DHCP server is composed of.
|
|
|
|
|
Accepting request 725535 from home:adamm:branches:network:dhcp
- 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
OBS-URL: https://build.opensuse.org/request/show/725535
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/kea?expand=0&rev=11
2019-08-24 06:38:50 +02:00
|
|
|
%package -n python3-kea
|
|
|
|
Summary: Python interface to Kea DHCP server
|
2019-08-28 16:19:01 +02:00
|
|
|
Group: Development/Libraries/Python
|
Accepting request 725535 from home:adamm:branches:network:dhcp
- 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
OBS-URL: https://build.opensuse.org/request/show/725535
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/kea?expand=0&rev=11
2019-08-24 06:38:50 +02:00
|
|
|
|
|
|
|
%description -n python3-kea
|
|
|
|
Python3 interface to ISC Kea DHCP server.
|
|
|
|
|
2016-03-17 18:22:13 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for the Kea DHCP server
|
|
|
|
Group: Development/Libraries/C and C++
|
2019-08-28 17:15:46 +02:00
|
|
|
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
|
2021-10-05 02:16:11 +02:00
|
|
|
Requires: libkea-d2srv%d2srv_sover = %version
|
2019-08-28 17:15:46 +02:00
|
|
|
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
|
2022-12-15 15:06:28 +01:00
|
|
|
Requires: libkea-tcp%tcp_sover = %version
|
2019-08-28 17:15:46 +02:00
|
|
|
Requires: libkea-util%util_sover = %version
|
|
|
|
Requires: libkea-util-io%util_io_sover = %version
|
2016-03-17 18:22:13 +01:00
|
|
|
# Bundy DHCP and Kea share the same origin, so conflict
|
|
|
|
Conflicts: otheproviders(pkgconfig(dns++))
|
|
|
|
|
|
|
|
%description devel
|
2017-06-30 21:53:30 +02:00
|
|
|
Development files for the Kea DHCP server
|
2016-03-17 18:22:13 +01:00
|
|
|
|
|
|
|
%prep
|
2020-09-06 10:53:29 +02:00
|
|
|
%autosetup -p1 -n kea-%version
|
2016-03-17 18:22:13 +01:00
|
|
|
|
|
|
|
%build
|
2019-08-28 17:15:46 +02:00
|
|
|
export FREERADIUS_INCLUDE="%_includedir/freeradius"
|
2019-08-24 06:52:34 +02:00
|
|
|
export FREERADIUS_LIB=""
|
|
|
|
export FREERADIUS_DICTIONARY=""
|
2016-03-17 18:22:13 +01:00
|
|
|
autoreconf -fi
|
2018-06-20 00:45:07 +02:00
|
|
|
%configure \
|
2019-09-10 08:46:56 +02:00
|
|
|
--disable-rpath --disable-static \
|
2018-06-20 00:45:07 +02:00
|
|
|
%if 0%{with regen_files}
|
2019-09-10 08:46:56 +02:00
|
|
|
--enable-generate-docs --enable-generate-parser \
|
2018-06-20 00:45:07 +02:00
|
|
|
%endif
|
|
|
|
--enable-logger-checks \
|
2019-09-10 08:46:56 +02:00
|
|
|
--with-dhcp-mysql --with-dhcp-pgsql \
|
|
|
|
--enable-perfdhcp --enable-shell
|
2016-03-17 18:22:13 +01:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2019-08-28 17:15:46 +02:00
|
|
|
b=%buildroot
|
2016-03-17 18:22:13 +01:00
|
|
|
%make_install
|
2019-08-28 17:15:46 +02:00
|
|
|
find %buildroot -type f -name "*.la" -delete -print
|
|
|
|
mkdir -p "$b/%_unitdir" "$b/%_prefix/lib/tmpfiles.d"
|
|
|
|
ls -l "$b/%_unitdir/" "$b/%_prefix/lib/tmpfiles.d/" || :
|
|
|
|
cat <<-EOF >"$b/%_unitdir/kea.service"
|
2016-03-17 18:22:13 +01:00
|
|
|
[Unit]
|
|
|
|
Description=ISC Kea DHCP server
|
|
|
|
Before=multi-user.target
|
|
|
|
After=remote-fs.target network.target nss-lookup.target time-sync.target ldap.service ndsd.service
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
2019-08-28 17:15:46 +02:00
|
|
|
Environment=KEA_PIDFILE_DIR=%_rundir/%name
|
|
|
|
ExecStart=%_sbindir/keactrl start
|
|
|
|
ExecReload=%_sbindir/keactrl reload
|
|
|
|
ExecStop=%_sbindir/keactrl stop
|
2016-03-17 18:22:13 +01:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
Alias=dhcp-server.service
|
|
|
|
EOF
|
2019-08-28 17:15:46 +02:00
|
|
|
cat <<-EOF >"$b/%_prefix/lib/tmpfiles.d/kea.conf"
|
2016-03-17 18:22:13 +01:00
|
|
|
d /run/kea 0775 keadhcp keadhcp -
|
|
|
|
EOF
|
Accepting request 725535 from home:adamm:branches:network:dhcp
- 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
OBS-URL: https://build.opensuse.org/request/show/725535
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/kea?expand=0&rev=11
2019-08-24 06:38:50 +02:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
perl -i -pe 's{%_localstatedir/log/kea-}{%_localstatedir/log/kea/}' \
|
|
|
|
"$b/%_sysconfdir/kea"/*.conf
|
Accepting request 725535 from home:adamm:branches:network:dhcp
- 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
OBS-URL: https://build.opensuse.org/request/show/725535
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/kea?expand=0&rev=11
2019-08-24 06:38:50 +02:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
mkdir -p "$b%_localstatedir/log/kea"
|
|
|
|
ln -s "%_sbindir/service" "%buildroot/%_sbindir/rc%name"
|
2016-03-17 18:22:13 +01:00
|
|
|
|
Accepting request 725535 from home:adamm:branches:network:dhcp
- 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
OBS-URL: https://build.opensuse.org/request/show/725535
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/kea?expand=0&rev=11
2019-08-24 06:38:50 +02:00
|
|
|
# Remove unnecessary files
|
2019-08-28 17:15:46 +02:00
|
|
|
find "%buildroot/%_libdir" -name "*.so.*" -type l -delete
|
|
|
|
rm -Rf "%buildroot/%python3_sitelib/kea/__pycache__"
|
Accepting request 725535 from home:adamm:branches:network:dhcp
- 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
OBS-URL: https://build.opensuse.org/request/show/725535
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/kea?expand=0&rev=11
2019-08-24 06:38:50 +02:00
|
|
|
|
2016-03-17 18:22:13 +01:00
|
|
|
%pre
|
2017-06-30 21:56:06 +02:00
|
|
|
getent group keadhcp >/dev/null || groupadd -r keadhcp
|
2016-03-17 18:22:13 +01:00
|
|
|
getent passwd keadhcp >/dev/null || useradd -r -N -M -g keadhcp \
|
2019-08-28 17:15:46 +02:00
|
|
|
-s /sbin/nologin -d %_localstatedir/lib/kea -c "Kea DHCP server" \
|
2017-06-30 21:56:06 +02:00
|
|
|
keadhcp
|
2016-03-17 18:22:13 +01:00
|
|
|
systemd-tmpfiles --create kea.conf || :
|
|
|
|
%service_add_pre kea.service
|
|
|
|
|
|
|
|
%post
|
|
|
|
%service_add_post kea.service
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%service_del_preun kea.service
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%service_del_postun kea.service
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%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
|
2021-10-05 02:16:11 +02:00
|
|
|
%post -n libkea-d2srv%d2srv_sover -p /sbin/ldconfig
|
|
|
|
%postun -n libkea-d2srv%d2srv_sover -p /sbin/ldconfig
|
2019-08-28 17:15:46 +02:00
|
|
|
%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
|
2022-12-15 15:06:28 +01:00
|
|
|
%post -n libkea-tcp%tcp_sover -p /sbin/ldconfig
|
|
|
|
%postun -n libkea-tcp%tcp_sover -p /sbin/ldconfig
|
2019-08-28 17:15:46 +02:00
|
|
|
%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
|
2016-03-17 18:22:13 +01:00
|
|
|
|
|
|
|
%files
|
2019-08-28 17:15:46 +02:00
|
|
|
%dir %_sysconfdir/kea
|
|
|
|
%config(noreplace) %_sysconfdir/kea/*.conf
|
|
|
|
%_mandir/man8/*.8%{?ext_man}
|
|
|
|
%_sbindir/rckea
|
|
|
|
%_sbindir/kea*
|
|
|
|
%_sbindir/perfdhcp
|
|
|
|
%_datadir/kea/
|
|
|
|
%_unitdir/*.service
|
2021-04-16 15:57:06 +02:00
|
|
|
%dir %_localstatedir/lib/kea
|
2019-08-28 17:15:46 +02:00
|
|
|
%_prefix/lib/tmpfiles.d/
|
|
|
|
%attr(0775,keadhcp,keadhcp) %_localstatedir/log/kea/
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2022-12-15 14:25:43 +01:00
|
|
|
%files doc
|
|
|
|
%doc %_datadir/doc/kea/
|
|
|
|
%exclude %_datadir/doc/kea/html/.buildinfo
|
|
|
|
|
2018-06-20 00:45:07 +02:00
|
|
|
%files hooks
|
2019-08-28 17:15:46 +02:00
|
|
|
%dir %_libdir/kea
|
|
|
|
%_libdir/kea/hooks/
|
Accepting request 725535 from home:adamm:branches:network:dhcp
- 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
OBS-URL: https://build.opensuse.org/request/show/725535
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/kea?expand=0&rev=11
2019-08-24 06:38:50 +02:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-asiodns%asiodns_sover
|
|
|
|
%_libdir/libkea-asiodns.so.%asiodns_sover.*
|
2018-06-20 00:45:07 +02:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-asiolink%asiolink_sover
|
|
|
|
%_libdir/libkea-asiolink.so.%asiolink_sover.*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-cc%cc_sover
|
|
|
|
%_libdir/libkea-cc.so.%cc_sover.*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-cfgclient%cfgclient_sover
|
|
|
|
%_libdir/libkea-cfgclient.so.%cfgclient_sover.*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-cryptolink%cryptolink_sover
|
|
|
|
%_libdir/libkea-cryptolink.so.%cryptolink_sover.*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2021-10-05 02:16:11 +02:00
|
|
|
%files -n libkea-d2srv%d2srv_sover
|
|
|
|
%_libdir/libkea-d2srv.so.%d2srv_sover.*
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-database%database_sover
|
|
|
|
%_libdir/libkea-database.so.%database_sover.*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-dhcp++%dhcppp_sover
|
|
|
|
%_libdir/libkea-dhcp++.so.%dhcppp_sover.*
|
2018-12-29 00:16:51 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-dhcp_ddns%dhcp_ddns_sover
|
|
|
|
%_libdir/libkea-dhcp_ddns.so.%dhcp_ddns_sover.*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-dhcpsrv%dhcpsrv_sover
|
|
|
|
%_libdir/libkea-dhcpsrv.so.%dhcpsrv_sover.*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-dns++%dnspp_sover
|
|
|
|
%_libdir/libkea-dns++.so.%dnspp_sover.*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-eval%eval_sover
|
|
|
|
%_libdir/libkea-eval.so.%eval_sover.*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-exceptions%exceptions_sover
|
|
|
|
%_libdir/libkea-exceptions.so.%exceptions_sover.*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-hooks%hooks_sover
|
|
|
|
%_libdir/libkea-hooks.so.%hooks_sover.*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-http%http_sover
|
|
|
|
%_libdir/libkea-http.so.%http_sover.*
|
2017-06-07 15:42:58 +02:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-log%log_sover
|
|
|
|
%_libdir/libkea-log.so.%log_sover.*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-mysql%mysql_sover
|
|
|
|
%_libdir/libkea-mysql.so.%mysql_sover.*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-pgsql%pgsql_sover
|
|
|
|
%_libdir/libkea-pgsql.so.%pgsql_sover.*
|
2018-12-29 00:16:51 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-process%process_sover
|
|
|
|
%_libdir/libkea-process.so.%process_sover.*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-stats%stats_sover
|
|
|
|
%_libdir/libkea-stats.so.%stats_sover.*
|
2017-06-07 15:42:58 +02:00
|
|
|
|
2022-12-15 15:06:28 +01:00
|
|
|
%files -n libkea-tcp%tcp_sover
|
|
|
|
%_libdir/libkea-tcp.so.%tcp_sover.*
|
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-util-io%util_io_sover
|
|
|
|
%_libdir/libkea-util-io.so.%util_io_sover.*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2019-08-28 17:15:46 +02:00
|
|
|
%files -n libkea-util%util_sover
|
|
|
|
%_libdir/libkea-util.so.%util_sover.*
|
2018-12-29 00:11:32 +01:00
|
|
|
|
Accepting request 725535 from home:adamm:branches:network:dhcp
- 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
OBS-URL: https://build.opensuse.org/request/show/725535
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/kea?expand=0&rev=11
2019-08-24 06:38:50 +02:00
|
|
|
%files -n python3-kea
|
2019-08-28 17:15:46 +02:00
|
|
|
%python3_sitelib/kea/
|
2018-12-29 00:11:32 +01:00
|
|
|
|
2016-03-17 18:22:13 +01:00
|
|
|
%files devel
|
2019-08-28 17:15:46 +02:00
|
|
|
%_includedir/kea/
|
|
|
|
%_libdir/libkea*.so
|
2016-03-17 18:22:13 +01:00
|
|
|
|
|
|
|
%changelog
|