summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2020-05-27 18:23:19 +0200
committerSebastian Pipping <sping@gentoo.org>2020-05-27 18:23:33 +0200
commit5f72aca42a1c9f5f502b37eced052f8deefd09bc (patch)
tree6a94c02951137e399d526a4e0fc962b4b54e79c0 /app-admin
parentwww-client/qutebrowser: add patch to fix session breakage with Qt 5.15 (diff)
downloadgentoo-5f72aca42a1c9f5f502b37eced052f8deefd09bc.tar.gz
gentoo-5f72aca42a1c9f5f502b37eced052f8deefd09bc.tar.bz2
gentoo-5f72aca42a1c9f5f502b37eced052f8deefd09bc.zip
app-admin/checksec: 2.2.0
Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-2.3.99, Repoman-2.3.22
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/checksec/Manifest1
-rw-r--r--app-admin/checksec/checksec-2.2.0.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/app-admin/checksec/Manifest b/app-admin/checksec/Manifest
index 047e3899aeef..20994dbc20c6 100644
--- a/app-admin/checksec/Manifest
+++ b/app-admin/checksec/Manifest
@@ -4,3 +4,4 @@ DIST checksec-1.8.0.tar.gz 52391 BLAKE2B 3720e4faae5aa82172c673ce7ddc662db1433b8
DIST checksec-1.9.0.tar.gz 196168 BLAKE2B f9095a516f166e9a407c9796e28ed7da4ffd97686923745e46b0ab4110f084690781995b6cc190234b8a26fe1e6eb2c8f32f7f15191f0dbc26b38048c87e9a2d SHA512 8bf68dd0b86a6eceb6f5eb016a15ed1bf7d086777c3ec1c62848ec23e62dceed4579404d76824f17b8e1305e679ba6204f0dc4c224f7a11067651f33c2d96515
DIST checksec-2.0.1.tar.gz 199903 BLAKE2B 726d3f868cc73649f7a3cd42270ab1c6965d6bed772f3c612064c54dad569e748f5a2d24df2b8663328442ba8126fe0edac04b0034ba6a23bf6e32ca93a78e30 SHA512 b2466b621b6ddb3fa01cfc5eb3dc301d6d616b26ddd2017a622ba2a24e9daf8f5e294236d1dda695fd9ab25fa411724b5f7dbdabc944cdc124e4369c176f35b4
DIST checksec-2.1.0.tar.gz 200384 BLAKE2B 6e954f574c632da1aee629aecd7ded6286879ba6156252c3d4b5d11f52e3c457bb1d9223934c70f402aaa1e8a8f8d530b55c7f860c024c86c2c2bbcbe9216646 SHA512 66090777de15c492090da3494127037ffe20a169b426b054b3a8f642e9c980b2a99d5c8f8411715d74b1faed41023fb17770d3f07eec5b9efda0a43b64c07a74
+DIST checksec-2.2.0.tar.gz 2241197 BLAKE2B 33e76d1e74188f0944cbce2fcec3daab5a3bbef28802f36252a5bd8de33c96497cafbce0bbe91ce0bb2ccedf9aae1904224b5f68e31772723523179e76b69070 SHA512 a77e5f798ab651c509e0a75c6ca13e556ba354149acbd2e32d54f7a3318fef5f8a05bdb537374868836d5bf3c4d4e86e8354d6202dd1ba0e45a221e2d8688544
diff --git a/app-admin/checksec/checksec-2.2.0.ebuild b/app-admin/checksec/checksec-2.2.0.ebuild
new file mode 100644
index 000000000000..894f6578719b
--- /dev/null
+++ b/app-admin/checksec/checksec-2.2.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+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 )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.7.2-path.patch
+)
+
+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}
+}