mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
subfinder-2.9.0.ebuild
This commit is contained in:
parent
b0537f3e38
commit
e4dcb6c951
4 changed files with 39 additions and 44 deletions
|
|
@ -1,2 +1,2 @@
|
||||||
DIST subfinder-2.6.6-vendor.tar.xz 5203352 BLAKE2B 8879d431e248d276906986d0d562f3f5b34a35b6ef08561375ff662fe75c81e231b32a6736087e34163d042a1f05db1ab22dae628aaa6edf915229fdc14942b7 SHA512 45a35860d830f40c7343f5d6a0aa61884d29fc5002b58aa9bfba091315a0f680441c188752e8e00f6e1c14e05505e7b7945c5468d562aaf6a6e62f3046d8cb67
|
DIST subfinder-2.9.0-vendor.tar.xz 5464912 BLAKE2B 92cf542aa7ab0df3f4fa6b80f10dc3033a3a5cdee69b16bafa6cee03306cca46e1f592d3417fc55931b021edc990377e5be90f8524d789088f6b60d24eb2bda8 SHA512 5e61090279e4a8bdc4a6d380386bb6fc19f3ca0bb2e35844cfb840a7493457744b067b986113e36095860d4e1144f4fe97aa73ffe9a241b1de2efd84faedbefe
|
||||||
DIST subfinder-2.6.6.gh.tar.gz 1097808 BLAKE2B 2e9b66e339f95ca015e3f1bd489a20561846a1a9170350c7ee433d5edbebe68f563a5223f1b88892aef52ac974fb74832041797f00706db386fc876d91e669da SHA512 e3686477e0b939aac296e1cf44f17c153cc9bada4c47ff7ffa3649198628783432e7f9461783284c0820f149a527aa226b7f514717843865ac6f5d354cbbe48c
|
DIST subfinder-2.9.0.gh.tar.gz 1110608 BLAKE2B a17048db06790d691a5c9ab773f6ac4c4b4c64869194c7332564b2f013bd74db490a3a3810bad0e98ff0b08c59f365d80da514a4ef6f31ee184dd36789283b61 SHA512 ca578a8e3aa688d229039b40d5a841e62587dcfd14d4a3f2d1b5dbb75ff710418fccde63d0c93a01fcc4aae172d99d032dcc6d38be75ed83d71f4e673425447b
|
||||||
|
|
|
||||||
14
net-analyzer/subfinder/files/options.patch
Normal file
14
net-analyzer/subfinder/files/options.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
--- subfinder-2.9.0/pkg/runner/options.go.orig 2025-09-26 18:19:29.000000000 +0800
|
||||||
|
+++ subfinder-2.9.0/pkg/runner/options.go 2025-10-19 08:48:25.818821811 +0800
|
||||||
|
@@ -106,11 +106,6 @@
|
||||||
|
flagSet.IntVar(&options.Threads, "t", 10, "number of concurrent goroutines for resolving (-active only)"),
|
||||||
|
)
|
||||||
|
|
||||||
|
- flagSet.CreateGroup("update", "Update",
|
||||||
|
- flagSet.CallbackVarP(GetUpdateCallback(), "update", "up", "update subfinder to latest version"),
|
||||||
|
- flagSet.BoolVarP(&options.DisableUpdateCheck, "disable-update-check", "duc", false, "disable automatic subfinder update check"),
|
||||||
|
- )
|
||||||
|
-
|
||||||
|
flagSet.CreateGroup("output", "Output",
|
||||||
|
flagSet.StringVarP(&options.OutputFile, "output", "o", "", "file to write output to"),
|
||||||
|
flagSet.BoolVarP(&options.JSON, "json", "oJ", false, "write output in JSONL(ines) format"),
|
||||||
|
|
@ -1,42 +0,0 @@
|
||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
#EGO_PN="github.com/projectdiscovery/subfinder"
|
|
||||||
|
|
||||||
# go mod vendor && grep "# g" ./vendor/modules.txt | sort
|
|
||||||
inherit go-module
|
|
||||||
|
|
||||||
DESCRIPTION="A subdomain discovery tool that discovers valid subdomains for websites"
|
|
||||||
HOMEPAGE="https://github.com/projectdiscovery/subfinder"
|
|
||||||
|
|
||||||
SRC_URI="https://github.com/projectdiscovery/subfinder/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
|
|
||||||
https://dev.pentoo.ch/~blshkv/distfiles/${P}-vendor.tar.xz
|
|
||||||
"
|
|
||||||
S="${WORKDIR}/${P}/v2"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
|
|
||||||
#BDEPEND="dev-lang/go"
|
|
||||||
|
|
||||||
#src_compile() {
|
|
||||||
# GOPATH="${S}:$(get_golibdir_gopath)" \
|
|
||||||
# GOCACHE="${T}/go-cache" \
|
|
||||||
# go build -v -work -x -ldflags="-w -X main.version=${PV}" ./... || die
|
|
||||||
#}
|
|
||||||
|
|
||||||
#src_install() {
|
|
||||||
# GOPATH="${S}:$(get_golibdir_gopath)" \
|
|
||||||
# GOCACHE="${T}/go-cache" \
|
|
||||||
# go install -v -work -x -ldflags="-w -X main.version=${PV}" ./... || die
|
|
||||||
|
|
||||||
# dobin bin/subfinder
|
|
||||||
# dodoc "src/${EGO_PN}"/{*.md,Dockerfile}
|
|
||||||
#}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin subfinder
|
|
||||||
}
|
|
||||||
23
net-analyzer/subfinder/subfinder-2.9.0.ebuild
Normal file
23
net-analyzer/subfinder/subfinder-2.9.0.ebuild
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
# Copyright 2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit go-module
|
||||||
|
|
||||||
|
DESCRIPTION="A subdomain discovery tool that discovers valid subdomains for websites"
|
||||||
|
HOMEPAGE="https://github.com/projectdiscovery/subfinder"
|
||||||
|
|
||||||
|
SRC_URI="https://github.com/projectdiscovery/subfinder/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||||
|
https://dev.pentoo.ch/~blshkv/distfiles/${P}-vendor.tar.xz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 ~arm ~x86"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}"/options.patch )
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin subfinder
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue