2016-03-17 18:22:13 +01:00
|
|
|
#
|
|
|
|
# spec file for package kea
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
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
|
|
|
|
Version: 1.5.0
|
|
|
|
Release: 0
|
|
|
|
Summary: Dynamic Host Configuration Protocol daemon
|
|
|
|
License: MPL-2.0
|
|
|
|
Group: Productivity/Networking/Boot/Servers
|
|
|
|
URL: https://kea.isc.org/
|
2016-03-17 18:22:13 +01:00
|
|
|
#Git-Clone: git://github.com/isc-projects/kea
|
2018-12-29 00:13:19 +01:00
|
|
|
Source: http://ftp.isc.org/isc/kea/%version/kea-%version.tar.gz
|
|
|
|
Source2: http://ftp.isc.org/isc/kea/%version/kea-%version.tar.gz.asc
|
2018-06-20 00:45:07 +02:00
|
|
|
# https://www.isc.org/downloads/software-support-policy/openpgp-key/
|
|
|
|
Source3: kea.keyring
|
2016-03-17 18:22:13 +01:00
|
|
|
BuildRequires: autoconf >= 2.59
|
|
|
|
BuildRequires: automake
|
2018-12-29 00:11:32 +01:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libmysqlclient-devel
|
|
|
|
BuildRequires: libtool >= 2
|
|
|
|
BuildRequires: log4cplus-devel
|
|
|
|
BuildRequires: pkgconfig >= 0.23
|
|
|
|
BuildRequires: postgresql-devel
|
|
|
|
BuildRequires: xz
|
|
|
|
BuildRequires: pkgconfig(libcrypto)
|
|
|
|
Requires(pre): shadow
|
2018-12-29 00:13:19 +01: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
|
|
|
%if 0%{?suse_version} >= 1310
|
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
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
|
|
|
|
|
2016-03-17 18:22:13 +01:00
|
|
|
%package -n libkea-asiodns0
|
|
|
|
Summary: Kea DHCP server asiolink abstraction layer library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libkea-asiodns0
|
|
|
|
The asiodns library provides an abstraction layer between BIND10/Kea
|
|
|
|
modules and the asiolink library.
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%package -n libkea-asiolink7
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP server socket I/O abstraction layer library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%description -n libkea-asiolink7
|
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).
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%package -n libkea-cc7
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP server command channel library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%description -n libkea-cc7
|
2016-03-17 18:22:13 +01:00
|
|
|
libkea-cc is used for the control channel protocol between keactrl
|
|
|
|
and the server.
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%package -n libkea-cfgclient6
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP server configuration client library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%description -n libkea-cfgclient6
|
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
|
|
|
|
structures. The CC is a UNIX stream socket as of kea 0.9.2.
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%package -n libkea-cryptolink4
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP server crypto abstraction layer library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%description -n libkea-cryptolink4
|
2016-03-17 18:22:13 +01:00
|
|
|
The Kea cryptolink library is an abstraction layer for crypto
|
|
|
|
library backends (such as Botan, OpenSSL).
|
|
|
|
|
2018-12-29 00:16:51 +01:00
|
|
|
%package -n libkea-database1
|
|
|
|
Summary: Kea database abstraction library
|
|
|
|
Group: System/Library
|
|
|
|
|
|
|
|
%description -n libkea-database1
|
|
|
|
Kea's database abstraction library.
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%package -n libkea-dhcp++11
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%description -n libkea-dhcp++11
|
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.
|
|
|
|
|
|
|
|
%package -n libkea-dhcp_ddns1
|
|
|
|
Summary: Kea DHCP Dynamic DNS library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libkea-dhcp_ddns1
|
|
|
|
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.
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%package -n libkea-dhcpsrv14
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP server component library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%description -n libkea-dhcpsrv14
|
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.
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%package -n libkea-dns++3
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP server component library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%description -n libkea-dns++3
|
2016-03-17 18:22:13 +01:00
|
|
|
One of the many libraries the Kea DHCP server is composed of.
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%package -n libkea-eval10
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP expression evaluation library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%description -n libkea-eval10
|
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.
|
|
|
|
|
|
|
|
%package -n libkea-exceptions0
|
|
|
|
Summary: Kea DHCP server component library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libkea-exceptions0
|
|
|
|
One of the many libraries the Kea DHCP server is composed of.
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%package -n libkea-hooks7
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP server hook library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%description -n libkea-hooks7
|
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.
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%package -n libkea-http4
|
2017-06-07 15:42:58 +02:00
|
|
|
Summary: Kea DHCP http communication library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%description -n libkea-http4
|
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.
|
|
|
|
|
|
|
|
%package -n libkea-log3
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP logging system library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-06-07 15:42:58 +02:00
|
|
|
%description -n libkea-log3
|
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.
|
|
|
|
|
2018-12-29 00:16:51 +01:00
|
|
|
%package -n libkea-mysql0
|
|
|
|
Summary: Kea MySQL database library
|
|
|
|
Group: System/Library
|
|
|
|
|
|
|
|
%description -n libkea-mysql0
|
|
|
|
Kea's database library for MySQL.
|
|
|
|
|
|
|
|
%package -n libkea-pgsql0
|
|
|
|
Summary: Kea PostgreSQL database library
|
|
|
|
Group: System/Library
|
|
|
|
|
|
|
|
%description -n libkea-pgsql0
|
|
|
|
Kea's database library for PostgreSQL.
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%package -n libkea-process3
|
2017-06-07 15:42:58 +02:00
|
|
|
Summary: Kea DHCP process abstraction library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%description -n libkea-process3
|
2017-06-07 15:42:58 +02:00
|
|
|
One of the many libraries the Kea DHCP server is composed of.
|
|
|
|
|
2018-06-20 00:45:07 +02:00
|
|
|
%package -n libkea-stats2
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP Statistics Manager library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2018-06-20 00:45:07 +02:00
|
|
|
%description -n libkea-stats2
|
2016-03-17 18:22:13 +01:00
|
|
|
One of the many libraries the Kea DHCP server is composed of.
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%package -n libkea-threads2
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea DHCP thread abstraction library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%description -n libkea-threads2
|
2016-03-17 18:22:13 +01:00
|
|
|
Kea's C++ wrapper library for pthreads and mutexes.
|
|
|
|
|
|
|
|
%package -n libkea-util-io0
|
|
|
|
Summary: Kea I/O utility function library
|
|
|
|
Group: System/Library
|
|
|
|
|
|
|
|
%description -n libkea-util-io0
|
|
|
|
One of the many libraries the Kea DHCP server is composed of.
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%package -n libkea-util5
|
2016-03-17 18:22:13 +01:00
|
|
|
Summary: Kea utility function library
|
|
|
|
Group: System/Library
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%description -n libkea-util5
|
2016-03-17 18:22:13 +01:00
|
|
|
One of the many libraries the Kea DHCP server is composed of.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the Kea DHCP server
|
|
|
|
Group: Development/Libraries/C and C++
|
2018-12-29 00:13:19 +01:00
|
|
|
Requires: libkea-asiodns0 = %version
|
|
|
|
Requires: libkea-asiolink7 = %version
|
|
|
|
Requires: libkea-cc7 = %version
|
|
|
|
Requires: libkea-cfgclient6 = %version
|
|
|
|
Requires: libkea-cryptolink4 = %version
|
2018-12-29 00:16:51 +01:00
|
|
|
Requires: libkea-database1 = %version
|
2018-12-29 00:13:19 +01:00
|
|
|
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
|
2018-12-29 00:16:51 +01:00
|
|
|
Requires: libkea-mysql0 = %version
|
|
|
|
Requires: libkea-pgsql0 = %version
|
2018-12-29 00:13:19 +01:00
|
|
|
Requires: libkea-process3 = %version
|
|
|
|
Requires: libkea-stats2 = %version
|
|
|
|
Requires: libkea-threads2 = %version
|
|
|
|
Requires: libkea-util-io0 = %version
|
|
|
|
Requires: libkea-util5 = %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
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -fi
|
2018-06-20 00:45:07 +02:00
|
|
|
%configure \
|
|
|
|
--disable-rpath \
|
|
|
|
--disable-static \
|
|
|
|
%if 0%{with regen_files}
|
|
|
|
--enable-generate-docs \
|
|
|
|
--enable-generate-parser \
|
|
|
|
%endif
|
|
|
|
--enable-logger-checks \
|
2017-06-30 21:53:30 +02:00
|
|
|
--with-dhcp-mysql \
|
2018-06-20 00:45:07 +02:00
|
|
|
--with-dhcp-pgsql
|
2016-03-17 18:22:13 +01:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2018-12-29 00:13:19 +01:00
|
|
|
b=%buildroot
|
2016-03-17 18:22:13 +01:00
|
|
|
%make_install
|
2018-12-29 00:13:19 +01: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
|
2018-12-29 00:13:19 +01: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
|
2018-12-29 00:13:19 +01: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
|
2018-12-29 00:13:19 +01:00
|
|
|
perl -i -pe 's{%_localstatedir/run}{/run};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"
|
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 \
|
2018-12-29 00:13:19 +01: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
|
|
|
|
|
|
|
|
%post -n libkea-asiodns0 -p /sbin/ldconfig
|
|
|
|
%postun -n libkea-asiodns0 -p /sbin/ldconfig
|
2018-12-29 00:11:32 +01:00
|
|
|
%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
|
2018-12-29 00:16:51 +01:00
|
|
|
%post -n libkea-database1 -p /sbin/ldconfig
|
|
|
|
%postun -n libkea-database1 -p /sbin/ldconfig
|
2018-12-29 00:11:32 +01:00
|
|
|
%post -n libkea-dhcp++11 -p /sbin/ldconfig
|
|
|
|
%postun -n libkea-dhcp++11 -p /sbin/ldconfig
|
2016-03-17 18:22:13 +01:00
|
|
|
%post -n libkea-dhcp_ddns1 -p /sbin/ldconfig
|
|
|
|
%postun -n libkea-dhcp_ddns1 -p /sbin/ldconfig
|
2018-12-29 00:11:32 +01:00
|
|
|
%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
|
2016-03-17 18:22:13 +01:00
|
|
|
%post -n libkea-exceptions0 -p /sbin/ldconfig
|
|
|
|
%postun -n libkea-exceptions0 -p /sbin/ldconfig
|
2018-12-29 00:11:32 +01:00
|
|
|
%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
|
2017-06-07 15:42:58 +02:00
|
|
|
%post -n libkea-log3 -p /sbin/ldconfig
|
|
|
|
%postun -n libkea-log3 -p /sbin/ldconfig
|
2018-12-29 00:16:51 +01:00
|
|
|
%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
|
2018-12-29 00:11:32 +01:00
|
|
|
%post -n libkea-process3 -p /sbin/ldconfig
|
|
|
|
%postun -n libkea-process3 -p /sbin/ldconfig
|
2018-06-20 00:45:07 +02:00
|
|
|
%post -n libkea-stats2 -p /sbin/ldconfig
|
|
|
|
%postun -n libkea-stats2 -p /sbin/ldconfig
|
2018-12-29 00:11:32 +01:00
|
|
|
%post -n libkea-threads2 -p /sbin/ldconfig
|
|
|
|
%postun -n libkea-threads2 -p /sbin/ldconfig
|
2016-03-17 18:22:13 +01:00
|
|
|
%post -n libkea-util-io0 -p /sbin/ldconfig
|
|
|
|
%postun -n libkea-util-io0 -p /sbin/ldconfig
|
2018-12-29 00:11:32 +01:00
|
|
|
%post -n libkea-util5 -p /sbin/ldconfig
|
|
|
|
%postun -n libkea-util5 -p /sbin/ldconfig
|
2016-03-17 18:22:13 +01:00
|
|
|
|
|
|
|
%files
|
2018-12-29 00:13:19 +01:00
|
|
|
%dir %_sysconfdir/kea
|
|
|
|
%config(noreplace) %_sysconfdir/kea/*.conf
|
|
|
|
%_datadir/doc/kea/
|
2018-12-29 00:16:51 +01:00
|
|
|
%_mandir/man8/*.8*
|
2018-12-29 00:13:19 +01:00
|
|
|
%_bindir/kea*
|
|
|
|
%_sbindir/rckea
|
|
|
|
%_sbindir/kea*
|
|
|
|
%_sbindir/perfdhcp
|
|
|
|
%_datadir/kea/
|
|
|
|
%_unitdir/*.service
|
|
|
|
%_prefix/lib/tmpfiles.d/
|
|
|
|
%attr(0775,keadhcp,keadhcp) %_localstatedir/log/kea/
|
|
|
|
%ghost %dir %_rundir/%name
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2018-06-20 00:45:07 +02:00
|
|
|
%files hooks
|
2018-12-29 00:13:19 +01:00
|
|
|
%dir %_libdir/hooks
|
|
|
|
%_libdir/hooks/libdhcp_stat_cmds.so
|
|
|
|
%_libdir/hooks/libdhcp_lease_cmds.so
|
|
|
|
%_libdir/hooks/libdhcp_ha.so
|
2018-06-20 00:45:07 +02:00
|
|
|
|
2016-03-17 18:22:13 +01:00
|
|
|
%files -n libkea-asiodns0
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-asiodns.so.0*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%files -n libkea-asiolink7
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-asiolink.so.7*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%files -n libkea-cc7
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-cc.so.7*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%files -n libkea-cfgclient6
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-cfgclient.so.6*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%files -n libkea-cryptolink4
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-cryptolink.so.4*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2018-12-29 00:16:51 +01:00
|
|
|
%files -n libkea-database1
|
|
|
|
%_libdir/libkea-database.so.1*
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%files -n libkea-dhcp++11
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-dhcp++.so.11*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
|
|
|
%files -n libkea-dhcp_ddns1
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-dhcp_ddns.so.1*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%files -n libkea-dhcpsrv14
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-dhcpsrv.so.14*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%files -n libkea-dns++3
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-dns++.so.3*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%files -n libkea-eval10
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-eval.so.10*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
|
|
|
%files -n libkea-exceptions0
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-exceptions.so.0*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%files -n libkea-hooks7
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-hooks.so.7*
|
2017-06-07 15:42:58 +02:00
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%files -n libkea-http4
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-http.so.4*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2017-06-07 15:42:58 +02:00
|
|
|
%files -n libkea-log3
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-log.so.3*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2018-12-29 00:16:51 +01:00
|
|
|
%files -n libkea-mysql0
|
|
|
|
%_libdir/libkea-mysql.so.0*
|
|
|
|
|
|
|
|
%files -n libkea-pgsql0
|
|
|
|
%_libdir/libkea-pgsql.so.0*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%files -n libkea-process3
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-process.so.3*
|
2017-06-07 15:42:58 +02:00
|
|
|
|
2018-12-29 00:16:51 +01:00
|
|
|
%files -n libkea-stats2
|
|
|
|
%_libdir/libkea-stats.so.2*
|
|
|
|
|
2018-12-29 00:11:32 +01:00
|
|
|
%files -n libkea-threads2
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-threads.so.2*
|
2016-03-17 18:22:13 +01:00
|
|
|
|
|
|
|
%files -n libkea-util-io0
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-util-io.so.0*
|
2018-12-29 00:11:32 +01:00
|
|
|
|
|
|
|
%files -n libkea-util5
|
2018-12-29 00:13:19 +01:00
|
|
|
%_libdir/libkea-util.so.5*
|
2018-12-29 00:11:32 +01:00
|
|
|
|
2016-03-17 18:22:13 +01:00
|
|
|
%files devel
|
2018-12-29 00:13:19 +01:00
|
|
|
%_includedir/kea/
|
|
|
|
%_libdir/pkgconfig/*.pc
|
|
|
|
%_libdir/libkea*.so
|
2016-03-17 18:22:13 +01:00
|
|
|
|
|
|
|
%changelog
|