9ed2548f09
* pcap_interface.c: Release the GIL when calling into libpcap,
to allow other threads to run. (SF bug 2080784
)
* pcap_interface.c: Minor improvements to exception processing.
Fixes SF bug 1758709, probably others.
* mk-constants.py: Added more DLT_ values from tcpdump.org.
* Regenerated pcap.c and pcap.py using SWIG 1.3.31.
21 lines
608 B
Makefile
21 lines
608 B
Makefile
# $NetBSD: Makefile,v 1.13 2013/06/15 20:18:14 adam Exp $
|
|
|
|
DISTNAME= pylibpcap-0.6.4
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pylibpcap/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://pylibpcap.sourceforge.net/
|
|
COMMENT= Python wrapper for libpcap
|
|
LICENSE= modified-bsd
|
|
|
|
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.9.3nb1
|
|
|
|
pre-build:
|
|
(cd ${WRKSRC} && ${PYTHONBIN} mk-constants.py)
|
|
|
|
.include "../../lang/python/distutils.mk"
|
|
#.include "../../devel/swig/buildlink3.mk"
|
|
.include "../../net/libpcap/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|