summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-08-20 14:51:40 -0700
committerZac Medico <zmedico@gentoo.org>2020-08-20 14:53:05 -0700
commit8a31ddedbfa3ff0421673c910de4b9e93a8ebfc5 (patch)
tree216ed3ed468929e320ea444775765012ce0b03ee /net-libs/libslirp
parentnet-wireless/hackrf-tools: add support for mayhem (diff)
downloadgentoo-8a31ddedbfa3ff0421673c910de4b9e93a8ebfc5.tar.gz
gentoo-8a31ddedbfa3ff0421673c910de4b9e93a8ebfc5.tar.bz2
gentoo-8a31ddedbfa3ff0421673c910de4b9e93a8ebfc5.zip
net-libs/libslirp: Fix sandbox violation #737656
Reported-by: Pietro <pietro.sammarco@googlemail.com> Closes: https://bugs.gentoo.org/737656 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'net-libs/libslirp')
-rw-r--r--net-libs/libslirp/libslirp-4.3.1.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/net-libs/libslirp/libslirp-4.3.1.ebuild b/net-libs/libslirp/libslirp-4.3.1.ebuild
index 6d66bc7531c1..5883ba4bc271 100644
--- a/net-libs/libslirp/libslirp-4.3.1.ebuild
+++ b/net-libs/libslirp/libslirp-4.3.1.ebuild
@@ -23,4 +23,5 @@ S=${WORKDIR}/${MY_P}
src_prepare() {
default
echo "${PV}" > .tarball-version || die
+ echo -e "#!${BASH}\necho -n \$(cat '${S}/.tarball-version')" > build-aux/git-version-gen || die
}