From 77d7251b1e6d19f1c9ec0484c881527410cd2f4f Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 19 May 1998 22:26:39 +0000 Subject: Adapt this package to NetBSD. --- news/nn/Makefile | 29 +++--- news/nn/files/s-freebsd.h | 159 -------------------------------- news/nn/files/s-netbsd.h | 162 +++++++++++++++++++++++++++++++++ news/nn/patches/patch-aa | 42 +-------- news/nn/patches/patch-ab | 226 ---------------------------------------------- news/nn/patches/patch-ac | 141 +++++++++++++++++++++++++++++ news/nn/patches/patch-ad | 39 ++++++++ news/nn/pkg/PLIST | 54 ++++++++--- 8 files changed, 397 insertions(+), 455 deletions(-) delete mode 100644 news/nn/files/s-freebsd.h create mode 100644 news/nn/files/s-netbsd.h create mode 100644 news/nn/patches/patch-ac create mode 100644 news/nn/patches/patch-ad (limited to 'news') diff --git a/news/nn/Makefile b/news/nn/Makefile index 1f4689aa16f..50bbd4437af 100644 --- a/news/nn/Makefile +++ b/news/nn/Makefile @@ -1,8 +1,4 @@ -# New ports collection makefile for: nn -# Version required: 6.5.0 -# Date created: 24 September 1994 -# Whom: adam -# +# $NetBSD: Makefile,v 1.2 1998/05/19 22:26:39 tron Exp $ # $FreeBSD Id: Makefile,v 1.14 1997/07/30 18:17:48 adam Exp # @@ -10,24 +6,27 @@ DISTNAME= nn-6.5.0.b3 PKGNAME= nn-6.5.0 CATEGORIES= news MASTER_SITES= ftp://uniwa.uwa.edu.au/pub/nn/old/beta/ -MAINTAINER= ports@FreeBSD.ORG + +MAINTAINER= tron@netbsd.org MAN1= nn.1 nncheck.1 nngoback.1 nngrab.1 nngrep.1 nnpost.1 \ nntidy.1 nnacct.1 nnadmin.1 nnstats.1 nnusage.1 MAN8= nnmaster.8 nnspew.8 -pre-patch: - @${CP} ${WRKSRC}/config.h-dist ${WRKSRC}/config.h +post-extract: + @${MV} ${WRKSRC}/config.h-dist ${WRKSRC}/config.h + @${SED} -e 's#@@PREFIX@@#${PREFIX}#; \ + s#@@BINOWN@@#${BINOWN}#; \ + s#@@BINGRP@@#${BINGRP}#' \ + <${FILESDIR}/s-netbsd.h >${WRKSRC}/conf/s-netbsd.h -pre-build: - @${CP} ${FILESDIR}/s-freebsd.h ${WRKSRC}/conf +post-build: + (cd ${WRKSRC}/inews; ${MAKE} all) pre-install: - ${MKDIR} ${PREFIX}/news - [ -r ${PREFIX}/news/lib/inews ] || ( cd ${WRKSRC}/inews; ${MAKE} all ) - [ -r ${PREFIX}/news/lib/inews ] || ( cd ${WRKSRC}/inews; ${MAKE} install ) + (cd ${WRKSRC}/inews; ${MAKE} install) post-install: - @${ECHO} Put your NNTP host into ${PREFIX}/etc/nntpserver file + @${ECHO} "Put your NNTP host into \"${PREFIX}/etc/nntp_server\" file." -.include +.include <../../mk/bsd.pkg.mk> diff --git a/news/nn/files/s-freebsd.h b/news/nn/files/s-freebsd.h deleted file mode 100644 index ef13d41f8a2..00000000000 --- a/news/nn/files/s-freebsd.h +++ /dev/null @@ -1,159 +0,0 @@ -/* - * This version is for FreeBSD 2.1 - * Done by "Andrey A. Chernov" - */ - - -/* - * Include header files containing the following definitions: - * - * off_t, time_t, struct stat - */ - -#include -#include /* for S_IFREG */ -#include /* for O_RDONLY */ - -#define HAVE_STDLIB_H -#define HAVE_STRING_H -#define HAVE_UNISTD_H -#define HAVE_FCNTL_H - -#define HAVE_TERMIOS - -/* - * Define if your system has system V like ioctls - */ - -#undef HAVE_TERMIO /* */ - -/* - * Define to use terminfo database. - * Otherwise, termcap is used - */ - -#undef USE_TERMINFO /* */ - -/* - * Specify the library (or libraries) containing the termcap/terminfo - * routines. - * - * Notice: nn only uses the low-level terminal access routines - * (i.e. it does not use curses). - */ - -#define TERMLIB -ltermcap - -/* - * Define HAVE_STRCHR if strchr() and strrchr() are available - */ - -#define HAVE_STRCHR /* */ - -/* - * Define if a signal handler has type void (see signal.h) - */ - -#define SIGNAL_HANDLERS_ARE_VOID /* */ - -/* - * Define HAVE_UALARM if your system has a 4.3 BSD like ualarm() call. - * Else define MICRO_ALARM(n) to timeout in n/10 seconds if possible. - * Don't define either if system only has the standard alarm() call. - */ - -#define HAVE_UALARM /* */ - - -/* - * Define if your system has BSD like job control (SIGTSTP works) - */ - -#define HAVE_JOBCONTROL /* */ - - -/* - * Define if your system has a 4.3BSD like syslog library. - */ - -#define HAVE_SYSLOG - -/* - * Define if your system provides the "directory(3X)" access routines - * - * If true, include the header file(s) required by the package below - * (remember that or equivalent is included above) - * Also typedef Direntry to the proper struct type. - */ - -#define HAVE_DIRECTORY /* */ - -#include /* POSIX */ - -typedef struct dirent Direntry; /* POSIX */ - -/* - * Define if your system has a mkdir() library routine - */ - -#define HAVE_MKDIR /* */ - -/* - * Pick one: - * Define HAVE_GETHOSTNAME if you have a BSD like gethostname routine. - * Define HAVE_UNAME if a system V compatible uname() is available. - * Define HOSTNAME_FILE "...." to a file containing the hostname. - * Define HOSTNAME_WHOAMI if sysname is defined in . - * - * As a final resort, define HOSTNAME to the name of your system - * (in config.h). - */ - -#define HAVE_GETHOSTNAME /* BSD systems */ - -/* - * Define HAVE_MULTIGROUP if system has simultaneous multiple group - * membership capability (BSD style). - * Also define NGROUPS or include the proper .h file if NGROUPS is - * not defined in . - * Also define GIDSET_TYPE to the type of the elements in the array - * initialized by getgroups() if different from "int" (many systems - * have a gid_t, but very few use it for getgroups()). - */ - -#define HAVE_MULTIGROUP /* BSD */ -#define GIDSET_TYPE gid_t - -/* - * Define DETATCH_TERMINAL to be a command sequence which - * will detatch a process from the control terminal - * Also include system files needed to perform this HERE. - * If not possible, just define it (empty) - */ - -#define DETATCH_TERMINAL setsid(); - -/* - * Specify where the Bourne Shell is. - */ - -#define SHELL "/bin/sh" - -/* - * Specify the default mailer to be invoked by nnmail - */ - -#define MAILX "/usr/bin/mail" /* */ - -/* - * Define the maximum length of any pathname that may occur - */ - -#define FILENAME 256 - -#define RESIZING - -#define HAVE_8BIT_CTYPE - -#define HAVE_WORKING_COLLATE - diff --git a/news/nn/files/s-netbsd.h b/news/nn/files/s-netbsd.h new file mode 100644 index 00000000000..7b319e3588f --- /dev/null +++ b/news/nn/files/s-netbsd.h @@ -0,0 +1,162 @@ +/* + * This version is for FreeBSD 2.1 + * Done by "Andrey A. Chernov" + */ + + +/* + * Include header files containing the following definitions: + * + * off_t, time_t, struct stat + */ + +#include +#include /* for S_IFREG */ +#include /* for O_RDONLY */ + +#define HAVE_STDLIB_H +#define HAVE_STRING_H +#define HAVE_UNISTD_H +#define HAVE_FCNTL_H + +#define HAVE_TERMIOS + +/* + * Define if your system has system V like ioctls + */ + +#undef HAVE_TERMIO /* */ + +/* + * Define to use terminfo database. + * Otherwise, termcap is used + */ + +#undef USE_TERMINFO /* */ + +/* + * Specify the library (or libraries) containing the termcap/terminfo + * routines. + * + * Notice: nn only uses the low-level terminal access routines + * (i.e. it does not use curses). + */ + +#define TERMLIB -ltermcap + +/* + * Define HAVE_STRCHR if strchr() and strrchr() are available + */ + +#define HAVE_STRCHR /* */ + +/* + * Define if a signal handler has type void (see signal.h) + */ + +#define SIGNAL_HANDLERS_ARE_VOID /* */ + +/* + * Define HAVE_UALARM if your system has a 4.3 BSD like ualarm() call. + * Else define MICRO_ALARM(n) to timeout in n/10 seconds if possible. + * Don't define either if system only has the standard alarm() call. + */ + +#define HAVE_UALARM /* */ + + +/* + * Define if your system has BSD like job control (SIGTSTP works) + */ + +#define HAVE_JOBCONTROL /* */ + + +/* + * Define if your system has a 4.3BSD like syslog library. + */ + +#define HAVE_SYSLOG + +/* + * Define if your system provides the "directory(3X)" access routines + * + * If true, include the header file(s) required by the package below + * (remember that or equivalent is included above) + * Also typedef Direntry to the proper struct type. + */ + +#define HAVE_DIRECTORY /* */ + +#include /* POSIX */ + +typedef struct dirent Direntry; /* POSIX */ + +/* + * Define if your system has a mkdir() library routine + */ + +#define HAVE_MKDIR /* */ + +/* + * Pick one: + * Define HAVE_GETHOSTNAME if you have a BSD like gethostname routine. + * Define HAVE_UNAME if a system V compatible uname() is available. + * Define HOSTNAME_FILE "...." to a file containing the hostname. + * Define HOSTNAME_WHOAMI if sysname is defined in . + * + * As a final resort, define HOSTNAME to the name of your system + * (in config.h). + */ + +#define HAVE_GETHOSTNAME /* BSD systems */ + +/* + * Define HAVE_MULTIGROUP if system has simultaneous multiple group + * membership capability (BSD style). + * Also define NGROUPS or include the proper .h file if NGROUPS is + * not defined in . + * Also define GIDSET_TYPE to the type of the elements in the array + * initialized by getgroups() if different from "int" (many systems + * have a gid_t, but very few use it for getgroups()). + */ + +#define HAVE_MULTIGROUP /* BSD */ +#define GIDSET_TYPE gid_t + +/* + * Define DETATCH_TERMINAL to be a command sequence which + * will detatch a process from the control terminal + * Also include system files needed to perform this HERE. + * If not possible, just define it (empty) + */ + +#define DETATCH_TERMINAL setsid(); + +/* + * Specify where the Bourne Shell is. + */ + +#define SHELL "/bin/sh" + +/* + * Specify the default mailer to be invoked by nnmail + */ + +#define MAILX "/usr/bin/mail" /* */ + +/* + * Define the maximum length of any pathname that may occur + */ + +#define FILENAME 256 + +#define RESIZING + +#define HAVE_8BIT_CTYPE + +#define HAVE_WORKING_COLLATE + +#define PREFIX "@@PREFIX@@" +#define BINOWN "@@BINOWN@@" +#define BINGRP "@@BINGRP@@" diff --git a/news/nn/patches/patch-aa b/news/nn/patches/patch-aa index 0e4e90fc1c5..ad0a3937b4d 100644 --- a/news/nn/patches/patch-aa +++ b/news/nn/patches/patch-aa @@ -804,7 +804,7 @@ /* define types of library functions */ -+ #ifndef __FreeBSD__ ++ #ifndef __NetBSD__ char *getenv(), *ctime(); #ifndef MALLOC_FUNC_CHECK char *strchr(), *strrchr(); @@ -861,44 +861,6 @@ FILE * nntp_fopen_list __APROTO((char *cmd)); char * nntp_fgets __APROTO((char *buf, int size)); article_number *nntp_get_article_list __APROTO((group_header *gh)); -*** inst.sh.orig Mon Sep 13 21:42:25 1993 ---- inst.sh Sat Apr 15 04:57:51 1995 -*************** -*** 1,8 **** - - # (Large) prefix inserted above by Make - -! # BSD systems keep chown in /etc -! PATH="$PATH:/etc" - - case "$1" in - mkdir) ---- 1,8 ---- - - # (Large) prefix inserted above by Make - -! # BSD systems keep chown in /usr/sbin -! PATH="$PATH:/usr/sbin" - - case "$1" in - mkdir) -*************** -*** 55,61 **** - ;; - esac - -! set -u - - ( - if $NNTP ---- 55,61 ---- - ;; - esac - -! #set -u - - ( - if $NNTP *** kill.c.orig Mon Sep 13 21:42:28 1993 --- kill.c Sat Apr 15 04:57:52 1995 *************** @@ -1280,7 +1242,7 @@ import int silent, no_update; import int sys_nerr; -+ #ifndef __FreeBSD__ ++ #ifndef __NetBSD__ import char *sys_errlist[]; + #endif extern void nn_exitmsg(); diff --git a/news/nn/patches/patch-ab b/news/nn/patches/patch-ab index 548453924bf..3dca4919c04 100644 --- a/news/nn/patches/patch-ab +++ b/news/nn/patches/patch-ab @@ -1,229 +1,3 @@ -*** config.h.orig Sun Jun 18 16:39:25 1995 ---- config.h Sun Jun 18 16:41:44 1995 -*************** -*** 32,38 **** - #define NOV - - /* Optional */ -! #define NOV_DIRECTORY "/usr/spool/news" - - /*********************** NETWORK DEPENDENT DEFINITIONS ********************** - * ---- 32,38 ---- - #define NOV - - /* Optional */ -! #define NOV_DIRECTORY "/var/news/over.view" - - /*********************** NETWORK DEPENDENT DEFINITIONS ********************** - * -*************** -*** 69,75 **** - * Consult the file NNTP for further information on the use of NNTP. - */ - -! #undef NNTP - - /* - * Define NNTP_SERVER to the name of a file containing the name of the ---- 69,75 ---- - * Consult the file NNTP for further information on the use of NNTP. - */ - -! #define NNTP - - /* - * Define NNTP_SERVER to the name of a file containing the name of the -*************** -*** 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/etc/nntpserver" - - /* - * Define NNTP_POST if you want nn to reject attempts to post via -*************** -*** 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-freebsd.h" - - /* - * Define DEFAULT_PAGER as the initial value of the 'pager' variable. -*************** -*** 141,148 **** - * nn's :print command pipes text into this command. - */ - -! #define DEFAULT_PRINTER "lp -s" /* System V */ -! /* #define DEFAULT_PRINTER "lpr -p -JNEWS" */ /* bsd */ - - /* - * Define RESIZING to make nn understand dynamic window-resizing. ---- 141,148 ---- - * nn's :print command pipes text into this command. - */ - -! /* #define DEFAULT_PRINTER "lp -s" /* System V */ -! #define DEFAULT_PRINTER "lpr -p -JNEWS" /* bsd */ - - /* - * Define RESIZING to make nn understand dynamic window-resizing. -*************** -*** 239,245 **** - - #define BIN_DIRECTORY "/usr/local/bin" - #define LIB_DIRECTORY "/usr/local/lib/nn" -! - - /**************************** DATABASE LOCATION ************************** - * ---- 239,245 ---- - - #define BIN_DIRECTORY "/usr/local/bin" - #define LIB_DIRECTORY "/usr/local/lib/nn" -! #define TMP_DIRECTORY "/var/tmp" - - /**************************** DATABASE LOCATION ************************** - * -*************** -*** 270,276 **** - * (The file system must support long file names!!) - */ - -! #define DB_DIRECTORY "/usr/spool/nn" - - - /*************************** NEWS TRANSPORT ************************** ---- 270,276 ---- - * (The file system must support long file names!!) - */ - -! #define DB_DIRECTORY "/var/spool/nn" - - - /*************************** NEWS TRANSPORT ************************** -*************** -*** 292,301 **** - * 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" */ - - - /* ---- 292,301 ---- - * Default: NEWS_LIB_DIR/{rm,del}group - */ - -! #define NEWS_DIRECTORY "/var/news" -! #define NEWS_LIB_DIRECTORY "/usr/local/news/lib" - -! /* #define INEWS_PATH "/usr/local/news/lib/inews" */ - - - /* -*************** -*** 317,323 **** - */ - - /* #define REC_MAIL "/usr/lib/news/recmail" */ /* non-sendmail */ -! #define REC_MAIL "/usr/lib/sendmail -t" /* sendmail */ - - - /* ---- 317,323 ---- - */ - - /* #define REC_MAIL "/usr/lib/news/recmail" */ /* non-sendmail */ -! #define REC_MAIL "/usr/sbin/sendmail -t" /* sendmail */ - - - /* -*************** -*** 379,391 **** - * 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" - - ---- 379,391 ---- - * 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 "1" - -! #define DAEMON_MAN_DIR "/usr/local/man/man8" - #define DAEMON_MAN_SECTION "8" - - -*************** -*** 445,451 **** - * was accepted, whereas with INN, it only takes seconds. - */ - -! #define INEWS_IS_FAST /* comment out for C-News */ - - /* - * Synchronous posting: If set this will cause NN to wait until a ---- 445,451 ---- - * was accepted, whereas with INN, it only takes seconds. - */ - -! /*#define INEWS_IS_FAST /* comment out for C-News */ - - /* - * Synchronous posting: If set this will cause NN to wait until a -*************** -*** 457,463 **** - * via some sort of NNTP. - */ - -! #define SYNCHRONOUS_POSTING /* comment out for C-News */ - - /* - * PUT_TIMESTAMP_IN_SCRIPTS ---- 457,463 ---- - * via some sort of NNTP. - */ - -! /*#define SYNCHRONOUS_POSTING /* comment out for C-News */ - - /* - * PUT_TIMESTAMP_IN_SCRIPTS *** inews/conf.h.orig Thu Nov 25 12:29:01 1993 --- inews/conf.h Sat Apr 15 04:57:55 1995 *************** diff --git a/news/nn/patches/patch-ac b/news/nn/patches/patch-ac new file mode 100644 index 00000000000..5b311cfd718 --- /dev/null +++ b/news/nn/patches/patch-ac @@ -0,0 +1,141 @@ +--- config.h.orig Fri Feb 18 03:15:47 1994 ++++ config.h Wed May 20 00:04:10 1998 +@@ -32,7 +32,7 @@ + #define NOV + + /* Optional */ +-#define NOV_DIRECTORY "/usr/spool/news" ++#define NOV_DIRECTORY "/var/spool/news/over.view" + + /*********************** NETWORK DEPENDENT DEFINITIONS ********************** + * +@@ -69,7 +69,7 @@ + * Consult the file NNTP for further information on the use of NNTP. + */ + +-#undef NNTP ++#define NNTP + + /* + * Define NNTP_SERVER to the name of a file containing the name of the +@@ -84,7 +84,7 @@ + * NOTE: If you plan to use the included inews, it MUST be a full pathname + */ + +-#define NNTP_SERVER "/usr/lib/nntp_server" ++#define NNTP_SERVER PREFIX "/etc/nntp_server" + + /* + * Define NNTP_POST if you want nn to reject attempts to post via +@@ -126,7 +126,7 @@ + * conf/s-template.h as a starting point for writing you own. + */ + +-#include "s-sys5-4.h" ++#include "s-netbsd.h" + + /* + * Define DEFAULT_PAGER as the initial value of the 'pager' variable. +@@ -141,8 +141,8 @@ + * nn's :print command pipes text into this command. + */ + +-#define DEFAULT_PRINTER "lp -s" /* System V */ +-/* #define DEFAULT_PRINTER "lpr -p -JNEWS" */ /* bsd */ ++/* #define DEFAULT_PRINTER "lp -s" /* System V */ ++#define DEFAULT_PRINTER "lpr -p -JNEWS" /* bsd */ + + /* + * Define RESIZING to make nn understand dynamic window-resizing. +@@ -203,8 +203,8 @@ + * Common choices are: (news, news) and (your uid, your gid) + */ + +-#define OWNER "news" +-#define GROUP "news" ++#define OWNER BINOWN ++#define GROUP BINGRP + + + /**************************** LOCALIZATION **************************** +@@ -237,9 +237,9 @@ + * (= LIB_DIRECTORY/Log if undefined). + */ + +-#define BIN_DIRECTORY "/usr/local/bin" +-#define LIB_DIRECTORY "/usr/local/lib/nn" +- ++#define BIN_DIRECTORY PREFIX "/bin" ++#define LIB_DIRECTORY PREFIX "/lib/nn" ++#define TMP_DIRECTORY "/var/tmp" + + /**************************** DATABASE LOCATION ************************** + * +@@ -270,7 +270,7 @@ + * (The file system must support long file names!!) + */ + +-#define DB_DIRECTORY "/usr/spool/nn" ++#define DB_DIRECTORY "/var/spool/news/nn" + + + /*************************** NEWS TRANSPORT ************************** +@@ -292,10 +292,10 @@ + * Default: NEWS_LIB_DIR/{rm,del}group + */ + +-#define NEWS_DIRECTORY "/usr/spool/news" +-#define NEWS_LIB_DIRECTORY "/usr/lib/news" ++#define NEWS_DIRECTORY "/var/spool/news" ++#define NEWS_LIB_DIRECTORY PREFIX "/lib/nn" + +-/* #define INEWS_PATH "/usr/lib/news/inews" */ ++#define INEWS_PATH NEWS_LIB_DIRECTORY "/inews" + + + /* +@@ -317,7 +317,7 @@ + */ + + /* #define REC_MAIL "/usr/lib/news/recmail" */ /* non-sendmail */ +-#define REC_MAIL "/usr/lib/sendmail -t" /* sendmail */ ++#define REC_MAIL "/usr/sbin/sendmail -t" /* sendmail */ + + + /* +@@ -379,13 +379,13 @@ + * DAEMON_MAN - nnmaster + */ + +-#define USER_MAN_DIR "/usr/man/man1" ++#define USER_MAN_DIR PREFIX "/man/man1" + #define USER_MAN_SECTION "1" + +-#define SYS_MAN_DIR "/usr/man/man1" +-#define SYS_MAN_SECTION "1m" ++#define SYS_MAN_DIR PREFIX "/man/man1" ++#define SYS_MAN_SECTION "1" + +-#define DAEMON_MAN_DIR "/usr/man/man8" ++#define DAEMON_MAN_DIR PREFIX "/man/man8" + #define DAEMON_MAN_SECTION "8" + + +@@ -445,7 +445,7 @@ + * was accepted, whereas with INN, it only takes seconds. + */ + +-#define INEWS_IS_FAST /* comment out for C-News */ ++/*#define INEWS_IS_FAST /* comment out for C-News */ + + /* + * Synchronous posting: If set this will cause NN to wait until a +@@ -457,7 +457,7 @@ + * via some sort of NNTP. + */ + +-#define SYNCHRONOUS_POSTING /* comment out for C-News */ ++/*#define SYNCHRONOUS_POSTING /* comment out for C-News */ + + /* + * PUT_TIMESTAMP_IN_SCRIPTS diff --git a/news/nn/patches/patch-ad b/news/nn/patches/patch-ad new file mode 100644 index 00000000000..b1f5a77d8a0 --- /dev/null +++ b/news/nn/patches/patch-ad @@ -0,0 +1,39 @@ +--- inst.sh.orig Mon Sep 13 19:42:25 1993 ++++ inst.sh Wed May 20 00:14:13 1998 +@@ -1,8 +1,8 @@ + + # (Large) prefix inserted above by Make + +-# BSD systems keep chown in /etc +-PATH="$PATH:/etc" ++# BSD systems keep chown in /usr/sbin ++PATH="$PATH:/usr/sbin" + + case "$1" in + mkdir) +@@ -55,7 +55,7 @@ + ;; + esac + +-set -u ++#set -u + + ( + if $NNTP +@@ -365,7 +365,6 @@ + + echo + echo "Formatting online manual $MAN" +- echo ".... (continues in background) ...." + + rm -f $MAN + +@@ -380,7 +379,7 @@ + ${AWK} -f format.awk - > $MAN + + ./inst chmod 644 $MAN +- ) & ++ ) + ;; + + splitdb) diff --git a/news/nn/pkg/PLIST b/news/nn/pkg/PLIST index dc7ab911901..bdce75fe99b 100644 --- a/news/nn/pkg/PLIST +++ b/news/nn/pkg/PLIST @@ -1,5 +1,4 @@ -lib/nn -news/lib/inews +@comment $NetBSD: PLIST,v 1.2 1998/05/19 22:26:40 tron Exp $ bin/nn bin/nnusage bin/nngrab @@ -11,16 +10,41 @@ bin/nngoback bin/nngrep bin/nnpost bin/nnbatch -man/man1/nn.1.gz -man/man1/nncheck.1.gz -man/man1/nngoback.1.gz -man/man1/nngrab.1.gz -man/man1/nngrep.1.gz -man/man1/nnpost.1.gz -man/man1/nntidy.1.gz -man/man1/nnacct.1.gz -man/man1/nnadmin.1.gz -man/man1/nnstats.1.gz -man/man1/nnusage.1.gz -man/man8/nnmaster.8.gz -man/man8/nnspew.8.gz +lib/nn/aux +lib/nn/upgrade_rc +lib/nn/conf +lib/nn/inews +lib/nn/help/adm.upgrade1 +lib/nn/help/adm.upgrade2 +lib/nn/help/adm.upgrade3 +lib/nn/help/adm.upgrade4 +lib/nn/help/adm.welcome +lib/nn/help/help.attr +lib/nn/help/help.commands +lib/nn/help/help.extended +lib/nn/help/help.help +lib/nn/help/help.map +lib/nn/help/help.menu +lib/nn/help/help.more +lib/nn/help/help.read +lib/nn/help/help.set +lib/nn/help/help.show +lib/nn/help/help.sort +lib/nn/help/help.variables +lib/nn/help/Manual +man/man1/nn.1 +man/man1/nncheck.1 +man/man1/nngoback.1 +man/man1/nngrab.1 +man/man1/nngrep.1 +man/man1/nnpost.1 +man/man1/nntidy.1 +man/man1/nnacct.1 +man/man1/nnadmin.1 +man/man1/nnstats.1 +man/man1/nnusage.1 +man/man8/nnmaster.8 +man/man8/nnspew.8 +@unexec rm -f %D/etc/nntp_server +@dirrm lib/nn/help +@dirrm lib/nn -- cgit v1.2.3