Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2006 14:25:58 -0500 (CDT)
From:      Tim Welch <ports@thepentagon.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97643: New Port: news/p5-nzbperl: A simple nzb downloader script
Message-ID:  <200605221925.k4MJPwea040210@pluto.thepentagon.org>
Resent-Message-ID: <200605221930.k4MJUKAd068894@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97643
>Category:       ports
>Synopsis:       New Port: news/p5-nzbperl: A simple nzb downloader script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 22 19:30:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Tim Welch
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD 6.1-RELEASE

>Description:
	Nzbperl is an nzb downloader script written in perl. It features
on-the-fly bandwidth control, multiple servers, automated parts downloading,
assembling and decoding, yenc and uuencoded file decoding with a very
small footprint.

>How-To-Repeat:

>Fix:

--- nzbperl.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-nzbperl
#	p5-nzbperl/Makefile
#	p5-nzbperl/distinfo
#	p5-nzbperl/pkg-descr
#	p5-nzbperl/pkg-message
#
echo c - p5-nzbperl
mkdir -p p5-nzbperl > /dev/null 2>&1
echo x - p5-nzbperl/Makefile
sed 's/^X//' >p5-nzbperl/Makefile << 'END-of-p5-nzbperl/Makefile'
X# New ports collection makefile for:	p5-nzbperl
X# Date created:				20 May 2006
X# Whom:					Tim Welch <ports@thepentagon.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	nzbperl
XPORTVERSION=	0.6.8
XCATEGORIES=	news
XMASTER_SITES=	http://noisybox.net/computers/nzbperl/
XDISTNAME=	nzbperl.pl
XEXTRACT_SUFX=
X
XMAINTAINER=	ports@thepentagon.org
XCOMMENT=	A perl script for downloading nzb files
X
XRUN_DEPENDS=	${SITE_PERL}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM \
X		${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
X		${LOCALBASE}/bin/uudeview:${PORTSDIR}/converters/uudeview
X
XPLIST_FILES=	bin/nzbperl
XNO_BUILD=	yes
XUSE_PERL5_RUN=	yes
X
X.if defined(WITH_SSL)
XRUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay
X.endif
X
Xdo-extract:
X	@${MKDIR} ${WRKDIR}
X	@${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR}
X	@${REINPLACE_CMD} -e \
X		"s,#!/usr/bin/perl -w,#!/usr/local/bin/perl -w," \
X		${WRKDIR}/nzbperl.pl
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-p5-nzbperl/Makefile
echo x - p5-nzbperl/distinfo
sed 's/^X//' >p5-nzbperl/distinfo << 'END-of-p5-nzbperl/distinfo'
XMD5 (nzbperl.pl) = 70e64b7cd4ff9c7c098bf8dffeb62578
XSHA256 (nzbperl.pl) = 6a116e647b45d4ccecd06f20a7363e4d69f20082df60fe373fb9c219cabe9185
XSIZE (nzbperl.pl) = 99238
END-of-p5-nzbperl/distinfo
echo x - p5-nzbperl/pkg-descr
sed 's/^X//' >p5-nzbperl/pkg-descr << 'END-of-p5-nzbperl/pkg-descr'
XNzbPerl is a perl script for downloading nzb files. It supports automated
Xparsing and sorting of nzb files, multiple servers, automated downloading,
Xassmbling and decoding of message parts, and has user controlled bandwidth 
Xthrottling during runtime.
X
XWWW: http://noisybox.net/computers/nzbperl/
END-of-p5-nzbperl/pkg-descr
echo x - p5-nzbperl/pkg-message
sed 's/^X//' >p5-nzbperl/pkg-message << 'END-of-p5-nzbperl/pkg-message'
X================================================================
X
XNOTE:
X	Nzbperl prefers a threaded perl, which FreeBSD does not
Xship with. Either lang/perl5.8 has to be compiled with 
XWITH_THREADS=1 or nzbperl must be run with -dthreadct=0. Note
Xthat nzbperl will pause downloading while each file part is
Xdecoded if a threaded perl is not used.
X
X================================================================
END-of-p5-nzbperl/pkg-message
exit
--- nzbperl.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605221925.k4MJPwea040210>