auto-import changelog data from dhcp-2.0pl5-6.src.rpm
Mon Jul 16 2001 Elliot Lee <sopwith@redhat.com> - /etc/sysconfig/dhcpd - Include dhcp.leases file (#5405) Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com> - Bump release + rebuild.
This commit is contained in:
parent
602bc4443f
commit
b144431de6
21
dhcp.spec
21
dhcp.spec
@ -2,7 +2,7 @@ Summary: A DHCP (Dynamic Host Configuration Protocol) server and relay agent.
|
|||||||
Name: dhcp
|
Name: dhcp
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 2.0pl5
|
Version: 2.0pl5
|
||||||
Release: 4
|
Release: 6
|
||||||
Copyright: distributable
|
Copyright: distributable
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source0: ftp://ftp.isc.org/isc/dhcp/dhcp-%{version}.tar.gz
|
Source0: ftp://ftp.isc.org/isc/dhcp/dhcp-%{version}.tar.gz
|
||||||
@ -40,10 +40,9 @@ cp %SOURCE1 .
|
|||||||
%configure
|
%configure
|
||||||
make CC="gcc -pipe" DEBUG="$RPM_OPT_FLAGS -D_PATH_DHCPD_DB=\\\"/var/lib/dhcp/dhcpd.leases\\\" -D_PATH_DHCLIENT_DB=\\\"/var/lib/dhcp/dhclient.leases\\\""
|
make CC="gcc -pipe" DEBUG="$RPM_OPT_FLAGS -D_PATH_DHCPD_DB=\\\"/var/lib/dhcp/dhcpd.leases\\\" -D_PATH_DHCLIENT_DB=\\\"/var/lib/dhcp/dhclient.leases\\\""
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
mkdir -p %{buildroot}
|
mkdir -p %{buildroot}/etc/sysconfig
|
||||||
|
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
strip %{buildroot}/usr/sbin/* || :
|
strip %{buildroot}/usr/sbin/* || :
|
||||||
@ -51,6 +50,13 @@ strip %{buildroot}/usr/sbin/* || :
|
|||||||
mkdir -p %{buildroot}/etc/rc.d/init.d
|
mkdir -p %{buildroot}/etc/rc.d/init.d
|
||||||
install -m 0755 %SOURCE2 %{buildroot}/etc/rc.d/init.d/dhcpd
|
install -m 0755 %SOURCE2 %{buildroot}/etc/rc.d/init.d/dhcpd
|
||||||
|
|
||||||
|
touch %{buildroot}%{_localstatedir}/lib/dhcp/dhcp.leases
|
||||||
|
|
||||||
|
cat <<EOF > %{buildroot}/etc/sysconfig/dhcpd
|
||||||
|
# Command line options here
|
||||||
|
DHCPDARGS=
|
||||||
|
EOF
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
@ -72,6 +78,8 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CHANGES README RELNOTES dhcpd.conf.sample
|
%doc CHANGES README RELNOTES dhcpd.conf.sample
|
||||||
%dir %{_localstatedir}/lib/dhcp
|
%dir %{_localstatedir}/lib/dhcp
|
||||||
|
%config(noreplace) %{_localstatedir}/lib/dhcp/dhcp.leases
|
||||||
|
%config(noreplace) /etc/sysconfig/dhcpd
|
||||||
%config /etc/rc.d/init.d/dhcpd
|
%config /etc/rc.d/init.d/dhcpd
|
||||||
%{_sbindir}/dhcpd
|
%{_sbindir}/dhcpd
|
||||||
%{_sbindir}/dhcrelay
|
%{_sbindir}/dhcrelay
|
||||||
@ -93,6 +101,13 @@ fi
|
|||||||
#/usr/man/man8/dhclient-script.8
|
#/usr/man/man8/dhclient-script.8
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 16 2001 Elliot Lee <sopwith@redhat.com>
|
||||||
|
- /etc/sysconfig/dhcpd
|
||||||
|
- Include dhcp.leases file (#5405)
|
||||||
|
|
||||||
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
||||||
|
- Bump release + rebuild.
|
||||||
|
|
||||||
* Wed Feb 14 2001 Tim Waugh <twaugh@redhat.com>
|
* Wed Feb 14 2001 Tim Waugh <twaugh@redhat.com>
|
||||||
- Fix initscript typo (bug #27624).
|
- Fix initscript typo (bug #27624).
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
# Source networking configuration.
|
# Source networking configuration.
|
||||||
. /etc/sysconfig/network
|
. /etc/sysconfig/network
|
||||||
|
. /etc/sysconfig/dhcpd
|
||||||
|
|
||||||
# Check that networking is up.
|
# Check that networking is up.
|
||||||
[ ${NETWORKING} = "no" ] && exit 0
|
[ ${NETWORKING} = "no" ] && exit 0
|
||||||
@ -25,7 +26,7 @@ prog="dhcpd"
|
|||||||
start() {
|
start() {
|
||||||
# Start daemons.
|
# Start daemons.
|
||||||
echo -n $"Starting $prog: "
|
echo -n $"Starting $prog: "
|
||||||
daemon /usr/sbin/dhcpd
|
daemon /usr/sbin/dhcpd ${DHCPDARGS}
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/dhcpd
|
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/dhcpd
|
||||||
|
Loading…
Reference in New Issue
Block a user