]> git.ipfire.org Git - pakfire.git/log
pakfire.git
6 months agojenkins: Give the uploaded files a handle
Michael Tremer [Tue, 3 Dec 2024 18:39:13 +0000 (18:39 +0000)] 
jenkins: Give the uploaded files a handle

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojenkins: Use apt-ftparchive for everything
Michael Tremer [Tue, 3 Dec 2024 18:33:09 +0000 (18:33 +0000)] 
jenkins: Use apt-ftparchive for everything

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojenkins: Generate Contents
Michael Tremer [Tue, 3 Dec 2024 18:31:37 +0000 (18:31 +0000)] 
jenkins: Generate Contents

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojenkins: Compress Packages/Sources using xz
Michael Tremer [Tue, 3 Dec 2024 18:25:55 +0000 (18:25 +0000)] 
jenkins: Compress Packages/Sources using xz

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojenkins: Build everything, including the source packages
Michael Tremer [Tue, 3 Dec 2024 18:20:17 +0000 (18:20 +0000)] 
jenkins: Build everything, including the source packages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojenkins: Remove .gz compressed files and use apt helper tools
Michael Tremer [Tue, 3 Dec 2024 18:14:16 +0000 (18:14 +0000)] 
jenkins: Remove .gz compressed files and use apt helper tools

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojenkins: Create a Debian Release file
Michael Tremer [Sat, 30 Nov 2024 15:50:37 +0000 (15:50 +0000)] 
jenkins: Create a Debian Release file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojenkins: Create Sources for Debian repositories
Michael Tremer [Sat, 30 Nov 2024 15:29:39 +0000 (15:29 +0000)] 
jenkins: Create Sources for Debian repositories

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months ago.gitignore: Ignore coverage files
Michael Tremer [Sat, 30 Nov 2024 15:25:59 +0000 (15:25 +0000)] 
.gitignore: Ignore coverage files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojenkins: Split multiple commands into a single step each
Michael Tremer [Sat, 30 Nov 2024 15:25:13 +0000 (15:25 +0000)] 
jenkins: Split multiple commands into a single step each

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojenkins: Run build and tests before running coverage tests
Michael Tremer [Thu, 28 Nov 2024 11:32:14 +0000 (11:32 +0000)] 
jenkins: Run build and tests before running coverage tests

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoRevert "debian: We no longer depend on libdw"
Michael Tremer [Thu, 28 Nov 2024 11:20:30 +0000 (11:20 +0000)] 
Revert "debian: We no longer depend on libdw"

This reverts commit c567f0552d111a5c63eceeb125e890415c7e53ce.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoconfigure: Add switch to build with --coverage
Michael Tremer [Sat, 23 Nov 2024 13:45:33 +0000 (13:45 +0000)] 
configure: Add switch to build with --coverage

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agolinter: Implement aarch64 checks
Michael Tremer [Fri, 22 Nov 2024 11:59:53 +0000 (11:59 +0000)] 
linter: Implement aarch64 checks

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoRevert "pakfire: Ignore if we cannot mount tmpfs"
Michael Tremer [Fri, 22 Nov 2024 11:50:25 +0000 (11:50 +0000)] 
Revert "pakfire: Ignore if we cannot mount tmpfs"

This reverts commit 5b0ccac2677bfaf1821c13571f68d3191dd10e5b.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojenkins: Run Docker containers with privileges
Michael Tremer [Fri, 22 Nov 2024 11:32:49 +0000 (11:32 +0000)] 
jenkins: Run Docker containers with privileges

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotests: Check string formatting in HTTP client test case
Michael Tremer [Fri, 22 Nov 2024 11:34:57 +0000 (11:34 +0000)] 
tests: Check string formatting in HTTP client test case

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agopakfire: Ignore if we cannot mount tmpfs
Michael Tremer [Fri, 22 Nov 2024 11:30:33 +0000 (11:30 +0000)] 
pakfire: Ignore if we cannot mount tmpfs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojenkins: Find log files
Michael Tremer [Thu, 21 Nov 2024 18:59:44 +0000 (18:59 +0000)] 
jenkins: Find log files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agoconfig: Add helper function to parse strings
Michael Tremer [Fri, 22 Nov 2024 11:17:31 +0000 (11:17 +0000)] 
config: Add helper function to parse strings

That helps us to avoid all sorts of weird type casting in the test
cases.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agojenkins: Install libdw-dev on Debian* systems
Michael Tremer [Thu, 21 Nov 2024 19:04:45 +0000 (19:04 +0000)] 
jenkins: Install libdw-dev on Debian* systems

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 months agotests: Remove double declaration
Michael Tremer [Thu, 21 Nov 2024 18:52:03 +0000 (18:52 +0000)] 
tests: Remove double declaration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolibpakfire: Fix order of arguments in reallocarray
Michael Tremer [Sat, 2 Nov 2024 19:57:37 +0000 (19:57 +0000)] 
libpakfire: Fix order of arguments in reallocarray

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agofilelist: Refactor using binary search
Michael Tremer [Sun, 27 Oct 2024 11:12:28 +0000 (11:12 +0000)] 
filelist: Refactor using binary search

If we want to conduct fast searches over the list we should implement it
like this so that we don't have to iterate very long lists.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotransactions: Store a list of all installed and newly installed packages
Michael Tremer [Sun, 27 Oct 2024 09:33:23 +0000 (09:33 +0000)] 
transactions: Store a list of all installed and newly installed packages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotransaction: Avoid using a label to retry solving
Michael Tremer [Sun, 27 Oct 2024 08:59:47 +0000 (08:59 +0000)] 
transaction: Avoid using a label to retry solving

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotests: db: Initialize package to avoid SEGV on early fails
Michael Tremer [Sun, 27 Oct 2024 08:59:06 +0000 (08:59 +0000)] 
tests: db: Initialize package to avoid SEGV on early fails

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotransaction: Minor code cleanups
Michael Tremer [Sun, 27 Oct 2024 08:51:11 +0000 (08:51 +0000)] 
transaction: Minor code cleanups

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotransaction: Avoid leaking memory
Michael Tremer [Sun, 27 Oct 2024 08:44:50 +0000 (08:44 +0000)] 
transaction: Avoid leaking memory

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuild: Simplify check for libtool archives and static libraries
Michael Tremer [Sun, 27 Oct 2024 08:34:51 +0000 (08:34 +0000)] 
build: Simplify check for libtool archives and static libraries

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agofile: Remove ELF detection with libelf
Michael Tremer [Sun, 27 Oct 2024 08:31:00 +0000 (08:31 +0000)] 
file: Remove ELF detection with libelf

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agofile: Remove unused classes
Michael Tremer [Sun, 27 Oct 2024 08:26:55 +0000 (08:26 +0000)] 
file: Remove unused classes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotestsuite: Translate negative return values
Michael Tremer [Wed, 23 Oct 2024 12:22:22 +0000 (12:22 +0000)] 
testsuite: Translate negative return values

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotests: Ensure that values are initialized before free
Michael Tremer [Wed, 23 Oct 2024 12:18:52 +0000 (12:18 +0000)] 
tests: Ensure that values are initialized before free

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoparser: Initialize r on merge
Michael Tremer [Wed, 23 Oct 2024 12:10:34 +0000 (12:10 +0000)] 
parser: Initialize r on merge

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoparser: Don't duplicate and leak arch
Michael Tremer [Wed, 23 Oct 2024 12:08:26 +0000 (12:08 +0000)] 
parser: Don't duplicate and leak arch

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoparser: Fix assigning value
Michael Tremer [Wed, 23 Oct 2024 12:06:21 +0000 (12:06 +0000)] 
parser: Fix assigning value

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agologging: Handle warning messages everywhere
Michael Tremer [Sat, 26 Oct 2024 18:23:21 +0000 (18:23 +0000)] 
logging: Handle warning messages everywhere

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Parse the ELF file early to avoid this callback hell
Michael Tremer [Sat, 26 Oct 2024 18:12:39 +0000 (18:12 +0000)] 
linter: Parse the ELF file early to avoid this callback hell

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Always mmap() the file
Michael Tremer [Sat, 26 Oct 2024 17:41:31 +0000 (17:41 +0000)] 
linter: Always mmap() the file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agofile: Remove the remainder of the file checks
Michael Tremer [Sat, 26 Oct 2024 17:34:30 +0000 (17:34 +0000)] 
file: Remove the remainder of the file checks

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Move script interpreter check
Michael Tremer [Sat, 26 Oct 2024 17:26:27 +0000 (17:26 +0000)] 
linter: Move script interpreter check

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Check if we have Build IDs
Michael Tremer [Sat, 26 Oct 2024 16:12:17 +0000 (16:12 +0000)] 
linter: Check if we have Build IDs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Check if ELF files have a debug link
Michael Tremer [Sat, 26 Oct 2024 16:06:46 +0000 (16:06 +0000)] 
linter: Check if ELF files have a debug link

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Check for more symbols for SSP
Michael Tremer [Sat, 26 Oct 2024 15:51:21 +0000 (15:51 +0000)] 
linter: Check for more symbols for SSP

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Check if files have been stripped
Michael Tremer [Sat, 26 Oct 2024 15:46:33 +0000 (15:46 +0000)] 
linter: Check if files have been stripped

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agojenkins: Upload everything after tests
Michael Tremer [Sat, 26 Oct 2024 15:31:00 +0000 (15:31 +0000)] 
jenkins: Upload everything after tests

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agojenkins: Group the package mastering stages together
Michael Tremer [Sat, 26 Oct 2024 13:48:05 +0000 (13:48 +0000)] 
jenkins: Group the package mastering stages together

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agojenkins: Keep directory structure of the test logs
Michael Tremer [Sat, 26 Oct 2024 13:39:22 +0000 (13:39 +0000)] 
jenkins: Keep directory structure of the test logs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agostring: Constify inputs when joining strings
Michael Tremer [Sat, 26 Oct 2024 13:37:53 +0000 (13:37 +0000)] 
string: Constify inputs when joining strings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotests: os: Remove pointless unsigned integer tests
Michael Tremer [Sat, 26 Oct 2024 13:31:24 +0000 (13:31 +0000)] 
tests: os: Remove pointless unsigned integer tests

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotests: jail: Remove unused variable
Michael Tremer [Sat, 26 Oct 2024 13:30:39 +0000 (13:30 +0000)] 
tests: jail: Remove unused variable

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodigests: Simplify initialization
Michael Tremer [Sat, 26 Oct 2024 13:29:20 +0000 (13:29 +0000)] 
digests: Simplify initialization

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotests: util: Cast values for printing
Michael Tremer [Sat, 26 Oct 2024 13:24:05 +0000 (13:24 +0000)] 
tests: util: Cast values for printing

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotests: Fix integer sizes in string formatting
Michael Tremer [Sat, 26 Oct 2024 13:23:15 +0000 (13:23 +0000)] 
tests: Fix integer sizes in string formatting

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotests: Fix old-style function definition
Michael Tremer [Sat, 26 Oct 2024 13:20:54 +0000 (13:20 +0000)] 
tests: Fix old-style function definition

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotests: Align signedness of integers
Michael Tremer [Sat, 26 Oct 2024 13:20:27 +0000 (13:20 +0000)] 
tests: Align signedness of integers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotests: Fix string formatting
Michael Tremer [Sat, 26 Oct 2024 13:19:51 +0000 (13:19 +0000)] 
tests: Fix string formatting

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotests: Don't shadow r
Michael Tremer [Sat, 26 Oct 2024 13:17:36 +0000 (13:17 +0000)] 
tests: Don't shadow r

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotests: Actually print the line number
Michael Tremer [Sat, 26 Oct 2024 13:17:26 +0000 (13:17 +0000)] 
tests: Actually print the line number

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agotests: Compile using our standard set of CFLAGS
Michael Tremer [Sat, 26 Oct 2024 13:17:01 +0000 (13:17 +0000)] 
tests: Compile using our standard set of CFLAGS

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agojenkins: Always archive all test logs for all distros
Michael Tremer [Sat, 26 Oct 2024 13:09:18 +0000 (13:09 +0000)] 
jenkins: Always archive all test logs for all distros

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agodebian: We no longer depend on libdw
Michael Tremer [Sat, 26 Oct 2024 13:03:50 +0000 (13:03 +0000)] 
debian: We no longer depend on libdw

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoutil: Remove unused includes
Michael Tremer [Sat, 26 Oct 2024 13:00:20 +0000 (13:00 +0000)] 
util: Remove unused includes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoutil: Move base64 functions into a separate file
Michael Tremer [Sat, 26 Oct 2024 12:54:29 +0000 (12:54 +0000)] 
util: Move base64 functions into a separate file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agoutil: Move hex function into a separate file
Michael Tremer [Sat, 26 Oct 2024 12:47:22 +0000 (12:47 +0000)] 
util: Move hex function into a separate file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolibpakfire: Move syscalls into a separate file
Michael Tremer [Sat, 26 Oct 2024 12:40:02 +0000 (12:40 +0000)] 
libpakfire: Move syscalls into a separate file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agopath: Move pakfire_path_age
Michael Tremer [Sat, 26 Oct 2024 12:35:47 +0000 (12:35 +0000)] 
path: Move pakfire_path_age

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months ago*: Replace pakfire_remove_trailing_newline with pakfire_string_rstrip
Michael Tremer [Sat, 26 Oct 2024 12:33:02 +0000 (12:33 +0000)] 
*: Replace pakfire_remove_trailing_newline with pakfire_string_rstrip

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agopath: Move pakfire_path_exists
Michael Tremer [Sat, 26 Oct 2024 12:28:54 +0000 (12:28 +0000)] 
path: Move pakfire_path_exists

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agopath: Move pakfire_path_realpath
Michael Tremer [Sat, 26 Oct 2024 12:24:42 +0000 (12:24 +0000)] 
path: Move pakfire_path_realpath

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agopath: Move function to replace the file extension
Michael Tremer [Sat, 26 Oct 2024 12:21:18 +0000 (12:21 +0000)] 
path: Move function to replace the file extension

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agopath: Move the match function into the path library
Michael Tremer [Sat, 26 Oct 2024 12:18:10 +0000 (12:18 +0000)] 
path: Move the match function into the path library

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agofile: Ensure the path is always absolute
Michael Tremer [Sat, 26 Oct 2024 12:14:29 +0000 (12:14 +0000)] 
file: Ensure the path is always absolute

Even if we import it from libarchive.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Move capability check
Michael Tremer [Sat, 26 Oct 2024 12:07:43 +0000 (12:07 +0000)] 
linter: Move capability check

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Move CF protection check
Michael Tremer [Sat, 26 Oct 2024 12:02:34 +0000 (12:02 +0000)] 
linter: Move CF protection check

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agofile: Remove old flags
Michael Tremer [Sat, 26 Oct 2024 11:51:12 +0000 (11:51 +0000)] 
file: Remove old flags

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Move RPATH check
Michael Tremer [Sat, 26 Oct 2024 11:46:39 +0000 (11:46 +0000)] 
linter: Move RPATH check

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agofilelist: Avoid putting the same file on the list more than once
Michael Tremer [Sat, 26 Oct 2024 11:39:58 +0000 (11:39 +0000)] 
filelist: Avoid putting the same file on the list more than once

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Check for RELRO
Michael Tremer [Sat, 26 Oct 2024 11:36:09 +0000 (11:36 +0000)] 
linter: Check for RELRO

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Make it easier to report file issues
Michael Tremer [Sat, 26 Oct 2024 11:25:30 +0000 (11:25 +0000)] 
linter: Make it easier to report file issues

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Check for executable stacks
Michael Tremer [Sat, 26 Oct 2024 11:22:20 +0000 (11:22 +0000)] 
linter: Check for executable stacks

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Don't try to lint firmware files
Michael Tremer [Sat, 26 Oct 2024 11:12:12 +0000 (11:12 +0000)] 
linter: Don't try to lint firmware files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agobuild: Abort if linting failed
Michael Tremer [Sat, 26 Oct 2024 11:07:49 +0000 (11:07 +0000)] 
build: Abort if linting failed

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Return a non-zero error code if we found errors
Michael Tremer [Sat, 26 Oct 2024 10:54:15 +0000 (10:54 +0000)] 
linter: Return a non-zero error code if we found errors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Add a newline after dumping the output
Michael Tremer [Sat, 26 Oct 2024 10:51:53 +0000 (10:51 +0000)] 
linter: Add a newline after dumping the output

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Drop the default result callback
Michael Tremer [Sat, 26 Oct 2024 10:50:20 +0000 (10:50 +0000)] 
linter: Drop the default result callback

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Dump the result in a very human readable way
Michael Tremer [Sat, 26 Oct 2024 10:48:23 +0000 (10:48 +0000)] 
linter: Dump the result in a very human readable way

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Keep stats about how many warnings/errors/etc.
Michael Tremer [Sat, 26 Oct 2024 10:48:10 +0000 (10:48 +0000)] 
linter: Keep stats about how many warnings/errors/etc.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agologging: Create new warning log level
Michael Tremer [Sat, 26 Oct 2024 10:47:43 +0000 (10:47 +0000)] 
logging: Create new warning log level

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Create a filelist with all files with issues
Michael Tremer [Sat, 26 Oct 2024 10:20:38 +0000 (10:20 +0000)] 
linter: Create a filelist with all files with issues

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Store a reference to the broken files
Michael Tremer [Sat, 26 Oct 2024 10:08:12 +0000 (10:08 +0000)] 
linter: Store a reference to the broken files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Move the SSP check
Michael Tremer [Sat, 26 Oct 2024 09:56:58 +0000 (09:56 +0000)] 
linter: Move the SSP check

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Send results to the logger by default
Michael Tremer [Sat, 26 Oct 2024 09:56:01 +0000 (09:56 +0000)] 
linter: Send results to the logger by default

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Move the ELF stuff to the file stuff
Michael Tremer [Fri, 25 Oct 2024 17:33:34 +0000 (17:33 +0000)] 
linter: Move the ELF stuff to the file stuff

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Make the result function non-static
Michael Tremer [Fri, 25 Oct 2024 17:24:25 +0000 (17:24 +0000)] 
linter: Make the result function non-static

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Create a separate place to scan the payload
Michael Tremer [Fri, 25 Oct 2024 17:20:45 +0000 (17:20 +0000)] 
linter: Create a separate place to scan the payload

Otherwise this is becoming yet another callback hell...

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agofile: Remove PIE code that was moved into the linter
Michael Tremer [Fri, 25 Oct 2024 16:57:50 +0000 (16:57 +0000)] 
file: Remove PIE code that was moved into the linter

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agolinter: Don't move the FD into the file module
Michael Tremer [Fri, 25 Oct 2024 16:56:07 +0000 (16:56 +0000)] 
linter: Don't move the FD into the file module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 months agostripper: Throw this away
Michael Tremer [Fri, 25 Oct 2024 16:49:12 +0000 (16:49 +0000)] 
stripper: Throw this away

I am really not sure whether this is a really good idea or will just be
causing us a lot of pain in the future. For now we have something, so
lets use that and rethink this all later.

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