1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

- Update to 0.9.11

- Apache license 1.1 is now in the framework

PR:		ports/187973
Submitted by:	KATO Tsuguru
This commit is contained in:
Antoine Brodin 2014-03-28 21:58:17 +00:00
parent 0f2a6d2605
commit 50d0809adf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349467
4 changed files with 26 additions and 33 deletions

View File

@ -2,18 +2,16 @@
# $FreeBSD$
PORTNAME= impacket
PORTVERSION= 0.9.10
PORTVERSION= 0.9.11
CATEGORIES= net python
MASTER_SITES= GOOGLE_CODE
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Collection of Python classes providing access to network packets
LICENSE= AL11
LICENSE_NAME= Apache License version 1.1
LICENSE= APACHE11
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pcapy>=0:${PORTSDIR}/net/py-pcapy \
${PYTHON_PKGNAMEPREFIX}pycrypto>=0:${PORTSDIR}/security/py-pycrypto
@ -23,16 +21,13 @@ USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST=yes
PORTDOCS= README
PORTDOCS= *
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/impacket && ${COPYTREE_SHARE} testcases ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (impacket-0.9.10.tar.gz) = 6d9e2b91f825c3bdfb9b5f42419900fcc7739257cbb5eac48ee8d8f68166092b
SIZE (impacket-0.9.10.tar.gz) = 435448
SHA256 (impacket-0.9.11.tar.gz) = e0b4e5174b869efa35c3068ee55ac3c2364706b59ffc43cd9e3c2f75f5accf2d
SIZE (impacket-0.9.11.tar.gz) = 779016

View File

@ -1,10 +1,11 @@
--- ./setup.py.orig 2013-05-08 13:57:03.000000000 +0000
+++ ./setup.py 2013-05-08 13:57:03.000000000 +0000
@@ -21,7 +21,5 @@
--- ./setup.py.orig 2014-01-30 16:07:52.000000000 +0000
+++ ./setup.py 2014-03-26 22:12:00.000000000 +0000
@@ -21,8 +21,4 @@
platforms = ["Unix","Windows"],
packages = ['impacket', 'impacket.dcerpc', 'impacket.examples'],
packages = ['impacket', 'impacket.dcerpc', 'impacket.examples', 'impacket.dcerpc.v5'],
scripts = glob.glob(os.path.join('examples', '*.py')),
- data_files = [(os.path.join('share', 'doc', PACKAGE_NAME),
- ['README', 'LICENSE']+glob.glob('doc/*'))],
- data_files = [(os.path.join('share', 'doc', PACKAGE_NAME), ['README', 'LICENSE']+glob.glob('doc/*')),
- (os.path.join('share', 'doc', PACKAGE_NAME, 'testcases', 'dot11'),glob.glob('impacket/testcases/dot11/*')),
- (os.path.join('share', 'doc', PACKAGE_NAME, 'testcases', 'ImpactPacket'),glob.glob('impacket/testcases/ImpactPacket/*')),
- (os.path.join('share', 'doc', PACKAGE_NAME, 'testcases', 'SMB-RPC'),glob.glob('impacket/testcases/SMB-RPC/*'))],
)

View File

@ -1,14 +1,11 @@
Impacket is a collection of Python classes focused
on providing access to network packets.
Impacket allows Python developers to craft and decode
network packets in simple and consistent manner.
It includes support for low-level protocols such as
IP, UDP and TCP, as well as higher-level protocols
such as NMB and SMB. Impacket is highly effective
when used in conjunction with a packet capture utility
or package such as Pcapy. Packets can be constructed
from scratch, as well as parsed from raw data. Furthermore,
the object oriented API makes it simple to work with deep
protocol hierarchies.
Impacket is a collection of Python classes focused on providing access
to network packets. Impacket allows Python developers to craft and
decode network packets in simple and consistent manner. It includes
support for low-level protocols such as IP, UDP and TCP, as well as
higher-level protocols such as NMB and SMB. Impacket is highly effective
when used in conjunction with a packet capture utility or package such
as Pcapy. Packets can be constructed from scratch, as well as parsed
from raw data. Furthermore, the object oriented API makes it simple to
work with deep protocol hierarchies.
WWW: http://oss.coresecurity.com/projects/impacket.html
WWW: http://corelabs.coresecurity.com/index.php?module=Wiki&action=view&type=tool&name=Impacket