From 4bb6ca58b6f2a1358527867e93fe20b5feb807cc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 9 Jul 2011 14:56:23 +0000 Subject: Initial APKBUILD for pcapy Package description: Pcapy is a Python extension module that interfaces with the libpcap packet capture library. Pcapy enables python scripts to capture packets on the network. Pcapy is highly effective when used in conjunction with a packet-handling package such as Impacket, which is a collection of Python classes for constructing and dissecting network packets. --- testing/pcapy/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/pcapy/APKBUILD (limited to 'testing/pcapy') diff --git a/testing/pcapy/APKBUILD b/testing/pcapy/APKBUILD new file mode 100644 index 000000000..ac211824e --- /dev/null +++ b/testing/pcapy/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +pkgname=pcapy +pkgver=0.10.5 +pkgrel=0 +pkgdesc="Module to interfaces with the libpcap packet capture library" +url="http://oss.coresecurity.com/projects/pcapy.html" +arch="all" +license="ASL" +depends="" +depends_dev="" +makedepends="python-dev" +install="" +subpackages="$pkgname-doc" +source="http://oss.coresecurity.com/repo/$pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="1dcff6af494f3d6763f457aa86aa0853 pcapy-0.10.5.tar.gz" -- cgit v1.2.3