Files
packages/utils/checksec/test.sh
T
Alexandru Ardelean c92624aaad checksec: update to 3.1.0
The upstream repository was renamed from checksec.sh to checksec and the
main script was renamed from checksec to checksec.bash (still installed as
/usr/bin/checksec). The checksec_automator subpackage was removed upstream,
so drop it. Update PKG_NAME accordingly and adjust the install rule.

Changelog: https://github.com/slimm609/checksec/releases/tag/3.1.0

Co-authored-by: George Sapkin <george@sapk.in>
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-10 11:32:19 +03:00

9 lines
172 B
Bash

#!/bin/sh
case "$1" in
checksec)
# Analyze a known binary; output must include the binary path
checksec --file=/usr/bin/checksec 2>&1 | grep -qF "checksec"
;;
esac