summaryrefslogtreecommitdiff
path: root/extra/watchdog/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/watchdog/PKGBUILD')
-rw-r--r--extra/watchdog/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/extra/watchdog/PKGBUILD b/extra/watchdog/PKGBUILD
index df19144f9..802d06d87 100644
--- a/extra/watchdog/PKGBUILD
+++ b/extra/watchdog/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 178840 2013-02-27 15:05:46Z thomas $
+# $Id: PKGBUILD 187076 2013-06-03 11:17:02Z allan $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=watchdog
pkgver=5.13
-pkgrel=1
+pkgrel=2
pkgdesc="Watchdog daemon"
arch=(i686 x86_64)
url="http://sourceforge.net/projects/watchdog"
@@ -15,14 +15,18 @@ source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
watchdog.systemd)
md5sums=('153455f008f1cf8f65f6ad9586a21ff1'
'c90c2686975b5254f82b3de683f1f442'
- 'a835ae5cbdbb21c19a468dedb5d734e4')
+ '06677f094ec76b7fbb7b0db141209dec')
+prepare() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ patch -p1 -i "${srcdir}"/watchdog-5.12-fix-oom-in-wd_keepalive.patch
+}
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
- patch -p1 -i "${srcdir}"/watchdog-5.12-fix-oom-in-wd_keepalive.patch
./configure \
--prefix=/usr \
+ --sbindir=/usr/bin \
--mandir=/usr/share/man \
--sysconfdir=/etc \
--localstatedir=/var \