aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-02-25 13:48:10 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-02-25 13:48:10 +0000
commit1c59edab0b58c23e0ca35c21590329bbb494108a (patch)
tree7bbe5d4118c15456eede27b9c578e585e706657b
parent152b4a6480dd23ae18a9f5eb9c22a39e315a075f (diff)
downloadports-1c59edab0b58c23e0ca35c21590329bbb494108a.tar.gz
ports-1c59edab0b58c23e0ca35c21590329bbb494108a.zip
You can use this Python module to convert amongst many different
notations and to manage couples of address/netmask in the CIDR notation. WWW: http://pypi.python.org/pypi/iplib PR: ports/144197 Submitted by: Gea-Suan Lin <gslin at gslin.org> Feature safe: yes
Notes
Notes: svn path=/head/; revision=250313
-rw-r--r--net/Makefile1
-rw-r--r--net/py-iplib/Makefile20
-rw-r--r--net/py-iplib/distinfo3
-rw-r--r--net/py-iplib/pkg-descr5
-rw-r--r--net/py-iplib/pkg-plist7
5 files changed, 36 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 32ac08949a13..c757afd7a8ac 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -789,6 +789,7 @@
SUBDIR += py-dpkt
SUBDIR += py-google
SUBDIR += py-impacket
+ SUBDIR += py-iplib
SUBDIR += py-ldap2
SUBDIR += py-libdnet
SUBDIR += py-libnet
diff --git a/net/py-iplib/Makefile b/net/py-iplib/Makefile
new file mode 100644
index 000000000000..90ca2c9b5c2c
--- /dev/null
+++ b/net/py-iplib/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: py-iplib
+# Date created: 2010-02-22
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= iplib
+PORTVERSION= 1.1
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Convert amongst many different IPv4 notations
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.mk>
diff --git a/net/py-iplib/distinfo b/net/py-iplib/distinfo
new file mode 100644
index 000000000000..45d2b16767e5
--- /dev/null
+++ b/net/py-iplib/distinfo
@@ -0,0 +1,3 @@
+MD5 (iplib-1.1.tar.gz) = 3437ddbfc1986b2d06e7f4a0724ac5a0
+SHA256 (iplib-1.1.tar.gz) = 5ada87bd9176c095535b04277fcb57275931929d4105f0c451236aa456991713
+SIZE (iplib-1.1.tar.gz) = 20772
diff --git a/net/py-iplib/pkg-descr b/net/py-iplib/pkg-descr
new file mode 100644
index 000000000000..2558eadd0a9b
--- /dev/null
+++ b/net/py-iplib/pkg-descr
@@ -0,0 +1,5 @@
+You can use this Python module to convert amongst many different
+notations and to manage couples of address/netmask in the CIDR
+notation.
+
+WWW: http://pypi.python.org/pypi/iplib
diff --git a/net/py-iplib/pkg-plist b/net/py-iplib/pkg-plist
new file mode 100644
index 000000000000..b5ee56a4bf14
--- /dev/null
+++ b/net/py-iplib/pkg-plist
@@ -0,0 +1,7 @@
+@comment $FreeBSD$
+%%PYTHON_SITELIBDIR%%/iplib.py
+%%PYTHON_SITELIBDIR%%/iplib.pyc
+%%PYTHON_SITELIBDIR%%/iplib.pyo
+bin/cidrinfo.py
+bin/ipconv.py
+bin/nmconv.py