aboutsummaryrefslogtreecommitdiffstats
path: root/net/cap/files
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-01-26 00:03:05 +0800
committermax <max@FreeBSD.org>1997-01-26 00:03:05 +0800
commitf6d175d84c70e32f45c5e7ebd9efba36ce1afff8 (patch)
treebeaf8fd15ca69d3b2debc5b1274c5d7b6b636344 /net/cap/files
parent89c58add2152ca0ff5191bedbc97aff052cb1ce4 (diff)
downloadfreebsd-ports-gnome-f6d175d84c70e32f45c5e7ebd9efba36ce1afff8.tar.gz
freebsd-ports-gnome-f6d175d84c70e32f45c5e7ebd9efba36ce1afff8.tar.zst
freebsd-ports-gnome-f6d175d84c70e32f45c5e7ebd9efba36ce1afff8.zip
Change all /usr/tmp to /var/tmp.
Diffstat (limited to 'net/cap/files')
-rw-r--r--net/cap/files/patch-ac36
-rw-r--r--net/cap/files/patch-ae74
2 files changed, 101 insertions, 9 deletions
diff --git a/net/cap/files/patch-ac b/net/cap/files/patch-ac
index f6a136923b41..299819508c3c 100644
--- a/net/cap/files/patch-ac
+++ b/net/cap/files/patch-ac
@@ -7,8 +7,8 @@
compat.h sysvcompat.h macfile.h abnbp.h fcntldomv.h afppass.h
--- etc/Makefile.m4.orig Sun Mar 8 22:46:19 1992
-+++ etc/Makefile.m4 Sat Nov 30 09:36:23 1996
-@@ -1,11 +1,12 @@
++++ etc/Makefile.m4 Sun Jan 26 00:19:02 1997
+@@ -1,17 +1,20 @@
CFLAGS=cflags() nbpflags() specialcflags()
SDESTDIR=capsrvrdestdir()
UDESTDIR=capdestdir()
@@ -17,8 +17,36 @@
I=includedir()
# for other libraries (like BSD on hpux)
SLIB=libspecial()
-+
-+ETCDIR=/var/run
++ETCDIR=/var/run
++
ifdef([useatis],[],[# ])ATISPROGS=atis
PROGS=${ATISPROGS}
+
+ # aufs.c definitions: USEVPRINTF - use vprintf in logging
+ ifdef([usevprintf],[],[#])ATISDEFS=-DUSEVPRINTF
++
++ATISDEFS+=-DNISDUMPFILE=\"/var/tmp/nis.db\" -DATISRUNFILE=\"/var/tmp/atis.run\"
+
+ # Make sure to define needgetopt if your system doesnt have it or
+ # just set GETOPT=att_getopt.o (or to a getopt of your own liking)
+--- support/uab/Makefile.m4.orig Sun Mar 8 22:46:21 1992
++++ support/uab/Makefile.m4 Sun Jan 26 00:46:55 1997
+@@ -5,6 +5,8 @@
+ CAPLIB=libcap()
+ LFLAGS=
+
++UABDEFS=-DUAB_RUNFILE=\"/var/tmp/uab.run\" -DUAB_STATSFILE=\"/var/tmp/uab.stats\" -DUAB_DUMPFILE=\"/var/tmp/uab.dump\"
++
+ SRCS=aarp.c kip_mpx.c rtmp.c ethertalk.c ddprouter.c ddpsvcs.c ddpport.c \
+ hash.c asyncatalk.c
+ OBJS=aarp.o kip_mpx.o rtmp.o ethertalk.o ddprouter.o ddpsvcs.o ddpport.o \
+@@ -28,7 +30,7 @@
+ ${CC} -c ${CFLAGS} -DTAB=etalklocal() -DMTAB=etalklocal() kip_mpx.c
+
+ uab.o: uab.c mpxddp.h gw.h node.h ddpport.h if_desc.h
+- ${CC} -c ${CFLAGS} -DUAB_PIDFILE=uabpidfile() \
++ ${CC} -c ${CFLAGS} ${UABDEFS} -DUAB_PIDFILE=uabpidfile() \
+ -DBRIDGE_DESC=uabbrdescr() uab.c
+
+ lint:
diff --git a/net/cap/files/patch-ae b/net/cap/files/patch-ae
index e7e59c0387fd..e5a3215e132f 100644
--- a/net/cap/files/patch-ae
+++ b/net/cap/files/patch-ae
@@ -34,9 +34,9 @@ Patches to reflect file locations in man pages.
.SH BUGS
The node numbers should be automatically determined since they are
fixed. In addition, it would be nice if the zone name were picked up
---- man/atis.8.orig Sat Nov 9 16:42:31 1996
-+++ man/atis.8 Sun Nov 10 08:13:31 1996
-@@ -91,7 +91,7 @@
+--- man/atis.8.orig Sun Jan 26 00:25:04 1997
++++ man/atis.8 Sun Jan 26 00:32:44 1997
+@@ -91,19 +91,19 @@
.I atis
automatically disassociates itself from the controlling terminal
unless debug options are set. To allow some control over the
@@ -45,7 +45,35 @@ Patches to reflect file locations in man pages.
following commands options have been added.
.TP
.B dump
-@@ -131,9 +131,9 @@
+ sends a SIGQUIT signal to the running atis. This causes the running
+ atis to dump
+-its name table into /usr/tmp/nis.db.
++its name table into /var/tmp/nis.db.
+ .TP
+ .B reload
+ sends a SIGHUP signal to the running atis. This
+ causes the running
+ .I atis
+-to reload its name tables from /usr/tmp/nis.db.
++to reload its name tables from /var/tmp/nis.db.
+ .TP
+ .B exit
+ will stop the currently running copy of
+@@ -112,11 +112,11 @@
+ .TP
+ .B debug
+ increments the debug level of the running server by sending it a
+-SIGIOT. If no log file was defined, /usr/tmp/atis.run is created and used.
++SIGIOT. If no log file was defined, /var/tmp/atis.run is created and used.
+ .TP
+ .B nodebug
+ turns off debugging in the running server by sending it a SIGEMT. If
+-/usr/tmp/atis.run was created by
++/var/tmp/atis.run was created by
+ .I debug
+ then the file is closed.
+ .PP
+@@ -131,14 +131,14 @@
to dump the database and exit.
.PP
.SH FILES
@@ -56,7 +84,14 @@ Patches to reflect file locations in man pages.
+/usr/local/etc/cap/atalk.local is used to find the closest Ethernet/Appletalk bridge
(directory location alterable at compile time).
.br
- /usr/tmp/nis.db is used to hold the name data base when dumped
+-/usr/tmp/nis.db is used to hold the name data base when dumped
++/var/tmp/nis.db is used to hold the name data base when dumped
+ .br
+-/usr/tmp/atis.run is used for logging if debug is turned on without a
++/var/tmp/atis.run is used for logging if debug is turned on without a
+ log file via "atis debug".
+ .SH NOTES
+ The current copy of atis runs with Revisions 10/86, 9/87, 1/88 or 6/88 of the
--- man/atprint.1.orig Sun Mar 8 22:44:36 1992
+++ man/atprint.1 Sun Nov 10 08:23:43 1996
@@ -49,7 +49,7 @@
@@ -123,3 +158,32 @@ Patches to reflect file locations in man pages.
.SH "SEE ALSO"
CAP(8), atis(8), cap(3)
.SH EXAMPLE
+--- man/UAB.8.orig Sun Mar 8 22:43:56 1992
++++ man/UAB.8 Sun Jan 26 00:53:02 1997
+@@ -73,12 +73,12 @@
+ (SIGEMT), statistics (SIGUSR2), or exit (SIGTERM) will
+ send these signals.
+ tdump causes the running uab to dump its internal tables (rtmp, etc.) to
+-/usr/tmp/uab.dump. (dump is
++/var/tmp/uab.dump. (dump is
+ reserved for nbp if uab ever support nbp). debug tells the running
+ uab to increment the debug level: if not log file was currently
+-active, the log will go to /usr/tmp/uab.run.
++active, the log will go to /var/tmp/uab.run.
+ nodebug turns off all debugging.
+-stat or statisitics dumps statistics to /usr/tmp/uab.stats. exit
++stat or statisitics dumps statistics to /var/tmp/uab.stats. exit
+ causes the running uab to stop.
+ .PP
+ The bridge description file is a list of the valid ports for a
+@@ -155,7 +155,7 @@
+ for Computing Activities, Columbia University
+ .SH FILES
+ .nf
+-/usr/tmp/uab.stats
+-/usr/tmp/uab.run
+-/usr/tmp/uab.dump
++/var/tmp/uab.stats
++/var/tmp/uab.run
++/var/tmp/uab.dump
+ .fi