- updated to 0.78 auto/th/ceph-0.78-1 auto/ti/ceph-0.78-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 4 Apr 2014 13:33:09 +0000 (15:33 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 4 Apr 2014 13:33:09 +0000 (15:33 +0200)
- updated logrotate patch
- BR: xfsprogs-devel (for XFS ioctl consts)

ceph.logrotate.patch
ceph.spec

index 6bddd00f1bbb1cec8781754cdf5634966ea9ed33..2a3bb24df6bd60d74c2fa4e1970d3e039a71fb2b 100644 (file)
@@ -1,6 +1,6 @@
---- ceph-0.58/src/logrotate.conf.orig  2013-03-08 22:30:48.205300063 +0100
-+++ ceph-0.58/src/logrotate.conf       2013-03-08 22:31:18.038632150 +0100
-@@ -4,21 +4,7 @@
+--- ceph-0.78/src/logrotate.conf.orig  2014-04-03 18:19:47.067725657 +0200
++++ ceph-0.78/src/logrotate.conf       2014-04-03 18:26:09.521051018 +0200
+@@ -4,25 +4,7 @@
      compress
      sharedscripts
      postrotate
 -        fi
 -        # Possibly reload twice, but depending on ceph.conf the reload above may be a no-op
 -        if which initctl > /dev/null 2>&1 && [ -x `which initctl` ]; then
--            # upstart reload isn't very helpful here:
--            #   https://bugs.launchpad.net/upstart/+bug/1012938
--          initctl list \
--              | sed -n 's/^\(ceph-\(mon\|osd\|mds\)\+\)[ \t]\+(\([^ \/]\+\)\/\([^ \/]\+\))[ \t]\+start\/.*$/\1 cluster=\3 id=\4/p' \
--              | while read l; do
--              initctl reload -- $l 2>/dev/null || :
--          done
+-            for daemon in osd mon mds ; do
+-              find -L /var/lib/ceph/$daemon/ -mindepth 1 -maxdepth 1 -regextype posix-egrep -regex '.*/[A-Za-z0-9]+-[A-Za-z0-9._-]+' -printf '%P\n' \
+-                | while read f; do
+-                    if [ -e "/var/lib/ceph/$daemon/$f/done" ] && [ -e "/var/lib/ceph/$daemon/$f/upstart" ] && [ ! -e "/var/lib/ceph/$daemon/$f/sysvinit" ]; then
+-                      cluster="${f%%-*}"
+-                      id="${f#*-}"
+-
+-                      initctl reload ceph-$daemon cluster="$cluster" id="$id" 2>/dev/null || :
+-                    fi
+-                  done
+-            done
 -        fi
 +        service ceph reload >/dev/null 2>/dev/null
      endscript
index cfd15acfdbca2576bb35f9fb1bf891f846fe60a1..749dbaae125bf9810b23bc4ecdf473a4a2ad4c3f 100644 (file)
--- a/ceph.spec
+++ b/ceph.spec
@@ -6,12 +6,12 @@
 Summary:       User space components of the Ceph file system
 Summary(pl.UTF-8):     Działające w przestrzeni użytkownika elementy systemu plików Ceph
 Name:          ceph
-Version:       0.77
+Version:       0.78
 Release:       1
 License:       LGPL v2.1 (libraries), GPL v2 (some programs)
 Group:         Base
 Source0:       http://ceph.com/download/%{name}-%{version}.tar.bz2
-# Source0-md5: 8a6f841e5ed6d8d993849f7dc00c8a7b
+# Source0-md5: 63a26228dc38a5e2d9ecf5ecfc4c9cfb
 Patch0:                %{name}-init-fix.patch
 Patch1:                %{name}.logrotate.patch
 URL:           http://ceph.com/
@@ -43,6 +43,7 @@ BuildRequires:        pkgconfig
 BuildRequires: python >= 1:2.4
 BuildRequires: rpmbuild(macros) >= 1.228
 BuildRequires: snappy-devel
+BuildRequires: xfsprogs-devel
 %ifarch %{x8664}
 BuildRequires: yasm
 %endif
@@ -252,6 +253,7 @@ fi
 %dir %{_sysconfdir}/ceph
 %attr(755,root,root) %{_bindir}/ceph
 %attr(755,root,root) %{_bindir}/ceph-authtool
+%attr(755,root,root) %{_bindir}/ceph-brag
 %attr(755,root,root) %{_bindir}/ceph-clsinfo
 %attr(755,root,root) %{_bindir}/ceph-conf
 %attr(755,root,root) %{_bindir}/ceph-coverage
This page took 0.452615 seconds and 4 git commands to generate.