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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 18:44:51 UTC 2020


    Date: Thursday, November 12, 2020 @ 18:44:51
  Author: foutrelis
Revision: 753168

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: glusterfs/repos/community-staging-x86_64/PKGBUILD (from rev 753167, glusterfs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-12 18:44:51 UTC (rev 753168)
@@ -0,0 +1,73 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributors:
+#   Andrei Antoukh - niwi at niwi.be - https://www.niwi.be
+#   henning mueller <henning at orgizm.net>
+
+pkgname=glusterfs
+epoch=1
+pkgver=8.2
+_major=${pkgver%%.*}
+pkgrel=2
+pkgdesc='a cluster file-system capable of scaling to several peta-bytes.'
+arch=(x86_64)
+url='https://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 python libxml2 libaio liburcu attr rpcbind)
+makedepends=(rpcsvc-proto)
+optdepends=('glib2: qemu-block'
+	    'python-prettytable: gluster-georep-sshkey')
+source=(https://download.gluster.org/pub/gluster/glusterfs/${_major}/$pkgver/glusterfs-$pkgver.tar.gz
+        glusterfs.sysusers)
+sha256sums=('bd68e6368a4805caaa60f58395bd771517e085ccbd7f3bb12810b22aaa64c8a8'
+            'a470d07aedb2674adfb295b4775e490b48816b87974946da4dcf62aa0d72108a')
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+  autoreconf -fi
+}
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  ./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 \
+    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 753167, glusterfs/trunk/glusterfs.install)
===================================================================
--- community-staging-x86_64/glusterfs.install	                        (rev 0)
+++ community-staging-x86_64/glusterfs.install	2020-11-12 18:44:51 UTC (rev 753168)
@@ -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 753167, glusterfs/trunk/glusterfs.sysusers)
===================================================================
--- community-staging-x86_64/glusterfs.sysusers	                        (rev 0)
+++ community-staging-x86_64/glusterfs.sysusers	2020-11-12 18:44:51 UTC (rev 753168)
@@ -0,0 +1 @@
+u gluster - "GlusterFS daemons" /var/run/gluster -



More information about the arch-commits mailing list