[arch-commits] Commit in glusterfs/repos (4 files)

Felix Yan felixonmars at archlinux.org
Mon Aug 6 22:12:30 UTC 2018


    Date: Monday, August 6, 2018 @ 22:12:30
  Author: felixonmars
Revision: 369954

archrelease: copy trunk to community-staging-x86_64

Added:
  glusterfs/repos/community-staging-x86_64/
  glusterfs/repos/community-staging-x86_64/PKGBUILD
    (from rev 369953, glusterfs/trunk/PKGBUILD)
  glusterfs/repos/community-staging-x86_64/glusterfs.install
    (from rev 369953, glusterfs/trunk/glusterfs.install)
  glusterfs/repos/community-staging-x86_64/glusterfs.sysusers
    (from rev 369953, glusterfs/trunk/glusterfs.sysusers)

--------------------+
 PKGBUILD           |   76 +++++++++++++++++++++++++++++++++++++++++++++++++++
 glusterfs.install  |    3 ++
 glusterfs.sysusers |    1 
 3 files changed, 80 insertions(+)

Copied: glusterfs/repos/community-staging-x86_64/PKGBUILD (from rev 369953, glusterfs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-06 22:12:30 UTC (rev 369954)
@@ -0,0 +1,76 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributors:
+#   Andrei Antoukh - niwi at niwi.be - http://www.niwi.be
+#   henning mueller <henning at orgizm.net>
+
+pkgname=glusterfs
+epoch=1
+pkgver=4.1.2
+pkgrel=2
+pkgdesc='Is a cluster file-system capable of scaling to several peta-bytes.'
+arch=(x86_64)
+url='http://www.gluster.org/'
+license=(GPL2 LGPL3)
+install=glusterfs.install
+backup=('etc/glusterfs/glusterd.vol'
+	'etc/glusterfs/eventsconfig.json'
+	'etc/glusterfs/gluster-rsyslog-5.8.conf'
+	'etc/glusterfs/gluster-rsyslog-7.2.conf'
+	'etc/glusterfs/glusterd.vol'
+	'etc/glusterfs/glusterfs-georep-logrotate'
+	'etc/glusterfs/glusterfs-logrotate')
+depends=(fuse python2 libxml2 libaio liburcu attr which rpcbind)
+makedepends=(rpcsvc-proto)
+optdepends=('glib2: qemu-block')
+#source=($pkgname-$pkgver.tar.gz::https://github.com/gluster/glusterfs/archive/v$pkgver.tar.gz)
+source=(https://bits.gluster.org/pub/gluster/glusterfs/src/glusterfs-$pkgver.tar.gz
+        glusterfs.sysusers)
+sha256sums=('6f0b01c082fec65134eea43b2e4df8d4b55269f43b7d330e81eaad920d7c63e5'
+            'a470d07aedb2674adfb295b4775e490b48816b87974946da4dcf62aa0d72108a')
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+  find -type f -name '*.py' -exec sed -i \
+    -e 's:env\ python$:env\ python2:' \
+    -e 's:/usr/bin/python$:/usr/bin/python2:' {} +
+}
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  ./autogen.sh
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --with-mountutildir=/usr/bin \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --mandir=/usr/share/man \
+    --libexecdir=/usr/lib/$pkgname \
+    --with-systemddir=/usr/lib/systemd/system \
+    --with-tmpfilesdir=/usr/lib/tmpfiles.d \
+    --enable-gnfs \
+    PYTHON=python2 LEXLIB=
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+
+  make -j1 DESTDIR="$pkgdir" install
+
+  # https://bugzilla.redhat.com/show_bug.cgi?id=1598900
+  install -Dm644 "$srcdir"/glusterfs.sysusers \
+    "$pkgdir"/usr/lib/sysusers.d/glusterfs.conf
+
+  install -D -m 644 \
+    "$srcdir"/$pkgname-$pkgver/{README.md,INSTALL,COPYING*} \
+    "$pkgdir"/usr/share/doc/glusterfs/
+
+  cp -rf \
+    "$srcdir"/$pkgname-$pkgver/doc/* \
+    "$pkgdir"/usr/share/doc/glusterfs/
+  rm -rf "$pkgdir"/var/run
+}
+
+# vim:set ts=2 sw=2 et:

Copied: glusterfs/repos/community-staging-x86_64/glusterfs.install (from rev 369953, glusterfs/trunk/glusterfs.install)
===================================================================
--- community-staging-x86_64/glusterfs.install	                        (rev 0)
+++ community-staging-x86_64/glusterfs.install	2018-08-06 22:12:30 UTC (rev 369954)
@@ -0,0 +1,3 @@
+post_upgrade() {
+  echo "-- Read http://gluster.readthedocs.io/en/latest/Upgrade-Guide/README/ page!"
+}

Copied: glusterfs/repos/community-staging-x86_64/glusterfs.sysusers (from rev 369953, glusterfs/trunk/glusterfs.sysusers)
===================================================================
--- community-staging-x86_64/glusterfs.sysusers	                        (rev 0)
+++ community-staging-x86_64/glusterfs.sysusers	2018-08-06 22:12:30 UTC (rev 369954)
@@ -0,0 +1 @@
+u gluster - "GlusterFS daemons" /var/run/gluster -



More information about the arch-commits mailing list