Hello community, here is the log from the commit of package nut checked in at Fri Apr 28 21:14:02 CEST 2006. -------- --- nut/nut.changes 2006-04-25 19:16:43.000000000 +0200 +++ STABLE/nut/nut.changes 2006-04-27 13:41:12.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Apr 27 13:40:30 CEST 2006 - sbrabec@suse.cz + +- Work correctly, if port is a symlink (168611#c6). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nut.spec ++++++ --- /var/tmp/diff_new_pack.GwIkGo/_old 2006-04-28 21:13:58.000000000 +0200 +++ /var/tmp/diff_new_pack.GwIkGo/_new 2006-04-28 21:13:58.000000000 +0200 @@ -18,7 +18,7 @@ License: GPL Group: Hardware/UPS Provides: smartups -Requires: /usr/bin/pgrep /usr/bin/pkill /usr/bin/grep /usr/bin/fgrep /usr/sbin/lsusb +Requires: /usr/bin/pgrep /usr/bin/pkill /usr/bin/grep /usr/bin/fgrep /usr/sbin/lsusb /usr/bin/readlink %if %suse_version > 1000 Requires: powersave %endif @@ -27,7 +27,7 @@ Autoreqprov: on Summary: UPS Monitoring Software Version: 2.0.3 -Release: 14 +Release: 18 URL: http://www.networkupstools.org/ Source: %{name}-%{version}.tar.bz2 Source1: upsd.init @@ -248,6 +248,8 @@ %attr(700,%{USER},root) %STATEPATH %changelog -n nut +* Thu Apr 27 2006 - sbrabec@suse.cz +- Work correctly, if port is a symlink (168611#c6). * Tue Apr 25 2006 - sbrabec@suse.cz - Fixed init script to behave correctly for port = auto (#168611). * Fri Mar 24 2006 - sbrabec@suse.cz ++++++ upsd.init ++++++ --- nut/upsd.init 2006-04-25 19:30:47.000000000 +0200 +++ STABLE/nut/upsd.init 2006-04-27 13:24:34.000000000 +0200 @@ -158,6 +158,9 @@ rc_failed 1 ; rc_status -v ; rc_exit fi fi + if test -L "$PORT" ; then + PORT=$(readlink -f $PORT) + fi if test -n "$PORT" && test -c "$PORT" ; then chown $UPS_OWNER $PORT || { rc_failed ; rc_status -v ; rc_exit ; } else ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...