1998-05-01 18:41:28 +00:00
|
|
|
#!/bin/sh
|
1994-10-22 09:28:32 +00:00
|
|
|
#
|
1998-05-01 18:41:28 +00:00
|
|
|
# pre-configure script for Trn 4.0 port to FreeBSD
|
|
|
|
# $Id$
|
1994-10-22 09:28:32 +00:00
|
|
|
|
|
|
|
PortsDir=$1
|
|
|
|
CurDir=$2
|
|
|
|
WrkSrc=$3
|
|
|
|
|
|
|
|
echo ""
|
|
|
|
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."
|
1998-05-01 18:41:28 +00:00
|
|
|
echo "1. You are accessing news via NNTP, and you set the NNTPSERVER"
|
|
|
|
echo " environment variable to the name of your news server"
|
1994-10-22 09:28:32 +00:00
|
|
|
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."
|
|
|
|
echo ""
|
|
|
|
|
|
|
|
echo ""
|
|
|
|
echo "You now have two possible choices:"
|
|
|
|
echo ""
|
|
|
|
echo " 1) use my configuration as default, run Configure on top of it."
|
|
|
|
echo " 2) run Configure from scratch."
|
|
|
|
echo ""
|
|
|
|
echo "Due to a check done iside the Trn Configure script, I cannot run"
|
|
|
|
echo "it automagically. If you want to pick up the default configura-"
|
1995-05-06 11:51:57 +00:00
|
|
|
echo "tion, simply press ENTER each time the script asks you anything,"
|
|
|
|
echo "EXPECT QUESTION ABOUT USING OLD CONFIG.SH"
|
1994-10-22 09:28:32 +00:00
|
|
|
echo ""
|
|
|
|
echo "With either choice, you will want to the the organization to match"
|
|
|
|
echo "your site. Also you will want to set your distribution codes"
|
|
|
|
echo ""
|
|
|
|
echo -n "Your choice [1]: "
|
|
|
|
read foo
|
|
|
|
|
|
|
|
if [ ! ${foo} ] ; then
|
|
|
|
foo=1
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ${foo} -eq 1 ] ; then
|
1998-05-01 18:41:28 +00:00
|
|
|
ConfigArgs='-f config.sh'
|
1994-10-22 09:28:32 +00:00
|
|
|
#DON'T ALTER INDENTATION
|
|
|
|
cat > ${WrkSrc}/config.sh << 'EOF'
|
|
|
|
#
|
|
|
|
# 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,
|
|
|
|
# do not forget to propagate your changes by running "Configure -der". You may
|
|
|
|
# instead choose to run each of the .SH files by yourself, or "Configure -S".
|
|
|
|
#
|
|
|
|
|
1998-05-01 18:41:28 +00:00
|
|
|
# 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
|
1994-10-22 09:28:32 +00:00
|
|
|
|
1998-05-01 18:41:28 +00:00
|
|
|
Id=''
|
|
|
|
Log=''
|
1994-10-22 09:28:32 +00:00
|
|
|
Mcc='Mcc'
|
1998-05-01 18:41:28 +00:00
|
|
|
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'
|
1994-10-22 09:28:32 +00:00
|
|
|
contains='grep'
|
1998-05-01 18:41:28 +00:00
|
|
|
contdist='none'
|
|
|
|
cp='/bin/cp'
|
|
|
|
cpp='/usr/bin/cpp'
|
|
|
|
cppflags='-I/PREFIX/include'
|
1994-10-22 09:28:32 +00:00
|
|
|
cpplast='-'
|
|
|
|
cppminus='-'
|
1998-05-01 18:41:28 +00:00
|
|
|
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'
|
1994-10-22 09:28:32 +00:00
|
|
|
d_ftime='undef'
|
1998-05-01 18:41:28 +00:00
|
|
|
d_genauth='define'
|
|
|
|
d_getcwd='undef'
|
|
|
|
d_getdname='undef'
|
1994-10-22 09:28:32 +00:00
|
|
|
d_gethname='define'
|
|
|
|
d_getpwent='define'
|
1998-05-01 18:41:28 +00:00
|
|
|
d_gettimeod='define'
|
1994-10-22 09:28:32 +00:00
|
|
|
d_getwd='define'
|
1998-05-01 18:41:28 +00:00
|
|
|
d_gnulibc='undef'
|
|
|
|
d_havetlib='undef'
|
1994-10-22 09:28:32 +00:00
|
|
|
d_ignoreorg='undef'
|
1998-05-01 18:41:28 +00:00
|
|
|
d_inews='define'
|
1994-10-22 09:28:32 +00:00
|
|
|
d_internet='define'
|
1998-05-01 18:41:28 +00:00
|
|
|
d_libndir='undef'
|
|
|
|
d_local='undef'
|
1994-10-22 09:28:32 +00:00
|
|
|
d_memcmp='define'
|
|
|
|
d_memcpy='define'
|
|
|
|
d_memset='define'
|
1998-05-01 18:41:28 +00:00
|
|
|
d_mkdir='define'
|
|
|
|
d_msdos='undef'
|
|
|
|
d_newsadm='define'
|
1994-10-22 09:28:32 +00:00
|
|
|
d_nntp='define'
|
|
|
|
d_nolnbuf='undef'
|
|
|
|
d_normsig='define'
|
|
|
|
d_novoid='undef'
|
1998-05-01 18:41:28 +00:00
|
|
|
d_passnames='define'
|
|
|
|
d_phostcmd='define'
|
|
|
|
d_portable='undef'
|
1994-10-22 09:28:32 +00:00
|
|
|
d_rdchk='undef'
|
|
|
|
d_rename='define'
|
1998-05-01 18:41:28 +00:00
|
|
|
d_resinit='define'
|
1994-10-22 09:28:32 +00:00
|
|
|
d_sigblock='define'
|
|
|
|
d_sighold='undef'
|
|
|
|
d_sizet='undef'
|
|
|
|
d_strccmp='define'
|
|
|
|
d_strchr='define'
|
|
|
|
d_strftime='define'
|
1998-05-01 18:41:28 +00:00
|
|
|
d_strstr='define'
|
|
|
|
d_uname='undef'
|
1994-10-22 09:28:32 +00:00
|
|
|
d_usendir='undef'
|
1998-05-01 18:41:28 +00:00
|
|
|
d_usgnames='undef'
|
|
|
|
d_uwait3=''
|
|
|
|
d_uwait='define'
|
1994-10-22 09:28:32 +00:00
|
|
|
d_vfork='define'
|
|
|
|
d_voidsig='define'
|
1998-05-01 18:41:28 +00:00
|
|
|
d_voidtty=''
|
|
|
|
d_wifstat='define'
|
|
|
|
d_xenix='undef'
|
|
|
|
d_xthread='define'
|
|
|
|
date='/bin/date'
|
1994-10-22 09:28:32 +00:00
|
|
|
defeditor='/usr/bin/vi'
|
1998-05-01 18:41:28 +00:00
|
|
|
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=''
|
1994-10-22 09:28:32 +00:00
|
|
|
i_dirent='define'
|
|
|
|
i_ptem='undef'
|
1998-05-01 18:41:28 +00:00
|
|
|
i_sgtty='undef'
|
1994-10-22 09:28:32 +00:00
|
|
|
i_stdlib='define'
|
|
|
|
i_string='define'
|
|
|
|
i_sysdir='define'
|
|
|
|
i_sysfilio='define'
|
|
|
|
i_sysioctl='define'
|
|
|
|
i_sysndir='undef'
|
1998-05-01 18:41:28 +00:00
|
|
|
i_syssockio=''
|
|
|
|
i_systime='define'
|
|
|
|
i_syswait='define'
|
1994-10-22 09:28:32 +00:00
|
|
|
i_termio='undef'
|
|
|
|
i_termios='define'
|
|
|
|
i_time='undef'
|
|
|
|
i_unistd='define'
|
1998-05-01 18:41:28 +00:00
|
|
|
i_utime='define'
|
1994-10-22 09:28:32 +00:00
|
|
|
i_vfork='undef'
|
1998-05-01 18:41:28 +00:00
|
|
|
incpath=''
|
|
|
|
inews='/PREFIX/inews'
|
|
|
|
installbin='/PREFIX/bin'
|
|
|
|
installinews='/PREFIX/bin'
|
|
|
|
installmansrc='/PREFIX/man/man1'
|
|
|
|
installprivlib='/PREFIX/lib/trn'
|
|
|
|
ispell=''
|
1994-10-22 09:28:32 +00:00
|
|
|
ispell_options=''
|
1998-05-01 18:41:28 +00:00
|
|
|
ispell_prg=''
|
|
|
|
jobslib=''
|
|
|
|
ksh=''
|
|
|
|
ldflags=''
|
|
|
|
less=''
|
|
|
|
libc='/usr/lib/libc.so.3.1'
|
|
|
|
libndir=''
|
|
|
|
libpth='/usr/lib /PREFIX/lib'
|
1994-10-22 09:28:32 +00:00
|
|
|
libs=' '
|
1998-05-01 18:41:28 +00:00
|
|
|
lint=''
|
|
|
|
lns='/bin/ln -s'
|
1994-10-22 09:28:32 +00:00
|
|
|
locdist='none'
|
1998-05-01 18:41:28 +00:00
|
|
|
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'
|
1994-10-22 09:28:32 +00:00
|
|
|
mailer='/usr/sbin/sendmail'
|
|
|
|
mailfile='/var/mail/%L'
|
|
|
|
manext='1'
|
1998-05-01 18:41:28 +00:00
|
|
|
mansrc='/PREFIX/man/man1'
|
|
|
|
mansrcexp='/PREFIX/man/man1'
|
1994-10-22 09:28:32 +00:00
|
|
|
mboxchar='F'
|
1998-05-01 18:41:28 +00:00
|
|
|
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 '
|
1994-10-22 09:28:32 +00:00
|
|
|
n='-n'
|
|
|
|
nametype='bsd'
|
1998-05-01 18:41:28 +00:00
|
|
|
ndirc=''
|
|
|
|
ndiro=''
|
|
|
|
newsadmin='news'
|
1994-10-22 09:28:32 +00:00
|
|
|
newslib='/tmp'
|
|
|
|
newslibexp='/tmp'
|
1998-05-01 18:41:28 +00:00
|
|
|
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'
|
1994-10-22 09:28:32 +00:00
|
|
|
package='trn'
|
|
|
|
pager='/usr/bin/more'
|
1998-05-01 18:41:28 +00:00
|
|
|
perl='/usr/bin/perl'
|
|
|
|
perlpath='/usr/bin/perl'
|
|
|
|
pg='pg'
|
|
|
|
pgp=''
|
1994-10-22 09:28:32 +00:00
|
|
|
phost='.'
|
|
|
|
phostcmd='hostname'
|
1998-05-01 18:41:28 +00:00
|
|
|
plibpth=''
|
|
|
|
prefix='/PREFIX'
|
|
|
|
prefixexp='/PREFIX'
|
1994-10-22 09:28:32 +00:00
|
|
|
prefshell='/bin/csh'
|
1998-05-01 18:41:28 +00:00
|
|
|
privlib='/PREFIX/lib/trn'
|
|
|
|
privlibexp='/PREFIX/lib/trn'
|
|
|
|
rm='/bin/rm'
|
|
|
|
rmail='/bin/rmail'
|
1994-10-22 09:28:32 +00:00
|
|
|
rootid='0'
|
1998-05-01 18:41:28 +00:00
|
|
|
runnm='true'
|
|
|
|
sed='/usr/bin/sed'
|
|
|
|
sendmail='/usr/sbin/sendmail'
|
|
|
|
servername='no default'
|
1994-10-22 09:28:32 +00:00
|
|
|
sharpbang='#!'
|
|
|
|
shsharp='true'
|
1998-05-01 18:41:28 +00:00
|
|
|
signal_t='void'
|
|
|
|
smail='smail'
|
|
|
|
so='so'
|
|
|
|
sort='/usr/bin/sort'
|
|
|
|
spackage='Trn'
|
|
|
|
spell='spell'
|
1994-10-22 09:28:32 +00:00
|
|
|
spitshell='cat'
|
1998-05-01 18:41:28 +00:00
|
|
|
src='.'
|
1994-10-22 09:28:32 +00:00
|
|
|
startsh='#!/bin/sh'
|
1998-05-01 18:41:28 +00:00
|
|
|
statedist='none'
|
|
|
|
strftimec=''
|
|
|
|
strftimeo=''
|
|
|
|
strings='/usr/include/string.h'
|
|
|
|
strn='define'
|
|
|
|
subscriptions=''
|
1994-10-22 09:28:32 +00:00
|
|
|
sysman='/usr/share/man/man1'
|
1998-05-01 18:41:28 +00:00
|
|
|
tail='/usr/bin/tail'
|
|
|
|
termlib='-ltermlib'
|
|
|
|
test='/bin/test'
|
|
|
|
threaddir='remote'
|
|
|
|
tk='undef'
|
|
|
|
tkinc=''
|
|
|
|
tklibs=''
|
|
|
|
tr='/usr/bin/tr'
|
|
|
|
trn_init='FALSE'
|
1994-10-22 09:28:32 +00:00
|
|
|
trn_select='TRUE'
|
1998-05-01 18:41:28 +00:00
|
|
|
uname='/usr/bin/uname'
|
|
|
|
uniq='/usr/bin/uniq'
|
|
|
|
useinews='/PREFIX/bin/inews'
|
1994-10-22 09:28:32 +00:00
|
|
|
usenm='true'
|
1998-05-01 18:41:28 +00:00
|
|
|
usevfork='true'
|
1994-10-22 09:28:32 +00:00
|
|
|
usrinc='/usr/include'
|
1998-05-01 18:41:28 +00:00
|
|
|
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)"
|
1994-10-22 09:28:32 +00:00
|
|
|
CONFIG=true
|
|
|
|
EOF
|
|
|
|
|
|
|
|
fi # choice = 1
|
|
|
|
|
|
|
|
cd ${WrkSrc}
|
1998-05-01 18:41:28 +00:00
|
|
|
sh Configure ${ConfigArgs}
|
1994-10-22 09:28:32 +00:00
|
|
|
cd ${CurDir}
|
|
|
|
|
|
|
|
exit 0
|
|
|
|
# END
|