Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] 99-pkglint.sh: prevent installing files in /destdir
Date: Sun, 23 Jun 2019 16:50:07 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12633@inbox.vuxu.org> (raw)

[-- 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

             reply	other threads:[~2019-06-23 14:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-23 14:50 voidlinux-github [this message]
2019-06-23 15:17 ` [PR PATCH] [Merged]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12633@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).