pkgsrc-WIP-changes archive

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

Fix sipvicious and rename to py-sipvicious



Module Name:	pkgsrc-wip
Committed By:	Adam Ciarciński <aciarcinski%teonite.com@localhost>
Pushed By:	adam
Date:		Thu Dec 10 17:19:15 2020 +0100
Changeset:	61bb1f22bc32e6b8144d9bd48763c5b77886a6fa

Modified Files:
	Makefile
Added Files:
	py-sipvicious/ALTERNATIVES
	py-sipvicious/DESCR
	py-sipvicious/Makefile
	py-sipvicious/PLIST
	py-sipvicious/distinfo
Removed Files:
	sipvicious/DESCR
	sipvicious/Makefile
	sipvicious/PLIST
	sipvicious/distinfo

Log Message:
Fix sipvicious and rename to py-sipvicious

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

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

diffstat:
 Makefile                   |  2 +-
 py-sipvicious/ALTERNATIVES |  5 +++++
 py-sipvicious/DESCR        |  2 ++
 py-sipvicious/Makefile     | 24 ++++++++++++++++++++++++
 py-sipvicious/PLIST        | 38 ++++++++++++++++++++++++++++++++++++++
 py-sipvicious/distinfo     |  6 ++++++
 sipvicious/DESCR           |  1 -
 sipvicious/Makefile        | 27 ---------------------------
 sipvicious/PLIST           | 12 ------------
 sipvicious/distinfo        |  6 ------
 10 files changed, 76 insertions(+), 47 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 7fef6ce4b5..c08d4c4af0 100644
--- a/Makefile
+++ b/Makefile
@@ -4186,6 +4186,7 @@ SUBDIR+=	py-simplegeneric
 SUBDIR+=	py-simpleparse-mxtexttools
 SUBDIR+=	py-simulators
 SUBDIR+=	py-singletonify
+SUBDIR+=	py-sipvicious
 SUBDIR+=	py-sleekxmpp
 SUBDIR+=	py-smcp
 SUBDIR+=	py-smell
@@ -4750,7 +4751,6 @@ SUBDIR+=	singular
 SUBDIR+=	singularity
 SUBDIR+=	sipp
 SUBDIR+=	siptoolbox
-SUBDIR+=	sipvicious
 SUBDIR+=	sipwitch
 SUBDIR+=	sis
 SUBDIR+=	siscone
diff --git a/py-sipvicious/ALTERNATIVES b/py-sipvicious/ALTERNATIVES
new file mode 100644
index 0000000000..d1b3786191
--- /dev/null
+++ b/py-sipvicious/ALTERNATIVES
@@ -0,0 +1,5 @@
+bin/sipvicious_svcrack @PREFIX@/bin/sipvicious_svcrack-@PYVERSSUFFIX@
+bin/sipvicious_svcrash @PREFIX@/bin/sipvicious_svcrash-@PYVERSSUFFIX@
+bin/sipvicious_svmap @PREFIX@/bin/sipvicious_svmap-@PYVERSSUFFIX@
+bin/sipvicious_svreport @PREFIX@/bin/sipvicious_svreport-@PYVERSSUFFIX@
+bin/sipvicious_svwar @PREFIX@/bin/sipvicious_svwar-@PYVERSSUFFIX@
diff --git a/py-sipvicious/DESCR b/py-sipvicious/DESCR
new file mode 100644
index 0000000000..39aef70dd1
--- /dev/null
+++ b/py-sipvicious/DESCR
@@ -0,0 +1,2 @@
+SIPVicious suite is a set of tools that can be used to audit SIP based VoIP
+systems.
diff --git a/py-sipvicious/Makefile b/py-sipvicious/Makefile
new file mode 100644
index 0000000000..a6cbbd8d9a
--- /dev/null
+++ b/py-sipvicious/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=	sipvicious-0.3.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	security python
+MASTER_SITES=	${MASTER_SITE_PYPI:=s/sipvicious/}
+
+MAINTAINER=	schwarz%NetBSD.org@localhost
+HOMEPAGE=	http://www.sipvicious.org/
+COMMENT=	Set of tools that can be used to audit SIP based VoIP systems
+LICENSE=	gnu-gpl-v2
+
+USE_LANGUAGES=		# none
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+post-install:
+.for bin in svcrack svcrash svmap svreport svwar
+	cd ${DESTDIR}${PREFIX}/bin && \
+	${MV} sipvicious_${bin} sipvicious_${bin}-${PYVERSSUFFIX} || ${TRUE}
+.endfor
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-sipvicious/PLIST b/py-sipvicious/PLIST
new file mode 100644
index 0000000000..e7054cc390
--- /dev/null
+++ b/py-sipvicious/PLIST
@@ -0,0 +1,38 @@
+@comment $NetBSD$
+bin/sipvicious_svcrack-${PYVERSSUFFIX}
+bin/sipvicious_svcrash-${PYVERSSUFFIX}
+bin/sipvicious_svmap-${PYVERSSUFFIX}
+bin/sipvicious_svreport-${PYVERSSUFFIX}
+bin/sipvicious_svwar-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/sipvicious/__init__.py
+${PYSITELIB}/sipvicious/__init__.pyc
+${PYSITELIB}/sipvicious/__init__.pyo
+${PYSITELIB}/sipvicious/libs/__init__.py
+${PYSITELIB}/sipvicious/libs/__init__.pyc
+${PYSITELIB}/sipvicious/libs/__init__.pyo
+${PYSITELIB}/sipvicious/libs/pptable.py
+${PYSITELIB}/sipvicious/libs/pptable.pyc
+${PYSITELIB}/sipvicious/libs/pptable.pyo
+${PYSITELIB}/sipvicious/libs/svhelper.py
+${PYSITELIB}/sipvicious/libs/svhelper.pyc
+${PYSITELIB}/sipvicious/libs/svhelper.pyo
+${PYSITELIB}/sipvicious/svcrack.py
+${PYSITELIB}/sipvicious/svcrack.pyc
+${PYSITELIB}/sipvicious/svcrack.pyo
+${PYSITELIB}/sipvicious/svcrash.py
+${PYSITELIB}/sipvicious/svcrash.pyc
+${PYSITELIB}/sipvicious/svcrash.pyo
+${PYSITELIB}/sipvicious/svmap.py
+${PYSITELIB}/sipvicious/svmap.pyc
+${PYSITELIB}/sipvicious/svmap.pyo
+${PYSITELIB}/sipvicious/svreport.py
+${PYSITELIB}/sipvicious/svreport.pyc
+${PYSITELIB}/sipvicious/svreport.pyo
+${PYSITELIB}/sipvicious/svwar.py
+${PYSITELIB}/sipvicious/svwar.pyc
+${PYSITELIB}/sipvicious/svwar.pyo
diff --git a/py-sipvicious/distinfo b/py-sipvicious/distinfo
new file mode 100644
index 0000000000..0b0472d532
--- /dev/null
+++ b/py-sipvicious/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2015/05/01 18:05:31 gschwarz Exp $
+
+SHA1 (sipvicious-0.3.0.tar.gz) = a102ba7bf8c935c3fe943355d8ed165c8ada5eff
+RMD160 (sipvicious-0.3.0.tar.gz) = 36c69e148a0ed960c0accc12ddc0dfd16a31b1a9
+SHA512 (sipvicious-0.3.0.tar.gz) = 48c439595ea4063721e76dbc18ad161f0c25fe1aabb2a89927948623001caf725e0f8921ac39ceb7b2747a872a83f1c7f90615c889cb550526a2ac4617cbca2b
+Size (sipvicious-0.3.0.tar.gz) = 37113 bytes
diff --git a/sipvicious/DESCR b/sipvicious/DESCR
deleted file mode 100644
index 5632889445..0000000000
--- a/sipvicious/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-SIPVicious is a SIP security tool suite.
diff --git a/sipvicious/Makefile b/sipvicious/Makefile
deleted file mode 100644
index 40e87d7ae1..0000000000
--- a/sipvicious/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2015/05/03 13:20:34 thomasklausner Exp $
-
-DISTNAME=	v0.3.0
-PKGNAME=	${DISTNAME:S/v/sipvicious-/}
-CATEGORIES=	security
-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
-
-#DEPENDS+=	python>=3.0:../../lang/python
-
-WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}
-USE_LANGUAGES=		# python scripts only
-INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
-
-do-build:
-	cd ${WRKSRC} && ${PYTHONBIN} ./setup.py build
-
-do-install:
-	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
deleted file mode 100644
index 6b6d9a1034..0000000000
--- a/sipvicious/PLIST
+++ /dev/null
@@ -1,12 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2015/05/03 13:20:13 thomasklausner Exp $
-${PYSITELIB}/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
-man/man1/svreport.1
-man/man1/svwar.1
diff --git a/sipvicious/distinfo b/sipvicious/distinfo
deleted file mode 100644
index 0a2ae0ff01..0000000000
--- a/sipvicious/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.1 2015/05/01 18:05:31 gschwarz Exp $
-
-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