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

Massimiliano Torromeo mtorromeo at archlinux.org
Wed Dec 27 14:40:46 UTC 2017


    Date: Wednesday, December 27, 2017 @ 14:40:45
  Author: mtorromeo
Revision: 276245

archrelease: copy trunk to community-staging-x86_64

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

------------------+
 PKGBUILD         |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 gearmand.conf    |    1 +
 gearmand.service |   12 ++++++++++++
 user.conf        |    1 +
 4 files changed, 65 insertions(+)

Copied: gearmand/repos/community-staging-x86_64/PKGBUILD (from rev 276244, gearmand/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-12-27 14:40:45 UTC (rev 276245)
@@ -0,0 +1,51 @@
+# $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.18
+pkgrel=2
+pkgdesc="Distributed job queue server."
+arch=('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=('d789fa24996075a64c5af5fd2adef10b13f77d71f7d44edd68db482b349c962c'
+            '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-x86_64/gearmand.conf (from rev 276244, gearmand/trunk/gearmand.conf)
===================================================================
--- community-staging-x86_64/gearmand.conf	                        (rev 0)
+++ community-staging-x86_64/gearmand.conf	2017-12-27 14:40:45 UTC (rev 276245)
@@ -0,0 +1 @@
+--syslog --log-file stderr

Copied: gearmand/repos/community-staging-x86_64/gearmand.service (from rev 276244, gearmand/trunk/gearmand.service)
===================================================================
--- community-staging-x86_64/gearmand.service	                        (rev 0)
+++ community-staging-x86_64/gearmand.service	2017-12-27 14:40:45 UTC (rev 276245)
@@ -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 276244, gearmand/trunk/user.conf)
===================================================================
--- community-staging-x86_64/user.conf	                        (rev 0)
+++ community-staging-x86_64/user.conf	2017-12-27 14:40:45 UTC (rev 276245)
@@ -0,0 +1 @@
+u gearmand 116 "gearmand user"



More information about the arch-commits mailing list