package/wcurl: new package
PATCH v2 1/1 package/wcurl: new package
wcurl is a command line tool which lets you download URLs without having to remember any parameters.
---v1->v2:
Fix runtime dependencies (Baruch Siach)
DEVELOPERS | 1 + package/Config.in | 1 + package/wcurl/Config.in | 9 +++++++++ package/wcurl/wcurl.hash | 3 +++ package/wcurl/wcurl.mk | 16 ++++++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/wcurl/Config.in create mode 100644 package/wcurl/wcurl.hash create mode 100644 package/wcurl/wcurl.mk
DEVELOPERS +1 -0
@@ -242,6 +242,7 @@ F: package/sam-ba/ F: package/sshguard/ F: package/sunwait/ F: package/sysdig/ +F: package/wcurl/ N: Andy Shevchenko <[email protected]> F: package/fb-test-app/
package/Config.in +1 -0
@@ -2724,6 +2724,7 @@ endif source "package/vsftpd/Config.in" source "package/vtun/Config.in" source "package/wavemon/Config.in" + source "package/wcurl/Config.in" source "package/wget/Config.in" source "package/whois/Config.in" source "package/wireguard-linux-compat/Config.in"
package/wcurl/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_WCURL + bool "wcurl" + depends on BR2_PACKAGE_LIBCURL # runtime + depends on BR2_PACKAGE_LIBCURL_CURL # runtime + help + wcurl is a small command-line tool that wraps curl for easier use + when downloading files from the web. + + https://curl.se/wcurl/
package/wcurl/wcurl.hash new file +3 -0
@@ -0,0 +1,3 @@ +# sha256 locally computed +sha256 a745475f3511090685c4d000a10f4155147b75a8c7781764612a7e8f67bb6d82 wcurl-2025.05.26.tar.gz +sha256 0127bdd267b1fa65bf5a6c487c907948e0c009aa35a5949c8aed91f779d27810 LICENSE
package/wcurl/wcurl.mk new file +16 -0
@@ -0,0 +1,16 @@ +################################################################################ +# +# wcurl +# +################################################################################ + +WCURL_VERSION = 2025.05.26 +WCURL_SITE = $(call github,curl,wcurl,v$(WCURL_VERSION)) +WCURL_LICENSE = curl +WCURL_LICENSE_FILES = LICENSE + +define FOO_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/wcurl $(TARGET_DIR)/usr/bin +endef + +$(eval $(generic-package))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Angelo,
Quoted 4 lines · Angelo Compagnucci
wcurl is a command line tool which lets you download URLs without having to remember any parameters.
Signed-off-by Angelo Compagnucci <[email protected]>
[...]
package/wcurl/Config.in line 4
Quoted 10 lines
package/wcurl/Config.in new file +4
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_WCURL + bool "wcurl" + depends on BR2_PACKAGE_LIBCURL # runtime + depends on BR2_PACKAGE_LIBCURL_CURL # runtime
Why not 'select'?
You don't provide a comment to guide the user about these dependencies. With 'select', no comment is needed.
baruch
Quoted 36 lines
package/wcurl/Config.in new file +5
-0+ help + wcurl is a small command-line tool that wraps curl for easier use + when downloading files from the web. + + https://curl.se/wcurl/package/wcurl/wcurl.hash new file +3
-0@@ -0,0 +1,3 @@ +# sha256 locally computed +sha256 a745475f3511090685c4d000a10f4155147b75a8c7781764612a7e8f67bb6d82 wcurl-2025.05.26.tar.gz +sha256 0127bdd267b1fa65bf5a6c487c907948e0c009aa35a5949c8aed91f779d27810 LICENSEpackage/wcurl/wcurl.mk new file +16
-0@@ -0,0 +1,16 @@ +################################################################################ +# +# wcurl +# +################################################################################ + +WCURL_VERSION = 2025.05.26 +WCURL_SITE = $(call github,curl,wcurl,v$(WCURL_VERSION)) +WCURL_LICENSE = curl +WCURL_LICENSE_FILES = LICENSE + +define FOO_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/wcurl $(TARGET_DIR)/usr/bin +endef + +$(eval $(generic-package))
Signature · 7 lines
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- [email protected] - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildrootIl giorno gio 21 ago 2025 alle ore 20:49 Baruch Siach <[email protected]> ha scritto:
Quoted 24 lines
Hi Angelo,
Quoted 1 line · Angelo Compagnucci
wcurl is a command line tool which lets you download URLs without having
to
Quoted 3 lines
remember any parameters.
Signed-off-by Angelo Compagnucci <[email protected]>[...]
package/wcurl/Config.in line 4
Quoted 10 lines
package/wcurl/Config.in new file +4
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_WCURL + bool "wcurl" + depends on BR2_PACKAGE_LIBCURL # runtime + depends on BR2_PACKAGE_LIBCURL_CURL # runtimeWhy not 'select'?
Quoted 3 lines
You don't provide a comment to guide the user about these dependencies. With 'select', no comment is needed.
Well, libcurl has several dependencies, and therefore selecting it didn't sound right to me.
I mean, I want wcurl installed, wcurl selects libcurl which cannot be built because some dependency is not met, It doesn't sound right.
I think this is something for the maintainers to decide, but let me know what you think and I'll happily respin.
Quoted 51 lines
baruch
package/wcurl/wcurl.hash line 2
Quoted 13 lines
package/wcurl/Config.in new file +5
-0+ help + wcurl is a small command-line tool that wraps curl for easier use + when downloading files from the web. + + https://curl.se/wcurl/package/wcurl/wcurl.hash new file +2
-0@@ -0,0 +1,3 @@ +# sha256 locally computed +sha256
a745475f3511090685c4d000a10f4155147b75a8c7781764612a7e8f67bb6d82wcurl-2025.05.26.tar.gzpackage/wcurl/wcurl.hash line 3
Quoted 1 line
package/wcurl/wcurl.hash new file +1
-0+sha256
0127bdd267b1fa65bf5a6c487c907948e0c009aa35a5949c8aed91f779d27810LICENSEpackage/wcurl/wcurl.mk
Quoted 7 lines
package/wcurl/wcurl.mk new file +0
-0@@ -0,0 +1,16 @@+################################################################################
package/wcurl/wcurl.mk line 4
Quoted 4 lines
package/wcurl/wcurl.mk new file +3
-0+# +# wcurl +#+################################################################################
package/wcurl/wcurl.mk line 16
Quoted 11 lines
package/wcurl/wcurl.mk new file +11
-0+ +WCURL_VERSION = 2025.05.26 +WCURL_SITE = $(call github,curl,wcurl,v$(WCURL_VERSION)) +WCURL_LICENSE = curl +WCURL_LICENSE_FILES = LICENSE + +define FOO_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/wcurl $(TARGET_DIR)/usr/bin +endef + +$(eval $(generic-package))--
~. .~ Tk OpenSystems =}------------------------------------------------ooO--U--Ooo------------{=
- [email protected] - tel: +972.52.368.4656, http://www.tkos.co.il -
Signature · 1 line
Profile: http://it.linkedin.com/in/compagnucciangelo
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Algelo,
Quoted 23 lines · Angelo Compagnucci
Il giorno gio 21 ago 2025 alle ore 20:49 Baruch Siach <[email protected]> ha scritto:
Quoted 4 lines · Angelo Compagnucci
wcurl is a command line tool which lets you download URLs without having to remember any parameters.
Signed-off-by Angelo Compagnucci <[email protected]>[...]
package/wcurl/Config.in line 4
Quoted 10 lines
package/wcurl/Config.in new file +4
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_WCURL + bool "wcurl" + depends on BR2_PACKAGE_LIBCURL # runtime + depends on BR2_PACKAGE_LIBCURL_CURL # runtimeWhy not 'select'?
Quoted 7 lines
You don't provide a comment to guide the user about these dependencies. With 'select', no comment is needed.
Well, libcurl has several dependencies, and therefore selecting it didn't sound right to me. I mean, I want wcurl installed, wcurl selects libcurl which cannot be built because some dependency is not met, It doesn't sound right.
BR2_PACKAGE_LIBCURL needs no dependency. Over 40 packages select BR2_PACKAGE_LIBCURL already in Buildroot.
Surely when you 'select' a package you need to propagate its 'depends' to avoid the issue you mentioned. But in the case of BR2_PACKAGE_LIBCURL there is no such 'depends'.
baruch
Quoted 42 lines
I think this is something for the maintainers to decide, but let me know what you think and I'll happily respin.
baruch
Quoted 36 lines
package/wcurl/Config.in new file +5
-0+ help + wcurl is a small command-line tool that wraps curl for easier use + when downloading files from the web. + + https://curl.se/wcurl/package/wcurl/wcurl.hash new file +3
-0@@ -0,0 +1,3 @@ +# sha256 locally computed +sha256 a745475f3511090685c4d000a10f4155147b75a8c7781764612a7e8f67bb6d82 wcurl-2025.05.26.tar.gz +sha256 0127bdd267b1fa65bf5a6c487c907948e0c009aa35a5949c8aed91f779d27810 LICENSEpackage/wcurl/wcurl.mk new file +16
-0@@ -0,0 +1,16 @@ +################################################################################ +# +# wcurl +# +################################################################################ + +WCURL_VERSION = 2025.05.26 +WCURL_SITE = $(call github,curl,wcurl,v$(WCURL_VERSION)) +WCURL_LICENSE = curl +WCURL_LICENSE_FILES = LICENSE + +define FOO_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/wcurl $(TARGET_DIR)/usr/bin +endef + +$(eval $(generic-package))
Signature · 7 lines
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- [email protected] - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot