[arch-commits] Commit in gearmand/repos (10 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Tue Aug 12 10:10:48 UTC 2014
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.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.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.conf 2014-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 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-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 117272)
@@ -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/PKGBUILD (from rev 117271, gearmand/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2014-08-12 10:10:48 UTC (rev 117272)
@@ -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.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-x86_64/gearmand.conf (from rev 117271, gearmand/trunk/gearmand.conf)
===================================================================
--- community-staging-x86_64/gearmand.conf (rev 0)
+++ community-staging-x86_64/gearmand.conf 2014-08-12 10:10:48 UTC (rev 117272)
@@ -0,0 +1 @@
+--syslog --log-file stderr
Copied: gearmand/repos/community-staging-x86_64/gearmand.install (from rev 117271, gearmand/trunk/gearmand.install)
===================================================================
--- community-staging-x86_64/gearmand.install (rev 0)
+++ community-staging-x86_64/gearmand.install 2014-08-12 10:10:48 UTC (rev 117272)
@@ -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-staging-x86_64/gearmand.service (from rev 117271, gearmand/trunk/gearmand.service)
===================================================================
--- community-staging-x86_64/gearmand.service (rev 0)
+++ community-staging-x86_64/gearmand.service 2014-08-12 10:10:48 UTC (rev 117272)
@@ -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