package/libcurl: rename curl binary config symbol
PATCH v2 1/1 package/libcurl: rename curl binary config symbol
Package optional or choice config symbols are usually prefixed with the package config symbol name. Rename BR2_PACKAGE_CURL to BR2_PACKAGE_LIBCURL_CURL to conform.
Update references to the old name.
---
v2:
Rebase on current master:
* Move legacy entry to 2020.02
* Handle glslsandbox-player select
--- Config.in.legacy | 8 ++++++++ docs/manual/adding-packages-tips.txt | 2 +- package/dehydrated/Config.in | 2 +- package/glslsandbox-player/Config.in | 2 +- package/libcurl/Config.in | 2 +- package/libcurl/libcurl.mk | 2 +- 6 files changed, 13 insertions(+), 5 deletions(-)
Config.in.legacy +8 -0
@@ -146,6 +146,14 @@ endif comment "Legacy options removed in 2020.02" +config BR2_PACKAGE_CURL + bool "BR2_PACKAGE_CURL was renamed" + select BR2_PACKAGE_LIBCURL_CURL + select BR2_LEGACY + help + The BR2_PACKAGE_CURL config symbol was renamed to + BR2_PACKAGE_LIBCURL_CURL. + config BR2_PACKAGE_GSTREAMER bool "gstreamer-0.10 removed" select BR2_LEGACY
docs/manual/adding-packages-tips.txt +1 -1
@@ -98,7 +98,7 @@ config snippet. For example, here's how you would test +libcurl+ with ---- $ cat libcurl.config BR2_PACKAGE_LIBCURL=y -BR2_PACKAGE_CURL=y +BR2_PACKAGE_LIBCURL_CURL=y BR2_PACKAGE_OPENSSL=y ----
package/dehydrated/Config.in +1 -1
@@ -4,7 +4,7 @@ config BR2_PACKAGE_DEHYDRATED select BR2_PACKAGE_BASH select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_CURL + select BR2_PACKAGE_LIBCURL_CURL select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_LIBOPENSSL_BIN if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_LIBRESSL_BIN if BR2_PACKAGE_LIBRESSL
package/glslsandbox-player/Config.in +1 -1
@@ -41,7 +41,7 @@ config BR2_PACKAGE_GLSLSANDBOX_PLAYER_SCRIPTS select BR2_PACKAGE_BASH # runtime select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS if BR2_PACKAGE_BUSYBOX # bash select BR2_PACKAGE_COREUTILS # runtime (timeout) - select BR2_PACKAGE_CURL # runtime + select BR2_PACKAGE_LIBCURL_CURL # runtime select BR2_PACKAGE_IMAGEMAGICK # runtime select BR2_PACKAGE_JPEG # runtime select BR2_PACKAGE_LIBCURL # runtime
package/libcurl/Config.in +1 -1
@@ -9,7 +9,7 @@ config BR2_PACKAGE_LIBCURL if BR2_PACKAGE_LIBCURL -config BR2_PACKAGE_CURL +config BR2_PACKAGE_LIBCURL_CURL bool "curl binary" help Install curl binary as well
package/libcurl/libcurl.mk +1 -1
@@ -162,7 +162,7 @@ define LIBCURL_FIX_DOT_PC endef LIBCURL_POST_PATCH_HOOKS += $(if $(BR2_PACKAGE_LIBCURL_OPENSSL),LIBCURL_FIX_DOT_PC) -ifeq ($(BR2_PACKAGE_CURL),) +ifeq ($(BR2_PACKAGE_LIBCURL_CURL),) define LIBCURL_TARGET_CLEANUP rm -rf $(TARGET_DIR)/usr/bin/curl endef
Signature · 1 line
2.25.0
PATCH v2 1/1 package/libcurl: rename curl binary config symbol
Baruch,
Quoted 9 lines · Baruch Siach
Package optional or choice config symbols are usually prefixed with the package config symbol name. Rename
BR2_PACKAGE_CURLtoBR2_PACKAGE_LIBCURL_CURLto conform.Update references to the old name.
Cc Matt Weber <[email protected]>Signed-off-by Baruch Siach <[email protected]>
Quoted 8 lines
---
v2:Rebase on current master:
* Move legacy entry to 2020.02
* Handle glslsandbox-player select
and dehydrated
Quoted 96 lines
--- Config.in.legacy | 8 ++++++++ docs/manual/adding-packages-tips.txt | 2 +- package/dehydrated/Config.in | 2 +- package/glslsandbox-player/Config.in | 2 +- package/libcurl/Config.in | 2 +- package/libcurl/libcurl.mk | 2 +- 6 files changed, 13 insertions(+), 5 deletions(-)Config.in.legacy +8
-0@@ -146,6 +146,14 @@ endif comment "Legacy options removed in 2020.02" +config BR2_PACKAGE_CURL + bool "BR2_PACKAGE_CURL was renamed" + select BR2_PACKAGE_LIBCURL_CURL + select BR2_LEGACY + help + The BR2_PACKAGE_CURL config symbol was renamed to + BR2_PACKAGE_LIBCURL_CURL. + config BR2_PACKAGE_GSTREAMER bool "gstreamer-0.10 removed" select BR2_LEGACYdocs/manual/adding-packages-tips.txt +1
-1@@ -98,7 +98,7 @@ config snippet. For example, here's how you would test +libcurl+ with ---- $ cat libcurl.config BR2_PACKAGE_LIBCURL=y -BR2_PACKAGE_CURL=y +BR2_PACKAGE_LIBCURL_CURL=y BR2_PACKAGE_OPENSSL=y ----package/dehydrated/Config.in +1
-1@@ -4,7 +4,7 @@ config BR2_PACKAGE_DEHYDRATED select BR2_PACKAGE_BASH select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_CURL + select BR2_PACKAGE_LIBCURL_CURL select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_LIBOPENSSL_BIN if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_LIBRESSL_BIN if BR2_PACKAGE_LIBRESSLpackage/glslsandbox-player/Config.in +1
-1@@ -41,7 +41,7 @@ config BR2_PACKAGE_GLSLSANDBOX_PLAYER_SCRIPTS select BR2_PACKAGE_BASH # runtime select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS if BR2_PACKAGE_BUSYBOX # bash select BR2_PACKAGE_COREUTILS # runtime (timeout) - select BR2_PACKAGE_CURL # runtime + select BR2_PACKAGE_LIBCURL_CURL # runtime select BR2_PACKAGE_IMAGEMAGICK # runtime select BR2_PACKAGE_JPEG # runtime select BR2_PACKAGE_LIBCURL # runtimepackage/libcurl/Config.in +1
-1@@ -9,7 +9,7 @@ config BR2_PACKAGE_LIBCURL if BR2_PACKAGE_LIBCURL -config BR2_PACKAGE_CURL +config BR2_PACKAGE_LIBCURL_CURL bool "curl binary" help Install curl binary as wellpackage/libcurl/libcurl.mk +1
-2@@ -162,7 +162,7 @@ define LIBCURL_FIX_DOT_PC endef LIBCURL_POST_PATCH_HOOKS += $(if $(BR2_PACKAGE_LIBCURL_OPENSSL),LIBCURL_FIX_DOT_PC) -ifeq ($(BR2_PACKAGE_CURL),) +ifeq ($(BR2_PACKAGE_LIBCURL_CURL),) define LIBCURL_TARGET_CLEANUP rm -rf $(TARGET_DIR)/usr/bin/curl endef --2.25.0
PATCH v2 1/1 package/libcurl: rename curl binary config symbol
Hi Matthew,
Quoted 6 lines · Matthew Weber
Quoted 5 lines · Baruch Siach
Package optional or choice config symbols are usually prefixed with the package config symbol name. Rename
BR2_PACKAGE_CURLtoBR2_PACKAGE_LIBCURL_CURLto conform.
Quoted 6 lines
Quoted 4 lines
Update references to the old name.
Cc Matt Weber <[email protected]>Signed-off-by Baruch Siach <[email protected]>Reviewed-by Matt Weber <[email protected]>
Thanks.
Quoted 9 lines
Quoted 7 lines
v2:
Rebase on current master:
* Move legacy entry to 2020.02
* Handle glslsandbox-player select
and dehydrated
Handled in v1 already:
http://patchwork.ozlabs.org/patch/1177708/
baruch
Quoted 94 lines
Quoted 94 lines
--- Config.in.legacy | 8 ++++++++ docs/manual/adding-packages-tips.txt | 2 +- package/dehydrated/Config.in | 2 +- package/glslsandbox-player/Config.in | 2 +- package/libcurl/Config.in | 2 +- package/libcurl/libcurl.mk | 2 +- 6 files changed, 13 insertions(+), 5 deletions(-)Config.in.legacy +8
-0@@ -146,6 +146,14 @@ endif comment "Legacy options removed in 2020.02" +config BR2_PACKAGE_CURL + bool "BR2_PACKAGE_CURL was renamed" + select BR2_PACKAGE_LIBCURL_CURL + select BR2_LEGACY + help + The BR2_PACKAGE_CURL config symbol was renamed to + BR2_PACKAGE_LIBCURL_CURL. + config BR2_PACKAGE_GSTREAMER bool "gstreamer-0.10 removed" select BR2_LEGACYdocs/manual/adding-packages-tips.txt +1
-1@@ -98,7 +98,7 @@ config snippet. For example, here's how you would test +libcurl+ with ---- $ cat libcurl.config BR2_PACKAGE_LIBCURL=y -BR2_PACKAGE_CURL=y +BR2_PACKAGE_LIBCURL_CURL=y BR2_PACKAGE_OPENSSL=y ----package/dehydrated/Config.in +1
-1@@ -4,7 +4,7 @@ config BR2_PACKAGE_DEHYDRATED select BR2_PACKAGE_BASH select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_CURL + select BR2_PACKAGE_LIBCURL_CURL select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_LIBOPENSSL_BIN if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_LIBRESSL_BIN if BR2_PACKAGE_LIBRESSLpackage/glslsandbox-player/Config.in +1
-1@@ -41,7 +41,7 @@ config BR2_PACKAGE_GLSLSANDBOX_PLAYER_SCRIPTS select BR2_PACKAGE_BASH # runtime select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS if BR2_PACKAGE_BUSYBOX # bash select BR2_PACKAGE_COREUTILS # runtime (timeout) - select BR2_PACKAGE_CURL # runtime + select BR2_PACKAGE_LIBCURL_CURL # runtime select BR2_PACKAGE_IMAGEMAGICK # runtime select BR2_PACKAGE_JPEG # runtime select BR2_PACKAGE_LIBCURL # runtimepackage/libcurl/Config.in +1
-1@@ -9,7 +9,7 @@ config BR2_PACKAGE_LIBCURL if BR2_PACKAGE_LIBCURL -config BR2_PACKAGE_CURL +config BR2_PACKAGE_LIBCURL_CURL bool "curl binary" help Install curl binary as wellpackage/libcurl/libcurl.mk +1
-1@@ -162,7 +162,7 @@ define LIBCURL_FIX_DOT_PC endef LIBCURL_POST_PATCH_HOOKS += $(if $(BR2_PACKAGE_LIBCURL_OPENSSL),LIBCURL_FIX_DOT_PC) -ifeq ($(BR2_PACKAGE_CURL),) +ifeq ($(BR2_PACKAGE_LIBCURL_CURL),) define LIBCURL_TARGET_CLEANUP rm -rf $(TARGET_DIR)/usr/bin/curl endef
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -PATCH v2 1/1 package/libcurl: rename curl binary config symbol
In reply to Baruch SiachQuoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
Package optional or choice config symbols are usually prefixed with the package config symbol name. Rename
BR2_PACKAGE_CURLtoBR2_PACKAGE_LIBCURL_CURLto conform.Update references to the old name.
Cc Matt Weber <[email protected]>Signed-off-by Baruch Siach <[email protected]>
Quoted 8 lines
---
v2:Rebase on current master:
* Move legacy entry to 2020.02
* Handle glslsandbox-player select
I'm personally not super thrilled about the breakage in various custom configs, but OK - It is indeed "odd" to have a suboption not prefixed with _LIBCURL and nobody gave any negative feedback - So committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard