Commit Graph

519 Commits

Author SHA1 Message Date
Jesse Keating
ceb19477da - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-24 11:39:09 +00:00
David Cantrell
29632077ef - Correct subsystem execution in dhclient-script () 2009-02-19 03:23:10 +00:00
David Cantrell
f81c3f9d11 - Do not segfault if the ipv6 kernel module is not loaded () 2009-02-18 21:24:21 +00:00
David Cantrell
0adb5fbf9e - Do not segfault if the ipv6 kernel module is not loaded () 2009-02-18 20:02:39 +00:00
David Cantrell
c3b67cdc64 - Enable dhcpv6 support ()
- Fix config file migration in scriptlets ()
- Allow dhclient-script expansion with /etc/dhcp/dhclient.d/*.sh scripts
2009-02-18 04:12:59 +00:00
Tomáš Mráz
a58c85968f - rebuild with new openssl 2009-01-15 20:28:23 +00:00
David Cantrell
31806bd48e - Updated LSB init script header to reference /etc/dhcp/dhcpd.conf
()
2009-01-13 14:45:32 +00:00
David Cantrell
c2c5d377b4 Update Brian Masney's email address. 2009-01-11 20:21:57 +00:00
David Cantrell
475d6115fd - Correct syntax errors in %post script () 2009-01-11 20:07:56 +00:00
David Cantrell
f400f01eb3 - Make sure all /etc/dhcp config files are marked in the manifest
- Include new config file directies in the dhcp and dhclient packages
- Do not overwrite new config files if they already exist
2009-01-10 19:14:05 +00:00
David Cantrell
13a0b57486 - Make sure all /etc/dhcp config files are marked in the manifest
- Include new config file directies in the dhcp and dhclient packages
- Do not overwrite new config files if they already exist
2009-01-10 16:46:16 +00:00
David Cantrell
81814c785d - Make sure all /etc/dhcp config files are marked in the manifest
- Include new config file directies in the dhcp and dhclient packages
- Do not overwrite new config files if they already exist
2009-01-10 16:38:36 +00:00
David Cantrell
4bf24c8243 - Upgraded to ISC dhcp-4.1.0
- Had to rename the -T option to -timeout as ISC is now using -T
- Allow package rebuilders to easily enable DHCPv6 support with: rpmbuild
    --with DHCPv6 dhcp.spec Note that Fedora is still using the 'dhcpv6'
    package, but some users may want to experiment with the ISC DHCPv6
    implementation locally.
2009-01-06 23:50:29 +00:00
David Cantrell
bd47089600 - Move /etc/dhclient.conf to /etc/dhcp/dhclient.conf
- Move /etc/dhcpd.conf to /etc/dhcp/dhcpd.conf
2009-01-05 22:45:37 +00:00
David Cantrell
890044d7ed - Remove unnecessary success/failure lines in init scripts () 2008-12-18 22:47:13 +00:00
David Cantrell
990f66648f Shorten summary line to make PackageKit happier. 2008-12-16 00:58:50 +00:00
David Cantrell
5c6578cbb4 - Enable LDAP/SSL support in dhcpd ()
- Do not calculate a prefix for an address we did not receive ()
- Removed libdhcp4client because libdhcp has been removed from Fedora
2008-12-04 22:08:05 +00:00
David Cantrell
e2381ffe75 - Use O_CLOEXEC in open(2) calls and "e" mode in fopen(3) calls, build with
-D_GNU_SOURCE so we pick up O_CLOEXEC ()
- Add missing prototype for validate_port() in common/inet.c
2008-10-29 23:35:06 +00:00
David Cantrell
eb72a55a2b - Fix dhclient.conf man page and sample config file to say 'supersede
domain-search', which is what was actually demonstrated ()
2008-10-23 20:07:49 +00:00
David Cantrell
f1ade682c4 - Make sure /etc/resolv.conf has restorecon run on it () 2008-10-01 22:38:30 +00:00
David Cantrell
b0d88d60b3 - Forgot to actually include <errno.h> () 2008-10-01 02:28:51 +00:00
David Cantrell
b28d5a6d44 - Fix patch fuzziness and include errno.h in includes/dhcpd.h () 2008-10-01 02:19:04 +00:00
David Cantrell
db591861ef - Validate port numbers for dhclient, dhcpd, and dhcrelay to ensure that
are within the correct range ()
2008-10-01 01:58:39 +00:00
David Cantrell
6edf20bfb0 - Validate port numbers for dhclient, dhcpd, and dhcrelay to ensure that
are within the correct range ()
2008-10-01 01:41:46 +00:00
David Cantrell
c181d3e6fd - Fix dhcpd so it can find configuration data via LDAP () 2008-09-29 19:13:30 +00:00
David Cantrell
8a3e2aa7de - 'server' -> 'service' in dhclient-script ()
- Fix dhcpd so it can find configuration data via LDAP ()
2008-09-29 19:09:29 +00:00
David Cantrell
2d1ec1921c - 'server' -> 'service' in dhclient-script () 2008-09-17 00:42:00 +00:00
David Cantrell
2bb1b9309a - Prevent $metric from being set to '' ()
- 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 ()
- Correct test statement in add_default_gateway() in dhclient-script
    ()
2008-08-25 01:31:58 +00:00
David Cantrell
a51a2cfd08 - Fix syntax error in dhclient-script () 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 ()
- Restore SELinux context on saved /etc files ()
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
()
- Clean up Requires tags for devel packages
- Allow SEARCH variable in ifcfg files to override search path ()
- Do not down interface if there is an active lease ()
- Clean up how dhclient-script restarts ypbind
- Set close-on-exec on dhclient.leases for SELinux ()
2008-08-01 22:16:38 +00:00
David Cantrell
ddfb139a17 - Carry over RES_OPTIONS from ifcfg-ethX files to /etc/resolv.conf
()
- Clean up Requires tags for devel packages
- Allow SEARCH variable in ifcfg files to override search path ()
- Do not down interface if there is an active lease ()
- 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
()
- 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 ()
- 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 () 2008-05-17 00:18:13 +00:00
David Cantrell
0e27ee4924 - Avoid dhclient crash when run via NetworkManager () 2008-04-01 20:29:33 +00:00
David Cantrell
ee1046393e - Update dhclient-script to handle domain-search correctly () 2008-03-26 04:53:54 +00:00
David Cantrell
73e1d9998b - Remove Requires on openldap-server ()
- 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 ()
- 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 ()
- Only restore conf files on EXPIRE/FAIL/RELEASE/STOP if there are no other
    dhclient processes running ()
2008-02-08 02:15:14 +00:00
David Cantrell
f586ac836e - Match LDAP server option values in stables.c and dhcpd.h ()
- Fix invalid sprintf() statement in server/ldap.c ()
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 () 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 ()
2008-01-23 04:10:09 +00:00
David Cantrell
bb45555cf9 - Patch read_function() to handle size_t from read() correctly () 2008-01-17 22:54:44 +00:00
David Cantrell
a58f607ec1 - Fix dhclient.lease file parsing problems ()
- Disable IPv6 support for now as we already ship dhcpv6 ()
2008-01-17 02:23:35 +00:00