mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
app-containers/slirp4netns: add 1.3.3
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST slirp4netns-1.2.0.tar.gz 62617 BLAKE2B ddedfbbd64094142392bcb1730900634983a8422ae33bc9eb798e42e8f45a773ad30ba78f7a406c9db2c2a7393572a313b9464bc09c2f13343bcf6d960a9f609 SHA512 4ede7323aab92d0ad0026bc5e1aefc07898a5b50c4ff57c13eb9d8e75d73a4bb5ac992f021404053fcba2b05c56dcafcbfefbc4bbc47f72a0797ab62bd76a60a
|
||||
DIST slirp4netns-1.3.3.tar.gz 65051 BLAKE2B 2c6b2b7ec8aabcc6c4dcb715454b4ef3efc68aab3e671dfccc171d48b020e3ed32d065a9c6f88f83913fbc3f76c2af47c7e4367273004e1874ed7b8be0faf56e SHA512 beaf42697d7657444f1970bb08fa6e9cf9eab8454eb214bd856215b38dcedf331fef64e3ea530cd19d100b5b56e16936e184fc69ce597e201b8accba0274fd60
|
||||
|
||||
40
app-containers/slirp4netns/slirp4netns-1.3.3.ebuild
Normal file
40
app-containers/slirp4netns/slirp4netns-1.3.3.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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 ~arm64 ~ppc64 ~riscv"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib:2=
|
||||
net-libs/libslirp:=
|
||||
sys-libs/libseccomp:=
|
||||
sys-libs/libcap:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# 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
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user