summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-08-30 08:01:41 -0700
committerZac Medico <zmedico@gentoo.org>2019-08-30 08:01:41 -0700
commit9c9f47b7d390de073e2186cb67ac53bac3ef4915 (patch)
tree607c3dab7fa3da2ca3b48c1d9ce17cdad7c8b394 /app-emulation
parentdev-util/spirv-llvm-translator: Clean old versions up (diff)
downloadgentoo-9c9f47b7d390de073e2186cb67ac53bac3ef4915.tar.gz
gentoo-9c9f47b7d390de073e2186cb67ac53bac3ef4915.tar.bz2
gentoo-9c9f47b7d390de073e2186cb67ac53bac3ef4915.zip
app-emulation/slirp4netns: Bump to version 0.4.0
Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/slirp4netns/Manifest1
-rw-r--r--app-emulation/slirp4netns/slirp4netns-0.4.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/app-emulation/slirp4netns/Manifest b/app-emulation/slirp4netns/Manifest
index 0f538452c7ff..badc81303818 100644
--- a/app-emulation/slirp4netns/Manifest
+++ b/app-emulation/slirp4netns/Manifest
@@ -1,3 +1,4 @@
DIST slirp4netns-0.3.2.tar.gz 162136 BLAKE2B bc33c66ecc47e0b566eaa960e1651a0ad0b09010bc9ae3d1eb0692c7b2b67197a078b25df645bc11c50f1e805937b8e0aeeecf2fee6114937ca98eda49f61765 SHA512 b5146a9b165471037542af64618da8fb5f6824a9a4193867f4357b1b7f38082dea00e15930561eb9729fed406dae1bc2ca371035577d0f22cfb9004c13464496
DIST slirp4netns-0.3.3.tar.gz 162154 BLAKE2B b4a477ca94ee17e14ae0d255eb1f22713388d32cee1faff308e902a8134bc52e08cfa92537c19fbfc9869d936637c1196fee462d9699c1b5f97a0d0138dc4792 SHA512 9cccbfd30348d895c8c3f6a80ebe7991131c5a5f4907733ec65df5ce70b63427e5f666bf7c4dcb08e8dd50f1769aff0f6642c23c29eb6b9921a2d10f62d46f63
+DIST slirp4netns-0.4.0.tar.gz 168749 BLAKE2B 634df73d03561d6895532db5b8aa5e0e6622a7017bf7895ac4b44d5b72a1e4bf60be198d6bcc316058fe951f054ab69eb00609d2e7fc904457266c9e16150c2c SHA512 5065e04cb23300678fd791c5d95672c5ce70cec2b546a4af7da2c878f8d0605c6aad81aa14ee5feb5a1486c183b8992ae2bc63440dd96dee7cfe433dcb0e08c2
DIST slirp4netns-0.4.0_beta4.tar.gz 168436 BLAKE2B 708a92bcdd8f0d1ce925a013d999b3a172391ffaa1dce2f414a440feb8933cdb2f5986badfbdb98c98705ef414d86a353f642e1d8964d3ca700a39527cbf6274 SHA512 2dfe5be6c6b298823e2ae4f72ea11afa8d16a5c6ab9a88522775949508a6f6edfe5eadb3681b7d1300f21a93ebfa1791f04e27066cefdaa988fc12f385ee6340
diff --git a/app-emulation/slirp4netns/slirp4netns-0.4.0.ebuild b/app-emulation/slirp4netns/slirp4netns-0.4.0.ebuild
new file mode 100644
index 000000000000..a87e63fe9495
--- /dev/null
+++ b/app-emulation/slirp4netns/slirp4netns-0.4.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+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${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"
+
+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
+}