* [PR PATCH] New package: wget2-2.0.1
@ 2022-09-09 20:12 dexgs
2022-09-09 20:14 ` dexgs
` (32 more replies)
0 siblings, 33 replies; 34+ messages in thread
From: dexgs @ 2022-09-09 20:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]
There is a new pull request by dexgs against master on the void-packages repository
https://github.com/dexgs/void-packages wget
https://github.com/void-linux/void-packages/pull/39194
New package: wget2-2.0.1
Also included are subpackages libwget and libwget-devel.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/39194.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wget-39194.patch --]
[-- Type: text/x-diff, Size: 3254 bytes --]
From 169cdb527895c3be2897a251e1b7a806351da3e3 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Fri, 9 Sep 2022 16:10:13 -0400
Subject: [PATCH] New package: wget2-2.0.1
Also included are subpackages libwget and libwget-devel.
---
common/shlibs | 1 +
srcpkgs/libwget | 1 +
srcpkgs/libwget-devel | 1 +
srcpkgs/wget2/template | 52 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 55 insertions(+)
create mode 120000 srcpkgs/libwget
create mode 120000 srcpkgs/libwget-devel
create mode 100644 srcpkgs/wget2/template
diff --git a/common/shlibs b/common/shlibs
index bd9890ed7846..8bcb7cc5670e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4161,3 +4161,4 @@ libsyncthingconnector.so.1.2.3 syncthingtray-1.2.3_1
libglibutil.so.1 libglibutil-1.0.64_1
libgbinder.so.1 libgbinder-1.1.20_1
libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
+libwget.so.1 libwget-2.0.1_1
diff --git a/srcpkgs/libwget b/srcpkgs/libwget
new file mode 120000
index 000000000000..96cec08f36ca
--- /dev/null
+++ b/srcpkgs/libwget
@@ -0,0 +1 @@
+wget2
\ No newline at end of file
diff --git a/srcpkgs/libwget-devel b/srcpkgs/libwget-devel
new file mode 120000
index 000000000000..96cec08f36ca
--- /dev/null
+++ b/srcpkgs/libwget-devel
@@ -0,0 +1 @@
+wget2
\ No newline at end of file
diff --git a/srcpkgs/wget2/template b/srcpkgs/wget2/template
new file mode 100644
index 000000000000..9b49135870d2
--- /dev/null
+++ b/srcpkgs/wget2/template
@@ -0,0 +1,52 @@
+# Template file for 'wget2'
+pkgname=wget2
+version=2.0.1
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config texinfo pandoc"
+makedepends="gnutls-devel zlib-devel libidn2-devel libpsl-devel
+ $(vopt_if brotli 'brotli-devel') $(vopt_if http2 'nghttp2-devel')
+ $(vopt_if gpgme 'gpgme-devel') $(vopt_if lzma 'liblzma-devel')
+ $(vopt_if bzip2 'bzip2-devel') $(vopt_if zstd 'libzstd-devel')
+ $(vopt_if pcre 'pcre2-devel')"
+depends="libwget>=${version}_${revision}"
+checkdepends="libmicrohttpd-devel gpgme"
+short_desc="file and recursive website downloader"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.com/gnuwget/wget2"
+changelog="https://gitlab.com/gnuwget/wget2/-/blob/master/NEWS"
+distfiles="${GNU_SITE}/wget/wget2-${version}.tar.gz"
+checksum=0bb7fa03697bb5b8d05e1b5e15b863440826eb845874c4ffb5e32330f9845db1
+
+build_options="brotli http2 gpgme lzma bzip2 zstd pcre"
+build_options_default="brotli http2 gpgme lzma bzip2 zstd pcre"
+
+post_install() {
+ install -D -m 644 -t $DESTDIR/usr/share/man/man3 docs/man/man3/*.3
+}
+
+libwget_package() {
+ depends="gnutls libidn2 libpsl
+ $(vopt_if brotli 'brotli') $(vopt_if http2 'nghttp2')
+ $(vopt_if gpgme 'libgpgme') $(vopt_if lzma 'liblzma')
+ $(vopt_if bzip2 'bzip2') $(vopt_if zstd 'libzstd')
+ $(vopt_if pcre 'libpcre2')"
+ short_desc+=" - shared libraries"
+ license="LGPL-3.0-or-later"
+ pkg_install() {
+ vmove "usr/lib/*.so.*"
+ }
+}
+
+libwget-devel_package() {
+ depends="libwget>=${version}_${revision}"
+ short_desc+=" - development files"
+ license="LGPL-3.0-or-later"
+ pkg_install() {
+ vmove "usr/lib/*.a"
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove usr/share/man/man3
+ }
+}
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
@ 2022-09-09 20:14 ` dexgs
2022-09-09 20:16 ` [PR PATCH] [Updated] " dexgs
` (31 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: dexgs @ 2022-09-09 20:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 328 bytes --]
New comment by dexgs on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#issuecomment-1242418135
Comment:
Many of the dependencies for libwget are optional, but i have enabled them all by default as the reason someone would prefer wget2 to wget is probably the presence of these extra features.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR PATCH] [Updated] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
2022-09-09 20:14 ` dexgs
@ 2022-09-09 20:16 ` dexgs
2022-09-09 21:25 ` dexgs
` (30 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: dexgs @ 2022-09-09 20:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]
There is an updated pull request by dexgs against master on the void-packages repository
https://github.com/dexgs/void-packages wget
https://github.com/void-linux/void-packages/pull/39194
New package: wget2-2.0.1
Also included are subpackages libwget and libwget-devel.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/39194.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wget-39194.patch --]
[-- Type: text/x-diff, Size: 3258 bytes --]
From ed43ccfd554305d91cf4db0fe4e4e621db0e7bf7 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Fri, 9 Sep 2022 16:10:13 -0400
Subject: [PATCH] New package: wget2-2.0.1
Also included are subpackages libwget and libwget-devel.
---
common/shlibs | 1 +
srcpkgs/libwget | 1 +
srcpkgs/libwget-devel | 1 +
srcpkgs/wget2/template | 52 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 55 insertions(+)
create mode 120000 srcpkgs/libwget
create mode 120000 srcpkgs/libwget-devel
create mode 100644 srcpkgs/wget2/template
diff --git a/common/shlibs b/common/shlibs
index bd9890ed7846..8bcb7cc5670e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4161,3 +4161,4 @@ libsyncthingconnector.so.1.2.3 syncthingtray-1.2.3_1
libglibutil.so.1 libglibutil-1.0.64_1
libgbinder.so.1 libgbinder-1.1.20_1
libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
+libwget.so.1 libwget-2.0.1_1
diff --git a/srcpkgs/libwget b/srcpkgs/libwget
new file mode 120000
index 000000000000..96cec08f36ca
--- /dev/null
+++ b/srcpkgs/libwget
@@ -0,0 +1 @@
+wget2
\ No newline at end of file
diff --git a/srcpkgs/libwget-devel b/srcpkgs/libwget-devel
new file mode 120000
index 000000000000..96cec08f36ca
--- /dev/null
+++ b/srcpkgs/libwget-devel
@@ -0,0 +1 @@
+wget2
\ No newline at end of file
diff --git a/srcpkgs/wget2/template b/srcpkgs/wget2/template
new file mode 100644
index 000000000000..89124fbb1fff
--- /dev/null
+++ b/srcpkgs/wget2/template
@@ -0,0 +1,52 @@
+# Template file for 'wget2'
+pkgname=wget2
+version=2.0.1
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config texinfo pandoc"
+makedepends="gnutls-devel zlib-devel libidn2-devel libpsl-devel
+ $(vopt_if brotli 'brotli-devel') $(vopt_if http2 'nghttp2-devel')
+ $(vopt_if gpgme 'gpgme-devel') $(vopt_if lzma 'liblzma-devel')
+ $(vopt_if bzip2 'bzip2-devel') $(vopt_if zstd 'libzstd-devel')
+ $(vopt_if pcre 'pcre2-devel')"
+depends="libwget>=${version}_${revision}"
+checkdepends="libmicrohttpd-devel gpgme"
+short_desc="GNU file and recursive website downloader"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.com/gnuwget/wget2"
+changelog="https://gitlab.com/gnuwget/wget2/-/blob/master/NEWS"
+distfiles="${GNU_SITE}/wget/wget2-${version}.tar.gz"
+checksum=0bb7fa03697bb5b8d05e1b5e15b863440826eb845874c4ffb5e32330f9845db1
+
+build_options="brotli http2 gpgme lzma bzip2 zstd pcre"
+build_options_default="brotli http2 gpgme lzma bzip2 zstd pcre"
+
+post_install() {
+ install -D -m 644 -t $DESTDIR/usr/share/man/man3 docs/man/man3/*.3
+}
+
+libwget_package() {
+ depends="gnutls libidn2 libpsl
+ $(vopt_if brotli 'brotli') $(vopt_if http2 'nghttp2')
+ $(vopt_if gpgme 'libgpgme') $(vopt_if lzma 'liblzma')
+ $(vopt_if bzip2 'bzip2') $(vopt_if zstd 'libzstd')
+ $(vopt_if pcre 'libpcre2')"
+ short_desc+=" - shared libraries"
+ license="LGPL-3.0-or-later"
+ pkg_install() {
+ vmove "usr/lib/*.so.*"
+ }
+}
+
+libwget-devel_package() {
+ depends="libwget>=${version}_${revision}"
+ short_desc+=" - development files"
+ license="LGPL-3.0-or-later"
+ pkg_install() {
+ vmove "usr/lib/*.a"
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove usr/share/man/man3
+ }
+}
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR PATCH] [Updated] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
2022-09-09 20:14 ` dexgs
2022-09-09 20:16 ` [PR PATCH] [Updated] " dexgs
@ 2022-09-09 21:25 ` dexgs
2022-09-09 21:44 ` dexgs
` (29 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: dexgs @ 2022-09-09 21:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]
There is an updated pull request by dexgs against master on the void-packages repository
https://github.com/dexgs/void-packages wget
https://github.com/void-linux/void-packages/pull/39194
New package: wget2-2.0.1
Also included are subpackages libwget and libwget-devel.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/39194.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wget-39194.patch --]
[-- Type: text/x-diff, Size: 3300 bytes --]
From dbbdccf3b73c08783d7e5e8968ff7b83f29ea11b Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Fri, 9 Sep 2022 16:10:13 -0400
Subject: [PATCH] New package: wget2-2.0.1
Also included are subpackages libwget and libwget-devel.
---
common/shlibs | 1 +
srcpkgs/libwget | 1 +
srcpkgs/libwget-devel | 1 +
srcpkgs/wget2/template | 53 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 56 insertions(+)
create mode 120000 srcpkgs/libwget
create mode 120000 srcpkgs/libwget-devel
create mode 100644 srcpkgs/wget2/template
diff --git a/common/shlibs b/common/shlibs
index bd9890ed7846..8bcb7cc5670e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4161,3 +4161,4 @@ libsyncthingconnector.so.1.2.3 syncthingtray-1.2.3_1
libglibutil.so.1 libglibutil-1.0.64_1
libgbinder.so.1 libgbinder-1.1.20_1
libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
+libwget.so.1 libwget-2.0.1_1
diff --git a/srcpkgs/libwget b/srcpkgs/libwget
new file mode 120000
index 000000000000..96cec08f36ca
--- /dev/null
+++ b/srcpkgs/libwget
@@ -0,0 +1 @@
+wget2
\ No newline at end of file
diff --git a/srcpkgs/libwget-devel b/srcpkgs/libwget-devel
new file mode 120000
index 000000000000..96cec08f36ca
--- /dev/null
+++ b/srcpkgs/libwget-devel
@@ -0,0 +1 @@
+wget2
\ No newline at end of file
diff --git a/srcpkgs/wget2/template b/srcpkgs/wget2/template
new file mode 100644
index 000000000000..64be4e83576e
--- /dev/null
+++ b/srcpkgs/wget2/template
@@ -0,0 +1,53 @@
+# Template file for 'wget2'
+pkgname=wget2
+version=2.0.1
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config texinfo pandoc"
+makedepends="gnutls-devel zlib-devel libidn2-devel libpsl-devel
+ $(vopt_if brotli 'brotli-devel') $(vopt_if http2 'nghttp2-devel')
+ $(vopt_if gpgme 'gpgme-devel') $(vopt_if lzma 'liblzma-devel')
+ $(vopt_if bzip2 'bzip2-devel') $(vopt_if zstd 'libzstd-devel')
+ $(vopt_if pcre 'pcre2-devel')"
+depends="libwget>=${version}_${revision}"
+checkdepends="libmicrohttpd-devel gpgme"
+short_desc="GNU file and recursive website downloader"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.com/gnuwget/wget2"
+changelog="https://gitlab.com/gnuwget/wget2/-/blob/master/NEWS"
+distfiles="${GNU_SITE}/wget/wget2-${version}.tar.gz"
+checksum=0bb7fa03697bb5b8d05e1b5e15b863440826eb845874c4ffb5e32330f9845db1
+
+build_options="brotli http2 gpgme lzma bzip2 zstd pcre"
+build_options_default="brotli http2 gpgme lzma bzip2 zstd pcre"
+
+post_install() {
+ rm ${DESTDIR}/usr/bin/wget2_noinstall
+ install -D -m 644 -t ${DESTDIR}/usr/share/man/man3 docs/man/man3/*.3
+}
+
+libwget_package() {
+ depends="gnutls libidn2 libpsl
+ $(vopt_if brotli 'brotli') $(vopt_if http2 'nghttp2')
+ $(vopt_if gpgme 'libgpgme') $(vopt_if lzma 'liblzma')
+ $(vopt_if bzip2 'bzip2') $(vopt_if zstd 'libzstd')
+ $(vopt_if pcre 'libpcre2')"
+ short_desc+=" - shared libraries"
+ license="LGPL-3.0-or-later"
+ pkg_install() {
+ vmove "usr/lib/*.so.*"
+ }
+}
+
+libwget-devel_package() {
+ depends="libwget>=${version}_${revision}"
+ short_desc+=" - development files"
+ license="LGPL-3.0-or-later"
+ pkg_install() {
+ vmove "usr/lib/*.a"
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove usr/share/man/man3
+ }
+}
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (2 preceding siblings ...)
2022-09-09 21:25 ` dexgs
@ 2022-09-09 21:44 ` dexgs
2022-09-10 0:03 ` [PR REVIEW] " oreo639
` (28 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: dexgs @ 2022-09-09 21:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 228 bytes --]
New comment by dexgs on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#issuecomment-1242504850
Comment:
libwget gets its own package because it is licensed separately from the wget2 executable
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (3 preceding siblings ...)
2022-09-09 21:44 ` dexgs
@ 2022-09-10 0:03 ` oreo639
2022-09-10 0:04 ` oreo639
` (27 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: oreo639 @ 2022-09-10 0:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 236 bytes --]
New review comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967546910
Comment:
Keep in mind that xbps can automatically get some of the dependencies using `objdump -p`.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (4 preceding siblings ...)
2022-09-10 0:03 ` [PR REVIEW] " oreo639
@ 2022-09-10 0:04 ` oreo639
2022-09-10 0:31 ` oreo639
` (26 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: oreo639 @ 2022-09-10 0:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 256 bytes --]
New review comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967546910
Comment:
Keep in mind that xbps can automatically get some of the dependencies using `objdump -p` and `common/shlibs`.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (5 preceding siblings ...)
2022-09-10 0:04 ` oreo639
@ 2022-09-10 0:31 ` oreo639
2022-09-10 0:56 ` dexgs
` (25 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: oreo639 @ 2022-09-10 0:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 275 bytes --]
New review comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967546910
Comment:
Keep in mind that xbps can automatically get some of the dependencies using `common/shlibs` if it would show up in `objdump -p`.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (6 preceding siblings ...)
2022-09-10 0:31 ` oreo639
@ 2022-09-10 0:56 ` dexgs
2022-09-10 1:00 ` dexgs
` (24 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: dexgs @ 2022-09-10 0:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 168 bytes --]
New review comment by dexgs on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967556874
Comment:
which could be omitted?
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (7 preceding siblings ...)
2022-09-10 0:56 ` dexgs
@ 2022-09-10 1:00 ` dexgs
2022-09-10 1:01 ` dexgs
` (23 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: dexgs @ 2022-09-10 1:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 591 bytes --]
New review comment by dexgs on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967557387
Comment:
I see
```
NEEDED libidn2.so.0
NEEDED libzstd.so.1
NEEDED libbrotlidec.so.1
NEEDED libz.so.1
NEEDED libnghttp2.so.14
NEEDED libpsl.so.5
NEEDED libgnutls.so.30
NEEDED libpthread.so.0
NEEDED libc.so.6
```
in the output of objdump -p. I guess these can be removed from the list of dependencies?
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (8 preceding siblings ...)
2022-09-10 1:00 ` dexgs
@ 2022-09-10 1:01 ` dexgs
2022-09-10 1:40 ` oreo639
` (22 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: dexgs @ 2022-09-10 1:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 308 bytes --]
New review comment by dexgs on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967557465
Comment:
as for the libraries which aren't, do these need to stay in `depends`, or does their absence mean they were linked statically and can therefore be removed as well?
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (9 preceding siblings ...)
2022-09-10 1:01 ` dexgs
@ 2022-09-10 1:40 ` oreo639
2022-09-10 1:44 ` oreo639
` (21 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: oreo639 @ 2022-09-10 1:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 291 bytes --]
New review comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967563152
Comment:
You don't need to do objdump manually to check, when building the package it lists them in `running pre-pkg hook: 04-generate-runtime-deps ...`.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (10 preceding siblings ...)
2022-09-10 1:40 ` oreo639
@ 2022-09-10 1:44 ` oreo639
2022-09-10 2:24 ` oreo639
` (20 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: oreo639 @ 2022-09-10 1:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 344 bytes --]
New review comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967563152
Comment:
You don't need to do objdump manually to check, when building the package it lists them in `running pre-pkg hook: 04-generate-runtime-deps ...`.
Afaict, all of them should be able to be removed.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (11 preceding siblings ...)
2022-09-10 1:44 ` oreo639
@ 2022-09-10 2:24 ` oreo639
2022-09-10 3:53 ` classabbyamp
` (19 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: oreo639 @ 2022-09-10 2:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 336 bytes --]
New review comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967563152
Comment:
You don't need to do objdump manually to check, when building the package it lists them in `running pre-pkg hook: 04-generate-runtime-deps ...`.
All of them should be able to be removed.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (13 preceding siblings ...)
2022-09-10 3:53 ` classabbyamp
@ 2022-09-10 3:53 ` classabbyamp
2022-09-10 3:53 ` classabbyamp
` (17 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: classabbyamp @ 2022-09-10 3:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 171 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967576348
Comment:
use `vman` for this
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (14 preceding siblings ...)
2022-09-10 3:53 ` classabbyamp
@ 2022-09-10 3:53 ` classabbyamp
2022-09-10 3:56 ` dexgs
` (16 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: classabbyamp @ 2022-09-10 3:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 234 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967576391
Comment:
```suggestion
changelog="https://gitlab.com/gnuwget/wget2/-/raw/master/NEWS"
```
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (12 preceding siblings ...)
2022-09-10 2:24 ` oreo639
@ 2022-09-10 3:53 ` classabbyamp
2022-09-10 3:53 ` classabbyamp
` (18 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: classabbyamp @ 2022-09-10 3:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 217 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967577102
Comment:
```suggestion
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
```
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (15 preceding siblings ...)
2022-09-10 3:53 ` classabbyamp
@ 2022-09-10 3:56 ` dexgs
2022-09-10 3:57 ` classabbyamp
` (15 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: dexgs @ 2022-09-10 3:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 208 bytes --]
New review comment by dexgs on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967578031
Comment:
What is the recommended way to use vman on an entire directory?
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (16 preceding siblings ...)
2022-09-10 3:56 ` dexgs
@ 2022-09-10 3:57 ` classabbyamp
2022-09-10 3:58 ` classabbyamp
` (14 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: classabbyamp @ 2022-09-10 3:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 216 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967578592
Comment:
```sh
for page in docs/man/man3/*.3; do
vman $page
done
```
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (17 preceding siblings ...)
2022-09-10 3:57 ` classabbyamp
@ 2022-09-10 3:58 ` classabbyamp
2022-09-10 3:58 ` classabbyamp
` (13 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: classabbyamp @ 2022-09-10 3:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 183 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#issuecomment-1242612595
Comment:
also, add the shlib to common/shlibs
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (18 preceding siblings ...)
2022-09-10 3:58 ` classabbyamp
@ 2022-09-10 3:58 ` classabbyamp
2022-09-10 4:02 ` [PR PATCH] [Updated] " dexgs
` (12 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: classabbyamp @ 2022-09-10 3:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 183 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#issuecomment-1242612595
Comment:
also, add the shlib to common/shlibs
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR PATCH] [Updated] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (19 preceding siblings ...)
2022-09-10 3:58 ` classabbyamp
@ 2022-09-10 4:02 ` dexgs
2022-09-10 4:02 ` [PR REVIEW] " dexgs
` (11 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: dexgs @ 2022-09-10 4:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]
There is an updated pull request by dexgs against master on the void-packages repository
https://github.com/dexgs/void-packages wget
https://github.com/void-linux/void-packages/pull/39194
New package: wget2-2.0.1
Also included are subpackages libwget and libwget-devel.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/39194.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wget-39194.patch --]
[-- Type: text/x-diff, Size: 3285 bytes --]
From 255cbab424fbb619beb35d3eb02b5d96d20e55fe Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Fri, 9 Sep 2022 16:10:13 -0400
Subject: [PATCH] New package: wget2-2.0.1
Also included are subpackages libwget and libwget-devel.
---
common/shlibs | 1 +
srcpkgs/libwget | 1 +
srcpkgs/libwget-devel | 1 +
srcpkgs/wget2/template | 55 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 58 insertions(+)
create mode 120000 srcpkgs/libwget
create mode 120000 srcpkgs/libwget-devel
create mode 100644 srcpkgs/wget2/template
diff --git a/common/shlibs b/common/shlibs
index bd9890ed7846..8bcb7cc5670e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4161,3 +4161,4 @@ libsyncthingconnector.so.1.2.3 syncthingtray-1.2.3_1
libglibutil.so.1 libglibutil-1.0.64_1
libgbinder.so.1 libgbinder-1.1.20_1
libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
+libwget.so.1 libwget-2.0.1_1
diff --git a/srcpkgs/libwget b/srcpkgs/libwget
new file mode 120000
index 000000000000..96cec08f36ca
--- /dev/null
+++ b/srcpkgs/libwget
@@ -0,0 +1 @@
+wget2
\ No newline at end of file
diff --git a/srcpkgs/libwget-devel b/srcpkgs/libwget-devel
new file mode 120000
index 000000000000..96cec08f36ca
--- /dev/null
+++ b/srcpkgs/libwget-devel
@@ -0,0 +1 @@
+wget2
\ No newline at end of file
diff --git a/srcpkgs/wget2/template b/srcpkgs/wget2/template
new file mode 100644
index 000000000000..2eb417917d0d
--- /dev/null
+++ b/srcpkgs/wget2/template
@@ -0,0 +1,55 @@
+# Template file for 'wget2'
+pkgname=wget2
+version=2.0.1
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config texinfo pandoc"
+makedepends="gnutls-devel zlib-devel libidn2-devel libpsl-devel
+ $(vopt_if brotli 'brotli-devel') $(vopt_if http2 'nghttp2-devel')
+ $(vopt_if gpgme 'gpgme-devel') $(vopt_if lzma 'liblzma-devel')
+ $(vopt_if bzip2 'bzip2-devel') $(vopt_if zstd 'libzstd-devel')
+ $(vopt_if pcre 'pcre2-devel')"
+depends="libwget>=${version}_${revision}"
+checkdepends="libmicrohttpd-devel gpgme"
+short_desc="GNU file and recursive website downloader"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.com/gnuwget/wget2"
+changelog="https://gitlab.com/gnuwget/wget2/-/raw/master/NEWS"
+distfiles="${GNU_SITE}/wget/wget2-${version}.tar.gz"
+checksum=0bb7fa03697bb5b8d05e1b5e15b863440826eb845874c4ffb5e32330f9845db1
+
+build_options="brotli http2 gpgme lzma bzip2 zstd pcre"
+build_options_default="brotli http2 gpgme lzma bzip2 zstd pcre"
+
+post_install() {
+ rm ${DESTDIR}/usr/bin/wget2_noinstall
+ for page in docs/man/man3/*.3; do
+ vman $page
+ done
+}
+
+libwget_package() {
+ depends="gnutls libidn2 libpsl
+ $(vopt_if brotli 'brotli') $(vopt_if http2 'nghttp2')
+ $(vopt_if gpgme 'libgpgme') $(vopt_if lzma 'liblzma')
+ $(vopt_if bzip2 'bzip2') $(vopt_if zstd 'libzstd')
+ $(vopt_if pcre 'libpcre2')"
+ short_desc+=" - shared libraries"
+ license="LGPL-3.0-or-later"
+ pkg_install() {
+ vmove "usr/lib/*.so.*"
+ }
+}
+
+libwget-devel_package() {
+ depends="libwget>=${version}_${revision}"
+ short_desc+=" - development files"
+ license="LGPL-3.0-or-later"
+ pkg_install() {
+ vmove "usr/lib/*.a"
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove usr/share/man/man3
+ }
+}
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (20 preceding siblings ...)
2022-09-10 4:02 ` [PR PATCH] [Updated] " dexgs
@ 2022-09-10 4:02 ` dexgs
2022-09-10 4:03 ` oreo639
` (10 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: dexgs @ 2022-09-10 4:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 198 bytes --]
New review comment by dexgs on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967579665
Comment:
why should the shared object be in the devel package?
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (21 preceding siblings ...)
2022-09-10 4:02 ` [PR REVIEW] " dexgs
@ 2022-09-10 4:03 ` oreo639
2022-09-10 4:04 ` oreo639
` (9 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: oreo639 @ 2022-09-10 4:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
New review comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967563152
Comment:
You don't need to do objdump manually to check, when building the package it lists them in `running pre-pkg hook: 04-generate-runtime-deps ...`.
All of them can be removed.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (22 preceding siblings ...)
2022-09-10 4:03 ` oreo639
@ 2022-09-10 4:04 ` oreo639
2022-09-10 4:06 ` classabbyamp
` (8 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: oreo639 @ 2022-09-10 4:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 298 bytes --]
New review comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967546910
Comment:
These are not needed.
Keep in mind that xbps can automatically get some of the dependencies using `common/shlibs` if it would show up in `objdump -p`.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (23 preceding siblings ...)
2022-09-10 4:04 ` oreo639
@ 2022-09-10 4:06 ` classabbyamp
2022-09-10 4:06 ` oreo639
` (7 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: classabbyamp @ 2022-09-10 4:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 228 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967581191
Comment:
so other packages can link to it. it's just a symlink to the versioned shlib
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR REVIEW] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (24 preceding siblings ...)
2022-09-10 4:06 ` classabbyamp
@ 2022-09-10 4:06 ` oreo639
2022-09-10 4:21 ` [PR PATCH] [Updated] " dexgs
` (6 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: oreo639 @ 2022-09-10 4:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 257 bytes --]
New review comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#discussion_r967581331
Comment:
`libname.so.abiver` is used by applications at runtime.
`libname.so` is used by the compiler at compile time.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR PATCH] [Updated] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (25 preceding siblings ...)
2022-09-10 4:06 ` oreo639
@ 2022-09-10 4:21 ` dexgs
2022-09-10 15:03 ` tranzystorek-io
` (5 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: dexgs @ 2022-09-10 4:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]
There is an updated pull request by dexgs against master on the void-packages repository
https://github.com/dexgs/void-packages wget
https://github.com/void-linux/void-packages/pull/39194
New package: wget2-2.0.1
Also included are subpackages libwget and libwget-devel.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/39194.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wget-39194.patch --]
[-- Type: text/x-diff, Size: 3309 bytes --]
From 96dd0fe5a35700ae0dbd819a0e8c198f91947511 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Fri, 9 Sep 2022 16:10:13 -0400
Subject: [PATCH] New package: wget2-2.0.1
Also included are subpackages libwget and libwget-devel.
---
common/shlibs | 1 +
srcpkgs/libwget | 1 +
srcpkgs/libwget-devel | 1 +
srcpkgs/wget2/template | 56 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 59 insertions(+)
create mode 120000 srcpkgs/libwget
create mode 120000 srcpkgs/libwget-devel
create mode 100644 srcpkgs/wget2/template
diff --git a/common/shlibs b/common/shlibs
index bd9890ed7846..8bcb7cc5670e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4161,3 +4161,4 @@ libsyncthingconnector.so.1.2.3 syncthingtray-1.2.3_1
libglibutil.so.1 libglibutil-1.0.64_1
libgbinder.so.1 libgbinder-1.1.20_1
libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
+libwget.so.1 libwget-2.0.1_1
diff --git a/srcpkgs/libwget b/srcpkgs/libwget
new file mode 120000
index 000000000000..96cec08f36ca
--- /dev/null
+++ b/srcpkgs/libwget
@@ -0,0 +1 @@
+wget2
\ No newline at end of file
diff --git a/srcpkgs/libwget-devel b/srcpkgs/libwget-devel
new file mode 120000
index 000000000000..96cec08f36ca
--- /dev/null
+++ b/srcpkgs/libwget-devel
@@ -0,0 +1 @@
+wget2
\ No newline at end of file
diff --git a/srcpkgs/wget2/template b/srcpkgs/wget2/template
new file mode 100644
index 000000000000..b2e2b4a3db12
--- /dev/null
+++ b/srcpkgs/wget2/template
@@ -0,0 +1,56 @@
+# Template file for 'wget2'
+pkgname=wget2
+version=2.0.1
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config texinfo pandoc"
+makedepends="gnutls-devel zlib-devel libidn2-devel libpsl-devel
+ $(vopt_if brotli 'brotli-devel') $(vopt_if http2 'nghttp2-devel')
+ $(vopt_if gpgme 'gpgme-devel') $(vopt_if lzma 'liblzma-devel')
+ $(vopt_if bzip2 'bzip2-devel') $(vopt_if zstd 'libzstd-devel')
+ $(vopt_if pcre 'pcre2-devel')"
+depends="libwget>=${version}_${revision}"
+checkdepends="libmicrohttpd-devel gpgme"
+short_desc="GNU file and recursive website downloader"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.com/gnuwget/wget2"
+changelog="https://gitlab.com/gnuwget/wget2/-/raw/master/NEWS"
+distfiles="${GNU_SITE}/wget/wget2-${version}.tar.gz"
+checksum=0bb7fa03697bb5b8d05e1b5e15b863440826eb845874c4ffb5e32330f9845db1
+
+build_options="brotli http2 gpgme lzma bzip2 zstd pcre"
+build_options_default="brotli http2 gpgme lzma bzip2 zstd pcre"
+
+post_install() {
+ rm ${DESTDIR}/usr/bin/wget2_noinstall
+ for page in docs/man/man3/*.3; do
+ vman $page
+ done
+}
+
+libwget_package() {
+ depends="gnutls libidn2 libpsl
+ $(vopt_if brotli 'brotli') $(vopt_if http2 'nghttp2')
+ $(vopt_if gpgme 'libgpgme') $(vopt_if lzma 'liblzma')
+ $(vopt_if bzip2 'bzip2') $(vopt_if zstd 'libzstd')
+ $(vopt_if pcre 'libpcre2')"
+ short_desc+=" - shared libraries"
+ license="LGPL-3.0-or-later"
+ pkg_install() {
+ vmove "usr/lib/*.so.*"
+ }
+}
+
+libwget-devel_package() {
+ depends="libwget>=${version}_${revision}"
+ short_desc+=" - development files"
+ license="LGPL-3.0-or-later"
+ pkg_install() {
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove usr/share/man/man3
+ }
+}
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (26 preceding siblings ...)
2022-09-10 4:21 ` [PR PATCH] [Updated] " dexgs
@ 2022-09-10 15:03 ` tranzystorek-io
2022-09-10 17:18 ` [PR PATCH] [Updated] " dexgs
` (4 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: tranzystorek-io @ 2022-09-10 15:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 416 bytes --]
New comment by tranzystorek-io on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#issuecomment-1242747881
Comment:
Do we need to separate out all the build opts? I've had a feeling these are not usually for optional package features but for specific edge cases, e.g. `pandoc` not being available on every arch. Otherwise, there seems to be no harm in building the full feature set.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR PATCH] [Updated] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (27 preceding siblings ...)
2022-09-10 15:03 ` tranzystorek-io
@ 2022-09-10 17:18 ` dexgs
2022-09-10 23:53 ` dexgs
` (3 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: dexgs @ 2022-09-10 17:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]
There is an updated pull request by dexgs against master on the void-packages repository
https://github.com/dexgs/void-packages wget
https://github.com/void-linux/void-packages/pull/39194
New package: wget2-2.0.1
Also included are subpackages libwget and libwget-devel.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/39194.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wget-39194.patch --]
[-- Type: text/x-diff, Size: 3077 bytes --]
From 2984c053287327be05841c8aa3f65ca356160f87 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Fri, 9 Sep 2022 16:10:13 -0400
Subject: [PATCH] New package: wget2-2.0.1
Also included are subpackages libwget and libwget-devel.
---
common/shlibs | 1 +
srcpkgs/libwget | 1 +
srcpkgs/libwget-devel | 1 +
srcpkgs/wget2/template | 51 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 54 insertions(+)
create mode 120000 srcpkgs/libwget
create mode 120000 srcpkgs/libwget-devel
create mode 100644 srcpkgs/wget2/template
diff --git a/common/shlibs b/common/shlibs
index bd9890ed7846..8bcb7cc5670e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4161,3 +4161,4 @@ libsyncthingconnector.so.1.2.3 syncthingtray-1.2.3_1
libglibutil.so.1 libglibutil-1.0.64_1
libgbinder.so.1 libgbinder-1.1.20_1
libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
+libwget.so.1 libwget-2.0.1_1
diff --git a/srcpkgs/libwget b/srcpkgs/libwget
new file mode 120000
index 000000000000..96cec08f36ca
--- /dev/null
+++ b/srcpkgs/libwget
@@ -0,0 +1 @@
+wget2
\ No newline at end of file
diff --git a/srcpkgs/libwget-devel b/srcpkgs/libwget-devel
new file mode 120000
index 000000000000..96cec08f36ca
--- /dev/null
+++ b/srcpkgs/libwget-devel
@@ -0,0 +1 @@
+wget2
\ No newline at end of file
diff --git a/srcpkgs/wget2/template b/srcpkgs/wget2/template
new file mode 100644
index 000000000000..4cfe3863cf38
--- /dev/null
+++ b/srcpkgs/wget2/template
@@ -0,0 +1,51 @@
+# Template file for 'wget2'
+pkgname=wget2
+version=2.0.1
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config texinfo pandoc"
+makedepends="gnutls-devel zlib-devel libidn2-devel libpsl-devel
+ $(vopt_if brotli 'brotli-devel') $(vopt_if http2 'nghttp2-devel')
+ $(vopt_if gpgme 'gpgme-devel') $(vopt_if lzma 'liblzma-devel')
+ $(vopt_if bzip2 'bzip2-devel') $(vopt_if zstd 'libzstd-devel')
+ $(vopt_if pcre 'pcre2-devel')"
+depends="libwget>=${version}_${revision}"
+checkdepends="libmicrohttpd-devel gpgme"
+short_desc="GNU file and recursive website downloader"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.com/gnuwget/wget2"
+changelog="https://gitlab.com/gnuwget/wget2/-/raw/master/NEWS"
+distfiles="${GNU_SITE}/wget/wget2-${version}.tar.gz"
+checksum=0bb7fa03697bb5b8d05e1b5e15b863440826eb845874c4ffb5e32330f9845db1
+
+build_options="brotli http2 gpgme lzma bzip2 zstd pcre"
+build_options_default="brotli http2 gpgme lzma bzip2 zstd pcre"
+
+post_install() {
+ rm ${DESTDIR}/usr/bin/wget2_noinstall
+ for page in docs/man/man3/*.3; do
+ vman $page
+ done
+}
+
+libwget_package() {
+ short_desc+=" - shared libraries"
+ license="LGPL-3.0-or-later"
+ pkg_install() {
+ vmove "usr/lib/*.so.*"
+ }
+}
+
+libwget-devel_package() {
+ depends="libwget>=${version}_${revision}"
+ short_desc+=" - development files"
+ license="LGPL-3.0-or-later"
+ pkg_install() {
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove usr/share/man/man3
+ }
+}
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (28 preceding siblings ...)
2022-09-10 17:18 ` [PR PATCH] [Updated] " dexgs
@ 2022-09-10 23:53 ` dexgs
2022-09-30 16:59 ` [PR PATCH] [Updated] " dexgs
` (2 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: dexgs @ 2022-09-10 23:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 329 bytes --]
New comment by dexgs on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#issuecomment-1242821677
Comment:
> Do we need to separate the build opts?
I just tried to follow [the build options section in the manual](https://github.com/void-linux/void-packages/blob/master/Manual.md#build-options)
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR PATCH] [Updated] New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (29 preceding siblings ...)
2022-09-10 23:53 ` dexgs
@ 2022-09-30 16:59 ` dexgs
2022-12-30 1:58 ` github-actions
2023-01-13 2:34 ` [PR PATCH] [Closed]: " github-actions
32 siblings, 0 replies; 34+ messages in thread
From: dexgs @ 2022-09-30 16:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]
There is an updated pull request by dexgs against master on the void-packages repository
https://github.com/dexgs/void-packages wget
https://github.com/void-linux/void-packages/pull/39194
New package: wget2-2.0.1
Also included are subpackages libwget and libwget-devel.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/39194.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wget-39194.patch --]
[-- Type: text/x-diff, Size: 3055 bytes --]
From b1aef918fa06f776b6f0f6c1405d9c87721d9e99 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Fri, 9 Sep 2022 16:10:13 -0400
Subject: [PATCH] New package: wget2-2.0.1
Also included are subpackages libwget and libwget-devel.
---
common/shlibs | 1 +
srcpkgs/libwget | 1 +
srcpkgs/libwget-devel | 1 +
srcpkgs/wget2/template | 51 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 54 insertions(+)
create mode 120000 srcpkgs/libwget
create mode 120000 srcpkgs/libwget-devel
create mode 100644 srcpkgs/wget2/template
diff --git a/common/shlibs b/common/shlibs
index 669c4eb19fec..1afe2227f8ab 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4162,3 +4162,4 @@ libgbinder.so.1 libgbinder-1.1.20_1
libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
libtpm2-totp.so.0 libtpm2-totp-0.3.0_1
libmujs.so.1.2.0 mujs-1.2.0_2
+libwget.so.1 libwget-2.0.1_1
diff --git a/srcpkgs/libwget b/srcpkgs/libwget
new file mode 120000
index 000000000000..96cec08f36ca
--- /dev/null
+++ b/srcpkgs/libwget
@@ -0,0 +1 @@
+wget2
\ No newline at end of file
diff --git a/srcpkgs/libwget-devel b/srcpkgs/libwget-devel
new file mode 120000
index 000000000000..96cec08f36ca
--- /dev/null
+++ b/srcpkgs/libwget-devel
@@ -0,0 +1 @@
+wget2
\ No newline at end of file
diff --git a/srcpkgs/wget2/template b/srcpkgs/wget2/template
new file mode 100644
index 000000000000..4cfe3863cf38
--- /dev/null
+++ b/srcpkgs/wget2/template
@@ -0,0 +1,51 @@
+# Template file for 'wget2'
+pkgname=wget2
+version=2.0.1
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config texinfo pandoc"
+makedepends="gnutls-devel zlib-devel libidn2-devel libpsl-devel
+ $(vopt_if brotli 'brotli-devel') $(vopt_if http2 'nghttp2-devel')
+ $(vopt_if gpgme 'gpgme-devel') $(vopt_if lzma 'liblzma-devel')
+ $(vopt_if bzip2 'bzip2-devel') $(vopt_if zstd 'libzstd-devel')
+ $(vopt_if pcre 'pcre2-devel')"
+depends="libwget>=${version}_${revision}"
+checkdepends="libmicrohttpd-devel gpgme"
+short_desc="GNU file and recursive website downloader"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.com/gnuwget/wget2"
+changelog="https://gitlab.com/gnuwget/wget2/-/raw/master/NEWS"
+distfiles="${GNU_SITE}/wget/wget2-${version}.tar.gz"
+checksum=0bb7fa03697bb5b8d05e1b5e15b863440826eb845874c4ffb5e32330f9845db1
+
+build_options="brotli http2 gpgme lzma bzip2 zstd pcre"
+build_options_default="brotli http2 gpgme lzma bzip2 zstd pcre"
+
+post_install() {
+ rm ${DESTDIR}/usr/bin/wget2_noinstall
+ for page in docs/man/man3/*.3; do
+ vman $page
+ done
+}
+
+libwget_package() {
+ short_desc+=" - shared libraries"
+ license="LGPL-3.0-or-later"
+ pkg_install() {
+ vmove "usr/lib/*.so.*"
+ }
+}
+
+libwget-devel_package() {
+ depends="libwget>=${version}_${revision}"
+ short_desc+=" - development files"
+ license="LGPL-3.0-or-later"
+ pkg_install() {
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove usr/share/man/man3
+ }
+}
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (30 preceding siblings ...)
2022-09-30 16:59 ` [PR PATCH] [Updated] " dexgs
@ 2022-12-30 1:58 ` github-actions
2023-01-13 2:34 ` [PR PATCH] [Closed]: " github-actions
32 siblings, 0 replies; 34+ messages in thread
From: github-actions @ 2022-12-30 1:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/39194#issuecomment-1367681370
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PR PATCH] [Closed]: New package: wget2-2.0.1
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
` (31 preceding siblings ...)
2022-12-30 1:58 ` github-actions
@ 2023-01-13 2:34 ` github-actions
32 siblings, 0 replies; 34+ messages in thread
From: github-actions @ 2023-01-13 2:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1001 bytes --]
There's a closed pull request on the void-packages repository
New package: wget2-2.0.1
https://github.com/void-linux/void-packages/pull/39194
Description:
Also included are subpackages libwget and libwget-devel.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
^ permalink raw reply [flat|nested] 34+ messages in thread
end of thread, other threads:[~2023-01-13 2:34 UTC | newest]
Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
2022-09-09 20:14 ` dexgs
2022-09-09 20:16 ` [PR PATCH] [Updated] " dexgs
2022-09-09 21:25 ` dexgs
2022-09-09 21:44 ` dexgs
2022-09-10 0:03 ` [PR REVIEW] " oreo639
2022-09-10 0:04 ` oreo639
2022-09-10 0:31 ` oreo639
2022-09-10 0:56 ` dexgs
2022-09-10 1:00 ` dexgs
2022-09-10 1:01 ` dexgs
2022-09-10 1:40 ` oreo639
2022-09-10 1:44 ` oreo639
2022-09-10 2:24 ` oreo639
2022-09-10 3:53 ` classabbyamp
2022-09-10 3:53 ` classabbyamp
2022-09-10 3:53 ` classabbyamp
2022-09-10 3:56 ` dexgs
2022-09-10 3:57 ` classabbyamp
2022-09-10 3:58 ` classabbyamp
2022-09-10 3:58 ` classabbyamp
2022-09-10 4:02 ` [PR PATCH] [Updated] " dexgs
2022-09-10 4:02 ` [PR REVIEW] " dexgs
2022-09-10 4:03 ` oreo639
2022-09-10 4:04 ` oreo639
2022-09-10 4:06 ` classabbyamp
2022-09-10 4:06 ` oreo639
2022-09-10 4:21 ` [PR PATCH] [Updated] " dexgs
2022-09-10 15:03 ` tranzystorek-io
2022-09-10 17:18 ` [PR PATCH] [Updated] " dexgs
2022-09-10 23:53 ` dexgs
2022-09-30 16:59 ` [PR PATCH] [Updated] " dexgs
2022-12-30 1:58 ` github-actions
2023-01-13 2:34 ` [PR PATCH] [Closed]: " github-actions
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).