diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2009-08-26 10:00:38 -0500 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:41:17 +0200 |
commit | 5a12e7c134274dba706667107d10d231517d3e05 (patch) | |
tree | 55718d5acb710fde798d9f38d0bbaf594ed4b296 /source/n/trn | |
download | current-5a12e7c134274dba706667107d10d231517d3e05.tar.gz |
Slackware 13.0slackware-13.0
Wed Aug 26 10:00:38 CDT 2009
Slackware 13.0 x86_64 is released as stable! Thanks to everyone who
helped make this release possible -- see the RELEASE_NOTES for the
credits. The ISOs are off to the replicator. This time it will be a
6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD.
We're taking pre-orders now at store.slackware.com. Please consider
picking up a copy to help support the project. Once again, thanks to
the entire Slackware community for all the help testing and fixing
things and offering suggestions during this development cycle.
As always, have fun and enjoy! -P.
Diffstat (limited to 'source/n/trn')
-rw-r--r-- | source/n/trn/config.sh | 220 | ||||
-rw-r--r-- | source/n/trn/config.x86_64.sh | 220 | ||||
-rw-r--r-- | source/n/trn/slack-desc | 19 | ||||
-rwxr-xr-x | source/n/trn/trn.SlackBuild | 79 |
4 files changed, 538 insertions, 0 deletions
diff --git a/source/n/trn/config.sh b/source/n/trn/config.sh new file mode 100644 index 00000000..c202d8f4 --- /dev/null +++ b/source/n/trn/config.sh @@ -0,0 +1,220 @@ +#!/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: Wed Mar 6 18:27:57 PST 2002 +# Configured by: root +# Target system: linux fuzzy 1.1.73 #1 mon dec 19 21:32:00 cst 1994 i486 + +d_bsd='undef' +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='previous' +myuname='linux fuzzy 1.1.73 #1 mon dec 19 21:32:00 cst 1994 i486 ' +srcdir='.' +vincludes='' +vpath='.' +Id='$Id' +Log='$Log' +active='none' +acttimes='nntp' +d_acttimes='define' +myactive='.falseactive' +bin='/usr/bin' +binexp='/usr/bin' +installbin='/usr/bin' +cc='gcc' +ccflags='' +cppflags='' +ldflags='-s' +lkflags='' +optimize='-O2' +cf_by='root' +cf_time='Wed Mar 6 18:27:57 PST 2002' +contains='grep' +cpplast='-' +cppminus='-' +cpprun='gcc -E' +cppstdin='gcc -E' +d_ftime='define' +aphostcmd='' +d_gethname='undef' +d_phostcmd='undef' +d_uname='undef' +d_getpwent='define' +d_getcwd='undef' +d_getwd='define' +d_havetlib='define' +termlib='-ltermcap' +d_ignoreorg='undef' +d_internet='define' +d_memcmp='define' +d_memcpy='define' +d_memset='define' +d_mimeshow='undef' +d_mimestore='undef' +mimeshow="none" +mimestore="none" +d_newsadm='define' +newsadmin='news' +d_nntp='define' +d_xdata='define' +d_genauth='define' +servername='/etc/nntpserver' +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='define' +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='/usr/lib/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='undef' +i_sysioctl='define' +i_syssockio='' +i_sysndir='undef' +i_sgtty='undef' +i_termio='undef' +i_termios='define' +i_systime='define' +i_time='define' +i_unistd='define' +i_vfork='undef' +ispell_options='-x' +ispell_prg='/usr/bin/ispell' +libc='/usr/lib/libc.a' +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/spool/mail/%L' +installmansrc='/usr/man/man1' +manext='1' +mansrc='/usr/man/man1' +mansrcexp='/usr/man/man1' +mboxchar='F' +c='' +n='-n' +d_berknames='define' +d_passnames='define' +d_usgnames='undef' +nametype='bsd' +inewsloc='/usr/bin/inews' +newslib='/tmp' +newslibexp='/tmp' +newsspool='/tmp' +orgname='/etc/organization' +package='trn' +spackage='Trn' +pager='/bin/more' +phost='/etc/HOSTNAME' +phostcmd='' +prefshell='/bin/bash' +installprivlib='/usr/lib/trn' +privlib='/usr/lib/trn' +privlibexp='/usr/lib/trn' +rootid='0' +sharpbang='#!' +shsharp='true' +spitshell='cat' +startsh='#!/bin/sh' +sysman='/usr/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/source/n/trn/config.x86_64.sh b/source/n/trn/config.x86_64.sh new file mode 100644 index 00000000..d6c8f532 --- /dev/null +++ b/source/n/trn/config.x86_64.sh @@ -0,0 +1,220 @@ +#!/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: Wed Mar 6 18:27:57 PST 2002 +# Configured by: root +# Target system: linux fuzzy 1.1.73 #1 mon dec 19 21:32:00 cst 1994 i486 + +d_bsd='undef' +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='previous' +myuname='linux fuzzy 1.1.73 #1 mon dec 19 21:32:00 cst 1994 i486 ' +srcdir='.' +vincludes='' +vpath='.' +Id='$Id' +Log='$Log' +active='none' +acttimes='nntp' +d_acttimes='define' +myactive='.falseactive' +bin='/usr/bin' +binexp='/usr/bin' +installbin='/usr/bin' +cc='gcc' +ccflags='' +cppflags='' +ldflags='-s' +lkflags='' +optimize='-O2 -fPIC' +cf_by='root' +cf_time='Wed Mar 6 18:27:57 PST 2002' +contains='grep' +cpplast='-' +cppminus='-' +cpprun='gcc -E' +cppstdin='gcc -E' +d_ftime='define' +aphostcmd='' +d_gethname='undef' +d_phostcmd='undef' +d_uname='undef' +d_getpwent='define' +d_getcwd='undef' +d_getwd='define' +d_havetlib='define' +termlib='-ltermcap' +d_ignoreorg='undef' +d_internet='define' +d_memcmp='define' +d_memcpy='define' +d_memset='define' +d_mimeshow='undef' +d_mimestore='undef' +mimeshow="none" +mimestore="none" +d_newsadm='define' +newsadmin='news' +d_nntp='define' +d_xdata='define' +d_genauth='define' +servername='/etc/nntpserver' +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='define' +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='/usr/lib64/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='undef' +i_sysioctl='define' +i_syssockio='' +i_sysndir='undef' +i_sgtty='undef' +i_termio='undef' +i_termios='define' +i_systime='define' +i_time='define' +i_unistd='define' +i_vfork='undef' +ispell_options='-x' +ispell_prg='/usr/bin/ispell' +libc='/usr/lib64/libc.a' +plibpth='/usr/ccs/lib64 /usr/lib64 /usr/ucblib64 /usr/local/lib64' +xlibpth='/usr/lib64/x86_64 /lib64/x86_64' +libs=' ' +citydist='none' +cntrydist='none' +contdist='none' +locdist='none' +multistatedist='none' +orgdist='none' +statedist='none' +mailer='/usr/sbin/sendmail' +mailfile='/var/spool/mail/%L' +installmansrc='/usr/man/man1' +manext='1' +mansrc='/usr/man/man1' +mansrcexp='/usr/man/man1' +mboxchar='F' +c='' +n='-n' +d_berknames='define' +d_passnames='define' +d_usgnames='undef' +nametype='bsd' +inewsloc='/usr/bin/inews' +newslib='/tmp' +newslibexp='/tmp' +newsspool='/tmp' +orgname='/etc/organization' +package='trn' +spackage='Trn' +pager='/bin/more' +phost='/etc/HOSTNAME' +phostcmd='' +prefshell='/bin/bash' +installprivlib='/usr/lib64/trn' +privlib='/usr/lib64/trn' +privlibexp='/usr/lib64/trn' +rootid='0' +sharpbang='#!' +shsharp='true' +spitshell='cat' +startsh='#!/bin/sh' +sysman='/usr/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/source/n/trn/slack-desc b/source/n/trn/slack-desc new file mode 100644 index 00000000..b6e63885 --- /dev/null +++ b/source/n/trn/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +trn: trn (a threaded newsreader) +trn: +trn: A threaded news reader for reading a remote NNTP server. Compiled to +trn: use Overviews or mthreads, and to read news through your NNTP server. +trn: Be sure to set NNTPSERVER in your /etc/profile or /etc/csh.login. +trn: +trn: +trn: +trn: +trn: +trn: diff --git a/source/n/trn/trn.SlackBuild b/source/n/trn/trn.SlackBuild new file mode 100755 index 00000000..ed9b3146 --- /dev/null +++ b/source/n/trn/trn.SlackBuild @@ -0,0 +1,79 @@ +#!/bin/sh + +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, MN, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +VERSION=3.6 +ARCH=${ARCH:-x86_64} +BUILD=${BUILD:-2} + +CWD=$(pwd) +TMP=${TMP:-/tmp} +PKG=$TMP/package-trn + +rm -rf $PKG +mkdir -p $TMP $PKG + +# Explode the package framework: +cd $PKG +explodepkg $CWD/_trn.tar.gz + +echo "+============================================+" +echo "| trn-$VERSION for NNTP (with mthreads/Overviews) |" +echo "+============================================+" +cd $TMP +rm -rf trn-$VERSION +tar xvf $CWD/trn-$VERSION.tar.gz || exit 1 +cd trn-$VERSION || exit 1 +#zcat $CWD/trn-$VERSION.nntp.diff.gz | patch -p1 +if [ "$ARCH" = "x86_64" ]; then + zcat $CWD/config.x86_64.sh.gz > config.sh +else + zcat $CWD/config.sh.gz > config.sh +fi +# Here, just take the defaults. If you get a "whoa there!", use +# the newly detected value, not the old one. +./Configure -f config.sh + +make clean +make || exit 1 + +cat Pnews > $PKG/usr/bin/Pnews +cat Rnmail > $PKG/usr/bin/Rnmail +cat newsetup > $PKG/usr/bin/newsetup +cat newsgroups > $PKG/usr/bin/newsgroups +cat nntplist > $PKG/usr/bin/nntplist +cat trn > $PKG/usr/bin/trn +cat trn-artchk > $PKG/usr/bin/trn-artchk +cat trn > $PKG/usr/bin/trn +cat Pnews.1 | gzip -9c > $PKG/usr/man/man1/Pnews.1.gz +cat Rnmail.1 | gzip -9c > $PKG/usr/man/man1/Rnmail.1.gz +cat newsetup.1 | gzip -9c > $PKG/usr/man/man1/newsetup.1.gz +cat newsgroups.1 | gzip -9c > $PKG/usr/man/man1/newsgroups.1.gz +cat trn.1 | gzip -9c > $PKG/usr/man/man1/trn.1.gz + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +# Build the package: +cd $PKG +/sbin/makepkg -l y -c n $TMP/trn-$VERSION-$ARCH-$BUILD.txz + |