Annotation of 43BSDTahoe/new/news/src/localize.nntp, revision 1.1.1.1

1.1       root        1: # 
                      2: # The file "localize.nntp" should be used as a starting point from which
                      3: # to build a localize.sh from which nntp-capable programs can be built.
                      4: # Basically, you can use the regular localize.sh you use and add those line
                      5: # that contain #NNTP, NNTPSRC and SERVERFILE to make it work.
                      6: # The string NNTPSRC should be replaced with the location of your nntp source
                      7: # directory. The string SERVERFILE should be replaced with the location of
                      8: # the serverfile. See the nntp (Version 1.4) instructions for more information.
                      9: # 
                     10: # You will need nntp version 1.4 to make full use of these programs. They
                     11: # make some use of the XHDR extenstion in nntp version 1.4.
                     12: # 
                     13: # You do not need to include any reference to the dbm library. DBM may remain
                     14: # undefined. You may also want to remove $(OTHERS) from the line in the
                     15: # Makefile that starts with "all:".
                     16: # 
                     17: # You may want to include the line that begins with #RESOLVE in localize.sh
                     18: # if you want to link against the resolver library. I use it on my suns.
                     19: # 
                     20: # You will need to create a "mailpaths" file on each host that uses these
                     21: # programs. See the regular news documenation for information on the
                     22: # mailpaths file.
                     23: # 
                     24: # PROBLEMS:
                     25: # 
                     26: # 1. Distribution checking is disabled in postnews. nntp does not provide this
                     27: # information, so postnews cannot check the article before posting.
                     28: # 
                     29: # 2. History file support is marginal. nntp does not provided direct access
                     30: # to the history file information. nntp can tell if an article is not avail-
                     31: # able, but you cannot know if it was cancelled or expired or has not arrived
                     32: # yet.
                     33: # 
                     34: # 3. The recording feature is available, but you have to implement it on each
                     35: # host that uses these programs. nntp does not provide this information from
                     36: # the server.
                     37: # 
                     38: # 4. sys file searching is disabled. Again, nntp does not provide access to 
                     39: # this information from the server.
                     40: # 
                     41: # 5. XHDR support is necessary for some functions to work. This can be rewritten
                     42: # to avoid this, but I have not done it yet.
                     43: # 
                     44: # FINALLY
                     45: # 
                     46: # If you have bug reports on the nntp hunks of code, please feel free to let
                     47: # me know about it. I will do my best to fix them and route the fixes 
                     48: # through Rick Adams for patch releases.
                     49: # 
                     50: # Stan Barber
                     51: # Baylor College of Medicine
                     52: # uucp: {hoptoad,killer,rice}!academ!sob
                     53: # Internet: [email protected]
                     54: # 
                     55: rm -f Makefile
                     56: cp Makefile.dst Makefile
                     57: chmod u+w Makefile
                     58: ed Makefile  <<'EOF'
                     59: g/^#BSD4_2 /s///
                     60: g/^#V7 /s///
                     61: g/^#NNTP /s///
                     62: g/^#RESOLVE /s///
                     63: g/^#USG /d
                     64: g/^#EXCELAN /d
                     65: g/=fork/d
                     66: g/^#VMS /d
                     67: g/^#BSD4_3 /d
                     68: g/^#BSD4_1 /d
                     69: g/^all:/s/$(OTHERS)//
                     70: g/#NOTVMS/s/#NOTVMS//
                     71: g/-DDBM/s/-DDBM//
                     72: g/-ldbm/s/-ldbm//
                     73: g/NNTPSRC/s/NNTPSRC/\/usr\/src\/nntp/
                     74: w
                     75: q
                     76: EOF
                     77: rm -f defs.h
                     78: cp defs.dist defs.h
                     79: chmod u+w defs.h
                     80: ed defs.h << 'EOF'
                     81: g/NNTPSRC/s/NNTPSRC/\usr\/src\/nntp/
                     82: g/SERVERFILE/s/SERVERFILE/\/usr\/lib\/news\/server/
                     83: w
                     84: q
                     85: EOF
                     86: echo "Be sure to make a login for usenet and create the group news"
                     87: echo "Also, be sure to alter Makefile and defs.h to reflect the"
                     88: echo "user name, id number, group name and group id number in the"
                     89: echo "places documented."
                     90: echo "Finally, please set your organization name in defs.h"
                     91: echo "Look for #define MYORG for the string to alter."
                     92: echo "Good Luck."

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.