Initial import of py-openbsd-0.1.2

The PyOpenBSD library allows Python programs to interact with the
OpenBSD operating system in a smooth and seamless way. It consists of a
set of bindings for various system libraries, as well as interfaces for
inspecting in-kernel variables using kvm.

PyOpenBSD also contains some useful functionality not directly or solely
related to OpenBSD. At this stage there are no concrete plans to "spin
off" architecture-independent projects.

Maintained by Aldo Cortesi <aldo at nullcube.com>

ok alek@.
This commit is contained in:
xsa 2004-12-22 08:38:21 +00:00
parent f19fe2e84b
commit 3cffce737a
5 changed files with 128 additions and 0 deletions

39
devel/py-openbsd/Makefile Normal file
View File

@ -0,0 +1,39 @@
# $OpenBSD: Makefile,v 1.1.1.1 2004/12/22 08:38:21 xsa Exp $
COMMENT= "specific Python bindings for OpenBSD"
DISTNAME= pyopenbsd-0.1.2
PKGNAME= ${DISTNAME:S/^py/py-/}
CATEGORIES= devel
HOMEPAGE= http://www.nullcube.com/software/pyopenbsd.html
MAINTAINER= Aldo Cortesi <aldo@nullcube.com>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= kvm pcap
MASTER_SITES= http://www.nullcube.com/software/pyopenbsd/download/
EXTRACT_SUFX= .tgz
MODULES= lang/python
DOCSDIR= ${PREFIX}/share/doc/py-openbsd
EXAMPLESDIR= ${PREFIX}/share/examples/py-openbsd
post-install:
${INSTALL_DATA_DIR} ${DOCSDIR}
cd ${WRKSRC}/doc; tar cf - * | tar xf - -C ${DOCSDIR}
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR}
do-regress: fake
@cd ${WRKSRC}/test && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./run_all.py
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (pyopenbsd-0.1.2.tgz) = 730e7a674fc291e43f05f76a331a1ba1
RMD160 (pyopenbsd-0.1.2.tgz) = dca3eda490571a16dbc0671a6eb2d6826c0fb3a0
SHA1 (pyopenbsd-0.1.2.tgz) = ce583cf33a78d4938e8256f17922faa1738e7c3f

View File

@ -0,0 +1,8 @@
The PyOpenBSD library allows Python programs to interact with the
OpenBSD operating system in a smooth and seamless way. It consists of a
set of bindings for various system libraries, as well as interfaces for
inspecting in-kernel variables using kvm.
PyOpenBSD also contains some useful functionality not directly or solely
related to OpenBSD. At this stage there are no concrete plans to "spin
off" architecture-independent projects.

View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2004/12/22 08:38:21 xsa Exp $
lib/python${MODPY_VERSION}/site-packages/openbsd/_ifconfig.so
lib/python${MODPY_VERSION}/site-packages/openbsd/_kqueue.so
lib/python${MODPY_VERSION}/site-packages/openbsd/_kvm.so
lib/python${MODPY_VERSION}/site-packages/openbsd/_netstat.so
lib/python${MODPY_VERSION}/site-packages/openbsd/_pcap.so
lib/python${MODPY_VERSION}/site-packages/openbsd/_sysvar.so
lib/python${MODPY_VERSION}/site-packages/openbsd/arc4random.so

View File

@ -0,0 +1,70 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/12/22 08:38:21 xsa Exp $
%%SHARED%%
bin/pfreport
bin/plog
lib/python${MODPY_VERSION}/
lib/python${MODPY_VERSION}/site-packages/
lib/python${MODPY_VERSION}/site-packages/openbsd/
lib/python${MODPY_VERSION}/site-packages/openbsd/__init__.py
lib/python${MODPY_VERSION}/site-packages/openbsd/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/openbsd/_packetDescriptors.py
lib/python${MODPY_VERSION}/site-packages/openbsd/_packetDescriptors.pyc
lib/python${MODPY_VERSION}/site-packages/openbsd/ifconfig.py
lib/python${MODPY_VERSION}/site-packages/openbsd/ifconfig.pyc
lib/python${MODPY_VERSION}/site-packages/openbsd/kqueue.py
lib/python${MODPY_VERSION}/site-packages/openbsd/kqueue.pyc
lib/python${MODPY_VERSION}/site-packages/openbsd/netstat.py
lib/python${MODPY_VERSION}/site-packages/openbsd/netstat.pyc
lib/python${MODPY_VERSION}/site-packages/openbsd/packet.py
lib/python${MODPY_VERSION}/site-packages/openbsd/packet.pyc
lib/python${MODPY_VERSION}/site-packages/openbsd/pcap.py
lib/python${MODPY_VERSION}/site-packages/openbsd/pcap.pyc
lib/python${MODPY_VERSION}/site-packages/openbsd/utils.py
lib/python${MODPY_VERSION}/site-packages/openbsd/utils.pyc
share/doc/py-openbsd/
share/doc/py-openbsd/admin.html
share/doc/py-openbsd/arc4random.html
share/doc/py-openbsd/ifconfig/
share/doc/py-openbsd/ifconfig.html
share/doc/py-openbsd/ifconfig/ifconfig.html
share/doc/py-openbsd/ifconfig/interface.html
share/doc/py-openbsd/ifconfig/media.html
share/doc/py-openbsd/index.html
share/doc/py-openbsd/intro.html
share/doc/py-openbsd/kqueue/
share/doc/py-openbsd/kqueue.html
share/doc/py-openbsd/kqueue/kevents.html
share/doc/py-openbsd/kqueue/kqueue.html
share/doc/py-openbsd/netstat/
share/doc/py-openbsd/netstat.html
share/doc/py-openbsd/netstat/ahstats.html
share/doc/py-openbsd/netstat/espstats.html
share/doc/py-openbsd/netstat/icmpstats.html
share/doc/py-openbsd/netstat/ifstats.html
share/doc/py-openbsd/netstat/igmpstats.html
share/doc/py-openbsd/netstat/ip6stats.html
share/doc/py-openbsd/netstat/ipcompstats.html
share/doc/py-openbsd/netstat/ipipstats.html
share/doc/py-openbsd/netstat/ipstats.html
share/doc/py-openbsd/netstat/tcpstats.html
share/doc/py-openbsd/netstat/udpstats.html
share/doc/py-openbsd/packet/
share/doc/py-openbsd/packet.html
share/doc/py-openbsd/packet/packet.html
share/doc/py-openbsd/packet/protocol/
share/doc/py-openbsd/packet/protocol.html
share/doc/py-openbsd/packet/protocol/descriptors.html
share/doc/py-openbsd/pcap/
share/doc/py-openbsd/pcap.html
share/doc/py-openbsd/pcap/dumper.html
share/doc/py-openbsd/pcap/feeds/
share/doc/py-openbsd/pcap/feeds.html
share/doc/py-openbsd/pcap/feeds/live.html
share/doc/py-openbsd/pcap/feeds/offline.html
share/doc/py-openbsd/style/
share/doc/py-openbsd/style/style.css
share/examples/py-openbsd/
share/examples/py-openbsd/README
share/examples/py-openbsd/pdump.py
share/examples/py-openbsd/ping.py
share/examples/py-openbsd/proctrace.py