From 27bd7f00dcf5edd2cf7ab10683f36d69c97a3ead Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Wed, 1 Feb 2023 09:50:01 -0500 Subject: [PATCH] unix-privesc-check: minor qa fixes --- app-exploits/unix-privesc-check/Manifest | 1 + app-exploits/unix-privesc-check/metadata.xml | 3 +++ ...ebuild => unix-privesc-check-20210207.ebuild} | 0 .../unix-privesc-check-99999999.ebuild | 16 +++++++++------- 4 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 app-exploits/unix-privesc-check/Manifest rename app-exploits/unix-privesc-check/{unix-privesc-check-20170904.ebuild => unix-privesc-check-20210207.ebuild} (100%) diff --git a/app-exploits/unix-privesc-check/Manifest b/app-exploits/unix-privesc-check/Manifest new file mode 100644 index 000000000..159a7791a --- /dev/null +++ b/app-exploits/unix-privesc-check/Manifest @@ -0,0 +1 @@ +DIST unix-privesc-check-20210207.tar.gz 38259 BLAKE2B 160e32c17e040ec5ad74b79dc80b691f1185757824baf44fd07e92b7e23320cdd8370e4e6bd3ffb1761108ab660ad0b454eeb83dced6a69ef8c50bab633496ae SHA512 22db83cd7cd6fd13c031daea5a0b5771cce99abfac17d2462a997d19af74480b2ead9f20dbd6d2b672e61a1a8801134e021d1fa91a6b8cefa41ba06e1608a10e diff --git a/app-exploits/unix-privesc-check/metadata.xml b/app-exploits/unix-privesc-check/metadata.xml index ace7c2d3a..f73f71957 100644 --- a/app-exploits/unix-privesc-check/metadata.xml +++ b/app-exploits/unix-privesc-check/metadata.xml @@ -5,4 +5,7 @@ unknown@pentoo.ch Author Unknown + + pentestmonkey/unix-privesc-check + diff --git a/app-exploits/unix-privesc-check/unix-privesc-check-20170904.ebuild b/app-exploits/unix-privesc-check/unix-privesc-check-20210207.ebuild similarity index 100% rename from app-exploits/unix-privesc-check/unix-privesc-check-20170904.ebuild rename to app-exploits/unix-privesc-check/unix-privesc-check-20210207.ebuild diff --git a/app-exploits/unix-privesc-check/unix-privesc-check-99999999.ebuild b/app-exploits/unix-privesc-check/unix-privesc-check-99999999.ebuild index a8fff8f71..ff77ceeb8 100644 --- a/app-exploits/unix-privesc-check/unix-privesc-check-99999999.ebuild +++ b/app-exploits/unix-privesc-check/unix-privesc-check-99999999.ebuild @@ -1,20 +1,22 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -inherit git-r3 +EAPI=8 DESCRIPTION="Shell script to check for simple privilege escalation vectors" HOMEPAGE="https://github.com/pentestmonkey/unix-privesc-check" -EGIT_REPO_URI="https://github.com/pentestmonkey/unix-privesc-check" if [[ ${PV} != *9999 ]]; then - EGIT_COMMIT="de8223a7b2ff3ed8fa6344cf4a358ec624e42270" + inherit vcs-snapshot + EGIT_COMMIT="c7d27e8a2d2d54540778c6d7c1c5bcc290dbba1a" + SRC_URI="https://github.com/pentestmonkey/unix-privesc-check/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~x86" +else + EGIT_REPO_URI="https://github.com/pentestmonkey/unix-privesc-check" + inherit git-r3 fi -LICENSE="Unlicense" +LICENSE="GPL-2+" SLOT="0" src_install() {