pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/30199: sysutils/smartmontools fixes and enhancement



The following reply was made to PR pkg/30199; it has been noted by GNATS.

From: Jukka Salmi <j+nbsd%2005.salmi.ch@localhost>
To: pkgsrc-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/30199: sysutils/smartmontools fixes and enhancement
Date: Wed, 11 May 2005 16:33:33 +0200

 --wRRV7LY7NUeQGEoC
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 j+nbsd%2005.salmi.ch@localhost --> pkgsrc-bugs (2005-05-11 14:30:00 +0000):
 > >Fix:
 > I'll apply the patch to the PR asap;
 
 -- 
 bashian roulette:
 $ ((RANDOM%6)) || rm -rf ~
 
 --wRRV7LY7NUeQGEoC
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="smartmontools_5.32.patch"
 
 diff -ru pkgsrc/sysutils/smartmontools.orig/Makefile 
pkgsrc/sysutils/smartmontools/Makefile
 --- pkgsrc/sysutils/smartmontools.orig/Makefile        2005-04-12 
13:23:25.000000000 +0200
 +++ pkgsrc/sysutils/smartmontools/Makefile     2005-05-11 16:10:47.000000000 
+0200
 @@ -19,6 +19,7 @@
  CONF_FILES=           ${EGDIR}/smartd.conf ${PKG_SYSCONFDIR}/smartd.conf
  RCD_SCRIPTS=          smartd
  
 +CONFIGURE_ARGS+=      --sysconfdir=${PKG_SYSCONFDIR}
  CONFIGURE_ARGS+=      --with-docdir=${PREFIX}/share/doc/smartmontools
  INSTALL_MAKE_FLAGS=   ${MAKE_FLAGS} sysconfdir=${EGDIR}
  
 diff -ru pkgsrc/sysutils/smartmontools.orig/files/smartd.sh 
pkgsrc/sysutils/smartmontools/files/smartd.sh
 --- pkgsrc/sysutils/smartmontools.orig/files/smartd.sh 2004-10-22 
14:12:22.000000000 +0200
 +++ pkgsrc/sysutils/smartmontools/files/smartd.sh      2005-05-11 
16:10:55.000000000 +0200
 @@ -11,8 +11,11 @@
  rcvar=$name
  command="@PREFIX@/sbin/${name}"
  pidfile="@VARBASE@/run/${name}.pid"
 -smartd_flags="-p $pidfile"
 -extra_commands="reload"
 +required_files="@PKG_SYSCONFDIR@/${name}.conf"
 +command_args="-p $pidfile"
 +extra_commands="reload check"
 +check_precmd='[ "$rc_pid" ]'
 +check_cmd='kill -USR1 $rc_pid'
  
  load_rc_config $name
  run_rc_command "$1"
 
 --wRRV7LY7NUeQGEoC--
 



Home | Main Index | Thread Index | Old Index