From 25e3dd4828e37d30d6a8b81ce1f31a6ca1028784 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 30 May 2019 11:41:26 -0700 Subject: app-emulation/slirp4netns: add glib dep (bug 686956) Closes: https://bugs.gentoo.org/686956 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Zac Medico --- .../slirp4netns/slirp4netns-0.3.0-r1.ebuild | 31 ++++++++++++++++++++++ app-emulation/slirp4netns/slirp4netns-0.3.0.ebuild | 31 ---------------------- 2 files changed, 31 insertions(+), 31 deletions(-) create mode 100644 app-emulation/slirp4netns/slirp4netns-0.3.0-r1.ebuild delete mode 100644 app-emulation/slirp4netns/slirp4netns-0.3.0.ebuild (limited to 'app-emulation/slirp4netns') diff --git a/app-emulation/slirp4netns/slirp4netns-0.3.0-r1.ebuild b/app-emulation/slirp4netns/slirp4netns-0.3.0-r1.ebuild new file mode 100644 index 000000000000..bbf802f27f43 --- /dev/null +++ b/app-emulation/slirp4netns/slirp4netns-0.3.0-r1.ebuild @@ -0,0 +1,31 @@ +# 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=" +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 +} diff --git a/app-emulation/slirp4netns/slirp4netns-0.3.0.ebuild b/app-emulation/slirp4netns/slirp4netns-0.3.0.ebuild deleted file mode 100644 index e70e27b2aa80..000000000000 --- a/app-emulation/slirp4netns/slirp4netns-0.3.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# 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="" -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 -} -- cgit v1.2.3-65-gdbad