pentoo-overlay/app-exploits/unix-privesc-check/unix-privesc-check-99999999.ebuild
2019-11-17 14:16:33 +03:00

24 lines
593 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3
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"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="Unlicense"
SLOT="0"
src_install() {
insinto /usr/share/unix-privesc-check
doins -r lib/ tools/ upc.sh
dodoc -r doc/* README.md
}