View | Details | Raw Unified | Return to bug 260732 | Differences between
and this patch

Collapse All | Expand All

(-)b/net/py-pcapy-ng/Makefile (+32 lines)
Added Link Here
1
# Created by: Michael Muenz <m.muenz@gmail.com>
2
3
PORTNAME=	pcapy-ng
4
PORTVERSION=	1.0.4
5
CATEGORIES=	net python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
MAINTAINER=	m.muenz@gmail.com
10
COMMENT=	Python pcap extension
11
12
LICENSE=	APACHE11
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
CONFLICTS_INSTALL=	pcapy
16
17
USES=		python:3.6+ dos2unix
18
USE_PYTHON=	autoplist distutils
19
20
DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
21
PORTDOCS=	README pcapy.html
22
23
OPTIONS_DEFINE=	DOCS
24
25
post-install:
26
	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pcapy*.so
27
28
post-install-DOCS-on:
29
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
30
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
31
32
.include <bsd.port.mk>
(-)b/net/py-pcapy-ng/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1640604068
2
SHA256 (pcapy-ng-1.0.4.tar.gz) = b272a90c8488e765a33128e903e2ade41c9b65f7b95ee3aa9a8ddc69efd9dc53
3
SIZE (pcapy-ng-1.0.4.tar.gz) = 38617
(-)b/net/py-pcapy-ng/pkg-descr (+9 lines)
Added Link Here
1
Pcapy is a Python extension module that interfaces with the libpcap packet
2
capture library. Pcapy enables Python scripts to capture packets on the network.
3
4
Pcapy is highly effective when used in conjunction with a packet-handling
5
package such as Impacket, which is a collection of Python classes for
6
constructing and dissecting network packets.
7
8
WWW: https://github.com/CoreSecurity/pcapy
9
WWW: http://www.coresecurity.com/corelabs-research/open-source-tools/pcapy

Return to bug 260732