[arch-commits] Commit in keepalived/repos (2 files)

Sébastien Luttringer seblu at archlinux.org
Tue Jun 11 00:19:23 UTC 2019


    Date: Tuesday, June 11, 2019 @ 00:19:21
  Author: seblu
Revision: 479800

archrelease: copy trunk to community-staging-x86_64

Added:
  keepalived/repos/community-staging-x86_64/
  keepalived/repos/community-staging-x86_64/PKGBUILD
    (from rev 479799, keepalived/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: keepalived/repos/community-staging-x86_64/PKGBUILD (from rev 479799, keepalived/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-06-11 00:19:21 UTC (rev 479800)
@@ -0,0 +1,44 @@
+# Maintainer: Sébastien Luttringer
+# Contributor: Andrea Zucchelli <zukka77 at gmail.com>
+
+pkgname=keepalived
+pkgver=2.0.16
+pkgrel=2
+pkgdesc='Failover and monitoring daemon for LVS clusters'
+arch=('x86_64')
+url='http://www.keepalived.org/'
+license=('GPL2')
+backup=('etc/keepalived/keepalived.conf' 'etc/sysconfig/keepalived')
+makedepends=('ipset')
+depends=('glibc' 'libnl' 'openssl' 'file' 'iptables')
+optdepends=('ipset: ipset support')
+makedepends=('libnfnetlink' 'ipset' 'systemd')
+options=('!emptydirs')
+source=("http://www.keepalived.org/software/$pkgname-$pkgver.tar.gz")
+md5sums=('03f202eace2ad392c61ced15bb710e24')
+
+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 \
+    --localstatedir=/var \
+    --runstatedir=/run
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  # move examples to /usr/share
+  install -d -m 755 "$pkgdir/usr/share/$pkgname"
+  mv "$pkgdir/etc/keepalived/samples" "$pkgdir/usr/share/$pkgname/samples"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list