diff options
author | Rahil Bhimjiani <me@rahil.website> | 2023-11-27 20:49:52 +0530 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2023-11-28 22:05:10 -0800 |
commit | fa30f5c4b7f5fd835554075b10c8755ad715900f (patch) | |
tree | 39d6381abde75b6d8b273f99491b681a2c598f86 /app-containers/aardvark-dns | |
parent | app-containers/netavark: add 1.9.0 and update live (diff) | |
download | gentoo-fa30f5c4b7f5fd835554075b10c8755ad715900f.tar.gz gentoo-fa30f5c4b7f5fd835554075b10c8755ad715900f.tar.bz2 gentoo-fa30f5c4b7f5fd835554075b10c8755ad715900f.zip |
app-containers/aardvark-dns: add 1.9.0
1. split LICENSE
Signed-off-by: Rahil Bhimjiani <me@rahil.website>
Closes: https://github.com/gentoo/gentoo/pull/34017
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-containers/aardvark-dns')
-rw-r--r-- | app-containers/aardvark-dns/Manifest | 2 | ||||
-rw-r--r-- | app-containers/aardvark-dns/aardvark-dns-1.9.0.ebuild | 47 | ||||
-rw-r--r-- | app-containers/aardvark-dns/aardvark-dns-9999.ebuild | 13 |
3 files changed, 58 insertions, 4 deletions
diff --git a/app-containers/aardvark-dns/Manifest b/app-containers/aardvark-dns/Manifest index 1a9b2bc3fbba..74f5d215d5f9 100644 --- a/app-containers/aardvark-dns/Manifest +++ b/app-containers/aardvark-dns/Manifest @@ -1,6 +1,8 @@ DIST aardvark-dns-1.6.0.crate 49504 BLAKE2B aecd930746027146603e069febcd7a65c239f36cc22f5eba1077485cf251a46949b14876b7d44ddeeb259e5f196464f1c0ac9e7004c3cdd9b33ef5df9c447811 SHA512 c81b8a33a0287fa42fbe8ee582957e9f3614432dc53af95f1b6da8c4f919be35ef3dd7c707a47d2b5fc138487897007c1a8b99d991168e9ff1a25559a88dbae9 DIST aardvark-dns-1.8.0.crate 49928 BLAKE2B f27808d6bf0f38cde54c32e11f8a70d6d66f99e97ef43c89494e2a736997fc60a0774e000fcab9338d815efab81aeeda497ac1ec82ff47bf10ecf250169d6091 SHA512 f8c85815e6e0e8d26fc5c40cf5864b0bb584b0d33b0e6b6e3fc4cae5459c81568a50cebcfa2ccedb62d7fdb0a5a32b92433c735cb3226396fca75556756b4195 +DIST aardvark-dns-1.9.0.crate 50846 BLAKE2B bae46eae2ec2071b1a1a301f00dc3e3aac0b3a5f1247f1f5be4f2e4b1d9d906fc22c53e5d56967731fcf226a295e8b1d8868dcfae228b05674a5ddecb58a1455 SHA512 1f21b4c40567c0aff967d38ea224884d5c2cb4a85ddffe7bbc5badd237a1195943e4d76f3c65ceb0cab984aa0c2528d8486e78e1e53c5376792477a6a5f426e7 DIST aardvark-dns-v1.8.0-vendor.tar.gz 8307543 BLAKE2B c60ceb4b3bf16e651ba5d490a9969a47ccdb76b85f1008d6c69da9e89fb8b106587341f06a05cc6c2e9866214ef7bc3b89f84523ea940f15ea36bc5b0f9b3b78 SHA512 da300932f27f3fcde2f3bc2b67f0e5eb2184c428274844363fdaccc29c845e7f2efc238019f4bf3ff10bcd3e867a1d9dc603a0fac37686e579f47a3ac9cb2e55 +DIST aardvark-dns-v1.9.0-vendor.tar.gz 8085548 BLAKE2B 487f69a9c34832d74783b66c565a7c2f67f101527e8a44c215f167e4ea80f069846b25decbb423972cd42cd9ee7717efc21c3d1b0885a7d87c0fbdb9cfb9d26f SHA512 f7174f1c4275991a6a2655046697f32511586f53fb343efa25f995cc07663091a634e8a82395840b022b6b3c8363863cdf8c9b6d4e38984fb841978eef0b1f22 DIST addr2line-0.21.0.crate 40807 BLAKE2B 9796b9a1177a299797902b7f64247d81d63d3f7e0dcc1256990628e84c5f92e3094ee8d753d9b72187b9aaa73b7ca67c0217899f2226ebd1076f8d25b458475b SHA512 afde7660dda30dee240e79df1fb5b92d4572520bf17a134ef3765e2a077af9e13713952d52e27fae420109b40f6e24dbce1056687dbcbead858ffc21cc7dc69b DIST adler-1.0.2.crate 12778 BLAKE2B a1dc17786adae945ac09d3525e609ed944e6465690787bbb831a1b9d53793cba1989793d0a5606d5d23ee20d36457923d451b1b3530c9ec7072a487aa3e55bbd SHA512 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1 DIST android-tzdata-0.1.1.crate 7674 BLAKE2B 4385a4875aadaacd5284a9ca7d1bf8a7bf14bf8925d1563d52fbabacc3af2c1ea08bfcf77106f3648f4fa052ac295158a21e7a0131d31eb9aecd99ea4ba20055 SHA512 4294024c21ddd0090c42c8eedf708d40d917f55ad5a4cb7aa3e64cfb6551b6df60f2e36bc08620c1d2fc8c7ba7207411518ee5c8635f60ed8ad9efdd458a2077 diff --git a/app-containers/aardvark-dns/aardvark-dns-1.9.0.ebuild b/app-containers/aardvark-dns/aardvark-dns-1.9.0.ebuild new file mode 100644 index 000000000000..0ee642075eea --- /dev/null +++ b/app-containers/aardvark-dns/aardvark-dns-1.9.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +[[ ${PV} == 9999* ]] || CRATES="${PN}@${PV}" +inherit cargo + +DESCRIPTION="A container-focused DNS server" +HOMEPAGE="https://github.com/containers/aardvark-dns" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/containers/aardvark-dns.git" +else + SRC_URI="${CARGO_CRATE_URIS}" + SRC_URI+="https://github.com/containers/aardvark-dns/releases/download/v${PV}/${PN}-v${PV}-vendor.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" +fi + +# main +LICENSE="Apache-2.0" +# deps +LICENSE+=" 0BSD Apache-2.0-with-LLVM-exceptions MIT Unlicense Unicode-DFS-2016 ZLIB" +SLOT="0" +QA_FLAGS_IGNORED="usr/libexec/podman/${PN}" +QA_PRESTRIPPED="usr/libexec/podman/${PN}" +ECARGO_VENDOR="${WORKDIR}/vendor" + +src_unpack() { + if [[ ${PV} == 9999* ]]; then + git-r3_src_unpack + cargo_live_src_unpack + else + cargo_src_unpack + fi +} + +src_prepare() { + default + sed -i -e "s|m0755 bin|m0755 target/$(usex debug debug release)|g;" Makefile || die +} + +src_install() { + export PREFIX="${EPREFIX}"/usr + default +} diff --git a/app-containers/aardvark-dns/aardvark-dns-9999.ebuild b/app-containers/aardvark-dns/aardvark-dns-9999.ebuild index 32b5cc8f5e20..0ee642075eea 100644 --- a/app-containers/aardvark-dns/aardvark-dns-9999.ebuild +++ b/app-containers/aardvark-dns/aardvark-dns-9999.ebuild @@ -3,12 +3,13 @@ EAPI=8 -[[ ${PV} == *9999* ]] || CRATES="${PN}@${PV}" +[[ ${PV} == 9999* ]] || CRATES="${PN}@${PV}" inherit cargo DESCRIPTION="A container-focused DNS server" HOMEPAGE="https://github.com/containers/aardvark-dns" -if [[ ${PV} == *9999* ]]; then + +if [[ ${PV} == 9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/containers/aardvark-dns.git" else @@ -16,14 +17,18 @@ else SRC_URI+="https://github.com/containers/aardvark-dns/releases/download/v${PV}/${PN}-v${PV}-vendor.tar.gz" KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" fi -LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unlicense Unicode-DFS-2016 ZLIB" + +# main +LICENSE="Apache-2.0" +# deps +LICENSE+=" 0BSD Apache-2.0-with-LLVM-exceptions MIT Unlicense Unicode-DFS-2016 ZLIB" SLOT="0" QA_FLAGS_IGNORED="usr/libexec/podman/${PN}" QA_PRESTRIPPED="usr/libexec/podman/${PN}" ECARGO_VENDOR="${WORKDIR}/vendor" src_unpack() { - if [[ ${PV} == *9999* ]]; then + if [[ ${PV} == 9999* ]]; then git-r3_src_unpack cargo_live_src_unpack else |