Hello community, here is the log from the commit of package smartmontools for openSUSE:Factory checked in at 2012-11-25 14:11:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/smartmontools (Old) and /work/SRC/openSUSE:Factory/.smartmontools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "smartmontools", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes 2012-11-16 14:34:43.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 2012-11-25 14:11:20.000000000 +0100 @@ -1,0 +2,7 @@ +Tue Nov 20 19:19:59 CET 2012 - [email protected] + +- Re-introduce smartmontools-sysconfig.patch with + SMARTD_SAVESTATES, SMARTD_ATTRLOG and SMARTD_EXTRA_OPTS sysconfig + variables (bnc#790044). + +------------------------------------------------------------------- New: ---- smartmontools-sysconfig.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ smartmontools.spec ++++++ --- /var/tmp/diff_new_pack.2cbcFT/_old 2012-11-25 14:11:21.000000000 +0100 +++ /var/tmp/diff_new_pack.2cbcFT/_new 2012-11-25 14:11:21.000000000 +0100 @@ -26,6 +26,8 @@ Patch1: smartmontools-default-enabled.patch Patch3: smartmontools-silent-unsupported.patch Patch4: smartmontools-removable.patch +# PATCH-FEATURE-OPENSUSE smartmontools-sysconfig.patch [email protected] -- Introduce SMARTD_SAVESTATES and SMARTD_ATTRLOG sysconfig varaibles. +Patch6: smartmontools-sysconfig.patch # SUSE-FEATURE-PATCH smartmontools-nobuild-date.patch bnc#647521 [email protected] Patch8: smartmontools-nobuild-date.patch # PATCH-FIX-OPENSUSE smartmontools-var-lock-subsys.patch [email protected] -- Do not use unsupported /var/lock/subsys. @@ -79,6 +81,7 @@ %patch1 %patch3 %patch4 +%patch6 %patch8 -p1 %patch10 -p1 %patch11 ++++++ smartmontools-sysconfig.patch ++++++ Index: smartd.initd.in =================================================================== --- smartd.initd.in.orig +++ smartd.initd.in @@ -228,6 +228,15 @@ elif [ -f /etc/SuSE-release ] ; then if test -n "$SMARTD_DRIVEDB" ; then smartd_opts="$smartd_opts -B $SMARTD_DRIVEDB" fi + if test "$SMARTD_SAVESTATES" = "no" ; then + smartd_opts="$smartd_opts -s \"\"" + fi + if test "$SMARTD_ATTRLOG" = "no" ; then + smartd_opts="$smartd_opts -A \"\"" + fi + if test -n "$SMARTD_EXTRA_OPTS" ; then + smartd_opts="$smartd_opts $SMARTD_EXTRA_OPTS" + fi # Shell functions sourced from /etc/rc.status: # rc_check check and set local and overall rc status @@ -270,7 +279,7 @@ elif [ -f /etc/SuSE-release ] ; then # We don't use startproc - we need to check for return code 17. if ! /sbin/checkproc $SMARTD_BIN ; then - $SMARTD_BIN $smartd_opts + eval $SMARTD_BIN$smartd_opts # Remember status and be verbose if test $? -ne 17 ; then rc_status -v -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
