Files
buildroot/package/opkg/Config.in
Romain Naour efe93b34ec package/opkg: bump to version 0.7.0
For the change log since 0.6.2, see:
https://git.yoctoproject.org/opkg/tree/CHANGELOG.md?h=v0.7.0#n8

Since the toolchain-external-bootlin version bump to 2024.05-1 the
TestOpkg fail due to a "spurious error check" fixed in opkg 0.7.0 [1].

With toolchain-external-bootlin 2024.02-1 (gcc-12) and opkg 0.6.2:

  opkg install example-snmpd-package_1.0_arm.ipk
  Installing example-snmpd-package (1.0) on root.
  Configuring example-snmpd-package.
  Starting SNMP daemon: OK
  echo $?
  0

With toolchain-external-bootlin 2024.05-1 (gcc-13) and opkg 0.6.2:

  opkg install example-snmpd-package_1.0_arm.ipk
  echo $?
  255

The new gcc-13 seems to be confused while compiling opkg 0.6.2
without the "spurious error check" fix [1]

With toolchain-external-bootlin 2024.05-1 (gcc-13) and opkg 0.7.0:

  opkg install example-snmpd-package_1.0_arm.ipk
  Installing example-snmpd-package (1.0) on root.
  Configuring example-snmpd-package.
  Starting SNMP daemon: OK
  echo $?
  0

Keep new ACL and XATTRS support introduced in opkg 0.6.3 disabled.

Update opkg to the new upstream url [2].

[1] https://git.yoctoproject.org/opkg/commit?id=b5cc53d56e381803d3f55019254ab7d608160ae1
[2] 6ff8b43e08

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992571

Signed-off-by: Romain Naour <romain.naour@smile.fr>
[Julien: add link to change log, reindent OPKG_CONF_OPTS]
Signed-off-by: Julien Olivain <ju.o@free.fr>
2024-11-04 19:25:06 +01:00

34 lines
1013 B
Plaintext

comment "opkg needs a toolchain w/ wchar"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR
config BR2_PACKAGE_OPKG
bool "opkg"
depends on BR2_USE_MMU # fork()
depends on BR2_USE_WCHAR # libarchive
select BR2_PACKAGE_LIBARCHIVE
help
Opkg is a lightweight package management system, based on
ipkg. It is written in C and resembles apt/dpkg in
operation. It is intended for use on embedded Linux devices.
Opkg is maintained, stable, robust and conservative in its
memory usage, despite its buggy ipkg ancestry. As best it
can, opkg maintains backwards compatibility with ipkg and
conforms to a subset of debian's policy manual regarding
control files.
https://git.yoctoproject.org/opkg/
if BR2_PACKAGE_OPKG
config BR2_PACKAGE_OPKG_GPG_SIGN
bool "gnupg support"
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error
select BR2_PACKAGE_LIBGPGME
select BR2_PACKAGE_LIBGPG_ERROR
help
Enable opkg package signature checking support using
gnupg/libgpgme.
endif