[Pkg-utopia-maintainers] Bug#861745: dbus: Make adduser / perl Depends optional
Arnaud Quette
arnaud.quette at gmail.com
Wed May 3 12:47:32 UTC 2017
Package: dbus
Severity: wishlist
Tags: patch
Hi,
we have a project at Eaton related to 42ITy <http://42ity.org>, which
produce a Debian derivative for a HW appliance. For storage footprint
reason, we've gotten rid of perl. Now, we're adding avahi, which pulls
dbus, which pulls perl through the adduser command and Depends.
The attached patch moves adduser to Suggests, and use adduser only if
available. It otherwise fallback to useradd.
Note: there is a small nuance between useradd and adduser: the latter tries
to use the smallest UID/GID for system users, while the former goes top
down from SYS_UID_MAX.
As an example, the original dbus postinst ended up with UID/GID 146 on my
system, while the modified has 999…
Thanks for considering its integration,
Cheers,
Arno
--
Eaton Data Center Automation Solutions - Opensource Leader -
http://42ity.org
NUT (Network UPS Tools) Project Leader - http://www.networkupstools.org
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20170503/e8b12943/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-noperl-adduser.patch
Type: application/mbox
Size: 1956 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20170503/e8b12943/attachment.mbox>
More information about the Pkg-utopia-maintainers
mailing list