Commit Graph

22479 Commits

Author SHA1 Message Date
Michael Tremer
db8a15a501 tools: Add a script to find changes in linux-firmware
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-29 12:03:13 +00:00
Michael Tremer
1d4abffe94 core189: Ship coreutils
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-29 07:36:27 +00:00
Michael Tremer
3e9871d207 coreutils: Drop the i18n patch
This patch caused that coreutils had to have to be reconfigured with
"autoreconf". However, we don't have autopoint available at this stage
in the build process and therefore we can't do this here.

I don't really know why we would require the patch and therefore suggest
dropping it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-29 07:36:27 +00:00
Michael Tremer
33ee3958de Revert "rust: Update to version 1.80.1"
This reverts commit 34b3e9a0a2.

This breaks the build of Ruby on aarch64 (and other non-x86
architectures). A potential fix seems to be available but we cannot
include this as we cannot build Rust from source:

  f0b52f1dbd

Therefore we would have to wait until this is fixed upstream.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-29 07:36:27 +00:00
Michael Tremer
faccfa7075 make.sh: Don't try to create a time NS on older kernels
This is not supported on kernels < 5.6.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-28 15:41:55 +00:00
Michael Tremer
5e8730eb9a make.sh: Bind-mount /proc as a workaround for unshare
unshare seems to want to change the mount propagation for /proc
before it has been mounted. In order to workaround that problem,
we bind-mount /proc to itself before.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-28 15:28:42 +00:00
Michael Tremer
36c9bf685e make.sh: Bump the toolchain version
This is because of the recent update of binutils.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-27 10:22:22 +00:00
Michael Tremer
1c64d20713 core189: Ship OpenSSL
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-27 09:49:09 +00:00
Matthias Fischer
3586563f17 clamav: Update to 1.4.0
For details see:
https://blog.clamav.net/2024/08/clamav-140-feature-release-and-clamav.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-27 09:48:52 +00:00
Adolf Belka
23e53133e2 openssl: Update to version 3.3.1
- Update from 3.3.0 to 3.3.1
- Update of rootfile not required
- This version has 2 CVE fixes both of which are classified as Low Severity so looks like
   they can wait for CU189
- Changelog
    3.3.1
	 * Fixed potential use after free after SSL_free_buffers() is called.
	   The SSL_free_buffers function is used to free the internal OpenSSL
	   buffer used when processing an incoming record from the network.
	   The call is only expected to succeed if the buffer is not currently
	   in use. However, two scenarios have been identified where the buffer
	   is freed even when still in use.
	   The first scenario occurs where a record header has been received
	   from the network and processed by OpenSSL, but the full record body
	   has not yet arrived. In this case calling SSL_free_buffers will succeed
	   even though a record has only been partially processed and the buffer
	   is still in use.
	   The second scenario occurs where a full record containing application
	   data has been received and processed by OpenSSL but the application has
	   only read part of this data. Again a call to SSL_free_buffers will
	   succeed even though the buffer is still in use.
	   ([CVE-2024-4741])
	 * Fixed an issue where checking excessively long DSA keys or parameters may
	   be very slow.
	   Applications that use the functions EVP_PKEY_param_check() or
	   EVP_PKEY_public_check() to check a DSA public key or DSA parameters may
	   experience long delays. Where the key or parameters that are being checked
	   have been obtained from an untrusted source this may lead to a Denial of
	   Service.
	   To resolve this issue DSA keys larger than OPENSSL_DSA_MAX_MODULUS_BITS
	   will now fail the check immediately with a DSA_R_MODULUS_TOO_LARGE error
	   reason.
	   ([CVE-2024-4603])
	 * Improved EC/DSA nonce generation routines to avoid bias and timing
	   side channel leaks.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-27 09:48:50 +00:00
Michael Tremer
20719b4ce3 core-updates: Honour the excluded file list
This was not implement when refactoring the code to compress the
updater's tarball.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-27 09:39:27 +00:00
Michael Tremer
3c8adb5653 core189: Ship ruby
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:17:18 +00:00
Adolf Belka
8814ec11f0 ruby: Update to version 3.3.4
- Update from version 3.3.3 to 3.3.4
- Update of all rootfiles
- Changelog
    3.3.4
	Bug #20573: Warning.warn shouldn't be called for disabled warnings
	Bug #20585: Size of memory allocated by String.new(:capacity) is different
	 from the specified value
	Bug #20581: Ruby 3.3.3 install has missing deps for bundled net-pop gem
	Bug #20595: Corruption of encoding name string
	Bug #20598: Corruption of internal encoding string
	Bug #20562: Categorize RUBY_FREE_AT_EXIT warning
	Bug #20468: Segfault on safe navigation in for target
	Bug #20592: Interrupting Addrinfo causes Segmentation fault on alpine
	Bug #20239: Segmentation fault when using Regex on a large String
	Bug #20570: Nokey behavior changed since 3.3.
	Bug #20605: Add explicit compiler fence when pushing frames to ensure safe
	 profiling

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:16:08 +00:00
Michael Tremer
8c04e48d1d core189: Ship xfsprogs
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:15:57 +00:00
Adolf Belka
d2e0d167f5 xfsprogs: Update to version 6.9.0
- Update from version 6.8.0 to 6.9.0
- Update of rootfile not required
- Changelog is not available. List of commits available either at git repo or via
   https://www.spinics.net/lists/linux-xfs/msg87640.html

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:15:47 +00:00
Michael Tremer
3ae4a607cc core189: Ship meson
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:15:38 +00:00
Adolf Belka
e8df3770fa meson: update to version 1.5.1
- Update from version 1.4.0 to 1.5.1
- Update of rootfile
- Changelog of all changes in 1.5.x can be found at
   https://mesonbuild.com/Release-notes-for-1-5-0.html

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:15:28 +00:00
Michael Tremer
f56099b941 core189: Ship lua
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:15:15 +00:00
Adolf Belka
893dd25c88 lua: Update to version 5.4.7
- Update from version 5.4.6 to 5.4.7
- Update of rootfile
- Rename of patch file to make it clear that it works with 5.4.7
- Changelog is not available. Details of changes have to be founbd via the list of commits
   https://github.com/lua/lua/commits/master

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:14:53 +00:00
Michael Tremer
65cc82a7a8 core189: Ship iana-etc
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:14:40 +00:00
Adolf Belka
6d808ffd77 iana-etc: Update to version 20240813
- Update from version 20240701 to 20240813
- Update of rootfile no0t required
- There is no changelog.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:14:31 +00:00
Michael Tremer
1e60965fd0 core189: Ship gdbm
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:14:19 +00:00
Adolf Belka
a2645d146e gdbm: Update to version 1.24
- Update from version 1.23 to 1.24
- Update of rootfile not required
- Changelog
    1.24
	* New gdbm_load option: --update
		The --update (-U) option instructs gdbm_load to update an existing
		 database.
	* Fix semantics of gdbm_load -r
		The --replace (-r) is valid only when used together with --update.
	* Use getline in gdbmtool shell.
	* New function: gdbm_load_from_file_ext
		In contrast to gdbm_load and gdbm_load_from_file, which derive
		the value of the flag parameter for gdbm_open from the value
		of their "replace" argument, this function allows the caller to
		specify it explicitly.  The prototype is:
		  int gdbm_load_from_file_ext (GDBM_FILE *pdbf, FILE *fp,
					       int flags, int replace,
					       int meta_mask,
					       unsigned long *line);
	* Bugfixes
		** Fix binary dump format for key and/or data of zero size.
		   (see https://puszcza.gnu.org.ua/bugs/?565)
		** Fix location tracking and recover command in gdbtool.
		   (see https://puszcza.gnu.org.ua/bugs/?566)
		** Fix possible buffer underflow in gdbmload.
		** Ensure any padding bytes in avail_elem structure are filled with 0.
		   (fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031276)
		** Improve the documentation.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:14:05 +00:00
Michael Tremer
e376abe95c core189: Ship bind
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:13:46 +00:00
Adolf Belka
9d58c441e2 bind: Update to version 9.20.1
- Update from version 9.16.50 to 9.20.1
- Update of rootfile
- The use of liburcu has replaced isc_qsbr in 9.19.4 and therefore the position of
   liburcu in make.sh had to be changed.
- --enable-threads, --with-libtool, --without-python & --disable-linux-caps are no longer
   reconised configure options (it looks like not recognised for a while.
   --without-python is explicitly mentioned as being removed in version 9.15.7
   The others are not mentioned in the changelog notes.
- The lib/bind9 and lib/irs directories in the source tarball have been removed. The
   The comtents of lib/bind9 have been moved to lib/isc and lib/isccfg and the contents
   of lib/irs have been moved to dns.
- The order of the make instructions had to be changed as lib/isccfg required the results
   of lib/dns and the build failed without it. Changing the order solved the build problem.
- A large number of CVE fixes have been applied between the new and old version.
	5	9.20.0
	2	9.19.21
	3	9.19.20
	1	9.19.17
	1	9.19.14
	3	9.19.9
	5	9.19.5
	1	9.19.1
	4	9.19.0
	1	9.17.19
	1	9.17.17
	2	9.17.12
	5	9.17.4
	4	9.17.2
- Changelog is too long to include here - around 5000 lines. For details see the NEWS file
   in the source tarball.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:13:25 +00:00
Michael Tremer
e325ea00fe core189: Ship automake
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:13:04 +00:00
Adolf Belka
5bf383da9e automake: Update to version 1.17
- Update from version 1.16.5 to 1.17
- Update of rootfile
- Changelog
    1.17
	* New features added
	  - AM_PATH_PYTHON will, after checking "python", prefer any Python 3
	    version (latest versions checked first) over any Python 2
	    version. If a specific version of Python 2 is still needed, the
	    $PYTHON variable should be set beforehand.
	  - AM_PATH_PYTHON will also search for Python versions 3.20 through 3.10.
	    It previously searched for 3.9 through 3.0. (bug#53530)
	  - RANLIB may be overridden on a per-target basis.
	  - AM_TEXI2FLAGS may be defined to pass extra flags to TEXI2DVI & TEXI2PDF.
	  - New option "posix" to emit the special target .POSIX for make.
	    (bug#55025, bug#67891)
	  - Systems with non-POSIX "rm -f" behavior are now supported, and the
	    prior intent to drop support for them has been reversed.
	    The ACCEPT_INFERIOR_RM_PROGRAM setting no longer exists.
	    (bug#10828)
	  - Variables using escaped \# will trigger portability warnings, but be
	    retained when appended.  GNU Make & BSD Makes are known to support it.
	    (bug#7610)
	  - GNU Make's default pattern rules are disabled, for speed and debugging.
	    (.SUFFIXES was already cleared.) (bug#64743)
	  - For Texinfo documents, if a .texi.in file exists, but no .texi, the
	    .texi.in will be read. Texinfo source files need not be present at
	    all, and if present, need not contain @setfilename. Then the file name
	    as given in the Makefile.am will be used.  If @setfilename is present,
	    it should be the basename of the Texinfo file, extended with .info.
	    (bug#54063)
	  - aclocal has a new option --aclocal-path to override $ACLOCAL_PATH.
	    (https://lists.gnu.org/archive/html/automake-patches/2022-01/msg00029.html)
	  - The missing script also supports autoreconf, autogen, and perl.
	    (https://lists.gnu.org/archive/html/automake-patches/2015-08/msg00000.html)
	  - test-suite.log now contains basic system information, and the
	    console message about bug reporting on failure has a bit more detail.
	    (bug#68746, bug#71421)
	  - When using the (default) "parallel" test driver, you can now omit the
	    output of skipped tests from test-suite.log by defining the
	    variable IGNORE_SKIPPED_LOGS to a non-empty value. (bug#71422)
	* Bugs fixed
	  - Generated file timestamp checks handle filesystems with subsecond
	    timestamp granularity dynamically, greatly speeding up the sleep
	    done by AC_OUTPUT when generating config.status (all packages) and
	    Automake's make check.
	    However, this subsecond-mtime support requires an autom4te from
	    Autoconf 2.72 or later (or random test failures and other timing
	    problems may ensue), as well as a Perl, sleep program, make program,
	    and filesystem that all support subsecond resolution; otherwise, we
	    fall back to a two-second granularity, not even testing the (common)
	    1s case since that would induce a 2s delay for all configure scripts
	    in all packages on all systems that don't support subsecond mtimes.
	    When everything is supported, a line "Features: subsecond-mtime" is
	    now printed by automake --version and autom4te --version.
	    To override this check and delay, e.g. to use 1 second:
	      am_cv_filesystem_timestamp_resolution=1
	      export am_cv_filesystem_timestamp_resolution
	    (commit 720a11531,
	      https://lists.gnu.org/archive/html/automake-commit/2022-02/msg00009.html
	    then bug#60808, bug#64756, bug#67670, bug#68808, bug#71652,
	    history reviewed in
	      https://lists.gnu.org/archive/html/automake/2024-06/msg00054.html
	    and more info in surrounding threads.)
	  - The default value of $ARFLAGS is now "cr" instead of "cru", to better
	    support deterministic builds. (bug#20082)
	  - Automake's make dist now uses -9 instead of --best with gzip,
	    because Alpine gzip does not support --best. Also, GZIP_ENV is used
	    only for compression, not decompression, because of the same system.
	    (bug#68151)
	  - Dependency files are now empty, instead of "# dummy", for speed.
	    (https://lists.gnu.org/archive/html/automake/2022-05/msg00006.html)
	  - Compiling Python modules with Python 3.5+ uses multiple optimization
	    levels. (bug#38043)
	  - If the Python installation "scheme" is set to posix_local (Debian),
	    it is reset to either deb_system (if the prefix = /usr), or
	    posix_prefix (otherwise). (bug#54412, bug#64837)
	  - As a result of the Python scheme change, the installation directory
	    for Python files again defaults to "site-packages" under the usual
	    installation prefix, even on systems (generally Debian-based) that
	    would normally use the "dist-packages" subdirectory under
	    /usr/local.
	  - When compiling Emacs Lisp files, emacs is run with --no-site-file to
	    disable user config files that might hang or access the terminal;
	    and -Q is not used, since its support and behavior varies. (bug#58102)
	  - Emacs Lisp compilations respect silent make output.
	  - Automake no longer incorrectly warns that the POSIX make variables
	    $(*D) and the like are non-POSIX. Unfortunately, the make
	    implementations which do not correctly implement all the POSIX
	    variables are not detected, but this seems to have little impact
	    in practice. (bug#9587)
	  - Pass libtool tags OBJC and OBJCXX for the respective languages.
	    (bug#67539)
	  - distcleancheck ignores "silly rename" files (.nfs* .smb* .__afs*)
	    that can show up on network file systems.
	    (https://lists.gnu.org/archive/html/automake/2022-09/msg00002.html)
	  - Pass any options given to AM_PROG_LEX on to AC_PROG_LEX.
	    (bug#65600, bug#65730)
	  - aclocal: recognize ; as path separator on OS/2 and Windows. (bug#71534)
	  - Hash iterations with external effects now consistently sort keys.
	    (bug#25629, bug#46744)
	  - tests: avoid some declaration conflicts for lex et al. on SunOS.
	    (bug#34151 and others)
	  - tests: declare yyparse before use and use (void) parameter lists
	    instead of (), to placate C23. (bug#71425)
	  - Typos in code and other doc fixes. (bug#68003, bug#68004, et al.)
	* Obsolescence:
	  - py-compile no longer supports Python 0.x or 1.x versions.  Python 2.0,
	    released in 2000, is currently the minimum required version.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:12:40 +00:00
Matthias Fischer
7ffcccb509 mc: Update to 4.8.32
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:12:30 +00:00
Michael Tremer
9b1575cb7f core189: Ship initscript functions
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-26 08:12:00 +00:00
Jonatan Schlag
0d61c6807c initscripts fkt: Check that readhash returns 1 on a missing file
It already does that, so the function is not changed

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
80c1cb5a0a initscripts fkt: Fix shebang
We use features only available in bash. So we should state correctly
that the script should be executed in bash. As sh is a symlink to bash
this makes not differences on a ipfire system. But my linter is less
chatty with this change.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
14ecdd86f1 initscripts fkt: keep readhash compatible with older implementation
With the use of eval BLUE_DEV='blue0 net0' stored "blue0 net0" in the
variable BLUE_DEV not "'blue0 net0'"

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
f1d94e7457 initscripts fkt: readhash should only parse lines with a =
A line without a = is clearly invalid.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
9f72b7bc5f initscripts fkt: Check for invalid values in readhash
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
02254f5543 initscripts fkt: ignore invalid keys in readhash
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
d289bc28be initscripts fkt: Ignore comments in readhash
As '#Another Comment' is a valid key we test this change by checking if
the comments do not end up as keys in our array.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
59e3c2a217 initscript fkt: ignore blank lines in readhash
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
96bb3ba8b8 initscript functions: add readhash
To avoid the usage of eval and to store the config in an key value
array, we introduce an new function. The tests only check if we
read the correct value to the correct variable.

One comment on the implementation as this has created some headache:

>From https://www.gnu.org/software/bash/manual/bash.html#Bourne-Shell-Builtins

	"When used in a function, declare makes each name local, as with the local command, unless the -g option is used."

So we need to use -g here

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
acde9c1a13 tests: Add functions test_that_array_doesnt_have_key
Apparently we can set way more keys then I expected. So we need a
function to check that we do not set certain key. Some keys need to be
skipped.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
644b91e302 test: Add functions test_that_array_is_defined
we need this check in multiple places so it makes sense to move this to
a separate function.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
8f4c1855fa tests: Add function to test the ouput of a bash function
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
721373c3d7 test_value_in_array: Check if the key is defined
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
7631871fa9 tests/lib.sh: adjust to pytest logging style
Black on white is still the best to read. So we only style FAILED or
PASSED in green or red. This is also tested with different background
colors. As we only style PASSED or FAILED it works without any problems

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
1579e8b3fc tests/lib.sh: Add logging functions
So we can change the style of our log messages better.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
035f866d75 tests/lib.sh: Add check if variable exists to test_value_in_array
We cannot use [ -v ] here as this does not work. We need to check if the
array is correctly declared.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
dae8a08086 tests/lib.sh: Add function test_value_in_array
Test if a given array has the specified value stored under key.

! does not work here to access the array by variable name. So the solution here is:
https://unix.stackexchange.com/questions/60584/how-to-use-a-variable-as-part-of-an-array-name/60585#60585

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Jonatan Schlag
6f4e782356 tests: Add bash lib
This allows use to write test with less effort as we can reuse functions

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-24 12:19:56 +00:00
Adolf Belka
b7f2cb0a44 shairport-sync: Ship due to sobump from ffmpeg update
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 10:01:06 +00:00
Adolf Belka
a885661eb3 mpd: Ship due to sobump from ffmpeg update
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 10:01:06 +00:00
Adolf Belka
c48dfb2d8f minidlna: Add patch to add compatibility with ffmpeg-7.0
- From ffmpeg-7.0 the channel_layout variable has been changed to ch_layout. A minidlna
   user has submitted a patch to minidlna in May 2024 to fix this. Without this patch
   minidlna fails to build with ffmpeg-7.0 onwards.
- The patch has not yet been merged with minidlna (last commit was in May 2023) so I have
   taken the patch and applied it to the minidlna source tarball.
- Update of rootfile not required

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-23 10:01:06 +00:00