aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorAdam David <adam@FreeBSD.org>1994-09-30 15:09:35 +0000
committerAdam David <adam@FreeBSD.org>1994-09-30 15:09:35 +0000
commit03a53630592a2b3b20ab7c0ca211d311f2a804ca (patch)
tree2ea0e1c2a11b6bfa97fef1f451500edbbef26c51 /news
parent45655050f2da59c87ef92d90e78299e671300e47 (diff)
downloadports-03a53630592a2b3b20ab7c0ca211d311f2a804ca.tar.gz
ports-03a53630592a2b3b20ab7c0ca211d311f2a804ca.zip
Cnews cleanup release from Henry Spencer and Geoff Collyer
Notes
Notes: svn path=/head/; revision=145
Diffstat (limited to 'news')
-rw-r--r--news/cnews/Makefile46
-rw-r--r--news/cnews/files/patch-aa155
-rw-r--r--news/cnews/files/patch-ab56
-rw-r--r--news/cnews/pkg-comment1
-rw-r--r--news/cnews/pkg-descr1
-rw-r--r--news/cnews/pkg-plist35
6 files changed, 294 insertions, 0 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile
new file mode 100644
index 000000000000..4000220f74fb
--- /dev/null
+++ b/news/cnews/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: cnews
+# Version required: 940927
+# Date created: 28 September 1994
+# Whom: adam
+#
+# $Id: Makefile,v 1.1.1.1 1994/09/25 18:59:07 adam Exp $
+#
+
+DISTNAME= cnews
+EXTRACT_SUFFIX= .tar.Z
+DISTFILES= ${DISTNAME}${EXTRACT_SUFFIX}
+MASTER_SITES= ftp://ftp.zoo.toronto.edu/pub/
+WRKSRC= ${WRKDIR}
+MAKEFILE= makefile
+NEWSSPOOL= /usr/local/newsspool
+NEWSBIN= /usr/local/libexec/news
+NEWSLIB= /usr/local/lib/news
+MANDIR= /usr/local/man
+
+install: all
+ @echo "===> installing for ${DISTNAME}"
+ @mkdir -p ${NEWSSPOOL}
+ @ln -s ${NEWSSPOOL} /var/news
+ @mkdir -p ${NEWSBIN} ${NEWSLIB}
+ @chown news.news ${NEWSSPOOL} ${NEWSLIB}
+ @chown bin.bin ${NEWSBIN}
+ @cd ${WRKSRC}; su -m bin -c ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install
+ @cd ${WRKSRC}; su -m news -c ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} setup
+ @cd ${WRKSRC}; su -m bin -c ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ui \
+ readpostcheck
+ @chown news.news ${NEWSBIN}/input/newsspool
+ @chmod 6755 ${NEWSBIN}/input/newsspool
+ @mkdir -p ${MANDIR}/man1 ${MANDIR}/man5 ${MANDIR}/man8
+ @install -o bin -g bin -m 444 ${WRKSRC}/man/*.1* ${MANDIR}/man1
+ @install -o bin -g bin -m 444 ${WRKSRC}/man/*.5* ${MANDIR}/man5
+ @install -o bin -g bin -m 444 ${WRKSRC}/man/*.8* ${MANDIR}/man8
+ @echo ""
+ @echo "!!!!!!!!"
+ @echo "you MUST change the configuration of this news setup:"
+ @echo " cd to ${NEWSLIB} and change the following files..."
+ @echo "mailname, whoami, organization, mailpaths, sys, readnews.ctl, postdefltgroup"
+ @echo " to suit your local system and news topology."
+ @echo "!!!!!!!!"
+ @echo ""
+
+.include <bsd.port.mk>
diff --git a/news/cnews/files/patch-aa b/news/cnews/files/patch-aa
new file mode 100644
index 000000000000..6d9c42eda99e
--- /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=@<NEWSARTS>@>()=
++ NEWSARTS=/var/news
++ # =()<NEWSOV=@<NEWSOV>@>()=
++ NEWSOV=/var/news
++ # =()<NEWSBIN=@<NEWSBIN>@>()=
++ NEWSBIN=/usr/local/libexec/news
++ # =()<NEWSCTL=@<NEWSCTL>@>()=
++ 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 000000000000..663a6a4de9c6
--- /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: <legal>' >>arts/bar/ugh/12
+ echo '<bar.ugh/13@trash> 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: <legal>' >>arts/bar/ugh/12
+ echo '<bar.ugh/13@trash> 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 '<missing> 9999~- bar.ugh/14' >>history.good
+ echo 'Message-ID: <missing>' >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 '<missing> 9999~- bar.ugh/14' >>history.good
+ echo 'Message-ID: <missing>' >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 '<missing2> 9999~- bar.ugh/15' >>history.good
+ echo 'Message-ID: <missing2>' >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 '<missing2> 9999~- bar.ugh/15' >>history.good
+ echo 'Message-ID: <missing2>' >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
diff --git a/news/cnews/pkg-comment b/news/cnews/pkg-comment
new file mode 100644
index 000000000000..a5d0b06c0dea
--- /dev/null
+++ b/news/cnews/pkg-comment
@@ -0,0 +1 @@
+Cnews, the September 1994 cleanup release
diff --git a/news/cnews/pkg-descr b/news/cnews/pkg-descr
new file mode 100644
index 000000000000..69291be7ca30
--- /dev/null
+++ b/news/cnews/pkg-descr
@@ -0,0 +1 @@
+Cnews news transport software
diff --git a/news/cnews/pkg-plist b/news/cnews/pkg-plist
new file mode 100644
index 000000000000..3217238c5114
--- /dev/null
+++ b/news/cnews/pkg-plist
@@ -0,0 +1,35 @@
+@cwd /usr/local
+lib/news
+libexec/news
+@comment Package is not complete without minimal /var/news installation :-(
+@comment Basically just in.* and out.* /var/news might be a symbolic link
+@comment and it might not exist yet :-(
+@exec ln -s /usr/local/newsspool /var/news
+@exec mkdir -p /usr/local/newsspool/in.coming/bad
+@exec cd /usr/local/newsspool; mkdir -p out.going out.master out.nntp
+@cwd man/man1
+checknews.1cn
+inews.1cn
+postnews.1cn
+readnews.1cn
+@cwd ../man5
+controlperm.5
+news.5
+newsctl.5
+newsdb.5
+newsoverview.5
+newssys.5
+@cwd ../man8
+cnewsdo.8cn
+expire.8cn
+explode.8cn
+mergeactive.8
+mkhistory.8cn
+newsaux.8cn
+newsbatch.8cn
+newsmail.8cn
+newsmaint.8cn
+newsoverview.8
+relaynews.8cn
+report.8cn
+rnews.8cn