All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/8] package/opkg: bump version to 0.6.2
@ 2023-10-23  9:24 Adam Duskett
  2023-10-23  9:24 ` [Buildroot] [PATCH 2/8] package/opkg-utils: " Adam Duskett
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Adam Duskett @ 2023-10-23  9:24 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett, Thomas De Schampheleire

Tested in Fedora 39 and Debian 11 with:
./support/testing/run-tests tests.package.test_opkg.TestOpkg.test_run

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/opkg/opkg.hash | 2 +-
 package/opkg/opkg.mk   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/opkg/opkg.hash b/package/opkg/opkg.hash
index b0c0ba6574..c6ecefba21 100644
--- a/package/opkg/opkg.hash
+++ b/package/opkg/opkg.hash
@@ -1,4 +1,4 @@
 # From http://downloads.yoctoproject.org/releases/opkg/SHA256SUMS
-sha256  a1214a75fa34fb9228db8da47308e0e711b1c93fd8938cf164c10fd28eb50f1e  opkg-0.4.5.tar.gz
+sha256  ac73a90a2549cd04948e563d915912c78e1b8ba0f43af75c5a53fcca474adbd5  opkg-0.6.2.tar.gz
 # Locally calculated
 sha256  32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670  COPYING
diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
index 501edcf8af..9b1ffb3c74 100644
--- a/package/opkg/opkg.mk
+++ b/package/opkg/opkg.mk
@@ -4,13 +4,13 @@
 #
 ################################################################################
 
-OPKG_VERSION = 0.4.5
+OPKG_VERSION = 0.6.2
 OPKG_SITE = https://downloads.yoctoproject.org/releases/opkg
 OPKG_DEPENDENCIES = host-pkgconf libarchive
 OPKG_LICENSE = GPL-2.0+
 OPKG_LICENSE_FILES = COPYING
 OPKG_INSTALL_STAGING = YES
-OPKG_CONF_OPTS = --disable-curl
+OPKG_CONF_OPTS = --disable-curl --disable-zstd
 
 # Ensure directory for lockfile exists
 define OPKG_CREATE_LOCKDIR
-- 
2.41.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 2/8] package/opkg-utils: bump version to 0.6.2
  2023-10-23  9:24 [Buildroot] [PATCH 1/8] package/opkg: bump version to 0.6.2 Adam Duskett
@ 2023-10-23  9:24 ` Adam Duskett
  2023-10-23 17:21   ` Yann E. MORIN
  2023-10-23  9:24 ` [Buildroot] [PATCH 3/8] package/opkg: add zstd support Adam Duskett
                   ` (6 subsequent siblings)
  7 siblings, 1 reply; 12+ messages in thread
From: Adam Duskett @ 2023-10-23  9:24 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett, Thomas De Schampheleire

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/opkg-utils/opkg-utils.hash | 2 +-
 package/opkg-utils/opkg-utils.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/opkg-utils/opkg-utils.hash b/package/opkg-utils/opkg-utils.hash
index 29671f9609..7aabe4d1a1 100644
--- a/package/opkg-utils/opkg-utils.hash
+++ b/package/opkg-utils/opkg-utils.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  e0fcaab51bff2149bd6560fb4238319d502dd99b581f66763d702e75c224736d  opkg-utils-0.4.5-br1.tar.gz
+sha256  ad4fb6d01f2f18e986c556cca1ade584b109c277794af15977c354d2ecef9b52  opkg-utils-0.6.2-br1.tar.gz
 sha256  32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670  COPYING
diff --git a/package/opkg-utils/opkg-utils.mk b/package/opkg-utils/opkg-utils.mk
index 384a7323ee..b077e0dcce 100644
--- a/package/opkg-utils/opkg-utils.mk
+++ b/package/opkg-utils/opkg-utils.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-OPKG_UTILS_VERSION = 0.4.5
+OPKG_UTILS_VERSION = 0.6.2
 OPKG_UTILS_SITE = https://git.yoctoproject.org/git/opkg-utils
 OPKG_UTILS_SITE_METHOD = git
 OPKG_UTILS_LICENSE = GPL-2.0+
-- 
2.41.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 3/8] package/opkg: add zstd support
  2023-10-23  9:24 [Buildroot] [PATCH 1/8] package/opkg: bump version to 0.6.2 Adam Duskett
  2023-10-23  9:24 ` [Buildroot] [PATCH 2/8] package/opkg-utils: " Adam Duskett
@ 2023-10-23  9:24 ` Adam Duskett
  2023-10-23 17:25   ` Yann E. MORIN
  2023-10-23  9:24 ` [Buildroot] [PATCH 4/8] package/opkg: add xz suspport Adam Duskett
                   ` (5 subsequent siblings)
  7 siblings, 1 reply; 12+ messages in thread
From: Adam Duskett @ 2023-10-23  9:24 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett, Thomas De Schampheleire

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/opkg/Config.in | 8 ++++++++
 package/opkg/opkg.mk   | 9 ++++++++-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/package/opkg/Config.in b/package/opkg/Config.in
index 1f6a39343f..c3c2463393 100644
--- a/package/opkg/Config.in
+++ b/package/opkg/Config.in
@@ -30,4 +30,12 @@ config BR2_PACKAGE_OPKG_GPG_SIGN
 	  Enable opkg package signature checking support using
 	  gnupg/libgpgme.
 
+comment "compression support"
+
+config BR2_PACKAGE_OPKG_ZSTD
+	bool "zstd support"
+	select BR2_PACKAGE_ZSTD
+	help
+	  Enable zstd compressor support.
+
 endif
diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
index 9b1ffb3c74..605d4de82f 100644
--- a/package/opkg/opkg.mk
+++ b/package/opkg/opkg.mk
@@ -10,7 +10,7 @@ OPKG_DEPENDENCIES = host-pkgconf libarchive
 OPKG_LICENSE = GPL-2.0+
 OPKG_LICENSE_FILES = COPYING
 OPKG_INSTALL_STAGING = YES
-OPKG_CONF_OPTS = --disable-curl --disable-zstd
+OPKG_CONF_OPTS = --disable-curl
 
 # Ensure directory for lockfile exists
 define OPKG_CREATE_LOCKDIR
@@ -27,6 +27,13 @@ else
 OPKG_CONF_OPTS += --disable-gpg
 endif
 
+ifeq ($(BR2_PACKAGE_OPKG_ZSTD),y)
+OPKG_DEPENDENCIES += zstd
+OPKG_CONF_OPTS += --enable-zstd
+else
+OPKG_CONF_OPTS += --disable-zstd
+endif
+
 OPKG_POST_INSTALL_TARGET_HOOKS += OPKG_CREATE_LOCKDIR
 
 $(eval $(autotools-package))
-- 
2.41.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 4/8] package/opkg: add xz suspport
  2023-10-23  9:24 [Buildroot] [PATCH 1/8] package/opkg: bump version to 0.6.2 Adam Duskett
  2023-10-23  9:24 ` [Buildroot] [PATCH 2/8] package/opkg-utils: " Adam Duskett
  2023-10-23  9:24 ` [Buildroot] [PATCH 3/8] package/opkg: add zstd support Adam Duskett
@ 2023-10-23  9:24 ` Adam Duskett
  2023-10-23  9:24 ` [Buildroot] [PATCH 5/8] package/opkg: Add lz4 support Adam Duskett
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 12+ messages in thread
From: Adam Duskett @ 2023-10-23  9:24 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett, Thomas De Schampheleire

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/opkg/Config.in | 6 ++++++
 package/opkg/opkg.mk   | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/package/opkg/Config.in b/package/opkg/Config.in
index c3c2463393..679214beea 100644
--- a/package/opkg/Config.in
+++ b/package/opkg/Config.in
@@ -32,6 +32,12 @@ config BR2_PACKAGE_OPKG_GPG_SIGN
 
 comment "compression support"
 
+config BR2_PACKAGE_OPKG_XZ
+	bool "xz support"
+	select BR2_PACKAGE_XZ
+	help
+	  Enable xz compressor support.
+
 config BR2_PACKAGE_OPKG_ZSTD
 	bool "zstd support"
 	select BR2_PACKAGE_ZSTD
diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
index 605d4de82f..e32dd1a84c 100644
--- a/package/opkg/opkg.mk
+++ b/package/opkg/opkg.mk
@@ -27,6 +27,13 @@ else
 OPKG_CONF_OPTS += --disable-gpg
 endif
 
+ifeq ($(BR2_PACKAGE_OPKG_XZ),y)
+OPKG_DEPENDENCIES += xz
+OPKG_CONF_OPTS += --enable-xz
+else
+OPKG_CONF_OPTS += --disable-xz
+endif
+
 ifeq ($(BR2_PACKAGE_OPKG_ZSTD),y)
 OPKG_DEPENDENCIES += zstd
 OPKG_CONF_OPTS += --enable-zstd
-- 
2.41.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 5/8] package/opkg: Add lz4 support
  2023-10-23  9:24 [Buildroot] [PATCH 1/8] package/opkg: bump version to 0.6.2 Adam Duskett
                   ` (2 preceding siblings ...)
  2023-10-23  9:24 ` [Buildroot] [PATCH 4/8] package/opkg: add xz suspport Adam Duskett
@ 2023-10-23  9:24 ` Adam Duskett
  2023-10-23  9:24 ` [Buildroot] [PATCH 6/8] package/opkg: add bzip2 support Adam Duskett
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 12+ messages in thread
From: Adam Duskett @ 2023-10-23  9:24 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett, Thomas De Schampheleire

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/opkg/Config.in | 6 ++++++
 package/opkg/opkg.mk   | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/package/opkg/Config.in b/package/opkg/Config.in
index 679214beea..69378c0de7 100644
--- a/package/opkg/Config.in
+++ b/package/opkg/Config.in
@@ -32,6 +32,12 @@ config BR2_PACKAGE_OPKG_GPG_SIGN
 
 comment "compression support"
 
+config BR2_PACKAGE_OPKG_LZ4
+	bool "lz4 support"
+	select BR2_PACKAGE_XZ
+	help
+	  Enable lz4 compressor support.
+
 config BR2_PACKAGE_OPKG_XZ
 	bool "xz support"
 	select BR2_PACKAGE_XZ
diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
index e32dd1a84c..270a7a1a75 100644
--- a/package/opkg/opkg.mk
+++ b/package/opkg/opkg.mk
@@ -27,6 +27,13 @@ else
 OPKG_CONF_OPTS += --disable-gpg
 endif
 
+ifeq ($(BR2_PACKAGE_OPKG_LZ4),y)
+OPKG_DEPENDENCIES += lz4
+OPKG_CONF_OPTS += --enable-lz4
+else
+OPKG_CONF_OPTS += --disable-lz4
+endif
+
 ifeq ($(BR2_PACKAGE_OPKG_XZ),y)
 OPKG_DEPENDENCIES += xz
 OPKG_CONF_OPTS += --enable-xz
-- 
2.41.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 6/8] package/opkg: add bzip2 support
  2023-10-23  9:24 [Buildroot] [PATCH 1/8] package/opkg: bump version to 0.6.2 Adam Duskett
                   ` (3 preceding siblings ...)
  2023-10-23  9:24 ` [Buildroot] [PATCH 5/8] package/opkg: Add lz4 support Adam Duskett
@ 2023-10-23  9:24 ` Adam Duskett
  2023-10-23  9:25 ` [Buildroot] [PATCH 7/8] package/opkg: add curl support Adam Duskett
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 12+ messages in thread
From: Adam Duskett @ 2023-10-23  9:24 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett, Thomas De Schampheleire

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/opkg/Config.in | 6 ++++++
 package/opkg/opkg.mk   | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/package/opkg/Config.in b/package/opkg/Config.in
index 69378c0de7..7bc02e429e 100644
--- a/package/opkg/Config.in
+++ b/package/opkg/Config.in
@@ -32,6 +32,12 @@ config BR2_PACKAGE_OPKG_GPG_SIGN
 
 comment "compression support"
 
+config BR2_PACKAGE_OPKG_BZIP2
+	bool "bzip2 support"
+	select BR2_PACKAGE_BZIP2
+	help
+	  Enable bzip2 compressor support.
+
 config BR2_PACKAGE_OPKG_LZ4
 	bool "lz4 support"
 	select BR2_PACKAGE_XZ
diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
index 270a7a1a75..ee14e774e3 100644
--- a/package/opkg/opkg.mk
+++ b/package/opkg/opkg.mk
@@ -27,6 +27,13 @@ else
 OPKG_CONF_OPTS += --disable-gpg
 endif
 
+ifeq ($(BR2_PACKAGE_OPKG_BZIP2),y)
+OPKG_DEPENDENCIES += bzip2
+OPKG_CONF_OPTS += --enable-bzip2
+else
+OPKG_CONF_OPTS += --disable-bzip2
+endif
+
 ifeq ($(BR2_PACKAGE_OPKG_LZ4),y)
 OPKG_DEPENDENCIES += lz4
 OPKG_CONF_OPTS += --enable-lz4
-- 
2.41.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 7/8] package/opkg: add curl support
  2023-10-23  9:24 [Buildroot] [PATCH 1/8] package/opkg: bump version to 0.6.2 Adam Duskett
                   ` (4 preceding siblings ...)
  2023-10-23  9:24 ` [Buildroot] [PATCH 6/8] package/opkg: add bzip2 support Adam Duskett
@ 2023-10-23  9:25 ` Adam Duskett
  2023-10-23  9:25 ` [Buildroot] [PATCH 8/8] package/opkg: add sha256sum support Adam Duskett
  2023-10-23 17:20 ` [Buildroot] [PATCH 1/8] package/opkg: bump version to 0.6.2 Yann E. MORIN
  7 siblings, 0 replies; 12+ messages in thread
From: Adam Duskett @ 2023-10-23  9:25 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett, Thomas De Schampheleire

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/opkg/Config.in |  6 ++++++
 package/opkg/opkg.mk   | 13 ++++++++++++-
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/package/opkg/Config.in b/package/opkg/Config.in
index 7bc02e429e..adf39ca145 100644
--- a/package/opkg/Config.in
+++ b/package/opkg/Config.in
@@ -21,6 +21,12 @@ config BR2_PACKAGE_OPKG
 
 if BR2_PACKAGE_OPKG
 
+config BR2_PACKAGE_OPKG_CURL
+	bool "curl support"
+	select BR2_PACKAGE_LIBCURL
+	help
+	  Enable downloading with curl.
+
 config BR2_PACKAGE_OPKG_GPG_SIGN
 	bool "gnupg support"
 	depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error
diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
index ee14e774e3..730aa4cfe7 100644
--- a/package/opkg/opkg.mk
+++ b/package/opkg/opkg.mk
@@ -10,13 +10,24 @@ OPKG_DEPENDENCIES = host-pkgconf libarchive
 OPKG_LICENSE = GPL-2.0+
 OPKG_LICENSE_FILES = COPYING
 OPKG_INSTALL_STAGING = YES
-OPKG_CONF_OPTS = --disable-curl
 
 # Ensure directory for lockfile exists
 define OPKG_CREATE_LOCKDIR
 	mkdir -p $(TARGET_DIR)/usr/lib/opkg
 endef
 
+ifeq ($(BR2_PACKAGE_OPKG_CURL),y)
+OPKG_DEPENDENCIES += libcurl
+OPKG_CONF_OPTS += --enable-curl
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+OPKG_CONF_OPTS += --enable-ssl-curl
+else
+OPKG_CONF_OPTS += --disable-ssl-curl
+endif
+else
+OPKG_CONF_OPTS += --disable-curl --disable-ssl-curl
+endif
+
 ifeq ($(BR2_PACKAGE_OPKG_GPG_SIGN),y)
 OPKG_CONF_OPTS += --enable-gpg
 OPKG_CONF_ENV += \
-- 
2.41.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [Buildroot] [PATCH 8/8] package/opkg: add sha256sum support
  2023-10-23  9:24 [Buildroot] [PATCH 1/8] package/opkg: bump version to 0.6.2 Adam Duskett
                   ` (5 preceding siblings ...)
  2023-10-23  9:25 ` [Buildroot] [PATCH 7/8] package/opkg: add curl support Adam Duskett
@ 2023-10-23  9:25 ` Adam Duskett
  2023-10-23 17:26   ` Yann E. MORIN
  2023-10-23 17:20 ` [Buildroot] [PATCH 1/8] package/opkg: bump version to 0.6.2 Yann E. MORIN
  7 siblings, 1 reply; 12+ messages in thread
From: Adam Duskett @ 2023-10-23  9:25 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett, Thomas De Schampheleire

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
 package/opkg/Config.in | 5 +++++
 package/opkg/opkg.mk   | 6 ++++++
 2 files changed, 11 insertions(+)

diff --git a/package/opkg/Config.in b/package/opkg/Config.in
index adf39ca145..0104f48623 100644
--- a/package/opkg/Config.in
+++ b/package/opkg/Config.in
@@ -36,6 +36,11 @@ config BR2_PACKAGE_OPKG_GPG_SIGN
 	  Enable opkg package signature checking support using
 	  gnupg/libgpgme.
 
+config BR2_PACKAGE_OPKG_SHA256
+	bool "sha256sum check support"
+	help
+	  Enable sha256sum check
+
 comment "compression support"
 
 config BR2_PACKAGE_OPKG_BZIP2
diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
index 730aa4cfe7..ce0b74f549 100644
--- a/package/opkg/opkg.mk
+++ b/package/opkg/opkg.mk
@@ -38,6 +38,12 @@ else
 OPKG_CONF_OPTS += --disable-gpg
 endif
 
+ifeq ($(BR2_PACKAGE_OPKG_SHA256),y)
+OPKG_CONF_OPTS += --enable-sha256
+else
+OPKG_CONF_OPTS += --disable-sha256
+endif
+
 ifeq ($(BR2_PACKAGE_OPKG_BZIP2),y)
 OPKG_DEPENDENCIES += bzip2
 OPKG_CONF_OPTS += --enable-bzip2
-- 
2.41.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [Buildroot] [PATCH 1/8] package/opkg: bump version to 0.6.2
  2023-10-23  9:24 [Buildroot] [PATCH 1/8] package/opkg: bump version to 0.6.2 Adam Duskett
                   ` (6 preceding siblings ...)
  2023-10-23  9:25 ` [Buildroot] [PATCH 8/8] package/opkg: add sha256sum support Adam Duskett
@ 2023-10-23 17:20 ` Yann E. MORIN
  7 siblings, 0 replies; 12+ messages in thread
From: Yann E. MORIN @ 2023-10-23 17:20 UTC (permalink / raw)
  To: Adam Duskett; +Cc: Thomas De Schampheleire, buildroot

Adam, All,

On 2023-10-23 11:24 +0200, Adam Duskett spake thusly:
> Tested in Fedora 39 and Debian 11 with:
> ./support/testing/run-tests tests.package.test_opkg.TestOpkg.test_run
> 
> Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/opkg/opkg.hash | 2 +-
>  package/opkg/opkg.mk   | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/package/opkg/opkg.hash b/package/opkg/opkg.hash
> index b0c0ba6574..c6ecefba21 100644
> --- a/package/opkg/opkg.hash
> +++ b/package/opkg/opkg.hash
> @@ -1,4 +1,4 @@
>  # From http://downloads.yoctoproject.org/releases/opkg/SHA256SUMS
> -sha256  a1214a75fa34fb9228db8da47308e0e711b1c93fd8938cf164c10fd28eb50f1e  opkg-0.4.5.tar.gz
> +sha256  ac73a90a2549cd04948e563d915912c78e1b8ba0f43af75c5a53fcca474adbd5  opkg-0.6.2.tar.gz
>  # Locally calculated
>  sha256  32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670  COPYING
> diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
> index 501edcf8af..9b1ffb3c74 100644
> --- a/package/opkg/opkg.mk
> +++ b/package/opkg/opkg.mk
> @@ -4,13 +4,13 @@
>  #
>  ################################################################################
>  
> -OPKG_VERSION = 0.4.5
> +OPKG_VERSION = 0.6.2
>  OPKG_SITE = https://downloads.yoctoproject.org/releases/opkg
>  OPKG_DEPENDENCIES = host-pkgconf libarchive
>  OPKG_LICENSE = GPL-2.0+
>  OPKG_LICENSE_FILES = COPYING
>  OPKG_INSTALL_STAGING = YES
> -OPKG_CONF_OPTS = --disable-curl
> +OPKG_CONF_OPTS = --disable-curl --disable-zstd
>  
>  # Ensure directory for lockfile exists
>  define OPKG_CREATE_LOCKDIR
> -- 
> 2.41.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Buildroot] [PATCH 2/8] package/opkg-utils: bump version to 0.6.2
  2023-10-23  9:24 ` [Buildroot] [PATCH 2/8] package/opkg-utils: " Adam Duskett
@ 2023-10-23 17:21   ` Yann E. MORIN
  0 siblings, 0 replies; 12+ messages in thread
From: Yann E. MORIN @ 2023-10-23 17:21 UTC (permalink / raw)
  To: Adam Duskett; +Cc: Thomas De Schampheleire, buildroot

Aam, All,

On 2023-10-23 11:24 +0200, Adam Duskett spake thusly:
> Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/opkg-utils/opkg-utils.hash | 2 +-
>  package/opkg-utils/opkg-utils.mk   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/opkg-utils/opkg-utils.hash b/package/opkg-utils/opkg-utils.hash
> index 29671f9609..7aabe4d1a1 100644
> --- a/package/opkg-utils/opkg-utils.hash
> +++ b/package/opkg-utils/opkg-utils.hash
> @@ -1,3 +1,3 @@
>  # Locally calculated
> -sha256  e0fcaab51bff2149bd6560fb4238319d502dd99b581f66763d702e75c224736d  opkg-utils-0.4.5-br1.tar.gz
> +sha256  ad4fb6d01f2f18e986c556cca1ade584b109c277794af15977c354d2ecef9b52  opkg-utils-0.6.2-br1.tar.gz
>  sha256  32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670  COPYING
> diff --git a/package/opkg-utils/opkg-utils.mk b/package/opkg-utils/opkg-utils.mk
> index 384a7323ee..b077e0dcce 100644
> --- a/package/opkg-utils/opkg-utils.mk
> +++ b/package/opkg-utils/opkg-utils.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -OPKG_UTILS_VERSION = 0.4.5
> +OPKG_UTILS_VERSION = 0.6.2
>  OPKG_UTILS_SITE = https://git.yoctoproject.org/git/opkg-utils
>  OPKG_UTILS_SITE_METHOD = git
>  OPKG_UTILS_LICENSE = GPL-2.0+
> -- 
> 2.41.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Buildroot] [PATCH 3/8] package/opkg: add zstd support
  2023-10-23  9:24 ` [Buildroot] [PATCH 3/8] package/opkg: add zstd support Adam Duskett
@ 2023-10-23 17:25   ` Yann E. MORIN
  0 siblings, 0 replies; 12+ messages in thread
From: Yann E. MORIN @ 2023-10-23 17:25 UTC (permalink / raw)
  To: Adam Duskett; +Cc: Thomas De Schampheleire, buildroot

Adam, All,

On 2023-10-23 11:24 +0200, Adam Duskett spake thusly:
> Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
> ---
>  package/opkg/Config.in | 8 ++++++++
>  package/opkg/opkg.mk   | 9 ++++++++-
>  2 files changed, 16 insertions(+), 1 deletion(-)
> 
> diff --git a/package/opkg/Config.in b/package/opkg/Config.in
> index 1f6a39343f..c3c2463393 100644
> --- a/package/opkg/Config.in
> +++ b/package/opkg/Config.in
> @@ -30,4 +30,12 @@ config BR2_PACKAGE_OPKG_GPG_SIGN
>  	  Enable opkg package signature checking support using
>  	  gnupg/libgpgme.
>  
> +comment "compression support"
> +
> +config BR2_PACKAGE_OPKG_ZSTD
> +	bool "zstd support"
> +	select BR2_PACKAGE_ZSTD
> +	help
> +	  Enable zstd compressor support.

The usual way if a library is optional, is to rely on that library being
enabled by the user, not by adding options for each.

So I dropped the option, and...

>  endif
> diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
> index 9b1ffb3c74..605d4de82f 100644
> --- a/package/opkg/opkg.mk
> +++ b/package/opkg/opkg.mk
> @@ -10,7 +10,7 @@ OPKG_DEPENDENCIES = host-pkgconf libarchive
>  OPKG_LICENSE = GPL-2.0+
>  OPKG_LICENSE_FILES = COPYING
>  OPKG_INSTALL_STAGING = YES
> -OPKG_CONF_OPTS = --disable-curl --disable-zstd
> +OPKG_CONF_OPTS = --disable-curl
>  
>  # Ensure directory for lockfile exists
>  define OPKG_CREATE_LOCKDIR
> @@ -27,6 +27,13 @@ else
>  OPKG_CONF_OPTS += --disable-gpg
>  endif
>  
> +ifeq ($(BR2_PACKAGE_OPKG_ZSTD),y)

... changed this to directly depend on the zstd libray to be enabled.

I see that you tried and did like the gpg support, but that was added 10
years ago now [0], and we may have been a little bit less trict then.
Now, let's try to be more consistent.

I've done so for all the other compression support and for libcurl, so I
will not reply to each individually to repeat the same thing; consider
they have been handled like this patch.

Applied to master, thanks.

[0] and that was even the commit that separated the hook macro and the
hook assignemnt further apart; I've fixed that now.

Regards,
Yann E. MORIN.

> +OPKG_DEPENDENCIES += zstd
> +OPKG_CONF_OPTS += --enable-zstd
> +else
> +OPKG_CONF_OPTS += --disable-zstd
> +endif
> +
>  OPKG_POST_INSTALL_TARGET_HOOKS += OPKG_CREATE_LOCKDIR
>  
>  $(eval $(autotools-package))
> -- 
> 2.41.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Buildroot] [PATCH 8/8] package/opkg: add sha256sum support
  2023-10-23  9:25 ` [Buildroot] [PATCH 8/8] package/opkg: add sha256sum support Adam Duskett
@ 2023-10-23 17:26   ` Yann E. MORIN
  0 siblings, 0 replies; 12+ messages in thread
From: Yann E. MORIN @ 2023-10-23 17:26 UTC (permalink / raw)
  To: Adam Duskett; +Cc: Thomas De Schampheleire, buildroot

Adam, All,

On 2023-10-23 11:25 +0200, Adam Duskett spake thusly:
> Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
> ---
>  package/opkg/Config.in | 5 +++++
>  package/opkg/opkg.mk   | 6 ++++++
>  2 files changed, 11 insertions(+)
> 
> diff --git a/package/opkg/Config.in b/package/opkg/Config.in
> index adf39ca145..0104f48623 100644
> --- a/package/opkg/Config.in
> +++ b/package/opkg/Config.in
> @@ -36,6 +36,11 @@ config BR2_PACKAGE_OPKG_GPG_SIGN
>  	  Enable opkg package signature checking support using
>  	  gnupg/libgpgme.
>  
> +config BR2_PACKAGE_OPKG_SHA256
> +	bool "sha256sum check support"
> +	help
> +	  Enable sha256sum check

There is no reason to make that conditional: the code size increase is
minor, sha1 adn md5 are broken so sha256 is the smallest hash still not
broken, and it has no depenency; so I made it unconditional.

Applied to master, thanks.

Regards,
Yann E. MORIN.

>  comment "compression support"
>  
>  config BR2_PACKAGE_OPKG_BZIP2
> diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
> index 730aa4cfe7..ce0b74f549 100644
> --- a/package/opkg/opkg.mk
> +++ b/package/opkg/opkg.mk
> @@ -38,6 +38,12 @@ else
>  OPKG_CONF_OPTS += --disable-gpg
>  endif
>  
> +ifeq ($(BR2_PACKAGE_OPKG_SHA256),y)
> +OPKG_CONF_OPTS += --enable-sha256
> +else
> +OPKG_CONF_OPTS += --disable-sha256
> +endif
> +
>  ifeq ($(BR2_PACKAGE_OPKG_BZIP2),y)
>  OPKG_DEPENDENCIES += bzip2
>  OPKG_CONF_OPTS += --enable-bzip2
> -- 
> 2.41.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-10-23 17:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-23  9:24 [Buildroot] [PATCH 1/8] package/opkg: bump version to 0.6.2 Adam Duskett
2023-10-23  9:24 ` [Buildroot] [PATCH 2/8] package/opkg-utils: " Adam Duskett
2023-10-23 17:21   ` Yann E. MORIN
2023-10-23  9:24 ` [Buildroot] [PATCH 3/8] package/opkg: add zstd support Adam Duskett
2023-10-23 17:25   ` Yann E. MORIN
2023-10-23  9:24 ` [Buildroot] [PATCH 4/8] package/opkg: add xz suspport Adam Duskett
2023-10-23  9:24 ` [Buildroot] [PATCH 5/8] package/opkg: Add lz4 support Adam Duskett
2023-10-23  9:24 ` [Buildroot] [PATCH 6/8] package/opkg: add bzip2 support Adam Duskett
2023-10-23  9:25 ` [Buildroot] [PATCH 7/8] package/opkg: add curl support Adam Duskett
2023-10-23  9:25 ` [Buildroot] [PATCH 8/8] package/opkg: add sha256sum support Adam Duskett
2023-10-23 17:26   ` Yann E. MORIN
2023-10-23 17:20 ` [Buildroot] [PATCH 1/8] package/opkg: bump version to 0.6.2 Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.