summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-07-23 08:34:00 -0700
committerZac Medico <zmedico@gentoo.org>2019-07-23 08:34:42 -0700
commitd0fba4fe694c66bc7158f78ef89becc40150aa19 (patch)
tree44b424ad17406aacee6d5a403eae209c778ab1f0 /app-emulation/slirp4netns
parentsys-cluster/kubectl: Version bump to 1.15.1 (diff)
downloadgentoo-d0fba4fe694c66bc7158f78ef89becc40150aa19.tar.gz
gentoo-d0fba4fe694c66bc7158f78ef89becc40150aa19.tar.bz2
gentoo-d0fba4fe694c66bc7158f78ef89becc40150aa19.zip
app-emulation/slirp4netns: Bump to version 0.4.0_beta0
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-emulation/slirp4netns')
-rw-r--r--app-emulation/slirp4netns/Manifest1
-rw-r--r--app-emulation/slirp4netns/slirp4netns-0.4.0_beta0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/app-emulation/slirp4netns/Manifest b/app-emulation/slirp4netns/Manifest
index 98963bd4a031..b5e02817252c 100644
--- a/app-emulation/slirp4netns/Manifest
+++ b/app-emulation/slirp4netns/Manifest
@@ -1 +1,2 @@
DIST slirp4netns-0.3.0.tar.gz 180149 BLAKE2B b7c552b5660f4be4a95d573ff51bbde1dec1daa7dd0d5a6c49b3d761743561e8211972d16e588519bce41eee0dd378837f7de3e4c7ccb37f13bfab21008ac640 SHA512 85eea233531123297efa5e7225cbda21c10ecb297fe13cd8bf75f8d18052bc8533c2db8ce6c1f7876f42b89e31ed2859eef33a3979cad95326d0c4b19f2871f1
+DIST slirp4netns-0.4.0_beta0.tar.gz 171557 BLAKE2B 0d4d26560807559e1783ab53086236235314b55503245474e34200be2a24541c7adfacfea7cfc91e97a5cf68a0c1c905db5ab4e38d91396e16e2bbed50f35c39 SHA512 5c6d3d55f39cb758f61cb408f5c2f05a7f31ba7d84c47dc3fadd7573122eef30eab643b79f16fdb76074b5ce485f22227390ad6055362d55d9e2352d7d490cc7
diff --git a/app-emulation/slirp4netns/slirp4netns-0.4.0_beta0.ebuild b/app-emulation/slirp4netns/slirp4netns-0.4.0_beta0.ebuild
new file mode 100644
index 000000000000..87e485ef0571
--- /dev/null
+++ b/app-emulation/slirp4netns/slirp4netns-0.4.0_beta0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+MY_PV=${PV/_/-}
+MY_PV=${MY_PV/beta/beta.}
+MY_P=${PN}-${MY_PV}
+DESCRIPTION="User-mode networking for unprivileged network namespaces"
+HOMEPAGE="https://github.com/rootless-containers/slirp4netns"
+SRC_URI="https://github.com/rootless-containers/slirp4netns/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/glib:2=
+ dev-libs/libpcre:="
+DEPEND="${RDEPEND}"
+RESTRICT="test"
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ eautoreconf
+ default
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "You need to have the tun kernel module loaded in order to have"
+ elog "slirp4netns working"
+ fi
+}