smartmontools: move pid-file to /run
This commit is contained in:
parent
cd18dd563b
commit
733172d31b
@ -1,6 +1,6 @@
|
|||||||
untrusted comment: verify with /etc/ports/opt.pub
|
untrusted comment: verify with /etc/ports/opt.pub
|
||||||
RWSE3ohX2g5d/VGa9qMcmuaBEUxEuvi/tDvnBn5YprQIu2yjxit9jTdHwVpJcD6n245Ne/Ittrr9gGncSlZjfSQEsy+DHBODyQU=
|
RWSE3ohX2g5d/VxuY1QyUdROeIQQxyy0gZIcRpVSb+9vl+oo2pH81OJw7BxNqC3yx/MYGQCRk3+qtg5PH4PYRM8FqGyEhl/5LQ8=
|
||||||
SHA256 (Pkgfile) = ea52568fe94ca7126f994157ebe18f61275297efe10de9df1bf01a299ce47a40
|
SHA256 (Pkgfile) = 56fc5e0cb889b069f5d661ef3d856a3ec31bbb21fc57f2ed26ffeeac7e5159bc
|
||||||
SHA256 (.footprint) = e24fc5f2ae123da4e2c3532ea45658a54c79ccbe4d1216340baa25cea6298d62
|
SHA256 (.footprint) = e24fc5f2ae123da4e2c3532ea45658a54c79ccbe4d1216340baa25cea6298d62
|
||||||
SHA256 (smartmontools-7.2.tar.gz) = 5cd98a27e6393168bc6aaea070d9e1cd551b0f898c52f66b2ff2e5d274118cd6
|
SHA256 (smartmontools-7.2.tar.gz) = 5cd98a27e6393168bc6aaea070d9e1cd551b0f898c52f66b2ff2e5d274118cd6
|
||||||
SHA256 (smartd) = d19e41ec07dc0d38c5b94159ddb29e544322fe738fe0ef3b570b2e96f81433ae
|
SHA256 (smartd) = 249b0581e5059c42505882ae6df07ac0eeb5fcca20a39880261734643f2a9935
|
||||||
|
@ -1,28 +1,29 @@
|
|||||||
# Description: Utilities to control and monitor S.M.A.R.T. hard drives
|
# Description: Utilities to control and monitor S.M.A.R.T. hard drives
|
||||||
# URL: http://smartmontools.sourceforge.net/
|
# URL: http://smartmontools.sourceforge.net/
|
||||||
# Maintainer: Juergen Daubert, jue at crux dot nu
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
||||||
|
|
||||||
name=smartmontools
|
name=smartmontools
|
||||||
version=7.2
|
version=7.2
|
||||||
release=1
|
release=2
|
||||||
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz \
|
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz \
|
||||||
smartd)
|
smartd)
|
||||||
|
|
||||||
build () {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
./configure \
|
||||||
--sysconfdir=/etc \
|
--prefix=/usr \
|
||||||
--with-initscriptdir=/etc/rc.d \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--with-initscriptdir=/etc/rc.d \
|
||||||
--with-savestates \
|
--localstatedir=/var \
|
||||||
--with-attributelog
|
--with-savestates \
|
||||||
|
--with-attributelog
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
|
||||||
install -d $PKG/var/lib/smartmontools
|
install -d $PKG/var/lib/smartmontools
|
||||||
install -m 755 $SRC/smartd $PKG/etc/rc.d
|
install -m 755 $SRC/smartd $PKG/etc/rc.d
|
||||||
|
|
||||||
rm -r $PKG/usr/share/doc
|
rm -r $PKG/usr/share/doc
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
SSD=/sbin/start-stop-daemon
|
SSD=/sbin/start-stop-daemon
|
||||||
PROG=/usr/sbin/smartd
|
PROG=/usr/sbin/smartd
|
||||||
PID=/var/run/smartd.pid
|
PID=/run/smartd.pid
|
||||||
OPTS="-p $PID"
|
OPTS="-p $PID"
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user