pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/dhcpcd Import dhcpcd-4.99.14
details: https://anonhg.NetBSD.org/pkgsrc/rev/7621c9358dea
branches: trunk
changeset: 555608:7621c9358dea
user: roy <roy%pkgsrc.org@localhost>
date: Thu Mar 05 23:23:26 2009 +0000
description:
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
diffstat:
net/dhcpcd/DESCR | 2 ++
net/dhcpcd/Makefile | 30 ++++++++++++++++++++++++++++++
net/dhcpcd/PLIST | 14 ++++++++++++++
net/dhcpcd/distinfo | 5 +++++
net/dhcpcd/files/dhcpcd.sh | 15 +++++++++++++++
5 files changed, 66 insertions(+), 0 deletions(-)
diffs (86 lines):
diff -r 1ddd46e0a898 -r 7621c9358dea net/dhcpcd/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dhcpcd/DESCR Thu Mar 05 23:23:26 2009 +0000
@@ -0,0 +1,2 @@
+An implementation of the DHCP client specified in RFC2131.
+It's very small and bloat free.
diff -r 1ddd46e0a898 -r 7621c9358dea net/dhcpcd/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dhcpcd/Makefile Thu Mar 05 23:23:26 2009 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/03/05 23:23:26 roy Exp $
+#
+
+DISTNAME= dhcpcd-4.99.14
+CATEGORIES= net
+MASTER_SITES= ftp://roy.marples.name/pub/dhcpcd/
+MASTER_SITES+= http://roy.aydogan.net/dhcpcd/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= roy%marples.name@localhost
+HOMEPAGE= http://roy.marples.name/projects/dhcpcd/
+COMMENT= RFC2131 compliant DHCP client
+
+PKG_DESTDIR_SUPPORT= user-destdir
+USE_LANGUAGES= c99
+
+EGDIR= ${PREFIX}/share/examples
+MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}/man
+MAKE_ENV+= SYSCONFDIR=${PKG_SYSCONFDIR}
+INSTALL_MAKE_FLAGS+= SYSCONFDIR=${EGDIR}
+
+# Install the configuration file
+CONF_FILES+= ${EGDIR}/dhcpcd.conf ${PKG_SYSCONFDIR}/dhcpcd.conf
+
+RCD_SCRIPTS+= dhcpcd
+
+# Install the ntp hook script by default
+MAKE_ENV+= HOOKSCRIPTS=50-ntp.conf
+
+.include "../../mk/bsd.pkg.mk"
diff -r 1ddd46e0a898 -r 7621c9358dea net/dhcpcd/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dhcpcd/PLIST Thu Mar 05 23:23:26 2009 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/03/05 23:23:26 roy Exp $
+libexec/dhcpcd-hooks/01-test
+libexec/dhcpcd-hooks/10-mtu
+libexec/dhcpcd-hooks/20-resolv.conf
+libexec/dhcpcd-hooks/30-hostname
+libexec/dhcpcd-hooks/50-ntp.conf
+libexec/dhcpcd-run-hooks
+man/man5/dhcpcd.conf.5
+man/man8/dhcpcd-run-hooks.8
+man/man8/dhcpcd.8
+sbin/dhcpcd
+share/examples/dhcpcd.conf
+share/examples/rc.d/dhcpcd
+@dirrm libexec/dhcpcd-hooks
diff -r 1ddd46e0a898 -r 7621c9358dea net/dhcpcd/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dhcpcd/distinfo Thu Mar 05 23:23:26 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/03/05 23:23:26 roy Exp $
+
+SHA1 (dhcpcd-4.99.14.tar.bz2) = fb0ae1c1fc2992c9e85fdb2e131fce6d681b3889
+RMD160 (dhcpcd-4.99.14.tar.bz2) = ce27e48bedf407912d89b8b6032be8ac40d164ea
+Size (dhcpcd-4.99.14.tar.bz2) = 60295 bytes
diff -r 1ddd46e0a898 -r 7621c9358dea net/dhcpcd/files/dhcpcd.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dhcpcd/files/dhcpcd.sh Thu Mar 05 23:23:26 2009 +0000
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# PROVIDE: dhcpcd
+# REQUIRE: network mountcritlocal
+# BEFORE: NETWORKING
+
+$_rc_subr_loaded . /etc/rc.subr
+
+name="dhcpcd"
+rcvar=$name
+command="@PREFIX@/sbin/${name}"
+pidfile="@VARBASE@/run/${name}.pid"
+
+load_rc_config $name
+run_rc_command "$1"
Home |
Main Index |
Thread Index |
Old Index