Index: head/net-p2p/Makefile =================================================================== --- head/net-p2p/Makefile (revision 420188) +++ head/net-p2p/Makefile (revision 420189) @@ -1,110 +1,111 @@ # $FreeBSD$ # - COMMENT = peer-to-peer network applications + COMMENT = Peer-to-peer network applications SUBDIR += amule SUBDIR += amule-devel SUBDIR += bitcoin SUBDIR += bitcoin-daemon SUBDIR += bitcoin-utils SUBDIR += bitflu SUBDIR += bitmessage SUBDIR += bnbt SUBDIR += btpd SUBDIR += btsync SUBDIR += cpuminer SUBDIR += createtorrent SUBDIR += ctcs SUBDIR += ctorrent SUBDIR += dclib SUBDIR += deluge SUBDIR += digitalcoin SUBDIR += dogecoin SUBDIR += ed2k SUBDIR += edonkey-tool-hash SUBDIR += eiskaltdcpp-cli SUBDIR += eiskaltdcpp-daemon SUBDIR += eiskaltdcpp-data SUBDIR += eiskaltdcpp-gtk SUBDIR += eiskaltdcpp-lib SUBDIR += eiskaltdcpp-qt SUBDIR += frost SUBDIR += gkremldk SUBDIR += gnewtellium SUBDIR += gnunet SUBDIR += gnunet-gtk SUBDIR += go-ethereum SUBDIR += gtk-gnutella SUBDIR += gtorrentviewer SUBDIR += hs-torrent SUBDIR += jigdo SUBDIR += ktorrent SUBDIR += libbt SUBDIR += liberator SUBDIR += libktorrent SUBDIR += libpdtp SUBDIR += libtorrent SUBDIR += libtorrent-rasterbar SUBDIR += libtorrent-rasterbar-python SUBDIR += linuxdcpp SUBDIR += litecoin SUBDIR += litecoin-daemon SUBDIR += litecoin-utils SUBDIR += lopster SUBDIR += microdc2 SUBDIR += minder SUBDIR += mktorrent SUBDIR += mldonkey SUBDIR += mldonkey-core SUBDIR += mldonkey-gui SUBDIR += namecoin SUBDIR += namecoin-daemon SUBDIR += napshare SUBDIR += ncdc SUBDIR += opendchub SUBDIR += p5-Net-BitTorrent SUBDIR += p5-Net-BitTorrent-File SUBDIR += p5-Net-BitTorrent-PeerPacket SUBDIR += p5-Net-DirectConnect SUBDIR += p5-WWW-BitTorrent SUBDIR += phex SUBDIR += py-py2play SUBDIR += py-transmissionrpc SUBDIR += py-vertex SUBDIR += qbittorrent SUBDIR += qbittorrent-nox11 SUBDIR += retroshare SUBDIR += rtgui SUBDIR += rtorrent SUBDIR += shx SUBDIR += sonarr SUBDIR += squall + SUBDIR += torrentcheck SUBDIR += torrentsniff SUBDIR += transmission SUBDIR += transmission-cli SUBDIR += transmission-daemon SUBDIR += transmission-gtk SUBDIR += transmission-qt4 SUBDIR += transmission-remote-gui SUBDIR += tribler SUBDIR += twister SUBDIR += uhub SUBDIR += unworkable SUBDIR += valknut SUBDIR += verlihub SUBDIR += verlihub-plugins SUBDIR += verlihub-plugins-chatroom SUBDIR += verlihub-plugins-floodprotect SUBDIR += verlihub-plugins-forbid SUBDIR += verlihub-plugins-iplog SUBDIR += verlihub-plugins-isp SUBDIR += verlihub-plugins-luascript SUBDIR += verlihub-plugins-messanger SUBDIR += verlihub-plugins-stats SUBDIR += vuze SUBDIR += xnap SUBDIR += zetacoin SUBDIR += zetacoin-nox11 .include Index: head/net-p2p/torrentcheck/Makefile =================================================================== --- head/net-p2p/torrentcheck/Makefile (nonexistent) +++ head/net-p2p/torrentcheck/Makefile (revision 420189) @@ -0,0 +1,41 @@ +# Created by: Alexey Dokuchaev +# $FreeBSD$ + +PORTNAME= torrentcheck +PORTVERSION= 1.00 +CATEGORIES= net-p2p +MASTER_SITES= SF/${PORTNAME} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} readme.txt +DIST_SUBDIR= ${PORTNAME} +EXTRACT_ONLY= ${_DISTFILES:N*.txt} + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Command-line torrent viewer and hash checker + +LICENSE= PD + +USES= zip +NO_WRKSUBDIR= yes + +PLIST_FILES= bin/${PORTNAME} +PORTDOCS= README + +OPTIONS_DEFINE= DOCS + +post-patch: + @${REINPLACE_CMD} -e '/malloc\.h/d' ${WRKSRC}/torrentcheck.c + +do-build: + cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o ${PORTNAME} \ + sha1.c torrentcheck.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} +# Convert to Unix line-endings and trim useless compile-related information + ${TR} -d \\r < ${_DISTDIR}/readme.txt | ${SED} '126,$$d' > \ + ${STAGEDIR}${DOCSDIR}/README + +.include Property changes on: head/net-p2p/torrentcheck/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-p2p/torrentcheck/distinfo =================================================================== --- head/net-p2p/torrentcheck/distinfo (nonexistent) +++ head/net-p2p/torrentcheck/distinfo (revision 420189) @@ -0,0 +1,5 @@ +TIMESTAMP = 1291291031 +SHA256 (torrentcheck/torrentcheck-1.00.zip) = a839f9ac9669d942f83af33db96ce9902d84f85592c99b568ef0f5232ff318c5 +SIZE (torrentcheck/torrentcheck-1.00.zip) = 28150 +SHA256 (torrentcheck/readme.txt) = 4c91ae5f0a446632fc664b9c6921a3f8e7fc75c3bd152141f2c3352fe0275164 +SIZE (torrentcheck/readme.txt) = 7240 Property changes on: head/net-p2p/torrentcheck/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-p2p/torrentcheck/pkg-descr =================================================================== --- head/net-p2p/torrentcheck/pkg-descr (nonexistent) +++ head/net-p2p/torrentcheck/pkg-descr (revision 420189) @@ -0,0 +1,15 @@ +This program is a command-line utility to catalog and verify torrent files. +Run with only the -t option, it displays the metadata, name, and size of +each file in the torrent. Run with the -t and -p options, it computes the +hashes of all files in the torrent, compares them against the hashes stored +in the metadata, and warns of any errors. + +Torrentcheck also verifies the length of each file, and flags an error if +the length is wrong even if the hash codes match. It is designed to handle +files over 4GB on a 32-bit machine. + +If torrentcheck returns "torrent is good" at the end of its output, every +byte of every file in the torrent is present and correct, to a high degree +of certainty (as explained in the README file). + +WWW: https://sourceforge.net/projects/torrentcheck/ Property changes on: head/net-p2p/torrentcheck/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property