1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/news/cnews/files/patch-aa
Steve Price 4e6bdf1064 Rework configuration, add a MASTER_SITE, and honor PREFIX.
PR:		13123
Submitted by:	maintainer
1999-09-06 23:29:26 +00:00

154 lines
4.9 KiB
Plaintext

diff -urN ../pre-conf/conf/makeinc conf/makeinc
--- ../pre-conf/conf/makeinc Thu Jan 1 01:00:00 1970
+++ conf/makeinc Mon Aug 2 20:32:23 1999
@@ -0,0 +1,3 @@
+# makefile substitutions file
+# how to include ../include/config.make
+INCLUDE .include "../include/config.make"
diff -urN ../pre-conf/conf/quiz.def conf/quiz.def
--- ../pre-conf/conf/quiz.def Thu Jan 1 01:00:00 1970
+++ conf/quiz.def Mon Aug 2 20:36:19 1999
@@ -0,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/over.view"
+# These answers are interdependent; do not edit this file!
+newsctl="/usr/local/news/lib"
+# These answers are interdependent; do not edit this file!
+newsbin="/usr/local/news/cnewsbin"
+# These answers are interdependent; do not edit this file!
+newspath="/bin:/usr/bin:/usr/local/bin"
+# These answers are interdependent; do not edit this file!
+newsumask="022"
+# These answers are interdependent; do not edit this file!
+newsconfig="/usr/local/news/cnewsbin/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=" fgetline.o 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="tay"
+# 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/news/cnewsbin/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"
diff -urN ../pre-conf/conf/substitutions conf/substitutions
--- ../pre-conf/conf/substitutions Thu Jan 1 01:00:00 1970
+++ conf/substitutions Mon Aug 2 20:36:19 1999
@@ -0,0 +1,8 @@
+# general substitutions file
+NEWSBIN /usr/local/news/cnewsbin
+NEWSCTL /usr/local/news/lib
+NEWSARTS /var/news
+NEWSOV /var/news/over.view
+NEWSPATH /bin:/usr/bin:/usr/local/bin
+NEWSUMASK 022
+NEWSCONFIG /usr/local/news/cnewsbin/config
diff -urN ../pre-conf/include/config.make include/config.make
--- ../pre-conf/include/config.make Thu Jan 1 01:00:00 1970
+++ include/config.make Mon Aug 2 20:36:19 1999
@@ -0,0 +1,58 @@
+# make header file
+# pathname variables
+# =()<NEWSARTS=@<NEWSARTS>@>()=
+NEWSARTS=/var/news
+# =()<NEWSOV=@<NEWSOV>@>()=
+NEWSOV=/var/news/over.view
+# =()<NEWSBIN=@<NEWSBIN>@>()=
+NEWSBIN=/usr/local/news/cnewsbin
+# =()<NEWSCTL=@<NEWSCTL>@>()=
+NEWSCTL=/usr/local/news/lib
+# =()<NEWSCONFIG=@<NEWSCONFIG>@>()=
+NEWSCONFIG=/usr/local/news/cnewsbin/config
+
+# workaround for System V make bug
+SHELL=/bin/sh
+
+# directories where things go
+UIBIN=/usr/local/bin
+RBIN=/usr/local/news/cnewsbin/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=tay
+UID=news
+GID=news
+SIZE=big
+DBZ=libdbz
+STDIO=sysstdio
+SERVER=
+REPORTTO=newsmaster
+URGENTTO=newscrisis
+
+# things for testing
+HERE=. ../conf/rsetup ;
+
+# fake files needed
+HFAKE= sys/timeb.h
+OFAKE= fgetline.o fsync.o