Commit Graph

464 Commits

Author SHA1 Message Date
Jiri Popelka
a21bc05f7d RFC 3442 - Classless Static Route Option for DHCPv4 (#516325) 2010-08-31 13:10:13 +02:00
Jiri Popelka
027db6fe99 Add DHCRELAYARGS variable to /etc/sysconfig/dhcrelay 2010-08-20 17:37:12 +02:00
Jiri Popelka
9ba8b65c5c * Fri Jul 30 2010 Jiri Popelka <jpopelka@redhat.com> - 12:4.2.0-2
- Rename 10-dhclient to 11-dhclient (10-sendmail already exists)
- Add 12-dhcpd NM dispatcher script (#565921)
2010-08-02 11:33:46 +02:00
Jiří Popelka
5a3797ea32 - 4.2.0: includes ldap-for-dhcp 2010-07-21 16:56:35 +00:00
Jiří Popelka
94f2da27ed - Add LICENSE file to dhclient subpackage. 2010-07-12 10:33:05 +00:00
Jiří Popelka
f45f2bb289 - Adhere to Static Library Packaging Guidelines (#609605). 2010-07-01 09:40:16 +00:00
Jiří Popelka
5f19ed1856 - Fix parsing of date (#514828) 2010-06-29 10:24:33 +00:00
Jiří Popelka
d66bacbc2c - 4.1.1-P1 (pair of bug fixes including one for a security related bug).
- Compile with -fno-strict-aliasing
- N-V-R (copied from bind.spec): Name-Version-Release.Patch.dist
2010-06-03 10:15:57 +00:00
Jiří Popelka
601ecd2ea2 - Bumped Release. 2010-06-02 14:45:39 +00:00
Jiří Popelka
911542218a - 4.1.1-P1 (pair of bug fixes including one for a security related bug).
- Compile with -fno-strict-aliasing
2010-06-02 14:09:12 +00:00
Jiří Popelka
ea06b93b2d - Fix the initialization-delay.patch (#587070) 2010-05-03 14:44:05 +00:00
Jiří Popelka
2f26ada950 - There was a useless 0-4 second delay before sending first DHCPDISCOVER. I
didn't remove it at all, but made it 0-1 second. (#587070)
2010-04-29 15:24:42 +00:00
Jiří Popelka
262beb6e04 - Move /etc/NetworkManager/dispatcher.d/10-dhclient script from dhcp to
dhclient subpackage (#586999).
2010-04-28 18:57:07 +00:00
Jiří Popelka
f3dd4cf940 - Add domain-search to the list of default requested DHCP options (#586906) 2010-04-28 14:05:21 +00:00
Jiří Popelka
2d5915903a - If the Reply was received in response to Renew or Rebind message, client
adds any new addresses in the IA option to the IA (#578097)
2010-04-21 14:56:20 +00:00
Jiří Popelka
33f7324460 - Fill in Elapsed Time Option in Release/Decline messages (#582939) 2010-04-19 10:35:29 +00:00
Jiří Popelka
ed7e418d35 - In client initiated message exchanges stop retransmission upon reaching
the MRD rather than at some point after it (#559153)
2010-03-25 18:46:07 +00:00
Jiří Popelka
21b8c45264 - In dhclient-script check whether bound address passed duplicate address
detection (DAD) (#559147)
- If the bound address failed DAD (is found to be in use on the link), the
    dhcpv6 client sends a Decline message to the server as described in
    section 18.1.7 of RFC-3315 (#559147)
2010-03-24 11:06:45 +00:00
Jiří Popelka
c4025679fd - Fix UseMulticast.patch to not repeatedly parse dhcpd.conf for unicast
option
- Fix dhclient-script to set interface MTU only when it's greater than 576
    (#574629)
2010-03-19 17:22:59 +00:00
Jiří Popelka
b08ba4ea9a - Discard unicast Request/Renew/Release/Decline message (unless we set
unicast option) and respond with Reply with UseMulticast Status Code
    option (#573090)
- Remove DHCPV6 OPERATION section from dhclient.conf.5 describing
    deprecated 'send dhcp6.oro' syntax
2010-03-12 20:18:59 +00:00
Jiří Popelka
64b0222678 - Fix paths in man pages (#568031)
- Remove odd tests in %preun
2010-02-25 17:16:43 +00:00
Jiří Popelka
1bab4538a8 - Add interface-mtu to the list of default requested DHCP options (#566873) 2010-02-22 16:11:24 +00:00
Jiří Popelka
de0a7afcfd - Fix pm-utils/sleep.d/ directory ownership conflict 2010-02-19 17:35:55 +00:00
Jiří Popelka
5ec8ece1f2 - In dhclient-script:
- use ip command options '-4' or '-6' as shortcuts for '-f[amily] inet'
    resp. '-f[amily] inet6'
- do not use IP protocol family identifier with 'ip link'
2010-02-19 11:37:25 +00:00
Jiří Popelka
197cc48745 - Fix installation of pm-utils script (#479639, c#16) 2010-02-18 11:41:18 +00:00
Jiří Popelka
3b1375475b - ldap-for-dhcp-4.1.1-2 (#564810) 2010-02-16 17:48:50 +00:00
Jiří Popelka
d44b3993c3 - Fix ldap patch to explicitly link with liblber (#564810) 2010-02-16 11:06:49 +00:00
Jiří Popelka
465f750ab6 - Fix dhclient-decline-backoff.patch (#562854) 2010-02-08 16:01:45 +00:00
Jiří Popelka
152a4960a9 - Fix dhclient-script to delete address which the client is going to
release as soon as it begins the Release message exchange process
    (#559142)
2010-02-05 15:09:41 +00:00
Jiří Popelka
cd8c86f398 - move /etc/dhcp.conf to /etc/dhcp.conf.rpmsave in %post (#561094)
- document -nc option in dhclient(8) man page
2010-02-03 17:48:51 +00:00
Jiří Popelka
79859968bb - Fix capability patch (#546765) 2010-02-02 12:30:33 +00:00
Jiří Popelka
a449503820 - Fix capability patch (#546765) 2010-02-02 12:28:55 +00:00
Jiří Popelka
9538db2fbf - Upgraded to ISC dhcp-4.1.1 2010-01-20 17:07:47 +00:00
Jiří Popelka
3728cf43b7 - Hide startup info when starting dhcpd6 service.
- Remove -TERM from calling killproc when stopping dhcrelay (#555672)
2010-01-18 09:13:37 +00:00
Jiří Popelka
9c63bd9d6e - Added init script to also start dhcpd for IPv6 (#552453)
- Added dhcpd6.conf.sample
2010-01-15 12:52:28 +00:00
Jiří Popelka
606ac5674b - Use %global instead of %define. 2010-01-07 07:37:30 +00:00
Jiří Popelka
59ea29af7c - dhclient logs its pid to make troubleshooting NM managed systems with
multiple dhclients running easier (#546792)
2009-12-14 10:56:21 +00:00
Jiří Popelka
9ca442a1dd - Honor DEFROUTE=yes|no for all connection types (#530209) 2009-11-23 09:14:24 +00:00
Jiří Popelka
9726e0ff9f - Make dhclient-script add IPv6 address to interface (#531997) 2009-10-30 09:51:58 +00:00
Jiří Popelka
1e876e9350 - Fix 56dhclient so network comes back after suspend/hibernate (#527641) 2009-10-13 10:16:59 +00:00
Jiří Popelka
e648291901 - Make dhcpd and dhcrelay init scripts LSB compliant (#522134, #522146) 2009-09-24 09:29:34 +00:00
David Cantrell
043ad2a7a6 - Obsolete the dhcpv6 and dhcpv6-client packages 2009-09-22 00:18:21 +00:00
David Cantrell
f195973b7b - Update dhclient-script with handlers for DHCPv6 states 2009-09-19 06:22:33 +00:00
David Cantrell
8fe064a649 - Conditionalize restorecon calls in post scriptlets (#519479) 2009-08-26 21:34:50 +00:00
David Cantrell
2d42da852b - Do not require policycoreutils for post scriptlet (#519479) 2009-08-26 19:29:18 +00:00
David Cantrell
fdce2146fc - BR libcap-ng-devel (#517649) 2009-08-22 09:42:11 +00:00
David Cantrell
3b84ae4399 - Drop unnecessary capabilities in dhclient (#517649) 2009-08-19 01:14:35 +00:00
David Cantrell
72f7005063 - Upgrade to latest ldap-for-dhcp patch which makes sure that only dhcpd
links with OpenLDAP (#517474)
2009-08-15 01:10:42 +00:00
David Cantrell
c3909ac160 - Update NetworkManager dispatcher script to remove case conversion and
source /etc/sysconfig/network
2009-08-12 21:04:26 +00:00
David Cantrell
348ee0ebdc - Add /usr/lib[64]/pm-utils/sleep.d/56dhclient to handle suspend and resume
with active dhclient leases (#479639)
2009-08-06 21:45:18 +00:00
David Cantrell
441afc0d96 - Upgrade to dhcp-4.1.0p1, which is the official upstream release to fix
CVE-2009-0692
2009-08-05 23:59:10 +00:00
David Cantrell
c604925908 - Fix for CVE-2009-0692
- Fix for CVE-2009-1892 (#511834)
2009-08-05 21:48:30 +00:00
Jesse Keating
5cfa19d278 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-24 20:13:13 +00:00
David Cantrell
9acb893838 - Include NetworkManager dispatcher script to run dhclient.d scripts
(#459276)
2009-07-24 03:07:41 +00:00
David Cantrell
f14159f54f - Ensure 64-bit platforms parse lease file dates & times correctly
(#448615)
2009-07-10 02:29:08 +00:00
David Cantrell
520c4a179a - Upgrade to ldap-for-dhcp-4.1.0-4 2009-07-09 20:08:40 +00:00
David Cantrell
3a884fc366 - Set permissions on /etc/dhcp to 0750 (#508247)
- Update to new ldap-for-dhcp patch set
- Correct problems when upgrading from a previous release and your
    dhcpd.conf file not being placed in /etc/dhcp (#506600)
2009-07-02 21:18:24 +00:00
David Cantrell
226011db1a - Handle cases in add_timeout() where the function is called with a NULL
value for the 'when' parameter (#506626)
- Fix SELinux denials in dhclient-script when the script makes backup
    configuration files and restores them later (#483747)
2009-06-27 03:17:04 +00:00
David Cantrell
70d67fc19e - Handle cases in add_timeout() where the function is called with a NULL
value for the 'when' parameter (#506626)
2009-06-27 00:09:13 +00:00
David Cantrell
51c3df57cf - Handle cases in add_timeout() where the function is called with a NULL
value for the 'when' parameter (#506626)
2009-06-27 00:01:46 +00:00
David Cantrell
ecc44ba6b0 - Obsolete libdhcp4client <= 12:4.0.0-34.fc10 (#499290) 2009-05-06 17:31:05 +00:00
David Cantrell
cdcc09a23b - Restrict interface names given on the dhcpd command line to length
IFNAMSIZ or shorter (#441524)
- Change to /etc/sysconfig/network-scripts in dhclient-script before
    calling need_config or source_config (#496233)
2009-04-21 20:41:30 +00:00
David Cantrell
f4c359e5e8 - Restrict interface names given on the dhcpd command line to length
IFNAMSIZ or shorter (#441524)
2009-04-21 02:39:32 +00:00
David Cantrell
84c00d5bf3 - Make dhclient-script work with pre-configured wireless interfaces
(#491157)
2009-04-21 01:14:15 +00:00
David Cantrell
48e25b704b - Fix setting default route when client IP address changes (#486512,
#473658)
- 'reload' and 'try-restart' on dhcpd and dhcrelay init scripts will
    display usage information and return code 3
2009-04-17 21:48:50 +00:00
David Cantrell
580990a32d - Correct %post problems in dhclient package (#495361)
- Read hooks scripts from /etc/dhcp (#495361)
- Update to latest ldap-for-dhcp
2009-04-13 22:22:38 +00:00
David Cantrell
a1643e997f - Correct %post problems in dhclient package (#495361)
- Read hooks scripts from /etc/dhcp (#495361)
- Update to latest ldap-for-dhcp
2009-04-13 21:56:00 +00:00
David Cantrell
1e25d4d263 - Obsolete libdhcp and libdhcp-devel (#493547) 2009-04-04 01:50:27 +00:00
David Cantrell
3c08f44b10 - Obsolete libdhcp and libdhcp-devel (#493547) 2009-04-03 02:53:24 +00:00
David Cantrell
bd9db61ef7 - dhclient obsoletes libdhcp4client (#493213)
- dhcp-devel obsolets libdhcp4client-devel (#493213)
2009-04-01 05:08:05 +00:00
David Cantrell
91ae67bfa8 - Fix problems with dhclient.d script execution (#488864) 2009-03-11 19:12:56 +00:00
David Cantrell
2cca9db02c - Use LDAP configuration patch from upstream tarball 2009-03-09 23:01:07 +00:00
David Cantrell
dbecea21a4 - restorecon fixes for /etc/localtime and /etc/resolv.conf (#488470) 2009-03-06 00:57:04 +00:00
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 (#486251) 2009-02-19 03:23:10 +00:00
David Cantrell
0adb5fbf9e - Do not segfault if the ipv6 kernel module is not loaded (#486097) 2009-02-18 20:02:39 +00:00
David Cantrell
c3b67cdc64 - Enable dhcpv6 support (#480798)
- Fix config file migration in scriptlets (#480543)
- 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
(#479012)
2009-01-13 14:45:32 +00:00
David Cantrell
475d6115fd - Correct syntax errors in %post script (#479012) 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 (#476846) 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 (#467740)
- Do not calculate a prefix for an address we did not receive (#473885)
- 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 (#468984)
- 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 (#467955)
2008-10-23 20:07:49 +00:00
David Cantrell
f1ade682c4 - Make sure /etc/resolv.conf has restorecon run on it (#451560) 2008-10-01 22:38:30 +00:00
David Cantrell
b0d88d60b3 - Forgot to actually include <errno.h> (#438149) 2008-10-01 02:28:51 +00:00
David Cantrell
b28d5a6d44 - Fix patch fuzziness and include errno.h in includes/dhcpd.h (#438149) 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 (#438149)
2008-10-01 01:58:39 +00:00
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
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
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
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
David Cantrell
cf6e8aca85 - Remove ISC.Cflags variable from libdhcp4client.pc 2007-10-24 18:15:23 +00:00
David Cantrell
f66cf258c9 - Fix 'restart' mode in init script (#349341) 2007-10-24 17:50:43 +00:00
David Cantrell
7803c49666 - Fix 'restart' mode in init script (#349341) 2007-10-24 17:47:43 +00:00
David Cantrell
af3980861c - Upgrade to ISC dhcp-3.1.0
- Remove unnecessary /usr/include/dhcp4client/isc_dhcp headers
- Make sure restorecon is run on /var/lib/dhcpd/dhcpd.leases (#251688)
- Install dhcp.schema to /etc/openldap/dhcp.schema (#330471)
2007-10-23 19:04:57 +00:00
David Cantrell
8b16439d3f - Init script fixes (#320761)
- Removed linux.dbus-example script since we aren't using dhcdbd now
- Remove dhcdbd leftovers from dhclient-script (#306381)
2007-10-08 17:58:17 +00:00
David Cantrell
0f33b636af - In dhcp.conf.5, explain that if no next-server statement applies to the
requesting client, the address 0.0.0.0 is used (#184484).
2007-09-26 19:39:59 +00:00
David Cantrell
e6a433a23b - Init script fixes for dhcpd and dhcrelay (#278601) 2007-09-26 19:20:47 +00:00
David Cantrell
546813ff14 - Fix typos in ldap.c and correct LDAP macros (#283391) 2007-09-10 15:06:40 +00:00
David Cantrell
0cf0761895 - Do not override manually configured NTP servers in /etc/ntp.conf
(#274761)
2007-09-04 15:54:47 +00:00
David Cantrell
c637bc589d - Remove the -x switch enabling extended new option info. If given to
dhclient now, it's ignored.
2007-08-16 18:33:06 +00:00
Jeremy Katz
a98e2cf2f1 test2 2007-07-18 15:09:40 +00:00
Jeremy Katz
659ae1db44 test 2007-07-18 15:08:27 +00:00
Florian La Roche
4cb13218c9 - vendor -> vvendor 2007-07-18 09:41:26 +00:00
David Cantrell
0713d0cdcc - Upgrade to ISC dhcp-3.0.6
- Remove the -TERM option from killproc command (#245317)
2007-07-10 18:59:53 +00:00
David Cantrell
434d4dfee7 - For init script functions, echo new line after OK or FAIL msg (#244956) 2007-06-20 17:25:50 +00:00
David Cantrell
47f03274a8 - BOOTP_BROADCAST_ALWAYS is not the same as ATSFP, fixed
- Added anycast mac support to dhclient for OLPC
2007-06-15 23:01:44 +00:00
David Cantrell
8d243af001 - Disable -fvisibility=hidden for now as it breaks dhcpv4_client() from the
shared library (#240804)
2007-05-22 20:11:01 +00:00
David Cantrell
9c81a8e004 - Init script fixes (#237985, #237983)
- Reference correct scripts in dhclient-script.8 man page (#238036)
2007-04-26 19:01:43 +00:00
David Cantrell
bf55f11dd7 - Rename -devel-static packages to -static (#225691) 2007-04-20 16:54:05 +00:00
David Cantrell
2ba235792b - Added missing newline on usage() screen in dhclient 2007-04-17 14:45:46 +00:00
David Cantrell
6f11dd6206 - Spec file cleanups (#225691)
- Put libdhcpctl.a and libomapi.a in dhcp-devel-static package
- Put libdhcp4client.a in libdhcp4client-devel-static package
2007-04-12 20:05:58 +00:00
David Cantrell
db2db6c042 - Spec file cleanups (#225691)
- Put libdhcpctl.a and libomapi.a in dhcp-devel-static package
- Put libdhcp4client.a in libdhcp4client-devel-static package
2007-04-12 19:05:59 +00:00
David Cantrell
788673c0d5 - Spec file cleanups (#225691)
- Put libdhcpctl.a and libomapi.a in dhcp-devel-static package
- Put libdhcp4client.a in libdhcp4client-devel-static package
2007-04-11 20:12:51 +00:00
David Cantrell
27c9546bbb - Enable Xen patch again, kernel bits present (#231444) 2007-04-11 14:29:18 +00:00
David Cantrell
0997f7ab3b - Spec file cleanups (#225691) 2007-04-09 21:44:55 +00:00
David Cantrell
ba4ff71b11 - Remove Xen patch (#235649, from RHEL-5, doesn't work correctly for
Fedora)
2007-04-09 18:37:48 +00:00
David Cantrell
3b727ca6ac - Ensure that Perl and Perl modules are not added as dependencies (#234688)
- Reorganize patches by feature/bug per packaging guidelines (#225691)
- Move the following files from patches to source files:
    linux.dbus-example, linux, Makefile.dist, dhcp4client.h,
    libdhcp_control.h
- Compile with -fno-strict-aliasing as ISC coding standards generally don't
    agree well with gcc 4.x.x
2007-04-01 20:52:27 +00:00
David Cantrell
bf0715cdf3 - Fix formatting problems in dhclient man page (#233076). 2007-03-21 15:33:58 +00:00
David Cantrell
202880c676 - Fix formatting problems in dhclient man page (#233076). 2007-03-21 15:33:30 +00:00
David Cantrell
2993a2a507 Revert to previous LDAP patch. 2007-03-05 22:51:29 +00:00
David Cantrell
ab30f48028 - Use better upstream version of the LDAP configuration patch (#225691) 2007-03-05 22:47:40 +00:00
David Cantrell
88e892d32c - Man pages need 0644 permissions (#222572) 2007-03-05 18:19:42 +00:00
David Cantrell
0f9f19ccd5 - Include contrib/ subdirectory in /usr/share/doc (#230476)
- Added back Requires for perl since dhcpd-conf-to-ldap needs it (#225691)
- Put copies of dhcp-options and dhcp-eval man pages in the dhcp and
    dhclient packages rather than having the elaborate symlink collection
- Explicitly name man pages in the %files listings
- Use the %{_sysconfdir} and %{_initrddir} macros (#225691)
- Use macros for commands in %build and %install
- Split README.ldap, draft-ietf-dhc-ldap-schema-01.txt, and
    dhcpd-conf-to-ldap.pl out of the LDAP patch
- Split linux.dbus-example script out of the extended new option info patch
- Remove unnecessary changes from the Makefile patch
2007-03-05 16:02:22 +00:00
David Cantrell
8cb20bf3c8 - Update Xen partial checksums patch
- Remove perl Requires (#225691)
- Make dhcp-devel depend on dhcp = e:v-r (#225691)
- libdhcp4client-devel Requires pkgconfig (#225691)
- Do not add to RPM_OPT_FLAGS, use COPTS variable instead (#225691)
- Use %{buildroot} macro instead of RPM_BUILD_ROOT variable (#225691)
- Preserve timestamps on all installed data files (#225691)
- Remove dhcp-options.5.gz and dhcp-eval.5.gz symlinking in post (#225691)
- Use %defattr(-,root,root,-) (#225691)
- Do not flag init scripts as %config in %files section (#225691)
2007-02-28 11:36:49 +00:00
David Cantrell
6e014293a1 - Change license field to say ISC 2007-02-27 16:50:17 +00:00
David Cantrell
2d930f8bd6 - Obsoletes dhcpcd <= 1.3.22 (#225691) 2007-02-17 23:08:12 +00:00
David Cantrell
5c88c3a0a3 - Review cleanups (#225691) 2007-02-17 04:31:07 +00:00
David Cantrell
06936a83d4 - Require openldap-devel on dhcp-devel and libdhcp4client-devel packages 2007-02-09 18:57:19 +00:00
David Cantrell
f6f89c94bd - Fix libdhcp4client visibility _again_ (#198496) 2007-02-09 02:40:12 +00:00
David Cantrell
f8cbdb5a7e - Remove period from summary line (package review)
- Use preferred BuildRoot (package review)
2007-02-08 15:51:30 +00:00
David Cantrell
1270fb8d39 - Disable xen-checksums patch for now as it breaks dhclient (#227266)
- Updated fix-warnings patch
2007-02-04 19:34:53 +00:00
David Woodhouse
1a05c79e94 fix file read breakage 2007-02-04 18:51:19 +00:00
David Cantrell
50e357198b - Only export the symbols we want in libdhcp4client (#198496) 2007-02-02 20:41:01 +00:00
David Cantrell
2dc4ddd1e9 - Add support for dhcpd(8) to read dhcpd.conf from an LDAP server (#224352)
- Remove invalid ja_JP.eucJP man pages from /usr/share/doc
2007-02-01 18:57:30 +00:00
David Cantrell
b2f3effe05 - Rebuild 2007-01-31 22:35:20 +00:00
David Cantrell
780efb3856 Forgot to remove FORTIFY_SOURCE munging. 2007-01-31 22:33:30 +00:00
David Cantrell
38e912dad7 - Remove FORTIFY_SOURCE=0 leftovers from testing last week (whoops) 2007-01-30 22:51:33 +00:00
David Cantrell
02017bb235 - Fix Xen networking problems with partial checksums (#221964) 2007-01-30 18:37:21 +00:00
David Cantrell
fc985eca96 - Remove dhcptables.pl from the source package
- Mark libres.a symbols hidden (#198496)
- Set DT_SONAME on libdhcp4client to libdhcp4client-VERSION.so.0
- Make function definition for dst_hmac_md5_init() match the prototype
2007-01-29 22:19:06 +00:00
David Cantrell
1403c6d0b2 - Roll md5 patch in to libdhcp4client patch since it's related
- Do not overwrite /etc/ntp/step-tickers (#217663)
- Resolves: rhbz#217663
2006-11-29 15:55:39 +00:00
Peter Jones
ac814c6087 - Fix missing MD5_* symbols in the .a 2006-11-22 20:28:24 +00:00
David Cantrell
9fe2af5f67 - Set permission of libdhcp4client.so.1 to 0755 (#215910) 2006-11-16 20:31:12 +00:00
David Cantrell
a914f346ce - Do not link res_query.o in to libdhcp4client (#215501) 2006-11-14 21:04:46 +00:00
David Cantrell
86a07e143d - Enable relinquish_timeouts() and cancel_all_timeouts() even when
DEBUG_MEMORY_LEAKAGE_ON_EXIT is not defined
- Add prototypes for b64_pton() and b64_ntop in dst/
- Move variable declarations and labels around in the fix-warnings patch
- Expand the list of objects needed for libdhcp4client (#215328)
- Use libres.a in libdhcp4client since it gives correct minires objects
- Remove the dhcp options table in C, Perl, Python, and text format (these
    were reference files added to /usr/share/doc)
2006-11-14 03:48:34 +00:00
David Cantrell
9cf76837b4 - Remove struct universe *universe from envadd_state in the client patch
- Add struct universe *universe to envadd_state in the enoi patch
- Add example dbusified dhclient-script in the enoi patch
2006-11-13 18:04:31 +00:00
David Cantrell
08af1e1d6a - Change the way libdhcp4client is compiled (patch main source, create new
Makefile rather than copy and patch code after main patches)
- Fix up problems generating compiler warnings
- Use 'gcc' for making dependencies
- Pass -fPIC instead of -fpie/-fPIE in compiler flags
- Combine the extended new option info changes in to one patch file (makes
    it easier for outside projects that want to use dhcdbd and
    NetworkManager)
2006-11-10 17:02:31 +00:00
David Cantrell
3c1d581943 - Change the way libdhcp4client is compiled (patch main source, create new
Makefile rather than copy and patch code after main patches)
- Fix up problems generating compiler warnings
- Use 'gcc' for making dependencies
2006-11-09 21:09:46 +00:00
David Cantrell
ab966510fa Upgrade to ISC dhcp-3.0.5 2006-11-07 15:49:44 +00:00
David Cantrell
f46525d6dd - Put typedef for dhcp_state_e before it's used in libdhcp_control.h
(#212612)
- Remove dhcpctl.3 from minires/Makefile.dist because it's in dhcpctl
- Remove findptrsize.c and just set compiler flag for ppc64 and s390x
2006-10-27 22:10:38 +00:00
David Cantrell
c24997e024 - Remove NODEBUGINFO junk from the spec file as well as old/unused code
- Rolled all 68 patches in to one patch since more than half of them get
    overridden by later patches anyway.
2006-10-14 16:02:20 +00:00
David Cantrell
697f0a70d1 - Send usage() screen in dhclient to stdout rather than the syslog
(#210524)
2006-10-13 18:34:52 +00:00