forked from jengelh/kea
Accepting request 617504 from home:adamm:branches:network:dhcp
- update to new upstream release 1.4.0 - fix licence - Mozilla Public License v2.0 - package default hook libraries - regenerate parser and documentation - add ISC keyring (2017 & 2018) OBS-URL: https://build.opensuse.org/request/show/617504 OBS-URL: https://build.opensuse.org/package/show/network:dhcp/kea?expand=0&rev=5
This commit is contained in:
parent
7ec5700fd3
commit
2dae105116
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:22d15945b13600b56c37213797ca1f3ee9851e6119120aeae08033c4cc52d129
|
||||
size 5720941
|
@ -1,17 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Comment: GPGTools - http://gpgtools.org
|
||||
|
||||
iQIcBAABAgAGBQJZA2x6AAoJEPGxG/Bc8C5XOwoQAK9aJVQnqYEnsttYCUTIVxMy
|
||||
8vwWUqUwP8iHX5MJyw7fvCbWTHBbt+jEHCPr608xXJbxx4aPCTqemp2tlicxqA0t
|
||||
EPr1xYw9wbPYz73fdrg1/CB0lsWtkSSd1//GhTOHKJGTXkRMJqT7SJO8cCILdqHz
|
||||
A6IFNyPWCImU2XL9xdjDiU7C7AOEISO7uXMSZ9eeuXgyvO2tBOXw30w1pebq6CHs
|
||||
HXhyX5N70MsTyzSHgfbPdSX9dfjP+iEykXuQ2PEx5/YAThCP7sw0WSH7SK+uOIba
|
||||
qt/QcEE9c1yc6qk8p+cON4LSIJzW05aEDNtnoTO1e4oymE8ms27x5a/scQli0t5J
|
||||
nzxcAI8H8Bs40fmTW17uA+1LijF4Mr/9ZamLRupPdRLtboKkCwn0T+CHBgpddEWK
|
||||
9E0gCbYawZtl8248RKu5xD7ODaAaFYIyfreXN8vkd6SqkkLK25qWkEQT+5jZjjWt
|
||||
X9Fj5zU5MSnVTAV6+VvrElFWP/gTGovfwk/h8uNlg+aq0xG4Ozpbq2lyRzTw8+nt
|
||||
u+uqfHurowOkUYDikrwSIssxRIsOEO9EvmM/uW6HD+lQ8TbtF1TRz85jQHmUNuPV
|
||||
DX1IpoZjwvq722HxYv4BojHAPT1RMkb+JSLUe2BFPM5kKOixPs1q6OnUWK2pVq7c
|
||||
pUFFsQRtO6HWdRPTYtl9
|
||||
=uUhq
|
||||
-----END PGP SIGNATURE-----
|
3
kea-1.4.0.tar.gz
Normal file
3
kea-1.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c0f8ecb93657adfc5ab970c91706754e601084828493f053f159661d21b31128
|
||||
size 6552970
|
16
kea-1.4.0.tar.gz.asc
Normal file
16
kea-1.4.0.tar.gz.asc
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABAgAdFiEEvg6XSLcYJToou4n/8bEb8FzwLlcFAlsjyhoACgkQ8bEb8Fzw
|
||||
LldB0A/8CuRJex4nhvBJ//bMSxC4HY9hiu6ZVLg3X6Gcz9ivm8eUKTxTTn2sxDun
|
||||
ejFzt6K1u5G1emXMMqfvte2xocCE5Ahh+TBuPR16j9fpI/mY5NiL1e8aB0u2R52h
|
||||
vqkVHbcjddSBomewgPKoxGOhuqyrTJOpwKbU8nLjn9NGjpNdIrZ6W3Vlsphe7wvw
|
||||
4reG6slEvEGcDdrGTHPJ+EfVa0uUZHhqtsBXsMRIieoBg0PuIK1nAIja/fwFmxzD
|
||||
GV47TXgF6OV6zYMu1GgIT9aPbnzXzW9vyQtWqZXpjpEECZJvjPyn6OXSrQgiP/zX
|
||||
yszwqb+5Y41lrkt+q6ZnFI2IOfhUiwYsS07bBjMe9oazP3Z6SqKAWGeIsvAOZ40e
|
||||
zOnenmkjASG+RvKWq3+viDr8xV98E3tyTuST/X0lhjzViAQ6W7nnTRq6bAgOPggT
|
||||
qCdgIzWByEL+30ZtUKNAALV5SOPYFVnRDrIpfnHfCuZ+AUfPSHt1msp/pgiATaC/
|
||||
Uc8OKl+xYVrocdyCyI/R4FT/T4kz8LRRwFNxqdtlDOtMrbmDmazGcArZqp34ybeb
|
||||
LEKE+VY/pzSyNVMinmnTM7cqddDAWg85TVVw9kdMobSmfbDz+i7LiJoz9VkUYP5y
|
||||
ZJia9GpIrTpdPBb6d7VO1iveR3JvnNFeo5sOQGLmZHu+926W4ns=
|
||||
=EEQc
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 18 10:00:52 UTC 2018 - adam.majer@suse.de
|
||||
|
||||
- update to new upstream release 1.4.0
|
||||
- fix licence - Mozilla Public License v2.0
|
||||
- package default hook libraries
|
||||
- regenerate parser and documentation
|
||||
- add ISC keyring (2017 & 2018)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 30 19:55:50 UTC 2017 - jengelh@inai.de
|
||||
|
||||
|
54
kea.keyring
Normal file
54
kea.keyring
Normal file
@ -0,0 +1,54 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Comment: GPGTools - http://gpgtools.org
|
||||
|
||||
mQINBFf1aL4BEADaw6pPFCoWEtbcGEbfFRsCxEK2PDjzG7+PWTDUpdJgzMvHKvWU
|
||||
BkKKpxxkWk6+irY4fZnaRkXKR6ggkTDRXucpssayXt95ZXdniOWGOuEGvGmIcif9
|
||||
klfvDLxK3dq1WrsRGs35FE4puxldS0RAS8dcRlq0bqMpnaSPxay8bdvQF8v5syIF
|
||||
vW2ySfT21e1YgaMdSCu92kmg7lzrPccKFNuX3xkosGIglnoVcjpXqsZEIZjj6YAw
|
||||
cZiEGB1Lxc88WjWbhrct0S1Z4zITapRAFdY65i1POmHmcyqEDlhYvbPIfk99PUvB
|
||||
o6SbvE5IGChc+O5cqwp9i8sTw/ABewUkv2rcRfjaehQzIm6HHq3lX+ukqinic1fc
|
||||
+FsZnQNQXUoh9z3InKPzWkxOcc1DiXkMcXUdxSi7C0zghR/tFKTLHeTOxj8j6oaX
|
||||
DfWpdhBfFch2ogVQXZMyP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/
|
||||
oBUpyltHm0ZUVJzpnQpLuNowYc2hKULRSRKjURkBw5n0gK+OmvCA2uRHERBdUokJ
|
||||
mVrajTIVtYOuqzMvRUYgObo1EAi0LLwloCIDZl7y/WeAJM/4scvfRRPvZ2zCmn7Q
|
||||
kKZxae1nWKRCiSuZdVV9E05sOC0c2P4EA+pqaXyHLkZ2/XOHL0eVeks7zl7qp4yB
|
||||
WaZfmU/h3SBPvxhk0IQr+PZ0Nkzq+gqV0azh6Oy6a5Sz1OhJtxdax9h9WwO1KcBR
|
||||
a6IC8UOtbGHuHa0TGKt7/3Y+W53zZgyJ1rK9QbJMVSnNzFcaWpsKewJk0iNSMLSp
|
||||
lrEUPaNdGULGfxG1Hx1jRCadTWsbqHRtpkM+fSaAfdMKlPEIlzegD+mXKWLoZ+D5
|
||||
WyFgoNxnUV1SWYh/H+1nKAIAE9FsqIHYM2vlLhV3lVhkUZRH+EC+tWgTR/9fltxF
|
||||
q+51plQhtod1i5Zk/WAioWnma45K4Onvd12sh0RsQh5LUl8NzL6M8IV+XbDpO45F
|
||||
JqFQTqHt7B/HcxEICgdWTISBQDVdH7shzk3iZ2ir/2UFWTmgmbny4m0BZuASzmnm
|
||||
TLm3Bfj8ss6q
|
||||
=3BFg
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
|
246
kea.spec
246
kea.spec
@ -17,24 +17,40 @@
|
||||
|
||||
|
||||
Name: kea
|
||||
Version: 1.2.0
|
||||
Version: 1.4.0
|
||||
Release: 0
|
||||
Url: http://kea.isc.org/
|
||||
Summary: Dynamic Host Configuration Protocol daemon
|
||||
License: GPL-2.0+
|
||||
License: MPL-2.0
|
||||
Group: Productivity/Networking/Boot/Servers
|
||||
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%bcond_without regen_files
|
||||
%else
|
||||
%bcond_with regen_files
|
||||
%endif
|
||||
|
||||
#Git-Clone: git://github.com/isc-projects/kea
|
||||
Source: http://ftp.isc.org/isc/kea/%version/%name-%version.tar.gz
|
||||
Source2: http://ftp.isc.org/isc/kea/%version/%name-%version.tar.gz.asc
|
||||
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
|
||||
# https://www.isc.org/downloads/software-support-policy/openpgp-key/
|
||||
Source3: kea.keyring
|
||||
BuildRequires: autoconf >= 2.59
|
||||
BuildRequires: automake
|
||||
BuildRequires: boost-devel
|
||||
%if 0%{with regen_files}
|
||||
BuildRequires: bison >= 3.0
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool >= 2
|
||||
BuildRequires: elinks
|
||||
BuildRequires: flex
|
||||
BuildRequires: libxslt-tools
|
||||
%endif
|
||||
BuildRequires: gcc-c++
|
||||
%if 0%{?suse_version} >= 1500
|
||||
BuildRequires: libboost_system-devel
|
||||
%else
|
||||
BuildRequires: boost-devel
|
||||
%endif
|
||||
BuildRequires: libtool >= 2
|
||||
BuildRequires: log4cplus-devel
|
||||
BuildRequires: libmysqlclient-devel
|
||||
BuildRequires: pkgconfig >= 0.23
|
||||
@ -46,6 +62,7 @@ BuildRequires: systemd-rpm-macros
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires(pre): shadow
|
||||
Suggests: %{name}-hooks = %{version}
|
||||
|
||||
%description
|
||||
Kea is a new DHCPv4/DHCPv6 server being developed by ISC in C++, a
|
||||
@ -54,6 +71,14 @@ 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.
|
||||
|
||||
%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
|
||||
|
||||
%package -n libkea-asiodns0
|
||||
Summary: Kea DHCP server asiolink abstraction layer library
|
||||
Group: System/Libraries
|
||||
@ -62,28 +87,28 @@ Group: System/Libraries
|
||||
The asiodns library provides an abstraction layer between BIND10/Kea
|
||||
modules and the asiolink library.
|
||||
|
||||
%package -n libkea-asiolink4
|
||||
%package -n libkea-asiolink6
|
||||
Summary: Kea DHCP server socket I/O abstraction layer library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libkea-asiolink4
|
||||
%description -n libkea-asiolink6
|
||||
The asiolink library provides an abstraction layer between BIND10/Kea
|
||||
modules and the socket I/O subsystem Kea is using (currently,
|
||||
boost::asio).
|
||||
|
||||
%package -n libkea-cc2
|
||||
%package -n libkea-cc5
|
||||
Summary: Kea DHCP server command channel library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libkea-cc2
|
||||
%description -n libkea-cc5
|
||||
libkea-cc is used for the control channel protocol between keactrl
|
||||
and the server.
|
||||
|
||||
%package -n libkea-cfgclient3
|
||||
%package -n libkea-cfgclient5
|
||||
Summary: Kea DHCP server configuration client library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libkea-cfgclient3
|
||||
%description -n libkea-cfgclient5
|
||||
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
|
||||
@ -94,19 +119,19 @@ 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.
|
||||
|
||||
%package -n libkea-cryptolink2
|
||||
%package -n libkea-cryptolink3
|
||||
Summary: Kea DHCP server crypto abstraction layer library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libkea-cryptolink2
|
||||
%description -n libkea-cryptolink3
|
||||
The Kea cryptolink library is an abstraction layer for crypto
|
||||
library backends (such as Botan, OpenSSL).
|
||||
|
||||
%package -n libkea-dhcp++5
|
||||
%package -n libkea-dhcp++8
|
||||
Summary: Kea DHCP library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libkea-dhcp++5
|
||||
%description -n libkea-dhcp++8
|
||||
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
|
||||
@ -123,28 +148,28 @@ This is a library of classes for sending and receiving requests used
|
||||
by ISC's DHCP-DDNS (aka D2) service to carry out DHCP-driven DNS
|
||||
updates.
|
||||
|
||||
%package -n libkea-dhcpsrv7
|
||||
%package -n libkea-dhcpsrv10
|
||||
Summary: Kea DHCP server component library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libkea-dhcpsrv7
|
||||
%description -n libkea-dhcpsrv10
|
||||
This library contains code used for the DHCPv4 and DHCPv6 servers'
|
||||
operations, including the "Lease Manager" that manages information
|
||||
about leases and the "Configuration Manager" that stores the servers'
|
||||
configuration etc.
|
||||
|
||||
%package -n libkea-dns++0
|
||||
%package -n libkea-dns++2
|
||||
Summary: Kea DHCP server component library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libkea-dns++0
|
||||
%description -n libkea-dns++2
|
||||
One of the many libraries the Kea DHCP server is composed of.
|
||||
|
||||
%package -n libkea-eval5
|
||||
%package -n libkea-eval7
|
||||
Summary: Kea DHCP expression evaluation library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libkea-eval5
|
||||
%description -n libkea-eval7
|
||||
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.
|
||||
@ -156,11 +181,11 @@ Group: System/Libraries
|
||||
%description -n libkea-exceptions0
|
||||
One of the many libraries the Kea DHCP server is composed of.
|
||||
|
||||
%package -n libkea-hooks3
|
||||
%package -n libkea-hooks6
|
||||
Summary: Kea DHCP server hook library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libkea-hooks3
|
||||
%description -n libkea-hooks6
|
||||
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
|
||||
@ -171,11 +196,11 @@ processing, the component "calls out" to functions in the library,
|
||||
passing to them the data is it currently working on. They can examine
|
||||
and modify the data as required.
|
||||
|
||||
%package -n libkea-http0
|
||||
%package -n libkea-http2
|
||||
Summary: Kea DHCP http communication library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libkea-http0
|
||||
%description -n libkea-http2
|
||||
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
|
||||
@ -191,18 +216,18 @@ log4J logging system common in Java development, and includes the
|
||||
following ideas: a set of severity levels; a hierarchy of logging
|
||||
sources; separation of message use from message text.
|
||||
|
||||
%package -n libkea-process0
|
||||
%package -n libkea-process2
|
||||
Summary: Kea DHCP process abstraction library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libkea-process0
|
||||
%description -n libkea-process2
|
||||
One of the many libraries the Kea DHCP server is composed of.
|
||||
|
||||
%package -n libkea-stats1
|
||||
%package -n libkea-stats2
|
||||
Summary: Kea DHCP Statistics Manager library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libkea-stats1
|
||||
%description -n libkea-stats2
|
||||
One of the many libraries the Kea DHCP server is composed of.
|
||||
|
||||
%package -n libkea-threads1
|
||||
@ -219,11 +244,11 @@ Group: System/Library
|
||||
%description -n libkea-util-io0
|
||||
One of the many libraries the Kea DHCP server is composed of.
|
||||
|
||||
%package -n libkea-util2
|
||||
%package -n libkea-util3
|
||||
Summary: Kea utility function library
|
||||
Group: System/Library
|
||||
|
||||
%description -n libkea-util2
|
||||
%description -n libkea-util3
|
||||
One of the many libraries the Kea DHCP server is composed of.
|
||||
|
||||
%package devel
|
||||
@ -232,24 +257,24 @@ Group: Development/Libraries/C and C++
|
||||
# Bundy DHCP and Kea share the same origin, so conflict
|
||||
Conflicts: otheproviders(pkgconfig(dns++))
|
||||
Requires: libkea-asiodns0 = %version
|
||||
Requires: libkea-asiolink4 = %version
|
||||
Requires: libkea-cc2 = %version
|
||||
Requires: libkea-cfgclient3 = %version
|
||||
Requires: libkea-cryptolink2 = %version
|
||||
Requires: libkea-dhcp++5 = %version
|
||||
Requires: libkea-asiolink6 = %version
|
||||
Requires: libkea-cc5 = %version
|
||||
Requires: libkea-cfgclient5 = %version
|
||||
Requires: libkea-cryptolink3 = %version
|
||||
Requires: libkea-dhcp++8 = %version
|
||||
Requires: libkea-dhcp_ddns1 = %version
|
||||
Requires: libkea-dhcpsrv7 = %version
|
||||
Requires: libkea-dns++0 = %version
|
||||
Requires: libkea-eval5 = %version
|
||||
Requires: libkea-dhcpsrv10 = %version
|
||||
Requires: libkea-dns++2 = %version
|
||||
Requires: libkea-eval7 = %version
|
||||
Requires: libkea-exceptions0 = %version
|
||||
Requires: libkea-hooks3 = %version
|
||||
Requires: libkea-http0 = %version
|
||||
Requires: libkea-hooks6 = %version
|
||||
Requires: libkea-http2 = %version
|
||||
Requires: libkea-log3 = %version
|
||||
Requires: libkea-process0 = %version
|
||||
Requires: libkea-stats1 = %version
|
||||
Requires: libkea-process2 = %version
|
||||
Requires: libkea-stats2 = %version
|
||||
Requires: libkea-threads1 = %version
|
||||
Requires: libkea-util-io0 = %version
|
||||
Requires: libkea-util2 = %version
|
||||
Requires: libkea-util3 = %version
|
||||
|
||||
%description devel
|
||||
Development files for the Kea DHCP server
|
||||
@ -259,15 +284,23 @@ Development files for the Kea DHCP server
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
%configure --disable-static \
|
||||
%configure \
|
||||
--disable-dependency-tracking \
|
||||
--disable-rpath \
|
||||
--disable-static \
|
||||
%if 0%{with regen_files}
|
||||
--enable-generate-docs \
|
||||
--enable-generate-parser \
|
||||
%endif
|
||||
--enable-logger-checks \
|
||||
--with-dhcp-mysql \
|
||||
--with-dhcp-pgsql
|
||||
--with-dhcp-pgsql
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
b="%buildroot"
|
||||
%make_install
|
||||
rm -fv "$b/%_libdir"/*.la
|
||||
find %{buildroot}/%_libdir -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"
|
||||
@ -292,7 +325,6 @@ perl -i -pe 's{/var/run}{/run};s{/var/log/kea-}{/var/log/kea/}' \
|
||||
"$b/%_sysconfdir/kea"/*.conf
|
||||
mkdir -p "$b/var/log/kea"
|
||||
ln -s "%_sbindir/service" "%buildroot/%_sbindir/rc%name"
|
||||
%fdupes %buildroot/%_prefix
|
||||
|
||||
%pre
|
||||
getent group keadhcp >/dev/null || groupadd -r keadhcp
|
||||
@ -311,44 +343,46 @@ systemd-tmpfiles --create kea.conf || :
|
||||
%postun
|
||||
%service_del_postun kea.service
|
||||
|
||||
%post hooks -p /sbin/ldconfig
|
||||
%postun hooks -p /sbin/ldconfig
|
||||
%post -n libkea-asiodns0 -p /sbin/ldconfig
|
||||
%postun -n libkea-asiodns0 -p /sbin/ldconfig
|
||||
%post -n libkea-asiolink4 -p /sbin/ldconfig
|
||||
%postun -n libkea-asiolink4 -p /sbin/ldconfig
|
||||
%post -n libkea-cc2 -p /sbin/ldconfig
|
||||
%postun -n libkea-cc2 -p /sbin/ldconfig
|
||||
%post -n libkea-cfgclient3 -p /sbin/ldconfig
|
||||
%postun -n libkea-cfgclient3 -p /sbin/ldconfig
|
||||
%post -n libkea-cryptolink2 -p /sbin/ldconfig
|
||||
%postun -n libkea-cryptolink2 -p /sbin/ldconfig
|
||||
%post -n libkea-dhcp++5 -p /sbin/ldconfig
|
||||
%postun -n libkea-dhcp++5 -p /sbin/ldconfig
|
||||
%post -n libkea-asiolink6 -p /sbin/ldconfig
|
||||
%postun -n libkea-asiolink6 -p /sbin/ldconfig
|
||||
%post -n libkea-cc5 -p /sbin/ldconfig
|
||||
%postun -n libkea-cc5 -p /sbin/ldconfig
|
||||
%post -n libkea-cfgclient5 -p /sbin/ldconfig
|
||||
%postun -n libkea-cfgclient5 -p /sbin/ldconfig
|
||||
%post -n libkea-cryptolink3 -p /sbin/ldconfig
|
||||
%postun -n libkea-cryptolink3 -p /sbin/ldconfig
|
||||
%post -n libkea-dhcp++8 -p /sbin/ldconfig
|
||||
%postun -n libkea-dhcp++8 -p /sbin/ldconfig
|
||||
%post -n libkea-dhcp_ddns1 -p /sbin/ldconfig
|
||||
%postun -n libkea-dhcp_ddns1 -p /sbin/ldconfig
|
||||
%post -n libkea-dhcpsrv7 -p /sbin/ldconfig
|
||||
%postun -n libkea-dhcpsrv7 -p /sbin/ldconfig
|
||||
%post -n libkea-dns++0 -p /sbin/ldconfig
|
||||
%postun -n libkea-dns++0 -p /sbin/ldconfig
|
||||
%post -n libkea-eval5 -p /sbin/ldconfig
|
||||
%postun -n libkea-eval5 -p /sbin/ldconfig
|
||||
%post -n libkea-dhcpsrv10 -p /sbin/ldconfig
|
||||
%postun -n libkea-dhcpsrv10 -p /sbin/ldconfig
|
||||
%post -n libkea-dns++2 -p /sbin/ldconfig
|
||||
%postun -n libkea-dns++2 -p /sbin/ldconfig
|
||||
%post -n libkea-eval7 -p /sbin/ldconfig
|
||||
%postun -n libkea-eval7 -p /sbin/ldconfig
|
||||
%post -n libkea-exceptions0 -p /sbin/ldconfig
|
||||
%postun -n libkea-exceptions0 -p /sbin/ldconfig
|
||||
%post -n libkea-hooks3 -p /sbin/ldconfig
|
||||
%postun -n libkea-hooks3 -p /sbin/ldconfig
|
||||
%post -n libkea-http0 -p /sbin/ldconfig
|
||||
%postun -n libkea-http0 -p /sbin/ldconfig
|
||||
%post -n libkea-hooks6 -p /sbin/ldconfig
|
||||
%postun -n libkea-hooks6 -p /sbin/ldconfig
|
||||
%post -n libkea-http2 -p /sbin/ldconfig
|
||||
%postun -n libkea-http2 -p /sbin/ldconfig
|
||||
%post -n libkea-log3 -p /sbin/ldconfig
|
||||
%postun -n libkea-log3 -p /sbin/ldconfig
|
||||
%post -n libkea-process0 -p /sbin/ldconfig
|
||||
%postun -n libkea-process0 -p /sbin/ldconfig
|
||||
%post -n libkea-stats1 -p /sbin/ldconfig
|
||||
%postun -n libkea-stats1 -p /sbin/ldconfig
|
||||
%post -n libkea-process2 -p /sbin/ldconfig
|
||||
%postun -n libkea-process2 -p /sbin/ldconfig
|
||||
%post -n libkea-stats2 -p /sbin/ldconfig
|
||||
%postun -n libkea-stats2 -p /sbin/ldconfig
|
||||
%post -n libkea-threads1 -p /sbin/ldconfig
|
||||
%postun -n libkea-threads1 -p /sbin/ldconfig
|
||||
%post -n libkea-util-io0 -p /sbin/ldconfig
|
||||
%postun -n libkea-util-io0 -p /sbin/ldconfig
|
||||
%post -n libkea-util2 -p /sbin/ldconfig
|
||||
%postun -n libkea-util2 -p /sbin/ldconfig
|
||||
%post -n libkea-util3 -p /sbin/ldconfig
|
||||
%postun -n libkea-util3 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -366,69 +400,75 @@ systemd-tmpfiles --create kea.conf || :
|
||||
%attr(0775,keadhcp,keadhcp) %_localstatedir/log/kea/
|
||||
%ghost %dir %_rundir/%name
|
||||
|
||||
%files hooks
|
||||
%dir %_libdir/hooks
|
||||
%_libdir/hooks/libdhcp_stat_cmds.so
|
||||
%_libdir/hooks/libdhcp_lease_cmds.so
|
||||
%_libdir/hooks/libdhcp_ha.so
|
||||
|
||||
%files -n libkea-asiodns0
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-asiodns.so.0*
|
||||
|
||||
%files -n libkea-asiolink4
|
||||
%files -n libkea-asiolink6
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-asiolink.so.4*
|
||||
%_libdir/libkea-asiolink.so.6*
|
||||
|
||||
%files -n libkea-cc2
|
||||
%files -n libkea-cc5
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-cc.so.2*
|
||||
%_libdir/libkea-cc.so.5*
|
||||
|
||||
%files -n libkea-cfgclient3
|
||||
%files -n libkea-cfgclient5
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-cfgclient.so.3*
|
||||
%_libdir/libkea-cfgclient.so.5*
|
||||
|
||||
%files -n libkea-cryptolink2
|
||||
%files -n libkea-cryptolink3
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-cryptolink.so.2*
|
||||
%_libdir/libkea-cryptolink.so.3*
|
||||
|
||||
%files -n libkea-dhcp++5
|
||||
%files -n libkea-dhcp++8
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-dhcp++.so.5*
|
||||
%_libdir/libkea-dhcp++.so.8*
|
||||
|
||||
%files -n libkea-dhcp_ddns1
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-dhcp_ddns.so.1*
|
||||
|
||||
%files -n libkea-dhcpsrv7
|
||||
%files -n libkea-dhcpsrv10
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-dhcpsrv.so.7*
|
||||
%_libdir/libkea-dhcpsrv.so.10*
|
||||
|
||||
%files -n libkea-dns++0
|
||||
%files -n libkea-dns++2
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-dns++.so.0*
|
||||
%_libdir/libkea-dns++.so.2*
|
||||
|
||||
%files -n libkea-eval5
|
||||
%files -n libkea-eval7
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-eval.so.5*
|
||||
%_libdir/libkea-eval.so.7*
|
||||
|
||||
%files -n libkea-exceptions0
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-exceptions.so.0*
|
||||
|
||||
%files -n libkea-hooks3
|
||||
%files -n libkea-hooks6
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-hooks.so.3*
|
||||
%_libdir/libkea-hooks.so.6*
|
||||
|
||||
%files -n libkea-http0
|
||||
%files -n libkea-http2
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-http.so.0*
|
||||
%_libdir/libkea-http.so.2*
|
||||
|
||||
%files -n libkea-log3
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-log.so.3*
|
||||
|
||||
%files -n libkea-stats1
|
||||
%files -n libkea-stats2
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-stats.so.1*
|
||||
%_libdir/libkea-stats.so.2*
|
||||
|
||||
%files -n libkea-process0
|
||||
%files -n libkea-process2
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-process.so.0*
|
||||
%_libdir/libkea-process.so.2*
|
||||
|
||||
%files -n libkea-threads1
|
||||
%defattr(-,root,root)
|
||||
@ -438,9 +478,9 @@ systemd-tmpfiles --create kea.conf || :
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-util-io.so.0*
|
||||
|
||||
%files -n libkea-util2
|
||||
%files -n libkea-util3
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libkea-util.so.2*
|
||||
%_libdir/libkea-util.so.3*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user