net-misc/httprobe: bump to 0.1.2 pre release

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Yury Martynov <email@linxon.ru>
This commit is contained in:
Yury Martynov 2020-03-15 16:54:58 +03:00
parent 3b4cf887de
commit 1767eed4de
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
2 changed files with 32 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST httprobe-0.1.1.tar.gz 2805 BLAKE2B e7aa140e1035682d2c6095710577d7bd82723459b570bacbd8286bea61eacd8c2eabb2ff76f2d76eb6af5069ce97dbb99d35106f87d5048912a8113068259ef1 SHA512 99f101eef17b5dad77105c4c1f18f105a90a2593cb2ab75a950b572e5a92b132642939e9a1e308d65d39fca2b6a8ad4cf5a96cc564c345077a6c287dcf308863
DIST httprobe-0.1.2.tar.gz 3209 BLAKE2B 75772712f137d4ceac07275827c2fed7ae676697dd6023e3851f967b72ff3a2b27080b2f36f236447e274f9484a3764e68aea8a1b9ea6a29f965c15d5ceb3dd3 SHA512 d4fb95bdeb8ccd53e21ffe23d9c9bed090bc35f09015f4428d8cc1794653e956f275d22368246fbe36337a52db740d7bc5c6e9a5dc0d685d6013b61bbf280c7d

View file

@ -0,0 +1,31 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGO_PN="github.com/tomnomnom/httprobe"
inherit eutils golang-vcs-snapshot
DESCRIPTION="Take a list of domains and probe for working HTTP and HTTPS servers"
HOMEPAGE="https://github.com/tomnomnom/httprobe"
SRC_URI="https://github.com/tomnomnom/httprobe/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Unlicense"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
GOPATH="${S}:$(get_golibdir_gopath)" \
GOCACHE="${T}/go-cache" \
go build -v -work -x -ldflags="-w" "${EGO_PN}" || die
}
src_install() {
GOPATH="${S}:$(get_golibdir_gopath)" \
GOCACHE="${T}/go-cache" \
go install -v -work -x -ldflags="-w" "${EGO_PN}" || die
dobin bin/${PN}
dodoc src/"${EGO_PN}"/README.md
}