From ebe7dca1c0d0422ac38f4689ae13a2f8af847b20 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Sat, 25 Jan 2020 22:18:04 +0000 Subject: allow-*.local customizations (#3187) * local customizations for allow-common-devel.inc * local customizations for allow-java.inc * local customizations for allow-lua.inc * local customizations for allow-perl.inc * local customizations for allow-python2.inc * local customizations for allow-python3.inc * local customizations for allow-ruby.inc --- etc/allow-common-devel.inc | 16 ++++++++++------ etc/allow-java.inc | 7 +++++-- etc/allow-lua.inc | 4 ++++ etc/allow-perl.inc | 6 +++++- etc/allow-python2.inc | 4 ++++ etc/allow-python3.inc | 4 ++++ etc/allow-ruby.inc | 4 ++++ 7 files changed, 36 insertions(+), 9 deletions(-) diff --git a/etc/allow-common-devel.inc b/etc/allow-common-devel.inc index 1d794462c..63174eda6 100644 --- a/etc/allow-common-devel.inc +++ b/etc/allow-common-devel.inc @@ -1,17 +1,21 @@ -# Rust -noblacklist ${HOME}/.cargo/config -noblacklist ${HOME}/.cargo/registry +# This file is overwritten during software install. +# Persistent customizations should go in a .local file. +include allow-common-devel.local # Git noblacklist ${HOME}/.config/git noblacklist ${HOME}/.gitconfig noblacklist ${HOME}/.git-credentials +# Java +noblacklist ${HOME}/.gradle +noblacklist ${HOME}/.java + # Python noblacklist ${HOME}/.python-history noblacklist ${HOME}/.python_history noblacklist ${HOME}/.pythonhist -# Java -noblacklist ${HOME}/.gradle -noblacklist ${HOME}/.java +# Rust +noblacklist ${HOME}/.cargo/config +noblacklist ${HOME}/.cargo/registry diff --git a/etc/allow-java.inc b/etc/allow-java.inc index 5204d2dea..24d18fb77 100644 --- a/etc/allow-java.inc +++ b/etc/allow-java.inc @@ -1,6 +1,9 @@ -noblacklist ${HOME}/.java +# This file is overwritten during software install. +# Persistent customizations should go in a .local file. +include allow-java.local +noblacklist ${HOME}/.java noblacklist ${PATH}/java -noblacklist /usr/lib/java noblacklist /etc/java +noblacklist /usr/lib/java noblacklist /usr/share/java diff --git a/etc/allow-lua.inc b/etc/allow-lua.inc index 51d76f9b1..fbdee22ee 100644 --- a/etc/allow-lua.inc +++ b/etc/allow-lua.inc @@ -1,3 +1,7 @@ +# This file is overwritten during software install. +# Persistent customizations should go in a .local file. +include allow-lua.local + noblacklist ${PATH}/lua* noblacklist /usr/include/lua* noblacklist /usr/lib/lua diff --git a/etc/allow-perl.inc b/etc/allow-perl.inc index d37328936..f44e1e3cc 100644 --- a/etc/allow-perl.inc +++ b/etc/allow-perl.inc @@ -1,5 +1,9 @@ -noblacklist ${PATH}/cpan* +# This file is overwritten during software install. +# Persistent customizations should go in a .local file. +include allow-perl.local + noblacklist ${PATH}/core_perl +noblacklist ${PATH}/cpan* noblacklist ${PATH}/perl noblacklist ${PATH}/site_perl noblacklist ${PATH}/vendor_perl diff --git a/etc/allow-python2.inc b/etc/allow-python2.inc index 8ea61648b..b0525e2e1 100644 --- a/etc/allow-python2.inc +++ b/etc/allow-python2.inc @@ -1,3 +1,7 @@ +# This file is overwritten during software install. +# Persistent customizations should go in a .local file. +include allow-python2.local + noblacklist ${PATH}/python2* noblacklist /usr/include/python2* noblacklist /usr/lib/python2* diff --git a/etc/allow-python3.inc b/etc/allow-python3.inc index 4f7c76d0a..d968886b0 100644 --- a/etc/allow-python3.inc +++ b/etc/allow-python3.inc @@ -1,3 +1,7 @@ +# This file is overwritten during software install. +# Persistent customizations should go in a .local file. +include allow-python3.local + noblacklist ${PATH}/python3* noblacklist /usr/include/python3* noblacklist /usr/lib/python3* diff --git a/etc/allow-ruby.inc b/etc/allow-ruby.inc index 3165a981a..a8c701219 100644 --- a/etc/allow-ruby.inc +++ b/etc/allow-ruby.inc @@ -1,2 +1,6 @@ +# This file is overwritten during software install. +# Persistent customizations should go in a .local file. +include allow-ruby.local + noblacklist ${PATH}/ruby noblacklist /usr/lib/ruby -- cgit v1.2.3-54-g00ecf