From 58c7900a9b8baab17e5198c2113750a923999656 Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 30 Sep 1994 15:09:35 +0000 Subject: Cnews cleanup release from Henry Spencer and Geoff Collyer --- news/cnews/files/patch-aa | 155 ++++++++++++++++++++++++++++++++++++++++++++++ news/cnews/files/patch-ab | 56 +++++++++++++++++ 2 files changed, 211 insertions(+) create mode 100644 news/cnews/files/patch-aa create mode 100644 news/cnews/files/patch-ab (limited to 'news/cnews/files') diff --git a/news/cnews/files/patch-aa b/news/cnews/files/patch-aa new file mode 100644 index 00000000000..6d9c42eda99 --- /dev/null +++ b/news/cnews/files/patch-aa @@ -0,0 +1,155 @@ +*** ../work/conf/makeinc Thu Jan 1 00:00:00 1970 +--- ./conf/makeinc Fri Sep 30 12:34:00 1994 +*************** +*** 0 **** +--- 1,3 ---- ++ # makefile substitutions file ++ # how to include ../include/config.make ++ INCLUDE .include "../include/config.make" +*** ../work/conf/quiz.def Thu Jan 1 00:00:00 1970 +--- ./conf/quiz.def Fri Sep 30 12:33:59 1994 +*************** +*** 0 **** +--- 1,68 ---- ++ # These answers are interdependent; do not edit this file! ++ newsuid="news" ++ # These answers are interdependent; do not edit this file! ++ newsgid="news" ++ # These answers are interdependent; do not edit this file! ++ newsarts="/var/news" ++ # These answers are interdependent; do not edit this file! ++ newsov="/var/news" ++ # These answers are interdependent; do not edit this file! ++ newsctl="/usr/local/lib/news" ++ # These answers are interdependent; do not edit this file! ++ newsbin="/usr/local/libexec/news" ++ # These answers are interdependent; do not edit this file! ++ newspath="/bin:/usr/bin" ++ # These answers are interdependent; do not edit this file! ++ newsumask="022" ++ # These answers are interdependent; do not edit this file! ++ newsconfig="/usr/local/lib/news/bin/config" ++ # These answers are interdependent; do not edit this file! ++ newscrisis="newscrisis" ++ # These answers are interdependent; do not edit this file! ++ newsmaster="newsmaster" ++ # These answers are interdependent; do not edit this file! ++ addrsize="big" ++ # These answers are interdependent; do not edit this file! ++ fake=" fsync.o" ++ # These answers are interdependent; do not edit this file! ++ storeval="" ++ # These answers are interdependent; do not edit this file! ++ faststdio="no" ++ # These answers are interdependent; do not edit this file! ++ fakehdrs=" sys/timeb.h" ++ # These answers are interdependent; do not edit this file! ++ ranlib="yes" ++ # These answers are interdependent; do not edit this file! ++ make="make" ++ # These answers are interdependent; do not edit this file! ++ include="bsd" ++ # These answers are interdependent; do not edit this file! ++ cc="" ++ # These answers are interdependent; do not edit this file! ++ copts="-O2" ++ # These answers are interdependent; do not edit this file! ++ ldopts="" ++ # These answers are interdependent; do not edit this file! ++ postlibs="" ++ # These answers are interdependent; do not edit this file! ++ uucptype="null" ++ # These answers are interdependent; do not edit this file! ++ dftype="statfs" ++ # These answers are interdependent; do not edit this file! ++ dfdirs="" ++ # These answers are interdependent; do not edit this file! ++ archive="yes" ++ # These answers are interdependent; do not edit this file! ++ spacelow="no" ++ # These answers are interdependent; do not edit this file! ++ nfsgroup="no" ++ # These answers are interdependent; do not edit this file! ++ server="newsie" ++ # These answers are interdependent; do not edit this file! ++ rbin="/usr/local/libexec/news/input" ++ # These answers are interdependent; do not edit this file! ++ bin="/usr/local/bin" ++ # These answers are interdependent; do not edit this file! ++ faststrchr="no" ++ # These answers are interdependent; do not edit this file! ++ sftype="c" +*** ../work/conf/substitutions Thu Jan 1 00:00:00 1970 +--- ./conf/substitutions Fri Sep 30 12:34:00 1994 +*************** +*** 0 **** +--- 1,8 ---- ++ # general substitutions file ++ NEWSBIN /usr/local/libexec/news ++ NEWSCTL /usr/local/lib/news ++ NEWSARTS /var/news ++ NEWSOV /var/news ++ NEWSPATH /bin:/usr/bin ++ NEWSUMASK 022 ++ NEWSCONFIG /usr/local/lib/news/bin/config +*** ../work/include/config.make Thu Jan 1 00:00:00 1970 +--- ./include/config.make Fri Sep 30 12:34:01 1994 +*************** +*** 0 **** +--- 1,56 ---- ++ # make header file ++ # pathname variables ++ # =()@>()= ++ NEWSARTS=/var/news ++ # =()@>()= ++ NEWSOV=/var/news ++ # =()@>()= ++ NEWSBIN=/usr/local/libexec/news ++ # =()@>()= ++ NEWSCTL=/usr/local/lib/news ++ ++ # workaround for System V make bug ++ SHELL=/bin/sh ++ ++ # directories where things go ++ UIBIN=/usr/local/bin ++ RBIN=/usr/local/libexec/news/input ++ ++ # compilation stuff ++ # LIB is for makefile dependencies, LIBS for cc invocations ++ LIB=../libcnews.a ++ LIBS=../libcnews.a ++ CFLAGS=$(MORECFLAGS) -O2 -I../include ++ LDFLAGS=$(CFLAGS) ++ LINTFLAGS=$(MORELINTFLAGS) -I../include ++ ++ # directories etc. ++ CONF=../conf ++ MAKE=make ++ TO=$(CONF)/cpto ++ IN=$(CONF)/cmpto $(CMPOPT) ++ CF=$(CONF)/checkfile $(CMPOPT) ++ MKDIR=$(CONF)/mkdirs ++ MX=chmod +x ++ UPDATE=$(CONF)/update.ran ../libcnews.a ++ LIBCMP=$(CONF)/libcmp ../libcnews.a ++ ++ # misc configuration bits ++ SPACEFOR=statfs ++ DOSPACEFOR=dospacefor ++ QUEUELEN=null ++ UID=news ++ GID=news ++ SIZE=big ++ DBZ=libdbz ++ STDIO=sysstdio ++ SERVER= ++ REPORTTO=newsmaster ++ URGENTTO=newscrisis ++ ++ # things for testing ++ HERE=. ../conf/config.r ; ++ ++ # fake files needed ++ HFAKE= sys/timeb.h ++ OFAKE= fsync.o diff --git a/news/cnews/files/patch-ab b/news/cnews/files/patch-ab new file mode 100644 index 00000000000..663a6a4de9c --- /dev/null +++ b/news/cnews/files/patch-ab @@ -0,0 +1,56 @@ +*** ./maint/makefile Tue Sep 20 21:56:32 1994 +--- ../cnews/maint/makefile Thu Sep 29 09:40:58 1994 +*************** +*** 77,83 **** + echo 'Message-ID: ' >>arts/bar/ugh/12 + echo ' 0~0 bar.ugh/13' >>history.good + echo 'Message-ID: illegal' >arts/bar/ugh/13 +! sed $(FIXMIDFIELD) history.good | sort -o history.good + + r: $(PROGS) rclean rsetup + : "mkhistory" +--- 77,84 ---- + echo 'Message-ID: ' >>arts/bar/ugh/12 + echo ' 0~0 bar.ugh/13' >>history.good + echo 'Message-ID: illegal' >arts/bar/ugh/13 +! sed $(FIXMIDFIELD) history.good | sort -o history.good2 +! mv history.good2 history.good + + r: $(PROGS) rclean rsetup + : "mkhistory" +*************** +*** 93,99 **** + : "addmissing" + echo ' 9999~- bar.ugh/14' >>history.good + echo 'Message-ID: ' >arts/bar/ugh/14 +! sed $(FIXMIDFIELD) history.good | sort -o history.good + sleep 2 # ensure article looks older than addmissing startup + $(HERE) ./addmissing -v >addm.out 2>addm.diag + sed $(FIXMIDFIELD) history | sort >history.fixed +--- 94,101 ---- + : "addmissing" + echo ' 9999~- bar.ugh/14' >>history.good + echo 'Message-ID: ' >arts/bar/ugh/14 +! sed $(FIXMIDFIELD) history.good | sort -o history.good2 +! mv history.good2 history.good + sleep 2 # ensure article looks older than addmissing startup + $(HERE) ./addmissing -v >addm.out 2>addm.diag + sed $(FIXMIDFIELD) history | sort >history.fixed +*************** +*** 106,112 **** + : "cnewsdo, using addmissing as test command" + echo ' 9999~- bar.ugh/15' >>history.good + echo 'Message-ID: ' >arts/bar/ugh/15 +! sed $(FIXMIDFIELD) history.good | sort -o history.good + sleep 2 # ensure article looks older than addmissing startup + touch active + $(HERE) ./cnewsdo addmissing >addm.out 2>addm.diag +--- 108,115 ---- + : "cnewsdo, using addmissing as test command" + echo ' 9999~- bar.ugh/15' >>history.good + echo 'Message-ID: ' >arts/bar/ugh/15 +! sed $(FIXMIDFIELD) history.good | sort -o history.good2 +! mv history.good2 history.good + sleep 2 # ensure article looks older than addmissing startup + touch active + $(HERE) ./cnewsdo addmissing >addm.out 2>addm.diag -- cgit