net-dns/awl: add 0.6.3

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2023-02-17 19:29:00 +01:00
parent df2b24dd5e
commit b86399bb98
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 49 additions and 0 deletions

View file

@ -1,4 +1,7 @@
DIST awl-0.6.2-deps.tar.xz 1531108 BLAKE2B 80bdc67fd7580e9fa4cfc2e5c0cd87563376510b5d23ebc287b9fa038b794b73f5e94a8a37778354d1d213bff94ff14a9d10948957b64c24373df2a027eacf92 SHA512 70b29e701b5d3c1bfdaed064596cb72adba03f6af79b927d9ce797401cf5e7dc3af3f811d47595fb57a27352b501a8267a9efc1c2c20b540d45ce6b50027b43d
DIST awl-0.6.2.tar.gz 47993 BLAKE2B e328839ed70027222c716514e86be9e141a3cfd28029cbf8db94a856dbedda05570b7a8303ca2a19a7b304b72e081cd5ebe48cad23fa2220cb2008d6f944b22e SHA512 4d8b243335e08020ae5bd9b7d1306d04c6ecd54d205102fe2189f066e2f3f1d21bb39a38cf9eba269ae4e352fec6cdf521e78678b6095d5b4daa885fef729bf0
DIST awl-0.6.3-deps.tar.xz 2191752 BLAKE2B 7fead170e397ad07dc7749bb2f243e7e1111e06d88986d18181397ce5f60362d1a9792dffb0cc2ac7d4aaba889c49279859e31fe39a9b7d543db0cd3e4db2afb SHA512 1061fb2b6d31e8a7435c63cff7afddf6060669bf667abff2e398ac40f00109adb05a3f35e5f850c316364b5f827a959e779440d8f5c7f746fa1dca0208d1fb3b
DIST awl-0.6.3.tar.gz 48049 BLAKE2B 6b8baa960bb67a4420ade2d00ee9f3de8799119ff08e23e55e54d3e23091a0de01fb401c35409a499ba16e90dfe12915f07b52445936e6b984a739377d96a497 SHA512 b425aaade5abcc1ef7e36dc388bdf79aea66676289a7c6eeb113a4f2c2076e161170d32024418e43f4f7721de7874d5d265bf671221523b9a807e063e010cb89
EBUILD awl-0.6.2.ebuild 1192 BLAKE2B c602b132dc207b649728126e93cbe44fc67761fca4b405f4a04a59cdfeb9c4ced78ef63d543c8217c232736cace7ae505bea170ce043692cdfc10a256b75b3ef SHA512 241af454ec0b7bf0de56be1ee3c6c5fbf743b5fc28f0dd32602905b5dec0dfacb9ffd15c73bcdfe85ce75c17cf39e6d129aa8a413d17082ab5caf6b1b9b75571
EBUILD awl-0.6.3.ebuild 1192 BLAKE2B c602b132dc207b649728126e93cbe44fc67761fca4b405f4a04a59cdfeb9c4ced78ef63d543c8217c232736cace7ae505bea170ce043692cdfc10a256b75b3ef SHA512 241af454ec0b7bf0de56be1ee3c6c5fbf743b5fc28f0dd32602905b5dec0dfacb9ffd15c73bcdfe85ce75c17cf39e6d129aa8a413d17082ab5caf6b1b9b75571
EBUILD awl-9999.ebuild 991 BLAKE2B e70b4290fbf5bab6aed2c1537c91876698eebf2fe6a06fbe91e4eca3e31cd82a38ad0649b72adfbc398d95cb4ba13577817b1a3fd3d17c68f2f830dc252e7722 SHA512 b788b831086f7be12d98ca561ae6e460f80d4dba8ca140a2b88eac70232ad2c2359fd69810d5b6658fed1a8024203ae01e1ebe0e819b11d032c1342295406a38

View file

@ -0,0 +1,46 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="command-line DNS query client"
HOMEPAGE="https://git.froth.zone/sam/awl"
SRC_URI="https://git.froth.zone/sam/awl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://git.froth.zone/sam/awl/releases/download/v${PV}/${P}-deps.tar.xz"
# test requires network for making DNS queries
RESTRICT="strip test"
LICENSE="BSD MIT Unlicense CC0-1.0"
SLOT="0"
IUSE="gccgo"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86"
BDEPEND="app-text/scdoc"
# Gitea and only Gitea puts their tarballs in weird places
S="${WORKDIR}/awl"
src_configure() {
if use gccgo; then
# -buildmode=pie is not supported by gccgo
GOFLAGS="-buildvcs=false -modcacherw -v -x -compiler=gccgo"
else
GOFLAGS+=" -ldflags=-s -ldflags=-w -ldflags=-X=main.version=${PV}"
fi
}
src_compile() {
emake PREFIX="${EPREFIX}/usr"
}
src_test() {
#-buildmode=pie clashes with -race
emake test GOFLAGS="-buildvcs=false -modcacherw -v -x"
}
src_install() {
emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install
einstalldocs
}