Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-grako: fix permissions
@ 2020-09-27 14:29 pbui
  2020-09-27 14:33 ` ericonr
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: pbui @ 2020-09-27 14:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pbui/void-packages python3-grako
https://github.com/void-linux/void-packages/pull/25131

python3-grako: fix permissions
@sgn 

chmod +r files in Python3 site-packages to make them world/other
readable.

Currently the files are installed with the following permissions:

```
ll /usr/lib/python3.8/site-packages/grako-3.99.9-py3.8.egg-info/
total 36K
-rw-r----- 1 root root  11K Sep 27 00:09 PKG-INFO
-rw-r----- 1 root root 3.1K Sep 27 00:09 SOURCES.txt
-rw-r----- 1 root root    1 Sep 27 00:09 dependency_links.txt
-rw-r----- 1 root root   38 Sep 27 00:09 entry_points.txt
-rw-r----- 1 root root    1 Sep 27 00:09 not-zip-safe
-rw-r----- 1 root root   22 Sep 27 00:09 requires.txt
-rw-r----- 1 root root    6 Sep 27 00:09 top_level.txt
```

This prevents programs such as `qutebrowser` from running.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-grako-25131.patch --]
[-- Type: text/x-diff, Size: 939 bytes --]

From 28d9e45bc11bc34fdf20d1b563420763dae04bcf Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Sun, 27 Sep 2020 10:24:07 -0400
Subject: [PATCH] python3-grako: fix permissions

chmod +r files in Python3 site-packages to make them world/other
readable.
---
 srcpkgs/python3-grako/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/python3-grako/template b/srcpkgs/python3-grako/template
index f3e1258003c..cace671dc2a 100644
--- a/srcpkgs/python3-grako/template
+++ b/srcpkgs/python3-grako/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-grako'
 pkgname=python3-grako
 version=3.99.9
-revision=5
+revision=6
 wrksrc="grako-$version"
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-Cython"
@@ -19,5 +19,6 @@ pre_build() {
 	sed -i '/setup_requires=/d' setup.py
 }
 post_install() {
+	chmod -R +r "${DESTDIR}/${py3_sitelib}"
 	vlicense LICENSE.txt
 }

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

* Re: python3-grako: fix permissions
  2020-09-27 14:29 [PR PATCH] python3-grako: fix permissions pbui
@ 2020-09-27 14:33 ` ericonr
  2020-09-27 14:44 ` [PR PATCH] [Updated] " pbui
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2020-09-27 14:33 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/25131#issuecomment-699642966

Comment:
Can you put a `#TODO` comment to find out why this is happening?

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

* Re: [PR PATCH] [Updated] python3-grako: fix permissions
  2020-09-27 14:29 [PR PATCH] python3-grako: fix permissions pbui
  2020-09-27 14:33 ` ericonr
@ 2020-09-27 14:44 ` pbui
  2020-09-27 14:45 ` pbui
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pbui @ 2020-09-27 14:44 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pbui/void-packages python3-grako
https://github.com/void-linux/void-packages/pull/25131

python3-grako: fix permissions
@sgn 

chmod +r files in Python3 site-packages to make them world/other
readable.

Currently the files are installed with the following permissions:

```
ll /usr/lib/python3.8/site-packages/grako-3.99.9-py3.8.egg-info/
total 36K
-rw-r----- 1 root root  11K Sep 27 00:09 PKG-INFO
-rw-r----- 1 root root 3.1K Sep 27 00:09 SOURCES.txt
-rw-r----- 1 root root    1 Sep 27 00:09 dependency_links.txt
-rw-r----- 1 root root   38 Sep 27 00:09 entry_points.txt
-rw-r----- 1 root root    1 Sep 27 00:09 not-zip-safe
-rw-r----- 1 root root   22 Sep 27 00:09 requires.txt
-rw-r----- 1 root root    6 Sep 27 00:09 top_level.txt
```

This prevents programs such as `qutebrowser` from running.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-grako-25131.patch --]
[-- Type: text/x-diff, Size: 1008 bytes --]

From 20322806a74e047e99768c938403305493371b1e Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Sun, 27 Sep 2020 10:24:07 -0400
Subject: [PATCH] python3-grako: fix permissions

chmod +r files in Python3 site-packages to make them world/other
readable.
---
 srcpkgs/python3-grako/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/python3-grako/template b/srcpkgs/python3-grako/template
index f3e1258003c..23fe41f35f3 100644
--- a/srcpkgs/python3-grako/template
+++ b/srcpkgs/python3-grako/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-grako'
 pkgname=python3-grako
 version=3.99.9
-revision=5
+revision=6
 wrksrc="grako-$version"
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-Cython"
@@ -19,5 +19,7 @@ pre_build() {
 	sed -i '/setup_requires=/d' setup.py
 }
 post_install() {
+	# TODO: Find out why we need to change these permissions manually
+	chmod -R +r "${DESTDIR}/${py3_sitelib}"
 	vlicense LICENSE.txt
 }

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

* Re: python3-grako: fix permissions
  2020-09-27 14:29 [PR PATCH] python3-grako: fix permissions pbui
  2020-09-27 14:33 ` ericonr
  2020-09-27 14:44 ` [PR PATCH] [Updated] " pbui
@ 2020-09-27 14:45 ` pbui
  2020-09-27 16:37 ` ericonr
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pbui @ 2020-09-27 14:45 UTC (permalink / raw)
  To: ml

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

New comment by pbui on void-packages repository

https://github.com/void-linux/void-packages/pull/25131#issuecomment-699644369

Comment:
@ericonr Done.

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

* Re: python3-grako: fix permissions
  2020-09-27 14:29 [PR PATCH] python3-grako: fix permissions pbui
                   ` (2 preceding siblings ...)
  2020-09-27 14:45 ` pbui
@ 2020-09-27 16:37 ` ericonr
  2020-09-27 16:42 ` [PR PATCH] [Merged]: " ericonr
  2020-09-28 12:08 ` sgn
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2020-09-27 16:37 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/25131#issuecomment-699657698

Comment:
Thanks!

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

* Re: [PR PATCH] [Merged]: python3-grako: fix permissions
  2020-09-27 14:29 [PR PATCH] python3-grako: fix permissions pbui
                   ` (3 preceding siblings ...)
  2020-09-27 16:37 ` ericonr
@ 2020-09-27 16:42 ` ericonr
  2020-09-28 12:08 ` sgn
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2020-09-27 16:42 UTC (permalink / raw)
  To: ml

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

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

python3-grako: fix permissions
https://github.com/void-linux/void-packages/pull/25131

Description:
@sgn 

chmod +r files in Python3 site-packages to make them world/other
readable.

Currently the files are installed with the following permissions:

```
ll /usr/lib/python3.8/site-packages/grako-3.99.9-py3.8.egg-info/
total 36K
-rw-r----- 1 root root  11K Sep 27 00:09 PKG-INFO
-rw-r----- 1 root root 3.1K Sep 27 00:09 SOURCES.txt
-rw-r----- 1 root root    1 Sep 27 00:09 dependency_links.txt
-rw-r----- 1 root root   38 Sep 27 00:09 entry_points.txt
-rw-r----- 1 root root    1 Sep 27 00:09 not-zip-safe
-rw-r----- 1 root root   22 Sep 27 00:09 requires.txt
-rw-r----- 1 root root    6 Sep 27 00:09 top_level.txt
```

This prevents programs such as `qutebrowser` from running.

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

* Re: python3-grako: fix permissions
  2020-09-27 14:29 [PR PATCH] python3-grako: fix permissions pbui
                   ` (4 preceding siblings ...)
  2020-09-27 16:42 ` [PR PATCH] [Merged]: " ericonr
@ 2020-09-28 12:08 ` sgn
  5 siblings, 0 replies; 7+ messages in thread
From: sgn @ 2020-09-28 12:08 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/25131#issuecomment-699966282

Comment:
Sorry, I messed up, was about to push  a fix for other things but end up including that change.

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

end of thread, other threads:[~2020-09-28 12:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-27 14:29 [PR PATCH] python3-grako: fix permissions pbui
2020-09-27 14:33 ` ericonr
2020-09-27 14:44 ` [PR PATCH] [Updated] " pbui
2020-09-27 14:45 ` pbui
2020-09-27 16:37 ` ericonr
2020-09-27 16:42 ` [PR PATCH] [Merged]: " ericonr
2020-09-28 12:08 ` 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).