aboutsummaryrefslogtreecommitdiffstats
path: root/misc/nuclei/patches/Disable-update.patch
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-08 13:03:32 +0200
committerDanilo M. <danix@danix.xyz>2026-08-08 13:03:32 +0200
commit25742bd9efc32de82eeeeaba0f4b8976c169e7ce (patch)
tree5dacbf9207123e6e74733e5d474b28ed34888f61 /misc/nuclei/patches/Disable-update.patch
parent998dbd56e53c8c8c8bc1a425cec16b6ccc752e34 (diff)
downloadsbo-slackbuilds-25742bd9efc32de82eeeeaba0f4b8976c169e7ce.tar.gz
sbo-slackbuilds-25742bd9efc32de82eeeeaba0f4b8976c169e7ce.zip
repo: move packages under their SBo category
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.
Diffstat (limited to 'misc/nuclei/patches/Disable-update.patch')
-rw-r--r--misc/nuclei/patches/Disable-update.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/misc/nuclei/patches/Disable-update.patch b/misc/nuclei/patches/Disable-update.patch
new file mode 100644
index 0000000..3472208
--- /dev/null
+++ b/misc/nuclei/patches/Disable-update.patch
@@ -0,0 +1,22 @@
+From: Sophie Brun <sophie@offensive-security.com>
+Date: Wed, 8 Dec 2021 08:40:42 +0100
+Subject: Disable update
+
+Last-Update: 2023-10-27
+Updates must be done with apt.
+---
+ cmd/nuclei/main.go | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/cmd/nuclei/main.go b/cmd/nuclei/main.go
+index 8421d1d..095f5d5 100644
+--- a/cmd/nuclei/main.go
++++ b/cmd/nuclei/main.go
+@@ -469,7 +469,6 @@ on extensive configurability, massive extensibility and ease of use.`)
+ )
+
+ flagSet.CreateGroup("update", "Update",
+- flagSet.BoolVarP(&updateNucleiBinary, "update", "up", false, "update nuclei engine to the latest released version"),
+ flagSet.BoolVarP(&options.UpdateTemplates, "update-templates", "ut", false, "update nuclei-templates to latest released version"),
+ flagSet.StringVarP(&options.NewTemplatesDirectory, "update-template-dir", "ud", "", "custom directory to install / update nuclei-templates"),
+ flagSet.CallbackVarP(disableUpdatesCallback, "disable-update-check", "duc", "disable automatic nuclei/templates update check"),