[arch-commits] Commit in gearmand/repos (5 files)
Felix Yan
felixonmars at archlinux.org
Sat Dec 12 15:56:00 UTC 2020
Date: Saturday, December 12, 2020 @ 15:55:59
Author: felixonmars
Revision: 773361
archrelease: copy trunk to community-staging-x86_64
Added:
gearmand/repos/community-staging-x86_64/
gearmand/repos/community-staging-x86_64/PKGBUILD
(from rev 773358, gearmand/trunk/PKGBUILD)
gearmand/repos/community-staging-x86_64/gearmand.conf
(from rev 773358, gearmand/trunk/gearmand.conf)
gearmand/repos/community-staging-x86_64/gearmand.service
(from rev 773358, gearmand/trunk/gearmand.service)
gearmand/repos/community-staging-x86_64/user.conf
(from rev 773358, gearmand/trunk/user.conf)
------------------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
gearmand.conf | 1 +
gearmand.service | 12 ++++++++++++
user.conf | 1 +
4 files changed, 64 insertions(+)
Copied: gearmand/repos/community-staging-x86_64/PKGBUILD (from rev 773358, gearmand/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-12-12 15:55:59 UTC (rev 773361)
@@ -0,0 +1,50 @@
+# 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=14
+pkgdesc="Distributed job queue server."
+arch=('x86_64')
+depends=('libevent' 'boost-libs' 'mariadb-libs' '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 773358, gearmand/trunk/gearmand.conf)
===================================================================
--- community-staging-x86_64/gearmand.conf (rev 0)
+++ community-staging-x86_64/gearmand.conf 2020-12-12 15:55:59 UTC (rev 773361)
@@ -0,0 +1 @@
+--syslog --log-file stderr
Copied: gearmand/repos/community-staging-x86_64/gearmand.service (from rev 773358, gearmand/trunk/gearmand.service)
===================================================================
--- community-staging-x86_64/gearmand.service (rev 0)
+++ community-staging-x86_64/gearmand.service 2020-12-12 15:55:59 UTC (rev 773361)
@@ -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 773358, gearmand/trunk/user.conf)
===================================================================
--- community-staging-x86_64/user.conf (rev 0)
+++ community-staging-x86_64/user.conf 2020-12-12 15:55:59 UTC (rev 773361)
@@ -0,0 +1 @@
+u gearmand 116 "gearmand user"
More information about the arch-commits
mailing list