summaryrefslogtreecommitdiff
path: root/news/trn4/scripts/preconf
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1998-05-01 18:41:28 +0000
committerMatthew Hunt <mph@FreeBSD.org>1998-05-01 18:41:28 +0000
commit930dcabd509c98e9efac40af009e53abd7ce9081 (patch)
treeaed5274942a46a642693ca92216847c2c4a66bd1 /news/trn4/scripts/preconf
parentMark this port broken while awaiting upgrade after repository copy. (diff)
Major upgrade to 4.0test26.
Notes
Notes: svn path=/head/; revision=10797
Diffstat (limited to 'news/trn4/scripts/preconf')
-rw-r--r--news/trn4/scripts/preconf338
1 files changed, 188 insertions, 150 deletions
diff --git a/news/trn4/scripts/preconf b/news/trn4/scripts/preconf
index ec3d3e290137..7365a791d5a9 100644
--- a/news/trn4/scripts/preconf
+++ b/news/trn4/scripts/preconf
@@ -1,7 +1,7 @@
-#!/bin/sh -
+#!/bin/sh
#
-# pre-configure script for Trn port to FreeBSD 2.0
-# $Id: preconf,v 1.2 1995/05/06 11:51:57 ache Exp $
+# pre-configure script for Trn 4.0 port to FreeBSD
+# $Id$
PortsDir=$1
CurDir=$2
@@ -12,8 +12,8 @@ echo "Trn comes with a nice Configure script to help you get things setup."
echo "Some of the things this script asks you may be a little misleading."
echo "I (the porter) configured Trn to be as generic as possible."
echo "It assumes a few things."
-echo "1. You are accessing news via NNTP, you must set the NNTPSERVER"
-echo " environment variable"
+echo "1. You are accessing news via NNTP, and you set the NNTPSERVER"
+echo " environment variable to the name of your news server"
echo "2. You have access to the threads databases (either xover or xthread)"
echo "3. You have a inews program, otherwise you cannot post."
echo " The inews program can be obtained from the inn port."
@@ -41,9 +41,9 @@ if [ ! ${foo} ] ; then
fi
if [ ${foo} -eq 1 ] ; then
+ ConfigArgs='-f config.sh'
#DON'T ALTER INDENTATION
cat > ${WrkSrc}/config.sh << 'EOF'
-#!/bin/sh
#
# This file was produced by running the Configure script. It holds all the
# definitions figured out by Configure. Should you modify one of these values,
@@ -51,224 +51,262 @@ if [ ${foo} -eq 1 ] ; then
# instead choose to run each of the .SH files by yourself, or "Configure -S".
#
-# Configuration time: Sat Oct 22 02:47:18 MDT 1994
-# Configured by: smace
-# Target system: freebsd metal.neosoft.com 2.0.1-development freebsd 2.0.1-development #0: fri oct 21 16:48:01 mdt 1994 root@metal.neosoft.com:/usr/src/sys/compile/metal i386
+# Package name : trn
+# Source directory : .
+# Configuration time: Fri May 1 13:32:29 EDT 1998
+# Configured by : mph
+# Target system : freebsd mph124.rh.psu.edu 2.2.6-stable freebsd 2.2.6-stable #3: thu apr 9 10:28:54 edt 1998 mph@mph124.rh.psu.edu:usrsrcsyscompilewopr i386
-d_bsd='define'
-d_eunice='undef'
-d_xenix='undef'
-eunicefix=':'
+Id=''
+Log=''
Mcc='Mcc'
-awk='awk'
-basename='basename'
-bash='bash'
-cat='cat'
-cp='cp'
-cpp='cpp'
-csh='csh'
-date='date'
-diff='diff'
-echo='echo'
-ed='ed'
-egrep='egrep'
-expr='expr'
-grep='grep'
-inews='inews'
-ispell='ispell'
-ksh='ksh'
-less='less'
-lint=''
-mail='mail'
-metamail='metamail'
-mhn='mhn'
-mkdir='mkdir'
-more='more'
-munpack='munpack'
-mv='mv'
-nroff='nroff'
-pg='pg'
-rm='rm'
-rmail='rmail'
-sed='sed'
-sendmail='sendmail'
-smail='smail'
-sort='sort'
-spell='spell'
-tail='tail'
-test='test'
-tr='tr'
-uname='uname'
-uniq='uniq'
-uuname='uuname'
-vi='vi'
-vspell=''
-who=''
-hint='previous'
-myuname='freebsd metal.neosoft.com 2.0.1-development freebsd 2.0.1-development #0: fri oct 21 16:48:01 mdt 1994 root@metal.neosoft.com:/usr/src/sys/compile/metal i386 '
-srcdir='.'
-vincludes=''
-vpath='.'
-Id='$Id'
-Log='$Log'
-active='none'
-acttimes='nntp'
-d_acttimes='define'
-myactive='.falseactive'
-bin='/usr/local/bin'
-binexp='/usr/local/bin'
-installbin='/usr/local/bin'
-cc='cc'
-ccflags=''
-cppflags=''
-ldflags=''
-lkflags=''
-optimize='-O'
-cf_by='smace'
-cf_time='Sat Oct 22 02:47:18 MDT 1994'
+active='remote'
+acttimes='remote'
+aphostcmd='/bin/hostname'
+archobjs=''
+awk='/usr/bin/awk'
+basename='/usr/bin/basename'
+bash=''
+bin='/PREFIX/bin'
+binexp='/PREFIX/bin'
+byacc=''
+c=''
+cat='/bin/cat'
+cc='__CC__'
+ccflags='__CFLAGS__ -I/PREFIX/include'
+cf_by='mph'
+cf_time='Fri May 1 13:32:29 EDT 1998'
+citydist='none'
+cntrydist='none'
+comm='/usr/bin/comm'
contains='grep'
+contdist='none'
+cp='/bin/cp'
+cpp='/usr/bin/cpp'
+cppflags='-I/PREFIX/include'
cpplast='-'
cppminus='-'
-cpprun='cc -E'
-cppstdin='cc -E'
+cpprun='__CC__ -E'
+cppstdin='__CC__ -E'
+csh='/bin/csh'
+d_acttimes='define'
+d_attribut='define'
+d_berknames='define'
+d_bsd='define'
+d_dirnamlen=''
+d_eunice='undef'
d_ftime='undef'
-aphostcmd='/bin/hostname'
+d_genauth='define'
+d_getcwd='undef'
+d_getdname='undef'
d_gethname='define'
-d_phostcmd='define'
-d_uname='undef'
d_getpwent='define'
-d_getcwd='undef'
+d_gettimeod='define'
d_getwd='define'
-d_havetlib='define'
-termlib='-ltermlib'
+d_gnulibc='undef'
+d_havetlib='undef'
d_ignoreorg='undef'
+d_inews='define'
d_internet='define'
+d_libndir='undef'
+d_local='undef'
d_memcmp='define'
d_memcpy='define'
d_memset='define'
-d_mimeshow='undef'
-d_mimestore='define'
-mimeshow="none"
-mimestore="/usr/local/bin/munpack"
-d_newsadm='undef'
-newsadmin='root'
+d_mkdir='define'
+d_msdos='undef'
+d_newsadm='define'
d_nntp='define'
-d_xdata='define'
-d_genauth='undef'
-servername='no default'
d_nolnbuf='undef'
d_normsig='define'
-jobslib=''
d_novoid='undef'
-void=''
-d_portable='define'
+d_passnames='define'
+d_phostcmd='define'
+d_portable='undef'
d_rdchk='undef'
d_rename='define'
+d_resinit='define'
d_sigblock='define'
d_sighold='undef'
d_sizet='undef'
d_strccmp='define'
d_strchr='define'
d_strftime='define'
-strftimec=''
-strftimeo=''
-d_libndir='undef'
+d_strstr='define'
+d_uname='undef'
d_usendir='undef'
-libndir=''
-ndirc=''
-ndiro=''
+d_usgnames='undef'
+d_uwait3=''
+d_uwait='define'
d_vfork='define'
d_voidsig='define'
-signal_t='void'
+d_voidtty=''
+d_wifstat='define'
+d_xenix='undef'
+d_xthread='define'
+date='/bin/date'
defeditor='/usr/bin/vi'
-filexp='/usr/local/lib/trn/filexp'
-d_dirnamlen=''
+diff='/usr/bin/diff'
+direntrytype='struct dirent'
+echo='/bin/echo'
+ed='/bin/ed'
+egrep='/usr/bin/egrep'
+eunicefix=':'
+expr='/bin/expr'
+extrainews=''
+filexp='/PREFIX/lib/trn/filexp'
+find=''
+firstmakefile=''
+gccversion='2.7.2.1'
+glibpth='/shlib /usr/shlib /lib/pa1.1 /usr/lib/large /lib /usr/lib /usr/lib/386 /lib/386 /lib/large /usr/lib/small /lib/small /usr/ccs/lib /usr/ucblib /usr/local/lib'
+grep='/usr/bin/grep'
+groupdesc=''
+hint='recommended'
+hostbits='2'
+i_bsdioctl=''
i_dirent='define'
i_ptem='undef'
+i_sgtty='undef'
i_stdlib='define'
i_string='define'
-strings='/usr/include/string.h'
i_sysdir='define'
-d_voidtty=''
-i_bsdioctl=''
i_sysfilio='define'
i_sysioctl='define'
-i_syssockio=''
i_sysndir='undef'
-i_sgtty='undef'
+i_syssockio=''
+i_systime='define'
+i_syswait='define'
i_termio='undef'
i_termios='define'
-i_systime='define'
i_time='undef'
i_unistd='define'
+i_utime='define'
i_vfork='undef'
+incpath=''
+inews='/PREFIX/inews'
+installbin='/PREFIX/bin'
+installinews='/PREFIX/bin'
+installmansrc='/PREFIX/man/man1'
+installprivlib='/PREFIX/lib/trn'
+ispell=''
ispell_options=''
-ispell_prg='none'
-libc='/usr/lib/libc.so.2.1'
-plibpth='/usr/ccs/lib /usr/lib /usr/ucblib /usr/local/lib'
-xlibpth='/usr/lib/386 /lib/386'
+ispell_prg=''
+jobslib=''
+ksh=''
+ldflags=''
+less=''
+libc='/usr/lib/libc.so.3.1'
+libndir=''
+libpth='/usr/lib /PREFIX/lib'
libs=' '
-citydist='none'
-cntrydist='none'
-contdist='none'
+lint=''
+lns='/bin/ln -s'
locdist='none'
-multistatedist='none'
-orgdist='none'
-statedist='none'
+locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
+loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
+mail='/usr/bin/mail'
mailer='/usr/sbin/sendmail'
mailfile='/var/mail/%L'
-installmansrc='/usr/local/man/man1'
manext='1'
-mansrc='/usr/local/man/man1'
-mansrcexp='/usr/local/man/man1'
+mansrc='/PREFIX/man/man1'
+mansrcexp='/PREFIX/man/man1'
mboxchar='F'
-c=''
+mimecap='/PREFIX/etc/mimecap'
+mips=''
+mips_type=''
+mkdir='/bin/mkdir'
+more='/usr/bin/more'
+multistatedist='none'
+mv='/bin/mv'
+myactive='.falseactive'
+myuname='freebsd mph124.rh.psu.edu 2.2.6-stable freebsd 2.2.6-stable #3: thu apr 9 10:28:54 edt 1998 mph@mph124.rh.psu.edu:usrsrcsyscompilewopr i386 '
n='-n'
-d_berknames='define'
-d_passnames='define'
-d_usgnames='undef'
nametype='bsd'
-inewsloc='/usr/local/news/lib/inews'
+ndirc=''
+ndiro=''
+newsadmin='news'
newslib='/tmp'
newslibexp='/tmp'
-newsspool='/tmp'
-orgname='none'
+newsspool='none'
+nm_opt=''
+nm_so_opt=''
+nroff='/usr/bin/nroff'
+optimize='none'
+orgdist='none'
+orgname='/etc/organization'
+osname='freebsd'
+osvers='2.2.6-stable'
+overviewdir='remote'
+overviewfmt='none'
package='trn'
-spackage='Trn'
pager='/usr/bin/more'
+perl='/usr/bin/perl'
+perlpath='/usr/bin/perl'
+pg='pg'
+pgp=''
phost='.'
phostcmd='hostname'
+plibpth=''
+prefix='/PREFIX'
+prefixexp='/PREFIX'
prefshell='/bin/csh'
-installprivlib='/usr/local/lib/trn'
-privlib='/usr/local/lib/trn'
-privlibexp='/usr/local/lib/trn'
+privlib='/PREFIX/lib/trn'
+privlibexp='/PREFIX/lib/trn'
+rm='/bin/rm'
+rmail='/bin/rmail'
rootid='0'
+runnm='true'
+sed='/usr/bin/sed'
+sendmail='/usr/sbin/sendmail'
+servername='no default'
sharpbang='#!'
shsharp='true'
+signal_t='void'
+smail='smail'
+so='so'
+sort='/usr/bin/sort'
+spackage='Trn'
+spell='spell'
spitshell='cat'
+src='.'
startsh='#!/bin/sh'
+statedist='none'
+strftimec=''
+strftimeo=''
+strings='/usr/include/string.h'
+strn='define'
+subscriptions=''
sysman='/usr/share/man/man1'
-d_usemt='define'
-d_useov='define'
-overviewdir='/tmp'
-threaddir='/tmp'
-trn_init='TRUE'
+tail='/usr/bin/tail'
+termlib='-ltermlib'
+test='/bin/test'
+threaddir='remote'
+tk='undef'
+tkinc=''
+tklibs=''
+tr='/usr/bin/tr'
+trn_init='FALSE'
trn_select='TRUE'
-nm_opt=''
-runnm='true'
+uname='/usr/bin/uname'
+uniq='/usr/bin/uniq'
+useinews='/PREFIX/bin/inews'
usenm='true'
-incpath=''
-mips=''
-mips_type=''
+usevfork='true'
usrinc='/usr/include'
-PATCHLEVEL="3.6 (20 Nov 1994)"
+uuname='/usr/bin/uuname'
+vi='/usr/bin/vi'
+void=''
+vspell=''
+who='/usr/bin/who'
+xlibpth='/usr/lib/386 /lib/386'
+PATCHLEVEL="4.0-test64 (30 April 1998)"
CONFIG=true
EOF
fi # choice = 1
cd ${WrkSrc}
-sh Configure
+sh Configure ${ConfigArgs}
cd ${CurDir}
exit 0