Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2008 04:00:20 +0800 (CST)
From:      Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        perky@FreeBSD.org
Subject:   ports/128825: [PATCH] net/py-pcap: update to 0.6.2
Message-ID:  <200811122000.mACK0KSE063858@stucgi.cs.nctu.edu.tw>
Resent-Message-ID: <200811122010.mACKA2GN018134@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         128825
>Category:       ports
>Synopsis:       [PATCH] net/py-pcap: update to 0.6.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 12 20:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yi-Jheng Lin
>Release:        FreeBSD 7.0-RELEASE-p4 amd64
>Organization:
NCTU CS
>Environment:
System: FreeBSD stucgi 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Fri Sep  5 14:56:26 CST
>Description:
- Update to 0.6.2

Removed file(s):
- files/patch-mk-constants.py
- files/patch-setup.py

Port maintainer (perky@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- py25-pcap-0.6.2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/py-pcap/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile	3 Oct 2007 23:53:09 -0000	1.18
+++ Makefile	12 Nov 2008 19:59:26 -0000
@@ -6,15 +6,13 @@
 #
 
 PORTNAME=	pcap
-PORTVERSION=	0.5
+PORTVERSION=	0.6.2
 CATEGORIES=	net python
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 		http://people.freebsd.org/~perky/distfiles/:local
 MASTER_SITE_SUBDIR=	pylibpcap
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTFILES=	pylibpcap-${PORTVERSION}.tar.gz \
-		pylibpcap-doc.i.1.4:local
-EXTRACT_ONLY=	pylibpcap-${PORTVERSION}.tar.gz
+DISTNAME=	pylibpcap-${PORTVERSION}
 
 MAINTAINER=	perky@FreeBSD.org
 COMMENT=	Python interface to LBL Packet Capture library (libpcap)
@@ -25,15 +23,11 @@
 USE_PYDISTUTILS=	yes
 USE_PYTHON_PREFIX=	yes
 PYDISTUTILS_PKGNAME=	pylibpcap
-WRKSRC=		${WRKDIR}/pylibpcap-${PORTVERSION}
 
 .include <bsd.port.pre.mk>
 
 .if ( ${OSVERSION} < 500038 )
-IGNORE=		"needs libpcap 0.7 or higher"
+IGNORE=		needs libpcap 0.7 or higher
 .endif
 
-post-extract:
-	${INSTALL_DATA} ${DISTDIR}/pylibpcap-doc.i.1.4 ${WRKSRC}/doc.i
-
 .include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/net/py-pcap/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo	22 Jan 2006 21:23:41 -0000	1.7
+++ distinfo	12 Nov 2008 19:59:26 -0000
@@ -1,6 +1,3 @@
-MD5 (pylibpcap-0.5.tar.gz) = 3720289b8de89954de125c3f657ca7ac
-SHA256 (pylibpcap-0.5.tar.gz) = c91845d71bd06e4857736a0748b3e94ba2f86eafd2c52a22b6013d6b7fddcac7
-SIZE (pylibpcap-0.5.tar.gz) = 22784
-MD5 (pylibpcap-doc.i.1.4) = eb095e3a75a5d55fb803a9f225f14f4b
-SHA256 (pylibpcap-doc.i.1.4) = a20188fe8e5567d91b943c2380f2e69a50fc680c826a54d60c354bf77393950e
-SIZE (pylibpcap-doc.i.1.4) = 6584
+MD5 (pylibpcap-0.6.2.tar.gz) = 45793c31fe008fa508a9a51d744e9d00
+SHA256 (pylibpcap-0.6.2.tar.gz) = 0cdb507eaf27e7d6f4e3ee74a5986e14728fd8161785350d201a12198c19fcc6
+SIZE (pylibpcap-0.6.2.tar.gz) = 49021
Index: files/patch-mk-constants.py
===================================================================
RCS file: files/patch-mk-constants.py
diff -N files/patch-mk-constants.py
--- files/patch-mk-constants.py	19 Mar 2006 08:36:37 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,10 +0,0 @@
---- mk-constants.py.orig	Sun Mar 19 17:21:07 2006
-+++ mk-constants.py	Sun Mar 19 17:21:41 2006
-@@ -79,6 +79,7 @@
- rcs = '   $Id: mk-constants.py,v 1.2 2004/06/07 05:34:49 wiml Exp $\n'
- fp.write(string.replace(rcs, '$', ''))
- fp.write('   Do not edit this file directly, it will be overwritten \n*/\n\n')
-+fp.write('#define SWIG_PY_INT 1\n')
- fp.write('static struct swig_const_info const pcapmodule_DLT[] = {\n')
- for dlt in linktypes:
-     fp.write('#ifdef %s\n' % (dlt,))
Index: files/patch-setup.py
===================================================================
RCS file: files/patch-setup.py
diff -N files/patch-setup.py
--- files/patch-setup.py	10 Oct 2005 14:46:26 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,23 +0,0 @@
---- setup.py.orig	Mon Jul  4 08:14:31 2005
-+++ setup.py	Mon Oct 10 23:40:45 2005
-@@ -75,7 +75,7 @@
-               new_sources.append(source)
-       return new_sources
-     
--  def swig_sources(self, sources):
-+  def swig_sources(self, sources, ext=None):
-   
-       """Walk the list of source files in 'sources', looking for SWIG
-       interface (.i) files.  Run SWIG on all that are found, and
-@@ -121,11 +121,6 @@
-           self.announce("swigging %s to %s" % (source, target))
-           self.spawn(swig_cmd + ["-o", target, source])
- 
--          self.announce('doc-ifying swig-generated source file %s' % target)
--          self.spawn(['./build-tools/docify.py', target])
--
--          self.announce('doc-ifying swig-generated shadow class file %s' % 'pcap.py')
--          self.spawn(['./build-tools/docify-shadow.py', 'pcap.py'])
-   
-       return new_sources
- 
--- py25-pcap-0.6.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811122000.mACK0KSE063858>