Commit Graph

295 Commits

Author SHA1 Message Date
David Cantrell
c181d3e6fd - Fix dhcpd so it can find configuration data via LDAP (#452985) 2008-09-29 19:13:30 +00:00
David Cantrell
8a3e2aa7de - 'server' -> 'service' in dhclient-script (#462343)
- Fix dhcpd so it can find configuration data via LDAP (#452985)
2008-09-29 19:09:29 +00:00
David Cantrell
2d1ec1921c - 'server' -> 'service' in dhclient-script (#462343) 2008-09-17 00:42:00 +00:00
David Cantrell
2bb1b9309a - Prevent $metric from being set to '' (#460640)
- Remove unnecessary warning messages
- Do not source config file (ifcfg-DEVICE) unless it exists
2008-08-29 21:52:04 +00:00
David Cantrell
f7db77fa1a - Add missing '[' to dhclient-script (#459860)
- Correct test statement in add_default_gateway() in dhclient-script
    (#459860)
2008-08-25 01:31:58 +00:00
David Cantrell
a51a2cfd08 - Fix syntax error in dhclient-script (#459860) 2008-08-23 21:05:07 +00:00
David Cantrell
ee7ca6e29b - Rewrite of /sbin/dhclient-script (make the script a little more readable,
discontinue use of ifconfig in favor of ip, store backup copies of orig
    files in /var rather than in /etc)
2008-08-22 21:05:05 +00:00
David Cantrell
6961ce445f - Remove 'c' from the domain-search format string in common/tables.c
- Prevent \032 from appearing in resolv.conf search line (#450042)
- Restore SELinux context on saved /etc files (#451560)
2008-08-06 19:49:47 +00:00
Tom Callaway
26e2a49827 filter out perl requires 2008-08-03 20:28:49 +00:00
David Cantrell
f669e74cea - Carry over RES_OPTIONS from ifcfg-ethX files to /etc/resolv.conf
(#202923)
- Clean up Requires tags for devel packages
- Allow SEARCH variable in ifcfg files to override search path (#454152)
- Do not down interface if there is an active lease (#453982)
- Clean up how dhclient-script restarts ypbind
- Set close-on-exec on dhclient.leases for SELinux (#446632)
2008-08-01 22:16:38 +00:00
David Cantrell
ddfb139a17 - Carry over RES_OPTIONS from ifcfg-ethX files to /etc/resolv.conf
(#202923)
- Clean up Requires tags for devel packages
- Allow SEARCH variable in ifcfg files to override search path (#454152)
- Do not down interface if there is an active lease (#453982)
- Clean up how dhclient-script restarts ypbind
2008-08-01 21:16:41 +00:00
David Cantrell
d016d23988 - Carry over RES_OPTIONS from ifcfg-ethX files to /etc/resolv.conf
(#202923)
- Clean up Requires tags for devel packages
2008-07-25 01:21:14 +00:00
David Cantrell
821e00dcda - Remove instaces of \032 in domain search option (#450042)
- Make 'service dhcpd configtest' display text indicating the status
2008-06-21 20:14:17 +00:00
David Cantrell
ea7085d2ef - Set close-on-exec on dhclient.leases for SELinux (#446632) 2008-05-17 00:18:13 +00:00
David Cantrell
0e27ee4924 - Avoid dhclient crash when run via NetworkManager (#439796) 2008-04-01 20:29:33 +00:00
David Cantrell
ee1046393e - Update dhclient-script to handle domain-search correctly (#437840) 2008-03-26 04:53:54 +00:00
David Cantrell
73e1d9998b - Remove Requires on openldap-server (#432180)
- Replace CLIENTBINDIR, ETCDIR, DBDIR, and RUNDIR in the man pages with the
    correct paths
2008-03-26 04:40:04 +00:00
David Cantrell
1017230472 - Remove Requires on openldap-server (#432180)
- Replace CLIENTBINDIR, ETCDIR, DBDIR, and RUNDIR in the man pages with the
    correct paths
2008-03-26 03:30:22 +00:00
David Cantrell
2862d8a39f - Add missing newline to usage() screen in dhclient 2008-02-14 02:38:19 +00:00
David Cantrell
3aac9e5df0 - Save conf files adding '.predhclient.$interface' to the name (#306381)
- Only restore conf files on EXPIRE/FAIL/RELEASE/STOP if there are no other
    dhclient processes running (#306381)
2008-02-08 02:15:14 +00:00
David Cantrell
f586ac836e - Match LDAP server option values in stables.c and dhcpd.h (#431003)
- Fix invalid sprintf() statement in server/ldap.c (#431003)
2008-02-07 00:47:26 +00:00
David Cantrell
f40480343e - Remove invalid fclose() patch 2008-02-06 20:06:09 +00:00
David Cantrell
df5fea8aab - Don't leak /var/lib/dhclient/dhclient.leases file descriptors (#429890) 2008-02-06 04:08:49 +00:00
David Cantrell
72bd6fec2f - read_function() comes from the LDAP patch, so fix it there
- Init new struct universe structs in libdhcp4client so we don't crash on
    multiple DHCP attempts (#428203)
2008-01-23 04:10:09 +00:00
David Cantrell
bb45555cf9 - Patch read_function() to handle size_t from read() correctly (#429207) 2008-01-17 22:54:44 +00:00
David Cantrell
a58f607ec1 - Fix dhclient.lease file parsing problems (#428785)
- Disable IPv6 support for now as we already ship dhcpv6 (#428987)
2008-01-17 02:23:35 +00:00
David Cantrell
95192934fb - Fix segfault in next_iface4() and next_iface6() (#428870) 2008-01-16 00:30:01 +00:00
David Cantrell
fcaadbef6a - -fvisibility fails me again 2008-01-15 00:46:50 +00:00
David Cantrell
23231df2e7 - Upgrade to ISC dhcp-4.0.0 (#426634)
- first ISC release to incorporate DHCPv6 protocol support
- source tree now uses GNU autoconf/automake
- Removed the libdhcp4client-static package
2008-01-14 21:05:18 +00:00
David Cantrell
dcf32f5236 - Upgrade to ISC dhcp-4.0.0 (#426634)
- first ISC release to incorporate DHCPv6 protocol support
- source tree now uses GNU autoconf/automake
- Removed the libdhcp4client-static package
2008-01-14 00:38:44 +00:00
David Cantrell
82186fd6db - Upgrade to ISC dhcp-4.0.0 (#426634)
- first ISC release to incorporate DHCPv6 protocol support
- source tree now uses GNU autoconf/automake
- Removed the libdhcp4client-static package
2008-01-13 21:02:47 +00:00
David Cantrell
d1dc4c0c6d Final files to revert this tree back to dhcp-3.1.0 for now. 4.0.0 will come
shortly, it's just not ready yet.
2008-01-11 00:49:46 +00:00
David Cantrell
db449ef09b Revert to dhcp-3.1.0 for now. 2008-01-11 00:19:03 +00:00
David Cantrell
203b45caac Revert to dhcp-3.1.0 2008-01-11 00:16:44 +00:00
David Cantrell
6a2e4a260b Reverting dhcp for rawhide to 3.1.0 for the time being. 4.0.0 is still in
the works.
2008-01-10 22:26:34 +00:00
David Cantrell
c987ce551e DOES NOT COMPILE YET... This is a work in progress for rebasing this
package on ISC dhcp-4.0.0, which is a new major version. Lots of work
    going in to rebasing the package.
DON'T TOUCH!
2008-01-03 20:40:53 +00:00
David Cantrell
dbee79d258 Formatting changes. 2007-12-28 16:44:00 +00:00
David Cantrell
5527fccd2c - Requires line fixes 2007-12-05 01:34:29 +00:00
David Cantrell
456585cf14 - Postinstall script fixes 2007-12-05 01:04:07 +00:00
David Cantrell
7d10297147 - Remove dhcdbd check from dhcpd init script 2007-11-27 01:57:19 +00:00
David Cantrell
8ccad87698 - Fix chkconfig lines in dhcpd and dhcrelay init scripts (#384431)
- Improve preun scriptlet
2007-11-15 18:37:10 +00:00
David Cantrell
9d525b2d2b - Fix chkconfig lines in dhcpd and dhcrelay init scripts (#384431)
- Improve postun scriptlet
2007-11-15 18:35:58 +00:00
David Cantrell
cacf8c13fa - Fix chkconfig lines in dhcpd and dhcrelay init scripts (#384431)
- Improve postun scriptlet
2007-11-15 18:34:00 +00:00
David Cantrell
35ba231dc0 - Put dhcp.schema in /etc/openldap/schema (#330471)
- Remove manpages patch and keep modified man pages as Source files
- Improve dhclient.8 man page to list options in a style consistent with
    most other man pages on the planet
- Upgrade to latest dhcp LDAP patch, which brings in a new
    dhcpd-conf-to-ldap script, updated schema file, and other bug fixes
    including SSL support for LDAP authentication (#375711)
- Do not run dhcpd and dhcrelay services by default (#362321)
2007-11-12 23:16:08 +00:00
David Cantrell
1c9504e307 - libdhcp4client-devel requires openldap-devel 2007-10-27 01:39:13 +00:00
David Cantrell
1f3c4d3c46 - Rename Makefile.dist to Makefile.libdhcp4client
- Spec file cleanups
- Include stdarg.h in libdhcp_control.h
2007-10-25 20:41:52 +00:00
David Cantrell
6e55b2e94c - Rename Makefile.dist to Makefile.libdhcp4client
- Spec file cleanups
- Include stdarg.h in libdhcp_control.h
2007-10-25 20:28:35 +00:00
David Cantrell
5c694ad760 - Remove chkconfig usage for ypbind in dhclient-script (#351211)
- Combine dhcp-static and dhcp-devel packages since there are no shared
    libraries offered
- Remove Requires: openldap-devel on dhcp-devel and libdhcp4client-devel
- Make libdhcp4client-devel require dhcp-devel (for libdhcp_control.h)
- Do not make dhcp-devel require the dhcp package, those are independent
2007-10-25 15:39:53 +00:00
David Cantrell
6599f82f02 - Combine dhcp-static and dhcp-devel packages since there are no shared
libraries offered
- Remove Requires: openldap-devel on dhcp-devel and libdhcp4client-devel
- Make libdhcp4client-devel require dhcp-devel (for libdhcp_control.h)
- Do not make dhcp-devel require the dhcp package, those are independent
2007-10-25 15:34:15 +00:00
David Cantrell
adafcc2149 - Install libdhcp_control.h to /usr/include/isc-dhcp/libdhcp_control.h
- Update libdhcp4client patch to use new libdhcp_control.h location
- Remove __fedora_contrib/ subdirectory in /usr/share/doc/dhcp-3.1.0,
    install those docs to /usr/share/doc/dhcp-3.1.0
2007-10-24 19:22:41 +00:00