diff options
Diffstat (limited to 'net/gnu-finger/files')
-rw-r--r-- | net/gnu-finger/files/clients.sample | 3 | ||||
-rw-r--r-- | net/gnu-finger/files/patch-aa | 26 | ||||
-rw-r--r-- | net/gnu-finger/files/patch-ab | 14 | ||||
-rw-r--r-- | net/gnu-finger/files/patch-ac | 44 | ||||
-rw-r--r-- | net/gnu-finger/files/patch-ad | 13 | ||||
-rw-r--r-- | net/gnu-finger/files/patch-ae | 28 | ||||
-rw-r--r-- | net/gnu-finger/files/patch-af | 11 |
7 files changed, 139 insertions, 0 deletions
diff --git a/net/gnu-finger/files/clients.sample b/net/gnu-finger/files/clients.sample new file mode 100644 index 000000000000..0d7b3a1122b6 --- /dev/null +++ b/net/gnu-finger/files/clients.sample @@ -0,0 +1,3 @@ +#client.list +client1.somewhere.ac.jp +client2.somewhere.ac.jp diff --git a/net/gnu-finger/files/patch-aa b/net/gnu-finger/files/patch-aa new file mode 100644 index 000000000000..33f1d887263c --- /dev/null +++ b/net/gnu-finger/files/patch-aa @@ -0,0 +1,26 @@ +--- configure.orig Fri Oct 16 06:49:05 1992 ++++ configure Mon Jul 8 19:39:32 1996 +@@ -1041,8 +1041,10 @@ + + + echo checking for /proc file system +- if test -r /proc ; then DEFS="$DEFS -DHAVE_PROC_FS=1" +- fi ++# if test -r /proc ; then DEFS="$DEFS -DHAVE_PROC_FS=1" ++# fi ++ ++ DEFS="$DEFS -D_ANSI_SOURCE" + + + +@@ -1071,8 +1073,9 @@ + + + +- echo checking for /usr/mail or /usr/spool/mail ++ echo checking for /usr/mail, /var/mail or /usr/spool/mail + if test -d /usr/mail ; then MAILDIR=/usr/mail ++ elif test -d /var/mail ; then MAILDIR=/var/mail + else MAILDIR=/usr/spool/mail + fi + diff --git a/net/gnu-finger/files/patch-ab b/net/gnu-finger/files/patch-ab new file mode 100644 index 000000000000..6d2ea29ca424 --- /dev/null +++ b/net/gnu-finger/files/patch-ab @@ -0,0 +1,14 @@ +--- lib/os.c.org Sat Jul 6 14:18:18 1996 ++++ lib/os.c Sat Aug 26 23:38:18 1995 +@@ -70,7 +70,11 @@ + + /* Where the utmp file is located. */ + #ifndef HAVE_GETUTENT ++#ifdef __FreeBSD__ ++#define UTMP_FILE "/var/run/utmp" ++#else + #define UTMP_FILE "/etc/utmp" ++#endif + #endif + + /* A non-null value is the address of the utmp entry which contains the diff --git a/net/gnu-finger/files/patch-ac b/net/gnu-finger/files/patch-ac new file mode 100644 index 000000000000..c331127405a6 --- /dev/null +++ b/net/gnu-finger/files/patch-ac @@ -0,0 +1,44 @@ +--- src/finger.c.org Sat Jul 6 14:31:03 1996 ++++ src/finger.c Sat Jul 6 16:23:39 1996 +@@ -107,7 +107,6 @@ + char *arg, *port; + int optc; + +- + default_error_handling (argv[0]); + + /* Parse the arguments passed on the command line. */ +@@ -192,6 +191,7 @@ + long addr; + char *finger_server = NULL; + int suppress_hostname = 0; ++ int malloc_flag = 0; + + + username = savestring (arg); +@@ -204,7 +204,7 @@ + hostname = NULL; + + if ((!username || !*username) +- && (finger_server = getservhost ())) ++ && (finger_server = getservhost (stderr))) + { + hostname = finger_server; + suppress_hostname = 1; +@@ -237,6 +237,7 @@ + { + host = (struct hostent *) xmalloc (sizeof (struct hostent)); + host->h_name = hostname; ++ malloc_flag = 1; + } + } + else +@@ -296,6 +297,7 @@ + if (finger_server) + free (finger_server); + +- if (host) ++ if (malloc_flag) { + free (host); ++ } + } diff --git a/net/gnu-finger/files/patch-ad b/net/gnu-finger/files/patch-ad new file mode 100644 index 000000000000..ec6c54d444d9 --- /dev/null +++ b/net/gnu-finger/files/patch-ad @@ -0,0 +1,13 @@ +--- Makefile.in.orig Thu Oct 22 08:59:40 1992 ++++ Makefile.in Mon Jul 8 19:44:26 1996 +@@ -51,8 +51,8 @@ + false + + server: $(AUXOBJS) $(EXECUTABLES) +- (cd $(SRC); $(MAKE) $(MFLAGS) $(CC)="$(CC)" server) +- (cd targets; $(MAKE) $(MFLAGS) $(CC)="$(CC)" server) ++ (cd $(SRC); $(MAKE) $(MFLAGS) CC="$(CC)" server) ++ (cd targets; $(MAKE) $(MFLAGS) CC="$(CC)" server) + + client: $(AUXOBJS) $(EXECUTABLES) + (cd $(SRC); $(MAKE) $(MFLAGS) CC="$(CC)" client) diff --git a/net/gnu-finger/files/patch-ae b/net/gnu-finger/files/patch-ae new file mode 100644 index 000000000000..2bdd858e570e --- /dev/null +++ b/net/gnu-finger/files/patch-ae @@ -0,0 +1,28 @@ +--- src/Makefile.in.org Sat Jul 6 17:57:18 1996 ++++ src/Makefile.in Sat Jul 6 18:04:43 1996 +@@ -85,18 +85,18 @@ + server: $(EXECUTABLES) .fingerdir .etcdir .bindir + -if [ ! -r `cat .etcdir` ]; then mkdir `cat .etcdir`; fi + -if [ ! -r `cat .fingerdir` ]; then mkdir `cat .fingerdir`; fi +- cp finger `cat .bindir`; chmod a+rx `cat .bindir`/finger +- cp fingerd `cat .etcdir`; chmod a+rx `cat .etcdir`/fingerd +- cp in.fingerd `cat .etcdir`; chmod a+rx `cat .etcdir`/in.fingerd +- cp in.cfingerd `cat .etcdir`; chmod a+rx `cat .etcdir`/in.cfingerd ++ install -c -m 755 -s finger `cat .bindir`/finger ++ install -c -m 744 -o root -s fingerd `cat .etcdir`/fingerd ++ install -c -m 744 -o nobody -s in.fingerd `cat .etcdir`/in.fingerd ++ install -c -m 744 -o nobody -s in.cfingerd `cat .etcdir`/in.cfingerd + (cd ../lib/site; make install) + + client: $(EXECUTABLES) .etcdir .fingerdir .bindir + -if [ ! -r `cat .etcdir` ]; then mkdir `cat .etcdir`; fi + -if [ ! -r `cat .fingerdir` ]; then mkdir `cat .fingerdir`; fi +- cp finger `cat .bindir`; chmod a+rx `cat .bindir`/finger +- cp in.fingerd `cat .etcdir`; chmod a+rx `cat .etcdir`/in.fingerd +- cp in.cfingerd `cat .etcdir`; chmod a+rx `cat .etcdir`/in.cfingerd ++ install -c -m 755 -s finger `cat .bindir`/finger ++ install -c -m 744 -o nobody -s in.fingerd `cat .etcdir`/in.fingerd ++ install -c -m 744 -o nobody -s in.cfingerd `cat .etcdir`/in.cfingerd + touch `cat .fingerdir`/ttylocs + + clean: diff --git a/net/gnu-finger/files/patch-af b/net/gnu-finger/files/patch-af new file mode 100644 index 000000000000..37b86984c21d --- /dev/null +++ b/net/gnu-finger/files/patch-af @@ -0,0 +1,11 @@ +--- config.h.org Mon Jul 8 19:10:59 1996 ++++ config.h Mon Jul 8 19:11:16 1996 +@@ -133,7 +133,7 @@ + + #define FingerDir /usr/local/etc/fingerdir + #define BinDir /usr/local/bin +-#define EtcDir /usr/local/etc ++#define EtcDir /usr/local/libexec + #define MugShotPath "/usr/local/lib/mugshots:/usr/local/mugshots" + + /* Define USE_DATABASE if you want to keep information about users in |