Article View: news.software.nn
Article #5553Re: NN 6.5.0.b2 under HP-UX9
From: Noel Hunter
Date: Wed, 09 Mar 1994 19:08
Date: Wed, 09 Mar 1994 19:08
245 lines
7361 bytes
7361 bytes
C.E. Blackmun (ceb4@eng.cam.ac.uk) wrote:
: Has any one out there managed to make NN 6.5.0.b2 under HP-UX9 on 700 series
: machines (and make it work) using nntp with nov support? I played around with
Here is a patch that works on HPUX 9.0, 800 series. However, it should work on
the 700 as well. There's not much to it other than getting the right config
files, so your trouble may be harder to pin down than mine was:
----------------------------------- cut here ----------------------------------
./config.h
start of patch 09-Mar-1994
(suggested archive name: pch09Mar94.Z)
It should be applied by changing directory to the root
of the source tree and using the command:
patch -p0 < this_file
*** config.h.orig Thu Dec 9 17:13:34 1993
--- config.h Thu Dec 9 17:13:21 1993
***************
*** 32,38 ****
#define NOV
/* Optional */
! #define NOV_DIRECTORY "/usr/spool/news"
/*********************** NETWORK DEPENDENT DEFINITIONS **********************
*
--- 32,38 ----
#define NOV
/* Optional */
! /* #define NOV_DIRECTORY "/usr/spool/news" */
/*********************** NETWORK DEPENDENT DEFINITIONS **********************
*
***************
*** 84,90 ****
* NOTE: If you plan to use the included inews, it MUST be a full pathname
*/
! #define NNTP_SERVER "/usr/lib/nntp_server"
/*
* Define NNTP_POST if you want nn to reject attempts to post via
--- 84,90 ----
* NOTE: If you plan to use the included inews, it MUST be a full pathname
*/
! #define NNTP_SERVER "/usr/local/lib/nn/nntp_server"
/*
* Define NNTP_POST if you want nn to reject attempts to post via
***************
*** 104,110 ****
* be present, define NNTP_MINI_INEWS_HEADER below.
*/
! #define NNTP_MINI_INEWS_HEADER /* uses "broken" mini-inews */
/*
* Define NNTP_PATH_HOSTNAME to force a specific hostname into the
--- 104,110 ----
* be present, define NNTP_MINI_INEWS_HEADER below.
*/
! /* #define NNTP_MINI_INEWS_HEADER uses "broken" mini-inews */
/*
* Define NNTP_PATH_HOSTNAME to force a specific hostname into the
***************
*** 115,121 ****
* from which the outgoing hostname should be read (at runtime).
*/
! /* #define NNTP_PATH_HOSTNAME "puthostnamehere" */
/***************** OPERATING SYSTEM DEPENDENT DEFINITIONS *******************
--- 115,121 ----
* from which the outgoing hostname should be read (at runtime).
*/
! /* #define NNTP_PATH_HOSTNAME "news.your.domain" */
/***************** OPERATING SYSTEM DEPENDENT DEFINITIONS *******************
***************
*** 126,132 ****
* conf/s-template.h as a starting point for writing you own.
*/
! #include "s-sys5-4.h"
/*
* Define DEFAULT_PAGER as the initial value of the 'pager' variable.
--- 126,132 ----
* conf/s-template.h as a starting point for writing you own.
*/
! #include "s-hpux8-0.h"
/*
* Define DEFAULT_PAGER as the initial value of the 'pager' variable.
***************
*** 134,140 ****
*/
/* #define DEFAULT_PAGER "pg -n -s" */ /* system V */
! #define DEFAULT_PAGER "more" /* bsd */
/*
* DEFAULT_PRINTER is the initial value of the 'printer' variable.
--- 134,140 ----
*/
/* #define DEFAULT_PAGER "pg -n -s" */ /* system V */
! #define DEFAULT_PAGER "less" /* bsd */
/*
* DEFAULT_PRINTER is the initial value of the 'printer' variable.
***************
*** 184,190 ****
* conf/m-template.h as a starting point for writing you own.
*/
! #include "m-i80386.h"
/***************************** OWNERSHIP ***************************
--- 184,190 ----
* conf/m-template.h as a starting point for writing you own.
*/
! #include "m-hp9000.h"
/***************************** OWNERSHIP ***************************
***************
*** 235,242 ****
* (= LIB_DIRECTORY/Log if undefined).
*/
! #define BIN_DIRECTORY "/usr/local/bin"
! #define LIB_DIRECTORY "/usr/local/lib/nn"
/**************************** DATABASE LOCATION **************************
--- 235,242 ----
* (= LIB_DIRECTORY/Log if undefined).
*/
! #define BIN_DIRECTORY "/usr/local/bin"
! #define LIB_DIRECTORY "/usr/local/lib/nn"
/**************************** DATABASE LOCATION **************************
***************
*** 268,274 ****
* (The file system must support long file names!!)
*/
! #define DB_DIRECTORY "/usr/spool/nn"
/*************************** NEWS TRANSPORT **************************
--- 268,274 ----
* (The file system must support long file names!!)
*/
! #define DB_DIRECTORY "/usr/spool/nn"
/*************************** NEWS TRANSPORT **************************
***************
*** 290,299 ****
* Default: NEWS_LIB_DIR/{rm,del}group
*/
! #define NEWS_DIRECTORY "/usr/spool/news"
! #define NEWS_LIB_DIRECTORY "/usr/lib/news"
! /* #define INEWS_PATH "/usr/lib/news/inews" */
/*
--- 290,299 ----
* Default: NEWS_LIB_DIR/{rm,del}group
*/
! #define NEWS_DIRECTORY "/usr/local/spool/news"
! #define NEWS_LIB_DIRECTORY "/usr/local/lib/news"
! #define INEWS_PATH "/usr/local/lib/nn/inews"
/*
***************
*** 362,368 ****
* intended that it will point to the current maintainer.
*/
! #define BUG_REPORT_ADDRESS "nn-bugs@dkuug.dk"
/*************************** DOCUMENTATION ***************************
--- 362,368 ----
* intended that it will point to the current maintainer.
*/
! #define BUG_REPORT_ADDRESS "help@your.domain"
/*************************** DOCUMENTATION ***************************
***************
*** 377,389 ****
* DAEMON_MAN - nnmaster
*/
! #define USER_MAN_DIR "/usr/man/man1"
#define USER_MAN_SECTION "1"
! #define SYS_MAN_DIR "/usr/man/man1"
#define SYS_MAN_SECTION "1m"
! #define DAEMON_MAN_DIR "/usr/man/man8"
#define DAEMON_MAN_SECTION "8"
--- 377,389 ----
* DAEMON_MAN - nnmaster
*/
! #define USER_MAN_DIR "/usr/local/man/man1"
#define USER_MAN_SECTION "1"
! #define SYS_MAN_DIR "/usr/local/man/man1"
#define SYS_MAN_SECTION "1m"
! #define DAEMON_MAN_DIR "/usr/local/man/man8"
#define DAEMON_MAN_SECTION "8"
--
* Noel Hunter, Academic Systems Administrator, Wake Forest University *
* noel@wfu.edu TEL:(910) 759-5812 MAIL:PO Box 7408 Winston-Salem, NC 27109 *
Technical Details
Message-ID:
<2ll6qi$7l@quad.wfunet.wfu.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.nn.mbox.zip!gmd.de!xlink.net!sol.ctr.columbia.edu!math.ohio-state.edu!howland.reston.ans.net!gatech!concert!news.wfu.edu!ac!noelReferences:
<2lhjq1$cvh@lyra.csx.cam.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <2ll6qi$7l@quad.wfunet.wfu.edu> Subject: Re: NN 6.5.0.b2 under HP-UX9 Date: Wed, 09 Mar 1994 19:08:02 +0000 From: noel@ac.wfu.edu (Noel Hunter) References: <2lhjq1$cvh@lyra.csx.cam.ac.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!sol.ctr.columbia.edu!math.ohio-state.edu!howland.reston.ans.net!gatech!concert!news.wfu.edu!ac!noel Newsgroups: news.software.nn Organization: Wake Forest University Lines: 245 Distribution: world NNTP-Posting-Host: ac.wfunet.wfu.edu X-Newsreader: TIN [version 1.2 PL2]