rpm/fileattrs
Panu Matilainen c7fd9fed99 Generate user() and group() provides from packaged sysusers.d files
Encode the actual sysusers.d line as base64 in the EVR string to be
passed to systemd-sysusers (or a compatibility script) by rpm during
installation. The source string is \0 padded as needed to avoid base64's
'=' padding in the output as this is not a welcome character in EVR
strings.

For example:

    u dnsmasq - "Dnsmasq DHCP and DNS server" /var/lib/dnsmasq

user(dnsmasq) = dSBkbnNtYXNxIC0gIkRuc21hc3EgREhDUCBhbmQgRE5TIHNlcnZlciIgL3Zhci9saWIvZG5zbWFzcQAA
group(dnsmasq)

The EVR string is omitted from the group as that gets created as a
side-effect of the user creation and does not require calling
systemd-sysusers.
2023-03-30 13:59:28 +03:00
..
CMakeLists.txt Generate user() and group() provides from packaged sysusers.d files 2023-03-30 13:59:28 +03:00
debuginfo.attr Convert debuginfo generator to a parametric generator 2020-04-21 14:49:19 +03:00
desktop.attr Convert desktop generator to a parametric generator 2020-04-21 14:49:19 +03:00
elf.attr Exclude kernel modules from ELF dependency generation 2023-02-16 12:45:33 +02:00
font.attr Tweak font magic regex a bit (yet again) 2012-05-07 14:54:13 +03:00
metainfo.attr metainfo.attr: Fix execution of the generator 2020-06-08 10:47:12 +03:00
ocaml.attr Update OCaml requires/provides to ignore cmxs 2021-11-10 12:26:42 +02:00
perl.attr Adapt perl and python fileattrs to file 5.10 magics 2012-01-10 10:48:13 +02:00
perllib.attr Only consider files with .pm suffix as perl modules (RhBug:927211) 2013-05-22 08:38:53 +03:00
pkgconfig.attr Rename pattern -> path for, duh, path patterns 2010-12-10 12:33:46 +02:00
rpm_macro.attr Add a rpm_macro() provides generator 2022-01-25 08:07:01 +01:00
script.attr Adjust script detection rules to work with file >= 5.07 too (RhBug:712251) 2011-06-10 12:11:55 +03:00
sysusers.attr Generate user() and group() provides from packaged sysusers.d files 2023-03-30 13:59:28 +03:00
usergroup.attr Generate user/group provides from packaged /etc/passwd and /etc/group 2023-03-30 13:59:28 +03:00