diff options
author | antoine <antoine@FreeBSD.org> | 2013-04-29 06:08:43 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2013-04-29 06:08:43 +0800 |
commit | b73179cdecf47d8fd64559efa4385857e1f83120 (patch) | |
tree | 0b145ead1213f94e0a64a9bd4d60ae4ba7cad57a /net | |
parent | f6cae2cc6123dec21716c13f845315b48eb402d9 (diff) | |
download | freebsd-ports-gnome-b73179cdecf47d8fd64559efa4385857e1f83120.tar.gz freebsd-ports-gnome-b73179cdecf47d8fd64559efa4385857e1f83120.tar.zst freebsd-ports-gnome-b73179cdecf47d8fd64559efa4385857e1f83120.zip |
Unbreak and update py-pcapy to 0.10.8
Approved by: eadler (mentor)
Diffstat (limited to 'net')
-rw-r--r-- | net/py-pcapy/Makefile | 26 | ||||
-rw-r--r-- | net/py-pcapy/distinfo | 4 | ||||
-rw-r--r-- | net/py-pcapy/files/patch-setup.py | 21 |
3 files changed, 28 insertions, 23 deletions
diff --git a/net/py-pcapy/Makefile b/net/py-pcapy/Makefile index 8a14f6a6ddf9..3baf70f47431 100644 --- a/net/py-pcapy/Makefile +++ b/net/py-pcapy/Makefile @@ -1,30 +1,34 @@ -# New ports collection makefile for: pcapy -# Date created: 15th September 2005 -# Whom: Marcin Jessa <yazzy@yazzy.org> +# Created by: Marcin Jessa <yazzy@yazzy.org> # $FreeBSD$ PORTNAME= pcapy -PORTVERSION= 0.10.5 +PORTVERSION= 0.10.8 CATEGORIES= net python -MASTER_SITES= http://oss.coresecurity.com/repo/ \ - http://www.yazzy.org/ports/pcapy/ +MASTER_SITES= http://corelabs.coresecurity.com/index.php?module=Wiki&action=attachment&type=tool&page=Pcapy&file= PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Python extension module to capture packets on the network -USE_PYTHON= yes -USE_PYDISTUTILS= yes +LICENSE= AL11 +LICENSE_NAME= Apache License version 1.1 +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -BROKEN= checksum mismatch +FETCH_BEFORE_ARGS=-o ${DISTFILES} +USE_DOS2UNIX= yes +USE_PYTHON= yes +USE_PYDISTUTILS=yes DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} PLIST_FILES= %%PYTHON_SITELIBDIR%%/pcapy.so -PORTDOCS= README LICENSE pcapy.html +PORTDOCS= README pcapy.html + +.include <bsd.port.options.mk> -.if !defined(NOPORTDOCS) post-install: +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif diff --git a/net/py-pcapy/distinfo b/net/py-pcapy/distinfo index 16254ee6468b..c86818e73756 100644 --- a/net/py-pcapy/distinfo +++ b/net/py-pcapy/distinfo @@ -1,2 +1,2 @@ -SHA256 (pcapy-0.10.5.tar.gz) = 80a763d91814836e0cd1e57b63519dc60213b42ba3c486d4794cabae30fd7a57 -SIZE (pcapy-0.10.5.tar.gz) = 18884 +SHA256 (pcapy-0.10.8.tar.gz) = 67c8a8410eb7e319c3afadaf290a81d48209c88a5020f11a8570265f5971975c +SIZE (pcapy-0.10.8.tar.gz) = 23303 diff --git a/net/py-pcapy/files/patch-setup.py b/net/py-pcapy/files/patch-setup.py index a12859a8987b..9f48bd5c9587 100644 --- a/net/py-pcapy/files/patch-setup.py +++ b/net/py-pcapy/files/patch-setup.py @@ -1,10 +1,11 @@ ---- setup.py.orig 2009-04-19 02:22:16.549958526 +0800 -+++ setup.py 2009-04-19 02:24:10.837075743 +0800 -@@ -60,7 +60,5 @@ - include_dirs = include_dirs,
- library_dirs = library_dirs,
- libraries = libraries)],
-- data_files = [(os.path.join('share', 'doc', PACKAGE_NAME),
-- ['README', 'LICENSE', 'pcapy.html'])],
- )
-
+--- ./setup.py.orig 2013-04-28 16:58:49.000000000 +0000 ++++ ./setup.py 2013-04-28 17:02:38.000000000 +0000 +@@ -62,8 +62,5 @@ + include_dirs = include_dirs, + library_dirs = library_dirs, + libraries = libraries)], +- scripts = ['tests/pcapytests.py', 'tests/96pings.pcap'], +- data_files = [(os.path.join('share', 'doc', PACKAGE_NAME), +- ['README', 'LICENSE', 'pcapy.html'])], + ) + |