[arch-commits] Commit in gearmand (11 files)

Massimiliano Torromeo mtorromeo at nymeria.archlinux.org
Wed Dec 11 14:33:31 UTC 2013


    Date: Wednesday, December 11, 2013 @ 15:33:31
  Author: mtorromeo
Revision: 102452

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

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

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

Copied: gearmand/repos/community-i686/PKGBUILD (from rev 102449, gearmand/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2013-12-11 14:33:31 UTC (rev 102452)
@@ -0,0 +1,50 @@
+# $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.11
+pkgrel=1
+pkgdesc="Distributed job queue server."
+arch=('i686' 'x86_64')
+depends=('libevent' 'boost-libs' 'libmariadbclient' 'postgresql-libs' 'sqlite')
+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=('a175cbdeabe8102796418a516532adad58abd5e355365c78b6a234e544655825'
+            'dee38ad4e614969047253b8c4996b8cdf33c981b0df215b6627356fd4cbafa33'
+            '6c14fdcd94105338e13bdd59dbed4f9b77430a517b2c125ac2e6d3bc43bdf506')

Copied: gearmand/repos/community-i686/gearmand.conf (from rev 102449, gearmand/trunk/gearmand.conf)
===================================================================
--- repos/community-i686/gearmand.conf	                        (rev 0)
+++ repos/community-i686/gearmand.conf	2013-12-11 14:33:31 UTC (rev 102452)
@@ -0,0 +1 @@
+--syslog --log-file stderr

Copied: gearmand/repos/community-i686/gearmand.install (from rev 102449, gearmand/trunk/gearmand.install)
===================================================================
--- repos/community-i686/gearmand.install	                        (rev 0)
+++ repos/community-i686/gearmand.install	2013-12-11 14:33:31 UTC (rev 102452)
@@ -0,0 +1,12 @@
+post_install() {
+  getent group gearmand >/dev/null 2>&1 || groupadd -g 113 gearmand &>/dev/null
+  getent passwd gearmand >/dev/null 2>&1 || 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-i686/gearmand.service (from rev 102449, gearmand/trunk/gearmand.service)
===================================================================
--- repos/community-i686/gearmand.service	                        (rev 0)
+++ repos/community-i686/gearmand.service	2013-12-11 14:33:31 UTC (rev 102452)
@@ -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-x86_64/PKGBUILD (from rev 102451, gearmand/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2013-12-11 14:33:31 UTC (rev 102452)
@@ -0,0 +1,50 @@
+# $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.11
+pkgrel=1
+pkgdesc="Distributed job queue server."
+arch=('i686' 'x86_64')
+depends=('libevent' 'boost-libs' 'libmariadbclient' 'postgresql-libs' 'sqlite')
+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=('a175cbdeabe8102796418a516532adad58abd5e355365c78b6a234e544655825'
+            'dee38ad4e614969047253b8c4996b8cdf33c981b0df215b6627356fd4cbafa33'
+            '6c14fdcd94105338e13bdd59dbed4f9b77430a517b2c125ac2e6d3bc43bdf506')

Copied: gearmand/repos/community-x86_64/gearmand.conf (from rev 102451, gearmand/trunk/gearmand.conf)
===================================================================
--- repos/community-x86_64/gearmand.conf	                        (rev 0)
+++ repos/community-x86_64/gearmand.conf	2013-12-11 14:33:31 UTC (rev 102452)
@@ -0,0 +1 @@
+--syslog --log-file stderr

Copied: gearmand/repos/community-x86_64/gearmand.install (from rev 102451, gearmand/trunk/gearmand.install)
===================================================================
--- repos/community-x86_64/gearmand.install	                        (rev 0)
+++ repos/community-x86_64/gearmand.install	2013-12-11 14:33:31 UTC (rev 102452)
@@ -0,0 +1,12 @@
+post_install() {
+  getent group gearmand >/dev/null 2>&1 || groupadd -g 113 gearmand &>/dev/null
+  getent passwd gearmand >/dev/null 2>&1 || 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-x86_64/gearmand.service (from rev 102451, gearmand/trunk/gearmand.service)
===================================================================
--- repos/community-x86_64/gearmand.service	                        (rev 0)
+++ repos/community-x86_64/gearmand.service	2013-12-11 14:33:31 UTC (rev 102452)
@@ -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




More information about the arch-commits mailing list