| 1 | Source: blhc |
| 2 | Section: utils |
| 3 | Maintainer: Joao Eriberto Mota Filho <[email protected]> |
| 4 | Build-Depends: debhelper-compat (= 14), libmodule-build-perl |
| 5 | Standards-Version: 4.7.4 |
| 6 | Vcs-Git: https://salsa.debian.org/debian/blhc.git |
| 7 | Vcs-Browser: https://salsa.debian.org/debian/blhc |
| 8 | Homepage: https://ruderich.org/simon/blhc |
| 9 | |
| 10 | Package: blhc |
| 11 | Architecture: all |
| 12 | Multi-Arch: foreign |
| 13 | Depends: ${misc:Depends}, libdpkg-perl |
| 14 | Description: build log hardening check |
| 15 | Perl tool which checks build logs for missing hardening flags. Hardening |
| 16 | flags enable additional security features in the compiler to prevent e.g. |
| 17 | stack overflows, format string vulnerabilities, GOT overwrites, etc. See |
| 18 | e.g. <http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags>. |
| 19 | . |
| 20 | Because most build systems are quite complicated there are many places |
| 21 | where compiler flags from the environment might be ignored. The parser |
| 22 | verifies that all compiler commands use the correct hardening flags and |
| 23 | thus all hardening features are correctly used. |
| 24 | . |
| 25 | It's designed to check build logs generated by Debian's dpkg-buildpackage |
| 26 | (or tools for packaging, using dpkg-buildpackage like pbuilder or the |
| 27 | official buildd build logs) to help maintainers detect missing hardening |
| 28 | flags in their packages. |
| 29 | . |
| 30 | Only gcc is detected as compiler at the moment (but other compilers maybe |
| 31 | supported). |