[arch-commits] Commit in keepalived/trunk (PKGBUILD keepalived.service)

Sébastien Luttringer seblu at nymeria.archlinux.org
Sun May 12 19:53:58 EDT 2013


    Date: Monday, May 13, 2013 @ 01:53:57
  Author: seblu
Revision: 90519

upgpkg: keepalived 1.2.7-3

https://www.archlinux.org/todo/move-files-to-usrbin-if-possible/

Modified:
  keepalived/trunk/PKGBUILD
  keepalived/trunk/keepalived.service

--------------------+
 PKGBUILD           |   10 ++++------
 keepalived.service |    2 +-
 2 files changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-12 23:51:34 UTC (rev 90518)
+++ PKGBUILD	2013-05-12 23:53:57 UTC (rev 90519)
@@ -4,7 +4,7 @@
 
 pkgname=keepalived
 pkgver=1.2.7
-pkgrel=2
+pkgrel=3
 pkgdesc='Failover and monitoring daemon for LVS clusters'
 arch=('i686' 'x86_64')
 url='http://www.keepalived.org/'
@@ -14,11 +14,11 @@
 source=("http://www.keepalived.org/software/$pkgname-$pkgver.tar.gz"
         'keepalived.service')
 md5sums=('8551a34ee048895dbe5350a031ff29c1'
-         'edbeda8c8777cf36110c1623e49bc5c9')
+         '0a5171f4298528315e8a8004b55befb7')
 
 build() {
   cd $pkgname-$pkgver
-  ./configure --prefix=/usr --sysconfdir=/etc
+  ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
   make
 }
 
@@ -31,10 +31,8 @@
   install -d -m 755 "$pkgdir/usr/share/$pkgname"
   mv "$pkgdir/etc/keepalived/samples" "$pkgdir/usr/share/$pkgname/samples"
   # systemd
-  cd "$srcdir"
-  install -D -m 644 $pkgname.service \
+  install -D -m 644 "$srcdir/$pkgname.service" \
     "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-
 }
 
 # vim:set ts=2 sw=2 et:

Modified: keepalived.service
===================================================================
--- keepalived.service	2013-05-12 23:51:34 UTC (rev 90518)
+++ keepalived.service	2013-05-12 23:53:57 UTC (rev 90519)
@@ -3,7 +3,7 @@
 After=network.target
 
 [Service]
-ExecStart=/usr/sbin/keepalived --dont-fork
+ExecStart=/usr/bin/keepalived --dont-fork
 
 [Install]
 WantedBy=multi-user.target



More information about the arch-commits mailing list