pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

updated wip/sipvicisous to 0.3.0



Module Name:	pkgsrc-wip
Committed By:	Georg Schwarz <schwarz%NetBSD.org@localhost>
Pushed By:	schwarz
Date:		Thu Dec 10 12:12:03 2020 +0100
Changeset:	484ad350f66229a04f776af2a25c7079a7c9cc4b

Modified Files:
	sipvicious/Makefile
	sipvicious/PLIST
	sipvicious/distinfo

Log Message:
updated wip/sipvicisous to 0.3.0

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=484ad350f66229a04f776af2a25c7079a7c9cc4b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 sipvicious/Makefile | 24 +++++++++++-------------
 sipvicious/PLIST    | 11 ++++++-----
 sipvicious/distinfo |  7 ++++---
 3 files changed, 21 insertions(+), 21 deletions(-)

diffs:
diff --git a/sipvicious/Makefile b/sipvicious/Makefile
index 7b5d01a7d7..40e87d7ae1 100644
--- a/sipvicious/Makefile
+++ b/sipvicious/Makefile
@@ -1,29 +1,27 @@
 # $NetBSD: Makefile,v 1.2 2015/05/03 13:20:34 thomasklausner Exp $
 
-DISTNAME=	sipvicious-0.2.8
+DISTNAME=	v0.3.0
+PKGNAME=	${DISTNAME:S/v/sipvicious-/}
 CATEGORIES=	security
-MASTER_SITES=	http://sipvicious.googlecode.com/files/
-EXTRACT_SUFX=	.zip
+MASTER_SITES=	https://github.com/EnableSecurity/sipvicious/archive/
 
 MAINTAINER=	schwarz%NetBSD.org@localhost
 HOMEPAGE=	http://www.sipvicious.org/
 COMMENT=	SIPVicious is a SIP security tool suite
 LICENSE=	gnu-gpl-v2
 
-PYTHON_SCRIPTS=	svcrack.py svcrash.py svmap.py svreport.py svwar.py
+#DEPENDS+=	python>=3.0:../../lang/python
 
-USE_LANGUAGES=		#perl scripts only
-NO_BUILD=		YES
-REPLACE_PYTHON+=	${PYTHON_SCRIPTS}
+WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}
+USE_LANGUAGES=		# python scripts only
 INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
 
+do-build:
+	cd ${WRKSRC} && ${PYTHONBIN} ./setup.py build
+
 do-install:
-.for script in ${PYTHON_SCRIPTS}
-	${INSTALL_SCRIPT} ${WRKSRC}/${script} ${DESTDIR}${PREFIX}/bin
-.endfor
-.for man in ${PYTHON_SCRIPTS:S/.py/.1/g}
-	${INSTALL_DATA} ${WRKSRC}/man1/${man} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
-.endfor
+	cd ${WRKSRC} && ${PYTHONBIN} ./setup.py install
+	cd ${WRKSRC}/man1 && ${INSTALL_DATA} *.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/sipvicious/PLIST b/sipvicious/PLIST
index 8d72ede2d8..ad02d80a94 100644
--- a/sipvicious/PLIST
+++ b/sipvicious/PLIST
@@ -1,9 +1,10 @@
 @comment $NetBSD: PLIST,v 1.2 2015/05/03 13:20:13 thomasklausner Exp $
-bin/svcrack.py
-bin/svcrash.py
-bin/svmap.py
-bin/svreport.py
-bin/svwar.py
+lib/python3.8/site-packages/sipvicious-0.3.0-py3.8.egg
+bin/sipvicious_svcrack
+bin/sipvicious_svcrash
+bin/sipvicious_svmap
+bin/sipvicious_svreport
+bin/sipvicious_svwar
 man/man1/svcrack.1
 man/man1/svcrash.1
 man/man1/svmap.1
diff --git a/sipvicious/distinfo b/sipvicious/distinfo
index a2e9699ba5..0a2ae0ff01 100644
--- a/sipvicious/distinfo
+++ b/sipvicious/distinfo
@@ -1,5 +1,6 @@
 $NetBSD: distinfo,v 1.1 2015/05/01 18:05:31 gschwarz Exp $
 
-SHA1 (sipvicious-0.2.8.zip) = dae625bcb2d10b4f042e9f92cbdb496c9fd4aae1
-RMD160 (sipvicious-0.2.8.zip) = 705ff83dfe3132f718ce43a10f8561d1738f1e0c
-Size (sipvicious-0.2.8.zip) = 122734 bytes
+SHA1 (v0.3.0.tar.gz) = 6a759e12234630b3257fd5048eb959fac8ab6724
+RMD160 (v0.3.0.tar.gz) = 46907f7a8ad654d0e13f5ef3afbc5ab13b1bd75b
+SHA512 (v0.3.0.tar.gz) = 35aa3ea7d3cfd6f84716cd95a263357881196eaa180375d1f0a392a1478292ba9a8bf6cd53888448523f7faa447c82cc43fb1ef6c105a0e93e6c7854a51da172
+Size (v0.3.0.tar.gz) = 43097 bytes


Home | Main Index | Thread Index | Old Index