summaryrefslogtreecommitdiff
path: root/community/keepalived
diff options
context:
space:
mode:
Diffstat (limited to 'community/keepalived')
-rw-r--r--community/keepalived/PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/community/keepalived/PKGBUILD b/community/keepalived/PKGBUILD
index 79361ec90..ad7fa29f4 100644
--- a/community/keepalived/PKGBUILD
+++ b/community/keepalived/PKGBUILD
@@ -1,16 +1,16 @@
# $Id$
-# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net
+# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
# Contributor: Andrea Zucchelli <zukka77@gmail.com>
pkgname=keepalived
pkgver=1.2.2
-pkgrel=1
-pkgdesc='implements an independent VRRPv2 stack and a userspace daemon for LVS cluster nodes healthchecks and LVS directors failover'
+pkgrel=3
+pkgdesc='Failover and monitoring daemon for LVS clusters'
arch=('i686' 'x86_64')
url='http://www.keepalived.org/'
license=('GPL2')
backup=('etc/keepalived/keepalived.conf' 'etc/conf.d/keepalived')
-depends=('openssl' 'popt' 'libnl')
+depends=('openssl' 'popt' 'libnl1')
source=("http://www.keepalived.org/software/$pkgname-$pkgver.tar.gz"
'keepalived.rc'
'keepalived.conf'
@@ -28,10 +28,6 @@ build() {
}
package() {
- # add initscripts
- install -D -m 755 $pkgname.rc "${pkgdir}/etc/rc.d/$pkgname"
- install -D -m 644 $pkgname.conf "${pkgdir}/etc/conf.d/$pkgname"
-
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
# clean pacakge init scripts
@@ -39,6 +35,11 @@ package() {
# move examples to /usr/share
install -d -m 755 "$pkgdir/usr/share/$pkgname"
mv "$pkgdir/etc/keepalived/samples" "$pkgdir/usr/share/$pkgname/samples"
+
+ # add initscripts
+ install -D -m 755 ../$pkgname.rc "${pkgdir}/etc/rc.d/$pkgname"
+ install -D -m 644 ../$pkgname.conf "${pkgdir}/etc/conf.d/$pkgname"
+
}
# vim:set ts=2 sw=2 ft=sh et: