diff --git a/net-misc/gowitness/Manifest b/net-misc/gowitness/Manifest index 0e53ed18d..154392eea 100644 --- a/net-misc/gowitness/Manifest +++ b/net-misc/gowitness/Manifest @@ -55,3 +55,4 @@ DIST github.com-tidwall-rtree-d4a8a3d.tar.gz 38358 BLAKE2B 6d47e318cbaf874373db4 DIST github.com-tomsteele-go-nmap-3b9bafd.tar.gz 4792 BLAKE2B a96da64c38bb8c6f948f43ea7c2377518ee924e84dad3a58f56be2aaa7bf76343ad8909426eadf31f42a8ad7a23049e86976843827ada0679bbe5aaa7a28a32d SHA512 ac7f0ffb68f093f0044ed6bfd5c52e1dc1c5a0c2f0e74bb0af46d154bbe59563ba9fa5a71ffbfdb748e58710c9601a0e6a18f9bdd5b13cfa2b9e735fc9232413 DIST gowitness-1.0.8.tar.gz 50614 BLAKE2B c1fe6fd9b7895ec21006c4e9814ce5f51ff45ce328b8f4203922f2c8450e3fb59489489ffcb17cffce40aac1e64575031d624065b2cf223a9cb9ac3db54e2d20 SHA512 ba4bbc314b1fafa66800c6813eaaca43f366f46081a39b68448bd305af76f5dc903b6374880f66e7c2932e1d17accee6e6c69607941041ee55ae05717b8f0d04 DIST gowitness-1.2.0.tar.gz 129867 BLAKE2B 63aa374273ef6d076ed8072d13629f0e097060d70e537bd3ca4f9ab38237cd719cde882c62dbce689b7f1ae630318a208bf17417fda6328c86f80cc1acecd568 SHA512 77a53dde2228f0896fd5e7d9da45a6ff50ab56a429b5391466dc028adc631a0c6c2c42f9d2acb05ef04167e31b48e050b021f2cefae176c1dcb54a4d1f7b60d3 +DIST gowitness-1.2.1.tar.gz 130455 BLAKE2B 123e54250f11ef3a7b738bb702c25c812e6bfafabafcbb00dcdb0b56bf79798b1e670b0e0288a9dd0042b6f4bcc5eb53557fe2df94f9ba2fed15b64ec2b35494 SHA512 710d07ce64a519438cbec09171697e2f2d44bd209db220779ca558989db2979b48206d0c401282d68ff7b808335b7b125f8edb90e222e43cb7c843cd2af3fa9f diff --git a/net-misc/gowitness/gowitness-1.2.1.ebuild b/net-misc/gowitness/gowitness-1.2.1.ebuild new file mode 100644 index 000000000..377f040a6 --- /dev/null +++ b/net-misc/gowitness/gowitness-1.2.1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGO_PN="github.com/sensepost/gowitness" +EGO_VENDOR=( + "github.com/BurntSushi/toml v0.3.1" + "github.com/corona10/goimagehash v1.0.1" + "github.com/davecgh/go-spew v1.1.1" + "github.com/elazarl/goproxy ecfe977" + "github.com/fsnotify/fsnotify v1.4.7" + "github.com/golang/protobuf v1.2.0" + "github.com/gopherjs/gopherjs 0766667" + "github.com/hashicorp/hcl 23c074d" + "github.com/hpcloud/tail v1.0.0" + "github.com/inconshreveable/mousetrap v1.0.0" + "github.com/jtolds/gls v4.20.0" + "github.com/kr/pretty v0.1.0" + "github.com/kr/pty v1.1.1" + "github.com/kr/text v0.1.0" + "github.com/magiconair/properties v1.7.3" + "github.com/mattn/go-runewidth v0.0.4" + "github.com/mcuadros/go-version 88e56e0" + "github.com/mitchellh/go-homedir b8bc1bf" + "github.com/mitchellh/mapstructure 06020f8" + "github.com/moul/http2curl v1.0.0" + "github.com/nfnt/resize 83c6a99" + "github.com/olekukonko/tablewriter v0.0.1" + "github.com/onsi/ginkgo v1.10.1" + "github.com/onsi/gomega v1.7.0" + "github.com/parnurzeal/gorequest v0.2.15" + "github.com/pelletier/go-toml v1.0.1" + "github.com/pkg/errors v0.8.0" + "github.com/pmezard/go-difflib v1.0.0" + "github.com/reconquest/barely 0f12e3b" + "github.com/reconquest/loreley 9e95b93" + "github.com/remeh/sizedwaitgroup 4b44541" + "github.com/rogpeppe/go-charset 2471d30" + "github.com/sirupsen/logrus v1.0.3" + "github.com/smartystreets/assertions b2de0cb" + "github.com/smartystreets/goconvey 505e419" + "github.com/spf13/afero 5660eee" + "github.com/spf13/cast v1.1.0" + "github.com/spf13/cobra v0.0.1" + "github.com/spf13/jwalterweatherman 12bd96e" + "github.com/spf13/pflag v1.0.0" + "github.com/spf13/viper v1.0.0" + "github.com/stretchr/objx v0.1.0" + "github.com/stretchr/testify v1.4.0" + "github.com/tidwall/btree 9876f14" + "github.com/tidwall/buntdb b67b1b8" + "github.com/tidwall/gjson v1.0.1" + "github.com/tidwall/grect ba9a043" + "github.com/tidwall/match v1.0.0" + "github.com/tidwall/rtree d4a8a3d" + "github.com/tomsteele/go-nmap 3b9bafd" + "gopkg.in/yaml.v2 eb3733d github.com/go-yaml/yaml" +) + +inherit eutils golang-vcs-snapshot + +DESCRIPTION="A web screenshot utility using Chrome Headless" +HOMEPAGE="https://github.com/sensepost/gowitness" + +SRC_URI="https://github.com/sensepost/gowitness/archive/${PV}.tar.gz -> ${P}.tar.gz + ${EGO_VENDOR_URI}" + +KEYWORDS="~amd64" +LICENSE="CC-BY-SA-4.0" +IUSE="" +SLOT=0 + +RDEPEND="" +DEPEND=" + dev-go/go-net:= + dev-go/go-crypto:= + dev-go/go-sys:= + dev-go/go-text:= + >=dev-lang/go-1.12" + +src_compile() { + GOPATH="${S}:$(get_golibdir_gopath)" \ + GOCACHE="${T}/go-cache" \ + go build -v -work -x -ldflags="-s -w" "${EGO_PN}" || die +} + +src_install() { + GOPATH="${S}:$(get_golibdir_gopath)" \ + GOCACHE="${T}/go-cache" \ + go install -v -work -x -ldflags="-s -w" "${EGO_PN}" || die + + dobin bin/${PN} + dodoc "src/${EGO_PN}/README.md" +} + +pkg_postinst() { + einfo "\nYou need install Google Chrome or chrome based browser before using it" + einfo "See documentation: https://github.com/sensepost/gowitness#usage\n" +}