Date: Wed, 9 Jul 2003 21:16:02 +0200 (CEST) From: Pav Lucistnik <pav@oook.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/54272: new port: misc/torrentsniff - BitTorrent utility Message-ID: <200307091916.h69JG2sK009650@hood.oook.cz> Resent-Message-ID: <200307091920.h69JKI5K036221@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 54272 >Category: ports >Synopsis: new port: misc/torrentsniff - BitTorrent utility >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 09 12:20:17 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Pav Lucistnik >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD hood.oook.cz 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Fri Jul 4 21:23:06 CEST 2003 root@hood.oook.cz:/usr/obj/usr/src/sys/PAV i386 >Description: TorrentSniff is a perl script that reads .torrent file, connects to tracker and prints the count of users connected. This is my first perl port, so I hope I did it right :) I haven't added p5- prefix because it's not a CPAN module. >How-To-Repeat: >Fix: # 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: # # torrentsniff # torrentsniff/Makefile # torrentsniff/distinfo # torrentsniff/pkg-plist # torrentsniff/pkg-descr # echo c - torrentsniff mkdir -p torrentsniff > /dev/null 2>&1 echo x - torrentsniff/Makefile sed 's/^X//' >torrentsniff/Makefile << 'END-of-torrentsniff/Makefile' X# New ports collection makefile for: torrentsniff X# Date created: 06 July 2003 X# Whom: Pav Lucistnik <pav@oook.cz> X# X# $FreeBSD$ X# X XPORTNAME= torrentsniff XPORTVERSION= 0.2.0 XCATEGORIES= net perl5 XMASTER_SITES= http://www.highprogrammer.com/alan/perl/ X XMAINTAINER= pav@oook.cz XCOMMENT= Commandline tool for getting status of torrent X XRUN_DEPENDS= ${SITE_PERL}/Digest/HMAC_SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \ X ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww X XUSE_PERL5= yes XNO_BUILD= yes X Xpost-patch: X ${PERL} -pi -e "s#/usr/local/bin/perl#${PERL5}#" ${WRKSRC}/torrentsniff X Xdo-install: X ${INSTALL_SCRIPT} ${WRKSRC}/torrentsniff ${LOCALBASE}/bin X ${MKDIR} ${SITE_PERL}/BitTorrent X ${INSTALL_DATA} ${WRKSRC}/BitTorrent/BDecode.pm ${SITE_PERL}/BitTorrent X X.include <bsd.port.mk> END-of-torrentsniff/Makefile echo x - torrentsniff/distinfo sed 's/^X//' >torrentsniff/distinfo << 'END-of-torrentsniff/distinfo' XMD5 (torrentsniff-0.2.0.tar.gz) = 1ad64e179c269f70ce0732b343ef4d96 END-of-torrentsniff/distinfo echo x - torrentsniff/pkg-plist sed 's/^X//' >torrentsniff/pkg-plist << 'END-of-torrentsniff/pkg-plist' Xbin/torrentsniff X%%SITE_PERL%%/BitTorrent/BDecode.pm X@dirrm %%SITE_PERL%%/BitTorrent END-of-torrentsniff/pkg-plist echo x - torrentsniff/pkg-descr sed 's/^X//' >torrentsniff/pkg-descr << 'END-of-torrentsniff/pkg-descr' XTorrentSniff is a command line Perl program that reads a BitTorrent .torrent Xfile from the local file system or from a URL and reports on the status of the Xtorrent. X XTorrentSniff is based on an early version of TorrentSpy. Reporting seed and Xleech numbers works only with some tracker implementations. X XWWW: http://www.highprogrammer.com/alan/perl/torrentsniff.html END-of-torrentsniff/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307091916.h69JG2sK009650>