FS#57753 - [openresolv] makedepends systemd seems to be more a normal depends

Attached to Project: Arch Linux
Opened by Andreas Baumann (andreas_baumann) - Thursday, 08 March 2018, 13:41 GMT
Last edited by Toolybird (Toolybird) - Friday, 14 April 2023, 08:05 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The only place where systemctl is used is at runtime
in resolvconf.in. So IMHO makedepends=(systemd)
should be a depends(systemd).

Additional info:
* package version(s): 3.9.0
* config and/or log files etc.

This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 14 April 2023, 08:05 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comment
Comment by Luke Shumaker (lukeshu) - Sunday, 07 October 2018, 07:14 GMT
depends=(systemd) is wrong. When resolvconf.in calls systemctl, it is only after detecting the init system and choosing the appropriate command; it supports systemd's systemctl, OpenRC's rc-service, runit's sv, and more. To say it depends on systemd is just plain wrong.

If the build system doesn't depend on systemd or make decisions based on the presence of systemd, then makedepends=(systemd) should be dropped. But it should absolutely not be replaced with depends=(systemd).

Loading...