Commit graph

35 commits

Author SHA1 Message Date
shattered
26ce32cfbd PR/29576 -- Use @RCD_SCRIPTS_SHELL@ in rc.d scripts, not /bin/sh 2011-10-07 22:37:02 +00:00
roy
df9c32fcee Import dhcpcd-5.2.12 with the following changes:
* 20-resolv.conf now uses the correct variable for $IF_METRIC
* Compiles on RedHat9
* Exclude interface values when dumping the lease
* Parse static value subnet_mask when it exists instead of deriving from
  ip address
* logger calls now resemble dhcpcd calls to syslog(3)
* Reject offered IP address if INADDR_BROADCAST or INADDR_ANY
* Change the route if source address has changed
* Handle partial UDP checksums so we work in Xen domU
  Thanks to Marius Tomaschewski <mt@suse.de>
* Note the address we are requesting in the broadcast log entry
* When operating on one interface, respect the timeout for in dhcpcd.conf
* Escape | and & characters before passing the value to the shell
  Ensure we set a valid hostname, DNS domain and NIS domain.
  Document the need for input validation in dhcpcd-run-hooks(8).
  Fixes CVE-2011-996
  Based on a patch to dhcpcd-3 by Marius Tomaschewski <mt@suse.de>
2011-04-06 09:12:36 +00:00
roy
d552747a0a Update to dhcpcd-5.2.11
Change from dhcpcd-5.2.10 is support for 64-bit routing on NetBSD.
2011-02-04 15:30:53 +00:00
obache
ed8c724313 remove unwanted patches since last update. 2011-01-06 05:19:38 +00:00
roy
5c17ead925 Update to dhcpcd-5.2.10 with the following change:
* -r, --request option now works again
2011-01-03 10:59:17 +00:00
wiz
1fe158853b Add checksums for patch-a{a,b}. Hi abs! 2010-12-31 06:20:12 +00:00
abs
2bafe6a185 Fix build on OS X, bump PKGREVISION. Note dhcpcd runs but something in
OS X seems to be eating the dhcp server's responses, even with the
OS X interface config set to manual.
2010-12-07 22:53:48 +00:00
roy
8f8d064312 Update to dhcpcd-5.2.9 with the following changes:
* syntax in 50-ypbind hook has been fixed
* man page corrections
* Compile correctly on Debian kFreeBSD
* invoke-rc.d now detected by configure correctly
* report hwaddr used by dhcpcd when debug is enabled
* Fix detecting inet address for INFORM support
* document reason RELEASE in dhcpcd-run-hooks
* Support RTM_CHGADDR in the upcoming NetBSD-6
  This is used to work out if the hwaddr has changed as the interface
  does not go down/up unlike other OSes
* ntp hook no longer attempts to restart ntpd if 1st attempt failed
2010-11-27 12:59:31 +00:00
roy
f3421f990c Update to dhcpcd-5.2.7
Changes include:
* Compile on Slackware again
* Use dynamically sized buffers for reading kernel link events
  Fixes carrier status on Linux-2.6.35 64bit kernels
* Use the active link address on NetBSD-5
* Fix syslog support in dhcpcd-run-hooks
2010-08-04 07:19:06 +00:00
roy
a56f9c9b4c Update to dhcpcd-5.2.6
Changes from dhcpcd-5.2.4 include:
* Always daemonise in master mode as some interface up/downs can trigger timeout
* Improved NTP handling on Debian based systems
* dhcpcd -n will now re-read the configuration file
2010-07-07 22:03:37 +00:00
roy
a336fa3b49 Update to dhcpcd-5.2.4 with one change:
* Fix crash when using clientid and the interface re-configures
2010-06-04 09:04:18 +00:00
roy
d08a58adb6 Update to dhcpcd-5.2.3
Changes include:
* compile on FreeBSD-8 where closefrom(3) returns void
* log the pid of dhcpcd
* Indicate server IP received message from even if server ID not present
* Fix crashes on IPv4LL failure and add more logging
2010-05-26 07:54:42 +00:00
roy
e96239b909 Import dhcpcd-5.2.2 with the following changes:
* The broadcast flag is now automatically set for interfaces that require
  it, via platform detection. Currently qeth on Linux.
* Fix a file descriptor leak on Linux getting platform info.
* Don't send a maximum DHCP message size beyond what we can handle.
* ip_ip is now randomized.
* IPTOS_LOWDELAY and IP_DF flags are no longer set.
* SSID is now correctly terminated on Linux.
2010-03-31 09:11:11 +00:00
roy
301b88cf17 Impport dhcpcd-5.2.1 with a quick build fix. 2010-02-27 16:06:59 +00:00
roy
9ad22aba2a Import dhcpcd-5.2.0 with the following changes:
* VendorID is now dhcpcd-$version:$OS-$version:$machine:$platform
* IPv4LL address range can now be used in DHCP requests
* sysctl net.ipv4.conf.$iface.promote_secondaries enabled on Linux
  This resolves a long standing issue of changing ip on the same subnet.
* IPv4LL correctly resets the DHCP timer.
2010-02-27 15:46:52 +00:00
roy
fcafe06913 Update to dhcpcd-5.1.5 with the following changes:
* arc4random from OpenBSD imported for better randomness on Linux
* -h, --xidhwaddr uses the last 4 bytes of the hardware address as
  the DHCP xid
* no longer warn about InfiniBand being an unsupported family
* infinite lease times are valid when reading old leases
* discard address correctly if lease is invalid
2010-01-31 20:30:18 +00:00
abs
88ba6b51d5 Add --sysconfdir=${PKG_SYSCONFDIR} to CONFIGURE_ARGS, bump pkgrevision 2009-12-26 23:59:26 +00:00
roy
e53fe2da99 Import dhcpcd-5.1.4 with the following changes:
* dhcpcd logs even in quiet mode.
 * Sleep for 1/100th of a second to give time for kernel to send RELEASE.
 * -S option now works.
 * Only warn about using CSR on bind.
 * Fix detection of route deletion on Linux.
2009-12-23 09:34:58 +00:00
roy
a2266842d4 dhcpcd-5.1.3 has been imported with the following changes:
* waitip is enabled when running on a single interface.
* Classless Static Routes are now enabled by default in dhcpcd.conf
  instead of being always being requested.
2009-10-25 23:44:49 +00:00
roy
c10e0eedd9 Import dhcpcd-5.1.2 with these changes:
* ClientID is now reported when interface starts
* -w, --wait forces dhcpcd to wait until an interface gets a lease or
  times out
* Ensure DHCP socket is open when sending a DECLINE
* Uses new hwaddr if existing interface is downed and then changed.
* No longer works on firewire interfaces by default.

dhcpcd-5.1.2 has a new behaviour change - when starting up and at least 1
interface has a carrier then it tries to get a lease or times out.
It still daemonises regardless. This, along with the -b and -w flags
allows total control over the desired behaviour of dhcpcd.
2009-10-16 21:43:13 +00:00
roy
55fb0d739b Update to dhcpcd-5.1.1
Changes from dhcpcd-5.1.0 include:
 * Fix various typos and grammatical errors. Thanks to Stephen Borrill.
 * Don't null terminate gratuitously when handling quotes in dhcpcd.conf.
 * Improve the configure script for cross-compiles.
2009-09-22 06:32:16 +00:00
roy
34759963e7 Update to 5.1.0
Changes from 5.0.6
* get_option_addr uses struct in_addr * instead of uint32_t *
  fixes a crash on sgimips/netbsd, thanks to Tim McIntosh
* Use ssize_t which is a signed int and test if read() returns -1
  fixes a crash on some embedded systems, thanks to David Wu
* Fix -f path/to/config
* -e, --env var=value for profile specific env vars
* Many issues resolved when running in test mode
* Don't print a (null) string when there is no NAK message
* Fix compile on NetBSD-4 (PR pkg/41719)
* Only allow hardware families we know by default (over-ridable)
* Fix persistent and timeout 0 options
* Fix parsing of escape code sequencies
* Don't bring up interfaces brought down when handling new interfaces
* Allow un-encapsulated vendor option
* Build system now uses configure script and not mk stubs
2009-09-02 20:54:18 +00:00
roy
438e32d24e Update to dhcpcd-5.0.6
Changes from dhcpcd-5.0.4 include
 * Fix crash on MIPS
 * Default to requesting interface MTU
 * Save and restore interface MTU when changing
 * IP whitelist
 * Fix detecting correct dstaddr for PtP interfaces at startup
 * Ensure that the lease and pidfile directories exist at startup
2009-07-08 22:24:33 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
roy
5161fd200d Update to dhcpcd-5.0.4
Changes from dhcpcd-5.0.3 include
 * The requirement of the ServerID option is now configurable
 * Don't set a MTU lower than 576
 * Enforce a minimum lease time of 20 seconds
2009-05-24 21:24:56 +00:00
wiz
60f460ab01 Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
2009-05-19 08:59:00 +00:00
roy
ccc86ffc62 Update to dhcpcd-5.0.3
Changes from 5.0.2
 * getifaddrs can return NULL for ifa_addr
   We now catch this instead of crashing
2009-05-11 08:29:28 +00:00
roy
6b9768b6a8 Update dhcpcd to 5.0.2
Changes from 5.0.1 include
 * -n option now starts dhcpcd if not already started
 * 29-lookup-hostname hook installed by default, but skipped in dhcpcd.conf
 * Fix warning about missing dirs if we don't have any existing state
 * Fix compile on some Linux distros re linux/wireless.h
2009-05-10 16:35:40 +00:00
roy
e27d376a4f Update to dhcpcd-5.0.1
Changes from dhcpcd-5.0.0 include
 * Silence compile warnings on Sparc64
 * Fix address detection
2009-05-03 06:41:30 +00:00
roy
73af06c99e Update to dhcpcd-5.0.0
Changes from dhcpcd-4.99.18 include
 * Fixed existing address detection
 * Added non dhcp option variables to -V
 * Prefix some generic variable names exported to dhcpcd-run-hooks with if
   (ifmetric, ifwireless, ifflags) as they may conflict with generic var
   names when it restarts a service
2009-04-28 21:04:38 +00:00
roy
07732495f1 Update to dhcpcd-4.99.18
Changes from dhcpcd-4.99.15 include
 * Allow dhcpcd to work on any interface type when INFORMING or given a
   ClientID
 * arping ip selects a different interface profile on success
   Allows different static IP/DHCP configurations
 * DHCP messages without a ServerID are now ignored
 * If DHCP fails, allow fallback to a different interface profile
2009-04-20 06:38:19 +00:00
roy
2f62b0ef90 Update to dhcpcd-4.99.15
Changes from dhcpcd-4.99.14 include
 * Compiles on DragonFly BSD
 * Better support for 3rd party configured interfaces such as PPP
 * Blacklist now happens at the packet level
2009-03-20 15:46:00 +00:00
roy
d20b1e2d55 Use roy@NetBSD.org instead of my personal email. 2009-03-17 12:02:34 +00:00
hasso
37eaffeadc Make it build on DragonFly. 2009-03-12 08:14:16 +00:00
roy
91673c97be Import dhcpcd-4.99.14
dhcpcd is a small, bloat free DHCP client which includes these features
 * DHCP over firewire
 * User Class
 * SIP Servers
 * Domain Search
 * Classless Static Routes
 * IPv4LL aka APIPA aka Zeroconf
 * Node specific Client Identifiers
 * DHCP over Infiniband
 * Link carrier and interface addition/removal detection
 * Dynamic route management
2009-03-05 23:23:26 +00:00