DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T l

⟦0d394df22⟧ TextFile

    Length: 3809 (0xee1)
    Types: TextFile
    Names: »localize.nntp«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦373604645⟧ »EurOpenD3/news/bnews.2.11/src.tar.Z« 
        └─⟦3beb569ac⟧ 
            └─⟦this⟧ »src/localize.nntp« 

TextFile

# 
# The file "localize.nntp" should be used as a starting point from which
# to build a localize.sh from which nntp-capable programs can be built.
# Basically, you can use the regular localize.sh you use and add those line
# that contain #NNTP and NNTPSRC to make it work. You will need two
# localize.sh files. One will be for the SERVER where you build the regular
# inews and run the nntpd server. The other will be for the nntp clients.
# On these machines, you will only build readnews, checknews, vnews and 
# postnews. You only need the parts of the nntp distribution that are in the
# common directory to build these programs. You will also need the inews 
# program from nntp distribution.
#
# The string NNTPSRC should be replaced with the location of your nntp source
# directory. 
# 
# You will need nntp version 1.5 to make full use of these programs. They
# make some use of the XHDR extension in nntp version 1.5. They will work
# with nntp 1.3. If you use nntp 1.4, please manually edit nntp.c to include
# "response_codes.h". Look at the beginning of the file for details.
# 
# You do not need to include any reference to the dbm library. DBM may remain
# undefined.
# 
# You may want to include the line that begins with #RESOLVE in localize.sh
# if you want to link against the resolver library.
# 
# PROBLEMS:
# 
# 1. Distribution checking is disabled in postnews. nntp does not provide this
# information, so postnews cannot check the article before posting. However,
# nntp will return status information if the article fails to post.
# 
# 2. History file support is marginal. nntp does not provided direct access
# to the history file information. nntp can tell if an article is not avail-
# able, but you cannot know if it was cancelled or expired or has not arrived
# yet.
# 
# 3. The recording feature is available, but you have to implement it on each
# host that uses these programs. nntp does not provide this information from
# the server. 
# 
# 4. sys file searching is disabled. Again, nntp does not provide access to 
# this information from the server.
# 
# 5. XHDR support is necessary for some functions to work. This can be
# rewritten to avoid this. nntp 1.5 is available which does support this.
# 
# FINALLY
# 
# If you have bug reports on the nntp hunks of code, please feel free to let
# me know about it. I will do my best to fix them and route the fixes 
# through Rick Adams for patch releases.
# 
# Stan Barber
# Baylor College of Medicine
# uucp: {hoptoad,killer,rice}!academ!sob
# Internet: sob@tmc.edu
# 
rm -f Makefile
cp Makefile.dst Makefile
chmod u+w Makefile
ed Makefile  <<'EOF'
g/^#BSD4_2 /s///
g/^#V7 /s///
g/^#NNTP /s///
g/^#RESOLVE /s///
g/^#USG /d
g/^#EXCELAN /d
g/=fork/d
g/^#VMS /d
g/^#BSD4_3 /d
g/^#BSD4_1 /d
g/^BINDIR/s/bin/local\/bin/
g/^NEWSUSR/s/news/usenet/
g/^LIBS/s/-ldbm//
g/^LNRNEWS/s/ln/ln -s/
g/^RNEWS/s/$(BINDIR)/\/usr\/bin/
g/^UUXFLAGS/s/-r/-gN -r/
g/#NOTVMS/s/#NOTVMS//
g/-DDBM/s/-DDBM/-DNOSHELL/
g/NNTPSRC/s/NNTPSRC/\/usr\/src\/new\/nntp.1.5/
w
q
EOF
rm -f defs.h
cp defs.dist defs.h
chmod u+w defs.h
ed defs.h << 'EOF'
g/DOXREFS/s/^\/\* //
g/NICENESS/s/^\/\* //
g/PATH/s/=/=\/usr/
g/UUPROG/s/^\/\* //
g/INTERNET/s/^\/\* //
g/SENDMAIL/s/^\/\* //
g/ORGDISTRIB/s/^\/\* //
g/ GHNAME/s/^\/\* //
g/ BSD4_2/s/^\/\* //
g/GENERICPATH/s/^\/\* //
g/GENERICFROM/s/^\/\* //
g/NNTPSRC/s/NNTPSRC/\/usr\/src\/new\/nntp.1.5/
g/SERVERFILE/s/SERVERFILE/\/usr\/lib\/news\/server/
w
q
EOF
echo "Be sure to make a login for usenet and create the group news"
echo "Also, be sure to alter Makefile and defs.h to reflect the"
echo "user name, id number, group name and group id number in the"
echo "places documented."
echo "Finally, please set your organization name in defs.h"
echo "Look for #define MYORG for the string to alter."
echo "Good Luck."