summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2013-07-29 20:21:09 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2013-07-29 20:21:09 +0000
commit92f32ce697a21c9dd1c8fddbdae2b1665f80553c (patch)
tree9e2ab2de6b5c4e924c89c2a2477bc68a8f665ad4
parentRemove now useless MAKE_JOB_SAFE (diff)
New port: rubygem-network_interface
This gem was originally added to the Metasploit Pcaprub gem. It's been spun out into its own gem for anyone who might want to programmatically get information on their network interfaces. WWW: https://github.com/rapid7/network_interface
-rw-r--r--net/Makefile1
-rw-r--r--net/rubygem-network_interface/Makefile17
-rw-r--r--net/rubygem-network_interface/distinfo2
-rw-r--r--net/rubygem-network_interface/pkg-descr5
4 files changed, 25 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 900cd566938e..178463137a75 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1037,6 +1037,7 @@
SUBDIR += rubygem-macaddr
SUBDIR += rubygem-net-ldap
SUBDIR += rubygem-net-netrc
+ SUBDIR += rubygem-network_interface
SUBDIR += rubygem-oauth
SUBDIR += rubygem-oauth2
SUBDIR += rubygem-open-uri-cached
diff --git a/net/rubygem-network_interface/Makefile b/net/rubygem-network_interface/Makefile
new file mode 100644
index 000000000000..792d114d2074
--- /dev/null
+++ b/net/rubygem-network_interface/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+PORTNAME= network_interface
+PORTVERSION= 0.0.1
+CATEGORIES= net rubygems
+MASTER_SITES= RG
+
+MAINTAINER= antoine@FreeBSD.org
+COMMENT= Get network interface information from Ruby
+
+LICENSE= MIT
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST=yes
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-network_interface/distinfo b/net/rubygem-network_interface/distinfo
new file mode 100644
index 000000000000..41b8cc0ad12b
--- /dev/null
+++ b/net/rubygem-network_interface/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/network_interface-0.0.1.gem) = eaa48bd219fdcb9b6c66d44f1aa2b4e1c51385114400187d7fc087bf76602447
+SIZE (rubygem/network_interface-0.0.1.gem) = 15360
diff --git a/net/rubygem-network_interface/pkg-descr b/net/rubygem-network_interface/pkg-descr
new file mode 100644
index 000000000000..46bcce70dbef
--- /dev/null
+++ b/net/rubygem-network_interface/pkg-descr
@@ -0,0 +1,5 @@
+This gem was originally added to the Metasploit Pcaprub gem. It's been spun
+out into its own gem for anyone who might want to programmatically get
+information on their network interfaces.
+
+WWW: https://github.com/rapid7/network_interface