diff options
Diffstat (limited to 'app-emulation/slirp4netns')
-rw-r--r-- | app-emulation/slirp4netns/Manifest | 2 | ||||
-rw-r--r-- | app-emulation/slirp4netns/slirp4netns-1.1.1.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app-emulation/slirp4netns/Manifest b/app-emulation/slirp4netns/Manifest index 839020e95aeb..78ffd3c563b0 100644 --- a/app-emulation/slirp4netns/Manifest +++ b/app-emulation/slirp4netns/Manifest @@ -1,3 +1,5 @@ DIST slirp4netns-1.0.1.tar.gz 51911 BLAKE2B d125dd2c24fd7a817d2b8f16c6bac66399a4a0f37c49d43541f336e7ff09673bca2d6ed2c62cc856034b8e2f6e11ac1ff3753d3546148e68ddf085e8b9aca354 SHA512 4947e32d88c3c8f1b7b2e94a1e73041a48cc8ddf75ffaf691d44cb6ebeaef5cf0b0abb7a8df8919682dfc854a76d73fc5bdebcf01b3ace97be187068d704bf63 +DIST slirp4netns-1.1.1.tar.gz 55391 BLAKE2B 346fd9a0e52247488573182bf747d3ba249ba5cb8d991ede8d0dedb7a5b9c8c64ee56fe4a94ae6deffc98f85866aa100300b42c75f1fc4de3af2564a00082ac5 SHA512 365293c82f58c89b82515428f157c7e4709b8b04b6736e75cc549bddb3ec2a85b33b198ae55ee173b93472cb33dec64949e50e8473b052ce33c61ff777f1393f EBUILD slirp4netns-1.0.1.ebuild 942 BLAKE2B 970fc2e131a194f9387230c3ce6b2516797f9cf72a0e9a7456068716cc3cff9cad4df827b55f751b44497a253eba9566bd3b175963c28f4fa7c3637553560f15 SHA512 340f4ec282e903a44770c10b7b74580bf14562f627a8fcf53b148a37d55ea85da8849960a9ebcd69a146f7a9ee1fe95c87a374c36da32149234a9eef0a86aa2b +EBUILD slirp4netns-1.1.1.ebuild 942 BLAKE2B 970fc2e131a194f9387230c3ce6b2516797f9cf72a0e9a7456068716cc3cff9cad4df827b55f751b44497a253eba9566bd3b175963c28f4fa7c3637553560f15 SHA512 340f4ec282e903a44770c10b7b74580bf14562f627a8fcf53b148a37d55ea85da8849960a9ebcd69a146f7a9ee1fe95c87a374c36da32149234a9eef0a86aa2b MISC metadata.xml 601 BLAKE2B eac6bf1b21371c913f648e944a1ba75314e772c1f0f5fdeda9d4c49cf279a15c19c9f6347ec1a3df236a6147c3d01f4084e161a81c2ee1e4db55cc9f8508d26f SHA512 d81b6889e71bf3fdc539f6c5ca057a8900f13009eafb711c4d83bb0cb349cf49f9253c0b8207a4c1f4c3b084bc9c9b0b91e75109843662fb72d25a2485cbf7dd diff --git a/app-emulation/slirp4netns/slirp4netns-1.1.1.ebuild b/app-emulation/slirp4netns/slirp4netns-1.1.1.ebuild new file mode 100644 index 000000000000..2d9af4a06ab7 --- /dev/null +++ b/app-emulation/slirp4netns/slirp4netns-1.1.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 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:= + net-libs/libslirp:= + sys-libs/libseccomp:= + sys-libs/libcap:=" + +DEPEND="${RDEPEND} + virtual/pkgconfig" +RESTRICT="test" + +src_prepare() { + # Respect AR variable for bug 722162. + sed -e 's|^AC_PROG_CC$|AC_DEFUN([AC_PROG_AR], [AC_CHECK_TOOL(AR, ar, :)])\nAC_PROG_AR\n\0|' \ + -i configure.ac || die + 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 +} |