summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-admin/checksec/Manifest1
-rw-r--r--app-admin/checksec/checksec-1.7.5.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/app-admin/checksec/Manifest b/app-admin/checksec/Manifest
index 568d66614dd8..25f4f2ef9caa 100644
--- a/app-admin/checksec/Manifest
+++ b/app-admin/checksec/Manifest
@@ -1,3 +1,4 @@
DIST checksec-1.7.2.tar.gz 16717 SHA256 eb17f2162e7f563ba0f97d9cf15f92cf1ba2d360c8293a33d66573d5a48822a8 SHA512 1f1c1867b889266c0d035c3f7b028e61ed2cf3413caa789dfb8589b56834194e3367b3868a80984242dadb7629a9a5a7563376a2f37e3971899e2ecc319ee2f1 WHIRLPOOL 3abf206d666751b2449387848afb320185102ddc0f1685db2aa6f4e974a3349e1c4d9551565459d9070cac5218354af1919c5c70af6f0131b9443fcf24a72d35
DIST checksec-1.7.3.tar.gz 49136 SHA256 d9bb3dd6be95a4d30d3ebe6adb8ae2aa64db0b9d2c475db00134a9596d555cbf SHA512 daf311cceb1a2132e87169b3c7a1254a2be418e7274ea9dda0aa7a1a6dbf72aa7531a7d157cd0a776fd7076e75db91ba5fc901fa94ab49d97f9ff7e4c2a56806 WHIRLPOOL 8be332a89727a6d397f5ba8a0e7032d85fce054ef68b83bd7d4460fc521b895eb37b7aa701ff84df6193bd0e032f5c5aa4e67d8823ee0854a1febf73febc10cf
DIST checksec-1.7.4.tar.gz 51677 SHA256 ffa9b73b41f97d341fca5d46ebe93480110450bf37deb1126a29ea8548f854ae SHA512 ed14f5f8917983a10faa06a2659ccea3256799bc2a4a151ad06ca7b1a984b70673b4fd10191be7c97bbdf9e5def64161b00434b84130ae0464610afec8754e69 WHIRLPOOL ebaa662ed272489fef860650bb6ca094b6bbb992604235bbfbf4806a502dcd8393aff6ba5a1f20b43f4019209077c3d2aa6ef2e62180b4abbeb289c790267f08
+DIST checksec-1.7.5.tar.gz 51266 SHA256 7f863279edade48418adf1a4ed1899ff46c45aa7e148229369f15f8f5ca54e9e SHA512 7269fb3628907f6fe4e8b720d2dcbd5bf8586e1821bd758533dff6255c6a52be9146b58f60abea798ee92471c3d5ad9e867fa7ad4b8e5ea2d8aa03d5a3b83098 WHIRLPOOL e1e8d21bfb13377472116503d137d555f84810bdd036676b8d600cd99aef81ed52b8600b07bb3b0e6be450069185cf52aca5ad1f1064d7895dc3f11966426ded
diff --git a/app-admin/checksec/checksec-1.7.5.ebuild b/app-admin/checksec/checksec-1.7.5.ebuild
new file mode 100644
index 000000000000..b1d417d5130f
--- /dev/null
+++ b/app-admin/checksec/checksec-1.7.5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils
+
+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 ~mips ~ppc ~ppc64 ~x86"
+IUSE=""
+
+S="${WORKDIR}"/${MY_PN}-${PV}
+
+DOCS=( ChangeLog README.md )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.7.2-path.patch
+ sed 's,^pkg_release=false,pkg_release=true,' -i ${PN} || die
+}
+
+src_install() {
+ default
+
+ doman extras/man/*
+
+ insinto /usr/share/zsh/site-functions
+ doins extras/zsh/_${PN}
+
+ dobin ${PN}
+}