summaryrefslogtreecommitdiffstats
path: root/abs/extra/apcupsd
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:13:57 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:13:57 (GMT)
commitb172f79fadb565ecfbcec9508f9377d8618a4f4c (patch)
treebf8823b07e3313c3afa000a9b31e4f9a735cb818 /abs/extra/apcupsd
parentf9d54ab7c3853208484e304bc6cf40ab0f79d400 (diff)
parent5e7027c6194237ca1dc5fcbb3648483a970fb500 (diff)
downloadlinhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.zip
linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.tar.gz
linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.tar.bz2
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/extra/apcupsd')
-rw-r--r--abs/extra/apcupsd/PKGBUILD12
-rw-r--r--abs/extra/apcupsd/run3
2 files changed, 8 insertions, 7 deletions
diff --git a/abs/extra/apcupsd/PKGBUILD b/abs/extra/apcupsd/PKGBUILD
index 9f66f5d..ad57d1a 100644
--- a/abs/extra/apcupsd/PKGBUILD
+++ b/abs/extra/apcupsd/PKGBUILD
@@ -3,8 +3,8 @@
# Maintainer: Todd Musall <tmusall@comcast.net>
pkgname=apcupsd
-pkgver=3.14.5
-pkgrel=2
+pkgver=3.14.8
+pkgrel=1
pkgdesc="Apcupsd can be used for power mangement and controlling most of APC's UPS models on Unix and Windows machines."
arch=(i686 x86_64)
url="http://www.apcupsd.org"
@@ -17,10 +17,6 @@ source=(http://switch.dl.sf.net/sourceforge/apcupsd/$pkgname-$pkgver.tar.gz \
apcupsd
apcupsd.conf
run)
-md5sums=('4ac73ec91d8ab56f3fac894e172567c4'
- '5eae3c4d921eeb81798a0250fe3dd111'
- '2f533aec32c9445510bb2127b453b175'
- 'd4b8c755ecd30f57810f71a6d6435dd3')
build() {
cd $startdir/src/$pkgname-$pkgver
@@ -36,3 +32,7 @@ build() {
mkdir -p $startdir/pkg/etc/sv/apcupsd/supervise
install -D -m755 ../run $startdir/pkg/etc/sv/apcupsd
}
+md5sums=('cd17f0a903dc2220e55ed54e242359d2'
+ '5eae3c4d921eeb81798a0250fe3dd111'
+ '2f533aec32c9445510bb2127b453b175'
+ '32ae73bc096c1d0982c12d8ec46abee2')
diff --git a/abs/extra/apcupsd/run b/abs/extra/apcupsd/run
index a9dfa3d..bc5c22b 100644
--- a/abs/extra/apcupsd/run
+++ b/abs/extra/apcupsd/run
@@ -1,3 +1,4 @@
#!/bin/sh
exec 2>&1
-exec /sbin/apcupsd -b -f /etc/apcupsd/apcupsd.conf >/dev/null 2>/dev/null
+ stat_runit "Starting APC UPS Daemon"
+ exec /sbin/apcupsd -b -f /etc/apcupsd/apcupsd.conf