Ariadne Conill
917698ec1d
use arch_prefix for this feature instead
2022-03-30 09:17:25 +00:00
Ariadne Conill
8051d458c6
meson: support definition of a custom abi tag
...
this is intended to allow for distributions to have alternate streams, such as
glibc-x86_64 or darwin-aarch64
2022-03-30 09:17:25 +00:00
Ariadne Conill
e8650d4d44
support building with uncompressed help databases
2022-01-13 14:13:53 +00:00
Ariadne Conill
a7a0c0a6ca
portability: implement skeleton with memrchr function
2021-12-29 20:11:17 +02:00
Ariadne Conill
46a2049d46
meson: fix underlinking issue with lua module
2021-12-14 18:46:18 +00:00
Timo Teräs
a673653200
database: implement uvol support
...
by adding an abstraction layer to the file system
2021-11-09 21:50:11 +02:00
Timo Teräs
9c843e4ecd
Refactor .apk extraction code
...
This moves and isolates the tar code to tar.c. And the actual
file extraction to disk is moved to extract.c.
A new API is introduced and used for v2 file extraction. This
essentially moves and isolates the apk_sign_ctx_* beast into
extract_v2.c and offers a saner interface to handling packages.
A place holder is added for v3 extraction.
2021-07-27 14:09:38 +03:00
Timo Teräs
3b00c0dc80
adb: unify various interfaces to adb_m_process
...
Removes code duplication, and puts important checks in one place.
Support seamless decompression in adbdump.
2021-07-22 15:30:08 +03:00
Timo Teräs
7af34db6cf
adb: support seamless de/compression of adb files
...
Add compression header of adb files. Support uncompressed and
deflate compression at this time.
2021-07-22 15:30:08 +03:00
Timo Teräs
7b30db8dc8
genhelp: improve to work with lua 5.1
...
Fix the script to not contain \x00 escape which was the only new
feature used.
Fix the meson build script to use given lua interpreter for running
the genhelp.lua.
Based on patch from Daniel Golle <daniel@makrotopia.org>
2021-07-16 10:16:32 +03:00
Timo Teräs
91cb2514e4
extract: new applet to extract v2 packages
2021-06-11 13:35:32 +03:00
Timo Teräs
7ce4cc4b73
add basic abstraction for cryptographic operations
...
- basic digesting and signing apis (subject still to fine tuning)
- update digest code, and adb signing for the thin wrapping layer
- old v1 package and database handling not updated
- default mkpkg file hash to sha256
ref #10744
2021-06-11 13:35:32 +03:00
Timo Teräs
7c9f001cda
mkpkg: new applet to create v2 packages with basic functionality
2021-06-11 13:35:32 +03:00
Timo Teräs
1456296b43
add adbgen applet to generate databases from it's text dump
2021-06-02 22:35:58 +03:00
Timo Teräs
209201bc5d
add abstraction to adb "walking" - a sax like API to enumerate whole db
...
This converts 'adbdump' applet to generate adb_walk api callbacks,
and implement gentext backend to generate the yaml-like text output.
2021-05-26 12:47:48 +03:00
Timo Teräs
705e002bb0
rename adb_trust to apk_trust, and use it as package signature keystore too
2020-10-09 16:09:19 +03:00
Timo Teräs
354713d2f7
rename apk_db_options to apk_ctx, rework logging
...
makes apk_verbosity non-global
fixes #10682
2020-10-09 16:09:19 +03:00
Timo Teräs
010497cb5a
add separate vertest applet for version string testing
...
start adding meson based tests
2020-10-09 16:09:19 +03:00
Timo Teräs
e9caeff22b
build: adopt meson build for v3 branch
2020-10-09 16:09:19 +03:00
Rasmus Thomsen
0cfa6cfb83
build: make sure to use helper scripts from git tree and not system
2020-10-09 16:09:19 +03:00
Rasmus Thomsen
1b168696aa
build: use tabs for meson files
2020-10-09 16:09:19 +03:00
Rasmus Thomsen
1bbdc8eb37
build: add option to build apk.static binary
2020-10-09 16:09:19 +03:00
Rasmus Thomsen
8a11ac3952
build: add atom.c to meson
2020-10-09 16:09:19 +03:00
Rasmus Thomsen
f6795011ca
build: allow building without help in meson
2020-10-09 16:09:19 +03:00
Rasmus Thomsen
718e07f78a
build: build help.h with meson
2020-10-09 16:09:19 +03:00
Rasmus Thomsen
fe1de720d0
build: add support for building with meson
2020-10-09 16:09:19 +03:00