Compare commits

..

131 Commits
f23 ... master

Author SHA1 Message Date
Kaleb S. KEITHLEY 295d99c80e ceph 14.2.0 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-03-19 00:57:39 -04:00
Boris Ranto 8b70fc0981 Rebase to latest upstream version (14.1.1) 2019-03-13 01:28:38 +01:00
Adam Williamson 23a12c000d Return epoch to 2, epochs cannot ever go backwards
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-03-07 18:41:40 -08:00
Kaleb S. KEITHLEY fd9573057c ceph 14.1.0 w/ static libcrc32
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-03-06 13:41:50 -05:00
Kaleb S. KEITHLEY 13fa69ddf9 ceph 14.1.0 w/ static libcrc32
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-03-06 13:39:40 -05:00
Boris Ranto 315d3a8c86 Update the s390x compile patch 2019-02-28 12:58:29 +01:00
Boris Ranto fa25767214 Package libceph_crypto_* on all platforms 2019-02-28 09:01:04 +01:00
Boris Ranto 2eee2bbcbd s390x: Add a compile hack
Signed-off-by: Boris Ranto <branto@redhat.com>
2019-02-28 00:59:41 +01:00
Boris Ranto 5846ea0721 Sync spec file with upstream 2019-02-27 21:04:48 +01:00
Boris Ranto 6ad252c21d Rebase to v14.1.0
- contains updates for fixes in upstream nautilus branch
2019-02-27 20:17:22 +01:00
Kaleb S. KEITHLEY 621cf4d6f7 Eliminate redundant CMAKE_* macros when using %cmake global
Add CMAKE_BUILD_TYPE=RelWithDeb(ug)Info and BUILD_CONFIG=rpmbuild

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-02-22 10:52:18 -05:00
Boris Ranto a9b0fc4948 Fix cve-2019-3821
Signed-off-by: Boris Ranto <branto@redhat.com>
2019-02-21 08:33:35 +01:00
Kaleb S. KEITHLEY fcfe376de3 rebuild for f31/rawhide, including:
use the %{cmake} %global to get all the extra Fedora cmake options.
  (This is Fedora, so don't care so much about rhel/rhel7 cmake3.)
reset epoch to 1. Note we use (have been using) epoch=1 in Fedora since
  forever. I presume this is so that people can install Ceph RPMs from
  ceph.com if they prefer those, which use epoch=2, and not run into issues
  when updating.

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-02-20 09:27:29 -05:00
Kaleb S. KEITHLEY 5ca819502b w/ fixes for gcc9 2019-02-07 08:13:01 -05:00
Fedora Release Engineering 34869f41a8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 15:26:02 +00:00
Igor Gnatenko aa192ecb91 Remove unneeded %clean section
It is the behavior since EPEL5.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-29 05:45:29 +01:00
Igor Gnatenko 07ddec03dc Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:23:57 +01:00
Igor Gnatenko 82de3b23ac
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:38:36 +01:00
Boris Ranto e14ca57795 Increase mem_per_process to avoid random oom kills
Signed-off-by: Boris Ranto <branto@redhat.com>
2018-12-09 14:01:18 +01:00
Boris Ranto 840cecd85d fix pyOpenSSL depemdency 2018-12-08 11:30:02 +01:00
Boris Ranto 2b3fa8bef4 New release (2:14.0.1-1)
- sync with upstream
- drop 32-bit support, it is no longer supported upstream
2018-12-04 22:43:33 +01:00
Boris Ranto 4c70f88757 New release (2:13.2.2-1)
Sync with upstream
2018-12-04 22:43:28 +01:00
Kaleb S. KEITHLEY 201099b1e3 cleanup/move python bytecompile flag
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-11-15 09:29:15 -05:00
Miro Hrončok 97da17461c https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2 2018-11-15 12:53:54 +01:00
Kaleb S. KEITHLEY 8bb9133870 New release (1:12.2.9-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-10-29 09:56:03 -04:00
Kaleb S. KEITHLEY d73f4ea8b1 Fedora 30 python3. Note ceph-mgr subpackage, ceph-detect-init, ceph-disk,
ceph-volume, and ceph-volume-systemd are missing in this build

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-10-29 07:57:06 -04:00
Kaleb S. KEITHLEY 96e17e7360 Fedora 30 python3. Note ceph-mgr subpackage, ceph-detect-init, ceph-disk,
ceph-volume, and ceph-volume-systemd are missing in this build

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-09-14 09:53:41 -04:00
Kaleb S. KEITHLEY 2d75781cd8 New release (1:12.2.8-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-08-31 13:38:49 -04:00
Igor Gnatenko ce9ff30f1c
%{python_sitearch} → %{python2_sitearch}
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-30 00:22:27 +02:00
Igor Gnatenko 7a061682c0
python-devel → python2-devel
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-29 23:39:13 +02:00
Igor Gnatenko 2c2513ea41
%{python_sitelib} → %{python2_sitelib}
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-29 23:11:50 +02:00
Kaleb S. KEITHLEY a4054a83fc New release (1:12.2.7-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-07-18 13:09:25 -04:00
Kaleb S. KEITHLEY 1b6e363bd1 New release (1:12.2.7-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-07-18 09:59:46 -04:00
Fedora Release Engineering 0fb6d3aa05 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 21:41:00 +00:00
Kaleb S. KEITHLEY 294576f608 New release (1:12.2.6-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-07-11 09:01:29 -04:00
Kaleb S. KEITHLEY 9aeaf53af5 New release (1:12.2.5-3) w/ python-3.7
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-07-02 09:34:50 -04:00
Kaleb S. KEITHLEY 9b4d3225ea New release (1:12.2.5-2)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-07-01 06:35:53 -04:00
Kaleb S. KEITHLEY 9094835645 New release (1:13.2.0-3)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-06-28 02:04:51 -04:00
Miro Hrončok 200f2e06d2 Rebuilt for Python 3.7 2018-06-19 10:41:00 +02:00
Kaleb S. KEITHLEY b79737d3df New release (1:13.1.0-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-05-08 11:57:37 -04:00
Kaleb S. KEITHLEY 448a2831f1 New release (1:12.2.5-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-04-27 12:41:51 -04:00
Rafael dos Santos f8d1aef3e0 Use standard Fedora linker flags
- Resolves #1547552

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2018-04-13 20:16:25 +02:00
Kaleb S. KEITHLEY 27007491d5 New release (1:12.2.4-1)
rhbz#1446610, rhbz#1546611, cephbz#23039

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-03-02 10:15:28 -05:00
Kaleb S. KEITHLEY 1f528edb6d New release (1:12.2.3-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-02-22 13:27:53 -05:00
Kaleb S. KEITHLEY d40e5a4fa7 New release (1:12.2.3-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-02-21 14:26:53 -05:00
Kaleb S. KEITHLEY 62fe6ff0a5 %ldconfig_scriptlets
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-02-15 16:37:22 -05:00
Kaleb S. KEITHLEY af74115926 no ldconfig in F28
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-02-15 14:03:04 -05:00
Igor Gnatenko 4d07e55558
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:03:11 +01:00
Fedora Release Engineering 23d2d787d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 04:44:37 +00:00
Boris Ranto 21366787e7 Fix the arm compile patch 2017-12-08 14:25:30 +01:00
Boris Ranto 46defddf84 Fix build error on arm 2017-12-08 00:26:18 +01:00
Kaleb S. KEITHLEY 77bab0ff4b New release (1:12.2.2-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2017-12-06 14:03:41 -05:00
Boris Ranto a262d185e8 Obsolete ceph-libs-compat package 2017-10-05 14:17:39 +02:00
Kaleb S. KEITHLEY 629de101fc New release (1:12.2.1-1) 2017-09-28 11:13:42 -04:00
Kaleb S. KEITHLEY 6d3068e83f New release (1:12.2.0-1) 2017-08-29 18:05:55 -04:00
Kaleb S. KEITHLEY 23bb1c9d84 libibverbs(-devel) is superceded by rdma-core(-devel), again 2017-08-24 15:56:16 -04:00
Adam Williamson 3cac6fb618 Fix up that last commit (it dropped the rdma dep on Fedora)
Previous committer didn't notice this block is split between
SUSE and Fedora, and the effect of his change was to completely
remove Fedora's build dependency on rdma.
2017-08-24 12:46:53 -07:00
Kaleb S. KEITHLEY 7dfd488d6d libibverbs(-devel) is superceded by rdma-core(-devel) 2017-08-24 13:15:00 -04:00
Adam Williamson 1bc288fec0 Having a comment here causes the command to run prematurely... 2017-08-23 15:28:04 -07:00
Adam Williamson 76c62774fd Merge branch 'master' into f27 2017-08-23 09:06:04 -07:00
Adam Williamson bcc0c8937e Disable RDMA support on 32-bit ARM (#1484155) 2017-08-23 09:05:57 -07:00
Adam Williamson c19045b383 Disable RDMA support on 32-bit ARM (#1484155) 2017-08-23 09:00:09 -07:00
Kaleb S. KEITHLEY 30b06a8179 fix %epoch in comment, ppc64le lowmem_builder 2017-08-18 09:25:01 -04:00
Kaleb S. KEITHLEY 02830d2e48 fix %epoch in comment, ppc64le lowmem_builder 2017-08-17 06:44:51 -04:00
Kaleb S. KEITHLEY 597c68f78d New release (1:12.1.4-1) 2017-08-16 09:26:22 -04:00
Kaleb S. KEITHLEY 01f8d36756 New release (1:12.1.3-1) 2017-08-12 08:56:02 -04:00
Kaleb S. KEITHLEY 565f975165 New release (1:12.1.3-1) 2017-08-12 08:55:35 -04:00
Kaleb S. KEITHLEY 7da9a82906 rebuild with librpm.so.7 2017-08-11 06:26:01 -04:00
Kaleb S. KEITHLEY 5867ad7fc7 Fix 32-bit alignment 2017-08-10 15:53:25 -04:00
Kaleb S. KEITHLEY bba7f9c4e3 New release (1:12.1.2-1) 2017-08-04 09:32:29 -04:00
Kaleb S. KEITHLEY e19d64c384 New release (1:12.1.2-1) 2017-08-04 09:09:45 -04:00
Kaleb S. KEITHLEY 4081aab3ef New release (1:12.1.2-1) 2017-08-04 07:45:39 -04:00
Kaleb S. KEITHLEY 6d9510539c New release (1:12.1.2-1) 2017-08-03 10:23:44 -04:00
Boris Ranto 13a18359e9 Fix ppc64 build 2017-08-02 08:39:48 +02:00
Kaleb S. KEITHLEY 56c346a5bc python34 and other nits
still no fix for ppc64
2017-08-01 11:00:02 -04:00
Kaleb S. KEITHLEY bfadd1c0d6 python34 and other nits
still no fix for ppc64
2017-08-01 10:59:35 -04:00
Florian Weimer 16715d6eb5 Revert "ppc64le disabled until bz #1475636 resolution"
This reverts commit b401956bd3.
2017-07-30 15:56:29 +02:00
Kaleb S. KEITHLEY b401956bd3 ppc64le disabled until bz #1475636 resolution 2017-07-28 13:34:55 -04:00
Kaleb S. KEITHLEY 673fccff02 12.1.1 w/ hacks for armv7hl: low mem, no java jni
WTIH_BABELTRACE -> WITH_BABELTRACE for all archs
still no fix for ppc64
2017-07-28 08:44:58 -04:00
Fedora Release Engineering 0cd5051482 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 04:39:47 +00:00
Kaleb S. KEITHLEY 54e205530e 12.1.1 w/ rocksdb patch (i686) 2017-07-25 15:16:16 -04:00
Kaleb S. KEITHLEY 467955622d 12.1.1 w/ rocksdb patch (i686), disable ceph_java (armv7hl) 2017-07-25 14:01:02 -04:00
Kaleb S. KEITHLEY 96279e9a98 New release (1:12.1.1-1) 2017-07-22 21:41:01 -04:00
Kaleb S. KEITHLEY 491a579461 New release (2:12.1.1-1) again 2017-07-22 19:25:07 -04:00
Kaleb S. KEITHLEY 44c0bd8d5c New release (2:12.1.1-1) 2017-07-22 18:50:07 -04:00
Kalev Lember 8d767138c1 Rebuilt for Boost 1.64 2017-07-21 09:50:41 +02:00
Petr Písař 6b37af2dd3 perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-12 15:10:44 +02:00
Fedora Release Engineering 81bac1ccdf - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild 2017-05-15 21:04:29 +00:00
Kaleb S. KEITHLEY 8acb7f27af New release (1:10.2.7-1) 2017-04-17 10:46:05 -04:00
Boris Ranto ffa151c1c9 New release (1:10.2.5-2)
- revert to 10.2.5 for now
- include WorkQueue for librbd to avoid build errors
2017-02-09 00:08:38 +01:00
Boris Ranto f003c36523 Pack our own sources
Upstream sources are buggy, they point to a different commit in rocksdb.
2017-02-08 19:06:06 +01:00
Boris Ranto a11242cdd6 Fix Source location and extension 2017-02-07 22:32:26 +01:00
Boris Ranto 8efc832c79 Remove unnecessary patches 2017-02-07 22:27:35 +01:00
Boris Ranto 2288029bf6 New version (1:11.2.0-1)
- rebase to latest version
- sync up the spec file
2017-02-07 22:24:23 +01:00
Boris Ranto a2502bdf58 New version (1:10.2.5-1)
- hack: do not check for libxfs, assume it is present
2017-01-13 01:20:14 +01:00
Boris Ranto 7fc18b8c1c New version (1:10.2.4-2) This syncs up with the upstream 10.2.5 Doing it this way because of broken lookaside cache Fix the -devel obsoletes 2016-12-14 00:13:54 +01:00
Boris Ranto 824fa68a8c Do not apply patch manually, autosetup does it for us 2016-12-08 19:49:37 +01:00
Boris Ranto c342c970d9 New version (1:10.2.4-1)
- Disable erasure_codelib neon build
- Use newer -devel package format
- Sync up the spec file
2016-12-08 19:07:39 +01:00
Ken Dreyer 680c925719 librgw: add API version defines for librgw and rgw_file 2016-10-26 14:42:14 -06:00
Ken Dreyer ceab65be90 update patches style for rdopkg
The switch to %autosetup corresponds to upstream change
https://github.com/ceph/ceph/pull/9227
2016-10-26 14:41:14 -06:00
Boris Ranto fa9e04a7d1 New release (1:10.2.3-2)
- common: instantiate strict_si_cast<long> not
2016-09-29 16:14:58 +02:00
Boris Ranto 8d319bc7a9 New version (1:10.2.3-1)
- Disable erasure_codelib neon build
- Sync up spec file with upstream
2016-09-29 11:58:26 +02:00
Igor Gnatenko f3e716bd25 Rebuild for LevelDB 1.18
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-08-07 20:40:15 +02:00
Igor Gnatenko 6af5c6e496 drop old archives from sources
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-08-07 20:03:22 +02:00
Fedora Release Engineering 50ab9b56e2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 06:45:29 +00:00
Boris Ranto 20b0b2e68e New release (1:10.2.2-2)
- fix tcmalloc handling in spec file
2016-06-21 12:53:05 +02:00
Boris Ranto dadf49c482 New version (1:10.2.2-1)
- Disable erasure_codelib neon build
- Do not use -momit-leaf-frame-pointer flag
- Sync up spec file with upstream
2016-06-20 13:30:16 +02:00
Boris Ranto e5a890ade4 New version (1:10.2.1-1)
- Disable erasure_codelib neon build
- Do not use -momit-leaf-frame-pointer flag
- Sync up spec file with upstream
2016-05-16 15:38:59 +02:00
Dan Horák 49e681f424 valgrind not available on s390 2016-05-06 14:18:53 +02:00
Dan Horák a5a738d622 - fix build on s390(x) - gperftools/tcmalloc not available there 2016-05-06 14:01:23 +02:00
Boris Ranto 9ca188d404 Do not use -momit-leaf-frame-pointer flag 2016-04-22 15:31:35 +02:00
Boris Ranto bde7d230a8 Rebase to version 10.2.0
- Disable erasure_codelib neon build
- Sync up the spec file
2016-04-22 13:44:52 +02:00
Richard W.M. Jones 767c6bb311 Fixed the reference in previous commit to point to the correct bug. 2016-04-11 16:18:01 +01:00
Richard W.M. Jones b32301bd4a - Add workaround for XFS header brokenness. 2016-04-11 16:15:34 +01:00
Richard W.M. Jones 6d2e42e155 Fix large startup times of processes linking to -lrbd.
Backport upstream commit 1c2831a2, fixes RHBZ#1319483.
2016-04-11 15:57:58 +01:00
Dennis Gilmore 5e7cff58f4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 17:33:09 +00:00
Jonathan Wakely 9206f82772 Rebuilt for Boost 1.60 2016-01-14 17:36:29 +00:00
Dan Horák 22d0a9bd96 - fix build on s390(x) - gperftools/tcmalloc not available there 2015-12-14 10:10:09 -05:00
Boris Ranto 2b0909dfd6 Disable libec_shec_neon.la build as well 2015-11-11 17:13:30 +01:00
Boris Ranto 68971661e7 Re-apply "disable neon build" patch 2015-11-11 15:26:26 +01:00
Boris Ranto bcc7f226bb Rebase to latest stable upstream version
Version 9.2.0 - infernalis
Use upstream spec file (there was plenty of systemd/selinux changes)
2015-11-10 17:50:29 +01:00
Boris Ranto 3d553afe27 Rebase to latest upstream version (0.94.5) 2015-10-27 16:01:42 +01:00
Boris Ranto 6bc9cadd59 Post-rebase fix-up
The init-radosgw.sysv file was renamed to init-radosgw file in 0.94.4.
2015-10-20 14:47:42 +02:00
Boris Ranto 8d2c0a023a Rebase to latest upstream version (0.94.4)
The rtdsc patch got merged upstream and is already present in the release
2015-10-20 12:10:16 +02:00
Jonathan Wakely 7e0cdd887f Rebuilt for Boost 1.59 2015-08-27 21:19:19 +01:00
Boris Ranto 4ac65e9e96 Fix file list after rebase
Resolves: rhbz#1257374
2015-08-27 15:24:46 +02:00
Boris Ranto ac5a29a8ad Rebase to latest upstream version (0.94.3)
Resolves: rhbz#1257374
2015-08-27 14:22:00 +02:00
Richard W.M. Jones 222abd2152 Fix build against boost 1.58 (http://tracker.ceph.com/issues/11576). 2015-07-31 14:56:49 +01:00
Dennis Gilmore bb85c64a3d - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 2015-07-29 12:04:14 -05:00
David Tardon 09905ca683 rebuild for Boost 1.58 2015-07-22 18:15:06 +02:00
Boris Ranto b7119dde1d Rebase to latest upstream version (0.94.2)
Resolves: rhbz#1229924
2015-07-16 10:37:55 +02:00
9 changed files with 2171 additions and 788 deletions

View File

@ -1,29 +0,0 @@
From 8ac49f54ad774324c1de344cd18620df7fa52256 Mon Sep 17 00:00:00 2001
From: Boris Ranto <branto@redhat.com>
Date: Wed, 15 Apr 2015 14:06:24 +0200
Subject: [PATCH] Disable erasure_codelib neon build
---
src/erasure-code/jerasure/Makefile.am | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/erasure-code/jerasure/Makefile.am b/src/erasure-code/jerasure/Makefile.am
index 9ca4fbb..147d57e 100644
--- a/src/erasure-code/jerasure/Makefile.am
+++ b/src/erasure-code/jerasure/Makefile.am
@@ -75,9 +75,9 @@ if LINUX
libec_jerasure_neon_la_LDFLAGS += -export-symbols-regex '.*__erasure_code_.*'
endif
-if HAVE_NEON
-erasure_codelib_LTLIBRARIES += libec_jerasure_neon.la
-endif
+#if HAVE_NEON
+#erasure_codelib_LTLIBRARIES += libec_jerasure_neon.la
+#endif
libec_jerasure_sse3_la_SOURCES = ${jerasure_sources}
libec_jerasure_sse3_la_CFLAGS = ${AM_CFLAGS} \
--
2.5.5

View File

@ -0,0 +1,65 @@
From a45270a441d483ce57db48cda699a0d2d9c01f18 Mon Sep 17 00:00:00 2001
From: Boris Ranto <branto@redhat.com>
Date: Thu, 28 Feb 2019 00:58:12 +0100
Subject: [PATCH] s390x: A compile hack
Signed-off-by: Boris Ranto <branto@redhat.com>
---
src/rgw/rgw_dmclock_async_scheduler.cc | 2 ++
src/test/rgw/test_rgw_dmclock_scheduler.cc | 8 ++++----
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/rgw/rgw_dmclock_async_scheduler.cc b/src/rgw/rgw_dmclock_async_scheduler.cc
index 18ba5a5e32..08657cf2b5 100644
--- a/src/rgw/rgw_dmclock_async_scheduler.cc
+++ b/src/rgw/rgw_dmclock_async_scheduler.cc
@@ -41,6 +41,7 @@ int AsyncScheduler::schedule_request_impl(const client_id& client,
const Time& time, const Cost& cost,
optional_yield yield_ctx)
{
+#ifdef HAVE_BOOST_CONTEXT
ceph_assert(yield_ctx);
auto &yield = yield_ctx.get_yield_context();
@@ -53,6 +54,7 @@ int AsyncScheduler::schedule_request_impl(const client_id& client,
else
return -ec.value();
}
+#endif
return 0;
}
diff --git a/src/test/rgw/test_rgw_dmclock_scheduler.cc b/src/test/rgw/test_rgw_dmclock_scheduler.cc
index 4e4177cb0b..ddbfd12217 100644
--- a/src/test/rgw/test_rgw_dmclock_scheduler.cc
+++ b/src/test/rgw/test_rgw_dmclock_scheduler.cc
@@ -14,6 +14,8 @@
//#define BOOST_ASIO_ENABLE_HANDLER_TRACKING
+#ifdef HAVE_BOOST_CONTEXT
+
#include "rgw/rgw_dmclock_sync_scheduler.h"
#include "rgw/rgw_dmclock_async_scheduler.h"
@@ -395,8 +397,6 @@ TEST(Queue, CrossExecutorRequest)
EXPECT_EQ(PhaseType::priority, *p2);
}
-#ifdef HAVE_BOOST_CONTEXT
-
TEST(Queue, SpawnAsyncRequest)
{
boost::asio::io_context context;
@@ -426,6 +426,6 @@ TEST(Queue, SpawnAsyncRequest)
EXPECT_TRUE(context.stopped());
}
-#endif
-
} // namespace rgw::dmclock
+
+#endif
--
2.20.1

View File

@ -1,37 +0,0 @@
From 726127dbd6d51c97495e73c3216c27dd38a31ed3 Mon Sep 17 00:00:00 2001
From: Anthony Alba <ascanio.alba7@gmail.com>
Date: Mon, 30 Nov 2015 16:44:31 +0800
Subject: [PATCH] init-ceph.in: Allow custom cluster names during startup.
Signed-off-by: Richard Chan <richard@treeboxsolutions.com>
---
src/init-ceph.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/init-ceph.in b/src/init-ceph.in
index e4cea7e..1f19ffa 100644
--- a/src/init-ceph.in
+++ b/src/init-ceph.in
@@ -288,7 +288,7 @@ for name in $what; do
lockfile=""
fi
- get_conf asok "$run_dir/ceph-$type.$id.asok" "admin socket"
+ get_conf asok "$run_dir/$cluster-$type.$id.asok" "admin socket"
case "$command" in
start)
@@ -404,8 +404,8 @@ for name in $what; do
# these keys. it's also true for legacy installs
# via mkcephfs, which is fine too; there is no harm
# in creating these keys.
- get_conf mon_data "/var/lib/ceph/mon/ceph-$id" "mon data"
- if [ "$mon_data" = "/var/lib/ceph/mon/ceph-$id" -a "$asok" = "/var/run/ceph/ceph-mon.$id.asok" ]; then
+ get_conf mon_data "/var/lib/ceph/mon/$cluster-$id" "mon data"
+ if [ "$mon_data" = "/var/lib/ceph/mon/$cluster-$id" -a "$asok" = "/var/run/ceph/$cluster-mon.$id.asok" ]; then
echo Starting ceph-create-keys on $host...
cmd2="$SBINDIR/ceph-create-keys --cluster $cluster -i $id 2> /dev/null &"
do_cmd "$cmd2"
--
2.5.5

View File

@ -0,0 +1,13 @@
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 65ba10b0f1..eeedc29c37 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -165,7 +165,7 @@ elseif(HAVE_ARMV8_CRC)
crc32c_aarch64.c)
endif(HAVE_INTEL)
-add_library(crc32 ${crc32_srcs})
+add_library(crc32 STATIC ${crc32_srcs})
if(HAVE_ARMV8_CRC)
set_target_properties(crc32 PROPERTIES
COMPILE_FLAGS "${CMAKE_C_FLAGS} ${ARMV8_CRC_COMPILE_FLAGS}")

View File

@ -1,26 +0,0 @@
From ebff005e9998122c9e89052fbca06f4962180240 Mon Sep 17 00:00:00 2001
From: Boris Ranto <branto@redhat.com>
Date: Mon, 16 May 2016 15:47:20 +0200
Subject: [PATCH] Apply 'ceph-0.94.1-tcmalloc.patch'
Signed-off-by: Boris Ranto <branto@redhat.com>
---
src/rocksdb/configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rocksdb/configure.ac b/src/rocksdb/configure.ac
index 855c6a8..fe914aa 100644
--- a/src/rocksdb/configure.ac
+++ b/src/rocksdb/configure.ac
@@ -19,7 +19,7 @@ AC_CHECK_LIB([snappy], [snappy_compress], [HAVE_LIBSNAPPY=yes], [AC_MSG_FAILURE(
AC_CHECK_LIB([z], [gzread], [HAVE_LIBZ=yes], [AC_MSG_FAILURE([libz not found])])
AC_CHECK_LIB([bz2], [BZ2_bzCompressInit], [HAVE_LIBBZ2=yes], [AC_MSG_FAILURE([libbz2 not found])])
AC_CHECK_LIB([rt], [clock_gettime], [HAVE_LIBRT=yes], [AC_MSG_FAILURE([librt not found])])
-AC_CHECK_LIB([tcmalloc], [malloc], [HAVE_LIBTCMALLOC=yes],[AC_MSG_FAILURE([no tcmalloc found ])])
+AC_CHECK_LIB([tcmalloc], [malloc], [HAVE_LIBTCMALLOC=yes],[AC_MSG_RESULT([no tcmalloc found ])])
OLD_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -std=c++11"
--
2.5.5

View File

@ -1,32 +0,0 @@
From ecc0e801e378310dbb0e60ae7eb1f19179bd3e9e Mon Sep 17 00:00:00 2001
From: Boris Ranto <branto@redhat.com>
Date: Mon, 16 May 2016 15:48:23 +0200
Subject: [PATCH] Apply 'init-ceph.in-fedora.patch'
Signed-off-by: Boris Ranto <branto@redhat.com>
---
src/init-ceph.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/init-ceph.in b/src/init-ceph.in
index 1f19ffa..78eaf97 100644
--- a/src/init-ceph.in
+++ b/src/init-ceph.in
@@ -1,11 +1,11 @@
#!/bin/sh
# Start/stop ceph daemons
-# chkconfig: 2345 60 80
+# chkconfig: - 60 80
### BEGIN INIT INFO
# Provides: ceph
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
+# Default-Start:
+# Default-Stop:
# Required-Start: $remote_fs $named $network $time
# Required-Stop: $remote_fs $named $network $time
# Short-Description: Start Ceph distributed file system daemons at boot time
--
2.5.5

View File

@ -1,36 +0,0 @@
From d02ac8fd60e692da2257a1d963279091ef47e312 Mon Sep 17 00:00:00 2001
From: Boris Ranto <branto@redhat.com>
Date: Mon, 16 May 2016 20:53:28 +0200
Subject: [PATCH] Workaround xfs.h check
The check for <xfs/xfs.h> in fedora 23 is broken. See e.g.:
http://www.spinics.net/lists/ceph-devel/msg29467.html
This should not be too critical and the package should build just fine
anyway. Commenting out the bits that check for xfs.h should help us,
here.
Signed-off-by: Boris Ranto <branto@redhat.com>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index d1f98aa..e068fdb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -814,8 +814,8 @@ AC_ARG_WITH([libxfs],
[with_libxfs=yes])
AS_IF([test "x$with_libxfs" != "xno"], [
# xfs/xfs.h presence and XFS_XFLAG_EXTSIZE define
- AC_CHECK_HEADER([xfs/xfs.h], [], AC_MSG_ERROR(
- [xfs/xfs.h not found (--without-libxfs to disable)]))
+ #AC_CHECK_HEADER([xfs/xfs.h], [], AC_MSG_ERROR(
+ # [xfs/xfs.h not found (--without-libxfs to disable)]))
AC_MSG_CHECKING([for XFS_XFLAG_EXTSIZE in xfs/xfs.h])
AC_EGREP_CPP([yes_have_xfs_xflag_extsize], [
#include <xfs/xfs.h>
--
2.5.5

2717
ceph.spec

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1 @@
e7c35581f8d36d34f7cde16a862e54fb ceph-0.94.5.tar.bz2
566cdeae80ee639dcb265ac284a59b48 ceph-0.94.6.tar.gz
a8fd1046805551e301cb835f418ade72 ceph-0.94.7.tar.gz
SHA512 (ceph-14.2.0.tar.gz) = c86a335714fd5678988133ec0e60cb10cd948250a133c073d1ed055c5bba232fa6f1e102dd7fcb0c70b37a07c9c2d1220d4a1713720e4dcab9659152ee577480