ports/137236: New port: net/py-netifaces Getting network addresses from Python

Stanislav Svirid count at 211.ru
Wed Jul 29 09:30:08 UTC 2009


>Number:         137236
>Category:       ports
>Synopsis:       New port: net/py-netifaces Getting network addresses from Python
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 29 09:30:07 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Svirid
>Release:        FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
FreeBSD unknown.211.ru 7.1-STABLE FreeBSD 7.1-STABLE #7: Mon Mar  9 18:59:18 NOVT 2009     root at unknown.211.ru:/fsys/big0/obj/usr/src/sys/UNKNOWN  i386

>Description:
Getting network addresses from Python

It.s been irritating me for ages that it isn.t possible to 
straightforwardly get the network address(es) of the machine 
you.re running on from a Python program.

WWW:    http://alastairs-place.net/netifaces/

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-netifaces
#	py-netifaces/pkg-plist
#	py-netifaces/pkg-descr
#	py-netifaces/distinfo
#	py-netifaces/Makefile
#
echo c - py-netifaces
mkdir -p py-netifaces > /dev/null 2>&1
echo x - py-netifaces/pkg-plist
sed 's/^X//' >py-netifaces/pkg-plist << '6cf6617aab4a090f3d6aa82505562990'
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
6cf6617aab4a090f3d6aa82505562990
echo x - py-netifaces/pkg-descr
sed 's/^X//' >py-netifaces/pkg-descr << 'e23012f2254dc185672daa925873f0f5'
XGetting network addresses from Python
X
XIt.s been irritating me for ages that it isn.t possible to 
Xstraightforwardly get the network address(es) of the machine 
Xyou.re running on from a Python program.
X
XWWW:	http://alastairs-place.net/netifaces/
e23012f2254dc185672daa925873f0f5
echo x - py-netifaces/distinfo
sed 's/^X//' >py-netifaces/distinfo << 'fab84916974124247655d7efa745ea54'
XMD5 (netifaces-0.5.tar.gz) = ea662a4b4c7db5d1631cc33bf68eb030
XSHA256 (netifaces-0.5.tar.gz) = a210263311512b9a13e758545161ddecdbf0426ccd1e1c3380cb354be259b35d
XSIZE (netifaces-0.5.tar.gz) = 13024
fab84916974124247655d7efa745ea54
echo x - py-netifaces/Makefile
sed 's/^X//' >py-netifaces/Makefile << '2e531209961f9ebad8b6af3d93d1779b'
X# New ports collection makefile for:	py-netifaces
X# Date created:				May 27 2009
X# Whom:					vanilla@
X#
X# $FreeBSD$
X#
X
XPORTNAME=	netifaces
XPORTVERSION=	0.5
XCATEGORIES=	net python
XMASTER_SITES=	http://alastairs-place.net/2007/03/netifaces/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	vanilla at FreeBSD.org
XCOMMENT=	Getting network addresses from Python
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	easy_install
XPYEASYINSTALL_ARCHDEP=	yes
X
X.include <bsd.port.mk>
2e531209961f9ebad8b6af3d93d1779b
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list