diff options
author | Michael Hanson <hansonorders@verison.net> | 2010-03-25 00:39:23 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verison.net> | 2010-03-25 00:39:23 (GMT) |
commit | 369bb6314419c513693a3b5546f6272bd0a6a20c (patch) | |
tree | a977fe9c416ce402191a6d12de45164877093e95 /abs/extra-testing/community/network-ups-tools/PKGBUILD | |
parent | 698caea6972d83123dfa9f03b67cbd8598e7a2f3 (diff) | |
download | linhes_pkgbuild-369bb6314419c513693a3b5546f6272bd0a6a20c.zip linhes_pkgbuild-369bb6314419c513693a3b5546f6272bd0a6a20c.tar.gz linhes_pkgbuild-369bb6314419c513693a3b5546f6272bd0a6a20c.tar.bz2 |
network-ups-tools: Found a way to run in the foreground without a loop.
Diffstat (limited to 'abs/extra-testing/community/network-ups-tools/PKGBUILD')
-rw-r--r-- | abs/extra-testing/community/network-ups-tools/PKGBUILD | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/abs/extra-testing/community/network-ups-tools/PKGBUILD b/abs/extra-testing/community/network-ups-tools/PKGBUILD index ddbe89e..bffe5ea 100644 --- a/abs/extra-testing/community/network-ups-tools/PKGBUILD +++ b/abs/extra-testing/community/network-ups-tools/PKGBUILD @@ -4,7 +4,7 @@ pkgname=network-ups-tools pkgver=2.4.3 -pkgrel=2 +pkgrel=3 pkgdesc="NUT is a collection of programs for monitoring and administering UPS hardware" arch=('i686' 'x86_64') url="http://www.networkupstools.org/" @@ -13,7 +13,8 @@ depends=('openssl' 'hal' 'gd') makedepends=('libusb') backup=(etc/ups/{ups.conf,upsd.conf,upsd.users,upsmon.conf,upssched.conf}) install=nut.install -source=(http://www.networkupstools.org/source/2.4/nut-$pkgver.tar.gz run finish) +source=(http://www.networkupstools.org/source/2.4/nut-$pkgver.tar.gz + run.upsdrvctl run.upsd finish.upsd run.upsmon) options=('!emptydirs' '!libtool') build() { @@ -40,8 +41,10 @@ cd $srcdir/nut-$pkgver install -D -m640 conf/upsd.users.sample $pkgdir/etc/ups/upsd.users install -D -m640 conf/upsmon.conf.sample $pkgdir/etc/ups/upsmon.conf install -D -m644 conf/upssched.conf.sample $pkgdir/etc/ups/upssched.conf - install -D -m755 ../run $pkgdir/etc/sv/upsd/run || return 1 - install -D -m755 ../finish $pkgdir/etc/sv/upsd/finish || return 1 + install -D -m755 ../run.upsdrvctl $pkgdir/etc/sv/upsdrvctl/run || return 1 + install -D -m755 ../run.upsd $pkgdir/etc/sv/upsd/run || return 1 + install -D -m755 ../finish.upsd $pkgdir/etc/sv/upsd/finish || return 1 + install -D -m755 ../run.upsmon $pkgdir/etc/sv/upsmon/run || return 1 # Fix udev rules sed -i "s|SYSFS|ATTRS|g" $pkgdir/etc/udev/rules.d/52-nut-usbups.rules @@ -49,5 +52,7 @@ cd $srcdir/nut-$pkgver mv ${pkgdir}/etc/udev ${pkgdir}/lib } md5sums=('6f893b61b07915e7a139324fa3f79121' - 'a927b0803559e4498bb944d98250f011' - 'b5b2e266774acfbc80e64ddfbd4057ee') + 'a84cbe7194fa85f0cf5eb6993f4a5bda' + '3e456bf9a9a5f592bc11f2f8c78580e2' + '97828241b3a258ae7ab1481cd181c7da' + 'af4fc006d2e1987b4b65580ed3c493bb') |