Commit Graph

566 Commits

Author SHA1 Message Date
Jiri Popelka
f1c2fc7661 4.2.4 2012-06-06 08:52:35 +02:00
Jiri Popelka
0005ada283 return prematurely removed 12-dhcpd (NM dispatcher script) (#828522)
this reverts fbce21e
2012-06-05 12:33:52 +02:00
Jiri Popelka
e95bff28fe getifaddrs.patch: use HAVE_SA_LEN macro 2012-05-25 18:28:09 +02:00
Jiri Popelka
19e38902d2 4.2.4rc2 2012-05-23 14:52:52 +02:00
Jiri Popelka
b05a8555ec dhcpd.service: explicitly add -cf to indicate what conf file we use (#819325)
no need to copy /etc/*.conf to /etc/dhcp/*.conf in %prep anymore
2012-05-07 12:14:04 +02:00
Jiri Popelka
efe27aa872 4.2.4rc1 2012-05-01 09:23:59 +02:00
Jiri Popelka
634087ae6d remove inherit-leases.patch - it's probably not needed anymore (#815355) 2012-04-26 14:58:19 +02:00
Jiri Popelka
b2ce0ea4b3 Update paths.patch and source URL
We don't need to change paths to leases files because
we define these when running configure.
We need to change path to dhclient-script.
2012-04-18 11:31:33 +02:00
Jiri Popelka
d5d042fc45 4.2.4b1: noprefixavail.patch merged upstream 2012-04-17 11:46:32 +02:00
Jiri Popelka
cfe00c427f move dhclient & dhclient-script from /sbin to /usr/sbin 2012-04-02 12:05:14 +02:00
Jiri Popelka
30f41aa41d one more fix (#806342) 2012-03-23 20:30:38 +01:00
Jiri Popelka
5809fa5584 improve #449946 fix (#806342) 2012-03-23 18:22:01 +01:00
Jiri Popelka
3e44d201b9 RFC5970 - DHCPv6 Options for Network Boot (#798735) 2012-03-21 19:43:05 +01:00
Jiri Popelka
cea970864e don't use fallback_interface when releasing lease (#800561) 2012-03-21 19:28:42 +01:00
Jiri Popelka
c40b021d75 use getifaddrs() to scan for interfaces on Linux (#449946) 2012-03-21 16:46:36 +01:00
Jiri Popelka
006ee977ff don't send log messages to the standard error descriptor by default (#790387) 2012-02-22 16:17:52 +01:00
Jiri Popelka
663dceaf48 timeout option (command line) with value 3 or less was driving dhclient mad (#789719) 2012-02-13 18:46:33 +01:00
Jiri Popelka
4e92627fc4 dhclient-script: install link-local static routes with correct scope (#787318) 2012-02-07 11:09:27 +01:00
Adam Williamson
6e0cd32614 rebuild for new bind-libs-lite 2012-02-01 17:27:42 -08:00
Jiri Popelka
035872d4ac revert previous change (#782499) + remove sysvinit scriptlets 2012-01-31 17:31:18 +01:00
Jiri Popelka
fbbf7bf10d use PrivateTmp=true in service files (#782499) 2012-01-17 18:12:43 +01:00
Jiri Popelka
89e5f47fcd 4.2.3-P2: fix for CVE-2011-4868 (#781246)
clean up old Provides and Obsoletes
2012-01-13 12:55:26 +01:00
Dennis Gilmore
45f9209a91 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 18:34:19 -06:00
Jiri Popelka
0acc1b8c2c revert change made in 4.2.3-3 because of failing failover (#765967)
don't need to fix lease files ownership before starting service
dhclient-script: allow static route with a 0.0.0.0 next-hop addressi (#769463
2011-12-21 12:20:29 +01:00
Jiri Popelka
fbce21e755 Removed 12-dhcpd (NM dispatcher script) 2011-12-20 13:03:45 +01:00
Jiri Popelka
8b9d5e1b3b don't ship legacy SysV initscripts + dhcpd[6].service improvements
dhcpd6: move '-cf /etc/dhcp/dhcpd6.conf' from sysconfig/dhcpd6 to dhcpd6.service
run 'chown -R dhcpd:dhcpd /var/lib/dhcpd/' before starting dhcpd/dhcpd6 service
       for the case where leases file is owned by root:root as a
       consequence of running dhcpd without '-user dhcpd -group dhcpd' (#744292)
2011-12-19 18:38:42 +01:00
Jiri Popelka
e810201549 4.2.3-P1: fix for CVE-2011-4539 (#765681) 2011-12-09 12:45:35 +01:00
Jiri Popelka
f3cba52167 dhclient: Don't retry on DECLINE when -1 option used
Don't build with -D_GNU_SOURCE, configure.ac uses AC_USE_SYSTEM_EXTENSIONS
2011-11-24 17:26:59 +01:00
Adam Tkac
102f232ffe Rebuild against new bind
Signed-off-by: Adam Tkac <atkac@redhat.com>
2011-11-14 13:19:32 +01:00
Jiri Popelka
9af3b80de3 dhclient-script: arping address in BOUND|RENEW|REBIND|REBOOT (#752116) 2011-11-11 14:00:38 +01:00
Dennis Gilmore
3f959ce1db - Rebuilt for glibc bug#747377 2011-10-26 18:41:33 -05:00
Jiri Popelka
6e67a560a8 Write lease file AFTER changing of the effective user/group ID.
Move omshell from dhcp-common to main package (where it originally was).
2011-10-26 19:40:23 +02:00
Jiri Popelka
278bc55875 Move changing of the effective user/group ID after writing new PID file. 2011-10-20 14:36:38 +02:00
Jiri Popelka
e68ad5094a 4.2.3 2011-10-20 10:26:12 +02:00
Jiri Popelka
06c72f2ea4 4.2.3rc1 2011-10-18 19:13:08 +02:00
Jiri Popelka
ee81fb441c change ownership of /var/lib/dhcpd/ to dhcpd:dhcpd (#744292)
no need to drop capabilies in dhcpd since it's been running as regular user
2011-10-09 20:28:19 +02:00
Jiri Popelka
00db97365e 56dhclient: ifcfg file was not sourced (#742482) 2011-09-30 15:59:33 +02:00
Jiri Popelka
5c5bbc0b1a dhclient-script: address alias fixes (#741786) 2011-09-29 14:29:21 +02:00
Jiri Popelka
1e3f54a9ec dhclient-script: do not backup&restore /etc/resolv.conf and /etc/localtime.
This has been Fedora/RHEL feature only.
I don't know why it was added but
I also don't see how it could be useful and bugs
656339 and 306381 show that it's not so good idea.
2011-09-22 15:52:44 +02:00
Jiri Popelka
6fa69ac2d2 SystemTap support: spec file change, some dummy probes, tapset, simple script 2011-09-21 15:40:15 +02:00
Jiri Popelka
bd3a57b466 Support for IPoIB (IP over InfiniBand) interfaces (#660681) 2011-09-19 12:27:55 +02:00
Jiri Popelka
0f0b1e4ee5 One more tweak of adding of user and group (#699713) 2011-09-09 17:16:12 +02:00
Jiri Popelka
34b6412f84 PIE-RELRO.patch is not needed anymore, defining _hardened_build does the same 2011-09-09 17:13:55 +02:00
Adam Tkac
6455feecba Rebuild against new bind.
Signed-off-by: Adam Tkac <atkac@redhat.com>
2011-09-09 13:11:03 +02:00
Jiri Popelka
f68f02db2e Fix adding of user and group (#699713) 2011-08-26 13:16:50 +02:00
Jiri Popelka
b8f92d8f72 Use {?_isa} macro to tighten explicit libs sub-package requirement. 2011-08-19 16:54:59 +02:00
Jiri Popelka
d7e74c83b3 Do not run dhcpd as root (BZ#699713)
Use '--enable-paranoia --enable-early-chroot' configure flags
Create/delete dhcpd user in %post/%postun
Run dhcpd/dhcpd6 services with '-user dhcpd -group dhcpd'
2011-08-12 15:22:35 +02:00
Jiri Popelka
5c346262c0 added test.sh to run upstream shipped tests. 2011-08-11 18:14:27 +02:00
Jiri Popelka
5e9e3f36a8 4.2.2: fix for CVE-2011-2748, CVE-2011-2749 (#729850) 2011-08-11 09:05:21 +02:00
Jiri Popelka
32a4427499 Do not ship default /etc/dhcp/dhclient.conf (#560361,c#9) 2011-08-10 17:17:01 +02:00
Jiri Popelka
0ab9732c2e Improve capabilities patch to be able to run with PARANOIA & EARLY_CHROOT (#699713) 2011-07-25 16:50:15 +02:00
Jiri Popelka
e3472df151 4.2.2rc1 2011-07-18 13:49:41 +02:00
Jiri Popelka
5f2fc2001b Fixed comment in /etc/sysconfig/dhcrelay 2011-07-01 15:31:00 +02:00
Jiri Popelka
48c3985b3a Drop all capabilities in dhcpd/dhcrelay (#699713) 2011-07-01 15:20:42 +02:00
Jiri Popelka
bb77af8b5e 4.2.2b1 2011-07-01 14:43:04 +02:00
Jiri Popelka
030991fd0d Removed upstream-merged IFNAMSIZ.patch
Polished patches according to results from static analysis of code.
2011-06-17 14:39:28 +02:00
Jiri Popelka
fdefd274e5 Add triggerpostun scriptlet tied to dhcp-sysvinit 2011-06-16 14:46:24 +02:00
Kamil Dudka
43a67dc92b make it possible to build dhcp without downstream patches 2011-06-16 14:43:36 +02:00
Jiri Popelka
94d8c6567b Fix typo in triggerun scriptlet (#705417) 2011-05-17 18:01:14 +02:00
Jiri Popelka
040a0f11d1 Explicit Requires on cups-libs (bug #705037). 2011-05-16 17:37:01 +02:00
Jiri Popelka
931db1171c Fix triggerun scriptlet 2011-05-11 18:29:46 +02:00
Jiri Popelka
fdc397c22a Fix 11-dhclient to export variables (#702735) 2011-05-09 14:32:51 +02:00
Jiri Popelka
6817180bd0 Comply with guidelines for systemd services 2011-04-29 12:13:36 +02:00
Jiri Popelka
cc2eb946a1 Fix NM dispatcher script for dhcpd to support arbitrary interface names 2011-04-27 17:17:31 +02:00
Jiri Popelka
2f1515e529 Better fix for CVE-2011-0997: making domain-name check more lenient (#694005) 2011-04-06 20:33:31 +02:00
Jiri Popelka
bad89d2bfa fix VERSION macro definition 2011-04-06 13:36:22 +02:00
Jiri Popelka
976c4dec61 4.2.1-P1: fix for CVE-2011-0997 (#694005) 2011-04-06 11:44:33 +02:00
Jiri Popelka
2b40dd8d32 Polished patches according to results from static analysis of code. 2011-03-25 16:27:50 +01:00
Rex Dieter
846f73bce1 rebuild (bind) 2011-03-07 13:39:08 -06:00
Jiri Popelka
9ac4a37707 4.2.1 2011-03-02 10:45:42 +01:00
Jiri Popelka
b2f01851dc 4.2.1rc1 2011-02-23 12:18:07 +01:00
Adam Tkac
b95a0d94b4 Rebuild against new bind-libs-lite.
Signed-off-by: Adam Tkac <atkac@redhat.com>
2011-02-21 17:40:22 +01:00
Dennis Gilmore
2dd1b89b40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 07:42:35 -06:00
Jiri Popelka
beef387033 Bump release 2011-01-31 15:24:44 +01:00
Jiri Popelka
005b240d12 Prevent anything under _docdir from being scanned. (#674058) 2011-01-31 15:21:36 +01:00
Jiri Popelka
a2aab09028 dhclient-script improvements (#672279) 2011-01-28 15:43:40 +01:00
Jiri Popelka
45c037153f 4.2.1b1: fix for CVE-2011-0413 (#672996) 2011-01-28 09:21:10 +01:00
Jiri Popelka
b909aab049 dhclient-script: another fix for checking for other running dhclient 2011-01-18 18:02:35 +01:00
Jiri Popelka
99f5023df5 Fix loading of configuration when LDAP is used (#668276) 2011-01-13 18:06:54 +01:00
Jiri Popelka
a396b806f1 Fix OMAPI (#666441) 2011-01-03 16:46:56 +01:00
Jiri Popelka
7a66932b50 Default /etc/dhcp/dhclient.conf (send dhcp-client-identifier) (#560361) 2010-12-21 14:03:52 +01:00
Jiri Popelka
43f4ae0815 Add dhcp-common subpackage (#634673) 2010-12-15 19:53:02 +01:00
Jiri Popelka
7b41fdb208 4.2.0-P2: fix for CVE-2010-3616 (#662326)
- Use upstream fix for #628258
- Provide versioned symbols for rpmlint
2010-12-13 12:08:24 +01:00
Jiri Popelka
77e77eaef7 Porting dhcpd/dhcpd6/dhcrelay services from SysV to Systemd 2010-12-07 15:32:39 +01:00
Jiri Popelka
05647bd6ff Remove explicit Obsoletes (#656310) 2010-11-23 19:37:21 +01:00
Dan Horák
d45f7d3e78 - fix build on sparc and s390 2010-11-19 12:07:45 +01:00
Jiri Popelka
76c2a1e49b DHCPv6 over PPP support (#626514) 2010-11-09 17:01:11 +01:00
Jiri Popelka
90ba4e9d04 bumped release 2010-11-05 11:24:32 +01:00
Jiri Popelka
c499a66e5a fix broken dependencies 2010-11-05 10:44:20 +01:00
Jiri Popelka
94ec5da03a Add domain part of hostname to 'search' statement in resolv.conf 2010-11-04 20:12:23 +01:00
Jiri Popelka
25d2dbf720 Fix for CVE-2010-3611 (#649880) 2010-11-04 20:10:20 +01:00
Adam Tkac
81227ae2b3 Build dhcp's libraries as shared libs instead of static libs.
Signed-off-by: Adam Tkac <atkac@redhat.com>
2010-10-20 15:03:31 +02:00
Adam Tkac
9819e31780 Fire away bundled BIND source.
Signed-off-by: Adam Tkac <atkac@redhat.com>
2010-10-20 15:01:14 +02:00
Adam Tkac
baeadb7b49 Improve PIE patch (build libraries with -fpic, not with -fpie).
Signed-off-by: Adam Tkac <atkac@redhat.com>
2010-10-20 14:59:16 +02:00
Jiri Popelka
41ed8fdb0a Server was ignoring client's Solicit (with preference included) (#634842) 2010-10-13 12:12:39 +02:00
Jiri Popelka
b112ec7432 s/ping/arping/ in dhclient-script to handle not-on-local-net gateway in ARP-less device (#524298) 2010-10-07 18:05:44 +02:00
Jiri Popelka
290660e57a Check lease for unexpired addresses prior to confirming it (#585418) 2010-10-07 14:00:53 +02:00
Jiri Popelka
2560aa7e3c RFC 3442 - improved dhclient-script 2010-10-04 11:55:50 +02:00
Jiri Popelka
d5a4ff8b46 Do not bring the interface down (#574568) 2010-09-30 16:04:48 +02:00
Jiri Popelka
1a731ce50f Hardening dhcpd/dhcrelay/dhclient by making them PIE & RELRO 2010-09-07 17:39:52 +02:00
Jiri Popelka
4ff3870707 Another fix for handling time values on 64-bit platforms (#628258) 2010-09-02 18:58:05 +02:00
Jiri Popelka
63aa3f4bc6 Fix parsing of lease file dates & times on 64-bit platforms (#628258) 2010-09-01 13:22:34 +02:00
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