🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #8005

Re: TIN problem with address masking

#8005
From: Otto Lind
Date: Thu, 10 Mar 1994 09:32
51 lines
2193 bytes
Luke Brennan (brennan@cchs.su.edu.au) wrote:
: 	Iain, why not FINALLY acknowledge that your INSTALL file
: 	is just not up to scratch? It's a joke how many people end
: 	up confused - and it's YOUR instructions they're trying to
: 	follow.

I think the INSTALL file is fine. However, the discussion on setting
things up are 100 lines into the file. I would do the following to reduce
any confusion by forcing the issue:

In the default Makefile:

#
# You must define these!! See the INSTALL file.
#
# CNGOPTS=-DNNTP_INEWS_GATEWAY=\"Poorly_Installed_InterNetNews_Site\"
# CNDOPTS=-DNNTP_INEWS_DOMAIN=\".Nowhere\"

	@$(MAKE) CC=$(CC) CFLAGS='$(COPTS) -DSYSV -DRS6000 \
		$(CNGOPTS) $(CNDOPTS) \

In main.c:

#if !defined(NNTP_INEWS_GATEWAY) || !defined(NNTP_INEWS_DOMAIN)

void main (argc, argv)
int argc;
char *argv[];
{
	printf("Sorry, you did not define NNTP_INEWS_GATEWAY or ");
	printf("NNTP_INEWS_DOMAIN\n");
	printf("Go read the INSTALL file\n");

	exit(-1);
}

#else

/* normal main code */

#endif

The rest of the code would need to be changed to allow users to define it
as -DNNTP_INEWS_GATEWAY=\"\" to disable it.

Otto

--
Otto Lind                  Coactive Aesthetics
otto@coactive.com          P.O. Box 425967, San Francisco, CA 94142
netcom!coactive!otto       voice:(415)626-5152    fax:(415)626-6320
Technical Details
Message-ID: <2lmpfd$cbu@disc.coactive.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!yale.edu!yale!gumby!wupost!csus.edu!netcom.com!netcomsv!disc.coactive.com!otto
References: <CLMz05.Mvo@harlequin.co.uk> <2998@dsinet> <1994Mar2.075144.28944@anl433.uucp> <1994Mar3.112755.1@cchs.su.edu.au> <2ljl8l$5qk@harpo.uccs.edu>

Show Full Headers
Complete Article Headers
Message-ID: <2lmpfd$cbu@disc.coactive.com>
Subject: Re: TIN problem with address masking
Date: Thu, 10 Mar 1994 09:32:29 +0000
From: otto@coactive.com (Otto Lind)
References: <CLMz05.Mvo@harlequin.co.uk> <2998@dsinet> <1994Mar2.075144.28944@anl433.uucp> <1994Mar3.112755.1@cchs.su.edu.au> <2ljl8l$5qk@harpo.uccs.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!yale.edu!yale!gumby!wupost!csus.edu!netcom.com!netcomsv!disc.coactive.com!otto
Newsgroups: news.software.readers
Organization: Coactive Aesthetics Inc.
Lines: 51
NNTP-Posting-Host: gandalf.coactive.com
X-Newsreader: TIN [version 1.2 PL1]