From b0d742f145f1a0a43678cb46645870f6f76647fd Mon Sep 17 00:00:00 2001 From: Guido Kroon Date: Tue, 4 Sep 2018 21:48:46 +0200 Subject: [PATCH] adding app-exploits/linuxprivchecker as per #350 --- app-exploits/linuxprivchecker/Manifest | 1 + .../linuxprivchecker-20160302.ebuild | 26 +++++++++++++++++++ .../base/package.accept_keywords/app-exploits | 1 + 3 files changed, 28 insertions(+) create mode 100644 app-exploits/linuxprivchecker/Manifest create mode 100644 app-exploits/linuxprivchecker/linuxprivchecker-20160302.ebuild diff --git a/app-exploits/linuxprivchecker/Manifest b/app-exploits/linuxprivchecker/Manifest new file mode 100644 index 000000000..086da1018 --- /dev/null +++ b/app-exploits/linuxprivchecker/Manifest @@ -0,0 +1 @@ +DIST linuxprivchecker-20160302.tar.gz 7278 BLAKE2B b4a0699486f9b8184d7a6a492a7171dc6803a7556e0a3b75c4f86a638b64c07fc87549b1a6238b92f9ff2c86b3401960d86cd19430b22e2bdb052fff277f356b SHA512 e211e56bf53479ac4c1e6754a5ddf2a691480fed0618b45f3c7b196b0d92b12db1bbd782afe3819fba270b8013fec234ceafedea087621d8a0115683954d5a26 diff --git a/app-exploits/linuxprivchecker/linuxprivchecker-20160302.ebuild b/app-exploits/linuxprivchecker/linuxprivchecker-20160302.ebuild new file mode 100644 index 000000000..9b7ba564b --- /dev/null +++ b/app-exploits/linuxprivchecker/linuxprivchecker-20160302.ebuild @@ -0,0 +1,26 @@ +# 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/sleventyeleven/linuxprivchecker" +COMMIT="e048a31a8852a604b4f953c39e2d9b6d08c5d6bb" +MY_P="${PN}-${COMMIT}" +SRC_URI="https://github.com/sleventyeleven/linuxprivchecker/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Unknown" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/linuxprivchecker + doins linuxprivchecker.py +} + diff --git a/profiles/pentoo/base/package.accept_keywords/app-exploits b/profiles/pentoo/base/package.accept_keywords/app-exploits index c94306917..481ad52d5 100644 --- a/profiles/pentoo/base/package.accept_keywords/app-exploits +++ b/profiles/pentoo/base/package.accept_keywords/app-exploits @@ -8,3 +8,4 @@ app-exploits/weevely =app-exploits/routersploit-3* app-exploits/webshells +~app-exploits/linuxprivchecker-20160302