- Jun 26, 2023
-
-
alice authored
cleans up the output a bit for things that have .so in the name
-
alice authored
this is quite trivial and should be safe
-
alice authored
prior to the recent reworks, this error handling path was never triggered, because the script is ran without pipefail, and it was at the end of a | pipe | line | sort, so all it did was be ignored for 'new apks', when the old one would fail to fetch and be missing. since we now do hit this path on fetch failure however, it aborts the script when a new subpackage/package is added (since the 'old apk' won't exist), and doesn't output a diff. since before we always ignored this, ignore the 'old apk' perhaps not existing, which gives the currently intended behaviour.
-
alice authored
boolean logic gets confusing..
-
alice authored
this affected the old version too- duplicate sodiffs on symlinks are useless
-
alice authored
-
alice authored
-
alice authored
closes #10070 previously: >>> Size difference for gegl: 7480 KiB -> 7956 KiB --- filelist-gegl-old 2023-06-26 02:28:40.176085274 +0200 +++ filelist-gegl 2023-06-26 02:28:40.202085952 +0200 @@ -47,12 +47,13 @@ usr/lib/gegl-0.4/tiff-load.so usr/lib/gegl-0.4/tiff-save.so usr/lib/gegl-0.4/transformops.so +usr/lib/gegl-0.4/vector-fill.so usr/lib/gegl-0.4/vector-stroke.so usr/lib/gegl-0.4/webp-load.so usr/lib/gegl-0.4/webp-save.so usr/lib/girepository-1.0/ usr/lib/girepository-1.0/Gegl-0.4.typelib usr/lib/libgegl-0.4.so.0 -usr/lib/libgegl-0.4.so.0.443.1 +usr/lib/libgegl-0.4.so.0.445.1 usr/lib/libgegl-npd-0.4.so usr/lib/libgegl-sc-0.4.so usr/lib/gegl-0.4/vector-fill.so: SONAME vector-fill.so usr/lib/libgegl-0.4.so.0.445.1: SONAME libgegl-0.4.so.0 now: >>> Size difference for gegl: 7480 KiB -> 7956 KiB --- filelist-gegl-old +++ filelist-gegl-new @@ -47,12 +47,13 @@ usr/lib/gegl-0.4/tiff-load.so usr/lib/gegl-0.4/tiff-save.so usr/lib/gegl-0.4/transformops.so +usr/lib/gegl-0.4/vector-fill.so usr/lib/gegl-0.4/vector-stroke.so usr/lib/gegl-0.4/webp-load.so usr/lib/gegl-0.4/webp-save.so usr/lib/girepository-1.0/ usr/lib/girepository-1.0/Gegl-0.4.typelib usr/lib/libgegl-0.4.so.0 -usr/lib/libgegl-0.4.so.0.443.1 +usr/lib/libgegl-0.4.so.0.445.1 usr/lib/libgegl-npd-0.4.so usr/lib/libgegl-sc-0.4.so SODIFF: +usr/lib/gegl-0.4/vector-fill.so: SONAME vector-fill.so -usr/lib/libgegl-0.4.so.0.443.1: SONAME libgegl-0.4.so.0 +usr/lib/libgegl-0.4.so.0.445.1: SONAME libgegl-0.4.so.0 it also no longer relies on diffutils default output, utilising diff -U0 for comparison there is also a slight optimisation wrt apk handling, previously it would get decompressed twice for soname diff. now the intermediate is stored
- Jun 22, 2023
-
-
alice authored
this doesn't work for setting lvalues and *size= is never populated todo: write tests.., or just port this to lua
-
alice authored
when apk fetch fails (a new package is added) these just say 'gzip invalid magic' or similar, as there is no old apk to compare to. the || die is also never triggered, as it only triggers when the sort fails, since it won't trigger on earlier pipeline steps this needs more cleaning up, but i'll leave that for the future when i write some tests.
-
alice authored
for consistency with every default split
-
Sören Tempel authored
We can't run mkusers inside the chroot because of bwrap peculiarities. Presently, rootbld does therefore not work at all for APKBUILDs which use $pkggroups/$pkguser. While not polluting the host is a noble goal it isn't really useful if it causes rootbld to be incapable of building certain packages (i.e. those using $pkggroups/$pkguser with groups not existent on the host). This commit therefore restores the original behavior for now. While at it, I also added a comment to the mkusers invocation. See: #10094 This reverts commit 84d7b769.
-
Cow Cow authored
-
alice authored
-
When giving GitHub URLs like https://github.com/USER/REPO/archive/refs/tags/TAG.tar.gz Strip away the /refs/tags part so a valid URL is generated. Fixes #10034.
-
Signed-off-by: Jakub Panek <me@panekj.dev>
-
In abuild's getopts loop, option variables such as "keep", "verbose", etc are only set if the corresponding option is found. If such an option is *not* found, any environment variable with the same name will leak in, instead. Prevent this by explicitly unsetting almost all of them.
-
this allows for isolating cache directories per package
- Jun 21, 2023
-
-
Jakub Jirutka authored
-
- Jun 15, 2023
-
-
the previous implementation used -regex, which is subtly different between busybox and findutils [0-9]\+ matches on busybox, but doesn't match with gnu findutils [0-9]+ matches with findutils, but doesn't match on busybox this means python deps were subtly broken when findutils was installed (sometimes pulled via makedeps) vs not
-
alice authored
/usr/bin/somedirectory/ was providing cmd:somedirectory, because dirs have +x.
- Jul 03, 2022
-
-
Sören Tempel authored
Similar to suid binaries, abuild will now error out if the package includes binaries with setcap(8) capabilities but doesn't have `setcap` in `$options`. This eases identifying package which ship binaries with extra capabilities. Furthermore, if these binaries are executable by others a warning is emitted. This warning could be changed to an error in the future. The recommendation is to make such binaries only executable by owner and group, thereby requiring the system administrator to explicitly add users to a specific group in order to give them accesses to these capabilities. See: tsc#45 Discussion: This change requires abuild to depend on the `libcap` package for the `getcap` binary. It does not seem to be possible at the moment to use scanelf(1) to identify these binaries.
-
- Jun 07, 2023
-
-
Timo Teräs authored
Musl _SC_NGROUPS_MAX is fixed at 32. The kernel can support more. Query the kernel for number of groups needed.
-
alice authored
-
- Jun 04, 2023
-
-
- Jun 03, 2023
-
-
alice authored
see alpine/tsc#64 discussion