mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
checksec: mark version check override as executable
Mark version check override as executable and add explicit package checks. Signed-off-by: George Sapkin <george@sapk.in>
This commit is contained in:
committed by
Alexandru Ardelean
parent
12b01bad56
commit
5715d92625
Regular → Executable
+8
-1
@@ -1,9 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
# shellckeck shell=busybox
|
||||
|
||||
# checksec reported version doesn't match package version as of 3.1.0
|
||||
|
||||
case "$1" in
|
||||
case "$PKG_NAME" in
|
||||
checksec)
|
||||
checksec --version 2>&1 | grep -qF "2.7.1"
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Untested package: $PKG_NAME" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user