pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/wget2 net/wget2: import wget2-2.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cbd5b44c5d64
branches:  trunk
changeset: 459316:cbd5b44c5d64
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Oct 03 13:41:11 2021 +0000

description:
net/wget2: import wget2-2.0.0

GNU Wget2 is the successor of GNU Wget, a file and recursive website
downloader. Designed and written from scratch it wraps around
libwget, that provides the basic functions needed by a web client.
Wget2 works multi-threaded and uses many features to allow fast
operation.

diffstat:

 net/wget2/DESCR                   |   5 +++
 net/wget2/Makefile                |  32 +++++++++++++++++++
 net/wget2/PLIST                   |  56 ++++++++++++++++++++++++++++++++++
 net/wget2/distinfo                |   7 ++++
 net/wget2/options.mk              |  64 +++++++++++++++++++++++++++++++++++++++
 net/wget2/patches/patch-configure |  15 +++++++++
 6 files changed, 179 insertions(+), 0 deletions(-)

diffs (203 lines):

diff -r 8bcfb1792f72 -r cbd5b44c5d64 net/wget2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wget2/DESCR   Sun Oct 03 13:41:11 2021 +0000
@@ -0,0 +1,5 @@
+GNU Wget2 is the successor of GNU Wget, a file and recursive website
+downloader. Designed and written from scratch it wraps around
+libwget, that provides the basic functions needed by a web client.
+Wget2 works multi-threaded and uses many features to allow fast
+operation.
diff -r 8bcfb1792f72 -r cbd5b44c5d64 net/wget2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wget2/Makefile        Sun Oct 03 13:41:11 2021 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2021/10/03 13:41:11 ryoon Exp $
+
+DISTNAME=      wget2-2.0.0
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_GNU:=wget/}
+EXTRACT_SUFX=  .tar.lz
+
+MAINTAINER=    ryoon%NetBSD.org@localhost
+HOMEPAGE=      https://www.gnu.org/software/wget/
+COMMENT=       Retrieving files using HTTP, HTTPS, FTP and FTPS
+LICENSE=       gnu-gpl-v3 AND gnu-lgpl-v3
+
+GNU_CONFIGURE=         yes
+USE_LIBTOOL=           yes
+USE_TOOLS+=            gmake pkg-config
+USE_PKGLOCALEDIR=      yes
+
+CONFIGURE_ARGS+=       --disable-doc # Needs pandoc
+
+PKGCONFIG_OVERRIDE+=   libwget.pc.in
+
+.include "options.mk"
+
+post-install:
+       ${RM} -f ${DESTDIR}${PREFIX}/bin/wget2_noinstall
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../archivers/xz/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/pcre2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8bcfb1792f72 -r cbd5b44c5d64 net/wget2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wget2/PLIST   Sun Oct 03 13:41:11 2021 +0000
@@ -0,0 +1,56 @@
+@comment $NetBSD: PLIST,v 1.1 2021/10/03 13:41:11 ryoon Exp $
+bin/wget2
+include/wget.h
+include/wgetver.h
+lib/libwget.la
+lib/libwget_alloc.la
+lib/libwget_common.la
+lib/libwget_css.la
+lib/libwget_decompress.la
+lib/libwget_dns.la
+lib/libwget_dnscache.la
+lib/libwget_encoding.la
+lib/libwget_hashfile.la
+lib/libwget_hpkp_db.la
+lib/libwget_hsts.la
+lib/libwget_http_parse.la
+lib/libwget_io.la
+lib/libwget_ip.la
+lib/libwget_iri.la
+lib/libwget_logger.la
+lib/libwget_metalink.la
+lib/libwget_netrc.la
+lib/libwget_ocsp.la
+lib/libwget_progress.la
+lib/libwget_robots.la
+lib/libwget_thread.la
+lib/libwget_tls_session.la
+lib/libwget_xml.la
+lib/pkgconfig/libwget.pc
+share/locale/ca/LC_MESSAGES/wget2.mo
+share/locale/cs/LC_MESSAGES/wget2.mo
+share/locale/de/LC_MESSAGES/wget2.mo
+share/locale/eo/LC_MESSAGES/wget2.mo
+share/locale/es/LC_MESSAGES/wget2.mo
+share/locale/et/LC_MESSAGES/wget2.mo
+share/locale/fi/LC_MESSAGES/wget2.mo
+share/locale/fr/LC_MESSAGES/wget2.mo
+share/locale/ga/LC_MESSAGES/wget2.mo
+share/locale/hr/LC_MESSAGES/wget2.mo
+share/locale/hu/LC_MESSAGES/wget2.mo
+share/locale/id/LC_MESSAGES/wget2.mo
+share/locale/it/LC_MESSAGES/wget2.mo
+share/locale/ja/LC_MESSAGES/wget2.mo
+share/locale/nb/LC_MESSAGES/wget2.mo
+share/locale/nl/LC_MESSAGES/wget2.mo
+share/locale/pl/LC_MESSAGES/wget2.mo
+share/locale/pt_BR/LC_MESSAGES/wget2.mo
+share/locale/ro/LC_MESSAGES/wget2.mo
+share/locale/ru/LC_MESSAGES/wget2.mo
+share/locale/sk/LC_MESSAGES/wget2.mo
+share/locale/sr/LC_MESSAGES/wget2.mo
+share/locale/sv/LC_MESSAGES/wget2.mo
+share/locale/tr/LC_MESSAGES/wget2.mo
+share/locale/uk/LC_MESSAGES/wget2.mo
+share/locale/vi/LC_MESSAGES/wget2.mo
+share/locale/zh_CN/LC_MESSAGES/wget2.mo
diff -r 8bcfb1792f72 -r cbd5b44c5d64 net/wget2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wget2/distinfo        Sun Oct 03 13:41:11 2021 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/10/03 13:41:11 ryoon 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) = 8ab41d49dca4b508081d5465fbfafe6f2087558b
diff -r 8bcfb1792f72 -r cbd5b44c5d64 net/wget2/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wget2/options.mk      Sun Oct 03 13:41:11 2021 +0000
@@ -0,0 +1,64 @@
+# $NetBSD: options.mk,v 1.1 2021/10/03 13:41:11 ryoon Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.wget2
+PKG_SUPPORTED_OPTIONS=         gpgme http2 idn psl
+PKG_OPTIONS_OPTIONAL_GROUPS=   ssl
+PKG_OPTIONS_GROUP.ssl=         gnutls openssl
+PKG_SUGGESTED_OPTIONS=         http2 idn openssl psl
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Support IDN
+###
+.if !empty(PKG_OPTIONS:Midn)
+.include "../../devel/libidn2/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-libidn2
+.else
+CONFIGURE_ARGS+=       --without-libidn2
+.endif
+
+###
+### Support SSL
+### Current configuration of security/wolfssl is not compatible.
+###
+.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-ssl=openssl
+.else
+CONFIGURE_ARGS+=--with-ssl=no
+.endif
+
+###
+### Support signature verification with gpgme
+###
+.if !empty(PKG_OPTIONS:Mgpgme)
+.  include "../../security/gpgme/buildlink3.mk"
+CONFIGURE_ARGS+=--with-gpgme
+.else
+CONFIGURE_ARGS+=--without-gpgme
+.endif
+
+###
+### Support HTTP/2
+###
+.if !empty(PKG_OPTIONS:Mhttp2)
+.  include "../../www/nghttp2/buildlink3.mk"
+CONFIGURE_ARGS+=--with-libnghttp2
+.else
+CONFIGURE_ARGS+=--without-libnghttp2
+.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 -r 8bcfb1792f72 -r cbd5b44c5d64 net/wget2/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/wget2/patches/patch-configure Sun Oct 03 13:41:11 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2021/10/03 13:41:11 ryoon Exp $
+
+* Improve POSIX shell compatibility.
+
+--- 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