]> git.ipfire.org Git - pakfire.git/log
pakfire.git
21 months agobuildservice: Implement uploading files
Michael Tremer [Thu, 19 Oct 2023 19:42:36 +0000 (19:42 +0000)] 
buildservice: Implement uploading files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agobuildservice: Build out listing uploads
Michael Tremer [Thu, 19 Oct 2023 19:42:02 +0000 (19:42 +0000)] 
buildservice: Build out listing uploads

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agodownloader: Make the progress bar work on uploads, too
Michael Tremer [Thu, 19 Oct 2023 16:06:34 +0000 (16:06 +0000)] 
downloader: Make the progress bar work on uploads, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agoutil: Implement parsing JSON from a buffer
Michael Tremer [Thu, 19 Oct 2023 10:26:11 +0000 (10:26 +0000)] 
util: Implement parsing JSON from a buffer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agodownloader: transfer: Implement storing the transfer in a buffer
Michael Tremer [Thu, 19 Oct 2023 10:24:31 +0000 (10:24 +0000)] 
downloader: transfer: Implement storing the transfer in a buffer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agodownloader: Perform uploads using chunked encoding
Michael Tremer [Thu, 19 Oct 2023 10:22:55 +0000 (10:22 +0000)] 
downloader: Perform uploads using chunked encoding

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agodownloader: transfer: Add a place to store headers
Michael Tremer [Thu, 19 Oct 2023 10:21:14 +0000 (10:21 +0000)] 
downloader: transfer: Add a place to store headers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agodownloader: Share connections amonst single transfers
Michael Tremer [Thu, 19 Oct 2023 10:14:33 +0000 (10:14 +0000)] 
downloader: Share connections amonst single transfers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agodownloader: Add auth function to header
Michael Tremer [Wed, 18 Oct 2023 09:51:57 +0000 (09:51 +0000)] 
downloader: Add auth function to header

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agodigests: Add convenience function to export hexdigests
Michael Tremer [Wed, 18 Oct 2023 09:51:32 +0000 (09:51 +0000)] 
digests: Add convenience function to export hexdigests

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agodownloader: Add support for uploading files
Michael Tremer [Wed, 18 Oct 2023 09:50:55 +0000 (09:50 +0000)] 
downloader: Add support for uploading files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agodownloader: Add support for POST request parameters
Michael Tremer [Wed, 18 Oct 2023 09:49:48 +0000 (09:49 +0000)] 
downloader: Add support for POST request parameters

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agodownloader: Merge URLs using CURLU
Michael Tremer [Wed, 18 Oct 2023 08:51:14 +0000 (08:51 +0000)] 
downloader: Merge URLs using CURLU

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agodigests: Anchor to the context
Michael Tremer [Tue, 17 Oct 2023 16:47:36 +0000 (16:47 +0000)] 
digests: Anchor to the context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agofile: Keep a reference to the context
Michael Tremer [Tue, 17 Oct 2023 16:46:53 +0000 (16:46 +0000)] 
file: Keep a reference to the context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agoarchive: Add a reference to the context
Michael Tremer [Tue, 17 Oct 2023 16:41:25 +0000 (16:41 +0000)] 
archive: Add a reference to the context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agodownloader: Add method enable authentication
Michael Tremer [Tue, 17 Oct 2023 16:24:58 +0000 (16:24 +0000)] 
downloader: Add method enable authentication

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agodownloader: Always flush the output, even if not written to a file
Michael Tremer [Tue, 17 Oct 2023 16:24:11 +0000 (16:24 +0000)] 
downloader: Always flush the output, even if not written to a file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: client: Add a --debug switch
Michael Tremer [Tue, 17 Oct 2023 10:36:04 +0000 (10:36 +0000)] 
cli: client: Add a --debug switch

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agobuildservice: Initialize a Kerberos context
Michael Tremer [Tue, 17 Oct 2023 10:18:41 +0000 (10:18 +0000)] 
buildservice: Initialize a Kerberos context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocontrib: Create one unified configuration file
Michael Tremer [Tue, 17 Oct 2023 10:17:58 +0000 (10:17 +0000)] 
contrib: Create one unified configuration file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agolibpakfire: Link against libkrb5
Michael Tremer [Tue, 17 Oct 2023 10:02:53 +0000 (10:02 +0000)] 
libpakfire: Link against libkrb5

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agobuildservice: Setup downloader
Michael Tremer [Tue, 17 Oct 2023 09:59:00 +0000 (09:59 +0000)] 
buildservice: Setup downloader

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agobuildservice: Fetch keytab setting from config
Michael Tremer [Tue, 17 Oct 2023 09:56:00 +0000 (09:56 +0000)] 
buildservice: Fetch keytab setting from config

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agobuildservice: Fetch URL from configuration
Michael Tremer [Tue, 17 Oct 2023 09:52:42 +0000 (09:52 +0000)] 
buildservice: Fetch URL from configuration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: upload: list: Connect to the build service
Michael Tremer [Tue, 17 Oct 2023 09:44:25 +0000 (09:44 +0000)] 
cli: upload: list: Connect to the build service

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: client: Fix passing context pointer
Michael Tremer [Tue, 17 Oct 2023 09:44:13 +0000 (09:44 +0000)] 
cli: client: Fix passing context pointer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agolibpakfire: Add scaffolding for connecting to the build service
Michael Tremer [Tue, 17 Oct 2023 09:43:54 +0000 (09:43 +0000)] 
libpakfire: Add scaffolding for connecting to the build service

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: client: Implement some scaffolding for listing uploads
Michael Tremer [Tue, 17 Oct 2023 09:29:11 +0000 (09:29 +0000)] 
cli: client: Implement some scaffolding for listing uploads

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: client: Create scaffolding for the client implemented in C
Michael Tremer [Tue, 17 Oct 2023 09:20:02 +0000 (09:20 +0000)] 
cli: client: Create scaffolding for the client implemented in C

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agoprogressbar: Fix argument order
Michael Tremer [Tue, 17 Oct 2023 09:11:30 +0000 (09:11 +0000)] 
progressbar: Fix argument order

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agorepo: Reference context when re-fetching a repository
Michael Tremer [Tue, 17 Oct 2023 09:07:47 +0000 (09:07 +0000)] 
repo: Reference context when re-fetching a repository

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agopath: Move pakfire_basename into the path library
Michael Tremer [Tue, 17 Oct 2023 09:05:17 +0000 (09:05 +0000)] 
path: Move pakfire_basename into the path library

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agopath: Make pakfire_dirname into the path library
Michael Tremer [Tue, 17 Oct 2023 08:59:23 +0000 (08:59 +0000)] 
path: Make pakfire_dirname into the path library

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agotests: downloader: Disable all tests for now
Michael Tremer [Tue, 17 Oct 2023 08:51:14 +0000 (08:51 +0000)] 
tests: downloader: Disable all tests for now

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agoctx: Ignore if the configuration file does not exist
Michael Tremer [Tue, 17 Oct 2023 08:50:48 +0000 (08:50 +0000)] 
ctx: Ignore if the configuration file does not exist

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agotests: Load our own configuration file
Michael Tremer [Tue, 17 Oct 2023 08:49:08 +0000 (08:49 +0000)] 
tests: Load our own configuration file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agotests: Make the context accessible
Michael Tremer [Tue, 17 Oct 2023 08:47:17 +0000 (08:47 +0000)] 
tests: Make the context accessible

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agotests: archive: Fix build from source
Michael Tremer [Tue, 17 Oct 2023 08:42:43 +0000 (08:42 +0000)] 
tests: archive: Fix build from source

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agoctx: Move the OFFLINE flag into the context
Michael Tremer [Mon, 16 Oct 2023 17:19:09 +0000 (17:19 +0000)] 
ctx: Move the OFFLINE flag into the context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agodownloader: Anchor the downloader to the context
Michael Tremer [Mon, 16 Oct 2023 17:09:08 +0000 (17:09 +0000)] 
downloader: Anchor the downloader to the context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agoprogress: Anchor progress on the context
Michael Tremer [Mon, 16 Oct 2023 16:56:15 +0000 (16:56 +0000)] 
progress: Anchor progress on the context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agoctx: Read the configuration
Michael Tremer [Mon, 16 Oct 2023 16:52:57 +0000 (16:52 +0000)] 
ctx: Read the configuration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agopakfire: Drop the DEBUG flag which now does nothing
Michael Tremer [Mon, 16 Oct 2023 15:36:30 +0000 (15:36 +0000)] 
pakfire: Drop the DEBUG flag which now does nothing

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agodownloader: Split mirrors and mirrorlists into their own files
Michael Tremer [Mon, 16 Oct 2023 15:33:54 +0000 (15:33 +0000)] 
downloader: Split mirrors and mirrorlists into their own files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agorepo: Keep a reference to the context
Michael Tremer [Mon, 16 Oct 2023 15:32:40 +0000 (15:32 +0000)] 
repo: Keep a reference to the context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agoctx: Move pick solution callback into the context
Michael Tremer [Mon, 16 Oct 2023 14:24:19 +0000 (14:24 +0000)] 
ctx: Move pick solution callback into the context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agoctx: Move the progress callback into the context
Michael Tremer [Mon, 16 Oct 2023 14:13:01 +0000 (14:13 +0000)] 
ctx: Move the progress callback into the context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agoctx: Move the confirm callback into the context
Michael Tremer [Mon, 16 Oct 2023 14:00:28 +0000 (14:00 +0000)] 
ctx: Move the confirm callback into the context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: Create context before setting parsing the command line
Michael Tremer [Mon, 16 Oct 2023 10:43:59 +0000 (10:43 +0000)] 
cli: Create context before setting parsing the command line

This way, we can configure the context directly instead of passing
arguments around too much.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months ago_pakfire: Drop the old Python logging callback
Michael Tremer [Mon, 16 Oct 2023 10:37:27 +0000 (10:37 +0000)] 
_pakfire: Drop the old Python logging callback

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months ago_pakfire: Setup a default logging callback
Michael Tremer [Mon, 16 Oct 2023 10:35:27 +0000 (10:35 +0000)] 
_pakfire: Setup a default logging callback

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agologging: Fix context logging arguments
Michael Tremer [Mon, 16 Oct 2023 10:34:22 +0000 (10:34 +0000)] 
logging: Fix context logging arguments

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agopakfire: Remove logging callback
Michael Tremer [Mon, 16 Oct 2023 10:12:37 +0000 (10:12 +0000)] 
pakfire: Remove logging callback

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agopakfire: Remove logging stuff in favour of the context
Michael Tremer [Mon, 16 Oct 2023 10:09:12 +0000 (10:09 +0000)] 
pakfire: Remove logging stuff in favour of the context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agojail: Send log stuff to the context logger
Michael Tremer [Mon, 16 Oct 2023 10:07:58 +0000 (10:07 +0000)] 
jail: Send log stuff to the context logger

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agobuild: Send log messages to the context logger
Michael Tremer [Sun, 15 Oct 2023 15:15:03 +0000 (15:15 +0000)] 
build: Send log messages to the context logger

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agopakfire: Add function to access context
Michael Tremer [Sun, 15 Oct 2023 15:12:21 +0000 (15:12 +0000)] 
pakfire: Add function to access context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agopakfire: Pass all log messages to the context
Michael Tremer [Sun, 15 Oct 2023 15:06:51 +0000 (15:06 +0000)] 
pakfire: Pass all log messages to the context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agoctx: Copy the log framework
Michael Tremer [Sun, 15 Oct 2023 14:52:47 +0000 (14:52 +0000)] 
ctx: Copy the log framework

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agoctx: Add a log callback
Michael Tremer [Sun, 15 Oct 2023 14:27:33 +0000 (14:27 +0000)] 
ctx: Add a log callback

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agoctx: Add log level
Michael Tremer [Sun, 15 Oct 2023 14:09:29 +0000 (14:09 +0000)] 
ctx: Add log level

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agoctx: Require the new context when creating a Pakfire instance
Michael Tremer [Sun, 15 Oct 2023 13:54:28 +0000 (13:54 +0000)] 
ctx: Require the new context when creating a Pakfire instance

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agolibpakfire: Create scaffolding for a new Pakfire context
Michael Tremer [Sun, 15 Oct 2023 13:31:27 +0000 (13:31 +0000)] 
libpakfire: Create scaffolding for a new Pakfire context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: pakfire-builder: Add forgotten repo options
Michael Tremer [Sun, 15 Oct 2023 13:17:35 +0000 (13:17 +0000)] 
cli: pakfire-builder: Add forgotten repo options

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: pakfire: Move existing commands to the new parser
Michael Tremer [Sun, 15 Oct 2023 13:17:15 +0000 (13:17 +0000)] 
cli: pakfire: Move existing commands to the new parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: shell: Upgrade to the new parser
Michael Tremer [Sun, 15 Oct 2023 12:52:28 +0000 (12:52 +0000)] 
cli: shell: Upgrade to the new parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: repolist: Upgrade to the new parser
Michael Tremer [Sun, 15 Oct 2023 12:43:43 +0000 (12:43 +0000)] 
cli: repolist: Upgrade to the new parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: repo: Upgrade to the new parser
Michael Tremer [Sun, 15 Oct 2023 12:39:17 +0000 (12:39 +0000)] 
cli: repo: Upgrade to the new parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: requires: Upgrade to the new parser
Michael Tremer [Sun, 15 Oct 2023 12:24:05 +0000 (12:24 +0000)] 
cli: requires: Upgrade to the new parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: provides: Upgrade to the new parser
Michael Tremer [Sun, 15 Oct 2023 12:22:04 +0000 (12:22 +0000)] 
cli: provides: Upgrade to the new parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: search: Upgrade to the new parser
Michael Tremer [Sun, 15 Oct 2023 12:18:55 +0000 (12:18 +0000)] 
cli: search: Upgrade to the new parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: info: Migrate command to the new parser
Michael Tremer [Sun, 15 Oct 2023 11:55:50 +0000 (11:55 +0000)] 
cli: info: Migrate command to the new parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: image: Upgrade to the new parser
Michael Tremer [Sun, 15 Oct 2023 11:42:19 +0000 (11:42 +0000)] 
cli: image: Upgrade to the new parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: dist: Upgrade to the new parser
Michael Tremer [Sun, 15 Oct 2023 11:31:03 +0000 (11:31 +0000)] 
cli: dist: Upgrade to the new parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: clean: Make doc string static
Michael Tremer [Sun, 15 Oct 2023 11:30:21 +0000 (11:30 +0000)] 
cli: clean: Make doc string static

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: command: Add option to min/max number of arguments
Michael Tremer [Sun, 15 Oct 2023 11:20:05 +0000 (11:20 +0000)] 
cli: command: Add option to min/max number of arguments

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: commands: Move flags to the end
Michael Tremer [Sun, 15 Oct 2023 11:08:14 +0000 (11:08 +0000)] 
cli: commands: Move flags to the end

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: clean: Add a doc string
Michael Tremer [Sun, 15 Oct 2023 11:07:02 +0000 (11:07 +0000)] 
cli: clean: Add a doc string

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: Always set up an (even empty) parser so we can have docs
Michael Tremer [Sun, 15 Oct 2023 11:06:38 +0000 (11:06 +0000)] 
cli: Always set up an (even empty) parser so we can have docs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: Add a doc string argument to the parser
Michael Tremer [Sat, 14 Oct 2023 18:11:14 +0000 (18:11 +0000)] 
cli: Add a doc string argument to the parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: Update clean command to the new parser
Michael Tremer [Sat, 14 Oct 2023 18:07:56 +0000 (18:07 +0000)] 
cli: Update clean command to the new parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: Completely try again...
Michael Tremer [Sat, 14 Oct 2023 17:50:42 +0000 (17:50 +0000)] 
cli: Completely try again...

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
21 months agocli: Link against libpakfire
Michael Tremer [Sat, 14 Oct 2023 17:46:29 +0000 (17:46 +0000)] 
cli: Link against libpakfire

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 months agocli: pakfire-build: Implement command line option parsing with argp
Michael Tremer [Sun, 8 Oct 2023 14:39:02 +0000 (14:39 +0000)] 
cli: pakfire-build: Implement command line option parsing with argp

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 months agopath: Correctly set and return absolute paths
Michael Tremer [Fri, 6 Oct 2023 16:21:54 +0000 (16:21 +0000)] 
path: Correctly set and return absolute paths

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 months agocgroup: Make the BPF log buffer statically allocated again
Michael Tremer [Fri, 6 Oct 2023 15:17:25 +0000 (15:17 +0000)] 
cgroup: Make the BPF log buffer statically allocated again

This might potentially make this non-thread-safe, but without
loading the BPF program crashes immediately.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 months agoarchive: read: Limit the maximum number of symlinks to follow
Michael Tremer [Fri, 6 Oct 2023 15:00:25 +0000 (15:00 +0000)] 
archive: read: Limit the maximum number of symlinks to follow

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 months agoarchive: read: Add option to follow symlinks
Michael Tremer [Fri, 6 Oct 2023 14:55:55 +0000 (14:55 +0000)] 
archive: read: Add option to follow symlinks

This is useful when we want to read some data from an archive which
requires us to follow a symlink.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 months agoarchive: Change how we search for realtive paths in archives
Michael Tremer [Fri, 6 Oct 2023 14:55:19 +0000 (14:55 +0000)] 
archive: Change how we search for realtive paths in archives

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 months agocompress: Add AGAIN return code to restart walking through an archive
Michael Tremer [Fri, 6 Oct 2023 14:53:57 +0000 (14:53 +0000)] 
compress: Add AGAIN return code to restart walking through an archive

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 months agoutil: Fix double free in base64 encoder
Michael Tremer [Fri, 6 Oct 2023 14:37:02 +0000 (14:37 +0000)] 
util: Fix double free in base64 encoder

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 months agopath: Add merge function to join two paths together
Michael Tremer [Fri, 6 Oct 2023 14:04:04 +0000 (14:04 +0000)] 
path: Add merge function to join two paths together

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 months agopath: Rename join -> append
Michael Tremer [Fri, 6 Oct 2023 13:56:50 +0000 (13:56 +0000)] 
path: Rename join -> append

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 months agopath: Implement joining two paths
Michael Tremer [Fri, 6 Oct 2023 13:50:44 +0000 (13:50 +0000)] 
path: Implement joining two paths

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 months agostring: Include required headers
Michael Tremer [Fri, 6 Oct 2023 13:23:07 +0000 (13:23 +0000)] 
string: Include required headers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 months agopath: Add a simple path library to normalize paths
Michael Tremer [Fri, 6 Oct 2023 13:22:46 +0000 (13:22 +0000)] 
path: Add a simple path library to normalize paths

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 months agopackager: Drop helper function to determine the hostname
Michael Tremer [Thu, 5 Oct 2023 13:17:27 +0000 (13:17 +0000)] 
packager: Drop helper function to determine the hostname

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 months agocgroup: Do not use TLS for buffer that is longer than one page
Michael Tremer [Thu, 5 Oct 2023 10:31:59 +0000 (10:31 +0000)] 
cgroup: Do not use TLS for buffer that is longer than one page

There seems to be a compiler bug that causes memory corruption in any
spawned threads. This used to materialize mostly in downloading files
when cURL spawned a thread to call the glibc resolver.

See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81142
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
22 months agoconfigure: Enable lots more compiler warnings
Michael Tremer [Thu, 5 Oct 2023 10:00:20 +0000 (10:00 +0000)] 
configure: Enable lots more compiler warnings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>