debian/0000755000000000000000000000000012247631730007173 5ustar debian/postinst0000644000000000000000000000030211547027446011001 0ustar #!/bin/sh -e update-alternatives --quiet --install /sbin/dhcpcd dhcpcd /sbin/dhcpcd5 50 \ --slave /usr/share/man/man8/dhcpcd.8.gz dhcpcd.8.gz \ /usr/share/man/man8/dhcpcd5.8.gz #DEBHELPER# debian/dhcpcd5.lintian-overrides0000644000000000000000000000026112162321650014055 0ustar dhcpcd5: init.d-script-missing-dependency-on-remote_fs etc/init.d/dhcpcd: required-start dhcpcd5: init.d-script-missing-dependency-on-remote_fs etc/init.d/dhcpcd: required-stop debian/prerm0000644000000000000000000000016011547027446010245 0ustar #!/bin/sh -e if [ "$1" != "upgrade" ]; then update-alternatives --remove dhcpcd /sbin/dhcpcd5 fi #DEBHELPER# debian/patches/0000755000000000000000000000000012247631674010631 5ustar debian/patches/kfreebsd.diff0000644000000000000000000000030112247631674013242 0ustar --- a/platform-bsd.c +++ a/platform-bsd.c @@ -44,6 +44,7 @@ #include #include +#include "common.h" #include "dhcpcd.h" #include "if-options.h" #include "platform.h" debian/patches/series0000644000000000000000000000001612247631637012042 0ustar kfreebsd.diff debian/postrm0000644000000000000000000000012111547027446010441 0ustar #!/bin/sh -e if [ "$1" = purge ]; then rm -rf /var/lib/dhcpcd5 fi #DEBHELPER# debian/watch0000644000000000000000000000012712162323770010222 0ustar version=3 ftp://roy.marples.name/pub/dhcpcd/dhcpcd-([0-9\.]*)\.tar\.bz2 debian uupdate debian/compat0000644000000000000000000000000212162317030010357 0ustar 9 debian/source/0000755000000000000000000000000011547027446010500 5ustar debian/source/format0000644000000000000000000000001411547027446011706 0ustar 3.0 (quilt) debian/dhcpcd5.dhcpcd.init0000644000000000000000000000352712046474224012625 0ustar #!/bin/sh # ### BEGIN INIT INFO # Provides: dhcpcd # Required-Start: $local_fs # Required-Stop: $local_fs # Should-Start: # Should-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: IPv4 DHCP client with IPv4LL support # Description: ### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin DHCPCD=/sbin/dhcpcd NAME=dhcpcd PIDFILE=/var/run/dhcpcd.pid test -x $DHCPCD || exit 0 INTERFACES=/etc/network/interfaces . /lib/lsb/init-functions sanity() { local x= case "$($DHCPCD --version)" in [1234].*) log_failure_msg "Not running $NAME because an older version" \ "is currently preferred" exit 6 esac for x in /var/run/dhcpcd-*.pid; do [ -f "$x" ] || continue log_failure_msg "Not running $NAME because there is aleady an" \ "interface specific instance" log_failure_msg "$x" exit 6 done if grep -q "^[[:space:]]*iface[[:space:]]*.*[[:space:]]*inet[[:space:]]*dhcp" \ $INTERFACES; then log_failure_msg "Not running $NAME because $INTERFACES" log_failure_msg "defines some interfaces that will use a" \ "DHCP client" exit 6 fi } case "$1" in start) sanity if pidofproc -p $PIDFILE $DHCPCD >/dev/null; then log_warning_msg "$NAME is already running" exit 0 fi $DHCPCD ;; stop) sanity $DHCPCD -x ;; restart|force-reload) sanity $DHCPCD -x $DHCPCD ;; try-restart) if ! pidofproc -p $PIDFILE $DHCPCD >/dev/null; then log_warning_msg "$NAME is not running" else sanity $DHCPCD -x $DHCPCD fi ;; reload) if ! pidofproc -p $PIDFILE $DHCPCD >/dev/null; then log_failure_msg "$NAME is not running" exit 7 fi sanity $DHCPCD -n ;; status) status_of_proc -p $PIDFILE $DHCPCD "$NAME" || exit $? ;; *) log_failure_msg "Usage: /etc/init.d/dhcpcd {start|stop|restart|try-restart|force-reload|status}" exit 1 ;; esac debian/changelog0000644000000000000000000000315112247631371011046 0ustar dhcpcd5 (6.0.5-1.1) unstable; urgency=low * Non-maintainer upload. * debian/rules (taken from Ubuntu, thanks!): - If config.mk doesn't exist, don't try to run dh_auto_clean. This fixes a FTBFS. (Closes: #723967) (LP: #1251776) * Add missing include for platform-bsd using patch from Petr Salinger (Closes: #719588) -- Christoph Egger Wed, 04 Dec 2013 14:47:10 +0100 dhcpcd5 (6.0.5-1) unstable; urgency=medium * New upstream release -- Roy Marples Sun, 4 Aug 2013 08:00:44 +0100 dhcpcd5 (6.0.2-1) unstable; urgency=medium * New upstream release * recommend the resolvconf package as well (closes: 705759) * -t 0 works (closes: 707705) -- Roy Marples Tue, 25 Jun 2013 14:29:02 +0100 dhcpcd5 (5.5.6-1) unstable; urgency=medium * New upstream release * 50-ntp.conf now checks for a valid /etc/ntp.conf (closes: 630420) * Works better with netlink messages to work on bridges (closes: 634331) -- Roy Marples Sun, 1 Apr 2012 09:03:27 +0100 dhcpcd5 (5.2.12-1) unstable; urgency=medium * New upstream release -- Roy Marples Wed, 6 Mar 2011 10:16:22 +0100 dhcpcd5 (5.2.11-1) unstable; urgency=low * New upstream release -- Roy Marples Mon, 28 Feb 2011 20:35:37 +0100 dhcpcd5 (5.2.8-1) unstable; urgency=low * New upstream release -- Roy Marples Fri, 22 Oct 2010 19:47:32 +0100 dhcpcd5 (5.2.7-3) unstable; urgency=low * Initial upload to Debian (closes: #594672) -- Roy Marples Tue, 23 Sep 2010 10:57:38 +0100 debian/control0000644000000000000000000000136512162317617010604 0ustar Source: dhcpcd5 Section: net Priority: optional Maintainer: Roy Marples Build-Depends: debhelper (>= 9) Standards-Version: 3.9.4.0 Homepage: http://roy.marples.name/projects/dhcpcd Package: dhcpcd5 Provides: dhcp-client Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: dhcpcd-sv, dhcpcd (<< 3.2.3-6) Recommends: openresolv | resolvconf Suggests: dhcpcd-gtk Description: DHCPv4, IPv6RA and DHCPv6 client with IPv4LL support dhcpcd is a one stop network management daemon which includes * RFC compliant DHCPv4 and DHCPv6 clients * DHCPv6 Prefix Delegation support * IPv4LL (aka ZeroConf) support * ARP address conflict resolution * Link carrier detection * Wireless SSID profiles * ARP ping profiles debian/rules0000755000000000000000000000077312247631122010255 0ustar #!/usr/bin/make -f override_dh_auto_clean: [ ! -f config.mk ] || dh_auto_clean override_dh_auto_configure: dh_auto_configure -- --prefix= --libexecdir=/lib/dhcpcd \ --mandir=/usr/share/man --dbdir=/var/lib/dhcpcd5 \ --with-hooks=ntp override_dh_installinit: dh_installinit --name=dhcpcd --no-start override_dh_install: dh_install mv debian/dhcpcd5/sbin/dhcpcd debian/dhcpcd5/sbin/dhcpcd5 mv debian/dhcpcd5/usr/share/man/man8/dhcpcd.8 \ debian/dhcpcd5/usr/share/man/man8/dhcpcd5.8 %: dh $@ debian/copyright0000644000000000000000000000300312162314430011111 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Roy Marples Source: http://roy.marples.name/projects/dhcpcd Copyright: 2009-2013 Roy Marples License: BSD-2 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.