diff options
Diffstat (limited to 'app-admin/checksec/checksec-2.6.0-r1.ebuild')
-rw-r--r-- | app-admin/checksec/checksec-2.6.0-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-admin/checksec/checksec-2.6.0-r1.ebuild b/app-admin/checksec/checksec-2.6.0-r1.ebuild new file mode 100644 index 000000000000..3be8fd79b6c4 --- /dev/null +++ b/app-admin/checksec/checksec-2.6.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +MY_PN=${PN}.sh +DESCRIPTION="Tool to check properties of executables (e.g. ASLR/PIE, RELRO, PaX, Canaries)" +HOMEPAGE="https://github.com/slimm609/checksec.sh" +SRC_URI="https://github.com/slimm609/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="" + +S="${WORKDIR}"/${MY_PN}-${PV} + +RDEPEND="!<dev-util/pwntools-4.10.0_beta0-r2" + +DOCS=( ChangeLog README.md ) + +src_prepare() { + sed 's,^pkg_release=false,pkg_release=true,' -i ${PN} || die + default +} + +src_install() { + default + + doman extras/man/* + + insinto /usr/share/zsh/site-functions + doins extras/zsh/_${PN} + + dobin ${PN} +} |