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

Felix Yan felixonmars at archlinux.org
Fri Jan 11 01:07:40 UTC 2019


    Date: Friday, January 11, 2019 @ 01:07:39
  Author: felixonmars
Revision: 422197

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: glusterfs/repos/community-staging-x86_64/PKGBUILD (from rev 422196, glusterfs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-01-11 01:07:39 UTC (rev 422197)
@@ -0,0 +1,75 @@
+# 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=5.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=('842eaff5e7abb1bb56b00127ceb1ffb9dc62ffc6ce3fa851fb434f4989b76d2f'
+            '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 422196, glusterfs/trunk/glusterfs.install)
===================================================================
--- community-staging-x86_64/glusterfs.install	                        (rev 0)
+++ community-staging-x86_64/glusterfs.install	2019-01-11 01:07:39 UTC (rev 422197)
@@ -0,0 +1,3 @@
+post_upgrade() {
+  echo "-- Read https://gluster.readthedocs.io/en/latest/Upgrade-Guide/ page!"
+}

Copied: glusterfs/repos/community-staging-x86_64/glusterfs.sysusers (from rev 422196, glusterfs/trunk/glusterfs.sysusers)
===================================================================
--- community-staging-x86_64/glusterfs.sysusers	                        (rev 0)
+++ community-staging-x86_64/glusterfs.sysusers	2019-01-11 01:07:39 UTC (rev 422197)
@@ -0,0 +1 @@
+u gluster - "GlusterFS daemons" /var/run/gluster -



More information about the arch-commits mailing list