* [PR PATCH] 99-pkglint.sh: prevent installing files in /destdir
@ 2019-06-23 14:50 voidlinux-github
2019-06-23 15:17 ` [PR PATCH] [Merged]: " voidlinux-github
0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-06-23 14:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 356 bytes --]
There is a new pull request by CameronNemo against master on the void-packages repository
https://github.com/CameronNemo/void-packages pkglint-destdir
https://github.com/void-linux/void-packages/pull/12633
99-pkglint.sh: prevent installing files in /destdir
None
A patch file from https://github.com/void-linux/void-packages/pull/12633.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkglint-destdir-12633.patch --]
[-- Type: application/text/x-diff, Size: 880 bytes --]
From df0cbd67e59b828df67a7b41b5a4df512588d27a Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 23 Jun 2019 07:49:35 -0700
Subject: [PATCH] 99-pkglint.sh: prevent installing files in /destdir
Signed-off-by: Cameron Nemo <cnemo@tutanota.com>
---
common/hooks/pre-pkg/99-pkglint.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index 45a380c3747..7ae183ae8e8 100644
--- a/common/hooks/pre-pkg/99-pkglint.sh
+++ b/common/hooks/pre-pkg/99-pkglint.sh
@@ -19,7 +19,7 @@ hook() {
error=1
fi
- for f in sys dev home root run var/run tmp usr/lib64 usr/local; do
+ for f in sys dev home root run var/run tmp usr/lib64 usr/local destdir; do
if [ -d ${PKGDESTDIR}/${f} ]; then
msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
error=1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: 99-pkglint.sh: prevent installing files in /destdir
2019-06-23 14:50 [PR PATCH] 99-pkglint.sh: prevent installing files in /destdir voidlinux-github
@ 2019-06-23 15:17 ` voidlinux-github
0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-06-23 15:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 188 bytes --]
There's a merged pull request on the void-packages repository
99-pkglint.sh: prevent installing files in /destdir
https://github.com/void-linux/void-packages/pull/12633
Description: None
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-23 15:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-23 14:50 [PR PATCH] 99-pkglint.sh: prevent installing files in /destdir voidlinux-github
2019-06-23 15:17 ` [PR PATCH] [Merged]: " voidlinux-github
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).