pkg://wampes-991216-485.src.rpm:461420/wampes-991216-paths.dif
info downloads
diff -urN wampes-991216.orig/Makefile wampes-991216/Makefile
--- wampes-991216.orig/Makefile Fri May 5 10:44:58 2000
+++ wampes-991216/Makefile Fri May 5 13:01:16 2000
@@ -1,7 +1,7 @@
# @(#) $Id: Makefile,v 1.45 1999/12/02 02:13:52 deyke Exp $
-OBSOLETE = /usr/local/bin/sfstat \
- /usr/local/etc/mkhostdb \
+OBSOLETE = /usr/bin/sfstat \
+ /var/lib/wampes/mkhostdb \
bbs/bbs.h \
bbs/findpath* \
bbs/help* \
@@ -30,20 +30,20 @@
all:; @-rm -f $(OBSOLETE)
-chmod 755 cc
- @-for dir in $(DIRS); do ( cd $$dir; $(MAKE) -i all install ); done
- @-$(MAKE) -i /tcp/hostaddr.pag
- @-if [ -d tools ]; then ( cd tools; $(MAKE) -i all install ); fi
+ @-for dir in $(DIRS); do ( cd $$dir; $(MAKE) all install ); done
+ @-$(MAKE) /usr/lib/wampes/hostaddr.pag
+ @-if [ -d tools ]; then ( cd tools; $(MAKE) all install ); fi
-/tcp/hosts:
- [ -f /tcp/hosts ] || touch /tcp/hosts
+/usr/lib/wampes/hosts:
+ [ -f /usr/lib/wampes/hosts ] || touch /usr/lib/wampes/hosts
-/tcp/domain.txt:
- [ -f /tcp/domain.txt ] || touch /tcp/domain.txt
+/usr/lib/wampes/domain.txt:
+ [ -f /usr/lib/wampes/domain.txt ] || touch /usr/lib/wampes/domain.txt
-/tcp/hostaddr.pag: /tcp/hosts /tcp/domain.txt util/mkhostdb
- rm -f /tcp/hostaddr.* /tcp/hostname.*
+/usr/lib/wampes/hostaddr.pag: /usr/lib/wampes/hosts /usr/lib/wampes/domain.txt util/mkhostdb
+ rm -f /usr/lib/wampes/hostaddr.* /usr/lib/wampes/hostname.*
util/mkhostdb >/dev/null 2>&1
- if [ -f /tcp/hostaddr.db ]; then ln /tcp/hostaddr.db $@; fi
+ if [ -f /usr/lib/wampes/hostaddr.db ]; then ln /usr/lib/wampes/hostaddr.db $@; fi
distrib:
@-rm -f wampes-*.t*; \
@@ -82,8 +82,8 @@
ln README wampes-$$version.txt; \
gzip -9 < wampes-latest.tar > wampes-$$version.tar.gz
-clean:; @-for dir in $(DIRS); do ( cd $$dir; $(MAKE) -i clean ); done
- @-if [ -d tools ]; then ( cd tools; $(MAKE) -i clean ); fi
+clean:; @-for dir in $(DIRS); do ( cd $$dir; $(MAKE) clean ); done
+ @-if [ -d tools ]; then ( cd tools; $(MAKE) clean ); fi
@-rm -f wampes-??????.t*
@-find . -name .pure -exec rm {} \;
@-find . -name .trimtime -exec rm {} \;
diff -urN wampes-991216.orig/NeXT/Makefile wampes-991216/NeXT/Makefile
--- wampes-991216.orig/NeXT/Makefile Fri May 5 10:44:58 2000
+++ wampes-991216/NeXT/Makefile Fri May 5 13:01:16 2000
@@ -6,7 +6,7 @@
putenv.o
all:; @case "`uname -sr`" in \
- NeXT*) . ../lib/configure.mak; $(MAKE) -i _all;; \
+ NeXT*) . ../lib/configure.mak; $(MAKE) _all;; \
esac
_all: $(LIBRARY)
diff -urN wampes-991216.orig/README wampes-991216/README
--- wampes-991216.orig/README Fri May 5 10:44:58 2000
+++ wampes-991216/README Fri May 5 13:01:17 2000
@@ -48,11 +48,11 @@
To unpack this archive you have to:
su
- mkdir /tcp
- cd /tcp
+ mkdir /usr/lib/wampes
+ cd /usr/lib/wampes
gzip -d < wampes-991216.tar.gz | tar xvf -
-After unpacking please read the file /tcp/doc/intro.txt. For FreeBSD
+After unpacking please read the file /usr/lib/wampes/doc/intro.txt. For FreeBSD
2.1 and later, "GNU make (gmake)" must be used instead of /usr/bin/make.
For RISC iX you have to copy *.R to /usr/lib. Now type "make -i" to
compile and install everything.
diff -urN wampes-991216.orig/aos/Makefile wampes-991216/aos/Makefile
--- wampes-991216.orig/aos/Makefile Fri May 5 10:44:59 2000
+++ wampes-991216/aos/Makefile Fri May 5 13:01:17 2000
@@ -9,7 +9,7 @@
strstr.o
all:; @case "`uname -sr`" in \
- AOS*) . ../lib/configure.mak; $(MAKE) -i _all;; \
+ AOS*) . ../lib/configure.mak; $(MAKE) _all;; \
esac
_all: $(LIBRARY)
diff -urN wampes-991216.orig/bbs/Makefile wampes-991216/bbs/Makefile
--- wampes-991216.orig/bbs/Makefile Fri May 5 10:44:59 2000
+++ wampes-991216/bbs/Makefile Fri May 5 13:01:17 2000
@@ -2,8 +2,8 @@
TARGETS = bbs
-all:; @. ../lib/configure.mak; $(MAKE) -i _all
-install:; @. ../lib/configure.mak; $(MAKE) -i _install
+all:; @. ../lib/configure.mak; $(MAKE) _all
+install:; @. ../lib/configure.mak; $(MAKE) _install
_all: $(TARGETS)
@@ -11,17 +11,17 @@
$(RMTARGET)
$(LD) $(LDFLAGS) bbs.o $(LIBS) $(SLIBS) -o $@
-_install: /usr/local/bin/bbs /usr/local/lib/bbs.help
+_install: /usr/bin/bbs /var/lib/wampes/bbs.help
-/usr/local/bin/bbs: bbs
+/usr/bin/bbs: bbs
$(MKDIR)
- rm -f /usr/local/bin/BBS
+ rm -f /usr/bin/BBS
$(RMTARGET)
cp $? $@
chmod 4555 $@
- ln $@ /usr/local/bin/BBS
+ ln $@ /usr/bin/BBS
-/usr/local/lib/bbs.help: bbs.help
+/var/lib/wampes/bbs.help: bbs.help
$(MKDIR)
$(RMTARGET)
cp $? $@
diff -urN wampes-991216.orig/bbs/bbs.c wampes-991216/bbs/bbs.c
--- wampes-991216.orig/bbs/bbs.c Fri May 5 10:44:59 2000
+++ wampes-991216/bbs/bbs.c Fri May 5 13:01:17 2000
@@ -57,11 +57,11 @@
#define NEWSGROUPSPREFIX "ampr.bbs."
#define NEWSGROUPSPREFIXLENGTH 9 /* strlen(NEWSGROUPSPREFIX) */
-#define BBSCONFIGFILE "/tcp/bbs.conf"
-#define BBSRCFILE "/tcp/bbsrc"
-#define HELPFILE "/usr/local/lib/bbs.help"
-#define LOCKDIR "/tcp/locks"
-#define MAILCONFIGFILE "/tcp/mail.conf"
+#define BBSCONFIGFILE "/usr/lib/wampes/bbs.conf"
+#define BBSRCFILE "/usr/lib/wampes/bbsrc"
+#define HELPFILE "/var/lib/wampes/bbs.help"
+#define LOCKDIR "/usr/lib/wampes/locks"
+#define MAILCONFIGFILE "/usr/lib/wampes/mail.conf"
#define NEWSRCFILE ".newsrc.bbs"
#define USERRCFILE ".bbsrc"
@@ -2948,7 +2948,7 @@
if (!connect_addr(user.name, protocol, address))
exit(1);
- if (!(addr = build_sockaddr("unix:/tcp/.sockets/netcmd", &addrlen)))
+ if (!(addr = build_sockaddr("unix:/usr/lib/wampes/.sockets/netcmd", &addrlen)))
exit(1);
if ((fd = socket(addr->sa_family, SOCK_STREAM, 0)) < 0)
exit(1);
@@ -3214,7 +3214,7 @@
change_alias("!", "SHELL");
change_alias("|", "PIPE");
- change_alias("INFO", "SHELL 'cat /usr/local/lib/station.data'");
+ change_alias("INFO", "SHELL 'cat /var/lib/wampes/station.data'");
change_alias("MAIL", "SHELL mailx");
change_alias("MORE", "PIPE more");
change_alias("NEWNEWS", "RELOAD; DIR");
diff -urN wampes-991216.orig/bbs/bbs.help wampes-991216/bbs/bbs.help
--- wampes-991216.orig/bbs/bbs.help Fri May 5 10:44:59 2000
+++ wampes-991216/bbs/bbs.help Fri May 5 13:01:17 2000
@@ -11,7 +11,7 @@
To start the BBS you must type 'bbs' after you have con-
nected to the system. If the sysop has created the file
-'/tcp/bbsrc' it's contents it will be executed first. Then,
+'/usr/lib/wampes/bbsrc' it's contents it will be executed first. Then,
if your home directory contains the file '.bbsrc', it's con-
tents will be executed next. This allows the customization
of the PROMPT text, or the automatic execution of (for exam-
@@ -66,7 +66,7 @@
ERASE "DELETE"
EXIT "QUIT"
-INFO "SHELL 'cat /usr/local/lib/station.data'"
+INFO "SHELL 'cat /var/lib/wampes/station.data'"
KILL "DELETE"
MAIL "SHELL mailx"
MORE "PIPE more"
diff -urN wampes-991216.orig/convers/Makefile wampes-991216/convers/Makefile
--- wampes-991216.orig/convers/Makefile Fri May 5 10:44:59 2000
+++ wampes-991216/convers/Makefile Fri May 5 13:01:17 2000
@@ -2,8 +2,8 @@
TARGETS = convers conversd
-all:; @. ../lib/configure.mak; $(MAKE) -i _all
-install:; @. ../lib/configure.mak; $(MAKE) -i _install
+all:; @. ../lib/configure.mak; $(MAKE) _all
+install:; @. ../lib/configure.mak; $(MAKE) _install
_all: $(TARGETS)
@@ -15,14 +15,14 @@
$(RMTARGET)
$(LD) $(LDFLAGS) conversd.o $(LIBS) $(SLIBS) -o $@
-_install: /usr/local/bin/convers /tcp/conversd
+_install: /usr/bin/convers /usr/lib/wampes/conversd
-/usr/local/bin/convers: convers
+/usr/bin/convers: convers
$(MKDIR)
$(RMTARGET)
cp $? $@
-/tcp/conversd: conversd
+/usr/lib/wampes/conversd: conversd
$(RMTARGET)
cp $? $@
diff -urN wampes-991216.orig/convers/convers.c wampes-991216/convers/convers.c
--- wampes-991216.orig/convers/convers.c Fri May 5 10:44:59 2000
+++ wampes-991216/convers/convers.c Fri May 5 13:01:17 2000
@@ -393,7 +393,7 @@
TYPE_FD_SET rmask;
char *note = 0;
char buffer[2048];
- const char *server = "unix:/tcp/sockets/convers";
+ const char *server = "unix:/usr/lib/wampes/sockets/convers";
int addrlen;
int channel = 0;
int chr;
diff -urN wampes-991216.orig/convers/conversd.c wampes-991216/convers/conversd.c
--- wampes-991216.orig/convers/conversd.c Fri May 5 10:44:59 2000
+++ wampes-991216/convers/conversd.c Fri May 5 13:01:17 2000
@@ -165,8 +165,8 @@
static void *writearg[FD_SETSIZE];
static const char conversd[] = "conversd";
-static const char progfile[] = "/tcp/conversd";
-static const char *conffile = "/tcp/convers.conf";
+static const char progfile[] = "/usr/lib/wampes/conversd";
+static const char *conffile = "/usr/lib/wampes/convers.conf";
static int debug;
static int maxfd = -1;
static int min_waittime = MIN_WAITTIME;
@@ -2054,7 +2054,7 @@
};
static struct listeners listeners[256] = {
- {"unix:/tcp/sockets/convers", 0},
+ {"unix:/usr/lib/wampes/sockets/convers", 0},
{"*:3600", 0},
};
diff -urN wampes-991216.orig/doc/bbs.html wampes-991216/doc/bbs.html
--- wampes-991216.orig/doc/bbs.html Fri May 5 10:44:59 2000
+++ wampes-991216/doc/bbs.html Fri May 5 13:01:18 2000
@@ -51,7 +51,7 @@
<HR><H2><A NAME="H1.">1. Start</A></H2>
To start the BBS you must type 'bbs' after you have connected to the
system.
-If the sysop has created the file '/tcp/bbsrc' it's contents it will be
+If the sysop has created the file '/usr/lib/wampes/bbsrc' it's contents it will be
executed first.
Then, if your home directory contains the file '.bbsrc',
it's contents will be executed next.
@@ -91,7 +91,7 @@
<TR><TD ALIGN="left">CHECK<TD ALIGN="left">"DIR"
<TR><TD ALIGN="left">ERASE<TD ALIGN="left">"DELETE"
<TR><TD ALIGN="left">EXIT<TD ALIGN="left">"QUIT"
-<TR><TD ALIGN="left">INFO<TD ALIGN="left">"SHELL 'cat /usr/local/lib/station.data'"
+<TR><TD ALIGN="left">INFO<TD ALIGN="left">"SHELL 'cat /var/lib/wampes/station.data'"
<TR><TD ALIGN="left">KILL<TD ALIGN="left">"DELETE"
<TR><TD ALIGN="left">MAIL<TD ALIGN="left">"SHELL mailx"
<TR><TD ALIGN="left">MORE<TD ALIGN="left">"PIPE more"
diff -urN wampes-991216.orig/doc/bbs.mm wampes-991216/doc/bbs.mm
--- wampes-991216.orig/doc/bbs.mm Fri May 5 10:44:59 2000
+++ wampes-991216/doc/bbs.mm Fri May 5 13:01:18 2000
@@ -32,7 +32,7 @@
.nr Ej 0 \" From now on do not start a new page for any header level
To start the BBS you must type 'bbs' after you have connected to the
system.
-If the sysop has created the file '/tcp/bbsrc' it's contents it will be
+If the sysop has created the file '/usr/lib/wampes/bbsrc' it's contents it will be
executed first.
Then, if your home directory contains the file '.bbsrc',
it's contents will be executed next.
@@ -74,7 +74,7 @@
CHECK~"DIR"
ERASE~"DELETE"
EXIT~"QUIT"
-INFO~"SHELL 'cat /usr/local/lib/station.data'"
+INFO~"SHELL 'cat /var/lib/wampes/station.data'"
KILL~"DELETE"
MAIL~"SHELL mailx"
MORE~"PIPE more"
diff -urN wampes-991216.orig/doc/bridge.html wampes-991216/doc/bridge.html
--- wampes-991216.orig/doc/bridge.html Fri May 5 10:44:59 2000
+++ wampes-991216/doc/bridge.html Fri May 5 13:01:18 2000
@@ -16,7 +16,7 @@
<LI><A HREF="#H1.">The bridge utility</A>
</OL>
<HR><H2><A NAME="H1.">1. The bridge utility</A></H2>
-Usage: /tcp/util/bridge [-a] [-f <I>failures</I>]
+Usage: /usr/lib/wampes/util/bridge [-a] [-f <I>failures</I>]
<P>
<B>bridge</B> allows multiple <B>net</B> programs to communicate with each other.
<P>
diff -urN wampes-991216.orig/doc/bridge.mm wampes-991216/doc/bridge.mm
--- wampes-991216.orig/doc/bridge.mm Fri May 5 10:44:59 2000
+++ wampes-991216/doc/bridge.mm Fri May 5 13:01:18 2000
@@ -29,7 +29,7 @@
.S
.nr Ej 0 \" No new page for all headers
.H 1 "The bridge utility"
-Usage: /tcp/util/bridge [-a] [-f \fIfailures\fP]
+Usage: /usr/lib/wampes/util/bridge [-a] [-f \fIfailures\fP]
.SP
\fBbridge\fP allows multiple \fBnet\fP programs to communicate with each other.
.SP
diff -urN wampes-991216.orig/doc/intro.txt wampes-991216/doc/intro.txt
--- wampes-991216.orig/doc/intro.txt Fri May 5 10:44:59 2000
+++ wampes-991216/doc/intro.txt Fri May 5 13:01:18 2000
@@ -9,7 +9,7 @@
files reflect parts of mine and others setup, use it to build your own..
Change the hostnames, ax25 calls etc. *please*.
-All files should go to /tcp (mail.conf, net.rc, convers.conf).
+All files should go to /usr/lib/wampes (mail.conf, net.rc, convers.conf).
For user-logins you've to create a /users/funk directory, because WAMPES
creates user-accounts automatically under this dir, and adds entries to
@@ -27,12 +27,12 @@
What program does what? - a quick overview.
--------------------------------------------
-/tcp/net (copied from /tcp/src/net)
-/usr/local/bin/cnet (copied from /tcp/util/cnet)
+/usr/lib/wampes/net (copied from /usr/lib/wampes/src/net)
+/usr/bin/cnet (copied from /usr/lib/wampes/util/cnet)
The main program. It's the interface to the KISS/SLIP ports, the
program that controls logins, connections etc. It can be started in the
-background, on my Linux system with /tcp/net < /dev/null & , if I start
+background, on my Linux system with /usr/lib/wampes/net < /dev/null & , if I start
it from a shell. If I omit the /dev/null, it does not disconnect itself
cleanly from the shell.
@@ -43,44 +43,44 @@
You can leave cnet with 'bye', not with 'exit'! 'exit' exits the
net-program too, 'bye' leaves only cnet.
-/usr/local/bin/path (copied from /tcp/util/path)
+/usr/bin/path (copied from /usr/lib/wampes/util/path)
Shows an ax25 path to a host.
-/tcp/util/netupd[c,s]
+/usr/lib/wampes/util/netupd[c,s]
Netupdate-Client+Server. Allows WAMPES clients to get new revisions of
the WAMPES software from a WAMPES source server. Used in the Stuttgart
area to update all local WAMPES systems automatically from cron.
-/usr/local/bin/md5 (copied from /tcp/util/md5)
+/usr/bin/md5 (copied from /usr/lib/wampes/util/md5)
Utility to compute signatures from input files.
-/usr/local/etc/udbm (copied from /tcp/util/udbm)
+/var/lib/wampes/udbm (copied from /usr/lib/wampes/util/udbm)
User Data Base Manager
-It searches /usr/local/lib/users and builds an alias database, also it
+It searches /var/lib/wampes/users and builds an alias database, also it
puts users' fullnames in /etc/passwd. Only use it if you know what
you're doing...
-/tcp/util/mkhostdb
+/usr/lib/wampes/util/mkhostdb
-Generates the domain databases /tcp/hostaddr.??? and /tcp/hostname.???
-from /tcp/domain.txt, /tcp/domain.local, and /tcp/hosts.
+Generates the domain databases /usr/lib/wampes/hostaddr.??? and /usr/lib/wampes/hostname.???
+from /usr/lib/wampes/domain.txt, /usr/lib/wampes/domain.local, and /usr/lib/wampes/hosts.
-/tcp/conversd (copied from /tcp/convers/conversd)
+/usr/lib/wampes/conversd (copied from /usr/lib/wampes/convers/conversd)
The convers-server. Started in background, it listens and accepts
convers connections on an unix domain socket.
-/usr/local/bin/convers (copied from /tcp/convers/convers)
+/usr/bin/convers (copied from /usr/lib/wampes/convers/convers)
The convers user program. It connects to the unix domain socket of the
server, and enables the user to confer with others.
-On some systems /tcp/net and /tcp/conversd are started by init via
+On some systems /usr/lib/wampes/net and /usr/lib/wampes/conversd are started by init via
inittab, on Linux with 'simpleinit' this isn't recommended; if you use
sys5init it's no problem. This is an sample entry:
@@ -88,8 +88,8 @@
is:3:initdefault::
# [...]
# WAMPES
-w1:3456:respawn:env TZ=MST7MDT /tcp/net
-cs:3456:respawn:env TZ=MST7MDT /tcp/conversd
+w1:3456:respawn:env TZ=MST7MDT /usr/lib/wampes/net
+cs:3456:respawn:env TZ=MST7MDT /usr/lib/wampes/conversd
#
------------------------------------------------------------------------------
@@ -183,7 +183,7 @@
# Special services, gated to unix-sockets:
#
# Conversd:
-start tcpgate 3600 unix:/tcp/sockets/convers
+start tcpgate 3600 unix:/usr/lib/wampes/sockets/convers
# SMTP:
start tcpgate smtp
# Fingerd:
@@ -197,7 +197,7 @@
# Kick the smtp timer every 120 seconds:
smtp timer 120
#############################################################################
-# Use the unix resolver if a host isn't in /tcp/hosts:
+# Use the unix resolver if a host isn't in /usr/lib/wampes/hosts:
domain usegethostby on
#############################################################################
# the esc character:
@@ -207,12 +207,12 @@
#trace ttys3 111 /dev/tty8
#############################################################################
# Logging:
-log /tcp/net.log
+log /usr/lib/wampes/net.log
#############################################################################
-# Maybe we have some additional routes? Editing /tcp/net.rc causes an exit
+# Maybe we have some additional routes? Editing /usr/lib/wampes/net.rc causes an exit
# of the net-program! (this was introduced because of automatic updates)
#
-source /tcp/net.rc.local
+source /usr/lib/wampes/net.rc.local
#
# End of net.rc
#
@@ -233,7 +233,7 @@
db0id Never
dc6iq Never
-Then edit /tcp/mail.conf and create entries like this:
+Then edit /usr/lib/wampes/mail.conf and create entries like this:
dk5sg:smtp:tcp:dk5sg smtp
db0id:smtp:tcp:db0id smtp
@@ -271,7 +271,7 @@
can be configured with convers.conf. It is read at the time conversd is
started. If this file is changed after startup, conversd will exit.
-A sample /tcp/convers.conf:
+A sample /usr/lib/wampes/convers.conf:
The first line is our convers hostname, it can be changed to your Town,
etc. (as common in other countries). The second and more lines
@@ -279,7 +279,7 @@
3600:
dc1ik
-db0id unix:/tcp/.sockets/netcmd connect tcp db0id 3600
+db0id unix:/usr/lib/wampes/.sockets/netcmd connect tcp db0id 3600
--------------------------------------------------------------------------
Some notes for using WAMPES on Linux:
diff -urN wampes-991216.orig/doc/netupd.html wampes-991216/doc/netupd.html
--- wampes-991216.orig/doc/netupd.html Fri May 5 10:44:59 2000
+++ wampes-991216/doc/netupd.html Fri May 5 13:01:18 2000
@@ -20,7 +20,7 @@
<OL>
<LI>The following external UNIX programs (supporting the specified
options) have to be installed in either /bin, /usr/bin,
-/usr/local/bin, or /usr/contrib/bin:
+/usr/bin, or /usr/contrib/bin:
<UL>
<LI>diff -n
<LI>gzip -9
@@ -28,18 +28,18 @@
</UL>
<LI>Add the following line to /etc/services:
<PRE>
-netupds 4715/tcp
+netupds 4715/usr/lib/wampes
</PRE>
<LI>Add the following line to /etc/inetd.conf:
<PRE>
-netupds stream tcp nowait root /tcp/util/netupds netupds [-s <I>sourcedir</I>] [-n <I>user</I>]
+netupds stream tcp nowait root /usr/lib/wampes/util/netupds netupds [-s <I>sourcedir</I>] [-n <I>user</I>]
</PRE>
Options:
<P>
<DL>
<DT><B>-s</B> <I>sourcedir</I>
<DD>Serve files from directory <I>sourcedir</I>. If not specified files
-will be served from directory <B>/tcp</B>.
+will be served from directory <B>/usr/lib/wampes</B>.
<DT><B>-n</B> <I>user</I>
<DD>Send notification mail to <I>user</I>. If not specified mail will be
send to <B>root</B>.
@@ -48,7 +48,7 @@
<PRE>
inetd -c
</PRE>
-<LI>Add the following line to /tcp/net.rc:
+<LI>Add the following line to /usr/lib/wampes/net.rc:
<PRE>
start tcpgate netupds
</PRE>
@@ -61,23 +61,23 @@
<OL>
<LI>The following external UNIX programs (supporting the specified
options) have to be installed in either /bin, /usr/bin,
-/usr/local/bin, or /usr/contrib/bin:
+/usr/bin, or /usr/contrib/bin:
<UL>
<LI>gzip -d
<LI>compress -d
</UL>
<LI>Execute the following UNIX command:
<PRE>
-/tcp/util/netupdc [-s <I>sourcedir</I>] [-w <I>wampesdir</I>] [-u] [-m] <I>server</I> <I>client</I>
+/usr/lib/wampes/util/netupdc [-s <I>sourcedir</I>] [-w <I>wampesdir</I>] [-u] [-m] <I>server</I> <I>client</I>
</PRE>
Options:
<DL>
<DT><B>-s</B> <I>sourcedir</I>
<DD>Update files in directory <I>sourcedir</I>. If not specified files will
-be updated in directory <B>/tcp</B>.
+be updated in directory <B>/usr/lib/wampes</B>.
<DT><B>-w</B> <I>wampesdir</I>
<DD>Directory where <B>WAMPES</B> is installed. If not specified
-<B>WAMPES</B> is expected in directory <B>/tcp</B>. Not used when
+<B>WAMPES</B> is expected in directory <B>/usr/lib/wampes</B>. Not used when
option <B>-u</B> is specified.
<DT><B>-u</B>
<DD>Use <B>Unix</B> networking to connect to <I>server</I>. If not specified
@@ -96,7 +96,7 @@
<LI>If you wish you can execute netupdc automatically from cron by putting
the command from 2.2 into your crontab. Example crontab entry:
<PRE>
-0 8 * * * exec /tcp/util/netupdc db0sao dk5sg
+0 8 * * * exec /usr/lib/wampes/util/netupdc db0sao dk5sg
</PRE>
</OL>
</BODY>
diff -urN wampes-991216.orig/doc/netupd.mm wampes-991216/doc/netupd.mm
--- wampes-991216.orig/doc/netupd.mm Fri May 5 10:44:59 2000
+++ wampes-991216/doc/netupd.mm Fri May 5 13:01:18 2000
@@ -33,7 +33,7 @@
.LI
The following external UNIX programs (supporting the specified
options) have to be installed in either /bin, /usr/bin,
-/usr/local/bin, or /usr/contrib/bin:
+/usr/bin, or /usr/contrib/bin:
.BL
.LI
diff -n
@@ -46,14 +46,14 @@
Add the following line to /etc/services:
.DS I
.ft CW
-netupds 4715/tcp
+netupds 4715/usr/lib/wampes
.ft P
.DE
.LI
Add the following line to /etc/inetd.conf:
.DS I
.ft CW
-netupds stream tcp nowait root /tcp/util/netupds netupds [-s \fIsourcedir\fP] [-n \fIuser\fP]
+netupds stream tcp nowait root /usr/lib/wampes/util/netupds netupds [-s \fIsourcedir\fP] [-n \fIuser\fP]
.ft P
.DE
Options:
@@ -61,7 +61,7 @@
.VL 20 2
.LI "\fB-s\fP \fIsourcedir\fP"
Serve files from directory \fIsourcedir\fP. If not specified files
-will be served from directory \fB/tcp\fP.
+will be served from directory \fB/usr/lib/wampes\fP.
.LI "\fB-n\fP \fIuser\fP"
Send notification mail to \fIuser\fP. If not specified mail will be
send to \fBroot\fP.
@@ -74,7 +74,7 @@
.ft P
.DE
.LI
-Add the following line to /tcp/net.rc:
+Add the following line to /usr/lib/wampes/net.rc:
.DS I
.ft CW
start tcpgate netupds
@@ -93,7 +93,7 @@
.LI
The following external UNIX programs (supporting the specified
options) have to be installed in either /bin, /usr/bin,
-/usr/local/bin, or /usr/contrib/bin:
+/usr/bin, or /usr/contrib/bin:
.BL
.LI
gzip -d
@@ -104,17 +104,17 @@
Execute the following UNIX command:
.DS I
.ft CW
-/tcp/util/netupdc [-s \fIsourcedir\fP] [-w \fIwampesdir\fP] [-u] [-m] \fIserver\fP \fIclient\fP
+/usr/lib/wampes/util/netupdc [-s \fIsourcedir\fP] [-w \fIwampesdir\fP] [-u] [-m] \fIserver\fP \fIclient\fP
.ft P
.DE
Options:
.VL 20 2
.LI "\fB-s\fP \fIsourcedir\fP"
Update files in directory \fIsourcedir\fP. If not specified files will
-be updated in directory \fB/tcp\fP.
+be updated in directory \fB/usr/lib/wampes\fP.
.LI "\fB-w\fP \fIwampesdir\fP"
Directory where \fBWAMPES\fP is installed. If not specified
-\fBWAMPES\fP is expected in directory \fB/tcp\fP. Not used when
+\fBWAMPES\fP is expected in directory \fB/usr/lib/wampes\fP. Not used when
option \fB-u\fP is specified.
.LI \fB-u\fP
Use \fBUnix\fP networking to connect to \fIserver\fP. If not specified
@@ -135,7 +135,7 @@
the command from 2.2 into your crontab. Example crontab entry:
.DS I
.ft CW
-0 8 * * * exec /tcp/util/netupdc db0sao dk5sg
+0 8 * * * exec /usr/lib/wampes/util/netupdc db0sao dk5sg
.ft P
.DE
.LE
diff -urN wampes-991216.orig/doc/wampes.html wampes-991216/doc/wampes.html
--- wampes-991216.orig/doc/wampes.html Fri May 5 10:44:59 2000
+++ wampes-991216/doc/wampes.html Fri May 5 13:01:18 2000
@@ -14,7 +14,7 @@
<HR><H2>Table of Contents</H2>
<OL>
<LI><A HREF="#H1.">Credits</A>
-<LI><A HREF="#H2.">The /tcp/net Program</A>
+<LI><A HREF="#H2.">The /usr/lib/wampes/net Program</A>
<OL>
<LI><A HREF="#H2.1">Startup</A>
<LI><A HREF="#H2.2">Environment variables</A>
@@ -147,8 +147,8 @@
Bdale Garbee, N3EUA
Gerard van der Grinten, PA0GRI
</PRE>
-<HR><H2><A NAME="H2.">2. The /tcp/net Program</A></H2>
-The executable file <B>/tcp/net</B>
+<HR><H2><A NAME="H2.">2. The /usr/lib/wampes/net Program</A></H2>
+The executable file <B>/usr/lib/wampes/net</B>
(further called <B>WAMPES</B>) provides Internet (TCP/IP),
NET/ROM and AX.25
facilities. Because it has an internal multi-tasking system,
@@ -162,10 +162,10 @@
and gateway level functions, for which a number of commands are provided.
<H3><A NAME="H2.1">2.1 Startup</A></H3>
<PRE>
-<B>/tcp/net [-g] [-v]</B> [<I>startup file</I>]
+<B>/usr/lib/wampes/net [-g] [-v]</B> [<I>startup file</I>]
</PRE>
When <B>WAMPES</B> is executed without arguments,
-it attempts to open the file <B>/tcp/net.rc</B>.
+it attempts to open the file <B>/usr/lib/wampes/net.rc</B>.
If it exists, it is read and executed as though its contents
were typed on the console as commands.
This feature is useful for configuring network addresses,
@@ -182,7 +182,7 @@
<LI>unlink any UNIX domain sockets
<LI>enable the 120 seconds watch dog timer
<LI>change its UNIX scheduling priority
-<LI>check the files <B>/tcp/net</B> and <B>/tcp/net.rc</B> for modifications
+<LI>check the files <B>/usr/lib/wampes/net</B> and <B>/usr/lib/wampes/net.rc</B> for modifications
</UL>
<DT><B>-v</B>
<DD>The <B>-v</B> option allows the user to view command execution during
@@ -192,7 +192,7 @@
</DL>
After all command-line options, the name of an alternate startup file may
be specified. This file is then opened and read instead
-of <B>/tcp/net.rc</B>.
+of <B>/usr/lib/wampes/net.rc</B>.
<H3><A NAME="H2.2">2.2 Environment variables</A></H3>
The following environment variables are read by <B>WAMPES</B>:
<DL>
@@ -1145,7 +1145,7 @@
</PRE>
The default is HOME_DIR/funk.
<P>
-HOME_DIR is defined in /tcp/lib/configure.h and has a value of
+HOME_DIR is defined in /usr/lib/wampes/lib/configure.h and has a value of
<UL>
<LI>/home
<LI>/u
@@ -1491,7 +1491,7 @@
preferably from <B>/etc/inittab</B>.
For example:
<PRE>
-net :23456:respawn:env TZ=MST7MDT /tcp/net
+net :23456:respawn:env TZ=MST7MDT /usr/lib/wampes/net
</PRE>
<H4><A NAME="H4.39.1">4.39.1 remote -s <I>key</I></A></H4>
The <A HREF="#H4.18"><B>exit</B></A> and <A HREF="#H4.42"><B>reset</B></A> subcommands of <A HREF="#H4.39"><B>remote</B></A> require a password.
diff -urN wampes-991216.orig/doc/wampes.mm wampes-991216/doc/wampes.mm
--- wampes-991216.orig/doc/wampes.mm Fri May 5 10:44:59 2000
+++ wampes-991216/doc/wampes.mm Fri May 5 13:01:18 2000
@@ -36,8 +36,8 @@
Gerard van der Grinten, PA0GRI
.DE
.nr Cl 2 \" Max level of header for table of contents
-.H 1 "The /tcp/net Program"
-The executable file \fB/tcp/net\fP
+.H 1 "The /usr/lib/wampes/net Program"
+The executable file \fB/usr/lib/wampes/net\fP
(further called \fBWAMPES\fP) provides Internet (TCP/IP),
NET/ROM and AX.25
facilities. Because it has an internal multi-tasking system,
@@ -51,10 +51,10 @@
and gateway level functions, for which a number of commands are provided.
.H 2 "Startup"
.DS I
-\fB/tcp/net [-g] [-v]\fP [\fIstartup file\fP]
+\fB/usr/lib/wampes/net [-g] [-v]\fP [\fIstartup file\fP]
.DE
When \fBWAMPES\fP is executed without arguments,
-it attempts to open the file \fB/tcp/net.rc\fP.
+it attempts to open the file \fB/usr/lib/wampes/net.rc\fP.
If it exists, it is read and executed as though its contents
were typed on the console as commands.
This feature is useful for configuring network addresses,
@@ -76,7 +76,7 @@
.LI
change its UNIX scheduling priority
.LI
-check the files \fB/tcp/net\fP and \fB/tcp/net.rc\fP for modifications
+check the files \fB/usr/lib/wampes/net\fP and \fB/usr/lib/wampes/net.rc\fP for modifications
.LE
.LI \fB-v\fP
The \fB-v\fP option allows the user to view command execution during
@@ -86,7 +86,7 @@
.LE 1
After all command-line options, the name of an alternate startup file may
be specified. This file is then opened and read instead
-of \fB/tcp/net.rc\fP.
+of \fB/usr/lib/wampes/net.rc\fP.
.H 2 "Environment variables"
The following environment variables are read by \fBWAMPES\fP:
.VL 20 2
@@ -1070,7 +1070,7 @@
.DE
The default is HOME_DIR/funk.
.P
-HOME_DIR is defined in /tcp/lib/configure.h and has a value of
+HOME_DIR is defined in /usr/lib/wampes/lib/configure.h and has a value of
.BL 5 1
.LI
/home
@@ -1437,7 +1437,7 @@
For example:
.DS I
.ft CW
-net :23456:respawn:env TZ=MST7MDT /tcp/net
+net :23456:respawn:env TZ=MST7MDT /usr/lib/wampes/net
.ft P
.DE
.H 3 "remote -s" " \fIkey\fP"
diff -urN wampes-991216.orig/examples/bbs.conf wampes-991216/examples/bbs.conf
--- wampes-991216.orig/examples/bbs.conf Fri May 5 10:44:59 2000
+++ wampes-991216/examples/bbs.conf Fri May 5 13:01:18 2000
@@ -3,7 +3,7 @@
# Sample bbs configuration file.
# THIS FILE MUST BE MODIFIED TO MATCH YOUR CONFIGURATION.
-# This file belongs in /tcp/bbs.conf.
+# This file belongs in /usr/lib/wampes/bbs.conf.
#
# Your bbs hostname (must be lowercase)
diff -urN wampes-991216.orig/examples/convers.conf wampes-991216/examples/convers.conf
--- wampes-991216.orig/examples/convers.conf Fri May 5 10:44:59 2000
+++ wampes-991216/examples/convers.conf Fri May 5 13:01:18 2000
@@ -3,7 +3,7 @@
# Sample convers configuration file.
# THIS FILE MUST BE MODIFIED TO MATCH YOUR CONFIGURATION.
#
-# This file belongs in /tcp/convers.conf.
+# This file belongs in /usr/lib/wampes/convers.conf.
#
#
# The first line defines your convers hostname.
@@ -41,5 +41,5 @@
#
# db0sao
# db0id 44.130.48.66:3600
-# df1tl-1 unix:/tcp/.sockets/netcmd connect tcp df1tl-1 convers
-# dk0hu unix:/tcp/.sockets/netcmd connect netrom dk0hu
+# df1tl-1 unix:/usr/lib/wampes/.sockets/netcmd connect tcp df1tl-1 convers
+# dk0hu unix:/usr/lib/wampes/.sockets/netcmd connect netrom dk0hu
diff -urN wampes-991216.orig/examples/mail.conf wampes-991216/examples/mail.conf
--- wampes-991216.orig/examples/mail.conf Fri May 5 10:44:59 2000
+++ wampes-991216/examples/mail.conf Fri May 5 13:01:18 2000
@@ -3,7 +3,7 @@
# Sample mail configuration file.
# THIS FILE MUST BE MODIFIED TO MATCH YOUR CONFIGURATION.
#
-# This file belongs in /tcp/mail.conf.
+# This file belongs in /usr/lib/wampes/mail.conf.
#
#
# The format for each entry is:
diff -urN wampes-991216.orig/lib/Makefile wampes-991216/lib/Makefile
--- wampes-991216.orig/lib/Makefile Fri May 5 10:44:59 2000
+++ wampes-991216/lib/Makefile Fri May 5 13:01:19 2000
@@ -18,7 +18,7 @@
elif [ -x /bin/ksh ]; then /bin/ksh configure; \
else /bin/sh configure; \
fi
- @. ../lib/configure.mak; $(MAKE) -i _all
+ @. ../lib/configure.mak; $(MAKE) _all
_all: $(LIBRARY)
diff -urN wampes-991216.orig/lib/buildsaddr.c wampes-991216/lib/buildsaddr.c
--- wampes-991216.orig/lib/buildsaddr.c Fri May 5 10:44:59 2000
+++ wampes-991216/lib/buildsaddr.c Fri May 5 13:01:18 2000
@@ -41,7 +41,7 @@
if (!strcmp(host_name, "local") || !strcmp(host_name, "unix")) {
addr.su.sun_family = AF_UNIX;
*addr.su.sun_path = 0;
- if (*serv_name != '/') strcpy(addr.su.sun_path, "/tcp/sockets/");
+ if (*serv_name != '/') strcpy(addr.su.sun_path, "/usr/lib/wampes/sockets/");
strcat(addr.su.sun_path, serv_name);
#ifdef RISCiX
*addrlen = sizeof(addr.su.sun_family) + strlen(addr.su.sun_path);
diff -urN wampes-991216.orig/lib/configure wampes-991216/lib/configure
--- wampes-991216.orig/lib/configure Fri May 5 10:44:59 2000
+++ wampes-991216/lib/configure Fri May 5 13:01:19 2000
@@ -280,7 +280,7 @@
findprog GZIP_PROG \
/usr/bin/gzip \
/bin/gzip \
- /usr/local/bin/gzip \
+ /usr/bin/gzip \
/usr/contrib/bin/gzip
findprog LS_PROG \
@@ -303,7 +303,7 @@
findprog RNEWS_PROG \
/usr/bin/rnews \
- /usr/local/bin/rnews \
+ /usr/bin/rnews \
/usr/lib/news/rnews \
/usr/lib/rnews
diff -urN wampes-991216.orig/src/Makefile wampes-991216/src/Makefile
--- wampes-991216.orig/src/Makefile Fri May 5 10:45:00 2000
+++ wampes-991216/src/Makefile Fri May 5 13:01:26 2000
@@ -1,6 +1,6 @@
# @(#) $Id: Makefile,v 1.103 1999/06/20 19:03:51 deyke Exp $
-DEST = /tcp
+DEST = /usr/lib/wampes
EXTHDRS = ../lib/buildsaddr.h \
../lib/calc_crc.h \
@@ -279,8 +279,8 @@
udphdr.c \
version.c
-all:; @. ../lib/configure.mak; $(MAKE) -i _all
-install:; @. ../lib/configure.mak; $(MAKE) -i _install
+all:; @. ../lib/configure.mak; $(MAKE) _all
+install:; @. ../lib/configure.mak; $(MAKE) _install
_all: $(PROGRAM)
diff -urN wampes-991216.orig/src/arpfile.c wampes-991216/src/arpfile.c
--- wampes-991216.orig/src/arpfile.c Fri May 5 10:44:59 2000
+++ wampes-991216/src/arpfile.c Fri May 5 13:01:20 2000
@@ -37,8 +37,8 @@
int32 expires;
};
-static const char arp_filename[] = "/tcp/arp_data";
-static const char arp_tmpfilename[] = "/tcp/arp_tmp";
+static const char arp_filename[] = "/usr/lib/wampes/arp_data";
+static const char arp_tmpfilename[] = "/usr/lib/wampes/arp_tmp";
/*---------------------------------------------------------------------------*/
diff -urN wampes-991216.orig/src/ax25file.c wampes-991216/src/ax25file.c
--- wampes-991216.orig/src/ax25file.c Fri May 5 10:44:59 2000
+++ wampes-991216/src/ax25file.c Fri May 5 13:01:20 2000
@@ -28,8 +28,8 @@
/*char ifname[]; */
};
-static const char axroute_filename[] = "/tcp/axroute_data";
-static const char axroute_tmpfilename[] = "/tcp/axroute_tmp";
+static const char axroute_filename[] = "/usr/lib/wampes/axroute_data";
+static const char axroute_tmpfilename[] = "/usr/lib/wampes/axroute_tmp";
/*---------------------------------------------------------------------------*/
diff -urN wampes-991216.orig/src/domain.c wampes-991216/src/domain.c
--- wampes-991216.orig/src/domain.c Fri May 5 10:44:59 2000
+++ wampes-991216/src/domain.c Fri May 5 13:01:21 2000
@@ -32,8 +32,8 @@
#include "cmdparse.h"
#include "domain.h"
-#define DBHOSTADDR "/tcp/hostaddr"
-#define DBHOSTNAME "/tcp/hostname"
+#define DBHOSTADDR "/usr/lib/wampes/hostaddr"
+#define DBHOSTNAME "/usr/lib/wampes/hostname"
#define LOCALDOMAIN "ampr.org"
struct cache {
diff -urN wampes-991216.orig/src/files.c wampes-991216/src/files.c
--- wampes-991216.orig/src/files.c Fri May 5 10:44:59 2000
+++ wampes-991216/src/files.c Fri May 5 13:01:21 2000
@@ -3,4 +3,4 @@
/* System-dependent definitions of various files, spool directories, etc */
#include "files.h"
-char *Startup = "/tcp/net.rc"; /* Initialization file */
+char *Startup = "/usr/lib/wampes/net.rc"; /* Initialization file */
diff -urN wampes-991216.orig/src/hpux.c wampes-991216/src/hpux.c
--- wampes-991216.orig/src/hpux.c Fri May 5 10:44:59 2000
+++ wampes-991216/src/hpux.c Fri May 5 13:01:21 2000
@@ -112,9 +112,9 @@
setrlimit(RLIMIT_NOFILE, &rlp);
#endif
- fixdir("/tcp", 0755);
- fixdir("/tcp/sockets", 0755);
- fixdir("/tcp/.sockets", 0700);
+ fixdir("/usr/lib/wampes", 0755);
+ fixdir("/usr/lib/wampes/sockets", 0755);
+ fixdir("/usr/lib/wampes/.sockets", 0700);
if ((local_kbd = (isatty(0) && isatty(1)))) {
#ifdef ibm032
@@ -398,7 +398,7 @@
nexttime = secclock() + 600;
if (!filetable[0]) {
- filetable[0] = "/tcp/net";
+ filetable[0] = "/usr/lib/wampes/net";
filetable[1] = Startup;
};
diff -urN wampes-991216.orig/src/ipfile.c wampes-991216/src/ipfile.c
--- wampes-991216.orig/src/ipfile.c Fri May 5 10:44:59 2000
+++ wampes-991216/src/ipfile.c Fri May 5 13:01:22 2000
@@ -37,8 +37,8 @@
int32 expires;
};
-static const char route_filename[] = "/tcp/route_data";
-static const char route_tmpfilename[] = "/tcp/route_tmp";
+static const char route_filename[] = "/usr/lib/wampes/route_data";
+static const char route_tmpfilename[] = "/usr/lib/wampes/route_tmp";
/*---------------------------------------------------------------------------*/
diff -urN wampes-991216.orig/src/mail.h wampes-991216/src/mail.h
--- wampes-991216.orig/src/mail.h Fri May 5 10:45:00 2000
+++ wampes-991216/src/mail.h Fri May 5 13:01:23 2000
@@ -7,7 +7,7 @@
#include "global.h"
#endif
-#define CONFFILE "/tcp/mail.conf"
+#define CONFFILE "/usr/lib/wampes/mail.conf"
#define RETRYTIME (60L*60)
#define RETURNTIME (60L*60*24*3)
#define MAXJOBS 10
diff -urN wampes-991216.orig/src/remote_net.c wampes-991216/src/remote_net.c
--- wampes-991216.orig/src/remote_net.c Fri May 5 10:45:00 2000
+++ wampes-991216/src/remote_net.c Fri May 5 13:01:24 2000
@@ -307,7 +307,7 @@
{
static const char *socketnames[] = {
- "unix:/tcp/.sockets/netcmd",
+ "unix:/usr/lib/wampes/.sockets/netcmd",
0
};
diff -urN wampes-991216.orig/src/slhc.c wampes-991216/src/slhc.c
--- wampes-991216.orig/src/slhc.c Fri May 5 10:45:00 2000
+++ wampes-991216/src/slhc.c Fri May 5 13:01:24 2000
@@ -373,7 +373,7 @@
return SL_TYPE_COMPRESSED_TCP;
/* Update connection state cs & send uncompressed packet (i.e.,
- * a regular ip/tcp packet but with the 'conversation id' we hope
+ * a regular ip/usr/lib/wampes packet but with the 'conversation id' we hope
* to use on future compressed packets in the protocol field).
*/
uncompressed:
diff -urN wampes-991216.orig/src/slhc.h wampes-991216/src/slhc.h
--- wampes-991216.orig/src/slhc.h Fri May 5 10:45:00 2000
+++ wampes-991216/src/slhc.h Fri May 5 13:01:24 2000
@@ -138,7 +138,7 @@
struct cstate {
byte_t this; /* connection id number (xmit) */
struct cstate *next; /* next in ring (xmit) */
- struct ip cs_ip; /* ip/tcp hdr from most recent packet */
+ struct ip cs_ip; /* ip/usr/lib/wampes hdr from most recent packet */
struct tcp cs_tcp;
};
diff -urN wampes-991216.orig/util/Makefile wampes-991216/util/Makefile
--- wampes-991216.orig/util/Makefile Fri May 5 10:45:00 2000
+++ wampes-991216/util/Makefile Fri May 5 13:01:26 2000
@@ -2,8 +2,8 @@
TARGETS = bridge cnet md5 mkhostdb netupdc netupds path qth udbm
-all:; @. ../lib/configure.mak; $(MAKE) -i _all
-install:; @. ../lib/configure.mak; $(MAKE) -i _install
+all:; @. ../lib/configure.mak; $(MAKE) _all
+install:; @. ../lib/configure.mak; $(MAKE) _install
_all: $(TARGETS)
@@ -47,33 +47,33 @@
bridge \
netupdc \
netupds \
- /usr/local/bin/cnet \
- /usr/local/bin/md5 \
- /usr/local/bin/path \
- /usr/local/bin/qth \
- /usr/local/etc/udbm
+ /usr/bin/cnet \
+ /usr/bin/md5 \
+ /usr/bin/path \
+ /usr/bin/qth \
+ /var/lib/wampes/udbm
-/usr/local/bin/cnet: cnet
+/usr/bin/cnet: cnet
$(MKDIR)
$(RMTARGET)
cp $? $@
-/usr/local/bin/md5: md5
+/usr/bin/md5: md5
$(MKDIR)
$(RMTARGET)
cp $? $@
-/usr/local/bin/path: path
+/usr/bin/path: path
$(MKDIR)
$(RMTARGET)
cp $? $@
-/usr/local/bin/qth: qth
+/usr/bin/qth: qth
$(MKDIR)
$(RMTARGET)
cp $? $@
-/usr/local/etc/udbm: udbm
+/var/lib/wampes/udbm: udbm
$(MKDIR)
$(RMTARGET)
cp $? $@
diff -urN wampes-991216.orig/util/cnet.c wampes-991216/util/cnet.c
--- wampes-991216.orig/util/cnet.c Fri May 5 10:45:00 2000
+++ wampes-991216/util/cnet.c Fri May 5 13:01:26 2000
@@ -196,7 +196,7 @@
TYPE_FD_SET wmask;
char *cmdptr = 0;
char *progname = "cnet";
- char *server = "unix:/tcp/.sockets/netcmd";
+ char *server = "unix:/usr/lib/wampes/.sockets/netcmd";
char cmdbuf[1024];
int addrlen;
int chr;
diff -urN wampes-991216.orig/util/mkhostdb.c wampes-991216/util/mkhostdb.c
--- wampes-991216.orig/util/mkhostdb.c Fri May 5 10:45:00 2000
+++ wampes-991216/util/mkhostdb.c Fri May 5 13:01:26 2000
@@ -21,12 +21,12 @@
#endif
#endif
-#define DBHOSTADDR "/tcp/hostaddr"
-#define DBHOSTNAME "/tcp/hostname"
-#define DOMAINFILE "/tcp/domain.txt"
-#define HOSTSFILE "/tcp/hosts"
+#define DBHOSTADDR "/usr/lib/wampes/hostaddr"
+#define DBHOSTNAME "/usr/lib/wampes/hostname"
+#define DOMAINFILE "/usr/lib/wampes/domain.txt"
+#define HOSTSFILE "/usr/lib/wampes/hosts"
#define LOCALDOMAIN "ampr.org"
-#define LOCALDOMAINFILE "/tcp/domain.local"
+#define LOCALDOMAINFILE "/usr/lib/wampes/domain.local"
static DBM *Dbhostaddr;
static DBM *Dbhostname;
diff -urN wampes-991216.orig/util/netupds.c wampes-991216/util/netupds.c
--- wampes-991216.orig/util/netupds.c Fri May 5 10:45:00 2000
+++ wampes-991216/util/netupds.c Fri May 5 13:01:26 2000
@@ -78,8 +78,8 @@
static const char *notifyuser = "root";
static const char *server = "db0sao";
-static const char *sourcedir = "/tcp";
-static const char *wampesdir = "/tcp";
+static const char *sourcedir = "/usr/lib/wampes";
+static const char *wampesdir = "/usr/lib/wampes";
static char *inpptr;
static char inpbuf[1024];
@@ -1491,8 +1491,8 @@
"/usr/ccs/bin:"
"/usr/ucb:"
"/usr/contrib/bin:"
- "/usr/local/bin:"
- "/usr/local/etc");
+ "/usr/bin:"
+ "/var/lib/wampes");
putenv("LD_LIBRARY_PATH=/opt/SUNWspro/lib");
putenv("SHELL=/bin/sh");
if (!getenv("TZ")) {
diff -urN wampes-991216.orig/util/path.c wampes-991216/util/path.c
--- wampes-991216.orig/util/path.c Fri May 5 10:45:00 2000
+++ wampes-991216/util/path.c Fri May 5 13:01:26 2000
@@ -41,7 +41,7 @@
/*char ifname[]; */
};
-static const char axroutefile[] = "/tcp/axroute_data";
+static const char axroutefile[] = "/usr/lib/wampes/axroute_data";
static struct ax_route *Ax_routes[AXROUTESIZE];
static struct iface *Ifaces;
diff -urN wampes-991216.orig/util/qth.c wampes-991216/util/qth.c
--- wampes-991216.orig/util/qth.c Fri May 5 10:45:00 2000
+++ wampes-991216/util/qth.c Fri May 5 13:01:26 2000
@@ -17,7 +17,7 @@
#define M_PI 3.14159265358979323846
#endif
-#define CONFFILE "/usr/local/lib/qth.conf"
+#define CONFFILE "/var/lib/wampes/qth.conf"
#define RADIUS 6370.0
static char **argv;
diff -urN wampes-991216.orig/util/udbm.c wampes-991216/util/udbm.c
--- wampes-991216.orig/util/udbm.c Fri May 5 10:45:00 2000
+++ wampes-991216/util/udbm.c Fri May 5 13:01:26 2000
@@ -54,8 +54,8 @@
static const char aliasfile[] = "aliases";
static const char aliastemp[] = "aliases.tmp";
#else
-static const char usersfile[] = "/usr/local/lib/users";
-static const char userstemp[] = "/usr/local/lib/users.tmp";
+static const char usersfile[] = "/var/lib/wampes/users";
+static const char userstemp[] = "/var/lib/wampes/users.tmp";
static const char passfile[] = "/etc/passwd";
static const char passtemp1[] = "/etc/ptmp";
static const char passtemp2[] = "/etc/passwd.tmp";