Commit Graph

5 Commits

Author SHA1 Message Date
Hugo Osvaldo Barrera b3b42ae177 Link to buildrepo(1) in APKBUILD(5) and abuild(1)
Add a reference in the SEE ALSO section. Improves discoverability of
this tool for newcomers.

See: https://gitlab.alpinelinux.org/alpine/lua-aports/-/merge_requests/16
2024-10-07 20:53:44 +00:00
Sertonix f0051d2658 doc: document replaces_priority 2024-03-28 22:43:42 +00:00
Sören Tempel 4a2a0337d0 abuild: Scan for binaries with extra setcap(8) capabilities
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: https://gitlab.alpinelinux.org/alpine/tsc/-/issues/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.
2022-07-03 14:30:15 +02:00
Sören Tempel e2ab6219d3 abuild: Warn if -doc subpackage exceeds a certain threshold
In the warning, suggest splitting the -doc subpackage into additional
smaller packages (which are not pulled in by the `docs` meta package).

Fixes https://gitlab.alpinelinux.org/alpine/tsc/-/issues/16
2023-06-03 10:55:12 +00:00
Rodrigo Lourenço 0db2d3397a Convert man pages to scdoc
Closes #9986.
2021-10-11 18:31:29 +00:00