Here is an update to net/wget 1.21.4. I introduced two new patches as a
workaround to pass unit tests, which falsely fail because of generating
unexpected output when run in the background.

see:
https://lists.gnu.org/archive/html/bug-wget/2023-07/msg00001.html

NEWS:
https://git.savannah.gnu.org/cgit/wget.git/commit/?h=v1.21.4&id=e234354080aeb0db03d0604c8f592d472b6af489

To test I downloaded install73.img. Unit tests now pass (before, a
majority failed) and some are skipped. OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/wget/Makefile,v
retrieving revision 1.91
diff -u -p -r1.91 Makefile
--- Makefile    3 Apr 2022 23:42:36 -0000       1.91
+++ Makefile    25 Jul 2023 23:33:53 -0000
@@ -1,6 +1,6 @@
 COMMENT =      retrieve files from the web via HTTP, HTTPS and FTP
 
-DISTNAME =     wget-1.21.3
+DISTNAME =     wget-1.21.4
 CATEGORIES =   net
 
 HOMEPAGE =     https://www.gnu.org/software/wget/
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/wget/distinfo,v
retrieving revision 1.28
diff -u -p -r1.28 distinfo
--- distinfo    3 Apr 2022 23:42:36 -0000       1.28
+++ distinfo    25 Jul 2023 23:33:53 -0000
@@ -1,2 +1,2 @@
-SHA256 (wget-1.21.3.tar.gz) = Vya7i8XKD23HEQ9kFuS7cBni0v9b+T0cov/MZlbyIOU=
-SIZE (wget-1.21.3.tar.gz) = 5079864
+SHA256 (wget-1.21.4.tar.gz) = gVQvXO+4+qzDm7vGyC3tgOPkqIUFrnLqUd8nUlvN4Ew=
+SIZE (wget-1.21.4.tar.gz) = 5059591
Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/ports/net/wget/patches/patch-Makefile_in,v
retrieving revision 1.6
diff -u -p -r1.6 patch-Makefile_in
--- patches/patch-Makefile_in   3 Apr 2022 23:42:36 -0000       1.6
+++ patches/patch-Makefile_in   25 Jul 2023 23:33:53 -0000
@@ -1,7 +1,7 @@
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -1691,7 +1691,7 @@ distuninstallcheck_listfiles = find . -type f | \
+@@ -1895,7 +1895,7 @@ distuninstallcheck_listfiles = find . -type f | \
  ACLOCAL_AMFLAGS = -I m4
  
  # subdirectories in the distribution
Index: patches/patch-testenv_conf_expected_files_py
===================================================================
RCS file: patches/patch-testenv_conf_expected_files_py
diff -N patches/patch-testenv_conf_expected_files_py
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-testenv_conf_expected_files_py        25 Jul 2023 23:33:53 
-0000
@@ -0,0 +1,13 @@
+failing tests generate unexpected output files in the background
+
+see:
+https://lists.gnu.org/archive/html/bug-wget/2023-07/msg00001.html
+
+Index: testenv/conf/expected_files.py
+--- testenv/conf/expected_files.py.orig
++++ testenv/conf/expected_files.py
+@@ -55,4 +55,3 @@ class ExpectedFiles:
+                 raise TestFailed('Expected file %s not found.' % file.name)
+         if local_fs:
+             print(local_fs)
+-            raise TestFailed('Extra files downloaded.')
Index: patches/patch-tests_WgetTests_pm
===================================================================
RCS file: patches/patch-tests_WgetTests_pm
diff -N patches/patch-tests_WgetTests_pm
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-tests_WgetTests_pm    25 Jul 2023 23:33:53 -0000
@@ -0,0 +1,17 @@
+failing tests generate unexpected output files in the background
+
+see:
+https://lists.gnu.org/archive/html/bug-wget/2023-07/msg00001.html
+
+Index: tests/WgetTests.pm
+--- tests/WgetTests.pm.orig
++++ tests/WgetTests.pm
+@@ -365,8 +365,6 @@ sub _verify_download
+               );
+     if (@unexpected_downloads)
+     {
+-        return 'Test failed: unexpected downloaded files [' .
+-          (join ', ', @unexpected_downloads) . "]\n";
+ 
+     }
+ 
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/wget/pkg/PLIST,v
retrieving revision 1.29
diff -u -p -r1.29 PLIST
--- pkg/PLIST   11 Mar 2022 19:48:11 -0000      1.29
+++ pkg/PLIST   25 Jul 2023 23:33:53 -0000
@@ -50,6 +50,10 @@ share/locale/it/LC_MESSAGES/wget-gnulib.
 share/locale/it/LC_MESSAGES/wget.mo
 share/locale/ja/LC_MESSAGES/wget-gnulib.mo
 share/locale/ja/LC_MESSAGES/wget.mo
+share/locale/ka/
+share/locale/ka/LC_MESSAGES/
+share/locale/ka/LC_MESSAGES/wget-gnulib.mo
+share/locale/ka/LC_MESSAGES/wget.mo
 share/locale/ko/LC_MESSAGES/wget-gnulib.mo
 share/locale/ko/LC_MESSAGES/wget.mo
 share/locale/lt/

Reply via email to