From b872554668049e16c3f274bd6fe732c16fc7a573 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Fri, 6 Apr 2012 12:03:13 +0000 Subject: [PATCH] Net::sFlow provides a mechanism to parse and decode sFlow datagrams. It supports sFlow version 2/4 (RFC 3176 - http://www.ietf.org/rfc/rfc3176.txt) and sFlow version 5 (Memo - http://sflow.org/sflow_version_5.txt). WWW: http://search.cpan.org/dist/Net-sFlow/ PR: ports/166636 Submitted by: Tsung-Han Yeh Feature safe: yes --- net/Makefile | 1 + net/p5-Net-sFlow/Makefile | 23 +++++++++++++++++++++++ net/p5-Net-sFlow/distinfo | 2 ++ net/p5-Net-sFlow/pkg-descr | 5 +++++ net/p5-Net-sFlow/pkg-plist | 6 ++++++ 5 files changed, 37 insertions(+) create mode 100644 net/p5-Net-sFlow/Makefile create mode 100644 net/p5-Net-sFlow/distinfo create mode 100644 net/p5-Net-sFlow/pkg-descr create mode 100644 net/p5-Net-sFlow/pkg-plist diff --git a/net/Makefile b/net/Makefile index f55182710c52..72451e84e2f3 100644 --- a/net/Makefile +++ b/net/Makefile @@ -674,6 +674,7 @@ SUBDIR += p5-Net-Z3950-SimpleServer SUBDIR += p5-Net-Z3950-ZOOM SUBDIR += p5-Net-ext + SUBDIR += p5-Net-sFlow SUBDIR += p5-Net-uFTP SUBDIR += p5-NetAddr-IP-Count SUBDIR += p5-NetPacket diff --git a/net/p5-Net-sFlow/Makefile b/net/p5-Net-sFlow/Makefile new file mode 100644 index 000000000000..60fc86b93d04 --- /dev/null +++ b/net/p5-Net-sFlow/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: p5-Net-sFlow +# Date created: 2012-04-04 +# Whom: Tsung-Han Yeh +# +# $FreeBSD$ +# + +PORTNAME= Net-sFlow +PORTVERSION= 0.11 +CATEGORIES= net perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= snowfly@yuntech.edu.tw +COMMENT= Decode sFlow datagrams + +LICENSE= ART10 + +PERL_CONFIGURE= yes + +MAN3= Net::sFlow.3 + +.include diff --git a/net/p5-Net-sFlow/distinfo b/net/p5-Net-sFlow/distinfo new file mode 100644 index 000000000000..a9010f692b4e --- /dev/null +++ b/net/p5-Net-sFlow/distinfo @@ -0,0 +1,2 @@ +SHA256 (Net-sFlow-0.11.tar.gz) = 9739f42fe805db7f85bb6955e08bb9ae3bbb37cbd70dd68a99430fa0bc79f654 +SIZE (Net-sFlow-0.11.tar.gz) = 17917 diff --git a/net/p5-Net-sFlow/pkg-descr b/net/p5-Net-sFlow/pkg-descr new file mode 100644 index 000000000000..b2ef5e2957ab --- /dev/null +++ b/net/p5-Net-sFlow/pkg-descr @@ -0,0 +1,5 @@ +The sFlow module provides a mechanism to parse and decode sFlow datagrams. +It supports sFlow version 2/4 (RFC 3176 - http://www.ietf.org/rfc/rfc3176.txt) +and sFlow version 5 (Memo - http://sflow.org/sflow_version_5.txt). + +WWW: http://search.cpan.org/dist/Net-sFlow/ diff --git a/net/p5-Net-sFlow/pkg-plist b/net/p5-Net-sFlow/pkg-plist new file mode 100644 index 000000000000..e4fc14211045 --- /dev/null +++ b/net/p5-Net-sFlow/pkg-plist @@ -0,0 +1,6 @@ +bin/sFluxDebug.pl +%%SITE_PERL%%/Net/sFlow.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/sFlow/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/sFlow +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net +@dirrmtry %%SITE_PERL%%/Net