app-containers/slirp4netns: add 1.3.5

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2026-09-04 17:33:36 +03:00
parent f7e9190b2d
commit 4cd7e5e881
2 changed files with 41 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST slirp4netns-1.3.3.tar.gz 65051 BLAKE2B 2c6b2b7ec8aabcc6c4dcb715454b4ef3efc68aab3e671dfccc171d48b020e3ed32d065a9c6f88f83913fbc3f76c2af47c7e4367273004e1874ed7b8be0faf56e SHA512 beaf42697d7657444f1970bb08fa6e9cf9eab8454eb214bd856215b38dcedf331fef64e3ea530cd19d100b5b56e16936e184fc69ce597e201b8accba0274fd60
DIST slirp4netns-1.3.4.tar.gz 65089 BLAKE2B 9743780cb4a050f3e113101fa2d698ec9a3ec31b205b2a353af7e0fff0c7190119f49d907833166838ca5331d731ecd547a1d0fdd2dca276e4a1841ebe5acd12 SHA512 dd821b69a5fa74469b15b7ceaf5d0346fe6b42b908420d8c4de95515616462df6e072dc6f6cf29b5ce17f865320bd0e1047e171e5ec03596c9f180356fb238f7
DIST slirp4netns-1.3.5.tar.gz 65085 BLAKE2B 3f1d5f3c8070a0d4e43b8f0b867874d843e3a2af35690a9405ea162ce91079f2e6a523e3a80a575807c45e33a78597fd28c277a78a436476b37f8112d202a6d4 SHA512 0e645ffca85c9ebcbe3bba1515090e082bb3ba7d49e8eabb72ef3c077c0a6b0366c63514c171f8ffc0094c9360c9524c118882daf88644da0bb1fd25395b9b53

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
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
}