[arch-commits] Commit in glusterfs/repos/community-x86_64 (5 files)

Eli Schwartz eschwartz at archlinux.org
Fri Jul 6 19:55:52 UTC 2018


    Date: Friday, July 6, 2018 @ 19:55:52
  Author: eschwartz
Revision: 353921

archrelease: copy trunk to community-x86_64

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

--------------------+
 PKGBUILD           |  146 ++++++++++++++++++++++++++-------------------------
 glusterfs.install  |    6 +-
 glusterfs.sysusers |    1 
 3 files changed, 80 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-06 19:55:27 UTC (rev 353920)
+++ PKGBUILD	2018-07-06 19:55:52 UTC (rev 353921)
@@ -1,70 +0,0 @@
-# $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.0
-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)
-sha256sums=('14474a8027a613c242db2b862e8e8d041f70ae3e8e193163dd7792f3e1946ed9')
-
-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
-
-  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-x86_64/PKGBUILD (from rev 353920, glusterfs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-06 19:55:52 UTC (rev 353921)
@@ -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.0
+pkgrel=3
+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=('14474a8027a613c242db2b862e8e8d041f70ae3e8e193163dd7792f3e1946ed9'
+            '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:

Deleted: glusterfs.install
===================================================================
--- glusterfs.install	2018-07-06 19:55:27 UTC (rev 353920)
+++ glusterfs.install	2018-07-06 19:55:52 UTC (rev 353921)
@@ -1,3 +0,0 @@
-post_upgrade() {
-  echo "-- Read http://gluster.readthedocs.io/en/latest/Upgrade-Guide/README/ page!"
-}

Copied: glusterfs/repos/community-x86_64/glusterfs.install (from rev 353920, glusterfs/trunk/glusterfs.install)
===================================================================
--- glusterfs.install	                        (rev 0)
+++ glusterfs.install	2018-07-06 19:55:52 UTC (rev 353921)
@@ -0,0 +1,3 @@
+post_upgrade() {
+  echo "-- Read http://gluster.readthedocs.io/en/latest/Upgrade-Guide/README/ page!"
+}

Copied: glusterfs/repos/community-x86_64/glusterfs.sysusers (from rev 353920, glusterfs/trunk/glusterfs.sysusers)
===================================================================
--- glusterfs.sysusers	                        (rev 0)
+++ glusterfs.sysusers	2018-07-06 19:55:52 UTC (rev 353921)
@@ -0,0 +1 @@
+u gluster - "GlusterFS daemons" /var/run/gluster -



More information about the arch-commits mailing list