From aa913c6c49e54e0aaa06ad3a27e942a3911be4e3 Mon Sep 17 00:00:00 2001 From: altffour Date: Fri, 15 Jan 2021 11:38:24 +0300 Subject: [PATCH 1/3] newsboat: add lynx support --- etc/profile-m-z/newsboat.profile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/profile-m-z/newsboat.profile b/etc/profile-m-z/newsboat.profile index a7bac6286ff..425409f0f43 100644 --- a/etc/profile-m-z/newsboat.profile +++ b/etc/profile-m-z/newsboat.profile @@ -8,6 +8,10 @@ include globals.local noblacklist ${HOME}/.newsboat +# Lynx Support +private-bin sh,gzip,lynx +private-etc lynx,sh,gzip,lynx.cfg,lynx.lss + include disable-common.inc include disable-devel.inc include disable-exec.inc From bfec8bd91fef99ce3bdf62647381d0ced59c82cf Mon Sep 17 00:00:00 2001 From: altffour Date: Fri, 15 Jan 2021 11:44:04 +0300 Subject: [PATCH 2/3] newsboat: fix using sort.py --- etc/profile-m-z/newsboat.profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/profile-m-z/newsboat.profile b/etc/profile-m-z/newsboat.profile index 425409f0f43..496498f15d1 100644 --- a/etc/profile-m-z/newsboat.profile +++ b/etc/profile-m-z/newsboat.profile @@ -9,8 +9,8 @@ include globals.local noblacklist ${HOME}/.newsboat # Lynx Support -private-bin sh,gzip,lynx -private-etc lynx,sh,gzip,lynx.cfg,lynx.lss +private-bin gzip,lynx,sh +private-etc gzip,lynx,lynx.cfg,lynx.lss,sh include disable-common.inc include disable-devel.inc From df51b3ec2fb0fbec0c23681c4eb8bd0633c9aefb Mon Sep 17 00:00:00 2001 From: altffour Date: Fri, 15 Jan 2021 22:34:26 +0300 Subject: [PATCH 3/3] newsboat: remove unneeded perms --- etc/profile-m-z/newsboat.profile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/etc/profile-m-z/newsboat.profile b/etc/profile-m-z/newsboat.profile index 496498f15d1..85b780ced0c 100644 --- a/etc/profile-m-z/newsboat.profile +++ b/etc/profile-m-z/newsboat.profile @@ -8,10 +8,6 @@ include globals.local noblacklist ${HOME}/.newsboat -# Lynx Support -private-bin gzip,lynx,sh -private-etc gzip,lynx,lynx.cfg,lynx.lss,sh - include disable-common.inc include disable-devel.inc include disable-exec.inc @@ -42,10 +38,10 @@ seccomp shell none disable-mnt -private-bin newsboat +private-bin gzip,lynx,newsboat,sh private-cache private-dev -private-etc alternatives,ca-certificates,crypto-policies,pki,resolv.conf,ssl,terminfo +private-etc alternatives,ca-certificates,crypto-policies,lynx.cfg,lynx.lss,pki,resolv.conf,ssl,terminfo private-tmp dbus-user none