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
This commit is contained in:
Martin Wilke 2010-02-25 13:48:10 +00:00
parent 152b4a6480
commit 1c59edab0b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250313
5 changed files with 36 additions and 0 deletions

View file

@ -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

20
net/py-iplib/Makefile Normal file
View file

@ -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>

3
net/py-iplib/distinfo Normal file
View file

@ -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

5
net/py-iplib/pkg-descr Normal file
View file

@ -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

7
net/py-iplib/pkg-plist Normal file
View file

@ -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