ports/187973: net/py-impacket: Update to version 1.9.11
KATO Tsuguru
tkato432 at yahoo.com
Wed Mar 26 18:40:02 UTC 2014
>Number: 187973
>Category: ports
>Synopsis: net/py-impacket: Update to version 1.9.11
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 26 18:40:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 8.4-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update to version 1.9.11
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/net/py-impacket/Makefile net/py-impacket/Makefile
--- /usr/ports/net/py-impacket/Makefile 2014-01-23 04:08:35.000000000 +0900
+++ net/py-impacket/Makefile 2014-03-27 00:00:00.000000000 +0900
@@ -2,37 +2,48 @@
# $FreeBSD: head/net/py-impacket/Makefile 340722 2014-01-22 17:00:46Z mat $
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 at FreeBSD.org
COMMENT= Collection of Python classes providing access to network packets
-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
+LICENSE= APACHE11
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pcapy>=0:${PORTSDIR}/net/py-pcapy \
${PYTHON_PKGNAMEPREFIX}pycrypto>=0:${PORTSDIR}/security/py-pycrypto
-USES= dos2unix
+NO_ARCH= yes
+
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST=yes
-PORTDOCS= README
+DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
-OPTIONS_DEFINE= DOCS
+PORTDOCS= *
+PORTEXAMPLES= *
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
+ (cd ${WRKSRC} && ${INSTALL_DATA} README \
+ ${STAGEDIR}${DOCSDIR})
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/testcases/ImpactPacket
+ (cd ${WRKSRC}/impacket/testcases/ImpactPacket && ${INSTALL_DATA} * \
+ ${STAGEDIR}${DOCSDIR}/testcases/ImpactPacket)
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/testcases/SMB-RPC
+ (cd ${WRKSRC}/impacket/testcases/SMB-RPC && ${INSTALL_DATA} * \
+ ${STAGEDIR}${DOCSDIR}/testcases/SMB-RPC)
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/testcases/dot11
+ (cd ${WRKSRC}/impacket/testcases/dot11 && ${INSTALL_DATA} * \
+ ${STAGEDIR}${DOCSDIR}/testcases/dot11)
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples && ${INSTALL_DATA} *.py \
+ ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
diff -urN /usr/ports/net/py-impacket/distinfo net/py-impacket/distinfo
--- /usr/ports/net/py-impacket/distinfo 2014-01-23 04:08:36.000000000 +0900
+++ net/py-impacket/distinfo 2014-03-27 00:00:00.000000000 +0900
@@ -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
diff -urN /usr/ports/net/py-impacket/files/patch-setup.py net/py-impacket/files/patch-setup.py
--- /usr/ports/net/py-impacket/files/patch-setup.py 2014-01-23 04:08:36.000000000 +0900
+++ net/py-impacket/files/patch-setup.py 2014-03-27 00:00:00.000000000 +0900
@@ -1,10 +1,12 @@
--- ./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 @@
+@@ -20,9 +20,4 @@
+ long_description = '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.',
platforms = ["Unix","Windows"],
- packages = ['impacket', 'impacket.dcerpc', 'impacket.examples'],
- scripts = glob.glob(os.path.join('examples', '*.py')),
-- data_files = [(os.path.join('share', 'doc', PACKAGE_NAME),
-- ['README', 'LICENSE']+glob.glob('doc/*'))],
-
+ 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/*')),
+- (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/*'))],
)
diff -urN /usr/ports/net/py-impacket/pkg-descr net/py-impacket/pkg-descr
--- /usr/ports/net/py-impacket/pkg-descr 2014-01-23 04:08:36.000000000 +0900
+++ net/py-impacket/pkg-descr 2014-03-27 00:00:00.000000000 +0900
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list