From 97a913239c33e340ea25341be724a2fb95f825cf Mon Sep 17 00:00:00 2001 From: Yury Martynov Date: Fri, 15 Nov 2019 14:28:38 +0300 Subject: [PATCH] linenum: bump to 20191028. Add *9999 live ebuild and fix metadata.missing --- app-exploits/linenum/Manifest | 1 - app-exploits/linenum/linenum-20190406.ebuild | 25 ------------------- app-exploits/linenum/linenum-20191028.ebuild | 1 + app-exploits/linenum/linenum-99999999.ebuild | 25 +++++++++++++++++++ app-exploits/linenum/metadata.xml | 8 ++++++ .../base/package.accept_keywords/app-exploits | 1 - 6 files changed, 34 insertions(+), 27 deletions(-) delete mode 100644 app-exploits/linenum/Manifest delete mode 100644 app-exploits/linenum/linenum-20190406.ebuild create mode 120000 app-exploits/linenum/linenum-20191028.ebuild create mode 100644 app-exploits/linenum/linenum-99999999.ebuild create mode 100644 app-exploits/linenum/metadata.xml diff --git a/app-exploits/linenum/Manifest b/app-exploits/linenum/Manifest deleted file mode 100644 index b6d76c6d8..000000000 --- a/app-exploits/linenum/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST linenum-20190406.tar.gz 13993 BLAKE2B 9b0a3090bf905fb90533e4c6b4b52fe5a672699de52e724ca969c1a227840a292708cf64ebf751fc788f68beaab813698c890bc407ef7a5ac4f40c0b027764d8 SHA512 4fba778b731cbfecb60bae32bfaab1a6cd27217d0ea012330ad2f52b3522d05c8597d3123efbfa695ab9c9d49f37e213600edb40bf9308f8469ed55bdcf64f67 diff --git a/app-exploits/linenum/linenum-20190406.ebuild b/app-exploits/linenum/linenum-20190406.ebuild deleted file mode 100644 index 810f845eb..000000000 --- a/app-exploits/linenum/linenum-20190406.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="Local Linux enumeration and privilege escalation checker." -HOMEPAGE="https://github.com/rebootuser/LinEnum" -COMMIT="7981dca83a1bec7eb9e0559c87b2100271a7a40c" -MY_P="LinEnum-${COMMIT}" -SRC_URI="https://github.com/rebootuser/LinEnum/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_P}" - -src_install() { - insinto /usr/share/LinEnum - doins LinEnum.sh -} diff --git a/app-exploits/linenum/linenum-20191028.ebuild b/app-exploits/linenum/linenum-20191028.ebuild new file mode 120000 index 000000000..65b91d80c --- /dev/null +++ b/app-exploits/linenum/linenum-20191028.ebuild @@ -0,0 +1 @@ +./linenum-99999999.ebuild \ No newline at end of file diff --git a/app-exploits/linenum/linenum-99999999.ebuild b/app-exploits/linenum/linenum-99999999.ebuild new file mode 100644 index 000000000..ab6ac92a9 --- /dev/null +++ b/app-exploits/linenum/linenum-99999999.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 + +DESCRIPTION="Local Linux enumeration and privilege escalation checker" +HOMEPAGE="https://github.com/rebootuser/LinEnum" + +EGIT_REPO_URI="https://github.com/rebootuser/LinEnum" +if [[ ${PV} != *9999 ]]; then + EGIT_COMMIT="54402e94500e7d1f2c9702c3d73cfa40d8578a5b" + KEYWORDS="amd64 x86" +fi + +LICENSE="MIT" +SLOT="0" + +src_install() { + insinto /usr/share/LinEnum + doins LinEnum.sh + + dodoc *.md +} diff --git a/app-exploits/linenum/metadata.xml b/app-exploits/linenum/metadata.xml new file mode 100644 index 000000000..4fa8ff351 --- /dev/null +++ b/app-exploits/linenum/metadata.xml @@ -0,0 +1,8 @@ + + + + + proxy-maint@gentoo.org + Proxy Maintainers + + diff --git a/profiles/pentoo/base/package.accept_keywords/app-exploits b/profiles/pentoo/base/package.accept_keywords/app-exploits index 45385d3b1..41711e670 100644 --- a/profiles/pentoo/base/package.accept_keywords/app-exploits +++ b/profiles/pentoo/base/package.accept_keywords/app-exploits @@ -11,7 +11,6 @@ app-exploits/webshells ~app-exploits/unix-privesc-check-20170904 ~app-exploits/linuxprivchecker-20160302 ~app-exploits/linux-exploit-suggester-20140519 -~app-exploits/linenum-20190124 app-exploits/deathstar