Threaded news reader

This commit is contained in:
espie 2000-12-23 12:11:37 +00:00
parent da394bb67a
commit a0ea077fa6
7 changed files with 112 additions and 0 deletions

36
news/trn/Makefile Normal file
View File

@ -0,0 +1,36 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/12/23 12:11:37 espie Exp $
CATEGORIES=news
MAINTAINER= Marc Espie <espie@openbsd.org>
NEED_VERSION=1.346
MASTER_SITES=${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=trn
V=74
DISTNAME=trn4-test$V
PKGNAME=trn-4.0.$V
PERMIT_PACKAGE_FTP=Yes
PERMIT_DISTFILES_FTP=Yes
PERMIT_DISTFILES_CDROM=Yes
# Technically, we could put trn on CD-Rom, provided we include the distfile
# as well...
PERMIT_PACKAGE_CDROM=No
CONFIGURE_STYLE=simple
CONFIGURE_SCRIPT=Configure
CONFIGURE_ARGS=-dse -Doptimize=${CFLAGS} -Dlocal=${PREFIX}
SEPARATE_BUILD=concurrent
pre-configure:
cp ${FILESDIR}/openbsd-hints ${WRKSRC}/hints/openbsd.sh
FAKE_FLAGS= \
rnbin=${WRKINST}${PREFIX}/bin \
rnlib=${WRKINST}${PREFIX}/lib/trn \
inewsbin=${WRKINST}${PREFIX}/bin \
mansrc=${WRKINST}${PREFIX}/man/man1 \
installfilexp=${WRKINST}${PREFIX}/lib/trn/filexp
.include <bsd.port.mk>

3
news/trn/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (trn4-test74.tar.gz) = f71912784c83f884c330502ed03a9853
RMD160 (trn4-test74.tar.gz) = 317bdf708c5ac0fb92158ddba7aba6756b37db54
SHA1 (trn4-test74.tar.gz) = 8dc5f96c07d2379ae04584c1e9e79027b8a411f7

View File

@ -0,0 +1,9 @@
# $OpenBSD: openbsd-hints,v 1.1.1.1 2000/12/23 12:11:39 espie Exp $
orgname="/etc/organization"
d_nntp='define'
d_local='undef'
d_portable='define'
phost='.'
# get ready to use ispell, don't depend on it being installed
ispell_prg='ispell'
ispell_options='x'

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-Configure,v 1.1.1.1 2000/12/23 12:11:39 espie Exp $
--- Configure.orig Mon Sep 21 06:50:59 1998
+++ Configure Wed Dec 20 17:39:31 2000
@@ -855,7 +855,7 @@ cat >extract <<'EOS'
CONFIG=true
echo "Doing variable substitutions on .SH files..."
if test -f $src/MANIFEST; then
- set x `awk '$1 ~ /.SH$/ {print $1}' $src/MANIFEST | fgrep -v newsnews`
+ set x `awk '$1 ~ /.SH$/ {print $1}' $src/MANIFEST | egrep -v '(newsnews|environment)'`
else
echo "(Looking for .SH files under the source directory.)"
set x `(cd $src; find . -name "*.SH" -print)`
@@ -1574,6 +1574,9 @@ EOM
esac
;;
netbsd*) osname=netbsd
+ osvers="$3"
+ ;;
+ openbsd*) osname=openbsd
osvers="$3"
;;
bsd386) osname=bsd386

1
news/trn/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
threaded newsreader

7
news/trn/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
Trn is a text-only newsreader with good threads support.
The `beta' 4.x release has been beta long enough that it is stable
for most uses.
Due to configuration issues, this package only handles NNTP news access.
Set the NNTPSERVER environment variable to your newsfeed to use it.

34
news/trn/pkg/PLIST Normal file
View File

@ -0,0 +1,34 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2000/12/23 12:11:40 espie Exp $
bin/Pnews
bin/Rnmail
bin/inews
bin/nntplist
bin/trn
bin/trn-artchk
lib/trn/HelpFiles/changelog
lib/trn/HelpFiles/config/environment
lib/trn/HelpFiles/config/index
lib/trn/HelpFiles/config/macros
lib/trn/HelpFiles/config/options
lib/trn/HelpFiles/hints
lib/trn/HelpFiles/quickstart
lib/trn/HelpFiles/samples/access
lib/trn/HelpFiles/samples/index
lib/trn/HelpFiles/samples/trnrc
lib/trn/HelpFiles/top
lib/trn/INIT
lib/trn/Pnews.header
lib/trn/Speller
lib/trn/access.def
lib/trn/filexp
lib/trn/makedir
lib/trn/mbox.saver
lib/trn/newsnews
lib/trn/norm.saver
man/man1/Pnews.1
man/man1/Rnmail.1
man/man1/trn.1
@dirrm lib/trn/HelpFiles/samples
@dirrm lib/trn/HelpFiles/config
@dirrm lib/trn/HelpFiles
@dirrm lib/trn