From b420df7ac044766aa79719d77e56c4259f35762e Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Thu, 18 May 2023 15:05:04 +0200 Subject: [PATCH] net-dns/awl: Bump package version 0.6.6 is still here because it's the last version that explicitly supports gccgo Iff gccgo ever implements generics, this might change. --- net-dns/awl/Manifest | 3 +++ net-dns/awl/awl-0.6.8.ebuild | 40 ++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 net-dns/awl/awl-0.6.8.ebuild diff --git a/net-dns/awl/Manifest b/net-dns/awl/Manifest index 033215e..e8f43c6 100644 --- a/net-dns/awl/Manifest +++ b/net-dns/awl/Manifest @@ -2,6 +2,9 @@ DIST awl-0.6.6-deps.tar.xz 2171684 BLAKE2B 99448b44ddfee6ce03289995dacad33272cfd DIST awl-0.6.6.tar.gz 48820 BLAKE2B 22737628b268868842f8de991c137cea59eec10be6b206035f13a68d615eb37e7ff527bc77631a236f9f807ca85ac8a608064fe035d74180d94dceede9c6c619 SHA512 0d65ccc1eb520fb9806464f3af9d6d331012e1a334c6c2328d1bc2d242cf46e9db01dc77a52c51991167e50a6711e52d0002367e01f6f7bde743b12cc1799c35 DIST awl-0.6.7-deps.tar.xz 2182028 BLAKE2B 753faa23fd554a300e0a78f72f91a02d7ef8db0b33b78d3ace1e206c6ffe7b17ff2d385b846e3660ffedabbd6eeb35693dc12a0d40393f32a880bd199fb56230 SHA512 20268e4ab643f1292114ddcdc1a9467a5e20a344225f904b940c561d9372bb0ff5eaf103923d495e8e2100f989be392f6bf2b1b3dbba4018588aebcdc1f7a9a6 DIST awl-0.6.7.tar.gz 48633 BLAKE2B 91b0782cc29c7aff79a008401fd7e0966f1b14bb8b46ce1a8f0252e984f61045fe9eeb4d2cedfea3f94a92a0b13449d153d9a15e534f84e6873ca18832a43650 SHA512 add536952cd607201a4c1f6c8bb2b535705f747bea7d5f6acad229e98bca6a8c7a7af027ab738a749299708cc70c715f7d914202701091f829d212166c38a865 +DIST awl-0.6.8-deps.tar.xz 2180680 BLAKE2B 7cab7f6567b1ee784e7e589d37052129d1c83d68456750a3803968f99e226dd24e0ed8e38393d12affc9b0d6f82ade96444f67a35bd6538846e31cd0d0d11026 SHA512 bc33ff517b66a0064ccf65138fd34d3ba60831cfc21d2cc639752d90769a4abca048949b52ebbd3f2281a51791448ce9213a75c6cb93036f7ad2ae4174e25d4e +DIST awl-0.6.8.tar.gz 48112 BLAKE2B 93f75ac48ed69d7245c031f5f5ca9b5676b27c55cd05dd4411d285c243b78b31032d63299d8c10d449bb479566be7b3e58a33f2749b0715ed31ee4e88058da40 SHA512 47967ed9b40d20272fa45e5b82015a4e9bcf1d1f183f2a9b1e8e2e891099091bb64a5c0e559e020f92ed0c05e02751880da0cb12496e9155f7c1780ddc73a4e5 EBUILD awl-0.6.6.ebuild 1235 BLAKE2B a364904b77f43d0cf6d37667bf42d05a3c9294f4d61afda8200324cce728cbd671c0177a4d7db984111074d975da41ea2203391fa263ab84ca835fe52a18e78e SHA512 a7c06f0a0b09cb46b8065d60691e2a59b5613316af9dd98f31b2d69e6db3ff73856ac34eb4fe278560b0c485fe3fcae1f9a4e2d0bbce77957c78e1f5c4235c32 EBUILD awl-0.6.7.ebuild 1017 BLAKE2B 92c2742b9df10e4f2b68dfa75e36bdcf3ab603439c6cd331f21a8f022372bb94b19bdc19482b7b25268821ee32f5c8215651c07dfd438e350a5a4277ef4ab0d0 SHA512 1820a02f5de70d797d5b2880c3f029fd00de28c8a061b7c1c95f5a5f0daf4e37c1de960f2e4ead1ab9caeb5f53af1f9dacdca1adb165c2e634595252a8940aba +EBUILD awl-0.6.8.ebuild 1017 BLAKE2B 92c2742b9df10e4f2b68dfa75e36bdcf3ab603439c6cd331f21a8f022372bb94b19bdc19482b7b25268821ee32f5c8215651c07dfd438e350a5a4277ef4ab0d0 SHA512 1820a02f5de70d797d5b2880c3f029fd00de28c8a061b7c1c95f5a5f0daf4e37c1de960f2e4ead1ab9caeb5f53af1f9dacdca1adb165c2e634595252a8940aba EBUILD awl-9999.ebuild 820 BLAKE2B 3f715d67b83984cdca048952f07dc85443c4ba2077d1fdd965ab19c456ce9ee5166d41cd25e68afa52d4cafe1c284a1978d181a969e49d3bfb9c5c75aea0fe27 SHA512 fd60b671ed299f541dcd255e2db0d53d697538e0309b9de62995085c547191cc10d6e0c84104133e1c3373738289132ac66b9ba377aa8f3cec0729572f0d13b6 diff --git a/net-dns/awl/awl-0.6.8.ebuild b/net-dns/awl/awl-0.6.8.ebuild new file mode 100644 index 0000000..5d75f28 --- /dev/null +++ b/net-dns/awl/awl-0.6.8.ebuild @@ -0,0 +1,40 @@ +# 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" +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() { + GOFLAGS+=" -ldflags=-s -ldflags=-w -ldflags=-X=main.version=${PV}" +} + +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 +}