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

Massimiliano Torromeo mtorromeo at archlinux.org
Wed May 17 15:47:56 UTC 2017


    Date: Wednesday, May 17, 2017 @ 15:47:55
  Author: mtorromeo
Revision: 228369

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 228368, gearmand/trunk/PKGBUILD)
  gearmand/repos/community-staging-i686/boolcheck.patch
    (from rev 228368, gearmand/trunk/boolcheck.patch)
  gearmand/repos/community-staging-i686/gearmand.conf
    (from rev 228368, gearmand/trunk/gearmand.conf)
  gearmand/repos/community-staging-i686/gearmand.service
    (from rev 228368, gearmand/trunk/gearmand.service)
  gearmand/repos/community-staging-i686/user.conf
    (from rev 228368, gearmand/trunk/user.conf)
  gearmand/repos/community-staging-x86_64/
  gearmand/repos/community-staging-x86_64/PKGBUILD
    (from rev 228368, gearmand/trunk/PKGBUILD)
  gearmand/repos/community-staging-x86_64/boolcheck.patch
    (from rev 228368, gearmand/trunk/boolcheck.patch)
  gearmand/repos/community-staging-x86_64/gearmand.conf
    (from rev 228368, gearmand/trunk/gearmand.conf)
  gearmand/repos/community-staging-x86_64/gearmand.service
    (from rev 228368, gearmand/trunk/gearmand.service)
  gearmand/repos/community-staging-x86_64/user.conf
    (from rev 228368, gearmand/trunk/user.conf)

-------------------------------------------+
 community-staging-i686/PKGBUILD           |   58 ++++++++++++++++++++++++++++
 community-staging-i686/boolcheck.patch    |   23 +++++++++++
 community-staging-i686/gearmand.conf      |    1 
 community-staging-i686/gearmand.service   |   12 +++++
 community-staging-i686/user.conf          |    1 
 community-staging-x86_64/PKGBUILD         |   58 ++++++++++++++++++++++++++++
 community-staging-x86_64/boolcheck.patch  |   23 +++++++++++
 community-staging-x86_64/gearmand.conf    |    1 
 community-staging-x86_64/gearmand.service |   12 +++++
 community-staging-x86_64/user.conf        |    1 
 10 files changed, 190 insertions(+)

Copied: gearmand/repos/community-staging-i686/PKGBUILD (from rev 228368, gearmand/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-05-17 15:47:55 UTC (rev 228369)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Lev Lybin <lev.lybin at gmail.com>
+# Contributor: Vadym Abramchuk <abramm at gmail.com>
+# Contributor: John Gerritse <reaphsharc at gmail.com>
+
+pkgname=gearmand
+pkgver=1.1.15
+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
+        boolcheck.patch
+        gearmand.service
+        gearmand.conf
+        user.conf)
+sha256sums=('ac61a005c5395a525d963b9f60ec387d371b8709e91bd4a2546a89d3e80a4cd0'
+            'b8898d4d2b2fc2756680108b047e19f4b1e4e777ac954dc09d73f698907e7669'
+            'dee38ad4e614969047253b8c4996b8cdf33c981b0df215b6627356fd4cbafa33'
+            '6c14fdcd94105338e13bdd59dbed4f9b77430a517b2c125ac2e6d3bc43bdf506'
+            '02f11878d7c32039385586e527006f5cbb08444007f6c72a012e8acd8a855aef')
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+  patch -p1 -i "$srcdir"/boolcheck.patch
+}
+
+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/boolcheck.patch (from rev 228368, gearmand/trunk/boolcheck.patch)
===================================================================
--- community-staging-i686/boolcheck.patch	                        (rev 0)
+++ community-staging-i686/boolcheck.patch	2017-05-17 15:47:55 UTC (rev 228369)
@@ -0,0 +1,23 @@
+From 19684aa85b9a30c70b6272203d7eec9c11e0ee49 Mon Sep 17 00:00:00 2001
+From: Alexei Pastuchov <info at maximka.de>
+Date: Mon, 20 Feb 2017 21:41:55 +0100
+Subject: [PATCH] fixing https://github.com/gearman/gearmand/issues/76 ISO C++
+ forbids comparison between pointer and integer
+
+---
+ libgearman/client.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libgearman/client.cc b/libgearman/client.cc
+index d76d479..fc4f02d 100644
+--- a/libgearman/client.cc
++++ b/libgearman/client.cc
+@@ -946,7 +946,7 @@ gearman_return_t gearman_client_job_status(gearman_client_st *client_shell,
+       *denominator= do_task->impl()->denominator;
+     }
+ 
+-    if (is_known == false and is_running == false)
++    if (!is_known and !is_running)
+     {
+       if (do_task->impl()->options.is_running) 
+       {

Copied: gearmand/repos/community-staging-i686/gearmand.conf (from rev 228368, gearmand/trunk/gearmand.conf)
===================================================================
--- community-staging-i686/gearmand.conf	                        (rev 0)
+++ community-staging-i686/gearmand.conf	2017-05-17 15:47:55 UTC (rev 228369)
@@ -0,0 +1 @@
+--syslog --log-file stderr

Copied: gearmand/repos/community-staging-i686/gearmand.service (from rev 228368, gearmand/trunk/gearmand.service)
===================================================================
--- community-staging-i686/gearmand.service	                        (rev 0)
+++ community-staging-i686/gearmand.service	2017-05-17 15:47:55 UTC (rev 228369)
@@ -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 228368, gearmand/trunk/user.conf)
===================================================================
--- community-staging-i686/user.conf	                        (rev 0)
+++ community-staging-i686/user.conf	2017-05-17 15:47:55 UTC (rev 228369)
@@ -0,0 +1 @@
+u gearmand 116 "gearmand user"

Copied: gearmand/repos/community-staging-x86_64/PKGBUILD (from rev 228368, gearmand/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-05-17 15:47:55 UTC (rev 228369)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Lev Lybin <lev.lybin at gmail.com>
+# Contributor: Vadym Abramchuk <abramm at gmail.com>
+# Contributor: John Gerritse <reaphsharc at gmail.com>
+
+pkgname=gearmand
+pkgver=1.1.15
+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
+        boolcheck.patch
+        gearmand.service
+        gearmand.conf
+        user.conf)
+sha256sums=('ac61a005c5395a525d963b9f60ec387d371b8709e91bd4a2546a89d3e80a4cd0'
+            'b8898d4d2b2fc2756680108b047e19f4b1e4e777ac954dc09d73f698907e7669'
+            'dee38ad4e614969047253b8c4996b8cdf33c981b0df215b6627356fd4cbafa33'
+            '6c14fdcd94105338e13bdd59dbed4f9b77430a517b2c125ac2e6d3bc43bdf506'
+            '02f11878d7c32039385586e527006f5cbb08444007f6c72a012e8acd8a855aef')
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+  patch -p1 -i "$srcdir"/boolcheck.patch
+}
+
+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-x86_64/boolcheck.patch (from rev 228368, gearmand/trunk/boolcheck.patch)
===================================================================
--- community-staging-x86_64/boolcheck.patch	                        (rev 0)
+++ community-staging-x86_64/boolcheck.patch	2017-05-17 15:47:55 UTC (rev 228369)
@@ -0,0 +1,23 @@
+From 19684aa85b9a30c70b6272203d7eec9c11e0ee49 Mon Sep 17 00:00:00 2001
+From: Alexei Pastuchov <info at maximka.de>
+Date: Mon, 20 Feb 2017 21:41:55 +0100
+Subject: [PATCH] fixing https://github.com/gearman/gearmand/issues/76 ISO C++
+ forbids comparison between pointer and integer
+
+---
+ libgearman/client.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libgearman/client.cc b/libgearman/client.cc
+index d76d479..fc4f02d 100644
+--- a/libgearman/client.cc
++++ b/libgearman/client.cc
+@@ -946,7 +946,7 @@ gearman_return_t gearman_client_job_status(gearman_client_st *client_shell,
+       *denominator= do_task->impl()->denominator;
+     }
+ 
+-    if (is_known == false and is_running == false)
++    if (!is_known and !is_running)
+     {
+       if (do_task->impl()->options.is_running) 
+       {

Copied: gearmand/repos/community-staging-x86_64/gearmand.conf (from rev 228368, gearmand/trunk/gearmand.conf)
===================================================================
--- community-staging-x86_64/gearmand.conf	                        (rev 0)
+++ community-staging-x86_64/gearmand.conf	2017-05-17 15:47:55 UTC (rev 228369)
@@ -0,0 +1 @@
+--syslog --log-file stderr

Copied: gearmand/repos/community-staging-x86_64/gearmand.service (from rev 228368, gearmand/trunk/gearmand.service)
===================================================================
--- community-staging-x86_64/gearmand.service	                        (rev 0)
+++ community-staging-x86_64/gearmand.service	2017-05-17 15:47:55 UTC (rev 228369)
@@ -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-x86_64/user.conf (from rev 228368, gearmand/trunk/user.conf)
===================================================================
--- community-staging-x86_64/user.conf	                        (rev 0)
+++ community-staging-x86_64/user.conf	2017-05-17 15:47:55 UTC (rev 228369)
@@ -0,0 +1 @@
+u gearmand 116 "gearmand user"



More information about the arch-commits mailing list