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

Sergej Pupykin spupykin at archlinux.org
Fri Jul 24 19:28:44 UTC 2015


    Date: Friday, July 24, 2015 @ 21:28:43
  Author: spupykin
Revision: 137394

archrelease: copy trunk to community-x86_64

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

-------------------+
 PKGBUILD          |  127 ++++++++++++++++++++++++++--------------------------
 glusterfs.install |   16 +++---
 2 files changed, 72 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-24 19:18:11 UTC (rev 137393)
+++ PKGBUILD	2015-07-24 19:28:43 UTC (rev 137394)
@@ -1,63 +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
-pkgver=3.7.2
-pkgrel=1
-pkgdesc='Is a cluster file-system capable of scaling to several peta-bytes.'
-arch=(i686 x86_64)
-url='http://www.gluster.org/'
-license=(GPL2 LGPL3)
-install=glusterfs.install
-depends=(fuse python2 libxml2 libaio liburcu)
-makedepends=(flex bison)
-optdepends=('rpcbind: NFS'
-	    'glib2: qemu-block')
-source=($pkgname-$pkgver.tar.gz::https://github.com/gluster/glusterfs/archive/v$pkgver.tar.gz)
-md5sums=('02bc49db6013495edacebe1ee3d1bca0')
-
-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 \
-    PYTHON=python2 LEXLIB=
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-
-  make -j1 DESTDIR=$pkgdir install
-
-  mkdir -p $pkgdir/usr/lib/tmpfiles.d
-  echo "d /var/run/glusterfs 0755 root root -" >$pkgdir/usr/lib/tmpfiles.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-x86_64/PKGBUILD (from rev 137393, glusterfs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-07-24 19:28:43 UTC (rev 137394)
@@ -0,0 +1,64 @@
+# $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
+pkgver=3.7.2
+pkgrel=2
+pkgdesc='Is a cluster file-system capable of scaling to several peta-bytes.'
+arch=(i686 x86_64)
+url='http://www.gluster.org/'
+license=(GPL2 LGPL3)
+install=glusterfs.install
+depends=(fuse python2 libxml2 libaio liburcu)
+makedepends=(flex bison)
+optdepends=('rpcbind: NFS'
+	    'glib2: qemu-block')
+#source=($pkgname-$pkgver.tar.gz::https://github.com/gluster/glusterfs/archive/v$pkgver.tar.gz)
+source=(https://download.gluster.org/pub/gluster/glusterfs/${pkgver%.?}/$pkgver/glusterfs-$pkgver.tar.gz)
+md5sums=('8354e1b830874a13c14a816e7c14c287')
+
+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 \
+    PYTHON=python2 LEXLIB=
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make -j1 DESTDIR=$pkgdir install
+
+  mkdir -p $pkgdir/usr/lib/tmpfiles.d
+  echo "d /var/run/glusterfs 0755 root root -" >$pkgdir/usr/lib/tmpfiles.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	2015-07-24 19:18:11 UTC (rev 137393)
+++ glusterfs.install	2015-07-24 19:28:43 UTC (rev 137394)
@@ -1,8 +0,0 @@
-post_install() {
-  systemd-tmpfiles --create glusterfs.conf
-}
-
-post_upgrade() {
-  systemd-tmpfiles --create glusterfs.conf
-  echo "-- Read http://www.gluster.org/community/documentation/index.php/Upgrade_to_3.7 page!"
-}

Copied: glusterfs/repos/community-x86_64/glusterfs.install (from rev 137393, glusterfs/trunk/glusterfs.install)
===================================================================
--- glusterfs.install	                        (rev 0)
+++ glusterfs.install	2015-07-24 19:28:43 UTC (rev 137394)
@@ -0,0 +1,8 @@
+post_install() {
+  systemd-tmpfiles --create glusterfs.conf
+}
+
+post_upgrade() {
+  systemd-tmpfiles --create glusterfs.conf
+  echo "-- Read http://www.gluster.org/community/documentation/index.php/Upgrade_to_3.7 page!"
+}



More information about the arch-commits mailing list