* [gentoo-commits] repo/proj/guru:master commit in: net-misc/dnsname/
@ 2022-05-23 17:15 Haelwenn Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Haelwenn Monnier @ 2022-05-23 17:15 UTC (permalink / raw
To: gentoo-commits
commit: c1afc35328786d902714db52704ebe2675b00c72
Author: Randall T. Vasquez <ran.dall <AT> icloud <DOT> com>
AuthorDate: Sun May 22 02:46:00 2022 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Sun May 22 02:46:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c1afc353
net-misc/dnsname: add dnsname v1.3.0, v1.3.1, and v9999
This commits adds ebuilds for dnsname v1.3.0, v1.3.1, and v9999.
Signed-off-by: Randall T. Vasquez <ran.dall <AT> icloud.com>
net-misc/dnsname/Manifest | 4 +++
net-misc/dnsname/dnsname-1.3.0.ebuild | 56 +++++++++++++++++++++++++++++++++++
net-misc/dnsname/dnsname-1.3.1.ebuild | 56 +++++++++++++++++++++++++++++++++++
net-misc/dnsname/dnsname-9999.ebuild | 56 +++++++++++++++++++++++++++++++++++
net-misc/dnsname/metadata.xml | 14 +++++++++
5 files changed, 186 insertions(+)
diff --git a/net-misc/dnsname/Manifest b/net-misc/dnsname/Manifest
new file mode 100644
index 000000000..9fa13a788
--- /dev/null
+++ b/net-misc/dnsname/Manifest
@@ -0,0 +1,4 @@
+DIST dnsname-1.3.0-deps.tar.xz 21020340 BLAKE2B 59f1bf713d464193dea3ff0e02cf6b82d1d9edf882186fbdf53959c3f70b2fb5a6a73bfbdf4c910613f6253c9f7f1c1c19e87f8586ee59a3e501c96931171936 SHA512 53322b89eccd639e1bde14496542f335ff10bbea711ea395ab36807d2d204f811cb051a07120f54679e3d61da2e3271983a36724fa91db5d5e52c7d3cc736b59
+DIST dnsname-1.3.0.tar.gz 2526598 BLAKE2B 0a17998c61c72e858d8f7a13d31c54e2b6e3495c61a2cbaaeadbade863361a468aaaf1c291fd073e77df3ff83f231d168208551143009400ad60a25f921f9bf2 SHA512 df48c4715582f098c41d45533163632ac1953621ce91fc78e88cc84e61d8a0a537e6da5aabab2be18cbddccd8e4c867670ae1fbc5ff7b6473bf7f4b464cb6ee2
+DIST dnsname-1.3.1-deps.tar.xz 21051388 BLAKE2B 39393408677061355f04995d12df11bb53260f5cee5309f44d99719fa61d1ab29032a7cee931e4277098b5bb98d051587ac585c69b4a19633a79085106744d25 SHA512 4ea0249b7ba747cbe10162725abc56282ee3453213d9f590a53d2d8475c071c0ffabfa50b919bb119fff37a85d3d40d544e94d008fe9969100cac9c3d60039fe
+DIST dnsname-1.3.1.tar.gz 2526593 BLAKE2B 1fd7ced187ee25a6b31746ed7c73eba412f74c809adcf531aa9a03ed53e5c1b14f065dcc81eac28eff56d1c213583e931c861d31743abe164290867e84b1b95a SHA512 ebebbe62394b981e86cd21fa8b92639a6d67e007a18c576ffdbac8067084a4cffdc9d077213bf7c9ee1e2731c7d69e4d4c02465f2340556c8723b6e302238aad
diff --git a/net-misc/dnsname/dnsname-1.3.0.ebuild b/net-misc/dnsname/dnsname-1.3.0.ebuild
new file mode 100644
index 000000000..6c80d1286
--- /dev/null
+++ b/net-misc/dnsname/dnsname-1.3.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+EGIT_COMMIT="dc59f285546a0b0d8b8f20033e1637ea82587840"
+
+inherit go-module unpacker
+
+DESCRIPTION="name resolution for containers"
+HOMEPAGE="https://github.com/containers/dnsname"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/containers/dnsname.git"
+ RESTRICT="fetch mirror test"
+else
+ SRC_URI="https://github.com/containers/dnsname/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI+=" https://github.com/ran-dall/portage-deps/blob/master/${P}-deps.tar.xz"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+ RESTRICT="mirror test"
+ S="${WORKDIR}"/${P}
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ default
+ if [[ ${PV} == *9999 ]]; then
+ git-r3_fetch
+ git-r3_checkout
+ pushd ${P}/plugins/meta/dnsname || die "location change for module building failed"
+ ego get
+ popd || die "location reset from module building failed"
+ fi
+}
+
+src_compile() {
+ local git_commit=${EGIT_COMMIT}
+ export -n GOCACHE GOPATH XDG_CACHE_HOME
+ GOBIN="${S}/bin" \
+ emake all \
+ GIT_BRANCH=master \
+ GIT_BRANCH_CLEAN=master \
+ COMMIT_NO="${git_commit}" \
+ GIT_COMMIT="${git_commit}"
+}
+
+src_install() {
+ exeinto /opt/cni/bin
+ doexe bin/*
+ dodoc README.md
+}
diff --git a/net-misc/dnsname/dnsname-1.3.1.ebuild b/net-misc/dnsname/dnsname-1.3.1.ebuild
new file mode 100644
index 000000000..46dc659dd
--- /dev/null
+++ b/net-misc/dnsname/dnsname-1.3.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+EGIT_COMMIT="18822f9a4fb35d1349eb256f4cd2bfd372474d84"
+
+inherit go-module unpacker
+
+DESCRIPTION="name resolution for containers"
+HOMEPAGE="https://github.com/containers/dnsname"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/containers/dnsname.git"
+ RESTRICT="fetch mirror test"
+else
+ SRC_URI="https://github.com/containers/dnsname/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI+=" https://github.com/ran-dall/portage-deps/blob/master/${P}-deps.tar.xz"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+ RESTRICT="mirror test"
+ S="${WORKDIR}"/${P}
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ default
+ if [[ ${PV} == *9999 ]]; then
+ git-r3_fetch
+ git-r3_checkout
+ pushd ${P}/plugins/meta/dnsname || die "location change for module building failed"
+ ego get
+ popd || die "location reset from module building failed"
+ fi
+}
+
+src_compile() {
+ local git_commit=${EGIT_COMMIT}
+ export -n GOCACHE GOPATH XDG_CACHE_HOME
+ GOBIN="${S}/bin" \
+ emake all \
+ GIT_BRANCH=master \
+ GIT_BRANCH_CLEAN=master \
+ COMMIT_NO="${git_commit}" \
+ GIT_COMMIT="${git_commit}"
+}
+
+src_install() {
+ exeinto /opt/cni/bin
+ doexe bin/*
+ dodoc README.md
+}
diff --git a/net-misc/dnsname/dnsname-9999.ebuild b/net-misc/dnsname/dnsname-9999.ebuild
new file mode 100644
index 000000000..7c15a9a0f
--- /dev/null
+++ b/net-misc/dnsname/dnsname-9999.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+EGIT_COMMIT="18822f9a4fb35d1349eb256f4cd2bfd372474d84"
+
+inherit go-module unpacker
+
+DESCRIPTION="name resolution for containers"
+HOMEPAGE="https://github.com/containers/dnsname"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/containers/dnsname.git"
+ RESTRICT="fetch mirror test"
+else
+ SRC_URI="https://github.com/containers/dnsname/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI+=" ${P}-deps.tar.xz"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+ RESTRICT="mirror test"
+ S="${WORKDIR}"/${P}
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ default
+ if [[ ${PV} == *9999 ]]; then
+ git-r3_fetch
+ git-r3_checkout
+ pushd ${P}/plugins/meta/dnsname || die "location change for module building failed"
+ ego get
+ popd || die "location reset from module building failed"
+ fi
+}
+
+src_compile() {
+ local git_commit=${EGIT_COMMIT}
+ export -n GOCACHE GOPATH XDG_CACHE_HOME
+ GOBIN="${S}/bin" \
+ emake all \
+ GIT_BRANCH=master \
+ GIT_BRANCH_CLEAN=master \
+ COMMIT_NO="${git_commit}" \
+ GIT_COMMIT="${git_commit}"
+}
+
+src_install() {
+ exeinto /opt/cni/bin
+ doexe bin/*
+ dodoc README.md
+}
diff --git a/net-misc/dnsname/metadata.xml b/net-misc/dnsname/metadata.xml
new file mode 100644
index 000000000..5e4235484
--- /dev/null
+++ b/net-misc/dnsname/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ran.dall@icloud.com</email>
+ <name>Randall Vasquez</name>
+ </maintainer>
+ <longdescription lang="en">
+ This plugin sets up the use of dnsmasq on a given CNI network so that Pods can resolve each other by name. When configured, the pod and its IP address are added to a network specific hosts file that dnsmasq reads in.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">containers/dnsname</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: net-misc/dnsname/
@ 2022-05-23 17:15 Haelwenn Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Haelwenn Monnier @ 2022-05-23 17:15 UTC (permalink / raw
To: gentoo-commits
commit: 79869b46934f4610e24cdf00497614a9595362c7
Author: Randall T. Vasquez <ran.dall <AT> icloud <DOT> com>
AuthorDate: Sun May 22 02:54:48 2022 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Sun May 22 02:54:48 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79869b46
net-misc/dnsname: fix DEPENDS on dnsname v1.3.0, v1.3.1, and v9999
This commits fixes the DEPENDS stanza and removes ~X86 from dnsname v1.3.0, v1.3.1, and v9999.
Signed-off-by: Randall T. Vasquez <ran.dall <AT> icloud.com>
net-misc/dnsname/dnsname-1.3.0.ebuild | 8 ++++++--
net-misc/dnsname/dnsname-1.3.1.ebuild | 8 ++++++--
net-misc/dnsname/dnsname-9999.ebuild | 8 ++++++--
3 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/net-misc/dnsname/dnsname-1.3.0.ebuild b/net-misc/dnsname/dnsname-1.3.0.ebuild
index 6c80d1286..254705eda 100644
--- a/net-misc/dnsname/dnsname-1.3.0.ebuild
+++ b/net-misc/dnsname/dnsname-1.3.0.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]]; then
else
SRC_URI="https://github.com/containers/dnsname/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/ran-dall/portage-deps/blob/master/${P}-deps.tar.xz"
- KEYWORDS="~amd64 ~arm64 ~x86"
+ KEYWORDS="~amd64 ~arm64"
RESTRICT="mirror test"
S="${WORKDIR}"/${P}
fi
@@ -24,7 +24,11 @@ fi
LICENSE="Apache-2.0"
SLOT="0"
-DEPEND=""
+DEPEND="
+ app-containers/podman
+ net-misc/cni-plugins
+ net-dns/dnsmasq
+"
RDEPEND="${DEPEND}"
src_unpack() {
diff --git a/net-misc/dnsname/dnsname-1.3.1.ebuild b/net-misc/dnsname/dnsname-1.3.1.ebuild
index 46dc659dd..20ca30116 100644
--- a/net-misc/dnsname/dnsname-1.3.1.ebuild
+++ b/net-misc/dnsname/dnsname-1.3.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]]; then
else
SRC_URI="https://github.com/containers/dnsname/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/ran-dall/portage-deps/blob/master/${P}-deps.tar.xz"
- KEYWORDS="~amd64 ~arm64 ~x86"
+ KEYWORDS="~amd64 ~arm64"
RESTRICT="mirror test"
S="${WORKDIR}"/${P}
fi
@@ -24,7 +24,11 @@ fi
LICENSE="Apache-2.0"
SLOT="0"
-DEPEND=""
+DEPEND="
+ app-containers/podman
+ net-misc/cni-plugins
+ net-dns/dnsmasq
+"
RDEPEND="${DEPEND}"
src_unpack() {
diff --git a/net-misc/dnsname/dnsname-9999.ebuild b/net-misc/dnsname/dnsname-9999.ebuild
index 7c15a9a0f..f92c2a67e 100644
--- a/net-misc/dnsname/dnsname-9999.ebuild
+++ b/net-misc/dnsname/dnsname-9999.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]]; then
else
SRC_URI="https://github.com/containers/dnsname/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" ${P}-deps.tar.xz"
- KEYWORDS="~amd64 ~arm64 ~x86"
+ KEYWORDS="~amd64 ~arm64"
RESTRICT="mirror test"
S="${WORKDIR}"/${P}
fi
@@ -24,7 +24,11 @@ fi
LICENSE="Apache-2.0"
SLOT="0"
-DEPEND=""
+DEPEND="
+ app-containers/podman
+ net-misc/cni-plugins
+ net-dns/dnsmasq
+"
RDEPEND="${DEPEND}"
src_unpack() {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-23 17:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-23 17:15 [gentoo-commits] repo/proj/guru:master commit in: net-misc/dnsname/ Haelwenn Monnier
-- strict thread matches above, loose matches on Subject: below --
2022-05-23 17:15 Haelwenn Monnier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox