From decb7e61f19047ea6eb2dc1402efa46e581a8a0c Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Mon, 12 Oct 2020 20:28:31 +0200 Subject: [PATCH 1/4] update.sh: Delete obsolete files from Net-DNS 1.25 Fixes Bug #12491 Signed-off-by: Matthias Fischer Signed-off-by: Michael Tremer --- config/rootfiles/core/151/update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/rootfiles/core/151/update.sh b/config/rootfiles/core/151/update.sh index 699528274..fa7e3a3bf 100644 --- a/config/rootfiles/core/151/update.sh +++ b/config/rootfiles/core/151/update.sh @@ -34,6 +34,10 @@ done # Remove files rm -rfv \ /usr/lib/perl5/site_perl/5.30.0/Locale +rm -rfv \ + /usr/lib/perl5/site_perl/5.30.0/*/Net/DNS +rm -fv \ + /usr/lib/perl5/site_perl/5.30.0/*/Net/DNS.pm # Stop services /etc/init.d/ipsec stop From a836a2787c2f6ad50c3a3058b21fc961ef497406 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 12 Oct 2020 20:07:30 +0000 Subject: [PATCH 2/4] core151: Remove multiple calls of rm Signed-off-by: Michael Tremer --- config/rootfiles/core/151/update.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/config/rootfiles/core/151/update.sh b/config/rootfiles/core/151/update.sh index fa7e3a3bf..5fb05488b 100644 --- a/config/rootfiles/core/151/update.sh +++ b/config/rootfiles/core/151/update.sh @@ -33,10 +33,8 @@ done # Remove files rm -rfv \ - /usr/lib/perl5/site_perl/5.30.0/Locale -rm -rfv \ - /usr/lib/perl5/site_perl/5.30.0/*/Net/DNS -rm -fv \ + /usr/lib/perl5/site_perl/5.30.0/Locale \ + /usr/lib/perl5/site_perl/5.30.0/*/Net/DNS \ /usr/lib/perl5/site_perl/5.30.0/*/Net/DNS.pm # Stop services From e706f87eedf75f786530815fe149b2b8dca070c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20M=C3=BCller?= Date: Fri, 9 Oct 2020 19:20:32 +0000 Subject: [PATCH 3/4] tor.cgi: fix calling Perl location module functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The second version of this patch avoids re-defining $db_handle. Fixes: #12492 Cc: Stefan Schantl Acked-By: Stefan Schantl Signed-off-by: Michael Tremer --- html/cgi-bin/tor.cgi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/html/cgi-bin/tor.cgi b/html/cgi-bin/tor.cgi index 28dec6cf0..7447bd791 100644 --- a/html/cgi-bin/tor.cgi +++ b/html/cgi-bin/tor.cgi @@ -322,14 +322,13 @@ END