blob: 82d8b0a6f24c25424df2ca13c5d414d6b0eddea5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
|
#!/bin/sh -
#
# pre-configure script for Trn port to FreeBSD 2.0
# $Id: preconf,v 1.2 1994/10/21 00:00:00 smace Exp $
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."
echo "1. You are accessing news via NNTP, you must set the NNTPSERVER"
echo " environment variable"
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-"
echo "tion, simply press ENTER each time the script asks you anything."
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
#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,
# 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".
#
# 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
d_bsd='define'
d_eunice='undef'
d_xenix='undef'
eunicefix=':'
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'
contains='grep'
cpplast='-'
cppminus='-'
cpprun='cc -E'
cppstdin='cc -E'
d_ftime='undef'
aphostcmd='/bin/hostname'
d_gethname='define'
d_phostcmd='define'
d_uname='undef'
d_getpwent='define'
d_getcwd='undef'
d_getwd='define'
d_havetlib='define'
termlib='-ltermcap'
d_ignoreorg='undef'
d_internet='define'
d_memcmp='define'
d_memcpy='define'
d_memset='define'
d_mimeshow='undef'
d_mimestore='undef'
mimeshow="none"
mimestore="none"
d_newsadm='undef'
newsadmin='root'
d_nntp='define'
d_xdata='define'
servername='no default'
d_nolnbuf='undef'
d_normsig='define'
jobslib=''
d_novoid='undef'
void=''
d_portable='define'
d_rdchk='undef'
d_rename='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_usendir='undef'
libndir=''
ndirc=''
ndiro=''
d_vfork='define'
d_voidsig='define'
signal_t='void'
defeditor='/usr/bin/vi'
filexp='/usr/local/lib/trn/filexp'
d_dirnamlen=''
i_dirent='define'
i_ptem='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_termio='undef'
i_termios='define'
i_systime='define'
i_time='undef'
i_unistd='define'
i_vfork='undef'
ispell_options=''
ispell_prg='none'
libc='/usr/lib/libc.so.2.0'
plibpth='/usr/ccs/lib /usr/lib /usr/ucblib /usr/local/lib'
xlibpth='/usr/lib/386 /lib/386'
libs=' '
citydist='none'
cntrydist='none'
contdist='none'
locdist='none'
multistatedist='none'
orgdist='none'
statedist='none'
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'
mboxchar='F'
c=''
n='-n'
d_berknames='define'
d_passnames='define'
d_usgnames='undef'
nametype='bsd'
inewsloc='inews'
newslib='/tmp'
newslibexp='/tmp'
newsspool='/tmp'
orgname='none'
package='trn'
spackage='Trn'
pager='/usr/bin/more'
phost='.'
phostcmd='hostname'
prefshell='/bin/csh'
installprivlib='/usr/local/lib/trn'
privlib='/usr/local/lib/trn'
privlibexp='/usr/local/lib/trn'
rootid='0'
sharpbang='#!'
shsharp='true'
spitshell='cat'
startsh='#!/bin/sh'
sysman='/usr/share/man/man1'
d_usemt='define'
d_useov='define'
overviewdir='/tmp'
threaddir='/tmp'
trn_init='TRUE'
trn_select='TRUE'
nm_opt=''
runnm='true'
usenm='true'
incpath=''
mips=''
mips_type=''
usrinc='/usr/include'
PATCHLEVEL="Version: 3.5"
CONFIG=true
EOF
fi # choice = 1
cd ${WrkSrc}
sh Configure
cd ${CurDir}
exit 0
# END
|