summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verison.net>2010-03-25 02:26:23 (GMT)
committerMichael Hanson <hansonorders@verison.net>2010-03-25 02:36:22 (GMT)
commitba1c95de6f0f0d4059f4f0b87fa40f01515fe807 (patch)
tree85ef0f5c1d8f2f0eefc3c1f105dcf6bda653381f
parentbd1571b47ff76a352c67f0b87e77843812b6c99b (diff)
downloadlinhes_pkgbuild-ba1c95de6f0f0d4059f4f0b87fa40f01515fe807.zip
linhes_pkgbuild-ba1c95de6f0f0d4059f4f0b87fa40f01515fe807.tar.gz
linhes_pkgbuild-ba1c95de6f0f0d4059f4f0b87fa40f01515fe807.tar.bz2
apcupsd: fixed extraneous redirects in apcupsd exec line of run
also updated to 3.14.8
-rw-r--r--abs/extra-testing/apcupsd/PKGBUILD12
-rw-r--r--abs/extra-testing/apcupsd/run3
2 files changed, 8 insertions, 7 deletions
diff --git a/abs/extra-testing/apcupsd/PKGBUILD b/abs/extra-testing/apcupsd/PKGBUILD
index 9f66f5d..ad57d1a 100644
--- a/abs/extra-testing/apcupsd/PKGBUILD
+++ b/abs/extra-testing/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-testing/apcupsd/run b/abs/extra-testing/apcupsd/run
index a9dfa3d..bc5c22b 100644
--- a/abs/extra-testing/apcupsd/run
+++ b/abs/extra-testing/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