From 413cf6c3af79ee401397868817a2e0f0aa8d6f9c Mon Sep 17 00:00:00 2001 From: blshkv Date: Sat, 2 Nov 2019 16:17:45 +0800 Subject: [PATCH] smbmap: 1.1.0 bump, https://github.com/pentoo/pentoo-overlay/pull/517 --- net-analyzer/smbmap/Manifest | 2 +- ...ap-20180508.ebuild => smbmap-1.1.0.ebuild} | 22 +++++-------------- .../base/package.accept_keywords/net-analyzer | 3 +-- 3 files changed, 7 insertions(+), 20 deletions(-) rename net-analyzer/smbmap/{smbmap-20180508.ebuild => smbmap-1.1.0.ebuild} (52%) diff --git a/net-analyzer/smbmap/Manifest b/net-analyzer/smbmap/Manifest index 28f4becbe..732e7d677 100644 --- a/net-analyzer/smbmap/Manifest +++ b/net-analyzer/smbmap/Manifest @@ -1 +1 @@ -DIST smbmap-20180508.tar.gz 25888 BLAKE2B 601528b28264b1462e29cb185a66685c59ed0cf1258e4e50242f23dee8e5768518341f9bf6028d3ff41a66ff3db485562f26062c40682c1bd5673e7810a1baf8 SHA512 65baca537d1cc94e78a964bb2be36c1ba8c669446ed4c92d7cc4bd0e93370100570db5c302145bf5bd0733d327d66d49e5cb2176ea036a4b520eabc4f9b6dac8 +DIST smbmap-1.1.0.tar.gz 26090 BLAKE2B bdc9faceba78ad65d3e5a90713c9c9e98ec3681e3c454b1bdce6556e9d22510181cef0fa0bbddf83d5ecf17db614b3f5b111bb7d1bc55188b4a8a4ac20efedf0 SHA512 9e94953a17cd9b84d782a3afb12b2fea71c50c5a80c3b9e1274aa7b9de74ecf30fa22831a1c00035c89d26808859b2a840a6cfb3ade0efcf87e4586f77cef097 diff --git a/net-analyzer/smbmap/smbmap-20180508.ebuild b/net-analyzer/smbmap/smbmap-1.1.0.ebuild similarity index 52% rename from net-analyzer/smbmap/smbmap-20180508.ebuild rename to net-analyzer/smbmap/smbmap-1.1.0.ebuild index 78adcc9e7..6043c0531 100644 --- a/net-analyzer/smbmap/smbmap-20180508.ebuild +++ b/net-analyzer/smbmap/smbmap-1.1.0.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -PYTHON_COMPAT=( python2_7 ) +PYTHON_COMPAT=( python3_{6,7} ) EGO_PN=github.com/ShawnDEvans/${PN} -inherit python-single-r1 +inherit python-r1 if [[ ${PV} = *9999* ]]; then inherit git-r3 @@ -14,7 +14,7 @@ if [[ ${PV} = *9999* ]]; then KEYWORDS="" else KEYWORDS="~amd64 ~x86" - EGIT_COMMIT="b55fc051afa477943c017c5f0afe86e9e2f241ad" + EGIT_COMMIT="${PV}" SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" fi @@ -23,23 +23,11 @@ HOMEPAGE="https://github.com/ShawnDEvans/smbmap" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="" DEPEND="${RDEPEND}" -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - -src_prepare() { - # Dirty hack to actually add a shebang to the file, so that we can then fix - # it using python_fix_shebang. Without a shebang, python_fix_shebang won't - # even work - sed -i '1 s|^.*$|#!/usr/bin/env python|' "${PN}.py" - python_fix_shebang "${PN}.py" - eapply_user -} - src_install() { newbin "${PN}.py" "${PN}" } diff --git a/profiles/pentoo/base/package.accept_keywords/net-analyzer b/profiles/pentoo/base/package.accept_keywords/net-analyzer index bdab6d2b2..6b46be906 100644 --- a/profiles/pentoo/base/package.accept_keywords/net-analyzer +++ b/profiles/pentoo/base/package.accept_keywords/net-analyzer @@ -1,6 +1,6 @@ ### Pentoo ### =net-analyzer/theHarvester-3.1* - +net-analyzer/smbmap ### Gentoo (unverified) ### @@ -122,7 +122,6 @@ net-analyzer/subfinder ~net-analyzer/ham2mon-20170603 ~net-analyzer/cipherscan-20180519 =net-analyzer/gobuster-3.0* -~net-analyzer/smbmap-20180508 =net-analyzer/yersinia-0.8* =net-analyzer/xsstrike-3.1*