summaryrefslogtreecommitdiff
path: root/extra/watchdog/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-28 00:03:26 -0800
committerroot <root@rshg054.dnsready.net>2013-02-28 00:03:26 -0800
commitb56d5949c9b0c3b40a942cd83f71e4420473435b (patch)
treeeab18954f3e6ffee5b561a2fd77ff58fbd259bc0 /extra/watchdog/PKGBUILD
parent23018fec360e50c7cb4de4b2411650ce79532e54 (diff)
Thu Feb 28 00:03:24 PST 2013
Diffstat (limited to 'extra/watchdog/PKGBUILD')
-rw-r--r--extra/watchdog/PKGBUILD24
1 files changed, 5 insertions, 19 deletions
diff --git a/extra/watchdog/PKGBUILD b/extra/watchdog/PKGBUILD
index f1c3d4986..df19144f9 100644
--- a/extra/watchdog/PKGBUILD
+++ b/extra/watchdog/PKGBUILD
@@ -1,25 +1,19 @@
-# $Id: PKGBUILD 165803 2012-08-30 17:35:28Z thomas $
+# $Id: PKGBUILD 178840 2013-02-27 15:05:46Z thomas $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=watchdog
-pkgver=5.12
-pkgrel=2
+pkgver=5.13
+pkgrel=1
pkgdesc="Watchdog daemon"
arch=(i686 x86_64)
url="http://sourceforge.net/projects/watchdog"
license=('GPL')
depends=('glibc')
-backup=(etc/watchdog.conf
- etc/conf.d/watchdog
- etc/conf.d/wd_keepalive)
+backup=(etc/watchdog.conf)
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
- watchdog.sh
- watchdog.cf
watchdog-5.12-fix-oom-in-wd_keepalive.patch
watchdog.systemd)
-md5sums=('cea28bea70e54f3625062bc808aef9af'
- 'f57d33967eb9404dd52e3c4e73795a20'
- '01c1e2e13f515131180b4ebe9b8b7cc3'
+md5sums=('153455f008f1cf8f65f6ad9586a21ff1'
'c90c2686975b5254f82b3de683f1f442'
'a835ae5cbdbb21c19a468dedb5d734e4')
@@ -41,13 +35,5 @@ build() {
package() {
cd "${srcdir}"/${pkgname}-${pkgver}
make install DESTDIR="${pkgdir}"
- for fil in watchdog wd_keepalive ; do
- install -D -m755 "${srcdir}"/watchdog.sh "${pkgdir}"/etc/rc.d/${fil}
- install -D -m644 "${srcdir}"/watchdog.cf "${pkgdir}"/etc/conf.d/${fil}
- done
install -D -m644 "${srcdir}"/watchdog.systemd "${pkgdir}"/usr/lib/systemd/system/watchdog.service
-
- sed -i 's/watchdog/wd_keepalive/g' "${pkgdir}"/etc/rc.d/wd_keepalive
- sed -i 's/watchdog/wd_keepalive/g' "${pkgdir}"/etc/conf.d/wd_keepalive
- sed -i 's/Watchdog/Simple Watchdog/' "${pkgdir}"/etc/rc.d/wd_keepalive
}