svn commit: r316758 - in head/net/py-pcapy: . files

Antoine Brodin antoine at FreeBSD.org
Sun Apr 28 22:08:44 UTC 2013


Author: antoine
Date: Sun Apr 28 22:08:43 2013
New Revision: 316758
URL: http://svnweb.freebsd.org/changeset/ports/316758

Log:
  Unbreak and update py-pcapy to 0.10.8
  
  Approved by:	eadler (mentor)

Modified:
  head/net/py-pcapy/Makefile
  head/net/py-pcapy/distinfo
  head/net/py-pcapy/files/patch-setup.py

Modified: head/net/py-pcapy/Makefile
==============================================================================
--- head/net/py-pcapy/Makefile	Sun Apr 28 22:08:22 2013	(r316757)
+++ head/net/py-pcapy/Makefile	Sun Apr 28 22:08:43 2013	(r316758)
@@ -1,30 +1,34 @@
-# New ports collection makefile for:	pcapy
-# Date created:				15th September 2005
-# Whom:					Marcin Jessa <yazzy at yazzy.org>
+# Created by: Marcin Jessa <yazzy at 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 at 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

Modified: head/net/py-pcapy/distinfo
==============================================================================
--- head/net/py-pcapy/distinfo	Sun Apr 28 22:08:22 2013	(r316757)
+++ head/net/py-pcapy/distinfo	Sun Apr 28 22:08:43 2013	(r316758)
@@ -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

Modified: head/net/py-pcapy/files/patch-setup.py
==============================================================================
--- head/net/py-pcapy/files/patch-setup.py	Sun Apr 28 22:08:22 2013	(r316757)
+++ head/net/py-pcapy/files/patch-setup.py	Sun Apr 28 22:08:43 2013	(r316758)
@@ -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'])],
+       )
+ 


More information about the svn-ports-head mailing list