From cce48e2848990a979644d73244ddb8553c7f2785 Mon Sep 17 00:00:00 2001 From: blshkv Date: Wed, 3 Jun 2020 09:35:51 +0800 Subject: [PATCH] set: broken fix https://github.com/pentoo/pentoo-overlay/issues/626 --- net-analyzer/set/Manifest | 2 +- .../{set-8.0.1.ebuild => set-8.0.3.ebuild} | 24 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) rename net-analyzer/set/{set-8.0.1.ebuild => set-8.0.3.ebuild} (82%) diff --git a/net-analyzer/set/Manifest b/net-analyzer/set/Manifest index 9bccc7344..7af4083b8 100644 --- a/net-analyzer/set/Manifest +++ b/net-analyzer/set/Manifest @@ -1 +1 @@ -DIST set-8.0.1.tar.gz 41448291 BLAKE2B 2ae932bd0523629dfcbceb8dc8230c568908670d4098cb857369bebf54699f2ee69f859892d819565d09039ca9435dd472956779501943df78acc41d6b56dab0 SHA512 40c340ae9b17b562d6c0fc2145f9fb335ab7effe87641b38403c1ac4e90304f549e16497c5aac8ec514f0f2e08fe8c1169f0d24326a5266eb0a1fa2eb3ddf82b +DIST set-8.0.3.tar.gz 41445004 BLAKE2B 171536ba50d0f974bbf3113be86c14ad8c58e4657e64de8b38e1bfb5cc6043fb934ef75985c5e3bb0c0b653aaef759ec12a9840ca71b40caed3c212aeb2f198e SHA512 c5f18b8d624bac57df24223a0b6885685847be15a1d34b24e18015b5e555b8722654ca6432c6f7211c3bbc422bedd24e25f1f67d76b571b448ee918b0f1c9dbf diff --git a/net-analyzer/set/set-8.0.1.ebuild b/net-analyzer/set/set-8.0.3.ebuild similarity index 82% rename from net-analyzer/set/set-8.0.1.ebuild rename to net-analyzer/set/set-8.0.3.ebuild index 4fe3dec92..86e6b074a 100644 --- a/net-analyzer/set/set-8.0.1.ebuild +++ b/net-analyzer/set/set-8.0.3.ebuild @@ -1,20 +1,22 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 MY_P=${P/set/social-engineer-toolkit} -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) -#inherit eutils python-single-r1 multilib +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{6,7,8} ) -#upstream broke it https://github.com/trustedsec/social-engineer-toolkit/issues/622 -#https://github.com/trustedsec/social-engineer-toolkit/commit/dec1a231d29c4e86f41fc171282b1372591a3d8a +inherit eutils python-single-r1 multilib + +#https://github.com/trustedsec/social-engineer-toolkit/issues/622 #inherit distutils-r1 DESCRIPTION="A social engineering framework" HOMEPAGE="https://www.trustedsec.com/downloads/social-engineer-toolkit/" SRC_URI="https://github.com/trustedsec/social-engineer-toolkit/archive/${PV}.tar.gz -> ${P}.tar.gz" +#very broken #KEYWORDS="~amd64 ~arm ~x86" LICENSE="BSD" @@ -26,13 +28,11 @@ QA_PREBUILT=" usr/lib/set/src/payloads/set_payloads/shell.linux " -# blocker on ruby-1.8.7: -# http://spool.metasploit.com/pipermail/framework/2008-September/003671.html RDEPEND="virtual/jdk net-analyzer/metasploit dev-python/pexpect net-misc/wget - dev-python/beautifulsoup:python-2 + dev-python/beautifulsoup:4 dev-python/pymssql dev-python/pyopenssl ettercap? ( net-analyzer/ettercap ) @@ -45,7 +45,7 @@ DEPEND="" S=${WORKDIR}/${MY_P} -src_prepare2() { +src_prepare() { python_fix_shebang . if has_version mail-mta/ssmtp @@ -68,8 +68,8 @@ src_prepare2() { eapply_user } -src_install2() { - # We have global agreement +src_install() { + # We have a global license flag, it is BSD anyway touch "${S}"/src/agreement4 # should be as simple as copying everything into the target...