ports/contrib (3.6): dhcp: deleted unmaintained port
commit ee9e29eafded2dbe54fb53a8c4b28ed6cf65c906 Author: Tim Biermann <tbier@posteo.de> Date: Thu Mar 4 09:30:22 2021 +0000 dhcp: deleted unmaintained port diff --git a/dhcp/.footprint b/dhcp/.footprint deleted file mode 100644 index 2c300c623..000000000 --- a/dhcp/.footprint +++ /dev/null @@ -1,56 +0,0 @@ -drwxr-xr-x root/root etc/ --rw-r--r-- root/root etc/dhclient.conf --rw-r--r-- root/root etc/dhcpd.conf -drwxr-xr-x root/root etc/rc.d/ --rwxr-xr-x root/root etc/rc.d/dhclient --rwxr-xr-x root/root etc/rc.d/dhcpd -drwxr-xr-x root/root sbin/ --rwxr-xr-x 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/ -drwxr-xr-x root/root usr/include/dhcpctl/ --rw-r--r-- root/root usr/include/dhcpctl/dhcpctl.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/convert.h --rw-r--r-- root/root usr/include/omapip/hash.h --rw-r--r-- root/root usr/include/omapip/isclib.h --rw-r--r-- root/root usr/include/omapip/omapip.h --rw-r--r-- root/root usr/include/omapip/omapip_p.h --rw-r--r-- root/root usr/include/omapip/result.h --rw-r--r-- root/root usr/include/omapip/trace.h -drwxr-xr-x root/root usr/lib/ --rw-r--r-- root/root usr/lib/libdhcp.a --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/dhclient --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/ --rw-r--r-- root/root usr/share/man/man1/omshell.1.gz -drwxr-xr-x root/root usr/share/man/man3/ --rw-r--r-- root/root usr/share/man/man3/dhcpctl.3.gz --rw-r--r-- root/root usr/share/man/man3/omapi.3.gz -drwxr-xr-x root/root usr/share/man/man5/ --rw-r--r-- root/root usr/share/man/man5/dhclient.conf.5.gz --rw-r--r-- root/root usr/share/man/man5/dhclient.leases.5.gz --rw-r--r-- root/root usr/share/man/man5/dhcp-eval.5.gz --rw-r--r-- root/root usr/share/man/man5/dhcp-options.5.gz --rw-r--r-- root/root usr/share/man/man5/dhcpd.conf.5.gz --rw-r--r-- root/root usr/share/man/man5/dhcpd.leases.5.gz -drwxr-xr-x root/root usr/share/man/man8/ --rw-r--r-- root/root usr/share/man/man8/dhclient-script.8.gz --rw-r--r-- root/root usr/share/man/man8/dhclient.8.gz --rw-r--r-- root/root usr/share/man/man8/dhcpd.8.gz --rw-r--r-- root/root usr/share/man/man8/dhcrelay.8.gz -drwxr-xr-x root/root var/ -drwxr-xr-x root/root var/db/ -drwxr-xr-x root/root var/state/ -drwxr-xr-x root/root var/state/dhcp/ --rw-r--r-- root/root var/state/dhcp/dhcpd.leases (EMPTY) diff --git a/dhcp/.signature b/dhcp/.signature deleted file mode 100644 index 653b57fc0..000000000 --- a/dhcp/.signature +++ /dev/null @@ -1,8 +0,0 @@ -untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3zu97YPTCvUj8DFiPPHYUhgy2FjRT/5x2YgsnuJUyjpPOUlduMbTABUVCYdlzOiCeGUsd79Voz/LXxzxCLLPNQ0= -SHA256 (Pkgfile) = e5125e2405bf4f021ebf7825bb9bc831852be91552801ca396f33701972f63a5 -SHA256 (.footprint) = 226abcddc212f1d83873ad294fe0f024f108c1b41b10087be8e1199a83bcf3d5 -SHA256 (dhcp-4.4.2.tar.gz) = 1a7ccd64a16e5e68f7b5e0f527fd07240a2892ea53fe245620f4f5f607004521 -SHA256 (dhcpd) = a49171ca3a53f0c1d87190c57cd27b47131b79fba34a67e231deb3f96e9b501c -SHA256 (dhclient) = b8bf3b0d8766fb987b204ace96f0c2c65e8e7a9187501bdee5a4c6e0e4924153 -SHA256 (default-config.diff) = 20486335665bc723b476c7f5380b07d4a4bc87466b331a5e5af319a6809782b8 diff --git a/dhcp/Pkgfile b/dhcp/Pkgfile deleted file mode 100644 index a029cb65e..000000000 --- a/dhcp/Pkgfile +++ /dev/null @@ -1,29 +0,0 @@ -# Description: DHCP server, client and relay agent. -# URL: https://www.isc.org/downloads/dhcp -# Maintainer: Thomas Penteker, tek at serverop dot de -# Packager: Mark Rosenstand, mark at borkware dot net - -name=dhcp -version=4.4.2 -release=1 -source=(http://ftp.isc.org/isc/$name/$version/$name-$version.tar.gz dhcpd \ - dhclient default-config.diff) - -build() { - cd dhcp-$version - patch -p1 -i $SRC/default-config.diff - - CFLAGS="$CFLAGS -fcommon" ./configure --prefix=/usr \ - --sysconfdir=/etc - - make -j1 - make DESTDIR=$PKG install - install -D ../dhcpd $PKG/etc/rc.d/dhcpd - install -D ../dhclient $PKG/etc/rc.d/dhclient - install -d -m 0755 $PKG/var/state/dhcp - install -d -m 0755 $PKG/var/db - touch $PKG/var/state/dhcp/dhcpd.leases - install -D -m 755 $SRC/dhcp-$version/client/scripts/linux $PKG/sbin/dhclient-script - mv $PKG/etc/dhclient.conf.example $PKG/etc/dhclient.conf - mv $PKG/etc/dhcpd.conf.example $PKG/etc/dhcpd.conf -} diff --git a/dhcp/default-config.diff b/dhcp/default-config.diff deleted file mode 100644 index b3b101c47..000000000 --- a/dhcp/default-config.diff +++ /dev/null @@ -1,50 +0,0 @@ -diff -ur dhcp-4.0.0.orig/client/dhclient.conf.example dhcp-4.0.0/client/dhclient.conf.example ---- dhcp-4.0.0.orig/client/dhclient.conf.example 1997-06-03 00:50:44.000000000 +0200 -+++ dhcp-4.0.0/client/dhclient.conf.example 2008-02-23 23:49:14.538607761 +0100 -@@ -1,3 +1,7 @@ -+# -+# /etc/dhclient.conf: DHCP client configuration file, see dhclient.conf(5) -+# -+ - send host-name = pick-first-value(gethostname(), "ISC-dhclient"); - send dhcp-client-identifier 1:0:a0:24:ab:fb:9c; - send dhcp-lease-time 3600; -@@ -11,7 +15,7 @@ - reboot 10; - select-timeout 5; - initial-interval 2; --script "/etc/dhclient-script"; -+script "/sbin/dhclient-script"; - media "-link0 -link1 -link2", "link0 link1"; - reject 192.33.137.209; - -@@ -34,3 +38,5 @@ - rebind 2 2000/1/12 00:00:01; - expire 2 2000/1/12 00:00:01; - } -+ -+# End of file -diff -ur dhcp-4.0.0.orig/server/dhcpd.conf.example dhcp-4.0.0/server/dhcpd.conf.example ---- dhcp-4.0.0.orig/server/dhcpd.conf.example 2002-08-13 02:55:17.000000000 +0200 -+++ dhcp-4.0.0/server/dhcpd.conf.example 2008-02-23 23:50:52.132354533 +0100 -@@ -1,11 +1,11 @@ --# dhcpd.conf - # --# Sample configuration file for ISC dhcpd -+# dhcpd.conf: Configuration file for ISC dhcpd - # - --# option definitions common to all supported networks... -+# Option definitions common to all supported networks. - option domain-name "example.org"; - option domain-name-servers ns1.example.org, ns2.example.org; -+ddns-update-style ad-hoc; - - default-lease-time 600; - max-lease-time 7200; -@@ -102,3 +102,5 @@ - range 10.0.29.10 10.0.29.230; - } - } -+ -+# End of file diff --git a/dhcp/dhclient b/dhcp/dhclient deleted file mode 100644 index 9163753ba..000000000 --- a/dhcp/dhclient +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# -# /etc/rc.d/dhcpcd: start/stop dhcp client -# - -SSD=/sbin/start-stop-daemon -PROG=/usr/sbin/dhclient -PID=/var/run/dhclient.pid -OPTS="-q" - -case $1 in -start) - $SSD --start --pidfile $PID --exec $PROG -- $OPTS - ;; -stop) - $SSD --stop --remove-pidfile --retry 10 --pidfile $PID - ;; -restart) - $0 stop - $0 start - ;; -reload) - $SSD --stop --signal HUP --pidfile $PID - ;; -status) - $SSD --status --pidfile $PID - case $? in - 0) echo "$PROG is running" ;; - 1) echo "$PROG is not running but the pid file $PID exists" ;; - 3) echo "$PROG is not running" ;; - 4) echo "Unable to determine the program status" ;; - esac - ;; -*) - echo "usage: $0 [start|stop|restart|reload|status]" - ;; -esac - -# End of file - diff --git a/dhcp/dhcpd b/dhcp/dhcpd deleted file mode 100644 index 0c7898ae4..000000000 --- a/dhcp/dhcpd +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh -# -# /etc/rc.d/dhcpd: start/stop dhcp daemon -# - -SSD=/sbin/start-stop-daemon -PROG=/usr/sbin/dhcpd -PID=/var/run/dhcpd.pid -OPTS="-q" - -case $1 in -start) - $SSD --start --pidfile $PID --exec $PROG -- $OPTS - ;; -stop) - $SSD --stop --remove-pidfile --retry 10 --pidfile $PID - ;; -restart) - $0 stop - $0 start - ;; -reload) - $SSD --stop --signal HUP --pidfile $PID - ;; -status) - $SSD --status --pidfile $PID - case $? in - 0) echo "$PROG is running" ;; - 1) echo "$PROG is not running but the pid file $PID exists" ;; - 3) echo "$PROG is not running" ;; - 4) echo "Unable to determine the program status" ;; - esac - ;; -*) - echo "usage: $0 [start|stop|restart|reload|status]" - ;; -esac - -# End of file
participants (1)
-
crux@crux.nu