mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 15:02:01 +08:00
c92624aaad
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>
9 lines
172 B
Bash
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
|