aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-pcapy
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2015-08-02 02:53:15 +0800
committerrm <rm@FreeBSD.org>2015-08-02 02:53:15 +0800
commite70ba9a8f26824897212bf4b1219c2bf5a7c4e67 (patch)
tree0455bde6cf8c7fc49dc0f2695b98d989f95c79de /net/py-pcapy
parent314813bfdd16a5250346067e88ff46a4718f9cd9 (diff)
downloadfreebsd-ports-gnome-e70ba9a8f26824897212bf4b1219c2bf5a7c4e67.tar.gz
freebsd-ports-gnome-e70ba9a8f26824897212bf4b1219c2bf5a7c4e67.tar.zst
freebsd-ports-gnome-e70ba9a8f26824897212bf4b1219c2bf5a7c4e67.zip
net/py-pcapy: update to 0.10.9
- switch to PyPi - convert to autoplist and limit python version to 2.x - update WWW urls and package description Changelog: 2015-05-19 Andres Blanco <ablanco@coresecurity.com> * Added sendpacket support by default
Diffstat (limited to 'net/py-pcapy')
-rw-r--r--net/py-pcapy/Makefile19
-rw-r--r--net/py-pcapy/distinfo4
-rw-r--r--net/py-pcapy/pkg-descr15
3 files changed, 15 insertions, 23 deletions
diff --git a/net/py-pcapy/Makefile b/net/py-pcapy/Makefile
index 39532b400f23..19cc3760b98d 100644
--- a/net/py-pcapy/Makefile
+++ b/net/py-pcapy/Makefile
@@ -2,30 +2,23 @@
# $FreeBSD$
PORTNAME= pcapy
-PORTVERSION= 0.10.8
-PORTREVISION= 1
+PORTVERSION= 0.10.9
CATEGORIES= net python
-MASTER_SITES= http://corelabs.coresecurity.com/index.php?module=Wiki&action=attachment&type=tool&page=Pcapy&file=
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
-COMMENT= Python extension module to capture packets on the network
+COMMENT= Python pcap extension
-LICENSE= AL11
-LICENSE_NAME= Apache License version 1.1
+LICENSE= APACHE11
LICENSE_FILE= ${WRKSRC}/LICENSE
-LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-FETCH_BEFORE_ARGS=-o ${DISTFILES}
-USES= dos2unix python
-USE_PYTHON= distutils
+USES= python:2
+USE_PYTHON= autoplist distutils
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
-
-PLIST_FILES= %%PYTHON_SITELIBDIR%%/pcapy.so
PORTDOCS= README pcapy.html
-
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pcapy.so
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/net/py-pcapy/distinfo b/net/py-pcapy/distinfo
index c86818e73756..b5f3feaf0ce2 100644
--- a/net/py-pcapy/distinfo
+++ b/net/py-pcapy/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pcapy-0.10.8.tar.gz) = 67c8a8410eb7e319c3afadaf290a81d48209c88a5020f11a8570265f5971975c
-SIZE (pcapy-0.10.8.tar.gz) = 23303
+SHA256 (pcapy-0.10.9.tar.gz) = 4c2294361327d0d95ba8212dac067682f7703f1a7543730c44853cb10b76dbb6
+SIZE (pcapy-0.10.9.tar.gz) = 26148
diff --git a/net/py-pcapy/pkg-descr b/net/py-pcapy/pkg-descr
index bb7ff93f80a3..0bdb1e9bd8b9 100644
--- a/net/py-pcapy/pkg-descr
+++ b/net/py-pcapy/pkg-descr
@@ -1,10 +1,9 @@
-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 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.
+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.
-WWW: http://oss.coresecurity.com/projects/pcapy.html
+WWW: https://github.com/CoreSecurity/pcapy
+ http://www.coresecurity.com/corelabs-research/open-source-tools/pcapy