[arch-commits] Commit in gearmand/repos (10 files)

2017-09-10 Thread Massimiliano Torromeo
Date: Sunday, September 10, 2017 @ 10:25:26
  Author: mtorromeo
Revision: 256745

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  gearmand/repos/community-staging-i686/
  gearmand/repos/community-staging-i686/PKGBUILD
(from rev 256744, gearmand/trunk/PKGBUILD)
  gearmand/repos/community-staging-i686/gearmand.conf
(from rev 256744, gearmand/trunk/gearmand.conf)
  gearmand/repos/community-staging-i686/gearmand.service
(from rev 256744, gearmand/trunk/gearmand.service)
  gearmand/repos/community-staging-i686/user.conf
(from rev 256744, gearmand/trunk/user.conf)
  gearmand/repos/community-staging-x86_64/
  gearmand/repos/community-staging-x86_64/PKGBUILD
(from rev 256744, gearmand/trunk/PKGBUILD)
  gearmand/repos/community-staging-x86_64/gearmand.conf
(from rev 256744, gearmand/trunk/gearmand.conf)
  gearmand/repos/community-staging-x86_64/gearmand.service
(from rev 256744, gearmand/trunk/gearmand.service)
  gearmand/repos/community-staging-x86_64/user.conf
(from rev 256744, gearmand/trunk/user.conf)

---+
 community-staging-i686/PKGBUILD   |   51 
 community-staging-i686/gearmand.conf  |1 
 community-staging-i686/gearmand.service   |   12 ++
 community-staging-i686/user.conf  |1 
 community-staging-x86_64/PKGBUILD |   51 
 community-staging-x86_64/gearmand.conf|1 
 community-staging-x86_64/gearmand.service |   12 ++
 community-staging-x86_64/user.conf|1 
 8 files changed, 130 insertions(+)

Copied: gearmand/repos/community-staging-i686/PKGBUILD (from rev 256744, 
gearmand/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-09-10 10:25:26 UTC (rev 256745)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+# Contributor: Lev Lybin 
+# Contributor: Vadym Abramchuk 
+# Contributor: John Gerritse 
+
+pkgname=gearmand
+pkgver=1.1.17
+pkgrel=2
+pkgdesc="Distributed job queue server."
+arch=('i686' 'x86_64')
+depends=('libevent' 'boost-libs' 'libmariadbclient' 'postgresql-libs' 'sqlite' 
'hiredis')
+makedepends=('boost' 'gperf' 'python-sphinx')
+conflicts=('gearman')
+replaces=('gearman')
+provides=("gearman=$pkgver")
+url="http://gearman.org/;
+license=('CUSTOM')
+backup=('etc/gearmand.conf')
+source=(https://github.com/gearman/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz
+gearmand.service
+gearmand.conf
+user.conf)
+sha256sums=('f9fa59d60c0ad03b449942c6fe24abe09456056852fae89a05052fa25c113c0f'
+'dee38ad4e614969047253b8c4996b8cdf33c981b0df215b6627356fd4cbafa33'
+'6c14fdcd94105338e13bdd59dbed4f9b77430a517b2c125ac2e6d3bc43bdf506'
+'02f11878d7c32039385586e527006f5cbb08444007f6c72a012e8acd8a855aef')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  export LDFLAGS="$LDFLAGS -lboost_system"
+  ./configure \
+--prefix=/usr \
+--sbindir=/usr/bin \
+--sysconfdir=/etc \
+--localstatedir=/run \
+--disable-static \
+--enable-ssl
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+
+  cd "$srcdir"
+  install -Dm644 gearmand.service 
"$pkgdir"/usr/lib/systemd/system/gearmand.service
+  install -Dm644 gearmand.conf "$pkgdir"/etc/gearmand.conf
+   install -Dm644 user.conf "$pkgdir"/usr/lib/sysusers.d/gearmand.conf
+}

Copied: gearmand/repos/community-staging-i686/gearmand.conf (from rev 256744, 
gearmand/trunk/gearmand.conf)
===
--- community-staging-i686/gearmand.conf(rev 0)
+++ community-staging-i686/gearmand.conf2017-09-10 10:25:26 UTC (rev 
256745)
@@ -0,0 +1 @@
+--syslog --log-file stderr

Copied: gearmand/repos/community-staging-i686/gearmand.service (from rev 
256744, gearmand/trunk/gearmand.service)
===
--- community-staging-i686/gearmand.service (rev 0)
+++ community-staging-i686/gearmand.service 2017-09-10 10:25:26 UTC (rev 
256745)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Gearmand distributed job system
+After=syslog.target network.target
+
+[Service]
+User=gearmand
+Type=forking
+ExecStart=/usr/bin/gearmand -d
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target

Copied: gearmand/repos/community-staging-i686/user.conf (from rev 256744, 
gearmand/trunk/user.conf)
===
--- community-staging-i686/user.conf(rev 0)
+++ 

[arch-commits] Commit in gearmand/repos (10 files)

2017-06-12 Thread Massimiliano Torromeo
Date: Monday, June 12, 2017 @ 08:52:50
  Author: mtorromeo
Revision: 236352

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  gearmand/repos/community-staging-i686/
  gearmand/repos/community-staging-i686/PKGBUILD
(from rev 236351, gearmand/trunk/PKGBUILD)
  gearmand/repos/community-staging-i686/gearmand.conf
(from rev 236351, gearmand/trunk/gearmand.conf)
  gearmand/repos/community-staging-i686/gearmand.service
(from rev 236351, gearmand/trunk/gearmand.service)
  gearmand/repos/community-staging-i686/user.conf
(from rev 236351, gearmand/trunk/user.conf)
  gearmand/repos/community-staging-x86_64/
  gearmand/repos/community-staging-x86_64/PKGBUILD
(from rev 236351, gearmand/trunk/PKGBUILD)
  gearmand/repos/community-staging-x86_64/gearmand.conf
(from rev 236351, gearmand/trunk/gearmand.conf)
  gearmand/repos/community-staging-x86_64/gearmand.service
(from rev 236351, gearmand/trunk/gearmand.service)
  gearmand/repos/community-staging-x86_64/user.conf
(from rev 236351, gearmand/trunk/user.conf)

---+
 community-staging-i686/PKGBUILD   |   51 
 community-staging-i686/gearmand.conf  |1 
 community-staging-i686/gearmand.service   |   12 ++
 community-staging-i686/user.conf  |1 
 community-staging-x86_64/PKGBUILD |   51 
 community-staging-x86_64/gearmand.conf|1 
 community-staging-x86_64/gearmand.service |   12 ++
 community-staging-x86_64/user.conf|1 
 8 files changed, 130 insertions(+)

Copied: gearmand/repos/community-staging-i686/PKGBUILD (from rev 236351, 
gearmand/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-12 08:52:50 UTC (rev 236352)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+# Contributor: Lev Lybin 
+# Contributor: Vadym Abramchuk 
+# Contributor: John Gerritse 
+
+pkgname=gearmand
+pkgver=1.1.16
+pkgrel=3
+pkgdesc="Distributed job queue server."
+arch=('i686' 'x86_64')
+depends=('libevent' 'boost-libs' 'libmariadbclient' 'postgresql-libs' 'sqlite' 
'hiredis')
+makedepends=('boost' 'gperf' 'python-sphinx')
+conflicts=('gearman')
+replaces=('gearman')
+provides=("gearman=$pkgver")
+url="http://gearman.org/;
+license=('CUSTOM')
+backup=('etc/gearmand.conf')
+source=(https://github.com/gearman/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz
+gearmand.service
+gearmand.conf
+user.conf)
+sha256sums=('d0207fa3004318af3c65d4ac8c9a1547acf104fccd1280013a7f091da2c8'
+'dee38ad4e614969047253b8c4996b8cdf33c981b0df215b6627356fd4cbafa33'
+'6c14fdcd94105338e13bdd59dbed4f9b77430a517b2c125ac2e6d3bc43bdf506'
+'02f11878d7c32039385586e527006f5cbb08444007f6c72a012e8acd8a855aef')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  export LDFLAGS="$LDFLAGS -lboost_system"
+  ./configure \
+--prefix=/usr \
+--sbindir=/usr/bin \
+--sysconfdir=/etc \
+--localstatedir=/run \
+--disable-static \
+--enable-ssl
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+
+  cd "$srcdir"
+  install -Dm644 gearmand.service 
"$pkgdir"/usr/lib/systemd/system/gearmand.service
+  install -Dm644 gearmand.conf "$pkgdir"/etc/gearmand.conf
+   install -Dm644 user.conf "$pkgdir"/usr/lib/sysusers.d/gearmand.conf
+}

Copied: gearmand/repos/community-staging-i686/gearmand.conf (from rev 236351, 
gearmand/trunk/gearmand.conf)
===
--- community-staging-i686/gearmand.conf(rev 0)
+++ community-staging-i686/gearmand.conf2017-06-12 08:52:50 UTC (rev 
236352)
@@ -0,0 +1 @@
+--syslog --log-file stderr

Copied: gearmand/repos/community-staging-i686/gearmand.service (from rev 
236351, gearmand/trunk/gearmand.service)
===
--- community-staging-i686/gearmand.service (rev 0)
+++ community-staging-i686/gearmand.service 2017-06-12 08:52:50 UTC (rev 
236352)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Gearmand distributed job system
+After=syslog.target network.target
+
+[Service]
+User=gearmand
+Type=forking
+ExecStart=/usr/bin/gearmand -d
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target

Copied: gearmand/repos/community-staging-i686/user.conf (from rev 236351, 
gearmand/trunk/user.conf)
===
--- community-staging-i686/user.conf(rev 0)
+++ 

[arch-commits] Commit in gearmand/repos (10 files)

2017-03-03 Thread Antonio Rojas
Date: Saturday, March 4, 2017 @ 00:12:18
  Author: arojas
Revision: 214725

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  gearmand/repos/community-staging-i686/
  gearmand/repos/community-staging-i686/PKGBUILD
(from rev 214724, gearmand/trunk/PKGBUILD)
  gearmand/repos/community-staging-i686/gearmand.conf
(from rev 214724, gearmand/trunk/gearmand.conf)
  gearmand/repos/community-staging-i686/gearmand.service
(from rev 214724, gearmand/trunk/gearmand.service)
  gearmand/repos/community-staging-i686/user.conf
(from rev 214724, gearmand/trunk/user.conf)
  gearmand/repos/community-staging-x86_64/
  gearmand/repos/community-staging-x86_64/PKGBUILD
(from rev 214724, gearmand/trunk/PKGBUILD)
  gearmand/repos/community-staging-x86_64/gearmand.conf
(from rev 214724, gearmand/trunk/gearmand.conf)
  gearmand/repos/community-staging-x86_64/gearmand.service
(from rev 214724, gearmand/trunk/gearmand.service)
  gearmand/repos/community-staging-x86_64/user.conf
(from rev 214724, gearmand/trunk/user.conf)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/gearmand.conf  |1 
 community-staging-i686/gearmand.service   |   12 ++
 community-staging-i686/user.conf  |1 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/gearmand.conf|1 
 community-staging-x86_64/gearmand.service |   12 ++
 community-staging-x86_64/user.conf|1 
 8 files changed, 132 insertions(+)

Copied: gearmand/repos/community-staging-i686/PKGBUILD (from rev 214724, 
gearmand/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-03-04 00:12:18 UTC (rev 214725)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+# Contributor: Lev Lybin 
+# Contributor: Vadym Abramchuk 
+# Contributor: John Gerritse 
+
+pkgname=gearmand
+pkgver=1.1.12
+pkgrel=18
+pkgdesc="Distributed job queue server."
+arch=('i686' 'x86_64')
+depends=('libevent' 'boost-libs' 'libmariadbclient' 'postgresql-libs' 'sqlite' 
'hiredis')
+makedepends=('boost' 'gperf' 'python-sphinx')
+conflicts=('gearman')
+replaces=('gearman')
+provides=("gearman=$pkgver")
+url="http://gearman.org/;
+license=('CUSTOM')
+backup=('etc/gearmand.conf')
+source=(https://launchpad.net/$pkgname/1.2/$pkgver/+download/$pkgname-$pkgver.tar.gz
+gearmand.service
+gearmand.conf
+user.conf)
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  export LDFLAGS="$LDFLAGS -lboost_system"
+  ./configure \
+--prefix=/usr \
+--sbindir=/usr/bin \
+--sysconfdir=/etc \
+--localstatedir=/run \
+--disable-static \
+--enable-ssl
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+
+  cd "$srcdir"
+  install -Dm644 gearmand.service 
"$pkgdir"/usr/lib/systemd/system/gearmand.service
+  install -Dm644 gearmand.conf "$pkgdir"/etc/gearmand.conf
+   install -Dm644 user.conf "$pkgdir"/usr/lib/sysusers.d/gearmand.conf
+}
+
+sha256sums=('973d7a3523141a84c7b757c6f243febbc89a3631e919b532c056c814d8738acb'
+'dee38ad4e614969047253b8c4996b8cdf33c981b0df215b6627356fd4cbafa33'
+'6c14fdcd94105338e13bdd59dbed4f9b77430a517b2c125ac2e6d3bc43bdf506'
+'02f11878d7c32039385586e527006f5cbb08444007f6c72a012e8acd8a855aef')

Copied: gearmand/repos/community-staging-i686/gearmand.conf (from rev 214724, 
gearmand/trunk/gearmand.conf)
===
--- community-staging-i686/gearmand.conf(rev 0)
+++ community-staging-i686/gearmand.conf2017-03-04 00:12:18 UTC (rev 
214725)
@@ -0,0 +1 @@
+--syslog --log-file stderr

Copied: gearmand/repos/community-staging-i686/gearmand.service (from rev 
214724, gearmand/trunk/gearmand.service)
===
--- community-staging-i686/gearmand.service (rev 0)
+++ community-staging-i686/gearmand.service 2017-03-04 00:12:18 UTC (rev 
214725)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Gearmand distributed job system
+After=syslog.target network.target
+
+[Service]
+User=gearmand
+Type=forking
+ExecStart=/usr/bin/gearmand -d
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target

Copied: gearmand/repos/community-staging-i686/user.conf (from rev 214724, 
gearmand/trunk/user.conf)
===
--- community-staging-i686/user.conf(rev 0)
+++ community-staging-i686/user.conf

[arch-commits] Commit in gearmand/repos (10 files)

2014-11-04 Thread Massimiliano Torromeo
Date: Tuesday, November 4, 2014 @ 16:39:33
  Author: mtorromeo
Revision: 121827

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  gearmand/repos/community-staging-i686/
  gearmand/repos/community-staging-i686/PKGBUILD
(from rev 121826, gearmand/trunk/PKGBUILD)
  gearmand/repos/community-staging-i686/gearmand.conf
(from rev 121826, gearmand/trunk/gearmand.conf)
  gearmand/repos/community-staging-i686/gearmand.install
(from rev 121826, gearmand/trunk/gearmand.install)
  gearmand/repos/community-staging-i686/gearmand.service
(from rev 121826, gearmand/trunk/gearmand.service)
  gearmand/repos/community-staging-x86_64/
  gearmand/repos/community-staging-x86_64/PKGBUILD
(from rev 121826, gearmand/trunk/PKGBUILD)
  gearmand/repos/community-staging-x86_64/gearmand.conf
(from rev 121826, gearmand/trunk/gearmand.conf)
  gearmand/repos/community-staging-x86_64/gearmand.install
(from rev 121826, gearmand/trunk/gearmand.install)
  gearmand/repos/community-staging-x86_64/gearmand.service
(from rev 121826, gearmand/trunk/gearmand.service)

---+
 community-staging-i686/PKGBUILD   |   50 
 community-staging-i686/gearmand.conf  |1 
 community-staging-i686/gearmand.install   |   12 ++
 community-staging-i686/gearmand.service   |   12 ++
 community-staging-x86_64/PKGBUILD |   50 
 community-staging-x86_64/gearmand.conf|1 
 community-staging-x86_64/gearmand.install |   12 ++
 community-staging-x86_64/gearmand.service |   12 ++
 8 files changed, 150 insertions(+)

Copied: gearmand/repos/community-staging-i686/PKGBUILD (from rev 121826, 
gearmand/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-11-04 15:39:33 UTC (rev 121827)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo massimiliano.torro...@gmail.com
+# Contributor: Lev Lybin lev.ly...@gmail.com
+# Contributor: Vadym Abramchuk abr...@gmail.com
+# Contributor: John Gerritse reaphsh...@gmail.com
+
+pkgname=gearmand
+pkgver=1.1.12
+pkgrel=4
+pkgdesc=Distributed job queue server.
+arch=('i686' 'x86_64')
+depends=('libevent' 'boost-libs' 'libmariadbclient' 'postgresql-libs' 'sqlite' 
'hiredis')
+makedepends=('boost' 'gperf' 'python-sphinx')
+conflicts=('gearman')
+replaces=('gearman')
+provides=(gearman=$pkgver)
+url=http://gearman.org/;
+license=('CUSTOM')
+install=$pkgname.install
+backup=('etc/gearmand.conf')
+source=(https://launchpad.net/$pkgname/1.2/$pkgver/+download/$pkgname-$pkgver.tar.gz
+gearmand.service
+gearmand.conf)
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  export LDFLAGS=$LDFLAGS -lboost_system
+  ./configure \
+--prefix=/usr \
+--sbindir=/usr/bin \
+--sysconfdir=/etc \
+--localstatedir=/run \
+--disable-static \
+--enable-ssl
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+  install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+
+  cd $srcdir
+  install -Dm644 gearmand.service 
$pkgdir/usr/lib/systemd/system/gearmand.service
+  install -Dm644 gearmand.conf $pkgdir/etc/gearmand.conf
+}
+
+sha256sums=('973d7a3523141a84c7b757c6f243febbc89a3631e919b532c056c814d8738acb'
+'dee38ad4e614969047253b8c4996b8cdf33c981b0df215b6627356fd4cbafa33'
+'6c14fdcd94105338e13bdd59dbed4f9b77430a517b2c125ac2e6d3bc43bdf506')

Copied: gearmand/repos/community-staging-i686/gearmand.conf (from rev 121826, 
gearmand/trunk/gearmand.conf)
===
--- community-staging-i686/gearmand.conf(rev 0)
+++ community-staging-i686/gearmand.conf2014-11-04 15:39:33 UTC (rev 
121827)
@@ -0,0 +1 @@
+--syslog --log-file stderr

Copied: gearmand/repos/community-staging-i686/gearmand.install (from rev 
121826, gearmand/trunk/gearmand.install)
===
--- community-staging-i686/gearmand.install (rev 0)
+++ community-staging-i686/gearmand.install 2014-11-04 15:39:33 UTC (rev 
121827)
@@ -0,0 +1,12 @@
+post_install() {
+  getent group gearmand /dev/null 21 || groupadd -g 113 gearmand /dev/null
+  getent passwd gearmand /dev/null 21 || useradd -u 113 -g gearmand -d 
/dev/null -s /bin/false gearmand /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  userdel gearmand
+}

Copied: gearmand/repos/community-staging-i686/gearmand.service (from rev 
121826, gearmand/trunk/gearmand.service)
===
--- community-staging-i686/gearmand.service (rev 0)
+++ community-staging-i686/gearmand.service 2014-11-04 15:39:33 UTC (rev 

[arch-commits] Commit in gearmand/repos (10 files)

2014-08-12 Thread Bartłomiej Piotrowski
Date: Tuesday, August 12, 2014 @ 12:10:48
  Author: bpiotrowski
Revision: 117272

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  gearmand/repos/community-staging-i686/
  gearmand/repos/community-staging-i686/PKGBUILD
(from rev 117271, gearmand/trunk/PKGBUILD)
  gearmand/repos/community-staging-i686/gearmand.conf
(from rev 117271, gearmand/trunk/gearmand.conf)
  gearmand/repos/community-staging-i686/gearmand.install
(from rev 117271, gearmand/trunk/gearmand.install)
  gearmand/repos/community-staging-i686/gearmand.service
(from rev 117271, gearmand/trunk/gearmand.service)
  gearmand/repos/community-staging-x86_64/
  gearmand/repos/community-staging-x86_64/PKGBUILD
(from rev 117271, gearmand/trunk/PKGBUILD)
  gearmand/repos/community-staging-x86_64/gearmand.conf
(from rev 117271, gearmand/trunk/gearmand.conf)
  gearmand/repos/community-staging-x86_64/gearmand.install
(from rev 117271, gearmand/trunk/gearmand.install)
  gearmand/repos/community-staging-x86_64/gearmand.service
(from rev 117271, gearmand/trunk/gearmand.service)

---+
 community-staging-i686/PKGBUILD   |   50 
 community-staging-i686/gearmand.conf  |1 
 community-staging-i686/gearmand.install   |   12 ++
 community-staging-i686/gearmand.service   |   12 ++
 community-staging-x86_64/PKGBUILD |   50 
 community-staging-x86_64/gearmand.conf|1 
 community-staging-x86_64/gearmand.install |   12 ++
 community-staging-x86_64/gearmand.service |   12 ++
 8 files changed, 150 insertions(+)

Copied: gearmand/repos/community-staging-i686/PKGBUILD (from rev 117271, 
gearmand/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-08-12 10:10:48 UTC (rev 117272)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo massimiliano.torro...@gmail.com
+# Contributor: Lev Lybin lev.ly...@gmail.com
+# Contributor: Vadym Abramchuk abr...@gmail.com
+# Contributor: John Gerritse reaphsh...@gmail.com
+
+pkgname=gearmand
+pkgver=1.1.12
+pkgrel=3
+pkgdesc=Distributed job queue server.
+arch=('i686' 'x86_64')
+depends=('libevent' 'boost-libs' 'libmariadbclient' 'postgresql-libs' 'sqlite' 
'hiredis')
+makedepends=('boost' 'gperf' 'python-sphinx')
+conflicts=('gearman')
+replaces=('gearman')
+provides=(gearman=$pkgver)
+url=http://gearman.org/;
+license=('CUSTOM')
+install=$pkgname.install
+backup=('etc/gearmand.conf')
+source=(https://launchpad.net/$pkgname/1.2/$pkgver/+download/$pkgname-$pkgver.tar.gz
+gearmand.service
+gearmand.conf)
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  export LDFLAGS=$LDFLAGS -lboost_system
+  ./configure \
+--prefix=/usr \
+--sbindir=/usr/bin \
+--sysconfdir=/etc \
+--localstatedir=/run \
+--disable-static \
+--enable-ssl
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+  install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+
+  cd $srcdir
+  install -Dm644 gearmand.service 
$pkgdir/usr/lib/systemd/system/gearmand.service
+  install -Dm644 gearmand.conf $pkgdir/etc/gearmand.conf
+}
+
+sha256sums=('973d7a3523141a84c7b757c6f243febbc89a3631e919b532c056c814d8738acb'
+'dee38ad4e614969047253b8c4996b8cdf33c981b0df215b6627356fd4cbafa33'
+'6c14fdcd94105338e13bdd59dbed4f9b77430a517b2c125ac2e6d3bc43bdf506')

Copied: gearmand/repos/community-staging-i686/gearmand.conf (from rev 117271, 
gearmand/trunk/gearmand.conf)
===
--- community-staging-i686/gearmand.conf(rev 0)
+++ community-staging-i686/gearmand.conf2014-08-12 10:10:48 UTC (rev 
117272)
@@ -0,0 +1 @@
+--syslog --log-file stderr

Copied: gearmand/repos/community-staging-i686/gearmand.install (from rev 
117271, gearmand/trunk/gearmand.install)
===
--- community-staging-i686/gearmand.install (rev 0)
+++ community-staging-i686/gearmand.install 2014-08-12 10:10:48 UTC (rev 
117272)
@@ -0,0 +1,12 @@
+post_install() {
+  getent group gearmand /dev/null 21 || groupadd -g 113 gearmand /dev/null
+  getent passwd gearmand /dev/null 21 || useradd -u 113 -g gearmand -d 
/dev/null -s /bin/false gearmand /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  userdel gearmand
+}

Copied: gearmand/repos/community-staging-i686/gearmand.service (from rev 
117271, gearmand/trunk/gearmand.service)
===
--- community-staging-i686/gearmand.service (rev 0)
+++ community-staging-i686/gearmand.service 2014-08-12 10:10:48 UTC (rev