[arch-commits] Commit in glusterfs/repos (6 files)
Sergej Pupykin
spupykin at archlinux.org
Fri Feb 17 17:51:47 UTC 2017
Date: Friday, February 17, 2017 @ 17:51:46
Author: spupykin
Revision: 212948
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
glusterfs/repos/community-staging-i686/
glusterfs/repos/community-staging-i686/PKGBUILD
(from rev 212947, glusterfs/trunk/PKGBUILD)
glusterfs/repos/community-staging-i686/glusterfs.install
(from rev 212947, glusterfs/trunk/glusterfs.install)
glusterfs/repos/community-staging-x86_64/
glusterfs/repos/community-staging-x86_64/PKGBUILD
(from rev 212947, glusterfs/trunk/PKGBUILD)
glusterfs/repos/community-staging-x86_64/glusterfs.install
(from rev 212947, glusterfs/trunk/glusterfs.install)
--------------------------------------------+
community-staging-i686/PKGBUILD | 72 +++++++++++++++++++++++++++
community-staging-i686/glusterfs.install | 3 +
community-staging-x86_64/PKGBUILD | 72 +++++++++++++++++++++++++++
community-staging-x86_64/glusterfs.install | 3 +
4 files changed, 150 insertions(+)
Copied: glusterfs/repos/community-staging-i686/PKGBUILD (from rev 212947, glusterfs/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-02-17 17:51:46 UTC (rev 212948)
@@ -0,0 +1,72 @@
+# $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=3.9.1
+pkgrel=4
+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
+backup=('etc/glusterfs/gluterd.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)
+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)
+sha256sums=('896fdbaf6696a90cfd5ce1e338e158669d0f6c839b13f3a1844e44907f88e30a')
+
+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-staging-i686/glusterfs.install (from rev 212947, glusterfs/trunk/glusterfs.install)
===================================================================
--- community-staging-i686/glusterfs.install (rev 0)
+++ community-staging-i686/glusterfs.install 2017-02-17 17:51:46 UTC (rev 212948)
@@ -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/PKGBUILD (from rev 212947, glusterfs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-02-17 17:51:46 UTC (rev 212948)
@@ -0,0 +1,72 @@
+# $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=3.9.1
+pkgrel=4
+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
+backup=('etc/glusterfs/gluterd.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)
+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)
+sha256sums=('896fdbaf6696a90cfd5ce1e338e158669d0f6c839b13f3a1844e44907f88e30a')
+
+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-staging-x86_64/glusterfs.install (from rev 212947, glusterfs/trunk/glusterfs.install)
===================================================================
--- community-staging-x86_64/glusterfs.install (rev 0)
+++ community-staging-x86_64/glusterfs.install 2017-02-17 17:51:46 UTC (rev 212948)
@@ -0,0 +1,3 @@
+post_upgrade() {
+ echo "-- Read http://gluster.readthedocs.io/en/latest/Upgrade-Guide/README/ page!"
+}
More information about the arch-commits
mailing list