summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2018-10-16 17:09:47 -0700
committerPatrick McLean <chutzpah@gentoo.org>2018-10-16 17:38:41 -0700
commit9c8362b30d0cef025ec3b0da1716d1c93fac0e21 (patch)
treee455fbec768b8f9c52b89ba9939d19c9d9058362 /sys-cluster/ceph/files
parentdev-util/radare2: sync EAPI=7 bump to live ebuild (diff)
downloadgentoo-9c8362b30d0cef025ec3b0da1716d1c93fac0e21.tar.gz
gentoo-9c8362b30d0cef025ec3b0da1716d1c93fac0e21.tar.bz2
gentoo-9c8362b30d0cef025ec3b0da1716d1c93fac0e21.zip
sys-cluster/ceph: Version bump to 13.2.2 (bug #667766)
Closes: https://bugs.gentoo.org/667766 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'sys-cluster/ceph/files')
-rw-r--r--sys-cluster/ceph/files/ceph-13.2.2-dont-install-sysvinit-script.patch15
-rw-r--r--sys-cluster/ceph/files/ceph.logrotate-r118
2 files changed, 33 insertions, 0 deletions
diff --git a/sys-cluster/ceph/files/ceph-13.2.2-dont-install-sysvinit-script.patch b/sys-cluster/ceph/files/ceph-13.2.2-dont-install-sysvinit-script.patch
new file mode 100644
index 000000000000..4fbc8b6c8102
--- /dev/null
+++ b/sys-cluster/ceph/files/ceph-13.2.2-dont-install-sysvinit-script.patch
@@ -0,0 +1,15 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 874eabfaa1..e337f4cf8e 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -601,10 +601,6 @@ install(PROGRAMS
+ ${CMAKE_SOURCE_DIR}/src/ceph-run
+ ${CMAKE_SOURCE_DIR}/src/ceph-clsinfo
+ DESTINATION bin)
+-install(PROGRAMS
+- ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/init-ceph
+- DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/init.d
+- RENAME ceph)
+
+ install(FILES
+ ${CMAKE_SOURCE_DIR}/share/id_rsa_drop.ceph.com
diff --git a/sys-cluster/ceph/files/ceph.logrotate-r1 b/sys-cluster/ceph/files/ceph.logrotate-r1
new file mode 100644
index 000000000000..df03f5e69a4b
--- /dev/null
+++ b/sys-cluster/ceph/files/ceph.logrotate-r1
@@ -0,0 +1,18 @@
+/var/log/ceph/*.log
+{
+ rotate 7
+ daily
+ compress
+ sharedscripts
+ prerotate
+ for dmn in $(cd /run/ceph && ls *.asok 2>/dev/null); do
+ ceph --admin-daemon /run/ceph/${dmn} log flush 2>/dev/null >/dev/null
+ done
+ endscript
+ postrotate
+ for dmn in $(cd /run/ceph && ls *.asok 2>/dev/null); do
+ ceph --admin-daemon /run/ceph/${dmn} log reopen 2>/dev/null >/dev/null
+ done
+ endscript
+ missingok
+}