diff options
author | tv <tv> | 1999-02-22 16:12:07 +0000 |
---|---|---|
committer | tv <tv> | 1999-02-22 16:12:07 +0000 |
commit | 515b88732ec1c303088a45f790c428ede9282bb5 (patch) | |
tree | 1e3ce94969270c26ca90b634b30ac7272a19f723 | |
parent | a2762b8f701f9818c835ca711ff57eed8e5d9d3d (diff) | |
download | pkgsrc-515b88732ec1c303088a45f790c428ede9282bb5.tar.gz |
A package for trn, the threaded version of the classic rn newsreader.
-rw-r--r-- | news/trn/Makefile | 24 | ||||
-rw-r--r-- | news/trn/files/config.sh | 218 | ||||
-rw-r--r-- | news/trn/files/md5 | 3 | ||||
-rw-r--r-- | news/trn/patches/patch-aa | 20 | ||||
-rw-r--r-- | news/trn/pkg/COMMENT | 1 | ||||
-rw-r--r-- | news/trn/pkg/DESCR | 18 | ||||
-rw-r--r-- | news/trn/pkg/PLIST | 24 |
7 files changed, 308 insertions, 0 deletions
diff --git a/news/trn/Makefile b/news/trn/Makefile new file mode 100644 index 00000000000..62c354baa47 --- /dev/null +++ b/news/trn/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/02/22 16:12:07 tv Exp $ +# + +DISTNAME= trn-3.6 +CATEGORIES= news +MASTER_SITES= ftp://ftp.wustl.edu/packages/news/readers/trn/ + +MAINTAINER= packages@netbsd.org + +DEPENDS= nntpclnt-1.6.1:../../news/nntpclnt + +HAS_CONFIGURE= yes +CONFIGURE_SCRIPT= Configure +CONFIGURE_ENV= PREFIX=${PREFIX} +CONFIGURE_ARGS= -S + +pre-configure: + @${CP} ${FILESDIR}/config.sh ${WRKSRC} + +post-install: + @${LN} -sf trn ${PREFIX}/bin/rn + @${LN} -sf trn.1 ${PREFIX}/man/man1/rn.1 + +.include "../../mk/bsd.pkg.mk" diff --git a/news/trn/files/config.sh b/news/trn/files/config.sh new file mode 100644 index 00000000000..98d5d8f741a --- /dev/null +++ b/news/trn/files/config.sh @@ -0,0 +1,218 @@ +#!/bin/sh +# +# This file was produced by running the Configure script. It holds all the +# definitions figured out by Configure. Should you modify one of these values, +# do not forget to propagate your changes by running "Configure -der". You may +# instead choose to run each of the .SH files by yourself, or "Configure -S". +# + +# Configuration time: Mon Feb 22 10:01:25 EST 1999 + +d_bsd='define' +d_eunice='undef' +d_xenix='undef' +eunicefix=':' +Mcc='Mcc' +awk='awk' +basename='basename' +bash='bash' +cat='cat' +cp='cp' +cpp='cpp' +csh='csh' +date='date' +diff='diff' +echo='echo' +ed='ed' +egrep='egrep' +expr='expr' +grep='grep' +inews='inews' +ispell='ispell' +ksh='ksh' +less='less' +lint='' +mail='mail' +metamail='metamail' +mhn='mhn' +mkdir='mkdir' +more='more' +munpack='munpack' +mv='mv' +nroff='nroff' +pg='pg' +rm='rm' +rmail='rmail' +sed='sed' +sendmail='sendmail' +smail='smail' +sort='sort' +spell='spell' +tail='tail' +test='test' +tr='tr' +uname='uname' +uniq='uniq' +uuname='uuname' +vi='vi' +vspell='' +who='' +hint='recommended' +myuname='netbsd duhnet.net 1.3i netbsd 1.3i (duh) #0: wed nov 25 14:19:32 est 1998 tv@alpha.home.duh.org:/usr/src/netbsd/src/sys/arch/alpha/compile/duh alpha ' +srcdir='.' +vincludes='' +vpath='.' +Id='$Id' +Log='$Log' +active='none' +acttimes='nntp' +d_acttimes='define' +myactive='.falseactive' +bin=$PREFIX'/bin' +binexp=$PREFIX'/bin' +installbin=$PREFIX'/bin' +cc='cc' +ccflags='' +cppflags='' +ldflags='' +lkflags='' +optimize="$CFLAGS" +cf_by='tv' +cf_time='Mon Feb 22 10:01:25 EST 1999' +contains='grep' +cpplast='-' +cppminus='-' +cpprun='cc -E' +cppstdin='cc -E' +d_ftime='undef' +aphostcmd='' +d_gethname='undef' +d_phostcmd='undef' +d_uname='undef' +d_getpwent='define' +d_getcwd='undef' +d_getwd='define' +d_havetlib='define' +termlib='-lcurses' +d_ignoreorg='undef' +d_internet='define' +d_memcmp='define' +d_memcpy='define' +d_memset='define' +d_mimeshow='define' +d_mimestore='define' +mimeshow="metamail %A" +mimestore="munpack" +d_newsadm='define' +newsadmin='news' +d_nntp='define' +d_xdata='define' +d_genauth='define' +servername=$PREFIX'/etc/nntp/server' +d_nolnbuf='undef' +d_normsig='define' +jobslib='' +d_novoid='undef' +void='' +d_portable='define' +d_rdchk='undef' +d_rename='define' +d_sigblock='define' +d_sighold='undef' +d_sizet='undef' +d_strccmp='define' +d_strchr='define' +d_strftime='define' +strftimec='' +strftimeo='' +d_libndir='undef' +d_usendir='undef' +libndir='' +ndirc='' +ndiro='' +d_vfork='define' +d_voidsig='define' +signal_t='void' +defeditor='/usr/bin/vi' +filexp=$PREFIX'/libdata/trn/filexp' +d_dirnamlen='' +i_dirent='define' +i_ptem='undef' +i_stdlib='define' +i_string='define' +strings='/usr/include/string.h' +i_sysdir='define' +d_voidtty='' +i_bsdioctl='' +i_sysfilio='define' +i_sysioctl='define' +i_syssockio='' +i_sysndir='undef' +i_sgtty='undef' +i_termio='undef' +i_termios='define' +i_systime='define' +i_time='undef' +i_unistd='define' +i_vfork='undef' +ispell_options='' +ispell_prg='none' +libc='/usr/lib/libc.so' +plibpth='/usr/ccs/lib /usr/lib /usr/ucblib /usr/local/lib' +xlibpth='/usr/lib/386 /lib/386' +libs=' ' +citydist='none' +cntrydist='none' +contdist='none' +locdist='none' +multistatedist='none' +orgdist='none' +statedist='none' +mailer='/usr/sbin/sendmail' +mailfile='/var/mail/%L' +installmansrc=$PREFIX'/man/man1' +manext='1' +mansrc=$PREFIX'/man/man1' +mansrcexp=$PREFIX'/man/man1' +mboxchar='F' +c='' +n='-n' +d_berknames='define' +d_passnames='define' +d_usgnames='undef' +nametype='bsd' +inewsloc='inews' +newslib='/tmp' +newslibexp='/tmp' +newsspool='/tmp' +orgname=$PREFIX'/etc/nntp/organization' +package='trn' +spackage='Trn' +pager='/usr/bin/less' +phost=$PREFIX'/etc/nntp/domainname' +phostcmd='' +prefshell='/bin/sh' +installprivlib=$PREFIX'/libdata/trn' +privlib=$PREFIX'/libdata/trn' +privlibexp=$PREFIX'/libdata/trn' +rootid='0' +sharpbang='#!' +shsharp='true' +spitshell='cat' +startsh='#!/bin/sh' +sysman='/usr/share/man/man1' +d_usemt='define' +d_useov='define' +overviewdir='/tmp' +threaddir='/tmp' +trn_init='FALSE' +trn_select='TRUE' +nm_opt='' +runnm='true' +usenm='true' +incpath='' +mips='' +mips_type='' +usrinc='/usr/include' +PATCHLEVEL="3.6 (20 Nov 1994)" +CONFIG=true diff --git a/news/trn/files/md5 b/news/trn/files/md5 new file mode 100644 index 00000000000..6f41aad9433 --- /dev/null +++ b/news/trn/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/02/22 16:12:07 tv Exp $ + +MD5 (trn-3.6.tar.gz) = 0337ebc89f64825bc4ce2fb12e5b96a7 diff --git a/news/trn/patches/patch-aa b/news/trn/patches/patch-aa new file mode 100644 index 00000000000..a05569b6aac --- /dev/null +++ b/news/trn/patches/patch-aa @@ -0,0 +1,20 @@ +--- nntpinit.c.orig Mon Feb 22 10:22:45 1999 ++++ nntpinit.c Mon Feb 22 10:33:48 1999 +@@ -25,6 +25,7 @@ + + #include <sys/socket.h> + #include <netinet/in.h> ++#include <arpa/inet.h> + #ifdef NONETDB + # define IPPORT_NNTP ((unsigned short) 119) + #else +@@ -44,7 +45,9 @@ + #include <netdnet/dnetdb.h> + #endif /* DECNET */ + ++#ifndef __NetBSD__ + unsigned long inet_addr _((char *x)); ++#endif + int get_tcp_socket _((char *machine)); + + int diff --git a/news/trn/pkg/COMMENT b/news/trn/pkg/COMMENT new file mode 100644 index 00000000000..5b244d14668 --- /dev/null +++ b/news/trn/pkg/COMMENT @@ -0,0 +1 @@ +Threaded version of rn, the classic news reader. diff --git a/news/trn/pkg/DESCR b/news/trn/pkg/DESCR new file mode 100644 index 00000000000..9215a006230 --- /dev/null +++ b/news/trn/pkg/DESCR @@ -0,0 +1,18 @@ +Trn is Threaded RN -- a newsreader that uses an article's references to +order the discussions in a very natural, reply-ordered sequence called +threads. Having the replies associated with their parent articles not +only makes following the discussion easier, but also makes it easy to back- +track and (re-)read a specific discussion from the beginning. Trn also +has a visual representation of the current thread in the upper right corner +of the header, which will give you a feel for how the discussion is going +and how the current article is related to the last one you read. + +In addition, a thread selector makes it easy to browse through a large +group looking for interesting articles. You can even browse through the +articles you've already read and select the one(s) you wish to read again. +Other nice features include the extract commands for the source and binary +groups, thread-oriented kill directives, a better newgroup finding strategy, +and lots more. + +Trn includes a program named "rn", which is backwards-compatible and +starts up trn in "non-threaded" mode. diff --git a/news/trn/pkg/PLIST b/news/trn/pkg/PLIST new file mode 100644 index 00000000000..cfaee37652f --- /dev/null +++ b/news/trn/pkg/PLIST @@ -0,0 +1,24 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/02/22 16:12:07 tv Exp $ +bin/Pnews +bin/Rnmail +bin/newsetup +bin/newsgroups +bin/nntplist +bin/rn +bin/trn +bin/trn-artchk +libdata/trn/INIT +libdata/trn/Pnews.header +libdata/trn/Speller +libdata/trn/filexp +libdata/trn/makedir +libdata/trn/mbox.saver +libdata/trn/newsnews +libdata/trn/norm.saver +@dirrm libdata/trn +man/man1/Pnews.1 +man/man1/Rnmail.1 +man/man1/newsetup.1 +man/man1/newsgroups.1 +man/man1/rn.1 +man/man1/trn.1 |