broken, this port updates /etc/servers without asking the user.

In PLIST:
@exec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -
v ^dhcps /etc/services.bak ; echo "dhcps                67/udp    # dhcp server"
) > /etc/services
@exec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -
v ^dhcpc /etc/services.bak ; echo "dhcpc                68/udp    # dhcp client"
) > /etc/services
[snip]
@unexec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep
 -v ^dhcps /etc/services.bak ) > /etc/services
@unexec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep
 -v ^dhcpc /etc/services.bak ) > /etc/services
This commit is contained in:
turan 2000-06-18 23:26:34 +00:00
parent 044c069945
commit 430d36a530

View File

@ -1,4 +1,6 @@
# $OpenBSD: Makefile,v 1.9 2000/04/09 17:37:39 espie Exp $
# $OpenBSD: Makefile,v 1.10 2000/06/18 23:26:34 turan Exp $
BROKEN= Never update anything in /etc without asking the user first.
DISTNAME= dhcp-1.4.0p3
PKGNAME= wide-dhcp-1.4.0.3