summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-08-04 11:02:47 -0700
committerZac Medico <zmedico@gentoo.org>2019-08-04 11:06:06 -0700
commit9d7f1f733b49263ddad635f7e784cda3b877d290 (patch)
treee69e82b8f9a845945143f682145267dfe31db82e /app-emulation/slirp4netns
parentapp-emulation/slirp4netns: Bump to version 0.3.2 (diff)
downloadgentoo-9d7f1f733b49263ddad635f7e784cda3b877d290.tar.gz
gentoo-9d7f1f733b49263ddad635f7e784cda3b877d290.tar.bz2
gentoo-9d7f1f733b49263ddad635f7e784cda3b877d290.zip
app-emulation/slirp4netns: Bump to version 0.4.0_beta3
Package-Manager: Portage-2.3.70, 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_beta3.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/app-emulation/slirp4netns/Manifest b/app-emulation/slirp4netns/Manifest
index 1a3926f2351a..d4384fed6ac2 100644
--- a/app-emulation/slirp4netns/Manifest
+++ b/app-emulation/slirp4netns/Manifest
@@ -1,3 +1,4 @@
DIST slirp4netns-0.3.1.tar.gz 180163 BLAKE2B 228331bea2aef527d4feb6f195a2a7db0aefa5a561b0425a7d48bab5fc0bed2231d535904223852284c6789a608f70d8c78923c06b89db6e583248744caf34fd SHA512 d482f6d22e9bb62ddca9d7f05d4aef7e2f365439a0d38d864f71c9dc4af3fbcda8ec259285ed54ebabc7e15fced26c844563944eaa1b2fe295273049e42d7686
DIST slirp4netns-0.3.2.tar.gz 162136 BLAKE2B bc33c66ecc47e0b566eaa960e1651a0ad0b09010bc9ae3d1eb0692c7b2b67197a078b25df645bc11c50f1e805937b8e0aeeecf2fee6114937ca98eda49f61765 SHA512 b5146a9b165471037542af64618da8fb5f6824a9a4193867f4357b1b7f38082dea00e15930561eb9729fed406dae1bc2ca371035577d0f22cfb9004c13464496
DIST slirp4netns-0.4.0_beta2.tar.gz 173593 BLAKE2B fd827f92db03eddea86bccf401ff67535343cf759353e3c221fe1d3de494e8cc0c83169ef5cda900e512aeb16cfb7e5ba6181729483fa48d8f3257d70035a41a SHA512 38b6a1fbaceece1fe151477b3bc7db624e79e2b7913f5cca9e826a5f4289e53cfa584cfb90a5a3520e3e342eb803ff8ae090ca9892ea1051fd79ce802328e578
+DIST slirp4netns-0.4.0_beta3.tar.gz 167294 BLAKE2B 349cab3199f2d228f0d9ed545d6bd8ddff25e80a57d69c16f5a4a5c8af88cae21c48d98891e844e03ab5c47feb829007c7d6ccfb37510fbe5aaa03d90b0ecea7 SHA512 83ce7eee14ebb9cea481fdde1951d89346a1b741e1232f1b032142b331226193b6869dd6febbca91f1fac1fec7afdcafedeef98f204059a1513c8ab972a411f9
diff --git a/app-emulation/slirp4netns/slirp4netns-0.4.0_beta3.ebuild b/app-emulation/slirp4netns/slirp4netns-0.4.0_beta3.ebuild
new file mode 100644
index 000000000000..87e485ef0571
--- /dev/null
+++ b/app-emulation/slirp4netns/slirp4netns-0.4.0_beta3.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
+}