summaryrefslogtreecommitdiff
path: root/news/suck/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'news/suck/files/patch-aa')
-rw-r--r--news/suck/files/patch-aa125
1 files changed, 18 insertions, 107 deletions
diff --git a/news/suck/files/patch-aa b/news/suck/files/patch-aa
index a5a6fb727b45..f4e348cc4f0f 100644
--- a/news/suck/files/patch-aa
+++ b/news/suck/files/patch-aa
@@ -1,109 +1,20 @@
---- Makefile.orig Sat Mar 30 06:01:40 1996
-+++ Makefile Fri Apr 5 22:50:49 1996
-@@ -5,15 +5,15 @@
- CC=gcc
-
- #stuff related to the executables (suck rpost testhost)
--INSTALLDIR = /home/boby/doNews # location for the executables
--INSTALL_OWNER=boby # user of the installed files
--INSTALL_GROUP=users # group for the installed files
-+INSTALLDIR = ${PREFIX}/bin # location for the executables
-+INSTALL_OWNER=bin # user of the installed files
-+INSTALL_GROUP=bin # group for the installed files
- INSTALL_MODE=755 # mode for the installed files
-
- #stuff related to the man pages
--MANDIR=/usr/man/man1 # location for the man pages
--MAN_OWNER=root # owner of the man pages
--MAN_GROUP=root # group for the man pages
-+MANDIR=${PREFIX}/man/man1 # location for the man pages
-+MAN_OWNER=bin # owner of the man pages
-+MAN_GROUP=bin # group for the man pages
- MAN_MODE=644 # mode for the man pages
-
- #XXGDB=1 # uncomment this to get it ready for use by xxgdb or gdb
-@@ -27,8 +27,8 @@
- #USE_INNDBZ=1 # if your DBZ routines are part of libinn.a, also check INN_ stuff
-
- # If the INNDBZ stuff is not in the following locations, change this
--INN_DBINC=-I/usr/src/inn/include
--INN_LIBDIR=-L/usr/src/inn/lib
-+INN_DBINC=-I${PORTSDIR}/news/inn/work/include
-+INN_LIBDIR=-L${PORTSDIR}/news/inn/work/lib
- INN_DBLIBS=-linn
-
- #---------------DON'T TOUCH BELOW HERE--------------------------------------
-@@ -85,7 +85,7 @@
- LINK = $(CC)
- LIBS = -lm $(DBLIB) $(GPROFLIB)
- OPTS = $(CFLAGS) $(GCC_FLAGS) $(DVERSION) $(DBOPTION) $(DBINC)
--INSTALL = install
-+INSTALL = install -c
-
- MAN = ./man
- SAMPLE = ./sample
-@@ -122,13 +122,13 @@
-
- installbin: $(TARGETS)
- mkdir -p $(INSTALLDIR)
-- $(INSTALL) -o $(INSTALL_OWNER) -g $(INSTALL_GROUP) -m $(INSTALL_MODE) $(TARGETS) $(INSTALLDIR)
-+ $(INSTALL) -s -o $(INSTALL_OWNER) -g $(INSTALL_GROUP) -m $(INSTALL_MODE) $(TARGETS) $(INSTALLDIR)
-
- installman: $(MANPGS)
- - $(INSTALL) -o $(MAN_OWNER) -g $(MAN_GROUP) -m $(MAN_MODE) $(MANPGS) $(MANDIR)
+--- Makefile.in.orig Fri Aug 1 20:59:01 1997
++++ Makefile.in Mon Aug 4 19:04:25 1997
+@@ -128,7 +128,7 @@
+
+ install_bin: suck rpost testhost lmove
+ - mkdir -p $(bindir)
+- - strip -s suck rpost testhost lmove
++ - strip -x suck rpost testhost lmove
+ $(INSTALL_PROGRAM) suck $(bindir)/suck
+ $(INSTALL_PROGRAM) rpost $(bindir)/rpost
+ $(INSTALL_PROGRAM) testhost $(bindir)/testhost
+@@ -149,7 +149,7 @@
+ $(MAKE) -C $(SMAN)
+
+ install_lpost: lpost
+- - strip -s lpost
++ - strip -x lpost
+ $(INSTALL_PROGRAM) lpost $(bindir)/lpost
installall: install lpost
-- $(INSTALL) -o $(INSTALL_OWNER) -g $(INSTALL_GROUP) -m $(INSTALL_MODE) $(LPOST_TARGET) $(INSTALLDIR)
-+ $(INSTALL) -s -o $(INSTALL_OWNER) -g $(INSTALL_GROUP) -m $(INSTALL_MODE) $(LPOST_TARGET) $(INSTALLDIR)
- - $(INSTALL) -o $(MAN_OWNER) -g $(MAN_GROUP) -m $(MAN_MODE) $(LPOST_MANPGS) $(MANDIR)
-
- clean:
---- config.h.orig Sat Mar 30 11:57:59 1996
-+++ config.h Fri Apr 5 22:56:24 1996
-@@ -12,6 +12,10 @@
- /* #define DEBUG2 */
- /* #define DEBUG3 */
-
-+/* BSD Option */
-+/* If system has no sys/param.h, comment this out */
-+#define _HAVE_PARAM_H
-+
- /* TIMER Option */
- /* To see the approximate BPS while downloading articles, uncomment this */
- /* If you don't like it, or want a tiny speed increase, comment this out */
-@@ -19,7 +23,7 @@
-
- /* If you don't EVER plan to use the KILLFILE stuff, comment this out for a slight speed increase */
- /* If you want to, or plan to, use the KILLFILE stuff, uncomment this */
--/* #define KILLFILE */
-+#define KILLFILE /**/
-
- /* If you want the kill/keep file routine to keep articles that are both flagged as */
- /* delete and keep (either by matching both a delete group and a keep group, or by not matching */
-@@ -44,7 +48,7 @@
- /* as number of seconds before timeout */
- /* else, comment it out. If you comment it out, if link goes down */
- /* we'll just sit, twiddling our bits, until whenever. */
--#define TIMEOUT 30
-+#define TIMEOUT 90
-
- /* signal which will interrupt us DON'T USE SIGKILL OR SIGSTOP */
- /* if you don't want to be able to abort, and a miniscule speed */
-@@ -66,7 +70,7 @@
- #define CHECK_HISTORY_EXP
-
- /* don't comment this out */
--#define HISTORY_FILE "/usr/lib/news/history"
-+#define HISTORY_FILE "/usr/local/news/lib/history"
-
- /* If your system doesn't like the lock file stuff in suck.c */
- /* comment this out */
-@@ -106,7 +110,7 @@
- #define RPOST_MAXARGS 128
-
- /* RNEWS program called by lpost */
--#define RNEWS "/usr/lib/news/rnews"
-+#define RNEWS "/usr/local/bin/rnews"
-
- /* character used as a comment in sucknewsrc */
- #define SUCKNEWSRC_COMMENT_CHAR '#'