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

2019-06-10 Thread Sébastien Luttringer via arch-commits
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 
+
+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:


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

2018-05-27 Thread Sébastien Luttringer via arch-commits
Date: Sunday, May 27, 2018 @ 11:39:50
  Author: seblu
Revision: 331517

archrelease: copy trunk to community-testing-x86_64

Added:
  keepalived/repos/community-testing-x86_64/
  keepalived/repos/community-testing-x86_64/PKGBUILD
(from rev 331516, keepalived/trunk/PKGBUILD)

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

Copied: keepalived/repos/community-testing-x86_64/PKGBUILD (from rev 331516, 
keepalived/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-05-27 11:39:50 UTC (rev 331517)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Andrea Zucchelli 
+
+pkgname=keepalived
+pkgver=2.0.0
+pkgrel=1
+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')
+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=('1a3f4e098ac18291586bd161d61ce7c7')
+
+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: