|
Mirror SBo's own <category>/<package>/ layout instead of a flat
<package>/ one. The category is now carried by the directory, so
there's no separate map to maintain, and a package exports to the SBo
repo at the identical relative path.
misc: SecLists, exploitdb, nuclei
games: UrbanTerror
network: feroxbuster, ffuf, gobuster, metasploit-framework-bin, r8125
Categories taken from the synced SBo tree, which is authoritative.
This also repairs two things the flat layout had broken:
- test-build's category_of() returned "." for every package, since it
derives the category from the parent directory name.
- post-commit asserted a fixed depth. It now locates a build by the
directory holding the .SlackBuild, and names the archive after the
package with the package dir at the tarball root, as SBo expects.
Drops the exec bit from SecLists.SlackBuild and gobuster.SlackBuild,
flagged by sbolint once the pre-commit hook started running: SBo
requires 0644 and ships both that way.
|
|
The sbolint loop extracted build dirs with "cut -d/ -f1,2", which is
correct for SBo's own <category>/<package>/ layout but yields a file
path in this repo's flat <package>/ layout (e.g. nuclei/nuclei.info).
The guard then tested nuclei/nuclei.info/slack-desc, which never
exists, so sbolint was silently skipped on every package commit.
Walk up from each changed file to the directory holding the
.SlackBuild instead. Depth is no longer assumed, so this works for
the current flat layout and for <category>/<package>/ after the
planned migration.
|