update to wget-1.21.2

Release notes:
https://lists.gnu.org/archive/html/info-gnu/2021-09/msg00003.html

"Release tarballs no longer have a dependency on Python."

This update:
- Updates to 1.21.2
- Removes python3 hack and requires python3 at build time instead.
  MODPY_RUN_DEPENDS is in TEST_DEPENDS (as before) and BUILD_DEPENDS
  (via removal of MODPY_BUILDDEP = No).

Python3 is readily available when building ports. Release notes state
that python3 is no longer needed at build time. Without python3, it
will fail configure and will not run python regression tests in
testenv/.

submitted by tj@ with tweaks by me to reintroduce python3 as a build
dependency
feedback from and OK sthen@
This commit is contained in:
namn 2021-09-11 22:48:21 +00:00
parent f564626a58
commit ee1184f048
4 changed files with 8 additions and 11 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.88 2021/08/10 13:42:34 kmos Exp $
# $OpenBSD: Makefile,v 1.89 2021/09/11 22:48:21 namn Exp $
COMMENT = retrieve files from the web via HTTP, HTTPS and FTP
DISTNAME = wget-1.21.1
DISTNAME = wget-1.21.2
CATEGORIES = net
HOMEPAGE = https://www.gnu.org/software/wget/
@ -25,7 +25,6 @@ MASTER_SITES = ${MASTER_SITE_GNU:=wget/}
# some regression tests require python3
MODULES += lang/python
MODPY_BUILDDEP = No
MODPY_RUNDEP = No
TEST_DEPENDS = www/p5-HTTP-Daemon ${MODPY_RUN_DEPENDS}
@ -36,9 +35,6 @@ FAKE_FLAGS = sysconfdir="${PREFIX}/share/examples/wget"
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --with-ssl=openssl
# hack to avoid depending on python3 at build time
CONFIGURE_ARGS += PYTHON="" \
am_cv_pathless_PYTHON="${MODPY_BIN}"
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/build-aux

View File

@ -1,2 +1,2 @@
SHA256 (wget-1.21.1.tar.gz) = WboL2t6a0TXtpYGuTlmnqfJeOkvealQZYysxkGEg4m4=
SIZE (wget-1.21.1.tar.gz) = 4884887
SHA256 (wget-1.21.2.tar.gz) = 5tTHa+gsZ23X6MYaKbKshRCuEIqBC10dGPyaHSyaJJc=
SIZE (wget-1.21.2.tar.gz) = 5004576

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-Makefile_in,v 1.3 2021/06/27 23:49:58 namn Exp $
$OpenBSD: patch-Makefile_in,v 1.4 2021/09/11 22:48:22 namn Exp $
Index: Makefile.in
--- Makefile.in.orig
+++ Makefile.in
@@ -1644,7 +1644,7 @@ distuninstallcheck_listfiles = find . -type f | \
@@ -1669,7 +1669,7 @@ distuninstallcheck_listfiles = find . -type f | \
ACLOCAL_AMFLAGS = -I m4
# subdirectories in the distribution

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.27 2021/06/27 23:49:58 namn Exp $
@comment $OpenBSD: PLIST,v 1.28 2021/09/11 22:48:22 namn Exp $
@bin bin/wget
@info info/wget.info
@comment lib/charset.alias
@ -52,6 +52,7 @@ share/locale/it/LC_MESSAGES/wget.mo
share/locale/ja/LC_MESSAGES/wget-gnulib.mo
share/locale/ja/LC_MESSAGES/wget.mo
share/locale/ko/LC_MESSAGES/wget-gnulib.mo
share/locale/ko/LC_MESSAGES/wget.mo
share/locale/lt/
share/locale/lt/LC_MESSAGES/
share/locale/lt/LC_MESSAGES/wget.mo