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

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