![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit 733172d31bfecfd0f26ed914601f7f40bf16196d Author: Juergen Daubert <jue@jue.li> Date: Thu Feb 17 17:02:49 2022 +0100 smartmontools: move pid-file to /run diff --git a/smartmontools/.signature b/smartmontools/.signature index bd64b21ad..d804340bc 100644 --- a/smartmontools/.signature +++ b/smartmontools/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/VGa9qMcmuaBEUxEuvi/tDvnBn5YprQIu2yjxit9jTdHwVpJcD6n245Ne/Ittrr9gGncSlZjfSQEsy+DHBODyQU= -SHA256 (Pkgfile) = ea52568fe94ca7126f994157ebe18f61275297efe10de9df1bf01a299ce47a40 +RWSE3ohX2g5d/VxuY1QyUdROeIQQxyy0gZIcRpVSb+9vl+oo2pH81OJw7BxNqC3yx/MYGQCRk3+qtg5PH4PYRM8FqGyEhl/5LQ8= +SHA256 (Pkgfile) = 56fc5e0cb889b069f5d661ef3d856a3ec31bbb21fc57f2ed26ffeeac7e5159bc SHA256 (.footprint) = e24fc5f2ae123da4e2c3532ea45658a54c79ccbe4d1216340baa25cea6298d62 SHA256 (smartmontools-7.2.tar.gz) = 5cd98a27e6393168bc6aaea070d9e1cd551b0f898c52f66b2ff2e5d274118cd6 -SHA256 (smartd) = d19e41ec07dc0d38c5b94159ddb29e544322fe738fe0ef3b570b2e96f81433ae +SHA256 (smartd) = 249b0581e5059c42505882ae6df07ac0eeb5fcca20a39880261734643f2a9935 diff --git a/smartmontools/Pkgfile b/smartmontools/Pkgfile index 198c7ace6..e57d9c298 100644 --- a/smartmontools/Pkgfile +++ b/smartmontools/Pkgfile @@ -1,28 +1,29 @@ # Description: Utilities to control and monitor S.M.A.R.T. hard drives -# URL: http://smartmontools.sourceforge.net/ -# Maintainer: Juergen Daubert, jue at crux dot nu +# URL: http://smartmontools.sourceforge.net/ +# Maintainer: Juergen Daubert, jue at crux dot nu name=smartmontools version=7.2 -release=1 +release=2 source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version... \ - smartd) + smartd) -build () { - cd $name-$version +build() { + cd $name-$version - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --with-initscriptdir=/etc/rc.d \ - --localstatedir=/var \ - --with-savestates \ - --with-attributelog + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --with-initscriptdir=/etc/rc.d \ + --localstatedir=/var \ + --with-savestates \ + --with-attributelog - make - make DESTDIR=$PKG install + make + make DESTDIR=$PKG install - install -d $PKG/var/lib/smartmontools - install -m 755 $SRC/smartd $PKG/etc/rc.d + install -d $PKG/var/lib/smartmontools + install -m 755 $SRC/smartd $PKG/etc/rc.d - rm -r $PKG/usr/share/doc + rm -r $PKG/usr/share/doc } diff --git a/smartmontools/smartd b/smartmontools/smartd index 640bbfafe..44ff56947 100644 --- a/smartmontools/smartd +++ b/smartmontools/smartd @@ -5,7 +5,7 @@ SSD=/sbin/start-stop-daemon PROG=/usr/sbin/smartd -PID=/var/run/smartd.pid +PID=/run/smartd.pid OPTS="-p $PID" case $1 in