pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wget2: very incomplete package, link error



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Mon Sep 27 21:07:13 2021 +0200
Changeset:	44af164e46777c2769e3252a84c3f845a8782e0f

Modified Files:
	Makefile
Added Files:
	wget2/DESCR
	wget2/Makefile
	wget2/PLIST
	wget2/TODO
	wget2/distinfo
	wget2/options.mk
	wget2/patches/patch-configure

Log Message:
wget2: very incomplete package, link error

Three bug reports filed upstream.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=44af164e46777c2769e3252a84c3f845a8782e0f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                      |  4 +++
 wget2/DESCR                   |  7 ++++
 wget2/Makefile                | 33 +++++++++++++++++
 wget2/PLIST                   | 83 +++++++++++++++++++++++++++++++++++++++++++
 wget2/TODO                    |  4 +++
 wget2/distinfo                |  7 ++++
 wget2/options.mk              | 56 +++++++++++++++++++++++++++++
 wget2/patches/patch-configure | 16 +++++++++
 8 files changed, 210 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index c367de86a3..54bc2073ff 100644
--- a/Makefile
+++ b/Makefile
@@ -142,6 +142,7 @@ SUBDIR+=	am-utils
 SUBDIR+=	am-utils-git
 SUBDIR+=	amavis-logwatch
 SUBDIR+=	amfora
+SUBDIR+=	amlogic-meson-fwtools
 SUBDIR+=	amp-editor
 SUBDIR+=	analizo
 SUBDIR+=	and
@@ -1137,6 +1138,7 @@ SUBDIR+=	gl2ps
 SUBDIR+=	gleam
 SUBDIR+=	gleam-stdlib
 SUBDIR+=	glib-java
+SUBDIR+=	glib2
 SUBDIR+=	glibc
 SUBDIR+=	glide
 SUBDIR+=	glide3
@@ -5677,6 +5679,7 @@ SUBDIR+=	typespeed
 SUBDIR+=	typhoon
 SUBDIR+=	u-boot
 SUBDIR+=	u-boot-full
+SUBDIR+=	u-boot-khadas-vim3
 SUBDIR+=	u-boot-nanopi-r2s
 SUBDIR+=	u-boot-pinebook-crust
 SUBDIR+=	uTox-git
@@ -5818,6 +5821,7 @@ SUBDIR+=	weplab
 SUBDIR+=	west
 SUBDIR+=	weston
 SUBDIR+=	wezterm
+SUBDIR+=	wget2
 SUBDIR+=	wgrib2
 SUBDIR+=	whatscli
 SUBDIR+=	which
diff --git a/wget2/DESCR b/wget2/DESCR
new file mode 100644
index 0000000000..15fcdd3b65
--- /dev/null
+++ b/wget2/DESCR
@@ -0,0 +1,7 @@
+wget2 is a fresh and maintainable codebase with features like
+multithreaded downloads, HTTP2, OCSP, HSTS, Metalink, IDNA2008,
+Public Suffix List, Multi-Proxies, Sitemaps, Atom/RSS Feeds,
+compression (gzip, deflate, lzma, bzip2), support for local filenames,
+etc.  Some of these feature have been built into wget in the
+meantime, but some other are really hard to implement into the old
+codebase.
diff --git a/wget2/Makefile b/wget2/Makefile
new file mode 100644
index 0000000000..97020f99dc
--- /dev/null
+++ b/wget2/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.163 2021/09/12 09:15:10 wiz Exp $
+
+DISTNAME=	wget2-2.0.0
+CATEGORIES=	net
+MASTER_SITES=	${MASTER_SITE_GNU:=wget/}
+EXTRACT_SUFX=	.tar.lz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://gitlab.com/gnuwget/wget2
+COMMENT=	Successor to wget with more modern features
+LICENSE=	gnu-lgpl-v3
+
+#USE_TOOLS+=		perl pod2man pkg-config
+
+GNU_CONFIGURE=		YES
+#USE_PKGLOCALEDIR=	YES
+USE_TOOLS+=		msgfmt
+
+#CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
+
+#REPLACE_PERL+=		doc/texi2pod.pl
+
+#EGDIR=			${PREFIX}/share/examples/wget
+#CONF_FILES=		${EGDIR}/wgetrc ${PKG_SYSCONFDIR}/wgetrc
+#INFO_FILES=		YES
+
+#INSTALL_MAKE_FLAGS=	${MAKE_FLAGS} sysconfdir=${EGDIR}
+
+.include "options.mk"
+
+.include "../../devel/zlib/buildlink3.mk"
+#.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/wget2/PLIST b/wget2/PLIST
new file mode 100644
index 0000000000..4a3f671060
--- /dev/null
+++ b/wget2/PLIST
@@ -0,0 +1,83 @@
+@comment $NetBSD: PLIST,v 1.19 2021/09/12 09:15:10 wiz Exp $
+bin/wget
+info/wget.info
+man/man1/wget.1
+share/examples/wget/wgetrc
+share/locale/af/LC_MESSAGES/wget-gnulib.mo
+share/locale/be/LC_MESSAGES/wget-gnulib.mo
+share/locale/be/LC_MESSAGES/wget.mo
+share/locale/bg/LC_MESSAGES/wget-gnulib.mo
+share/locale/bg/LC_MESSAGES/wget.mo
+share/locale/ca/LC_MESSAGES/wget-gnulib.mo
+share/locale/ca/LC_MESSAGES/wget.mo
+share/locale/cs/LC_MESSAGES/wget-gnulib.mo
+share/locale/cs/LC_MESSAGES/wget.mo
+share/locale/da/LC_MESSAGES/wget-gnulib.mo
+share/locale/da/LC_MESSAGES/wget.mo
+share/locale/de/LC_MESSAGES/wget-gnulib.mo
+share/locale/de/LC_MESSAGES/wget.mo
+share/locale/el/LC_MESSAGES/wget-gnulib.mo
+share/locale/el/LC_MESSAGES/wget.mo
+share/locale/en_GB/LC_MESSAGES/wget.mo
+share/locale/eo/LC_MESSAGES/wget-gnulib.mo
+share/locale/eo/LC_MESSAGES/wget.mo
+share/locale/es/LC_MESSAGES/wget-gnulib.mo
+share/locale/es/LC_MESSAGES/wget.mo
+share/locale/et/LC_MESSAGES/wget-gnulib.mo
+share/locale/et/LC_MESSAGES/wget.mo
+share/locale/eu/LC_MESSAGES/wget-gnulib.mo
+share/locale/eu/LC_MESSAGES/wget.mo
+share/locale/fi/LC_MESSAGES/wget-gnulib.mo
+share/locale/fi/LC_MESSAGES/wget.mo
+share/locale/fr/LC_MESSAGES/wget-gnulib.mo
+share/locale/fr/LC_MESSAGES/wget.mo
+share/locale/ga/LC_MESSAGES/wget-gnulib.mo
+share/locale/ga/LC_MESSAGES/wget.mo
+share/locale/gl/LC_MESSAGES/wget-gnulib.mo
+share/locale/gl/LC_MESSAGES/wget.mo
+share/locale/he/LC_MESSAGES/wget.mo
+share/locale/hr/LC_MESSAGES/wget.mo
+share/locale/hu/LC_MESSAGES/wget-gnulib.mo
+share/locale/hu/LC_MESSAGES/wget.mo
+share/locale/id/LC_MESSAGES/wget.mo
+share/locale/it/LC_MESSAGES/wget-gnulib.mo
+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/LC_MESSAGES/wget.mo
+share/locale/ms/LC_MESSAGES/wget-gnulib.mo
+share/locale/nb/LC_MESSAGES/wget-gnulib.mo
+share/locale/nb/LC_MESSAGES/wget.mo
+share/locale/nl/LC_MESSAGES/wget-gnulib.mo
+share/locale/nl/LC_MESSAGES/wget.mo
+share/locale/pl/LC_MESSAGES/wget-gnulib.mo
+share/locale/pl/LC_MESSAGES/wget.mo
+share/locale/pt/LC_MESSAGES/wget-gnulib.mo
+share/locale/pt/LC_MESSAGES/wget.mo
+share/locale/pt_BR/LC_MESSAGES/wget-gnulib.mo
+share/locale/pt_BR/LC_MESSAGES/wget.mo
+share/locale/ro/LC_MESSAGES/wget-gnulib.mo
+share/locale/ro/LC_MESSAGES/wget.mo
+share/locale/ru/LC_MESSAGES/wget-gnulib.mo
+share/locale/ru/LC_MESSAGES/wget.mo
+share/locale/rw/LC_MESSAGES/wget-gnulib.mo
+share/locale/sk/LC_MESSAGES/wget-gnulib.mo
+share/locale/sk/LC_MESSAGES/wget.mo
+share/locale/sl/LC_MESSAGES/wget-gnulib.mo
+share/locale/sl/LC_MESSAGES/wget.mo
+share/locale/sr/LC_MESSAGES/wget-gnulib.mo
+share/locale/sr/LC_MESSAGES/wget.mo
+share/locale/sv/LC_MESSAGES/wget-gnulib.mo
+share/locale/sv/LC_MESSAGES/wget.mo
+share/locale/tr/LC_MESSAGES/wget-gnulib.mo
+share/locale/tr/LC_MESSAGES/wget.mo
+share/locale/uk/LC_MESSAGES/wget-gnulib.mo
+share/locale/uk/LC_MESSAGES/wget.mo
+share/locale/vi/LC_MESSAGES/wget-gnulib.mo
+share/locale/vi/LC_MESSAGES/wget.mo
+share/locale/zh_CN/LC_MESSAGES/wget-gnulib.mo
+share/locale/zh_CN/LC_MESSAGES/wget.mo
+share/locale/zh_TW/LC_MESSAGES/wget-gnulib.mo
+share/locale/zh_TW/LC_MESSAGES/wget.mo
diff --git a/wget2/TODO b/wget2/TODO
new file mode 100644
index 0000000000..7c93bab23c
--- /dev/null
+++ b/wget2/TODO
@@ -0,0 +1,4 @@
+Link failure:
+https://gitlab.com/gnuwget/wget2/-/issues/564
+Configure script improvement suggestion:
+https://gitlab.com/gnuwget/wget2/-/issues/563
diff --git a/wget2/distinfo b/wget2/distinfo
new file mode 100644
index 0000000000..85b03aa899
--- /dev/null
+++ b/wget2/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.66 2021/09/12 09:15:10 wiz Exp $
+
+SHA1 (wget2-2.0.0.tar.lz) = 06edd7eabea3c5837d79c78ef71dbadda4cf507a
+RMD160 (wget2-2.0.0.tar.lz) = d803a6dd63602e2f8e7643efc7990ff285817a97
+SHA512 (wget2-2.0.0.tar.lz) = 0e58b05cc6ddc8e9e573beacd5e493d266c58d10e13d81967d2509b73f4bee0ef88a0c09e979f223530189b2bfde593eeb68d38c4fa8702761fa2779174004b3
+Size (wget2-2.0.0.tar.lz) = 1956207 bytes
+SHA1 (patch-configure) = ea38a008e7c69c7eac84703704c8b9f641c25c78
diff --git a/wget2/options.mk b/wget2/options.mk
new file mode 100644
index 0000000000..d7a960f07d
--- /dev/null
+++ b/wget2/options.mk
@@ -0,0 +1,56 @@
+# $NetBSD: options.mk,v 1.14 2021/01/08 18:18:58 schmonz Exp $
+
+PKG_OPTIONS_VAR=		PKG_OPTIONS.wget2
+#PKG_SUPPORTED_OPTIONS=		idn inet6 psl
+PKG_OPTIONS_OPTIONAL_GROUPS=	ssl
+PKG_OPTIONS_GROUP.ssl=		gnutls openssl wolfssl
+#PKG_SUGGESTED_OPTIONS=		idn inet6 openssl psl
+PKG_SUGGESTED_OPTIONS=		openssl
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Support IDN
+###
+#.if !empty(PKG_OPTIONS:Midn)
+#.include "../../devel/libidn2/buildlink3.mk"
+#.include "../../converters/libiconv/buildlink3.mk"
+#CONFIGURE_ARGS+=	--enable-iri
+#.else
+#CONFIGURE_ARGS+=	--disable-iri
+#.endif
+
+###
+### Support IPv6
+###
+#.if !empty(PKG_OPTIONS:Minet6)
+#CONFIGURE_ARGS+=	--enable-ipv6
+#.else
+#CONFIGURE_ARGS+=	--disable-ipv6
+#.endif
+
+###
+### Support SSL
+###
+.if !empty(PKG_OPTIONS:Mgnutls)
+.  include "../../security/gnutls/buildlink3.mk"
+CONFIGURE_ARGS+=--with-ssl=gnutls
+.elif !empty(PKG_OPTIONS:Mopenssl)
+.  include "../../security/openssl/buildlink3.mk"
+CONFIGURE_ARGS+=--with-openssl
+.elif !empty(PKG_OPTIONS:Mwolfssl)
+.  include "../../security/wolfssl/buildlink3.mk"
+CONFIGURE_ARGS+=--with-ssl=wolfssl
+.else
+CONFIGURE_ARGS+=--with-ssl=no
+.endif
+
+###
+### Support Public Suffix List
+###
+#.if !empty(PKG_OPTIONS:Mpsl)
+#.  include "../../www/libpsl/buildlink3.mk"
+#CONFIGURE_ARGS+=--with-libpsl
+#.else
+#CONFIGURE_ARGS+=--without-libpsl
+#.endif
diff --git a/wget2/patches/patch-configure b/wget2/patches/patch-configure
new file mode 100644
index 0000000000..0d61a3e00b
--- /dev/null
+++ b/wget2/patches/patch-configure
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Unportable test(1) operator.
+https://gitlab.com/gnuwget/wget2/-/issues/562
+
+--- configure.orig	2021-09-12 11:37:49.000000000 +0000
++++ configure
+@@ -60016,7 +60016,7 @@ else $as_nop
+   if test "$with_ssl" != "none"
+ then :
+ 
+-    if test "$with_ssl" == "yes"
++    if test "$with_ssl" = "yes"
+ then :
+   as_fn_error $? "*** No SSL/TLS library not found." "$LINENO" 5
+ else $as_nop


Home | Main Index | Thread Index | Old Index