app-containers/dnsname: Add package version 1.3.0_p20230526
This package is a dependency of app-containers/podman-compose. Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
This commit is contained in:
parent
b854d79a99
commit
5b28e4887a
2
app-containers/dnsname/Manifest
Normal file
2
app-containers/dnsname/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST dnsname-1.3.0_p20230526-deps.tar.xz 34752452 BLAKE2B c6f49ab5b29ce597d15158c2c91a6e5db424f492e07cca278475d2755276d3135d60b7ccead6de2ee040e32c5e3b9693b6dfc02f909a146648f50cb51ead6ffd SHA512 8724a728f8b13f19a3a4bb3a74748d7f4afe90822447da2a90997bd0eed20e6ee6567d41462eaebcb9dc474678ff7892e86c4d6e3ba7d32c62290dcb128517ec
|
||||||
|
DIST dnsname-1.3.0_p20230526.gh.tar.gz 2525496 BLAKE2B fb61c16a9a58203423df93a32b4fd2e89df8f73db0f44f91215c73d29763fac36a6b06f03c963f821c143c4d298ff7ec34410529d336db4c779ac5cd12caff30 SHA512 1f240cd7333976f619289a4b97f202deeaab526358fe77c752e87f57a2f9f21c035de1141e10a5d082b042df635434c3a215154b957cd77be8acb1318c2bae85
|
56
app-containers/dnsname/dnsname-1.3.0_p20230526.ebuild
Normal file
56
app-containers/dnsname/dnsname-1.3.0_p20230526.ebuild
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
# Copyright 2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="8"
|
||||||
|
EGO_PN="github.com/containers/dnsname"
|
||||||
|
inherit go-module
|
||||||
|
COMMIT_ID="6685f68dbc13a95b73b9394b304927c6f518021c"
|
||||||
|
|
||||||
|
DESCRIPTION="Name resolution for contaienrs"
|
||||||
|
HOMEPAGE="https://github.com/containers/dnsname"
|
||||||
|
|
||||||
|
if [[ ${PV} == *_p* ]]; then
|
||||||
|
SRC_URI="https://${EGO_PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.gh.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${COMMIT_ID}"
|
||||||
|
else
|
||||||
|
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
fi
|
||||||
|
# Add the manually vendored tarball.
|
||||||
|
# Compress the tarball with: xz -9kT0 --memlimit-decompress=256M
|
||||||
|
SRC_URI+=" https://files.holgersson.xyz/gentoo/distfiles/${P}-deps.tar.xz"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="+encryption"
|
||||||
|
|
||||||
|
DEPEND="encryption? ( dev-libs/olm )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
BDEPEND=""
|
||||||
|
DOCS=(
|
||||||
|
README.md
|
||||||
|
README_PODMAN.md
|
||||||
|
RELEASE_NOTES.md
|
||||||
|
SECURITY.md
|
||||||
|
CODE-OF-CONDUCT.md
|
||||||
|
OWNERS
|
||||||
|
)
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# Flags -w, -s: Omit debugging information to reduce binary size,
|
||||||
|
# see https://golang.org/cmd/link/.
|
||||||
|
local mygobuildargs=(
|
||||||
|
-ldflags="-X ${EGO_PN}/config.GitCommit=${GIT_COMMIT} -w -s"
|
||||||
|
-mod=vendor -v -work -x
|
||||||
|
)
|
||||||
|
|
||||||
|
use encryption || export CGO_ENABLED=0
|
||||||
|
go build "${mygobuildargs[@]}" "${EGO_PN}/plugins/meta/dnsname" \
|
||||||
|
|| die "go build failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin "${PN}"
|
||||||
|
|
||||||
|
dodoc "${DOCS[@]}"
|
||||||
|
}
|
14
app-containers/dnsname/metadata.xml
Normal file
14
app-containers/dnsname/metadata.xml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">containers/dnsname</remote-id>
|
||||||
|
</upstream>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>holgersson@posteo.de</email>
|
||||||
|
<name>Nils Freydank</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="encryption">Enable encryption using <pkg>dev-libs/olm</pkg></flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user