- Update to version 3.0.4:
* portability: do not include_next sys/random.h if its missing.
* db: add O_DIRECTORY to opening database directory.
* print: fix usage of va_list twice.
* doc: document identity hash constraint used by "add file.apk"
* print: fix apk_indent output to be logged if needed.
* db: reset 'replaces' before reading v2 pkginfo.
* solver: allow virtual provided package swap on del.
* test: add test for replaces to function.
* db: fix replaces to take ownership of files.
* libfetch: increase password buffer to support long tokens.
* db: check that unshare(CLONE_NEWNS) as root works.
* db: always match package size in apk_db_get_pkg_by_name().
* progress io: propagate error code at close.
- Update to version 3.0.3:
* package: fix memfd sealing.
* io: do not close stdin.
* process: do not depend on /dev/null.
* db: print error if apk_process_init fails during script exec.
OBS-URL: https://build.opensuse.org/request/show/1330690
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/apk-tools?expand=0&rev=11
- Update to version 3.0.2:
* applet: stylistic changes and some code reduction for help.
* applet: Auto-detect help gzip/zlib compression.
* db: fix chroot proc setup for scripts when in user namespace.
* db, pkg: add fallback to not needing unshare() when running as
root.
* commit: dynamic unit for installed_bytes.
* apk: fix compile when using C89.
* mkpkg: implement --xattrs[=BOOL] to disable xattr recording.
* io_url_libfetch: do not map error to zero.
* package: add F_SEAL_EXEC to memfd script.
* db: drop use of fexecve for scripts.
* commit: don't sync with --simulate.
OBS-URL: https://build.opensuse.org/request/show/1322922
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/apk-tools?expand=0&rev=9
- Update to version 3.0.1:
User facing changes:
* Support for new package and index format: designed for
improved security, performance and extensibility in future.
+ The index supports newer hash algorithms.
+ Supports for newer signature algorithms.
+ Supports for the zstd compression.
+ Designed to support additional features in the future, e.g.
audit can verify all data in the installed database using
original package signatures.
* Compatibility related changes
+ Support for ftp urls in the libfetch backend has been removed
+ Support for the original "alpine v1" packages and for broken
v2 packages from foreign tools has been removed.
+ Support for md5 hashes has been removed.
+ The package arch is now validated and must be compatible to
install. See man page for etc/apk/arch.
+ The script output is now processed by apk, each output line
is prefixed with * to disambiguate the script output from apk
output.
+ The scripts are executed from a memfd if possible. This means
$0 is no longer reliable method to determine the hook name.
Use $APK_SCRIPT instead
* Improved configuration and repository configuration
+ The repositories file format now supports definition and
usage of variables.
+ Support for config file for default options (overriding
configuration can be provided in APK_CONFIG specified file).
+ Various configuration files and repositories are now searched
from etc/apk and lib/apk so distributions can provision
OBS-URL: https://build.opensuse.org/request/show/1321005
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/apk-tools?expand=0&rev=7