From 27b814973e6c1c8f9174b17a420967d47b656a50 Mon Sep 17 00:00:00 2001 From: blshkv Date: Fri, 15 Jun 2018 07:53:17 +0800 Subject: [PATCH] routersploit: 3.1.0 bump --- app-exploits/routersploit/Manifest | 1 + .../routersploit/routersploit-3.0.0.ebuild | 65 +------------------ .../routersploit/routersploit-3.1.0.ebuild | 1 + .../routersploit/routersploit-9999.ebuild | 65 ++++++++++++++++++- 4 files changed, 67 insertions(+), 65 deletions(-) mode change 100644 => 120000 app-exploits/routersploit/routersploit-3.0.0.ebuild create mode 120000 app-exploits/routersploit/routersploit-3.1.0.ebuild mode change 120000 => 100644 app-exploits/routersploit/routersploit-9999.ebuild diff --git a/app-exploits/routersploit/Manifest b/app-exploits/routersploit/Manifest index f3b7bf332..6e2f69085 100644 --- a/app-exploits/routersploit/Manifest +++ b/app-exploits/routersploit/Manifest @@ -1 +1,2 @@ DIST routersploit-3.0.0.tar.gz 418706 BLAKE2B d297929d0122656921a2fec0e2edde6c040ca1bf60ea5d5b477a08d8611e5142af38c40f9f16da7ac7f77ee7f2019e4027543d63cb5cef54015802489afbc9ec SHA512 0367a11c086e98db08691f25f6a45cf3e210948d9f06e91602230d87f091a28387b51cbc8bc6e9d7d0a2da0f5ab4cd404a683dee290956e8754a988e0912fa27 +DIST routersploit-3.1.0.tar.gz 432902 BLAKE2B 0998d51297b5150a299c22cb48471b7ba66f39440b69727cf45f71538884953d4310bd603f9ac23d2732d4c1855dd7ec12a0bd79b0156bf08b6ed1b67ab71207 SHA512 1fd80e811b6f36d751b9a89a2d4d6721cdbf9c9906b806f035a95d2455065639e780f27cbe5d95b101b6fec03882d3518ba25fcb5e2d0419b9d42a8a6809b59f diff --git a/app-exploits/routersploit/routersploit-3.0.0.ebuild b/app-exploits/routersploit/routersploit-3.0.0.ebuild deleted file mode 100644 index 5902f7ce1..000000000 --- a/app-exploits/routersploit/routersploit-3.0.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) - -inherit python-single-r1 -# distutils-r1 - -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/threat9/routersploit.git" - KEYWORDS="" -else - SRC_URI="https://github.com/threat9/routersploit/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~x86" -fi - -DESCRIPTION="An open-source exploitation framework dedicated to embedded devices" -HOMEPAGE="https://github.com/threat9/routersploit/wiki" -LICENSE="BSD" -SLOT="0" -IUSE="doc desktopicons bluetooth" - -DEPEND=">=dev-python/future-0.16.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.9.1[${PYTHON_USEDEP}] - >=dev-python/paramiko-1.16.0[${PYTHON_USEDEP}] - >=dev-python/pysnmp-4.3.2[${PYTHON_USEDEP}] - >=dev-python/pycryptodome-2.6.1[${PYTHON_USEDEP}] - bluetooth? ( dev-python/bluepy )" - -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${P}" - -src_prepare() { - #do not compile - rm -f Makefile - eapply_user -} - -src_install() { - dodir /opt/${PN} - insinto /opt/${PN} - doins -r routersploit/ rsf.py - fperms +x /opt/${PN}/rsf.py - dosym "${EPREFIX}"/opt/${PN}/rsf.py /usr/bin/rsf - - if use doc; then - einstalldocs /usr/share/doc/${PN}/ - dodoc -r /{README.md,LICENSE} - fi - - #FIXME: convert to desktop.eclass - if use desktopicons; then - dodir /usr/share/icons/${PN}/ - cp ${FILES}/{routersploit.png,routersploit.svg} /usr/share/icons/${PN}/ - dodir /usr/share/applications/${PN}/ - cp ${FILES}*.desktop /usr/share/applications/${PN}/ - fixperms +r +x /usr/share/applications/${PN}/*.desktop - fi - -} diff --git a/app-exploits/routersploit/routersploit-3.0.0.ebuild b/app-exploits/routersploit/routersploit-3.0.0.ebuild new file mode 120000 index 000000000..0946f8283 --- /dev/null +++ b/app-exploits/routersploit/routersploit-3.0.0.ebuild @@ -0,0 +1 @@ +routersploit-9999.ebuild \ No newline at end of file diff --git a/app-exploits/routersploit/routersploit-3.1.0.ebuild b/app-exploits/routersploit/routersploit-3.1.0.ebuild new file mode 120000 index 000000000..0946f8283 --- /dev/null +++ b/app-exploits/routersploit/routersploit-3.1.0.ebuild @@ -0,0 +1 @@ +routersploit-9999.ebuild \ No newline at end of file diff --git a/app-exploits/routersploit/routersploit-9999.ebuild b/app-exploits/routersploit/routersploit-9999.ebuild deleted file mode 120000 index 055eab299..000000000 --- a/app-exploits/routersploit/routersploit-9999.ebuild +++ /dev/null @@ -1 +0,0 @@ -routersploit-3.0.0.ebuild \ No newline at end of file diff --git a/app-exploits/routersploit/routersploit-9999.ebuild b/app-exploits/routersploit/routersploit-9999.ebuild new file mode 100644 index 000000000..5902f7ce1 --- /dev/null +++ b/app-exploits/routersploit/routersploit-9999.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_6 ) + +inherit python-single-r1 +# distutils-r1 + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/threat9/routersploit.git" + KEYWORDS="" +else + SRC_URI="https://github.com/threat9/routersploit/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +DESCRIPTION="An open-source exploitation framework dedicated to embedded devices" +HOMEPAGE="https://github.com/threat9/routersploit/wiki" +LICENSE="BSD" +SLOT="0" +IUSE="doc desktopicons bluetooth" + +DEPEND=">=dev-python/future-0.16.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.9.1[${PYTHON_USEDEP}] + >=dev-python/paramiko-1.16.0[${PYTHON_USEDEP}] + >=dev-python/pysnmp-4.3.2[${PYTHON_USEDEP}] + >=dev-python/pycryptodome-2.6.1[${PYTHON_USEDEP}] + bluetooth? ( dev-python/bluepy )" + +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}" + +src_prepare() { + #do not compile + rm -f Makefile + eapply_user +} + +src_install() { + dodir /opt/${PN} + insinto /opt/${PN} + doins -r routersploit/ rsf.py + fperms +x /opt/${PN}/rsf.py + dosym "${EPREFIX}"/opt/${PN}/rsf.py /usr/bin/rsf + + if use doc; then + einstalldocs /usr/share/doc/${PN}/ + dodoc -r /{README.md,LICENSE} + fi + + #FIXME: convert to desktop.eclass + if use desktopicons; then + dodir /usr/share/icons/${PN}/ + cp ${FILES}/{routersploit.png,routersploit.svg} /usr/share/icons/${PN}/ + dodir /usr/share/applications/${PN}/ + cp ${FILES}*.desktop /usr/share/applications/${PN}/ + fixperms +r +x /usr/share/applications/${PN}/*.desktop + fi + +}