summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-08-23 00:55:33 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-08-23 00:55:33 +0000
commit40fb4334c30871bb67b29a9890f50fb8ab23ccd2 (patch)
tree1099bef7692b4b835a484f7008db4b23d10521fd /net-p2p
parentDon't offer irman as an option. It's required to build the port. (diff)
Add p5-Net-BitTorrent-PeerPacket 1.0, parse/Build Peer Packets from
BitTorrent. PR: ports/102397 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Notes
Notes: svn path=/head/; revision=171225
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/Makefile1
-rw-r--r--net-p2p/p5-Net-BitTorrent-PeerPacket/Makefile28
-rw-r--r--net-p2p/p5-Net-BitTorrent-PeerPacket/distinfo3
-rw-r--r--net-p2p/p5-Net-BitTorrent-PeerPacket/pkg-descr6
-rw-r--r--net-p2p/p5-Net-BitTorrent-PeerPacket/pkg-plist4
5 files changed, 42 insertions, 0 deletions
diff --git a/net-p2p/Makefile b/net-p2p/Makefile
index 9fbd78bfd4b9..99a03b9bcb0e 100644
--- a/net-p2p/Makefile
+++ b/net-p2p/Makefile
@@ -100,6 +100,7 @@
SUBDIR += py-kenosis-bittorrent
SUBDIR += py-py2play
SUBDIR += p5-Net-BitTorrent-File
+ SUBDIR += p5-Net-BitTorrent-PeerPacket
SUBDIR += p5-WWW-BitTorrent
SUBDIR += p5-pdonkey
SUBDIR += qtella
diff --git a/net-p2p/p5-Net-BitTorrent-PeerPacket/Makefile b/net-p2p/p5-Net-BitTorrent-PeerPacket/Makefile
new file mode 100644
index 000000000000..8741dd0bec4c
--- /dev/null
+++ b/net-p2p/p5-Net-BitTorrent-PeerPacket/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-Net-BitTorrent-PeerPacket
+# Date created: 2006-08-23
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-BitTorrent-PeerPacket
+PORTVERSION= 1.0
+CATEGORIES= net-p2p perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Parse/Build Peer Packets from BitTorrent
+
+PERL_MODBUILD= yes
+
+MAN3= Net::BitTorrent::PeerPacket.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires Perl 5.6.0 or newer. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net-p2p/p5-Net-BitTorrent-PeerPacket/distinfo b/net-p2p/p5-Net-BitTorrent-PeerPacket/distinfo
new file mode 100644
index 000000000000..f8d5a8ef02e5
--- /dev/null
+++ b/net-p2p/p5-Net-BitTorrent-PeerPacket/distinfo
@@ -0,0 +1,3 @@
+MD5 (Net-BitTorrent-PeerPacket-1.0.tar.gz) = f43c42227e8ffc7edfae71d7e8c28322
+SHA256 (Net-BitTorrent-PeerPacket-1.0.tar.gz) = e0af77a0891389c528dec5abbc227e0aca3c9ea261d41a98a5a0879125651d6e
+SIZE (Net-BitTorrent-PeerPacket-1.0.tar.gz) = 5713
diff --git a/net-p2p/p5-Net-BitTorrent-PeerPacket/pkg-descr b/net-p2p/p5-Net-BitTorrent-PeerPacket/pkg-descr
new file mode 100644
index 000000000000..fb7525864197
--- /dev/null
+++ b/net-p2p/p5-Net-BitTorrent-PeerPacket/pkg-descr
@@ -0,0 +1,6 @@
+Net::BitTorrent::PeerPacket handles parsing and building binary data
+shared between BitTorrent peers. The module optinally exports a single
+subroutine for building packets and another for parsing packets, as
+well as, a constant for each packet type defined by BitTorrent.
+
+WWW: http://search.cpan.org/dist/Net-BitTorrent-PeerPacket/
diff --git a/net-p2p/p5-Net-BitTorrent-PeerPacket/pkg-plist b/net-p2p/p5-Net-BitTorrent-PeerPacket/pkg-plist
new file mode 100644
index 000000000000..425171e2370c
--- /dev/null
+++ b/net-p2p/p5-Net-BitTorrent-PeerPacket/pkg-plist
@@ -0,0 +1,4 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/Net/BitTorrent/PeerPacket.pm
+@dirrmtry %%SITE_PERL%%/Net/BitTorrent
+@dirrmtry %%SITE_PERL%%/Net