git: 3b15f0a4e680 - main - www/wget2: security update to 2.2.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Jan 2026 14:20:28 UTC
The branch main has been updated by mandree:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3b15f0a4e6802eb7ce95c72c892a6ceceae99a20
commit 3b15f0a4e6802eb7ce95c72c892a6ceceae99a20
Author: Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2026-01-08 01:37:16 +0000
Commit: Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2026-01-17 14:19:04 +0000
www/wget2: security update to 2.2.1
---
www/wget2/Makefile | 6 ++++--
www/wget2/distinfo | 6 +++---
www/wget2/files/patch-configure.ac | 23 -----------------------
www/wget2/files/patch-tests_libtest.c | 11 +++++++++++
www/wget2/pkg-plist | 5 +++--
5 files changed, 21 insertions(+), 30 deletions(-)
diff --git a/www/wget2/Makefile b/www/wget2/Makefile
index 437de18068ce..ad8f5b8aa335 100644
--- a/www/wget2/Makefile
+++ b/www/wget2/Makefile
@@ -1,6 +1,6 @@
PORTNAME= wget2
-DISTVERSION= 2.2.0
-PORTREVISION= 1
+DISTVERSION= 2.2.1
+PORTREVISION= 0
CATEGORIES= www
MASTER_SITES= GNU/wget
@@ -110,6 +110,8 @@ BZIP2_CONFIGURE_WITH= bzip2
PROXY_DESC= Systemwide proxy configuration through libproxy
PROXY_CONFIGURE_ENABLE= libproxy
PROXY_LIB_DEPENDS= libproxy.so:net/libproxy
+PROXY_PREVENTS= IDN
+PROXY_PREVENTS_MSG= IDN self-tests break if PROXY option enabled
.include <bsd.port.pre.mk>
diff --git a/www/wget2/distinfo b/www/wget2/distinfo
index 810e863bb1fc..a0e08e17ef79 100644
--- a/www/wget2/distinfo
+++ b/www/wget2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1732543185
-SHA256 (wget2-2.2.0.tar.lz) = ffa5e49db90c9ddc0c830b66e473630c679b1b0a26a53d24981d4f0efa1c90b6
-SIZE (wget2-2.2.0.tar.lz) = 2214840
+TIMESTAMP = 1767788378
+SHA256 (wget2-2.2.1.tar.lz) = f77397cce50b60670f48cfca5867517caed93f7c07ebea76541984d5d8d5c6d1
+SIZE (wget2-2.2.1.tar.lz) = 2266029
diff --git a/www/wget2/files/patch-configure.ac b/www/wget2/files/patch-configure.ac
deleted file mode 100644
index 07e5cc33b04b..000000000000
--- a/www/wget2/files/patch-configure.ac
+++ /dev/null
@@ -1,23 +0,0 @@
---- configure.ac.orig 2024-11-24 18:15:30 UTC
-+++ configure.ac
-@@ -410,17 +410,10 @@ test "${ENABLE_XATTR}" = "yes" && AC_DEFINE([ENABLE_XA
- #
- # Gettext
- #
--m4_ifdef([AM_GNU_GETTEXT], [
-- AM_GNU_GETTEXT([external],[need-ngettext])
-- AC_CONFIG_FILES([po/Makefile.in])
-- have_po=yes
--], [
-- have_po=no
--])
--m4_ifdef([AM_GNU_GETTEXT_VERSION], [
--#do not indent here
-+AM_GNU_GETTEXT([external],[need-ngettext])
-+AC_CONFIG_FILES([po/Makefile.in])
-+have_po=yes
- AM_GNU_GETTEXT_VERSION([0.22.5])
--])
- AM_CONDITIONAL([HAVE_PO], [ test "$have_po" = "yes" ])
-
- #
diff --git a/www/wget2/files/patch-tests_libtest.c b/www/wget2/files/patch-tests_libtest.c
new file mode 100644
index 000000000000..5da29ff571b8
--- /dev/null
+++ b/www/wget2/files/patch-tests_libtest.c
@@ -0,0 +1,11 @@
+--- tests/libtest.c.orig 2025-12-29 13:41:40 UTC
++++ tests/libtest.c
+@@ -73,6 +73,8 @@ enum MHD_Result {
+ #include <sys/socket.h>
+ #include <netdb.h>
+
++#include <netinet/in.h>
++
+ #ifdef WITH_GNUTLS_IN_TESTSUITE
+ #ifdef WITH_GNUTLS_OCSP
+ # include <gnutls/ocsp.h>
diff --git a/www/wget2/pkg-plist b/www/wget2/pkg-plist
index 0835e97cfcbf..43a46a81da9b 100644
--- a/www/wget2/pkg-plist
+++ b/www/wget2/pkg-plist
@@ -4,9 +4,10 @@ include/wget.h
include/wgetver.h
lib/libwget.a
lib/libwget.so
-lib/libwget.so.3
-lib/libwget.so.3.0.0
+lib/libwget.so.4
+lib/libwget.so.4.0.0
libdata/pkgconfig/libwget.pc
+%%NLS%%share/locale/ar/LC_MESSAGES/wget2.mo
%%NLS%%share/locale/ca/LC_MESSAGES/wget2.mo
%%NLS%%share/locale/cs/LC_MESSAGES/wget2.mo
%%NLS%%share/locale/de/LC_MESSAGES/wget2.mo