summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreeve Jelbert2019-09-06 17:17:33 +0200
committerTreeve Jelbert2019-09-06 17:17:33 +0200
commitd15beddd5830215a0e9558e1b4f98ce0c3c4ea12 (patch)
tree83f6e542059e396d53b610cf83c34df1b43dfd06
parentaac7a041941676908b11306578c6481503015653 (diff)
wget2-1.99.2
-rw-r--r--ChangeLog3
-rwxr-xr-xftp/wget2/BUILD3
-rwxr-xr-xftp/wget2/CONFIGURE4
-rwxr-xr-xftp/wget2/DEPENDS77
-rwxr-xr-xftp/wget2/DETAILS19
-rw-r--r--ftp/wget2/HISTORY3
-rwxr-xr-xftp/wget2/PROVIDES1
7 files changed, 110 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9adbfa3314..0a1668554f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2019-09-06 Treeve Jelbert <treeve@sourcemage.org>
+ *ftp/wget2: added, fast downloader
+
2019-09-01 Treeve Jelbert <treeve@sourcemage.org>
* kde.gpg: update Andrius Štikonas
diff --git a/ftp/wget2/BUILD b/ftp/wget2/BUILD
new file mode 100755
index 0000000000..4a827e8d1c
--- /dev/null
+++ b/ftp/wget2/BUILD
@@ -0,0 +1,3 @@
+OPTS+=' --disable-static' &&
+[[ $WGET_SSL == "none" ]] && OPTS+=" --without-ssl"
+default_build
diff --git a/ftp/wget2/CONFIGURE b/ftp/wget2/CONFIGURE
new file mode 100755
index 0000000000..27cfed4d46
--- /dev/null
+++ b/ftp/wget2/CONFIGURE
@@ -0,0 +1,4 @@
+config_query_list WGET_SSL "Which SSL backend do you want for https and ftps?" none gnutls SSL &&
+
+#config_query_option WGET_OPTS "Enable IPv6 support?" y \
+# "--enable-ipv6" "--disable-ipv6"
diff --git a/ftp/wget2/DEPENDS b/ftp/wget2/DEPENDS
new file mode 100755
index 0000000000..454e2a4ae1
--- /dev/null
+++ b/ftp/wget2/DEPENDS
@@ -0,0 +1,77 @@
+depends smgl-fhs &&
+
+optional_depends pcre2 \
+ "--with-libpcre2" \
+ "--without-libpcre2" \
+ "for PCRE2 regular expressions" &&
+
+optional_depends pcre \
+ "--with-libpcre" \
+ "--without-libpcre" \
+ "for Perl-style regular expressions" &&
+
+optional_depends libidn2 \
+ "--with-libidn2" \
+ "--without-libidn2" \
+ "for IDN2 support" &&
+
+optional_depends libidn \
+ "--with-libidn" \
+ "--without-libidn" \
+ "for IDN support" &&
+
+optional_depends "GETTEXT" \
+ "--enable-nls" \
+ "--disable-nls" \
+ "for i18n support" &&
+
+optional_depends libpsl \
+ '--with-libpsl' \
+ '--without-libpsl' \
+ 'for PSL cookie checking' &&
+
+optional_depends zlib \
+ '--with-zlib' \
+ '--without-zlib' \
+ 'gzip compression support' &&
+
+optional_depends xz-utils \
+ '--with-lzma' \
+ '--without-lzma' \
+ 'LZMA compression support' &&
+
+optional_depends bzip2 \
+ '--with-bzip2' \
+ '--without-bzip2' \
+ 'bzip2 compression support' &&
+
+optional_depends brotli \
+ '--with-brotlidec' \
+ '--without-brotlidec' \
+ 'Brotli compression support' &&
+
+optional_depends zstd \
+ '--with-zstd' \
+ '--without-zstd' \
+ 'Zstandard compression support' &&
+
+optional_depends gpgme \
+ '--with-gpgme' \
+ '--without-gpgme' \
+ 'GPGME support' &&
+
+optional_depends nghttp2 \
+ '--without-libnghttp2' \
+ '--without-libnghttp2' \
+ 'HTTP2 support' &&
+
+case $WGET_SSL in
+ none)
+ ;;
+ gnutls) depends gnutls "--with-ssl=gnutls"
+ ;;
+ SSL)
+ depends SSL "--with-ssl=openssl" &&
+ optional_depends ca-certificates '' '' 'provides security certificates'
+ ;;
+esac
diff --git a/ftp/wget2/DETAILS b/ftp/wget2/DETAILS
new file mode 100755
index 0000000000..61d3caa5c7
--- /dev/null
+++ b/ftp/wget2/DETAILS
@@ -0,0 +1,19 @@
+ SPELL=wget2
+ VERSION=1.99.2
+ SOURCE=$SPELL-$VERSION.tar.gz
+ SOURCE_URL[0]=$GNU_URL/wget/$SOURCE
+ SOURCE2="${SOURCE}.sig"
+ SOURCE2_URL[0]="${SOURCE_URL[0]}.sig"
+ SOURCE_GPG="gnu.gpg:${SOURCE2}:UPSTREAM_KEY"
+ SOURCE2_IGNORE="signature"
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ DOC_DIRS=""
+ WEB_SITE=https://gitlab.com/gnuwget/wget2
+ ENTERED=
+ LICENSE[0]=GPL
+ KEYWORDS="web ftp"
+ SHORT="fast multithreaded metalink/file/website downloade"
+cat << EOF
+Wget2 is a fast multithreaded metalink/file/website downloader
+written in C (C99 / Posix 2001 compliant).
+EOF
diff --git a/ftp/wget2/HISTORY b/ftp/wget2/HISTORY
new file mode 100644
index 0000000000..525b4f9d6f
--- /dev/null
+++ b/ftp/wget2/HISTORY
@@ -0,0 +1,3 @@
+2019-04-05 Treeve Jelbert <treeve@sourcemage.org>
+ * DETAILS: version 1.99.2
+ spell created, based on wget
diff --git a/ftp/wget2/PROVIDES b/ftp/wget2/PROVIDES
new file mode 100755
index 0000000000..750642c53b
--- /dev/null
+++ b/ftp/wget2/PROVIDES
@@ -0,0 +1 @@
+DOWNLOADER