From 29e33bd47b49478d0f1b85c7a339344e14dd1ef0 Mon Sep 17 00:00:00 2001 From: Ken Gaillot Date: Fri, 20 Sep 2024 11:02:21 -0500 Subject: [PATCH 1/2] update Fedora install instructions in README.md I can confirm they work on Fedora 40 with the addition of one dependency. --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 869c125..100e384 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,11 @@ libmail-mbox-messageparser-perl libwww-perl unzip - For PostgreSQL: `libdbd-pg-perl` - For Oauth2: `liblwp-protocol-https-perl libencode-perl libtime-piece-mysql-perl` -## on Fedora (Fedora 23) +## on Fedora (Fedora 40) ``` -sudo dnf install perl-File-MimeInfo perl-Mail-IMAPClient perl-MIME-tools perl-XML-Simple perl-DBI \ +sudo dnf install perl-File-MimeInfo perl-Mail-IMAPClient \ +perl-Mail-Mbox-MessageParser perl-MIME-tools perl-XML-Simple perl-DBI \ perl-Socket6 perl-PerlIO-gzip perl-libwww-perl unzip ``` @@ -263,4 +264,4 @@ Thanks to [all who contributed](https://github.com/userjack6880/Open-Report-Pars # Licenses and Copyrights -Copyright © 2023 John Bradley (userjack6880), Copyright © 2016 TechSneeze.com, Copyright © 2012 John Bieling. Open Report Parser is released under GNU GPLv3. See `LICENSE`. \ No newline at end of file +Copyright © 2023 John Bradley (userjack6880), Copyright © 2016 TechSneeze.com, Copyright © 2012 John Bieling. Open Report Parser is released under GNU GPLv3. See `LICENSE`. From dd386a1c9a5f5e2e8f3cb32669feae171f4f14f1 Mon Sep 17 00:00:00 2001 From: Ken Gaillot Date: Fri, 20 Sep 2024 11:09:04 -0500 Subject: [PATCH 2/2] avoid use of undefined variable in error message --- report-parser.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/report-parser.pl b/report-parser.pl index a6049a3..689d58c 100755 --- a/report-parser.pl +++ b/report-parser.pl @@ -950,7 +950,7 @@ sub getXMLFromZip { } } else { - warn "$scriptname: Could not find an <$filename>! \n"; + warn "$scriptname: No ZIP file name specified! \n"; } return $xml; @@ -1830,4 +1830,4 @@ sub db_column_info { $columns{$column} = $db_info->{$column}{$dbx{column_info_type_col}}; } return %columns; -} \ No newline at end of file +}