commit:     06e66812a264494a9f5f622083e60aacee5831ff
Author:     Yury Martynov <email <AT> linxon <DOT> ru>
AuthorDate: Mon Dec  2 10:38:03 2019 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Dec  3 17:26:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06e66812

app-emulation/slirp4netns: bump to 0.4.2

Closes: https://github.com/gentoo/gentoo/pull/13833
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Yury Martynov <email <AT> linxon.ru>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-emulation/slirp4netns/Manifest                 |  1 +
 app-emulation/slirp4netns/slirp4netns-0.4.2.ebuild | 36 ++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/app-emulation/slirp4netns/Manifest 
b/app-emulation/slirp4netns/Manifest
index 7fcfd053711..eb23f2c54d1 100644
--- a/app-emulation/slirp4netns/Manifest
+++ b/app-emulation/slirp4netns/Manifest
@@ -1,2 +1,3 @@
 DIST slirp4netns-0.3.3.tar.gz 162154 BLAKE2B 
b4a477ca94ee17e14ae0d255eb1f22713388d32cee1faff308e902a8134bc52e08cfa92537c19fbfc9869d936637c1196fee462d9699c1b5f97a0d0138dc4792
 SHA512 
9cccbfd30348d895c8c3f6a80ebe7991131c5a5f4907733ec65df5ce70b63427e5f666bf7c4dcb08e8dd50f1769aff0f6642c23c29eb6b9921a2d10f62d46f63
 DIST slirp4netns-0.4.1.tar.gz 168785 BLAKE2B 
90e2510121177771fb77d5e48baa8a1acb95f9778e72add244b2df10d92c9cc6ef284bfbeef699bd8e58724b50254a4eb6fa485a58c7c8e6cca8469cf722e1f2
 SHA512 
bb2a0946f4e360eb08efb46e097d21ab1bf05d199d1e3d381e065617eb9ba15434bccb5d1e76ac27664f23c8da79349383095b4d28d2a1a8ddc0fb9675aebf34
+DIST slirp4netns-0.4.2.tar.gz 169120 BLAKE2B 
bbb809da871c885e910be771f3a6e90f7d18880d82ddeb0e569a1db33e38c80cbb1a7279341c0efcd514d88fa2874920ae89365f9fa97a38e3fb09f0eb8e5642
 SHA512 
87dd032afe6862fc8f7f5c3770a1d939832c29c2f55fa3579a4eac717979442e1b081aa886cc94c5638ec1339ccebe73ed1844af37a479fed2d5826bc761fc05

diff --git a/app-emulation/slirp4netns/slirp4netns-0.4.2.ebuild 
b/app-emulation/slirp4netns/slirp4netns-0.4.2.ebuild
new file mode 100644
index 00000000000..e12c5cc91bc
--- /dev/null
+++ b/app-emulation/slirp4netns/slirp4netns-0.4.2.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
+
+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"
+
+KEYWORDS="~amd64"
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="
+       dev-libs/glib:2=
+       dev-libs/libpcre:=
+       sys-libs/libseccomp:=
+       sys-libs/libcap:="
+
+DEPEND="${RDEPEND}
+       virtual/pkgconfig"
+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
+}

Reply via email to