[arch-commits] Commit in ceph/repos (10 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Sep 7 19:08:18 UTC 2015


    Date: Monday, September 7, 2015 @ 21:08:18
  Author: foutrelis
Revision: 245486

archrelease: copy trunk to staging-x86_64, staging-i686

Added:
  ceph/repos/staging-i686/
  ceph/repos/staging-i686/PKGBUILD
    (from rev 245485, ceph/trunk/PKGBUILD)
  ceph/repos/staging-i686/ceph-mds at .service
    (from rev 245485, ceph/trunk/ceph-mds at .service)
  ceph/repos/staging-i686/ceph-mon at .service
    (from rev 245485, ceph/trunk/ceph-mon at .service)
  ceph/repos/staging-i686/ceph-osd at .service
    (from rev 245485, ceph/trunk/ceph-osd at .service)
  ceph/repos/staging-x86_64/
  ceph/repos/staging-x86_64/PKGBUILD
    (from rev 245485, ceph/trunk/PKGBUILD)
  ceph/repos/staging-x86_64/ceph-mds at .service
    (from rev 245485, ceph/trunk/ceph-mds at .service)
  ceph/repos/staging-x86_64/ceph-mon at .service
    (from rev 245485, ceph/trunk/ceph-mon at .service)
  ceph/repos/staging-x86_64/ceph-osd at .service
    (from rev 245485, ceph/trunk/ceph-osd at .service)

----------------------------------+
 staging-i686/PKGBUILD            |   81 +++++++++++++++++++++++++++++++++++++
 staging-i686/ceph-mds at .service   |    9 ++++
 staging-i686/ceph-mon at .service   |    9 ++++
 staging-i686/ceph-osd at .service   |    9 ++++
 staging-x86_64/PKGBUILD          |   81 +++++++++++++++++++++++++++++++++++++
 staging-x86_64/ceph-mds at .service |    9 ++++
 staging-x86_64/ceph-mon at .service |    9 ++++
 staging-x86_64/ceph-osd at .service |    9 ++++
 8 files changed, 216 insertions(+)

Copied: ceph/repos/staging-i686/PKGBUILD (from rev 245485, ceph/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-07 19:08:18 UTC (rev 245486)
@@ -0,0 +1,81 @@
+# $Id$
+# Maintainer: Sébastien "Seblu" Luttringer <seblu at archlinux.org>
+
+pkgname=ceph
+pkgver=0.94.3
+pkgrel=2
+pkgdesc='Distributed, fault-tolerant storage platform delivering object, block, and file system'
+arch=('x86_64' 'i686')
+url='http://ceph.com/'
+license=('GPL')
+makedepends=('boost' 'systemd' 'xfsprogs')
+depends=('boost-libs'
+         'curl'
+         'expat'
+         'fcgi'
+         'fuse'
+         'gcc-libs'
+         'glibc'
+         'gperftools'
+         'keyutils'
+         'leveldb'
+         'libaio'
+         'libatomic_ops'
+         'libedit'
+         'libsystemd'
+         'libutil-linux'
+         'ncurses'
+         'nss'
+         'python2'
+         'snappy')
+optdepends=('xfsprogs: support xfs backend')
+options=('emptydirs')
+source=("http://ceph.com/download/$pkgname-$pkgver.tar.bz2"
+        'ceph-osd at .service'
+        'ceph-mon at .service'
+        'ceph-mds at .service')
+md5sums=('ccbaba6cad56cf71719661a0cdcc6ad6'
+         '9104b5b90349d2aa7802eb89158456e8'
+         '63a584aa2a4e2b0efbee4e8fd32593f0'
+         'd2411c41208d95743baa6d899cc1e0b0')
+
+#prepare() {
+#  patch -p1 -d $pkgname-$pkgver < 01-boost-158.patch
+#}
+
+build() {
+  cd $pkgname-$pkgver
+  export PYTHON=/usr/bin/python2
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --libexecdir=/usr/lib \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --with-radosgw
+  make
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+
+  cd "$pkgdir"
+
+  # systemd
+  install -dm755 usr/lib/{systemd/system,udev/rules.d}
+  install -Dm644 "$srcdir"/ceph-{osd,mon,mds}@.service usr/lib/systemd/system
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/udev/* usr/lib/udev/rules.d
+
+  # fix directories path
+  mv sbin/* usr/bin
+  rmdir sbin
+  install -d -m 755 usr/share/bash-completion
+  mv etc/bash_completion.d usr/share/bash-completion/completions
+
+  # fix python2 shebang, did not do it in prepare() anymore because it
+  # confuse automake
+  find . -type f -exec \
+    sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \;
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ceph/repos/staging-i686/ceph-mds at .service (from rev 245485, ceph/trunk/ceph-mds at .service)
===================================================================
--- staging-i686/ceph-mds at .service	                        (rev 0)
+++ staging-i686/ceph-mds at .service	2015-09-07 19:08:18 UTC (rev 245486)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Ceph MDS %i
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/ceph-mds -f -i %i
+
+[Install]
+WantedBy=multi-user.target

Copied: ceph/repos/staging-i686/ceph-mon at .service (from rev 245485, ceph/trunk/ceph-mon at .service)
===================================================================
--- staging-i686/ceph-mon at .service	                        (rev 0)
+++ staging-i686/ceph-mon at .service	2015-09-07 19:08:18 UTC (rev 245486)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Ceph MON %i
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/ceph-mon -f -i %i
+
+[Install]
+WantedBy=multi-user.target

Copied: ceph/repos/staging-i686/ceph-osd at .service (from rev 245485, ceph/trunk/ceph-osd at .service)
===================================================================
--- staging-i686/ceph-osd at .service	                        (rev 0)
+++ staging-i686/ceph-osd at .service	2015-09-07 19:08:18 UTC (rev 245486)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Ceph OSD %i
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/ceph-osd -f -i %i
+
+[Install]
+WantedBy=multi-user.target

Copied: ceph/repos/staging-x86_64/PKGBUILD (from rev 245485, ceph/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-07 19:08:18 UTC (rev 245486)
@@ -0,0 +1,81 @@
+# $Id$
+# Maintainer: Sébastien "Seblu" Luttringer <seblu at archlinux.org>
+
+pkgname=ceph
+pkgver=0.94.3
+pkgrel=2
+pkgdesc='Distributed, fault-tolerant storage platform delivering object, block, and file system'
+arch=('x86_64' 'i686')
+url='http://ceph.com/'
+license=('GPL')
+makedepends=('boost' 'systemd' 'xfsprogs')
+depends=('boost-libs'
+         'curl'
+         'expat'
+         'fcgi'
+         'fuse'
+         'gcc-libs'
+         'glibc'
+         'gperftools'
+         'keyutils'
+         'leveldb'
+         'libaio'
+         'libatomic_ops'
+         'libedit'
+         'libsystemd'
+         'libutil-linux'
+         'ncurses'
+         'nss'
+         'python2'
+         'snappy')
+optdepends=('xfsprogs: support xfs backend')
+options=('emptydirs')
+source=("http://ceph.com/download/$pkgname-$pkgver.tar.bz2"
+        'ceph-osd at .service'
+        'ceph-mon at .service'
+        'ceph-mds at .service')
+md5sums=('ccbaba6cad56cf71719661a0cdcc6ad6'
+         '9104b5b90349d2aa7802eb89158456e8'
+         '63a584aa2a4e2b0efbee4e8fd32593f0'
+         'd2411c41208d95743baa6d899cc1e0b0')
+
+#prepare() {
+#  patch -p1 -d $pkgname-$pkgver < 01-boost-158.patch
+#}
+
+build() {
+  cd $pkgname-$pkgver
+  export PYTHON=/usr/bin/python2
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --libexecdir=/usr/lib \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --with-radosgw
+  make
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+
+  cd "$pkgdir"
+
+  # systemd
+  install -dm755 usr/lib/{systemd/system,udev/rules.d}
+  install -Dm644 "$srcdir"/ceph-{osd,mon,mds}@.service usr/lib/systemd/system
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/udev/* usr/lib/udev/rules.d
+
+  # fix directories path
+  mv sbin/* usr/bin
+  rmdir sbin
+  install -d -m 755 usr/share/bash-completion
+  mv etc/bash_completion.d usr/share/bash-completion/completions
+
+  # fix python2 shebang, did not do it in prepare() anymore because it
+  # confuse automake
+  find . -type f -exec \
+    sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \;
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ceph/repos/staging-x86_64/ceph-mds at .service (from rev 245485, ceph/trunk/ceph-mds at .service)
===================================================================
--- staging-x86_64/ceph-mds at .service	                        (rev 0)
+++ staging-x86_64/ceph-mds at .service	2015-09-07 19:08:18 UTC (rev 245486)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Ceph MDS %i
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/ceph-mds -f -i %i
+
+[Install]
+WantedBy=multi-user.target

Copied: ceph/repos/staging-x86_64/ceph-mon at .service (from rev 245485, ceph/trunk/ceph-mon at .service)
===================================================================
--- staging-x86_64/ceph-mon at .service	                        (rev 0)
+++ staging-x86_64/ceph-mon at .service	2015-09-07 19:08:18 UTC (rev 245486)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Ceph MON %i
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/ceph-mon -f -i %i
+
+[Install]
+WantedBy=multi-user.target

Copied: ceph/repos/staging-x86_64/ceph-osd at .service (from rev 245485, ceph/trunk/ceph-osd at .service)
===================================================================
--- staging-x86_64/ceph-osd at .service	                        (rev 0)
+++ staging-x86_64/ceph-osd at .service	2015-09-07 19:08:18 UTC (rev 245486)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Ceph OSD %i
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/ceph-osd -f -i %i
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list