Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories.
@ 2020-05-17 11:44 sgn
  2020-05-17 12:08 ` [PR PATCH] [Updated] " sgn
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: sgn @ 2020-05-17 11:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]

There is a new pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages pkg-lint-allow-only-whitelist
https://github.com/void-linux/void-packages/pull/22035

xbps-src: pre-pkg: allow only white-listed directories.


A patch file from https://github.com/void-linux/void-packages/pull/22035.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg-lint-allow-only-whitelist-22035.patch --]
[-- Type: text/x-diff, Size: 1403 bytes --]

From 5a41f09421120dd025a24621e5696e278f0c9ecc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx+sgn@gmail.com>
Date: Sun, 17 May 2020 18:42:43 +0700
Subject: [PATCH] xbps-src: pre-pkg: allow only white-listed directories.

---
 common/hooks/pre-pkg/99-pkglint.sh | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index d2c281e39db..afce5617ffb 100644
--- a/common/hooks/pre-pkg/99-pkglint.sh
+++ b/common/hooks/pre-pkg/99-pkglint.sh
@@ -21,13 +21,30 @@ hook() {
 		fi
 	done
 	
-	for f in sys dev home root run var/run tmp usr/local destdir; do
+	for f in var/run usr/local; do
 		if [ -d ${PKGDESTDIR}/${f} ]; then
 			msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
 			error=1
 		fi
 	done
 
+	for f in "$PKGDESTDIR"/*; do
+		f="${f##*/}"
+		case "$f" in
+		lib|bin|sbin|lib64|lib32|usr|var|opt|etc|boot) ;;
+		INSTALL|REMOVE|rdeps|shlib-requires)
+			if [ ! -f "${PKGDESTDIR}/$f" ]; then
+				msg_red "${pkgver}: /${f} is not allowed\n"
+				error=1
+			fi
+			;;
+		*)
+			msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
+			error=1
+			;;
+		esac
+	done
+
 	# Check that configuration files really exist.
 	for f in $(expand_destdir "${conf_files}"); do
 		if [ ! -f "${PKGDESTDIR}/${f}" ]; then

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Updated] xbps-src: pre-pkg: allow only white-listed directories.
  2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
@ 2020-05-17 12:08 ` sgn
  2020-05-19 22:50 ` sgn
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: sgn @ 2020-05-17 12:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 359 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages pkg-lint-allow-only-whitelist
https://github.com/void-linux/void-packages/pull/22035

xbps-src: pre-pkg: allow only white-listed directories.


A patch file from https://github.com/void-linux/void-packages/pull/22035.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg-lint-allow-only-whitelist-22035.patch --]
[-- Type: text/x-diff, Size: 1418 bytes --]

From bd593e72953839ef24c34b4cf22da7c48d77986a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx+sgn@gmail.com>
Date: Sun, 17 May 2020 18:42:43 +0700
Subject: [PATCH] xbps-src: pre-pkg: allow only white-listed directories.

---
 common/hooks/pre-pkg/99-pkglint.sh | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index d2c281e39db..51cb5337c25 100644
--- a/common/hooks/pre-pkg/99-pkglint.sh
+++ b/common/hooks/pre-pkg/99-pkglint.sh
@@ -21,13 +21,30 @@ hook() {
 		fi
 	done
 	
-	for f in sys dev home root run var/run tmp usr/local destdir; do
+	for f in var/run usr/local; do
 		if [ -d ${PKGDESTDIR}/${f} ]; then
 			msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
 			error=1
 		fi
 	done
 
+	for f in "$PKGDESTDIR"/*; do
+		f="${f##*/}"
+		case "$f" in
+		lib|bin|sbin|lib64|lib32|usr|var|opt|etc|boot) ;;
+		INSTALL|REMOVE|rdeps|shlib-requires|shlib-provides)
+			if [ ! -f "${PKGDESTDIR}/$f" ]; then
+				msg_red "${pkgver}: /${f} is not allowed\n"
+				error=1
+			fi
+			;;
+		*)
+			msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
+			error=1
+			;;
+		esac
+	done
+
 	# Check that configuration files really exist.
 	for f in $(expand_destdir "${conf_files}"); do
 		if [ ! -f "${PKGDESTDIR}/${f}" ]; then

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: xbps-src: pre-pkg: allow only white-listed directories.
  2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
  2020-05-17 12:08 ` [PR PATCH] [Updated] " sgn
@ 2020-05-19 22:50 ` sgn
  2020-05-19 22:56 ` Chocimier
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: sgn @ 2020-05-19 22:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/22035#issuecomment-631128266

Comment:
Hi @void-linux/pkg-committers 

Can I have your opinions on this change to `xbps-src`?
If no-one complains, I'll push it this weekend.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: xbps-src: pre-pkg: allow only white-listed directories.
  2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
  2020-05-17 12:08 ` [PR PATCH] [Updated] " sgn
  2020-05-19 22:50 ` sgn
@ 2020-05-19 22:56 ` Chocimier
  2020-05-19 23:07 ` [PR PATCH] [Updated] " sgn
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Chocimier @ 2020-05-19 22:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/22035#issuecomment-631130140

Comment:
`hiawatha` explicitly uses /srv

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Updated] xbps-src: pre-pkg: allow only white-listed directories.
  2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
                   ` (2 preceding siblings ...)
  2020-05-19 22:56 ` Chocimier
@ 2020-05-19 23:07 ` sgn
  2020-05-19 23:12 ` sgn
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: sgn @ 2020-05-19 23:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 359 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages pkg-lint-allow-only-whitelist
https://github.com/void-linux/void-packages/pull/22035

xbps-src: pre-pkg: allow only white-listed directories.


A patch file from https://github.com/void-linux/void-packages/pull/22035.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg-lint-allow-only-whitelist-22035.patch --]
[-- Type: text/x-diff, Size: 1455 bytes --]

From 77745ca88bdce1ecc9fac443dc1a13637e902b11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx+sgn@gmail.com>
Date: Sun, 17 May 2020 18:42:43 +0700
Subject: [PATCH] xbps-src: pre-pkg: allow only white-listed directories.

---
 common/hooks/pre-pkg/99-pkglint.sh | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index d2c281e39db..498d39ac585 100644
--- a/common/hooks/pre-pkg/99-pkglint.sh
+++ b/common/hooks/pre-pkg/99-pkglint.sh
@@ -21,13 +21,31 @@ hook() {
 		fi
 	done
 	
-	for f in sys dev home root run var/run tmp usr/local destdir; do
+	for f in var/run usr/local; do
 		if [ -d ${PKGDESTDIR}/${f} ]; then
 			msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
 			error=1
 		fi
 	done
 
+	for f in "$PKGDESTDIR"/*; do
+		f="${f##*/}"
+		case "$f" in
+		'*') : empty meta package ;;
+		lib|bin|sbin|lib64|lib32|usr|var|opt|etc|boot|srv) ;;
+		INSTALL|REMOVE|rdeps|shlib-requires|shlib-provides)
+			if [ ! -f "${PKGDESTDIR}/$f" ]; then
+				msg_red "${pkgver}: /${f} is not allowed\n"
+				error=1
+			fi
+			;;
+		*)
+			msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
+			error=1
+			;;
+		esac
+	done
+
 	# Check that configuration files really exist.
 	for f in $(expand_destdir "${conf_files}"); do
 		if [ ! -f "${PKGDESTDIR}/${f}" ]; then

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Updated] xbps-src: pre-pkg: allow only white-listed directories.
  2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
                   ` (3 preceding siblings ...)
  2020-05-19 23:07 ` [PR PATCH] [Updated] " sgn
@ 2020-05-19 23:12 ` sgn
  2020-05-19 23:12 ` sgn
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: sgn @ 2020-05-19 23:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 359 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages pkg-lint-allow-only-whitelist
https://github.com/void-linux/void-packages/pull/22035

xbps-src: pre-pkg: allow only white-listed directories.


A patch file from https://github.com/void-linux/void-packages/pull/22035.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg-lint-allow-only-whitelist-22035.patch --]
[-- Type: text/x-diff, Size: 2943 bytes --]

From 77745ca88bdce1ecc9fac443dc1a13637e902b11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx+sgn@gmail.com>
Date: Sun, 17 May 2020 18:42:43 +0700
Subject: [PATCH 1/2] xbps-src: pre-pkg: allow only white-listed directories.

---
 common/hooks/pre-pkg/99-pkglint.sh | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index d2c281e39db..498d39ac585 100644
--- a/common/hooks/pre-pkg/99-pkglint.sh
+++ b/common/hooks/pre-pkg/99-pkglint.sh
@@ -21,13 +21,31 @@ hook() {
 		fi
 	done
 	
-	for f in sys dev home root run var/run tmp usr/local destdir; do
+	for f in var/run usr/local; do
 		if [ -d ${PKGDESTDIR}/${f} ]; then
 			msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
 			error=1
 		fi
 	done
 
+	for f in "$PKGDESTDIR"/*; do
+		f="${f##*/}"
+		case "$f" in
+		'*') : empty meta package ;;
+		lib|bin|sbin|lib64|lib32|usr|var|opt|etc|boot|srv) ;;
+		INSTALL|REMOVE|rdeps|shlib-requires|shlib-provides)
+			if [ ! -f "${PKGDESTDIR}/$f" ]; then
+				msg_red "${pkgver}: /${f} is not allowed\n"
+				error=1
+			fi
+			;;
+		*)
+			msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
+			error=1
+			;;
+		esac
+	done
+
 	# Check that configuration files really exist.
 	for f in $(expand_destdir "${conf_files}"); do
 		if [ ! -f "${PKGDESTDIR}/${f}" ]; then

From 28c4154d8d0b753b5463454bdd0d9ddf4147f1bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx+sgn@gmail.com>
Date: Wed, 20 May 2020 06:12:02 +0700
Subject: [PATCH 2/2] fixup! xbps-src: pre-pkg: allow only white-listed
 directories.

---
 common/hooks/pre-pkg/99-pkglint.sh | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index 498d39ac585..5fcdb664683 100644
--- a/common/hooks/pre-pkg/99-pkglint.sh
+++ b/common/hooks/pre-pkg/99-pkglint.sh
@@ -31,7 +31,12 @@ hook() {
 	for f in "$PKGDESTDIR"/*; do
 		f="${f##*/}"
 		case "$f" in
-		'*') : empty meta package ;;
+		'*')	# Forbid empty packages unless build_style=meta
+			if [ "$build_style" != "meta" ]; then
+				msg_red "${pkgver}: PKGDESTDIR is empty and build_style != meta\n"
+				error=1
+			fi
+			;;
 		lib|bin|sbin|lib64|lib32|usr|var|opt|etc|boot|srv) ;;
 		INSTALL|REMOVE|rdeps|shlib-requires|shlib-provides)
 			if [ ! -f "${PKGDESTDIR}/$f" ]; then
@@ -107,14 +112,6 @@ hook() {
 		fi
 	done
 
-	# Forbid empty packages unless build_style=meta
-	if [ "$build_style" != "meta" ]; then
-		if [ "$(find $PKGDESTDIR/* -maxdepth 1 -type d 2>/dev/null)" = "" ]; then
-			msg_red "${pkgver}: PKGDESTDIR is empty and build_style != meta\n"
-			error=1
-		fi
-	fi
-
 	if [ $error -gt 0 ]; then
 		msg_error "${pkgver}: cannot continue with installation!\n"
 	fi

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: xbps-src: pre-pkg: allow only white-listed directories.
  2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
                   ` (4 preceding siblings ...)
  2020-05-19 23:12 ` sgn
@ 2020-05-19 23:12 ` sgn
  2020-05-19 23:15 ` jnbr
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: sgn @ 2020-05-19 23:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/22035#issuecomment-631135454

Comment:
I tempted to fixup the second patch into the first one.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: xbps-src: pre-pkg: allow only white-listed directories.
  2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
                   ` (5 preceding siblings ...)
  2020-05-19 23:12 ` sgn
@ 2020-05-19 23:15 ` jnbr
  2020-05-19 23:19 ` q66
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: jnbr @ 2020-05-19 23:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]

New comment by jnbr on void-packages repository

https://github.com/void-linux/void-packages/pull/22035#issuecomment-631136433

Comment:
`INSTALL.msg` and `REMOVE.msg` are missing

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: xbps-src: pre-pkg: allow only white-listed directories.
  2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
                   ` (6 preceding siblings ...)
  2020-05-19 23:15 ` jnbr
@ 2020-05-19 23:19 ` q66
  2020-05-19 23:23 ` [PR PATCH] [Updated] " sgn
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: q66 @ 2020-05-19 23:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 281 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/22035#issuecomment-631137531

Comment:
why?

also toplevel libdirs are not allowed, we only have `usr/lib` except symlinks in `base-files`

and `lib64` is never allowed in general

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Updated] xbps-src: pre-pkg: allow only white-listed directories.
  2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
                   ` (7 preceding siblings ...)
  2020-05-19 23:19 ` q66
@ 2020-05-19 23:23 ` sgn
  2020-05-19 23:26 ` sgn
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: sgn @ 2020-05-19 23:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 359 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages pkg-lint-allow-only-whitelist
https://github.com/void-linux/void-packages/pull/22035

xbps-src: pre-pkg: allow only white-listed directories.


A patch file from https://github.com/void-linux/void-packages/pull/22035.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg-lint-allow-only-whitelist-22035.patch --]
[-- Type: text/x-diff, Size: 3152 bytes --]

From fa66e6ec74f1a91888a4039b0ad57d606d32a35c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx+sgn@gmail.com>
Date: Sun, 17 May 2020 18:42:43 +0700
Subject: [PATCH 1/2] xbps-src: pre-pkg: allow only white-listed directories.

---
 common/hooks/pre-pkg/99-pkglint.sh | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index d2c281e39db..9410d0847ef 100644
--- a/common/hooks/pre-pkg/99-pkglint.sh
+++ b/common/hooks/pre-pkg/99-pkglint.sh
@@ -21,13 +21,37 @@ hook() {
 		fi
 	done
 	
-	for f in sys dev home root run var/run tmp usr/local destdir; do
+	for f in var/run usr/local; do
 		if [ -d ${PKGDESTDIR}/${f} ]; then
 			msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
 			error=1
 		fi
 	done
 
+	for f in "$PKGDESTDIR"/*; do
+		f="${f##*/}"
+		case "$f" in
+		'*')	# The filename is exactly '*'
+			if [ -f "${PKGDESTDIR}/*" ]; then
+				msg_red "${pkgver}: File /${f} is not allowed\n"
+				error=1
+			fi
+			# Empty meta package is fine
+			;;
+		lib|bin|sbin|lib64|lib32|usr|var|opt|etc|boot|srv) ;;
+		INSTALL|INSTALL.msg|REMOVE|REMOVE.msg|rdeps|shlib-requires|shlib-provides)
+			if [ ! -f "${PKGDESTDIR}/$f" ]; then
+				msg_red "${pkgver}: /${f} is not allowed\n"
+				error=1
+			fi
+			;;
+		*)
+			msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
+			error=1
+			;;
+		esac
+	done
+
 	# Check that configuration files really exist.
 	for f in $(expand_destdir "${conf_files}"); do
 		if [ ! -f "${PKGDESTDIR}/${f}" ]; then

From 50e3f4b97088eba6c24cdb984ba1a7f83f1f1156 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx+sgn@gmail.com>
Date: Wed, 20 May 2020 06:12:02 +0700
Subject: [PATCH 2/2] fixup! xbps-src: pre-pkg: allow only white-listed
 directories.

---
 common/hooks/pre-pkg/99-pkglint.sh | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index 9410d0847ef..472a7f634b7 100644
--- a/common/hooks/pre-pkg/99-pkglint.sh
+++ b/common/hooks/pre-pkg/99-pkglint.sh
@@ -35,8 +35,11 @@ hook() {
 			if [ -f "${PKGDESTDIR}/*" ]; then
 				msg_red "${pkgver}: File /${f} is not allowed\n"
 				error=1
+			elif [ "$build_style" != "meta" ]; then
+				# Forbid empty packages unless build_style=meta
+				msg_red "${pkgver}: PKGDESTDIR is empty and build_style != meta\n"
+				error=1
 			fi
-			# Empty meta package is fine
 			;;
 		lib|bin|sbin|lib64|lib32|usr|var|opt|etc|boot|srv) ;;
 		INSTALL|INSTALL.msg|REMOVE|REMOVE.msg|rdeps|shlib-requires|shlib-provides)
@@ -113,14 +116,6 @@ hook() {
 		fi
 	done
 
-	# Forbid empty packages unless build_style=meta
-	if [ "$build_style" != "meta" ]; then
-		if [ "$(find $PKGDESTDIR/* -maxdepth 1 -type d 2>/dev/null)" = "" ]; then
-			msg_red "${pkgver}: PKGDESTDIR is empty and build_style != meta\n"
-			error=1
-		fi
-	fi
-
 	if [ $error -gt 0 ]; then
 		msg_error "${pkgver}: cannot continue with installation!\n"
 	fi

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: xbps-src: pre-pkg: allow only white-listed directories.
  2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
                   ` (8 preceding siblings ...)
  2020-05-19 23:23 ` [PR PATCH] [Updated] " sgn
@ 2020-05-19 23:26 ` sgn
  2020-05-19 23:27 ` sgn
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: sgn @ 2020-05-19 23:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 556 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/22035#issuecomment-631139707

Comment:
> why?

To avoid mistake likes messed configure variable


> also toplevel libdirs are not allowed, we only have `usr/lib` except symlinks in `base-files`

It's checked by other code in the top of that file,
`base-files` will provide the symlink in the top-level
https://github.com/void-linux/void-packages/blob/master/common/hooks/pre-pkg/99-pkglint.sh#L10

> and `lib64` is never allowed in general





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: xbps-src: pre-pkg: allow only white-listed directories.
  2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
                   ` (9 preceding siblings ...)
  2020-05-19 23:26 ` sgn
@ 2020-05-19 23:27 ` sgn
  2020-05-21 15:33 ` [PR PATCH] [Updated] " sgn
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: sgn @ 2020-05-19 23:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/22035#issuecomment-631139707

Comment:
> why?

To avoid mistake likes messed configure variable


> also toplevel libdirs are not allowed, we only have `usr/lib` except symlinks in `base-files`

It's checked by other code in the top of that file,
`base-files` will provide the symlink in the top-level
https://github.com/void-linux/void-packages/blob/master/common/hooks/pre-pkg/99-pkglint.sh#L10

> and `lib64` is never allowed in general

allowed for `base-files`





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Updated] xbps-src: pre-pkg: allow only white-listed directories.
  2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
                   ` (10 preceding siblings ...)
  2020-05-19 23:27 ` sgn
@ 2020-05-21 15:33 ` sgn
  2020-05-22 17:35 ` Chocimier
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: sgn @ 2020-05-21 15:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 359 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages pkg-lint-allow-only-whitelist
https://github.com/void-linux/void-packages/pull/22035

xbps-src: pre-pkg: allow only white-listed directories.


A patch file from https://github.com/void-linux/void-packages/pull/22035.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg-lint-allow-only-whitelist-22035.patch --]
[-- Type: text/x-diff, Size: 3687 bytes --]

From 52f30bbad0290d2ce8b0332e98a53f98cd5a9275 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx+sgn@gmail.com>
Date: Sun, 17 May 2020 18:42:43 +0700
Subject: [PATCH 1/2] xbps-src: pre-pkg: allow only white-listed directories.

---
 common/hooks/pre-pkg/99-pkglint.sh | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index d2c281e39db..bee6df56394 100644
--- a/common/hooks/pre-pkg/99-pkglint.sh
+++ b/common/hooks/pre-pkg/99-pkglint.sh
@@ -21,13 +21,37 @@ hook() {
 		fi
 	done
 	
-	for f in sys dev home root run var/run tmp usr/local destdir; do
+	for f in var/run usr/local; do
 		if [ -d ${PKGDESTDIR}/${f} ]; then
 			msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
 			error=1
 		fi
 	done
 
+	for f in "$PKGDESTDIR"/*; do
+		f="${f##*/}"
+		case "$f" in
+		'*')	# The filename is exactly '*'
+			if [ -e "${PKGDESTDIR}/*" ]; then
+				msg_red "${pkgver}: File /${f} is not allowed\n"
+				error=1
+			fi
+			# Empty meta package is fine
+			;;
+		lib|bin|sbin|lib64|lib32|usr|var|opt|etc|boot|srv) ;;
+		INSTALL|INSTALL.msg|REMOVE|REMOVE.msg|rdeps|shlib-requires|shlib-provides)
+			if [ ! -f "${PKGDESTDIR}/$f" ]; then
+				msg_red "${pkgver}: /${f} is not allowed\n"
+				error=1
+			fi
+			;;
+		*)
+			msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
+			error=1
+			;;
+		esac
+	done
+
 	# Check that configuration files really exist.
 	for f in $(expand_destdir "${conf_files}"); do
 		if [ ! -f "${PKGDESTDIR}/${f}" ]; then

From 5113f7fc5479d9bb28aa600ac7bd3a866357c107 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx+sgn@gmail.com>
Date: Wed, 20 May 2020 06:12:02 +0700
Subject: [PATCH 2/2] fixup! xbps-src: pre-pkg: allow only white-listed
 directories.

---
 common/hooks/pre-pkg/99-pkglint.sh | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index bee6df56394..245cf90e43e 100644
--- a/common/hooks/pre-pkg/99-pkglint.sh
+++ b/common/hooks/pre-pkg/99-pkglint.sh
@@ -3,6 +3,7 @@
 hook() {
 	local error=0 filename= rev= libname= conflictPkg= conflictFile=
 	local conflictRev= ignore= found= mapshlibs=$XBPS_COMMONDIR/shlibs
+	local emptypkg=yes
 
 	set +E
 
@@ -36,9 +37,10 @@ hook() {
 				msg_red "${pkgver}: File /${f} is not allowed\n"
 				error=1
 			fi
-			# Empty meta package is fine
 			;;
-		lib|bin|sbin|lib64|lib32|usr|var|opt|etc|boot|srv) ;;
+		lib|bin|sbin|lib64|lib32|usr|var|opt|etc|boot|srv)
+			emptypkg=no
+			;;
 		INSTALL|INSTALL.msg|REMOVE|REMOVE.msg|rdeps|shlib-requires|shlib-provides)
 			if [ ! -f "${PKGDESTDIR}/$f" ]; then
 				msg_red "${pkgver}: /${f} is not allowed\n"
@@ -52,6 +54,12 @@ hook() {
 		esac
 	done
 
+	if [ "$build_style" != meta -a "$emptypkg" = yes ]; then
+		# Forbid empty packages unless build_style=meta
+		msg_red "${pkgver}: PKGDESTDIR is empty and build_style != meta\n"
+		error=1
+	fi
+
 	# Check that configuration files really exist.
 	for f in $(expand_destdir "${conf_files}"); do
 		if [ ! -f "${PKGDESTDIR}/${f}" ]; then
@@ -113,14 +121,6 @@ hook() {
 		fi
 	done
 
-	# Forbid empty packages unless build_style=meta
-	if [ "$build_style" != "meta" ]; then
-		if [ "$(find $PKGDESTDIR/* -maxdepth 1 -type d 2>/dev/null)" = "" ]; then
-			msg_red "${pkgver}: PKGDESTDIR is empty and build_style != meta\n"
-			error=1
-		fi
-	fi
-
 	if [ $error -gt 0 ]; then
 		msg_error "${pkgver}: cannot continue with installation!\n"
 	fi

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: xbps-src: pre-pkg: allow only white-listed directories.
  2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
                   ` (11 preceding siblings ...)
  2020-05-21 15:33 ` [PR PATCH] [Updated] " sgn
@ 2020-05-22 17:35 ` Chocimier
  2020-05-23 11:48 ` [PR PATCH] [Updated] " sgn
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Chocimier @ 2020-05-22 17:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 147 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/22035#issuecomment-632822387

Comment:
lgtm

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Updated] xbps-src: pre-pkg: allow only white-listed directories.
  2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
                   ` (12 preceding siblings ...)
  2020-05-22 17:35 ` Chocimier
@ 2020-05-23 11:48 ` sgn
  2020-05-23 11:56 ` sgn
  2020-05-31  2:11 ` [PR PATCH] [Merged]: " sgn
  15 siblings, 0 replies; 17+ messages in thread
From: sgn @ 2020-05-23 11:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 359 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages pkg-lint-allow-only-whitelist
https://github.com/void-linux/void-packages/pull/22035

xbps-src: pre-pkg: allow only white-listed directories.


A patch file from https://github.com/void-linux/void-packages/pull/22035.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg-lint-allow-only-whitelist-22035.patch --]
[-- Type: text/x-diff, Size: 3686 bytes --]

From 0e13d68a292e1f23a599e225a840cb7681d2a35b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx+sgn@gmail.com>
Date: Sun, 17 May 2020 18:42:43 +0700
Subject: [PATCH 1/2] xbps-src: pre-pkg: allow only white-listed directories.

---
 common/hooks/pre-pkg/99-pkglint.sh | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index d2c281e39db..bee6df56394 100644
--- a/common/hooks/pre-pkg/99-pkglint.sh
+++ b/common/hooks/pre-pkg/99-pkglint.sh
@@ -21,13 +21,37 @@ hook() {
 		fi
 	done
 	
-	for f in sys dev home root run var/run tmp usr/local destdir; do
+	for f in var/run usr/local; do
 		if [ -d ${PKGDESTDIR}/${f} ]; then
 			msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
 			error=1
 		fi
 	done
 
+	for f in "$PKGDESTDIR"/*; do
+		f="${f##*/}"
+		case "$f" in
+		'*')	# The filename is exactly '*'
+			if [ -e "${PKGDESTDIR}/*" ]; then
+				msg_red "${pkgver}: File /${f} is not allowed\n"
+				error=1
+			fi
+			# Empty meta package is fine
+			;;
+		lib|bin|sbin|lib64|lib32|usr|var|opt|etc|boot|srv) ;;
+		INSTALL|INSTALL.msg|REMOVE|REMOVE.msg|rdeps|shlib-requires|shlib-provides)
+			if [ ! -f "${PKGDESTDIR}/$f" ]; then
+				msg_red "${pkgver}: /${f} is not allowed\n"
+				error=1
+			fi
+			;;
+		*)
+			msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
+			error=1
+			;;
+		esac
+	done
+
 	# Check that configuration files really exist.
 	for f in $(expand_destdir "${conf_files}"); do
 		if [ ! -f "${PKGDESTDIR}/${f}" ]; then

From a8b2330f714a194fe84ff688f57326d998e1af47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx+sgn@gmail.com>
Date: Wed, 20 May 2020 06:12:02 +0700
Subject: [PATCH 2/2] fixup! xbps-src: pre-pkg: allow only white-listed
 directories.

---
 common/hooks/pre-pkg/99-pkglint.sh | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index bee6df56394..e60419060ea 100644
--- a/common/hooks/pre-pkg/99-pkglint.sh
+++ b/common/hooks/pre-pkg/99-pkglint.sh
@@ -3,6 +3,7 @@
 hook() {
 	local error=0 filename= rev= libname= conflictPkg= conflictFile=
 	local conflictRev= ignore= found= mapshlibs=$XBPS_COMMONDIR/shlibs
+	local emptypkg=yes
 
 	set +E
 
@@ -36,9 +37,10 @@ hook() {
 				msg_red "${pkgver}: File /${f} is not allowed\n"
 				error=1
 			fi
-			# Empty meta package is fine
 			;;
-		lib|bin|sbin|lib64|lib32|usr|var|opt|etc|boot|srv) ;;
+		lib|bin|sbin|lib64|lib32|usr|var|opt|etc|boot|srv)
+			emptypkg=no
+			;;
 		INSTALL|INSTALL.msg|REMOVE|REMOVE.msg|rdeps|shlib-requires|shlib-provides)
 			if [ ! -f "${PKGDESTDIR}/$f" ]; then
 				msg_red "${pkgver}: /${f} is not allowed\n"
@@ -52,6 +54,12 @@ hook() {
 		esac
 	done
 
+	# Forbid empty packages unless build_style=meta
+	if [ "$build_style" != meta -a "$emptypkg" != no ]; then
+		msg_red "${pkgver}: PKGDESTDIR is empty and build_style != meta\n"
+		error=1
+	fi
+
 	# Check that configuration files really exist.
 	for f in $(expand_destdir "${conf_files}"); do
 		if [ ! -f "${PKGDESTDIR}/${f}" ]; then
@@ -113,14 +121,6 @@ hook() {
 		fi
 	done
 
-	# Forbid empty packages unless build_style=meta
-	if [ "$build_style" != "meta" ]; then
-		if [ "$(find $PKGDESTDIR/* -maxdepth 1 -type d 2>/dev/null)" = "" ]; then
-			msg_red "${pkgver}: PKGDESTDIR is empty and build_style != meta\n"
-			error=1
-		fi
-	fi
-
 	if [ $error -gt 0 ]; then
 		msg_error "${pkgver}: cannot continue with installation!\n"
 	fi

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Updated] xbps-src: pre-pkg: allow only white-listed directories.
  2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
                   ` (13 preceding siblings ...)
  2020-05-23 11:48 ` [PR PATCH] [Updated] " sgn
@ 2020-05-23 11:56 ` sgn
  2020-05-31  2:11 ` [PR PATCH] [Merged]: " sgn
  15 siblings, 0 replies; 17+ messages in thread
From: sgn @ 2020-05-23 11:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 359 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages pkg-lint-allow-only-whitelist
https://github.com/void-linux/void-packages/pull/22035

xbps-src: pre-pkg: allow only white-listed directories.


A patch file from https://github.com/void-linux/void-packages/pull/22035.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg-lint-allow-only-whitelist-22035.patch --]
[-- Type: text/x-diff, Size: 3551 bytes --]

From 3fbc722bdcd7d226968da1e695ceeecf63c9f572 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Sat, 23 May 2020 18:55:59 +0700
Subject: [PATCH 1/2] xbps-src: pre-pkg: allow only white-listed directories.

---
 common/hooks/pre-pkg/99-pkglint.sh | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index d2c281e39db..e17c5231a14 100644
--- a/common/hooks/pre-pkg/99-pkglint.sh
+++ b/common/hooks/pre-pkg/99-pkglint.sh
@@ -21,13 +21,38 @@ hook() {
 		fi
 	done
 	
-	for f in sys dev home root run var/run tmp usr/local destdir; do
+	for f in var/run usr/local; do
 		if [ -d ${PKGDESTDIR}/${f} ]; then
 			msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
 			error=1
 		fi
 	done
 
+	for f in "$PKGDESTDIR"/*; do
+		f="${f##*/}"
+		case "$f" in
+		'*')	# The filename is exactly '*'
+			if [ -e "${PKGDESTDIR}/*" ]; then
+				msg_red "${pkgver}: File /* is not allowed\n"
+				error=1
+			fi
+			# Empty meta package is fine
+			;;
+		lib|bin|sbin|lib64|lib32|usr|var|opt|etc|boot|srv)
+			;;
+		INSTALL|INSTALL.msg|REMOVE|REMOVE.msg|rdeps|shlib-requires|shlib-provides)
+			if [ ! -f "${PKGDESTDIR}/$f" ]; then
+				msg_red "${pkgver}: /${f} is not allowed\n"
+				error=1
+			fi
+			;;
+		*)
+			msg_red "${pkgver}: /${f} directory is not allowed, remove it!\n"
+			error=1
+			;;
+		esac
+	done
+
 	# Check that configuration files really exist.
 	for f in $(expand_destdir "${conf_files}"); do
 		if [ ! -f "${PKGDESTDIR}/${f}" ]; then

From eb7ccad29ba8f9e63a03a0105604463cef5b2c63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Sat, 23 May 2020 18:56:08 +0700
Subject: [PATCH 2/2] pre-pkg: use existing info to check empty package

---
 common/hooks/pre-pkg/99-pkglint.sh | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh
index e17c5231a14..834bdb0a682 100644
--- a/common/hooks/pre-pkg/99-pkglint.sh
+++ b/common/hooks/pre-pkg/99-pkglint.sh
@@ -3,6 +3,7 @@
 hook() {
 	local error=0 filename= rev= libname= conflictPkg= conflictFile=
 	local conflictRev= ignore= found= mapshlibs=$XBPS_COMMONDIR/shlibs
+	local emptypkg=yes
 
 	set +E
 
@@ -36,9 +37,9 @@ hook() {
 				msg_red "${pkgver}: File /* is not allowed\n"
 				error=1
 			fi
-			# Empty meta package is fine
 			;;
 		lib|bin|sbin|lib64|lib32|usr|var|opt|etc|boot|srv)
+			emptypkg=no
 			;;
 		INSTALL|INSTALL.msg|REMOVE|REMOVE.msg|rdeps|shlib-requires|shlib-provides)
 			if [ ! -f "${PKGDESTDIR}/$f" ]; then
@@ -53,6 +54,12 @@ hook() {
 		esac
 	done
 
+	# Forbid empty packages unless build_style=meta
+	if [ "$build_style" != meta -a "$emptypkg" != no ]; then
+		msg_red "${pkgver}: PKGDESTDIR is empty and build_style != meta\n"
+		error=1
+	fi
+
 	# Check that configuration files really exist.
 	for f in $(expand_destdir "${conf_files}"); do
 		if [ ! -f "${PKGDESTDIR}/${f}" ]; then
@@ -114,14 +121,6 @@ hook() {
 		fi
 	done
 
-	# Forbid empty packages unless build_style=meta
-	if [ "$build_style" != "meta" ]; then
-		if [ "$(find $PKGDESTDIR/* -maxdepth 1 -type d 2>/dev/null)" = "" ]; then
-			msg_red "${pkgver}: PKGDESTDIR is empty and build_style != meta\n"
-			error=1
-		fi
-	fi
-
 	if [ $error -gt 0 ]; then
 		msg_error "${pkgver}: cannot continue with installation!\n"
 	fi

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PR PATCH] [Merged]: xbps-src: pre-pkg: allow only white-listed directories.
  2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
                   ` (14 preceding siblings ...)
  2020-05-23 11:56 ` sgn
@ 2020-05-31  2:11 ` sgn
  15 siblings, 0 replies; 17+ messages in thread
From: sgn @ 2020-05-31  2:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 189 bytes --]

There's a merged pull request on the void-packages repository

xbps-src: pre-pkg: allow only white-listed directories.
https://github.com/void-linux/void-packages/pull/22035

Description:


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-05-31  2:11 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-17 11:44 [PR PATCH] xbps-src: pre-pkg: allow only white-listed directories sgn
2020-05-17 12:08 ` [PR PATCH] [Updated] " sgn
2020-05-19 22:50 ` sgn
2020-05-19 22:56 ` Chocimier
2020-05-19 23:07 ` [PR PATCH] [Updated] " sgn
2020-05-19 23:12 ` sgn
2020-05-19 23:12 ` sgn
2020-05-19 23:15 ` jnbr
2020-05-19 23:19 ` q66
2020-05-19 23:23 ` [PR PATCH] [Updated] " sgn
2020-05-19 23:26 ` sgn
2020-05-19 23:27 ` sgn
2020-05-21 15:33 ` [PR PATCH] [Updated] " sgn
2020-05-22 17:35 ` Chocimier
2020-05-23 11:48 ` [PR PATCH] [Updated] " sgn
2020-05-23 11:56 ` sgn
2020-05-31  2:11 ` [PR PATCH] [Merged]: " sgn

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).