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

Sébastien Luttringer seblu at archlinux.org
Tue Dec 6 00:56:47 UTC 2016


    Date: Tuesday, December 6, 2016 @ 00:56:46
  Author: seblu
Revision: 198077

upgpkg: keepalived 1.3.2-2

- Add ipset support
- Fix systemd service dropped when build in a chroot

Modified:
  keepalived/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-05 23:15:24 UTC (rev 198076)
+++ PKGBUILD	2016-12-06 00:56:46 UTC (rev 198077)
@@ -4,19 +4,25 @@
 
 pkgname=keepalived
 pkgver=1.3.2
-pkgrel=1
+pkgrel=2
 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/sysconfig/keepalived')
-depends=('openssl' 'popt' 'libnl1' 'iptables')
-makedepends=('libnfnetlink' 'systemd')
+depends=('openssl' 'popt' 'libnl1' 'ipset' 'iptables')
+optdepends=('ipset: ipset support')
+makedepends=('libnfnetlink' 'ipset' 'systemd')
 options=('!emptydirs')
 source=("http://www.keepalived.org/software/$pkgname-$pkgver.tar.gz")
 md5sums=('744025d57c7f065c42fe925b0283897e')
 
 build() {
+  # trick broken ./configure systemctl test
+  printf "#!/bin/sh\necho -.mount\n" > systemctl
+  chmod +x systemctl
+  PATH=$PWD:$PATH
+
   cd $pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
   make



More information about the arch-commits mailing list