pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/wget2
Module Name: pkgsrc
Committed By: ryoon
Date: Sun Oct 3 13:41:11 UTC 2021
Added Files:
pkgsrc/net/wget2: DESCR Makefile PLIST distinfo options.mk
pkgsrc/net/wget2/patches: patch-configure
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/wget2/DESCR pkgsrc/net/wget2/Makefile \
pkgsrc/net/wget2/PLIST pkgsrc/net/wget2/distinfo \
pkgsrc/net/wget2/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/net/wget2/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/net/wget2/DESCR
diff -u /dev/null pkgsrc/net/wget2/DESCR:1.1
--- /dev/null Sun Oct 3 13:41:11 2021
+++ pkgsrc/net/wget2/DESCR Sun Oct 3 13:41:11 2021
@@ -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.
Index: pkgsrc/net/wget2/Makefile
diff -u /dev/null pkgsrc/net/wget2/Makefile:1.1
--- /dev/null Sun Oct 3 13:41:11 2021
+++ pkgsrc/net/wget2/Makefile Sun Oct 3 13:41:11 2021
@@ -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"
Index: pkgsrc/net/wget2/PLIST
diff -u /dev/null pkgsrc/net/wget2/PLIST:1.1
--- /dev/null Sun Oct 3 13:41:11 2021
+++ pkgsrc/net/wget2/PLIST Sun Oct 3 13:41:11 2021
@@ -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
Index: pkgsrc/net/wget2/distinfo
diff -u /dev/null pkgsrc/net/wget2/distinfo:1.1
--- /dev/null Sun Oct 3 13:41:11 2021
+++ pkgsrc/net/wget2/distinfo Sun Oct 3 13:41:11 2021
@@ -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
Index: pkgsrc/net/wget2/options.mk
diff -u /dev/null pkgsrc/net/wget2/options.mk:1.1
--- /dev/null Sun Oct 3 13:41:11 2021
+++ pkgsrc/net/wget2/options.mk Sun Oct 3 13:41:11 2021
@@ -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
Index: pkgsrc/net/wget2/patches/patch-configure
diff -u /dev/null pkgsrc/net/wget2/patches/patch-configure:1.1
--- /dev/null Sun Oct 3 13:41:11 2021
+++ pkgsrc/net/wget2/patches/patch-configure Sun Oct 3 13:41:11 2021
@@ -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