Get the most out of your Centmin Mod LEMP stack
Become a Member

Stable Branch fix checksec 2.6.0 install after the upstream GitHub repo rename in 1…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 23, 2026 at 6:24 AM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,036
    12,571
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,224
    Local Time:
    5:12 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix checksec 2.6.0 install after the upstream GitHub repo rename in 132.00stable

    The checksec project renamed its GitHub repo from slimm609/checksec.sh to slimm609/checksec. The 2.6.0 archive now unpacks to checksec-2.6.0/ instead of checksec.sh-2.6.0/, so the copy to /usr/local/bin/checksec failed with "cp: cannot stat" and checksec ran the older EPEL checksec 2.5.0 from /usr/bin instead. Version 2.5.0 re-executes itself with an empty environment, where the EL9 bash default PATH has no /usr/sbin, so PHP builds printed "WARNING: 'sysctl' not found!" before every checksec result. checksec 2.6.0 adds /sbin and /usr/sbin back. The Nginx library checksec reports, which only run when /usr/local/bin/checksec exists, were skipped too.


    Changes:
    - inc/downloads.inc: download checksec from the renamed slimm609/checksec repo and copy it from the checksec-${CHECKSEC_VERSION} directory

    Continue reading...

    132.00stable branch