aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjadawin <jadawin@FreeBSD.org>2013-02-07 15:37:45 +0800
committerjadawin <jadawin@FreeBSD.org>2013-02-07 15:37:45 +0800
commit20923b1ed892a3386e7b0e2228e8524ab7903c23 (patch)
tree0037c89933b5ece2341eab5a16e8d402cf024425 /net
parent67b2f5a44b1127103658a48faa46e8677ecb1cdd (diff)
downloadfreebsd-ports-gnome-20923b1ed892a3386e7b0e2228e8524ab7903c23.tar.gz
freebsd-ports-gnome-20923b1ed892a3386e7b0e2228e8524ab7903c23.tar.zst
freebsd-ports-gnome-20923b1ed892a3386e7b0e2228e8524ab7903c23.zip
This class provides methods for making parallel, asynchronous requests
to the OpenStack API. This distribution comes with a command line tool stackattack which heavily uses this class. WWW: http://search.cpan.org/dist/Net-OpenStack-Attack/ PR: ports/175914 Submitted by: Gea-Suan Lin <gslin@gslin.org>
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Net-OpenStack-Attack/Makefile27
-rw-r--r--net/p5-Net-OpenStack-Attack/distinfo2
-rw-r--r--net/p5-Net-OpenStack-Attack/pkg-descr5
-rw-r--r--net/p5-Net-OpenStack-Attack/pkg-plist9
5 files changed, 44 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index b4a9508912e6..2863822f2f24 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -632,6 +632,7 @@
SUBDIR += p5-Net-OpenID-Consumer
SUBDIR += p5-Net-OpenSSH
SUBDIR += p5-Net-OpenSSH-Parallel
+ SUBDIR += p5-Net-OpenStack-Attack
SUBDIR += p5-Net-Packet
SUBDIR += p5-Net-Packet-Target
SUBDIR += p5-Net-ParseWhois
diff --git a/net/p5-Net-OpenStack-Attack/Makefile b/net/p5-Net-OpenStack-Attack/Makefile
new file mode 100644
index 000000000000..a8c5a0d63bc5
--- /dev/null
+++ b/net/p5-Net-OpenStack-Attack/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= Net-OpenStack-Attack
+PORTVERSION= 1.0500
+CATEGORIES= net perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Tools for stress testing an OpenStack deployment
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+RUN_DEPENDS= p5-Any-Moose>=0:${PORTSDIR}/devel/p5-Any-Moose \
+ p5-App-Rad>=0:${PORTSDIR}/devel/p5-App-Rad \
+ p5-HTTP-Async>=0:${PORTSDIR}/www/p5-HTTP-Async \
+ p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
+ p5-Net-HTTPS-NB>=0:${PORTSDIR}/net/p5-Net-HTTPS-NB \
+ p5-libwww>=0:${PORTSDIR}/www/p5-libwww
+
+PERL_CONFIGURE= yes
+
+MAN1= stackattack.1
+MAN3= Net::OpenStack::Attack.3
+
+.include <bsd.port.mk>
diff --git a/net/p5-Net-OpenStack-Attack/distinfo b/net/p5-Net-OpenStack-Attack/distinfo
new file mode 100644
index 000000000000..1a2023f27672
--- /dev/null
+++ b/net/p5-Net-OpenStack-Attack/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Net-OpenStack-Attack-1.0500.tar.gz) = 0f813b4b6b9d3636cd7929b48d6ac87f84816b667b22903a5b7d2d9cc44ac326
+SIZE (Net-OpenStack-Attack-1.0500.tar.gz) = 11183
diff --git a/net/p5-Net-OpenStack-Attack/pkg-descr b/net/p5-Net-OpenStack-Attack/pkg-descr
new file mode 100644
index 000000000000..64401f03d099
--- /dev/null
+++ b/net/p5-Net-OpenStack-Attack/pkg-descr
@@ -0,0 +1,5 @@
+This class provides methods for making parallel, asynchronous requests
+to the OpenStack API. This distribution comes with a command line tool
+stackattack which heavily uses this class.
+
+WWW: http://search.cpan.org/dist/Net-OpenStack-Attack/
diff --git a/net/p5-Net-OpenStack-Attack/pkg-plist b/net/p5-Net-OpenStack-Attack/pkg-plist
new file mode 100644
index 000000000000..dacc0d523810
--- /dev/null
+++ b/net/p5-Net-OpenStack-Attack/pkg-plist
@@ -0,0 +1,9 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/OpenStack/Attack/.packlist
+%%SITE_PERL%%/Net/OpenStack/Attack.pm
+bin/stackattack
+@dirrmtry %%SITE_PERL%%/Net/OpenStack
+@dirrmtry %%SITE_PERL%%/Net
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/OpenStack/Attack
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/OpenStack
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net