|
|
1.1 root 1: #! /bin/sh
2: #
3: # local for okeeffe.berkeley.edu, running nntp to/from ucbvax.berkeley.edu
4: #
5: rm -f Makefile
6: cp Makefile.dst Makefile
7: chmod u+w Makefile
8: ed Makefile <<'EOF'
9: g/^#BSD4_3 /s///
10: g/^#V7 /s///
11: g/^#NNTP /s///
12: g/^#RESOLVE /d
13: g/^#USG /d
14: g/^#EXCELAN /d
15: g/=fork/d
16: g/^#VMS /d
17: g/^#BSD4_2 /d
18: g/^#BSD4_1 /d
19: g/^all:/s/$(OTHERS)//
20: g/#NOTVMS/s/#NOTVMS//
21: g/-DDBM/s/-DDBM//
22: g/-ldbm/s/-ldbm//
23: g/#NOTVMS/s/#NOTVMS.*//
24: g/NNTPSRC/s,NNTPSRC,/usr/src/new/nntp,
25: /^UUXFLAGS/s/-r -z/-r -z -n -gd/
26: /^LIBDIR/s;/usr/lib/news;/usr/new/lib/news;
27: /^BINDIR/s;/usr/bin;/usr/new;
28: w
29: q
30: EOF
31: rm -f defs.h
32: cp defs.dist defs.h
33: chmod u+w defs.h
34: ed defs.h << 'EOF'
35: g/NNTPSRC/s,NNTPSRC,/usr/src/new/nntp,
36: g/SERVERFILE/s,SERVERFILE,/usr/new/lib/news/server,
37: /N_UMASK/s/000/002/
38: /DFTXMIT/s/-z/-z -gd/
39: /UXMIT/s/-z/-z -gd/
40: /INTERNET/s;/\* ;;
41: /GHNAME/s;/\* ;;
42: /DOXREFS/s;/\* ;;
43: /BSD4_2/s;/\* ;;
44: /SENDMAIL/s;/\* ;;
45: /MYORG/s/Frobozz.*Louis/CSRG, UC Berkeley/
46: /ROOTID/s/10/0/
47: /MYDOMAIN/s/\.UUCP/.Berkeley.EDU/
48: /MKDIRSUB/s;/\* ;;
49: w
50: q
51: EOF
52: echo "Be sure to make a login for usenet and create the group news"
53: echo "Also, be sure to alter Makefile and defs.h to reflect the"
54: echo "user name, id number, group name and group id number in the"
55: echo "places documented."
56: echo "Finally, please set your organization name in defs.h"
57: echo "Look for #define MYORG for the string to alter."
58: echo "Good Luck."
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.