summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-11-13 22:26:10 +0000
committerMarek Szuba <marecki@gentoo.org>2022-11-13 22:34:16 +0000
commit96238e309ddbd3f6aca08d59c9db543a67be67c9 (patch)
treea75e1884aa87c36e0d116a0c5465df7c34f77893 /dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild
parentnet-wireless/qdmr: add 0.10.4, drop 0.10.3 (diff)
downloadgentoo-96238e309ddbd3f6aca08d59c9db543a67be67c9.tar.gz
gentoo-96238e309ddbd3f6aca08d59c9db543a67be67c9.tar.bz2
gentoo-96238e309ddbd3f6aca08d59c9db543a67be67c9.zip
dev-vcs/pre-commit: allow the tests to use the 'file' transport
Needed for the test suite to work against git versions including the fix for CVE-2022-39253. Should be harmless enough even if upstream gets compromised and publishes a tarball containing malicious symlinks, unless someone makes a serious effort to grant Portage a lot of unnecessary privileges. Closes: https://bugs.gentoo.org/878781 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild')
-rw-r--r--dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild b/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild
index 5c803594ede5..0661c9a15854 100644
--- a/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild
@@ -35,6 +35,7 @@ BDEPEND="test? (
PATCHES=(
"${FILESDIR}"/${PN}-2.20.0-no_toml.patch
+ "${FILESDIR}"/${PN}-2.20.0-tests_git_file_transport.patch
)
DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )