summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/network-ups-tools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/community/network-ups-tools/PKGBUILD')
-rw-r--r--abs/extra-testing/community/network-ups-tools/PKGBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/abs/extra-testing/community/network-ups-tools/PKGBUILD b/abs/extra-testing/community/network-ups-tools/PKGBUILD
index bffe5ea..2b90eb7 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=3
+pkgrel=4
pkgdesc="NUT is a collection of programs for monitoring and administering UPS hardware"
arch=('i686' 'x86_64')
url="http://www.networkupstools.org/"
@@ -13,8 +13,7 @@ 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.upsdrvctl run.upsd finish.upsd run.upsmon)
+source=(http://www.networkupstools.org/source/2.4/nut-$pkgver.tar.gz run.upsd finish.upsd)
options=('!emptydirs' '!libtool')
build() {
@@ -41,10 +40,8 @@ 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.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
@@ -52,7 +49,5 @@ cd $srcdir/nut-$pkgver
mv ${pkgdir}/etc/udev ${pkgdir}/lib
}
md5sums=('6f893b61b07915e7a139324fa3f79121'
- 'a84cbe7194fa85f0cf5eb6993f4a5bda'
- '3e456bf9a9a5f592bc11f2f8c78580e2'
- '97828241b3a258ae7ab1481cd181c7da'
- 'af4fc006d2e1987b4b65580ed3c493bb')
+ 'd7af81650a966660f6fd41f957c66165'
+ 'd50f13385848a9bb8f8cbc9ee5dd9fd5')