mirror of
https://abf.rosa.ru/djam/dhcp.git
synced 2025-02-24 05:52:49 +00:00
move pid backward to /run and fix rpm-helper requires
This commit is contained in:
parent
37aa612021
commit
99c59873d0
1 changed files with 11 additions and 11 deletions
22
dhcp.spec
22
dhcp.spec
|
@ -41,8 +41,8 @@ Patch17: dhcp-4.2.0-add_timeout_when_NULL.patch
|
||||||
Patch18: dhcp-4.2.4-64_bit_lease_parse.patch
|
Patch18: dhcp-4.2.4-64_bit_lease_parse.patch
|
||||||
BuildRequires: groff-for-man
|
BuildRequires: groff-for-man
|
||||||
BuildRequires: openldap-devel
|
BuildRequires: openldap-devel
|
||||||
Requires(post): rpm-helper >= 0.24.8-1
|
Requires(post): rpm-helper
|
||||||
Requires(preun): rpm-helper >= 0.24.8-1
|
Requires(preun): rpm-helper
|
||||||
|
|
||||||
%description
|
%description
|
||||||
DHCP (Dynamic Host Configuration Protocol) is a protocol which allows
|
DHCP (Dynamic Host Configuration Protocol) is a protocol which allows
|
||||||
|
@ -93,8 +93,8 @@ Summary: The ISC DHCP (Dynamic Host Configuration Protocol) server
|
||||||
Group: System/Servers
|
Group: System/Servers
|
||||||
Requires: dhcp-common = %{epoch}:%{version}-%{release}
|
Requires: dhcp-common = %{epoch}:%{version}-%{release}
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(post): rpm-helper >= 0.24.8-1
|
Requires(post): rpm-helper
|
||||||
Requires(preun): rpm-helper >= 0.24.8-1
|
Requires(preun): rpm-helper
|
||||||
|
|
||||||
%description server
|
%description server
|
||||||
DHCP server is the Internet Software Consortium (ISC) DHCP server for various
|
DHCP server is the Internet Software Consortium (ISC) DHCP server for various
|
||||||
|
@ -124,8 +124,8 @@ Summary: The ISC DHCP (Dynamic Host Configuration Protocol) relay
|
||||||
Group: System/Servers
|
Group: System/Servers
|
||||||
Requires: dhcp-common = %{epoch}:%{version}-%{release}
|
Requires: dhcp-common = %{epoch}:%{version}-%{release}
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(post): rpm-helper >= 0.24.8-1
|
Requires(post): rpm-helper
|
||||||
Requires(preun): rpm-helper >= 0.24.8-1
|
Requires(preun): rpm-helper
|
||||||
|
|
||||||
%description relay
|
%description relay
|
||||||
DHCP relay is the Internet Software Consortium (ISC) relay agent for DHCP
|
DHCP relay is the Internet Software Consortium (ISC) relay agent for DHCP
|
||||||
|
@ -176,11 +176,11 @@ install -m0644 %{SOURCE10} doc
|
||||||
--with-srv6-lease-file=%{_var}/lib/dhcpd/dhcpd6.leases \
|
--with-srv6-lease-file=%{_var}/lib/dhcpd/dhcpd6.leases \
|
||||||
--with-cli-lease-file=%{_var}/lib/dhclient/dhclient.leases \
|
--with-cli-lease-file=%{_var}/lib/dhclient/dhclient.leases \
|
||||||
--with-cli6-lease-file=%{_var}/lib/dhclient/dhclient6.leases \
|
--with-cli6-lease-file=%{_var}/lib/dhclient/dhclient6.leases \
|
||||||
--with-srv-pid-file=%{_var}/run/dhcpd/dhcpd.pid \
|
--with-srv-pid-file=/run/dhcpd/dhcpd.pid \
|
||||||
--with-srv6-pid-file=%{_var}/run/dhcpd/dhcpd6.pid \
|
--with-srv6-pid-file=/run/dhcpd/dhcpd6.pid \
|
||||||
--with-cli-pid-file=%{_var}/run/dhclient/dhclient.pid \
|
--with-cli-pid-file=/run/dhclient/dhclient.pid \
|
||||||
--with-cli6-pid-file=%{_var}/run/dhclient/dhclient6.pid \
|
--with-cli6-pid-file=/run/dhclient/dhclient6.pid \
|
||||||
--with-relay-pid-file=%{_var}/run/dhcrelay/dhcrelay.pid \
|
--with-relay-pid-file=/run/dhcrelay/dhcrelay.pid \
|
||||||
--disable-static
|
--disable-static
|
||||||
%make
|
%make
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue