aboutsummaryrefslogtreecommitdiff
path: root/net/isc-dhcp3
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2001-02-17 14:19:02 +0000
committerPeter Pentchev <roam@FreeBSD.org>2001-02-17 14:19:02 +0000
commit8beeb9a351321800feb75c1550454c59fba1ece4 (patch)
treea99b60585c9fb9f1fbf92f519bb5573d9d29f87d /net/isc-dhcp3
parentdbf330cfa86f9915da76a95ee95ea3f1701a7379 (diff)
downloadports-8beeb9a351321800feb75c1550454c59fba1ece4.tar.gz
ports-8beeb9a351321800feb75c1550454c59fba1ece4.zip
Notes
Diffstat (limited to 'net/isc-dhcp3')
-rw-r--r--net/isc-dhcp3/files/patch-client-Makefile.dist29
-rw-r--r--net/isc-dhcp3/files/patch-dhclient-script.816
2 files changed, 45 insertions, 0 deletions
diff --git a/net/isc-dhcp3/files/patch-client-Makefile.dist b/net/isc-dhcp3/files/patch-client-Makefile.dist
new file mode 100644
index 000000000000..f6ec21d77e09
--- /dev/null
+++ b/net/isc-dhcp3/files/patch-client-Makefile.dist
@@ -0,0 +1,29 @@
+--- client/Makefile.dist.orig Fri Oct 13 21:03:19 2000
++++ client/Makefile.dist Fri Jan 26 05:05:24 2001
+@@ -52,8 +52,8 @@
+ echo "No client script available."; \
+ else \
+ $(INSTALL) $(TOP)/client/scripts/$(SCRIPT)\
+- $(DESTDIR)$(ETC)/dhclient-script; \
+- $(CHMOD) 700 $(DESTDIR)$(ETC)/dhclient-script; \
++ $(DESTDIR)$(CLIENTBINDIR)/dhclient-script; \
++ $(CHMOD) 700 $(DESTDIR)$(CLIENTBINDIR)/dhclient-script; \
+ fi
+ $(MANINSTALL) $(MANFROM) dhclient.$(MANCAT)8 $(MANTO) \
+ $(DESTDIR)$(ADMMANDIR)/dhclient$(ADMMANEXT)
+@@ -93,6 +93,7 @@
+
+ dhclient.man8: dhclient.8
+ sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
++ -e "s#CLIENTBINDIR#$(CLIENTBINDIR)#g" \
+ -e "s#RUNDIR#$(VARRUN)#g" < dhclient.8 >dhclient.man8
+
+ dhclient-script.cat8: dhclient-script.man8
+@@ -100,6 +101,7 @@
+
+ dhclient-script.man8: dhclient-script.8
+ sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
++ -e "s#CLIENTBINDIR#$(CLIENTBINDIR)#g" \
+ -e "s#RUNDIR#$(VARRUN)#g" < dhclient-script.8 \
+ >dhclient-script.man8
+
diff --git a/net/isc-dhcp3/files/patch-dhclient-script.8 b/net/isc-dhcp3/files/patch-dhclient-script.8
new file mode 100644
index 000000000000..834d3282d999
--- /dev/null
+++ b/net/isc-dhcp3/files/patch-dhclient-script.8
@@ -0,0 +1,16 @@
+--- client/dhclient-script.8.orig Tue Mar 30 00:50:50 1999
++++ client/dhclient-script.8 Fri Jan 26 05:12:57 2001
+@@ -60,11 +60,11 @@
+ to change the behaviour of the script. If an error occurs during the
+ execution of the script, it can set the exit_status variable to a nonzero
+ value, and
+-.B ETCDIR/dhclient-script
++.B CLIENTBINDIR/dhclient-script
+ will exit with that error code immediately after the client script exits.
+ .PP
+ After all processing has completed,
+-.B ETCDIR/dhclient-script
++.B CLIENTBINDIR/dhclient-script
+ checks for the presence of an executable
+ .B ETCDIR/dhclient-exit-hooks
+ script, which if present is invoked using the '.' command. The exit status