forked from jengelh/kea
Accepting request 661888 from home:mnhauke:network
- Update to version 1.5.0 - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/661888 OBS-URL: https://build.opensuse.org/package/show/network:dhcp/kea?expand=0&rev=7
This commit is contained in:
parent
42ff184cd1
commit
04c738d21b
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c0f8ecb93657adfc5ab970c91706754e601084828493f053f159661d21b31128
|
|
||||||
size 6552970
|
|
@ -1,16 +0,0 @@
|
|||||||
-----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-----
|
|
3
kea-1.5.0.tar.gz
Normal file
3
kea-1.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:edce4fab68ca7af607cf7f5bc86596e04fe0ef4b8e88906e339cdefcf21daaec
|
||||||
|
size 7395257
|
16
kea-1.5.0.tar.gz.asc
Normal file
16
kea-1.5.0.tar.gz.asc
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABAgAdFiEEvg6XSLcYJToou4n/8bEb8FzwLlcFAlwT0L8ACgkQ8bEb8Fzw
|
||||||
|
LlfC9BAA2ZQmVP2NC+2kwlsxx4z6tVzD7Gy71TJxI/ZRarF6oyciUkrOPNVSF2f6
|
||||||
|
LPuWJGbKnqW3DvRu14+GHVBGdVdatPKqnPAl5WLxOpCLzEQqunm/A32um2/HV4RY
|
||||||
|
inCscq2O5AGJGtAo+/EoQbQwPTxjsxhg5vseauMgnSCOoF90XcS1bi3xj0aHJED4
|
||||||
|
x0xWPB7DfAl7RJ+yXGA7veqeEOt6ERj1ls6/SCZk4fBYOLEGXX9/emLNIInqnUh5
|
||||||
|
hR9oRx6I99X/6/OVdsaR7tdk8xEOHjMMEF+q5OJlvhGNTpzl8n0kViwRysbitWR5
|
||||||
|
lGdq3agRdwxnPSTfVmO56fndmxHq7rKk9PQEHfAAUv3arHYm45qwI29bOJUaly+T
|
||||||
|
UbC4nFGbbJyZMue6aUREe8+K8LWUmVSgfwn9X/stRC0gnNtDYXmfwygo3nk4Enbw
|
||||||
|
BrcU05ZYEkLGlthOXzig9nw2Csf27znrwvrh+NFT3ZC+ayqoxheZHmYNcBf5nWOk
|
||||||
|
FZsf0ZSzgYk9aH8j7EWRaDAkHccuZz+lhu1kTlo8cB1WVTuZ+dXXgwJWPV0ZDunX
|
||||||
|
mwFNrD4dsoiRThFdknNVMQZSjK9oqs9d0VKfiH29++GXLXGuq74hHuqpbF7H3/T3
|
||||||
|
geaHmiTFeTLMosl2Ac7Rpe9cFJum3yT2Rn1WjRDZ2pNCrN2rx0M=
|
||||||
|
=A19s
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 28 23:05:17 UTC 2018 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- Update to version 1.5.0
|
||||||
|
- Run spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 19 22:45:35 UTC 2018 - jengelh@inai.de
|
Tue Jun 19 22:45:35 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
377
kea.spec
377
kea.spec
@ -16,27 +16,35 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: kea
|
|
||||||
Version: 1.4.0
|
|
||||||
Release: 0
|
|
||||||
Url: http://kea.isc.org/
|
|
||||||
Summary: Dynamic Host Configuration Protocol daemon
|
|
||||||
License: MPL-2.0
|
|
||||||
Group: Productivity/Networking/Boot/Servers
|
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1500
|
%if 0%{?suse_version} >= 1500
|
||||||
%bcond_without regen_files
|
%bcond_without regen_files
|
||||||
%else
|
%else
|
||||||
%bcond_with regen_files
|
%bcond_with regen_files
|
||||||
%endif
|
%endif
|
||||||
|
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/
|
||||||
#Git-Clone: git://github.com/isc-projects/kea
|
#Git-Clone: git://github.com/isc-projects/kea
|
||||||
Source: http://ftp.isc.org/isc/kea/%version/kea-%version.tar.gz
|
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
|
Source2: http://ftp.isc.org/isc/kea/%{version}/kea-%{version}.tar.gz.asc
|
||||||
# https://www.isc.org/downloads/software-support-policy/openpgp-key/
|
# https://www.isc.org/downloads/software-support-policy/openpgp-key/
|
||||||
Source3: kea.keyring
|
Source3: kea.keyring
|
||||||
BuildRequires: autoconf >= 2.59
|
BuildRequires: autoconf >= 2.59
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
|
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
|
||||||
|
Suggests: %{name}-hooks = %{version}
|
||||||
%if 0%{with regen_files}
|
%if 0%{with regen_files}
|
||||||
BuildRequires: bison >= 3.0
|
BuildRequires: bison >= 3.0
|
||||||
BuildRequires: docbook-xsl-stylesheets
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
@ -44,25 +52,14 @@ BuildRequires: elinks
|
|||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: libxslt-tools
|
BuildRequires: libxslt-tools
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: gcc-c++
|
|
||||||
%if 0%{?suse_version} >= 1500
|
%if 0%{?suse_version} >= 1500
|
||||||
BuildRequires: libboost_system-devel
|
BuildRequires: libboost_system-devel
|
||||||
%else
|
%else
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libtool >= 2
|
|
||||||
BuildRequires: log4cplus-devel
|
|
||||||
BuildRequires: libmysqlclient-devel
|
|
||||||
BuildRequires: pkgconfig >= 0.23
|
|
||||||
BuildRequires: postgresql-devel
|
|
||||||
BuildRequires: xz
|
|
||||||
BuildRequires: pkgconfig(libcrypto)
|
|
||||||
%if 0%{?suse_version} >= 1310
|
%if 0%{?suse_version} >= 1310
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
%endif
|
%endif
|
||||||
BuildRoot: %_tmppath/%name-%version-build
|
|
||||||
Requires(pre): shadow
|
|
||||||
Suggests: %name-hooks = %version
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Kea is a new DHCPv4/DHCPv6 server being developed by ISC in C++, a
|
Kea is a new DHCPv4/DHCPv6 server being developed by ISC in C++, a
|
||||||
@ -87,28 +84,28 @@ Group: System/Libraries
|
|||||||
The asiodns library provides an abstraction layer between BIND10/Kea
|
The asiodns library provides an abstraction layer between BIND10/Kea
|
||||||
modules and the asiolink library.
|
modules and the asiolink library.
|
||||||
|
|
||||||
%package -n libkea-asiolink6
|
%package -n libkea-asiolink7
|
||||||
Summary: Kea DHCP server socket I/O abstraction layer library
|
Summary: Kea DHCP server socket I/O abstraction layer library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libkea-asiolink6
|
%description -n libkea-asiolink7
|
||||||
The asiolink library provides an abstraction layer between BIND10/Kea
|
The asiolink library provides an abstraction layer between BIND10/Kea
|
||||||
modules and the socket I/O subsystem Kea is using (currently,
|
modules and the socket I/O subsystem Kea is using (currently,
|
||||||
boost::asio).
|
boost::asio).
|
||||||
|
|
||||||
%package -n libkea-cc5
|
%package -n libkea-cc7
|
||||||
Summary: Kea DHCP server command channel library
|
Summary: Kea DHCP server command channel library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libkea-cc5
|
%description -n libkea-cc7
|
||||||
libkea-cc is used for the control channel protocol between keactrl
|
libkea-cc is used for the control channel protocol between keactrl
|
||||||
and the server.
|
and the server.
|
||||||
|
|
||||||
%package -n libkea-cfgclient5
|
%package -n libkea-cfgclient6
|
||||||
Summary: Kea DHCP server configuration client library
|
Summary: Kea DHCP server configuration client library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libkea-cfgclient5
|
%description -n libkea-cfgclient6
|
||||||
The Kea DHCP server can be managed at runtime via the Control
|
The Kea DHCP server can be managed at runtime via the Control
|
||||||
Channel. The CC allows an external entity (e.g. a tool run by a
|
Channel. The CC allows an external entity (e.g. a tool run by a
|
||||||
sysadmin or a script) to issue commands to the server which can
|
sysadmin or a script) to issue commands to the server which can
|
||||||
@ -119,19 +116,19 @@ manipulation, and shutdown.
|
|||||||
Communication over the Control Channel is conducted using JSON
|
Communication over the Control Channel is conducted using JSON
|
||||||
structures. The CC is a UNIX stream socket as of kea 0.9.2.
|
structures. The CC is a UNIX stream socket as of kea 0.9.2.
|
||||||
|
|
||||||
%package -n libkea-cryptolink3
|
%package -n libkea-cryptolink4
|
||||||
Summary: Kea DHCP server crypto abstraction layer library
|
Summary: Kea DHCP server crypto abstraction layer library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libkea-cryptolink3
|
%description -n libkea-cryptolink4
|
||||||
The Kea cryptolink library is an abstraction layer for crypto
|
The Kea cryptolink library is an abstraction layer for crypto
|
||||||
library backends (such as Botan, OpenSSL).
|
library backends (such as Botan, OpenSSL).
|
||||||
|
|
||||||
%package -n libkea-dhcp++8
|
%package -n libkea-dhcp++11
|
||||||
Summary: Kea DHCP library
|
Summary: Kea DHCP library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libkea-dhcp++8
|
%description -n libkea-dhcp++11
|
||||||
libdhcp++ is an all-purpose DHCP-manipulation library, written in
|
libdhcp++ is an all-purpose DHCP-manipulation library, written in
|
||||||
C++. It offers packet parsing and assembly, DHCPv4 and DHCPv6 options
|
C++. It offers packet parsing and assembly, DHCPv4 and DHCPv6 options
|
||||||
parsing and assembly, interface detection, and socket operations It
|
parsing and assembly, interface detection, and socket operations It
|
||||||
@ -148,28 +145,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
|
by ISC's DHCP-DDNS (aka D2) service to carry out DHCP-driven DNS
|
||||||
updates.
|
updates.
|
||||||
|
|
||||||
%package -n libkea-dhcpsrv10
|
%package -n libkea-dhcpsrv14
|
||||||
Summary: Kea DHCP server component library
|
Summary: Kea DHCP server component library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libkea-dhcpsrv10
|
%description -n libkea-dhcpsrv14
|
||||||
This library contains code used for the DHCPv4 and DHCPv6 servers'
|
This library contains code used for the DHCPv4 and DHCPv6 servers'
|
||||||
operations, including the "Lease Manager" that manages information
|
operations, including the "Lease Manager" that manages information
|
||||||
about leases and the "Configuration Manager" that stores the servers'
|
about leases and the "Configuration Manager" that stores the servers'
|
||||||
configuration etc.
|
configuration etc.
|
||||||
|
|
||||||
%package -n libkea-dns++2
|
%package -n libkea-dns++3
|
||||||
Summary: Kea DHCP server component library
|
Summary: Kea DHCP server component library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libkea-dns++2
|
%description -n libkea-dns++3
|
||||||
One of the many libraries the Kea DHCP server is composed of.
|
One of the many libraries the Kea DHCP server is composed of.
|
||||||
|
|
||||||
%package -n libkea-eval7
|
%package -n libkea-eval10
|
||||||
Summary: Kea DHCP expression evaluation library
|
Summary: Kea DHCP expression evaluation library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libkea-eval7
|
%description -n libkea-eval10
|
||||||
The core of the libeval library is a parser that is able to parse an
|
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
|
expression (e.g. option[123].text == 'APC'). This is currently used
|
||||||
for client classification.
|
for client classification.
|
||||||
@ -181,11 +178,11 @@ Group: System/Libraries
|
|||||||
%description -n libkea-exceptions0
|
%description -n libkea-exceptions0
|
||||||
One of the many libraries the Kea DHCP server is composed of.
|
One of the many libraries the Kea DHCP server is composed of.
|
||||||
|
|
||||||
%package -n libkea-hooks6
|
%package -n libkea-hooks7
|
||||||
Summary: Kea DHCP server hook library
|
Summary: Kea DHCP server hook library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libkea-hooks6
|
%description -n libkea-hooks7
|
||||||
The hooks framework is a Kea system that simplifies the way that
|
The hooks framework is a Kea system that simplifies the way that
|
||||||
users can write code to modify the behavior of Kea. Instead of
|
users can write code to modify the behavior of Kea. Instead of
|
||||||
altering the Kea source code, they write functions that are compiled
|
altering the Kea source code, they write functions that are compiled
|
||||||
@ -196,11 +193,11 @@ processing, the component "calls out" to functions in the library,
|
|||||||
passing to them the data is it currently working on. They can examine
|
passing to them the data is it currently working on. They can examine
|
||||||
and modify the data as required.
|
and modify the data as required.
|
||||||
|
|
||||||
%package -n libkea-http2
|
%package -n libkea-http4
|
||||||
Summary: Kea DHCP http communication library
|
Summary: Kea DHCP http communication library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libkea-http2
|
%description -n libkea-http4
|
||||||
This library is used by Control Agent to establish HTTP connections,
|
This library is used by Control Agent to establish HTTP connections,
|
||||||
receive messages and send responses over HTTP. This library uses
|
receive messages and send responses over HTTP. This library uses
|
||||||
boost ASIO for creating TCP connections and asynchronously receive
|
boost ASIO for creating TCP connections and asynchronously receive
|
||||||
@ -216,11 +213,11 @@ log4J logging system common in Java development, and includes the
|
|||||||
following ideas: a set of severity levels; a hierarchy of logging
|
following ideas: a set of severity levels; a hierarchy of logging
|
||||||
sources; separation of message use from message text.
|
sources; separation of message use from message text.
|
||||||
|
|
||||||
%package -n libkea-process2
|
%package -n libkea-process3
|
||||||
Summary: Kea DHCP process abstraction library
|
Summary: Kea DHCP process abstraction library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libkea-process2
|
%description -n libkea-process3
|
||||||
One of the many libraries the Kea DHCP server is composed of.
|
One of the many libraries the Kea DHCP server is composed of.
|
||||||
|
|
||||||
%package -n libkea-stats2
|
%package -n libkea-stats2
|
||||||
@ -230,11 +227,11 @@ Group: System/Libraries
|
|||||||
%description -n libkea-stats2
|
%description -n libkea-stats2
|
||||||
One of the many libraries the Kea DHCP server is composed of.
|
One of the many libraries the Kea DHCP server is composed of.
|
||||||
|
|
||||||
%package -n libkea-threads1
|
%package -n libkea-threads2
|
||||||
Summary: Kea DHCP thread abstraction library
|
Summary: Kea DHCP thread abstraction library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libkea-threads1
|
%description -n libkea-threads2
|
||||||
Kea's C++ wrapper library for pthreads and mutexes.
|
Kea's C++ wrapper library for pthreads and mutexes.
|
||||||
|
|
||||||
%package -n libkea-util-io0
|
%package -n libkea-util-io0
|
||||||
@ -244,37 +241,61 @@ Group: System/Library
|
|||||||
%description -n libkea-util-io0
|
%description -n libkea-util-io0
|
||||||
One of the many libraries the Kea DHCP server is composed of.
|
One of the many libraries the Kea DHCP server is composed of.
|
||||||
|
|
||||||
%package -n libkea-util3
|
%package -n libkea-util5
|
||||||
Summary: Kea utility function library
|
Summary: Kea utility function library
|
||||||
Group: System/Library
|
Group: System/Library
|
||||||
|
|
||||||
%description -n libkea-util3
|
%description -n libkea-util5
|
||||||
One of the many libraries the Kea DHCP server is composed of.
|
One of the many libraries the Kea DHCP server is composed of.
|
||||||
|
|
||||||
|
%package -n libkea-database1
|
||||||
|
Summary: Kea database abstraction library
|
||||||
|
Group: System/Library
|
||||||
|
|
||||||
|
%description -n libkea-database1
|
||||||
|
Kea's database abstraction library.
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for the Kea DHCP server
|
Summary: Development files for the Kea DHCP server
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: libkea-asiodns0 = %{version}
|
||||||
|
Requires: libkea-asiolink7 = %{version}
|
||||||
|
Requires: libkea-cc7 = %{version}
|
||||||
|
Requires: libkea-cfgclient6 = %{version}
|
||||||
|
Requires: libkea-cryptolink4 = %{version}
|
||||||
|
Requires: libkea-dhcp++11 = %{version}
|
||||||
|
Requires: libkea-dhcp_ddns1 = %{version}
|
||||||
|
Requires: libkea-dhcpsrv14 = %{version}
|
||||||
|
Requires: libkea-dns++3 = %{version}
|
||||||
|
Requires: libkea-eval10 = %{version}
|
||||||
|
Requires: libkea-exceptions0 = %{version}
|
||||||
|
Requires: libkea-hooks7 = %{version}
|
||||||
|
Requires: libkea-http4 = %{version}
|
||||||
|
Requires: libkea-log3 = %{version}
|
||||||
|
Requires: libkea-process3 = %{version}
|
||||||
|
Requires: libkea-stats2 = %{version}
|
||||||
|
Requires: libkea-threads2 = %{version}
|
||||||
|
Requires: libkea-util-io0 = %{version}
|
||||||
|
Requires: libkea-util5 = %{version}
|
||||||
|
Requires: libkea-database1 = %{version}
|
||||||
|
Requires: libkea-mysql0 = %{version}
|
||||||
|
Requires: libkea-pgsql0 = %{version}
|
||||||
# Bundy DHCP and Kea share the same origin, so conflict
|
# Bundy DHCP and Kea share the same origin, so conflict
|
||||||
Conflicts: otheproviders(pkgconfig(dns++))
|
Conflicts: otheproviders(pkgconfig(dns++))
|
||||||
Requires: libkea-asiodns0 = %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-dhcpsrv10 = %version
|
|
||||||
Requires: libkea-dns++2 = %version
|
|
||||||
Requires: libkea-eval7 = %version
|
|
||||||
Requires: libkea-exceptions0 = %version
|
|
||||||
Requires: libkea-hooks6 = %version
|
|
||||||
Requires: libkea-http2 = %version
|
|
||||||
Requires: libkea-log3 = %version
|
|
||||||
Requires: libkea-process2 = %version
|
|
||||||
Requires: libkea-stats2 = %version
|
|
||||||
Requires: libkea-threads1 = %version
|
|
||||||
Requires: libkea-util-io0 = %version
|
|
||||||
Requires: libkea-util3 = %version
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Development files for the Kea DHCP server
|
Development files for the Kea DHCP server
|
||||||
@ -297,38 +318,38 @@ autoreconf -fi
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot"
|
b=%{buildroot}
|
||||||
%make_install
|
%make_install
|
||||||
find "$b/%_libdir" -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
mkdir -p "$b/%_unitdir" "$b/%_prefix/lib/tmpfiles.d"
|
mkdir -p "$b/%{_unitdir}" "$b/%{_prefix}/lib/tmpfiles.d"
|
||||||
ls -l "$b/%_unitdir/" "$b/%_prefix/lib/tmpfiles.d/" || :
|
ls -l "$b/%{_unitdir}/" "$b/%{_prefix}/lib/tmpfiles.d/" || :
|
||||||
cat <<-EOF >"$b/%_unitdir/kea.service"
|
cat <<-EOF >"$b/%{_unitdir}/kea.service"
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=ISC Kea DHCP server
|
Description=ISC Kea DHCP server
|
||||||
Before=multi-user.target
|
Before=multi-user.target
|
||||||
After=remote-fs.target network.target nss-lookup.target time-sync.target ldap.service ndsd.service
|
After=remote-fs.target network.target nss-lookup.target time-sync.target ldap.service ndsd.service
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
Environment=KEA_PIDFILE_DIR=%_rundir/%name
|
Environment=KEA_PIDFILE_DIR=%{_rundir}/%{name}
|
||||||
ExecStart=%_sbindir/keactrl start
|
ExecStart=%{_sbindir}/keactrl start
|
||||||
ExecReload=%_sbindir/keactrl reload
|
ExecReload=%{_sbindir}/keactrl reload
|
||||||
ExecStop=%_sbindir/keactrl stop
|
ExecStop=%{_sbindir}/keactrl stop
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
Alias=dhcp-server.service
|
Alias=dhcp-server.service
|
||||||
EOF
|
EOF
|
||||||
cat <<-EOF >"$b/%_prefix/lib/tmpfiles.d/kea.conf"
|
cat <<-EOF >"$b/%{_prefix}/lib/tmpfiles.d/kea.conf"
|
||||||
d /run/kea 0775 keadhcp keadhcp -
|
d /run/kea 0775 keadhcp keadhcp -
|
||||||
EOF
|
EOF
|
||||||
perl -i -pe 's{/var/run}{/run};s{/var/log/kea-}{/var/log/kea/}' \
|
perl -i -pe 's{%{_localstatedir}/run}{/run};s{%{_localstatedir}/log/kea-}{%{_localstatedir}/log/kea/}' \
|
||||||
"$b/%_sysconfdir/kea"/*.conf
|
"$b/%{_sysconfdir}/kea"/*.conf
|
||||||
mkdir -p "$b/var/log/kea"
|
mkdir -p "$b%{_localstatedir}/log/kea"
|
||||||
ln -s "%_sbindir/service" "%buildroot/%_sbindir/rc%name"
|
ln -s "%{_sbindir}/service" "%{buildroot}/%{_sbindir}/rc%{name}"
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
getent group keadhcp >/dev/null || groupadd -r keadhcp
|
getent group keadhcp >/dev/null || groupadd -r keadhcp
|
||||||
getent passwd keadhcp >/dev/null || useradd -r -N -M -g keadhcp \
|
getent passwd keadhcp >/dev/null || useradd -r -N -M -g keadhcp \
|
||||||
-s /sbin/nologin -d /var/lib/kea -c "Kea DHCP server" \
|
-s /sbin/nologin -d %{_localstatedir}/lib/kea -c "Kea DHCP server" \
|
||||||
keadhcp
|
keadhcp
|
||||||
systemd-tmpfiles --create kea.conf || :
|
systemd-tmpfiles --create kea.conf || :
|
||||||
%service_add_pre kea.service
|
%service_add_pre kea.service
|
||||||
@ -344,145 +365,139 @@ systemd-tmpfiles --create kea.conf || :
|
|||||||
|
|
||||||
%post -n libkea-asiodns0 -p /sbin/ldconfig
|
%post -n libkea-asiodns0 -p /sbin/ldconfig
|
||||||
%postun -n libkea-asiodns0 -p /sbin/ldconfig
|
%postun -n libkea-asiodns0 -p /sbin/ldconfig
|
||||||
%post -n libkea-asiolink6 -p /sbin/ldconfig
|
%post -n libkea-asiolink7 -p /sbin/ldconfig
|
||||||
%postun -n libkea-asiolink6 -p /sbin/ldconfig
|
%postun -n libkea-asiolink7 -p /sbin/ldconfig
|
||||||
%post -n libkea-cc5 -p /sbin/ldconfig
|
%post -n libkea-cc7 -p /sbin/ldconfig
|
||||||
%postun -n libkea-cc5 -p /sbin/ldconfig
|
%postun -n libkea-cc7 -p /sbin/ldconfig
|
||||||
%post -n libkea-cfgclient5 -p /sbin/ldconfig
|
%post -n libkea-cfgclient6 -p /sbin/ldconfig
|
||||||
%postun -n libkea-cfgclient5 -p /sbin/ldconfig
|
%postun -n libkea-cfgclient6 -p /sbin/ldconfig
|
||||||
%post -n libkea-cryptolink3 -p /sbin/ldconfig
|
%post -n libkea-cryptolink4 -p /sbin/ldconfig
|
||||||
%postun -n libkea-cryptolink3 -p /sbin/ldconfig
|
%postun -n libkea-cryptolink4 -p /sbin/ldconfig
|
||||||
%post -n libkea-dhcp++8 -p /sbin/ldconfig
|
%post -n libkea-dhcp++11 -p /sbin/ldconfig
|
||||||
%postun -n libkea-dhcp++8 -p /sbin/ldconfig
|
%postun -n libkea-dhcp++11 -p /sbin/ldconfig
|
||||||
%post -n libkea-dhcp_ddns1 -p /sbin/ldconfig
|
%post -n libkea-dhcp_ddns1 -p /sbin/ldconfig
|
||||||
%postun -n libkea-dhcp_ddns1 -p /sbin/ldconfig
|
%postun -n libkea-dhcp_ddns1 -p /sbin/ldconfig
|
||||||
%post -n libkea-dhcpsrv10 -p /sbin/ldconfig
|
%post -n libkea-dhcpsrv14 -p /sbin/ldconfig
|
||||||
%postun -n libkea-dhcpsrv10 -p /sbin/ldconfig
|
%postun -n libkea-dhcpsrv14 -p /sbin/ldconfig
|
||||||
%post -n libkea-dns++2 -p /sbin/ldconfig
|
%post -n libkea-dns++3 -p /sbin/ldconfig
|
||||||
%postun -n libkea-dns++2 -p /sbin/ldconfig
|
%postun -n libkea-dns++3 -p /sbin/ldconfig
|
||||||
%post -n libkea-eval7 -p /sbin/ldconfig
|
%post -n libkea-eval10 -p /sbin/ldconfig
|
||||||
%postun -n libkea-eval7 -p /sbin/ldconfig
|
%postun -n libkea-eval10 -p /sbin/ldconfig
|
||||||
%post -n libkea-exceptions0 -p /sbin/ldconfig
|
%post -n libkea-exceptions0 -p /sbin/ldconfig
|
||||||
%postun -n libkea-exceptions0 -p /sbin/ldconfig
|
%postun -n libkea-exceptions0 -p /sbin/ldconfig
|
||||||
%post -n libkea-hooks6 -p /sbin/ldconfig
|
%post -n libkea-hooks7 -p /sbin/ldconfig
|
||||||
%postun -n libkea-hooks6 -p /sbin/ldconfig
|
%postun -n libkea-hooks7 -p /sbin/ldconfig
|
||||||
%post -n libkea-http2 -p /sbin/ldconfig
|
%post -n libkea-http4 -p /sbin/ldconfig
|
||||||
%postun -n libkea-http2 -p /sbin/ldconfig
|
%postun -n libkea-http4 -p /sbin/ldconfig
|
||||||
%post -n libkea-log3 -p /sbin/ldconfig
|
%post -n libkea-log3 -p /sbin/ldconfig
|
||||||
%postun -n libkea-log3 -p /sbin/ldconfig
|
%postun -n libkea-log3 -p /sbin/ldconfig
|
||||||
%post -n libkea-process2 -p /sbin/ldconfig
|
%post -n libkea-process3 -p /sbin/ldconfig
|
||||||
%postun -n libkea-process2 -p /sbin/ldconfig
|
%postun -n libkea-process3 -p /sbin/ldconfig
|
||||||
%post -n libkea-stats2 -p /sbin/ldconfig
|
%post -n libkea-stats2 -p /sbin/ldconfig
|
||||||
%postun -n libkea-stats2 -p /sbin/ldconfig
|
%postun -n libkea-stats2 -p /sbin/ldconfig
|
||||||
%post -n libkea-threads1 -p /sbin/ldconfig
|
%post -n libkea-threads2 -p /sbin/ldconfig
|
||||||
%postun -n libkea-threads1 -p /sbin/ldconfig
|
%postun -n libkea-threads2 -p /sbin/ldconfig
|
||||||
%post -n libkea-util-io0 -p /sbin/ldconfig
|
%post -n libkea-util-io0 -p /sbin/ldconfig
|
||||||
%postun -n libkea-util-io0 -p /sbin/ldconfig
|
%postun -n libkea-util-io0 -p /sbin/ldconfig
|
||||||
%post -n libkea-util3 -p /sbin/ldconfig
|
%post -n libkea-util5 -p /sbin/ldconfig
|
||||||
%postun -n libkea-util3 -p /sbin/ldconfig
|
%postun -n libkea-util5 -p /sbin/ldconfig
|
||||||
|
%post -n libkea-database1 -p /sbin/ldconfig
|
||||||
|
%postun -n libkea-database1 -p /sbin/ldconfig
|
||||||
|
%post -n libkea-mysql0 -p /sbin/ldconfig
|
||||||
|
%postun -n libkea-mysql0 -p /sbin/ldconfig
|
||||||
|
%post -n libkea-pgsql0 -p /sbin/ldconfig
|
||||||
|
%postun -n libkea-pgsql0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%dir %{_sysconfdir}/kea
|
||||||
%dir %_sysconfdir/kea
|
%config(noreplace) %{_sysconfdir}/kea/*.conf
|
||||||
%config(noreplace) %_sysconfdir/kea/*.conf
|
%{_datadir}/doc/kea/
|
||||||
%_datadir/doc/kea/
|
%{_mandir}/man8/*.8%{?ext_man}
|
||||||
%_mandir/man8/*.8*
|
%{_bindir}/kea*
|
||||||
%_bindir/kea*
|
%{_sbindir}/rckea
|
||||||
%_sbindir/rckea
|
%{_sbindir}/kea*
|
||||||
%_sbindir/kea*
|
%{_sbindir}/perfdhcp
|
||||||
%_sbindir/perfdhcp
|
%{_datadir}/kea/
|
||||||
%_datadir/kea/
|
%{_unitdir}/*.service
|
||||||
%_unitdir/*.service
|
%{_prefix}/lib/tmpfiles.d/
|
||||||
%_prefix/lib/tmpfiles.d/
|
%attr(0775,keadhcp,keadhcp) %{_localstatedir}/log/kea/
|
||||||
%attr(0775,keadhcp,keadhcp) %_localstatedir/log/kea/
|
%ghost %dir %{_rundir}/%{name}
|
||||||
%ghost %dir %_rundir/%name
|
|
||||||
|
|
||||||
%files hooks
|
%files hooks
|
||||||
%dir %_libdir/hooks
|
%dir %{_libdir}/hooks
|
||||||
%_libdir/hooks/libdhcp_stat_cmds.so
|
%{_libdir}/hooks/libdhcp_stat_cmds.so
|
||||||
%_libdir/hooks/libdhcp_lease_cmds.so
|
%{_libdir}/hooks/libdhcp_lease_cmds.so
|
||||||
%_libdir/hooks/libdhcp_ha.so
|
%{_libdir}/hooks/libdhcp_ha.so
|
||||||
|
|
||||||
%files -n libkea-asiodns0
|
%files -n libkea-asiodns0
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-asiodns.so.0*
|
||||||
%_libdir/libkea-asiodns.so.0*
|
|
||||||
|
|
||||||
%files -n libkea-asiolink6
|
%files -n libkea-asiolink7
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-asiolink.so.7*
|
||||||
%_libdir/libkea-asiolink.so.6*
|
|
||||||
|
|
||||||
%files -n libkea-cc5
|
%files -n libkea-cc7
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-cc.so.7*
|
||||||
%_libdir/libkea-cc.so.5*
|
|
||||||
|
|
||||||
%files -n libkea-cfgclient5
|
%files -n libkea-cfgclient6
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-cfgclient.so.6*
|
||||||
%_libdir/libkea-cfgclient.so.5*
|
|
||||||
|
|
||||||
%files -n libkea-cryptolink3
|
%files -n libkea-cryptolink4
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-cryptolink.so.4*
|
||||||
%_libdir/libkea-cryptolink.so.3*
|
|
||||||
|
|
||||||
%files -n libkea-dhcp++8
|
%files -n libkea-dhcp++11
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-dhcp++.so.11*
|
||||||
%_libdir/libkea-dhcp++.so.8*
|
|
||||||
|
|
||||||
%files -n libkea-dhcp_ddns1
|
%files -n libkea-dhcp_ddns1
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-dhcp_ddns.so.1*
|
||||||
%_libdir/libkea-dhcp_ddns.so.1*
|
|
||||||
|
|
||||||
%files -n libkea-dhcpsrv10
|
%files -n libkea-dhcpsrv14
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-dhcpsrv.so.14*
|
||||||
%_libdir/libkea-dhcpsrv.so.10*
|
|
||||||
|
|
||||||
%files -n libkea-dns++2
|
%files -n libkea-dns++3
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-dns++.so.3*
|
||||||
%_libdir/libkea-dns++.so.2*
|
|
||||||
|
|
||||||
%files -n libkea-eval7
|
%files -n libkea-eval10
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-eval.so.10*
|
||||||
%_libdir/libkea-eval.so.7*
|
|
||||||
|
|
||||||
%files -n libkea-exceptions0
|
%files -n libkea-exceptions0
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-exceptions.so.0*
|
||||||
%_libdir/libkea-exceptions.so.0*
|
|
||||||
|
|
||||||
%files -n libkea-hooks6
|
%files -n libkea-hooks7
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-hooks.so.7*
|
||||||
%_libdir/libkea-hooks.so.6*
|
|
||||||
|
|
||||||
%files -n libkea-http2
|
%files -n libkea-http4
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-http.so.4*
|
||||||
%_libdir/libkea-http.so.2*
|
|
||||||
|
|
||||||
%files -n libkea-log3
|
%files -n libkea-log3
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-log.so.3*
|
||||||
%_libdir/libkea-log.so.3*
|
|
||||||
|
|
||||||
%files -n libkea-stats2
|
%files -n libkea-stats2
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-stats.so.2*
|
||||||
%_libdir/libkea-stats.so.2*
|
|
||||||
|
|
||||||
%files -n libkea-process2
|
%files -n libkea-process3
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-process.so.3*
|
||||||
%_libdir/libkea-process.so.2*
|
|
||||||
|
|
||||||
%files -n libkea-threads1
|
%files -n libkea-threads2
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-threads.so.2*
|
||||||
%_libdir/libkea-threads.so.1*
|
|
||||||
|
|
||||||
%files -n libkea-util-io0
|
%files -n libkea-util-io0
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-util-io.so.0*
|
||||||
%_libdir/libkea-util-io.so.0*
|
|
||||||
|
|
||||||
%files -n libkea-util3
|
%files -n libkea-util5
|
||||||
%defattr(-,root,root)
|
%{_libdir}/libkea-util.so.5*
|
||||||
%_libdir/libkea-util.so.3*
|
|
||||||
|
%files -n libkea-database1
|
||||||
|
%{_libdir}/libkea-database.so.1*
|
||||||
|
|
||||||
|
%files -n libkea-mysql0
|
||||||
|
%{_libdir}/libkea-mysql.so.0*
|
||||||
|
|
||||||
|
%files -n libkea-pgsql0
|
||||||
|
%{_libdir}/libkea-pgsql.so.0*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%{_includedir}/kea/
|
||||||
%_includedir/kea/
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%_libdir/pkgconfig/*.pc
|
%{_libdir}/libkea*.so
|
||||||
%_libdir/libkea*.so
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user