summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dhcp/.footprint.i68670
-rw-r--r--dhcp/.footprint.x86_6470
-rw-r--r--dhcp/.md5sum.i6861
-rw-r--r--dhcp/.md5sum.x86_641
-rw-r--r--dhcp/Pkgfile47
5 files changed, 189 insertions, 0 deletions
diff --git a/dhcp/.footprint.i686 b/dhcp/.footprint.i686
new file mode 100644
index 000000000..0b85846fe
--- /dev/null
+++ b/dhcp/.footprint.i686
@@ -0,0 +1,70 @@
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/dhcpd.conf
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-- root/root etc/rc.d/init.d/dhcp
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K30dhcp -> ../init.d/dhcp
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K30dhcp -> ../init.d/dhcp
+drwxr-xr-x root/root etc/rc.d/rc2.d/
+lrwxrwxrwx root/root etc/rc.d/rc2.d/K30dhcp -> ../init.d/dhcp
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S30dhcp -> ../init.d/dhcp
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S30dhcp -> ../init.d/dhcp
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S30dhcp -> ../init.d/dhcp
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K30dhcp -> ../init.d/dhcp
+drwxr-xr-x root/root etc/rc.d/rcsysinit.d/
+drwxr-xr-x root/root etc/sysconfig/
+drwxr-xr-x root/root sbin/
+-rwxr-xr-x root/root sbin/dhclient
+-rwx------ root/root sbin/dhclient-script
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/omshell
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/dhcpctl.h
+drwxr-xr-x root/root usr/include/isc-dhcp/
+-rw-r--r-- root/root usr/include/isc-dhcp/boolean.h
+-rw-r--r-- root/root usr/include/isc-dhcp/dst.h
+-rw-r--r-- root/root usr/include/isc-dhcp/int.h
+-rw-r--r-- root/root usr/include/isc-dhcp/lang.h
+-rw-r--r-- root/root usr/include/isc-dhcp/list.h
+-rw-r--r-- root/root usr/include/isc-dhcp/result.h
+-rw-r--r-- root/root usr/include/isc-dhcp/types.h
+drwxr-xr-x root/root usr/include/omapip/
+-rw-r--r-- root/root usr/include/omapip/alloc.h
+-rw-r--r-- root/root usr/include/omapip/buffer.h
+-rw-r--r-- root/root usr/include/omapip/omapip.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libdhcpctl.a
+-rw-r--r-- root/root usr/lib/libomapi.a
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/dhcpd
+-rwxr-xr-x root/root usr/sbin/dhcrelay
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rwxr-xr-x root/root usr/share/man/man1/omshell.1.gz
+drwxr-xr-x root/root usr/share/man/man3/
+-rwxr-xr-x root/root usr/share/man/man3/dhcpctl.3.gz
+-rwxr-xr-x root/root usr/share/man/man3/omapi.3.gz
+drwxr-xr-x root/root usr/share/man/man5/
+-rwxr-xr-x root/root usr/share/man/man5/dhclient.conf.5.gz
+-rwxr-xr-x root/root usr/share/man/man5/dhclient.leases.5.gz
+-rwxr-xr-x root/root usr/share/man/man5/dhcp-eval.5.gz
+-rwxr-xr-x root/root usr/share/man/man5/dhcp-options.5.gz
+-rwxr-xr-x root/root usr/share/man/man5/dhcpd.conf.5.gz
+-rwxr-xr-x root/root usr/share/man/man5/dhcpd.leases.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rwxr-xr-x root/root usr/share/man/man8/dhclient-script.8.gz
+-rwxr-xr-x root/root usr/share/man/man8/dhclient.8.gz
+-rwxr-xr-x root/root usr/share/man/man8/dhcpd.8.gz
+-rwxr-xr-x root/root usr/share/man/man8/dhcrelay.8.gz
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/state/
+drwxr-xr-x root/root var/state/dhcp/
+-rw-rw-r-- root/root var/state/dhcp/dhcpd.leases (EMPTY)
diff --git a/dhcp/.footprint.x86_64 b/dhcp/.footprint.x86_64
new file mode 100644
index 000000000..0b85846fe
--- /dev/null
+++ b/dhcp/.footprint.x86_64
@@ -0,0 +1,70 @@
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/dhcpd.conf
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-- root/root etc/rc.d/init.d/dhcp
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K30dhcp -> ../init.d/dhcp
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K30dhcp -> ../init.d/dhcp
+drwxr-xr-x root/root etc/rc.d/rc2.d/
+lrwxrwxrwx root/root etc/rc.d/rc2.d/K30dhcp -> ../init.d/dhcp
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S30dhcp -> ../init.d/dhcp
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S30dhcp -> ../init.d/dhcp
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S30dhcp -> ../init.d/dhcp
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K30dhcp -> ../init.d/dhcp
+drwxr-xr-x root/root etc/rc.d/rcsysinit.d/
+drwxr-xr-x root/root etc/sysconfig/
+drwxr-xr-x root/root sbin/
+-rwxr-xr-x root/root sbin/dhclient
+-rwx------ root/root sbin/dhclient-script
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/omshell
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/dhcpctl.h
+drwxr-xr-x root/root usr/include/isc-dhcp/
+-rw-r--r-- root/root usr/include/isc-dhcp/boolean.h
+-rw-r--r-- root/root usr/include/isc-dhcp/dst.h
+-rw-r--r-- root/root usr/include/isc-dhcp/int.h
+-rw-r--r-- root/root usr/include/isc-dhcp/lang.h
+-rw-r--r-- root/root usr/include/isc-dhcp/list.h
+-rw-r--r-- root/root usr/include/isc-dhcp/result.h
+-rw-r--r-- root/root usr/include/isc-dhcp/types.h
+drwxr-xr-x root/root usr/include/omapip/
+-rw-r--r-- root/root usr/include/omapip/alloc.h
+-rw-r--r-- root/root usr/include/omapip/buffer.h
+-rw-r--r-- root/root usr/include/omapip/omapip.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libdhcpctl.a
+-rw-r--r-- root/root usr/lib/libomapi.a
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/dhcpd
+-rwxr-xr-x root/root usr/sbin/dhcrelay
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rwxr-xr-x root/root usr/share/man/man1/omshell.1.gz
+drwxr-xr-x root/root usr/share/man/man3/
+-rwxr-xr-x root/root usr/share/man/man3/dhcpctl.3.gz
+-rwxr-xr-x root/root usr/share/man/man3/omapi.3.gz
+drwxr-xr-x root/root usr/share/man/man5/
+-rwxr-xr-x root/root usr/share/man/man5/dhclient.conf.5.gz
+-rwxr-xr-x root/root usr/share/man/man5/dhclient.leases.5.gz
+-rwxr-xr-x root/root usr/share/man/man5/dhcp-eval.5.gz
+-rwxr-xr-x root/root usr/share/man/man5/dhcp-options.5.gz
+-rwxr-xr-x root/root usr/share/man/man5/dhcpd.conf.5.gz
+-rwxr-xr-x root/root usr/share/man/man5/dhcpd.leases.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rwxr-xr-x root/root usr/share/man/man8/dhclient-script.8.gz
+-rwxr-xr-x root/root usr/share/man/man8/dhclient.8.gz
+-rwxr-xr-x root/root usr/share/man/man8/dhcpd.8.gz
+-rwxr-xr-x root/root usr/share/man/man8/dhcrelay.8.gz
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/state/
+drwxr-xr-x root/root var/state/dhcp/
+-rw-rw-r-- root/root var/state/dhcp/dhcpd.leases (EMPTY)
diff --git a/dhcp/.md5sum.i686 b/dhcp/.md5sum.i686
new file mode 100644
index 000000000..22d381bc5
--- /dev/null
+++ b/dhcp/.md5sum.i686
@@ -0,0 +1 @@
+6ee8af8b283c95b3b4db5e88b6dd9a26 dhcp-3.1.3.tar.gz
diff --git a/dhcp/.md5sum.x86_64 b/dhcp/.md5sum.x86_64
new file mode 100644
index 000000000..22d381bc5
--- /dev/null
+++ b/dhcp/.md5sum.x86_64
@@ -0,0 +1 @@
+6ee8af8b283c95b3b4db5e88b6dd9a26 dhcp-3.1.3.tar.gz
diff --git a/dhcp/Pkgfile b/dhcp/Pkgfile
new file mode 100644
index 000000000..d919b8af4
--- /dev/null
+++ b/dhcp/Pkgfile
@@ -0,0 +1,47 @@
+# Description: Serveur DHCP permettant de fournir une addresse dynamique
+# URL: http://gd.tuwien.ac.at/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: net-tools
+# Run on: net-tools
+
+name=dhcp
+version=3.1.3
+release=2
+source=(ftp://ftp.isc.org/isc/$name/$name-$version.tar.gz\
+ )
+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
+ make
+ mkdir -p $PKG/var/state/dhcp
+ mkdir -p $PKG/etc
+ touch $PKG/var/state/dhcp/dhcpd.leases
+
+ make DESTDIR=$PKG INCDIR=/usr/include LIBDIR=/usr/lib install
+ mkdir -p $PKG/usr/share
+ mv $PKG/usr/man $PKG/usr/share/man
+ # Installation of the script
+ cd ../$scripts-$scriptsversion
+ make DESTDIR=$PKG install-$name
+
+
+ # Install the script file
+cat > $PKG/etc/dhcpd.conf << "EOF"
+#All the addresses should be adjust to meet your circumstance
+default-lease-time 72000;
+max-lease-time 144000;
+ddns-update-style ad-hoc;
+
+subnet <192.168.5.0> netmask <255.255.255.0> {
+ range <192.168.5.10> <192.168.5.240>;
+ option broadcast-address <192.168.5.255>;
+ option routers <192.168.5.1>;
+}
+EOF
+}
+