]> git.pld-linux.org Git - packages/dhcp.git/commitdiff
- added support for store all information needed by dhcp in ldap database
authorqwark <bob@pozyton.net.pl>
Wed, 28 Apr 2004 09:12:10 +0000 (09:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dhcp.spec -> 1.90

dhcp.spec

index 9752ef7caf3eee0611a796ae737f213e70f24c48..68eea7192cd969151ab81b91f1a1409be456cddb 100644 (file)
--- a/dhcp.spec
+++ b/dhcp.spec
@@ -1,3 +1,4 @@
+%bcond_with ldap               # added support for ldap storage
 Summary:       DHCP Server
 Summary(es):   Servidor DHCP (Protocolo de configuración dinámica de hosts)
 Summary(pl):   Serwer DHCP
@@ -18,7 +19,10 @@ Source3:     %{name}-relay.sysconfig
 Source4:       %{name}d.conf.sample
 Source5:       %{name}.sysconfig
 Patch0:                %{name}-if_buffer_size.patch
+Patch1:                %{name}-%{version}-ldap-patch
+Patch2:                %{name}-%{version}-ldap1.patch
 BuildRequires: groff
+%{?with_ldap:BuildRequires:    openldap-devel}
 PreReq:                rc-scripts >= 0.2.0
 Requires(post,preun):  /sbin/chkconfig
 Requires(post):        fileutils
@@ -118,6 +122,8 @@ komunikacji z dzia
 %setup -q
 install %{SOURCE4} .
 %patch0 -p1
+%{?with_ldap:%patch1 -p1}
+%{?with_ldap:%patch2 -p1}
 
 cd doc
 echo "dhcpd complies with the following RFCs:" > rfc-compliance
@@ -229,6 +235,7 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc doc/* README RELNOTES dhcpd.conf.sample
+%{?with_ldap:%doc contrib/*}
 %{_mandir}/man1/*
 %{_mandir}/man5/dhcp*
 %{_mandir}/man8/dhcp*
This page took 0.061612 seconds and 4 git commands to generate.