FS#33966 - [catalyst-utils] remove unnecessary netkit-bsd-finger and xinetd dependencies

Attached to Project: Community Packages
Opened by Radics Péter (mitchnull) - Friday, 22 February 2013, 10:59 GMT
Last edited by Laurent Carlier (lordheavy) - Tuesday, 23 April 2013, 07:05 GMT
Task Type General Gripe
Category Packages
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

/etc/acpi/ati-powermode.sh installed by catalyst-utils is using the finger(1) command to determine the current X user.
The same can be done by using the who(1) command (just replace the two occurrences of 'finger' to 'who' in /etc/acpi/ati-powermode.sh) and the who(1) command is part of coreutils package which is installed almost everywhere, whereas netkit-bsd-finger is almost never installed and the package currently has no maintainer.

Please patch the /etc/acpi/ati-powermode.sh in catalyst-utils to use 'who' instead of 'finger' and remove the unnecessary netkit-bsd-finger (and thus xinetd) dependencies.

Additional info:
* package version(s)
community/catalyst-utils 13.1-1
* config and/or log files etc.
N/A

Steps to reproduce:

The original version using 'finger' (from ati-powermode.sh):
[mitch@deneb tmp]$ finger | grep -m1 ":0 " | awk '{print $1}'
mitch

The same with 'who' instead of 'finger':
[mitch@deneb tmp]$ who| grep -m1 ":0 " | awk '{print $1}'
mitch

Patch attached.

This task depends upon

Closed by  Laurent Carlier (lordheavy)
Tuesday, 23 April 2013, 07:05 GMT
Reason for closing:  Won't fix
Additional comments about closing:  catalyst isn't anymore in our repos

Loading...