1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

A simple off-line newsreader.

Submitted by:	Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
This commit is contained in:
Satoshi Asami 1996-11-01 08:08:55 +00:00
parent eea350272c
commit 6a4ede6935
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4235
7 changed files with 1135 additions and 0 deletions

48
news/slnr/Makefile Normal file
View File

@ -0,0 +1,48 @@
# New ports collection makefile for: slnr
# Version required: 2.13
# Date created: 21 July 1996
# Whom: Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
#
# $Id$
#
DISTNAME= slnr
PKGNAME= slnr-2.13
CATEGORIES+= news
MASTER_SITES= ftp://ftp.uu.net/networking/news/readers/off-line/slnr/ \
ftp://ftp.adelaide.edu.au/pub/news/readers/off-line/slnr/
DISTFILES= part1.Z part2.Z part3.Z
MAINTAINER= ac199@freenet.hamilton.on.ca
RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip
DIST_SUBDIR= slnr
NO_WRKSUBDIR= yes
ALL_TARGET= slnr
EXTRACT_CMD= ${GZCAT}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= | sed -ne '/^\#!\/bin\/sh/,$$p' | sh
EXTRAFILES= default.dot.slnrrc \
porting.notes slnr.1 LICENSE
DOCFILES= porting.notes soup12.doc slnr.doc LICENSE
DOCFILES+= default.dot.slnrrc
post-extract:
.for l in ${EXTRAFILES}
@cp ${FILESDIR}/${l} ${WRKSRC}
.endfor
do-install:
.if !defined{NOPORTDOCS}
mkdir -p ${PREFIX}/share/doc/slnr
cd ${WRKSRC}; \
${INSTALL_DATA} ${DOCFILES} ${PREFIX}/share/doc/slnr
.endif
${INSTALL_MAN} ${WRKSRC}/slnr.1 ${PREFIX}/man/man1/slnr.1
${COMPRESS_MAN} ${PREFIX}/man/man1/slnr.1
${INSTALL_PROGRAM} ${WRKSRC}/slnr ${PREFIX}/bin
.include <bsd.port.mk>

3
news/slnr/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (part1.Z) = c5a009a700d02fb08df7843d3b42b952
MD5 (part2.Z) = 26be665e59066bc3b1219c3cdb2403af
MD5 (part3.Z) = 5599f489eb08eaea35137f8efcef62ae

1022
news/slnr/files/patch-aa Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,44 @@
This is a (hopefully complete, but possibly missing one or two small
things) list of all the changes made by the FreeBSD port. All of
these changes were either to make the package fit in better with the
UNIX paradigm (the author states that the only reason slnr compiles
on UNIX at all is to allow testing of getnews so many of the things
slnr did/does are orientated towards a DOS environment), to fix typical
porting problems, or to add some small functionality so that I would
be able to use slnr for my purposes.
Changed to look for ~/.slnrrc instead of slnr.ini (in the current
directory) if compiled with -DUNIX.
Allows C-r to cause a screen refresh in the main menu.
Uses some more temporary filenames.
Changed default editor and pager to suit FreeBSD.
Changed to look for ~/.signature instead of sig.txt (in the current
directory) if compiled with -DUNIX.
Some stuff to allow all configureable options to be set via a
compile-time default, the .slnrrc file, and the environment.
Now ignores wether the TERM environment variable is set to `ansi' or not
and depends solely upon the environment variable `ANSI' existing or not,
`ANSI=y' in your ~/.slnrrc, and the compile-time default, in that order.
Various porting snaffoos.
Fixed a bug where articles of type `b', `B', or anything else that had the
article length denoted only by a byte-offset, would be incorrectly
parsed (couldn't find the end of the article). NOTE that the result is
NOT entirely 8-bit clean as it is supposed to be, but it is better at
least it works, now.
Added option "Reply to all recipients" to keep the cc: line in the
message.
Added repfile option. NOTE repfile is relevant to the current directory.
Fixed bug that would sometimes cause the REPLIES file to be appended to
instead of overwritten if one had only email replies.

1
news/slnr/pkg-comment Normal file
View File

@ -0,0 +1 @@
A simplistic reader for SOUP (HDPF) mail and news packets.

10
news/slnr/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
This is a port of slnr (Simple Local News Reader). Slnr is intended
as a SOUP reader for non-UNIX machines so the port includes a few
modifications to make it more consistant with the UNIX paradigm. No
advanced features, such as kill-files, are available and you should,
if possible, use news-readers such as `trn' to read your news.
This does not include the `getnews' part of the "slnr package".
- Tim Vanderhoek
ac199@freenet.hamilton.on.ca

7
news/slnr/pkg-plist Normal file
View File

@ -0,0 +1,7 @@
bin/slnr
man/man1/slnr.1.gz
share/doc/slnr/LICENSE
share/doc/slnr/porting.notes
share/doc/slnr/soup12.doc
share/doc/slnr/slnr.doc
share/doc/slnr/default.dot.slnrrc