summaryrefslogtreecommitdiffstats
path: root/dhcpcd
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpcd')
-rw-r--r--dhcpcd/.footprint.i68631
-rw-r--r--dhcpcd/.footprint.x86_6431
-rw-r--r--dhcpcd/.md5sum.i6862
-rw-r--r--dhcpcd/.md5sum.x86_642
-rwxr-xr-xdhcpcd/Pkgfile33
-rw-r--r--dhcpcd/dhcpcd12
6 files changed, 111 insertions, 0 deletions
diff --git a/dhcpcd/.footprint.i686 b/dhcpcd/.footprint.i686
new file mode 100644
index 000000000..ce2a17c8d
--- /dev/null
+++ b/dhcpcd/.footprint.i686
@@ -0,0 +1,31 @@
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/dhcpcd.conf
+drwxr-xr-x root/root etc/sysconfig/
+drwxr-xr-x root/root etc/sysconfig/network-devices/
+drwxr-xr-x root/root etc/sysconfig/network-devices/ifconfig.eth0/
+-rw-r--r-- root/root etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd
+drwxr-xr-x root/root etc/sysconfig/network-devices/services/
+-rwxr-xr-- root/root etc/sysconfig/network-devices/services/dhcpcd
+drwxr-xr-x root/root sbin/
+-r-xr-xr-x root/root sbin/dhcpcd
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/dhcpcd/
+drwxr-xr-x root/root usr/lib/dhcpcd/dhcpcd-hooks/
+-r--r--r-- root/root usr/lib/dhcpcd/dhcpcd-hooks/01-test
+-r--r--r-- root/root usr/lib/dhcpcd/dhcpcd-hooks/02-dump
+-r--r--r-- root/root usr/lib/dhcpcd/dhcpcd-hooks/10-mtu
+-r--r--r-- root/root usr/lib/dhcpcd/dhcpcd-hooks/20-resolv.conf
+-r--r--r-- root/root usr/lib/dhcpcd/dhcpcd-hooks/29-lookup-hostname
+-r--r--r-- root/root usr/lib/dhcpcd/dhcpcd-hooks/30-hostname
+-r-xr-xr-x root/root usr/lib/dhcpcd/dhcpcd-run-hooks
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man5/
+-r--r--r-- root/root usr/share/man/man5/dhcpcd.conf.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-r--r--r-- root/root usr/share/man/man8/dhcpcd-run-hooks.8.gz
+-r--r--r-- root/root usr/share/man/man8/dhcpcd.8.gz
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/dhcpcd/
diff --git a/dhcpcd/.footprint.x86_64 b/dhcpcd/.footprint.x86_64
new file mode 100644
index 000000000..ce2a17c8d
--- /dev/null
+++ b/dhcpcd/.footprint.x86_64
@@ -0,0 +1,31 @@
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/dhcpcd.conf
+drwxr-xr-x root/root etc/sysconfig/
+drwxr-xr-x root/root etc/sysconfig/network-devices/
+drwxr-xr-x root/root etc/sysconfig/network-devices/ifconfig.eth0/
+-rw-r--r-- root/root etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd
+drwxr-xr-x root/root etc/sysconfig/network-devices/services/
+-rwxr-xr-- root/root etc/sysconfig/network-devices/services/dhcpcd
+drwxr-xr-x root/root sbin/
+-r-xr-xr-x root/root sbin/dhcpcd
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/dhcpcd/
+drwxr-xr-x root/root usr/lib/dhcpcd/dhcpcd-hooks/
+-r--r--r-- root/root usr/lib/dhcpcd/dhcpcd-hooks/01-test
+-r--r--r-- root/root usr/lib/dhcpcd/dhcpcd-hooks/02-dump
+-r--r--r-- root/root usr/lib/dhcpcd/dhcpcd-hooks/10-mtu
+-r--r--r-- root/root usr/lib/dhcpcd/dhcpcd-hooks/20-resolv.conf
+-r--r--r-- root/root usr/lib/dhcpcd/dhcpcd-hooks/29-lookup-hostname
+-r--r--r-- root/root usr/lib/dhcpcd/dhcpcd-hooks/30-hostname
+-r-xr-xr-x root/root usr/lib/dhcpcd/dhcpcd-run-hooks
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man5/
+-r--r--r-- root/root usr/share/man/man5/dhcpcd.conf.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-r--r--r-- root/root usr/share/man/man8/dhcpcd-run-hooks.8.gz
+-r--r--r-- root/root usr/share/man/man8/dhcpcd.8.gz
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwxr-xr-x root/root var/lib/dhcpcd/
diff --git a/dhcpcd/.md5sum.i686 b/dhcpcd/.md5sum.i686
new file mode 100644
index 000000000..9133b4438
--- /dev/null
+++ b/dhcpcd/.md5sum.i686
@@ -0,0 +1,2 @@
+e47afe62907b4b36997fa2634b22a541 dhcpcd
+aabe4a3c1f23c55f2c99a416c9085de9 dhcpcd-5.2.9.tar.bz2
diff --git a/dhcpcd/.md5sum.x86_64 b/dhcpcd/.md5sum.x86_64
new file mode 100644
index 000000000..9133b4438
--- /dev/null
+++ b/dhcpcd/.md5sum.x86_64
@@ -0,0 +1,2 @@
+e47afe62907b4b36997fa2634b22a541 dhcpcd
+aabe4a3c1f23c55f2c99a416c9085de9 dhcpcd-5.2.9.tar.bz2
diff --git a/dhcpcd/Pkgfile b/dhcpcd/Pkgfile
new file mode 100755
index 000000000..dfa113443
--- /dev/null
+++ b/dhcpcd/Pkgfile
@@ -0,0 +1,33 @@
+# Description: Client dhcp pour obtenir une adresse dynamiquement
+# URL: http://roy.marples.name/projects/dhcpcd
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=dhcpcd
+version=5.2.9
+release=2
+source=( http://roy.marples.name/downloads/$name/$name-$version.tar.bz2\
+ dhcpcd \
+ )
+
+build() {
+ source /etc/blfs-bootscripts
+# wget http://www.linuxfromscratch.org/blfs/downloads/svn/${scripts}-${scriptsversion}.tar.bz2
+ wget http://nutyx.meticul.eu/files/patchs/aaabasicfs/blfs-bootscripts-$scriptsversion.tar.bz2
+ tar xvf $scripts-$scriptsversion.tar.bz2
+ cd $name-$version
+ ./configure --prefix= \
+ --libexecdir=/usr/lib/dhcpcd \
+ --dbdir=/var/lib/dhcpcd \
+ --sysconfdir=/etc \
+ --os=linux \
+ --with-hooks=none
+ make
+ make DESTDIR=$PKG install
+ mkdir -p $PKG/etc/sysconfig/network-devices/ifconfig.eth0
+ mv ../dhcpcd $PKG/etc/sysconfig/network-devices/ifconfig.eth0/
+ cd ../$scripts-$scriptsversion
+ make DESTDIR=$PKG install-service-dhcpcd
+ cd ../..
+
+}
diff --git a/dhcpcd/dhcpcd b/dhcpcd/dhcpcd
new file mode 100644
index 000000000..59c99e172
--- /dev/null
+++ b/dhcpcd/dhcpcd
@@ -0,0 +1,12 @@
+ONBOOT="yes"
+SERVICE="dhcpcd"
+DHCP_START=""
+DHCP_STOP="-k "
+
+# Set PRINTIP="yes" to have the script print
+# the DHCP assigned IP address
+PRINTIP="no"
+
+# Set PRINTALL="yes" to print the DHCP assigned values for
+# IP, SM, DG, and 1st NS. This requires PRINTIP="yes".
+PRINTALL="no"