summaryrefslogtreecommitdiff
path: root/app-admin/checksec/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/checksec/files
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/checksec/files')
-rw-r--r--app-admin/checksec/files/checksec-1.7.2-path.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/app-admin/checksec/files/checksec-1.7.2-path.patch b/app-admin/checksec/files/checksec-1.7.2-path.patch
new file mode 100644
index 000000000000..aa048b079d53
--- /dev/null
+++ b/app-admin/checksec/files/checksec-1.7.2-path.patch
@@ -0,0 +1,24 @@
+From 2065e51b255b5f9c014a0db35ffe5ce9ea946693 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Wed, 6 Jan 2016 17:28:36 +0100
+Subject: [PATCH] Extend ${PATH} so that sysctl is found
+
+---
+ checksec | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/checksec b/checksec
+index 3660e82..0ac685f 100755
+--- a/checksec
++++ b/checksec
+@@ -59,6 +59,7 @@
+
+ #set global lang to C
+ export LC_ALL="C"
++export PATH="${PATH}:/usr/sbin/" # for sysctl
+
+ # global vars
+ debug=false
+--
+2.7.0
+