mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-01 19:20:56 +02:00
httprobe: new ebuild
This commit is contained in:
parent
0e3cbaa9ce
commit
69d289278f
3 changed files with 44 additions and 0 deletions
1
net-misc/httprobe/Manifest
Normal file
1
net-misc/httprobe/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST httprobe-0.1.1.tar.gz 2805 BLAKE2B e7aa140e1035682d2c6095710577d7bd82723459b570bacbd8286bea61eacd8c2eabb2ff76f2d76eb6af5069ce97dbb99d35106f87d5048912a8113068259ef1 SHA512 99f101eef17b5dad77105c4c1f18f105a90a2593cb2ab75a950b572e5a92b132642939e9a1e308d65d39fca2b6a8ad4cf5a96cc564c345077a6c287dcf308863
|
||||
35
net-misc/httprobe/httprobe-0.1.1.ebuild
Normal file
35
net-misc/httprobe/httprobe-0.1.1.ebuild
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Copyright 1999-2019 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"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="Unlicense"
|
||||
IUSE=""
|
||||
SLOT=0
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=">=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
|
||||
}
|
||||
8
net-misc/httprobe/metadata.xml
Normal file
8
net-misc/httprobe/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue