app-admin/checksec - 2.7.1-r2 (gentoo)

Search

Install

Install this version:

emerge -a =app-admin/checksec-2.7.1-r2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-admin/checksec-2.7.1-r2

Or alternatively:

emerge --autounmask-write -a =app-admin/checksec-2.7.1-r2

Package Information

Description:
Tool to check properties of executables (e.g. ASLR/PIE, RELRO, PaX, Canaries)
Homepage:
https://github.com/slimm609/checksec
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
2.7.1-r2 8 ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="8"

inherit shell-completion

DESCRIPTION="Tool to check properties of executables (e.g. ASLR/PIE, RELRO, PaX, Canaries)"
HOMEPAGE="https://github.com/slimm609/checksec"
SRC_URI="https://github.com/slimm609/checksec/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"

RDEPEND="
	sys-apps/grep[pcre]
	!<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
	rm Makefile || die
	default
}

src_install() {
	default

	doman extras/man/*

	dozshcomp extras/zsh/_${PN}

	dobin ${PN}
}

Inherited Eclasses

Dependencies

RDEPEND

	sys-apps/grep[pcre]
	!<dev-util/pwntools-4.10.0_beta0-r2