pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/py-impacket
Module Name: pkgsrc
Committed By: nikita
Date: Thu Apr 30 14:53:00 UTC 2020
Modified Files:
pkgsrc/net/py-impacket: Makefile PLIST
Added Files:
pkgsrc/net/py-impacket: ALTERNATIVES
Log Message:
py-impacket: use ALTERNATIVES
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-impacket/ALTERNATIVES
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/py-impacket/Makefile \
pkgsrc/net/py-impacket/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/py-impacket/Makefile
diff -u pkgsrc/net/py-impacket/Makefile:1.1 pkgsrc/net/py-impacket/Makefile:1.2
--- pkgsrc/net/py-impacket/Makefile:1.1 Thu Apr 30 12:17:33 2020
+++ pkgsrc/net/py-impacket/Makefile Thu Apr 30 14:53:00 2020
@@ -1,14 +1,16 @@
-# $NetBSD: Makefile,v 1.1 2020/04/30 12:17:33 nikita Exp $
+# $NetBSD: Makefile,v 1.2 2020/04/30 14:53:00 nikita Exp $
DISTNAME= impacket-0.9.21
+PKGREVISION= 1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= devel python
+CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=i/impacket/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://www.secureauth.com/labs/open-source-tools/impacket
COMMENT= Collection of Python classes for working with network protocols
LICENSE= apache-1.1
+USE_TOOLS+= basename
DEPENDS+= ${PYPKGPREFIX}-asn1-[0-9]*:../../security/py-asn1
DEPENDS+= ${PYPKGPREFIX}-cryptodomex-[0-9]*:../../security/py-cryptodomex
@@ -22,6 +24,14 @@ DEPENDS+= ${PYPKGPREFIX}-ldapdomaindump-
TEST_DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ set -e; \
+ for i in ${DESTDIR}${PREFIX}/bin/*; do \
+ n=`basename "$$i" ".py"`; \
+ ${MV} "$$i" "$$n"-${PYVERSSUFFIX}.py; \
+ done
+
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/py-impacket/PLIST
diff -u pkgsrc/net/py-impacket/PLIST:1.1 pkgsrc/net/py-impacket/PLIST:1.2
--- pkgsrc/net/py-impacket/PLIST:1.1 Thu Apr 30 12:17:33 2020
+++ pkgsrc/net/py-impacket/PLIST Thu Apr 30 14:53:00 2020
@@ -1,55 +1,55 @@
-@comment $NetBSD: PLIST,v 1.1 2020/04/30 12:17:33 nikita Exp $
-bin/GetADUsers.py
-bin/GetNPUsers.py
-bin/GetUserSPNs.py
-bin/addcomputer.py
-bin/atexec.py
-bin/dcomexec.py
-bin/dpapi.py
-bin/esentutl.py
-bin/findDelegation.py
-bin/getArch.py
-bin/getPac.py
-bin/getST.py
-bin/getTGT.py
-bin/goldenPac.py
-bin/ifmap.py
-bin/karmaSMB.py
-bin/kintercept.py
-bin/lookupsid.py
-bin/mimikatz.py
-bin/mqtt_check.py
-bin/mssqlclient.py
-bin/mssqlinstance.py
-bin/netview.py
-bin/nmapAnswerMachine.py
-bin/ntfs-read.py
-bin/ntlmrelayx.py
-bin/opdump.py
-bin/ping.py
-bin/ping6.py
-bin/psexec.py
-bin/raiseChild.py
-bin/rdp_check.py
-bin/reg.py
-bin/registry-read.py
-bin/rpcdump.py
-bin/sambaPipe.py
-bin/samrdump.py
-bin/secretsdump.py
-bin/services.py
-bin/smbclient.py
-bin/smbexec.py
-bin/smbrelayx.py
-bin/smbserver.py
-bin/sniff.py
-bin/sniffer.py
-bin/split.py
-bin/ticketConverter.py
-bin/ticketer.py
-bin/wmiexec.py
-bin/wmipersist.py
-bin/wmiquery.py
+@comment $NetBSD: PLIST,v 1.2 2020/04/30 14:53:00 nikita Exp $
+bin/GetADUsers-${PYVERSSUFFIX}.py
+bin/GetNPUsers-${PYVERSSUFFIX}.py
+bin/GetUserSPNs-${PYVERSSUFFIX}.py
+bin/addcomputer-${PYVERSSUFFIX}.py
+bin/atexec-${PYVERSSUFFIX}.py
+bin/dcomexec-${PYVERSSUFFIX}.py
+bin/dpapi-${PYVERSSUFFIX}.py
+bin/esentutl-${PYVERSSUFFIX}.py
+bin/findDelegation-${PYVERSSUFFIX}.py
+bin/getArch-${PYVERSSUFFIX}.py
+bin/getPac-${PYVERSSUFFIX}.py
+bin/getST-${PYVERSSUFFIX}.py
+bin/getTGT-${PYVERSSUFFIX}.py
+bin/goldenPac-${PYVERSSUFFIX}.py
+bin/ifmap-${PYVERSSUFFIX}.py
+bin/karmaSMB-${PYVERSSUFFIX}.py
+bin/kintercept-${PYVERSSUFFIX}.py
+bin/lookupsid-${PYVERSSUFFIX}.py
+bin/mimikatz-${PYVERSSUFFIX}.py
+bin/mqtt_check-${PYVERSSUFFIX}.py
+bin/mssqlclient-${PYVERSSUFFIX}.py
+bin/mssqlinstance-${PYVERSSUFFIX}.py
+bin/netview-${PYVERSSUFFIX}.py
+bin/nmapAnswerMachine-${PYVERSSUFFIX}.py
+bin/ntfs-read-${PYVERSSUFFIX}.py
+bin/ntlmrelayx-${PYVERSSUFFIX}.py
+bin/opdump-${PYVERSSUFFIX}.py
+bin/ping-${PYVERSSUFFIX}.py
+bin/ping6-${PYVERSSUFFIX}.py
+bin/psexec-${PYVERSSUFFIX}.py
+bin/raiseChild-${PYVERSSUFFIX}.py
+bin/rdp_check-${PYVERSSUFFIX}.py
+bin/reg-${PYVERSSUFFIX}.py
+bin/registry-read-${PYVERSSUFFIX}.py
+bin/rpcdump-${PYVERSSUFFIX}.py
+bin/sambaPipe-${PYVERSSUFFIX}.py
+bin/samrdump-${PYVERSSUFFIX}.py
+bin/secretsdump-${PYVERSSUFFIX}.py
+bin/services-${PYVERSSUFFIX}.py
+bin/smbclient-${PYVERSSUFFIX}.py
+bin/smbexec-${PYVERSSUFFIX}.py
+bin/smbrelayx-${PYVERSSUFFIX}.py
+bin/smbserver-${PYVERSSUFFIX}.py
+bin/sniff-${PYVERSSUFFIX}.py
+bin/sniffer-${PYVERSSUFFIX}.py
+bin/split-${PYVERSSUFFIX}.py
+bin/ticketConverter-${PYVERSSUFFIX}.py
+bin/ticketer-${PYVERSSUFFIX}.py
+bin/wmiexec-${PYVERSSUFFIX}.py
+bin/wmipersist-${PYVERSSUFFIX}.py
+bin/wmiquery-${PYVERSSUFFIX}.py
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
Added files:
Index: pkgsrc/net/py-impacket/ALTERNATIVES
diff -u /dev/null pkgsrc/net/py-impacket/ALTERNATIVES:1.1
--- /dev/null Thu Apr 30 14:53:00 2020
+++ pkgsrc/net/py-impacket/ALTERNATIVES Thu Apr 30 14:53:00 2020
@@ -0,0 +1,51 @@
+bin/GetADUsers.py @PREFIX@/bin/GetADUsers-@PYVERSSUFFIX@.py
+bin/GetNPUsers.py @PREFIX@/bin/GetNPUsers-@PYVERSSUFFIX@.py
+bin/GetUserSPNs.py @PREFIX@/bin/GetUserSPNs-@PYVERSSUFFIX@.py
+bin/addcomputer.py @PREFIX@/bin/addcomputer-@PYVERSSUFFIX@.py
+bin/atexec.py @PREFIX@/bin/atexec-@PYVERSSUFFIX@.py
+bin/dcomexec.py @PREFIX@/bin/dcomexec-@PYVERSSUFFIX@.py
+bin/dpapi.py @PREFIX@/bin/dpapi-@PYVERSSUFFIX@.py
+bin/esentutl.py @PREFIX@/bin/esentutl-@PYVERSSUFFIX@.py
+bin/findDelegation.py @PREFIX@/bin/findDelegation-@PYVERSSUFFIX@.py
+bin/getArch.py @PREFIX@/bin/getArch-@PYVERSSUFFIX@.py
+bin/getPac.py @PREFIX@/bin/getPac-@PYVERSSUFFIX@.py
+bin/getST.py @PREFIX@/bin/getST-@PYVERSSUFFIX@.py
+bin/getTGT.py @PREFIX@/bin/getTGT-@PYVERSSUFFIX@.py
+bin/goldenPac.py @PREFIX@/bin/goldenPac-@PYVERSSUFFIX@.py
+bin/ifmap.py @PREFIX@/bin/ifmap-@PYVERSSUFFIX@.py
+bin/karmaSMB.py @PREFIX@/bin/karmaSMB-@PYVERSSUFFIX@.py
+bin/kintercept.py @PREFIX@/bin/kintercept-@PYVERSSUFFIX@.py
+bin/lookupsid.py @PREFIX@/bin/lookupsid-@PYVERSSUFFIX@.py
+bin/mimikatz.py @PREFIX@/bin/mimikatz-@PYVERSSUFFIX@.py
+bin/mqtt_check.py @PREFIX@/bin/mqtt_check-@PYVERSSUFFIX@.py
+bin/mssqlclient.py @PREFIX@/bin/mssqlclient-@PYVERSSUFFIX@.py
+bin/mssqlinstance.py @PREFIX@/bin/mssqlinstance-@PYVERSSUFFIX@.py
+bin/netview.py @PREFIX@/bin/netview-@PYVERSSUFFIX@.py
+bin/nmapAnswerMachine.py @PREFIX@/bin/nmapAnswerMachine-@PYVERSSUFFIX@.py
+bin/ntfs-read.py @PREFIX@/bin/ntfs-read-@PYVERSSUFFIX@.py
+bin/ntlmrelayx.py @PREFIX@/bin/ntlmrelayx-@PYVERSSUFFIX@.py
+bin/opdump.py @PREFIX@/bin/opdump-@PYVERSSUFFIX@.py
+bin/ping.py @PREFIX@/bin/ping-@PYVERSSUFFIX@.py
+bin/ping6.py @PREFIX@/bin/ping6-@PYVERSSUFFIX@.py
+bin/psexec.py @PREFIX@/bin/psexec-@PYVERSSUFFIX@.py
+bin/raiseChild.py @PREFIX@/bin/raiseChild-@PYVERSSUFFIX@.py
+bin/rdp_check.py @PREFIX@/bin/rdp_check-@PYVERSSUFFIX@.py
+bin/reg.py @PREFIX@/bin/reg-@PYVERSSUFFIX@.py
+bin/registry-read.py @PREFIX@/bin/registry-read-@PYVERSSUFFIX@.py
+bin/rpcdump.py @PREFIX@/bin/rpcdump-@PYVERSSUFFIX@.py
+bin/sambaPipe.py @PREFIX@/bin/sambaPipe-@PYVERSSUFFIX@.py
+bin/samrdump.py @PREFIX@/bin/samrdump-@PYVERSSUFFIX@.py
+bin/secretsdump.py @PREFIX@/bin/secretsdump-@PYVERSSUFFIX@.py
+bin/services.py @PREFIX@/bin/services-@PYVERSSUFFIX@.py
+bin/smbclient.py @PREFIX@/bin/smbclient-@PYVERSSUFFIX@.py
+bin/smbexec.py @PREFIX@/bin/smbexec-@PYVERSSUFFIX@.py
+bin/smbrelayx.py @PREFIX@/bin/smbrelayx-@PYVERSSUFFIX@.py
+bin/smbserver.py @PREFIX@/bin/smbserver-@PYVERSSUFFIX@.py
+bin/sniff.py @PREFIX@/bin/sniff-@PYVERSSUFFIX@.py
+bin/sniffer.py @PREFIX@/bin/sniffer-@PYVERSSUFFIX@.py
+bin/split.py @PREFIX@/bin/split-@PYVERSSUFFIX@.py
+bin/ticketConverter.py @PREFIX@/bin/ticketConverter-@PYVERSSUFFIX@.py
+bin/ticketer.py @PREFIX@/bin/ticketer-@PYVERSSUFFIX@.py
+bin/wmiexec.py @PREFIX@/bin/wmiexec-@PYVERSSUFFIX@.py
+bin/wmipersist.py @PREFIX@/bin/wmipersist-@PYVERSSUFFIX@.py
+bin/wmiquery.py @PREFIX@/bin/wmiquery-@PYVERSSUFFIX@.py
Home |
Main Index |
Thread Index |
Old Index