Commit Graph

337 Commits

Author SHA1 Message Date
Gary Lowell
16cf9dc67e build: Add new rbd-fuse package
rdb-fuse is a new facility to map ceph rdb images to files.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-01-31 20:35:26 -08:00
Danny Al-Gaaf
9235271a05 ceph.spec.in: fix file section for ceph-resource-agents
Create needed dirs (/usr/lib/ocf/resource.d/ceph) for the ceph-resource-agents
subpackage.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-01-31 14:16:03 -08:00
Danny Al-Gaaf
6e09cb9ba5 ceph.spec.in: extend fix for libedit-devel on special SUSE versions
Extend fix for libedit-devel on special SUSE versions, use ncurses
also on src/ocf/Makefile and src/java/Makefile

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-01-31 14:16:03 -08:00
Danny Al-Gaaf
4c1d8d088a ceph.spec.in: don't move libcephfs_jni files around
Don't move libcephfs_jni files around from %{_libdir} to /usr/lib/jni/
in the buildroot. They should be placed in %{_libdir} as all libs.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-01-31 14:16:03 -08:00
Danny Al-Gaaf
9b16036e3b ceph.spec.in: move libcephfs_jni.so to ceph-devel
Move libcephfs_jni.so to the ceph-devel package since so-files they
shouldn't be part of the library package.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-01-31 14:16:02 -08:00
David Zafman
0758fabaed Add ceph-filestore-dump to the packaging
Feature: #3890

Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
2013-01-30 22:50:41 -08:00
Gary Lowell
0b66994c18 ceph.spec.in: package rbd udev rule
Package udev/50-rbd.rules per bug 3930.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-01-28 22:49:45 -08:00
Josh Durgin
0d172b95de packaging: add smalliobenchrbd
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-01-22 16:19:27 -08:00
Gary Lowell
bebdc70b42 build: Add perl installation dependency to rpm and debian packages.
There was already a dependency on python in the debian control file,
a similar dependency was added to the rpm spec file.  perl is needed
for the logrotate script, so a dependecy was on perl wass added to
both. Bug 3768.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-01-17 22:43:07 -08:00
Danny Al-Gaaf
d8c4fc5ebb ceph.spec.in: fix libcephfs-jni package name
Rename libcephfs-jni to libcephfs_jni1 to reflect the SO name/version of
the library and to prevent RPMLINT to complain about the naming.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-01-09 17:13:11 -08:00
Danny Al-Gaaf
f027d025a9 ceph.spec.in: rename libcephfs-java package to cephfs-java
Rename the libcephfs-java package to cephfs-java since the package
contains no (classic) library and RPMLINT complains about the name.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-01-09 17:13:11 -08:00
Danny Al-Gaaf
9b167b460b ceph.spec.in: fix handling of java files
Fix handling of JAVA (jar) files. Don't move the files around in the install
section since the related Makefile is fixed instead.

Use %{_javadir} instead of /usr/share/java/

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-01-09 17:13:11 -08:00
Gary Lowell
d9c2396b55 ceph.spec.in: Improve finding location of jni.h for sles11.
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
2012-12-18 21:00:15 -08:00
Gary Lowell
46344105e7 ceph.spec.in: Add packages for libcephfs-jni and libcephfs-java
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
2012-12-18 19:40:32 -08:00
Gary Lowell
fd482a2781 ceph.spec.in: Update pre-reqs for ceph-fuse pacakge. 2012-12-17 16:38:19 -08:00
Sage Weil
ae100cfdbc mount.fuse.ceph: add ceph-fuse mount helper
Signed-off-by: Sage Weil <sage@inktank.com>
2012-12-12 21:14:38 -08:00
Sage Weil
81e567c90d Merge remote-tracking branch 'gh/wip-ceph-test' into next 2012-12-08 09:18:21 -08:00
Gary Lowell
234cc081ab ceph.spec.in: Add SLES and remove Fedora from debug package list. 2012-12-03 19:06:42 -08:00
Gary Lowell
8850b3c7a5 ceph.spec.in: Fix typo. 2012-11-27 16:24:37 -08:00
Gary Lowell
054f761ff6 ceph.spec.in: Add new test programs to package. 2012-11-27 15:09:20 -08:00
Gary Lowell
1dc0fce910 ceph.spec.in: Enable rest-bench and debug configure options 2012-11-27 13:34:57 -08:00
Gary Lowell
c04fcaad76 ceph.spec.in: Add rest-bench and ceph-test packages. 2012-11-27 13:34:57 -08:00
Gary Lowell
1c9ec26eea ceph.spec.in: Build debuginfo subpackage.
This is a partial fix for bug 3471.  Enable building of debuginfo package.
Some distributions enable this automatically by installing additional rpm
macros, on others it needs to be explicity added to the spec file.
2012-11-09 13:28:13 -08:00
Gary Lowell
ff5ee98f1c build: Add RPM release string generated from git describe.
Fix for bug 3451.  Use the commit count and sha1 from git describe to
construct a release string for rpm packages.
2012-11-08 12:43:24 -08:00
Gary Lowell
c357474dbf ceph.spec.in: Remove ceph version requirement from ceph-fuse package.
The ceph-fuse rpm package now only requires ceph as a pre-req, not a specific
version.
2012-11-07 12:41:10 -08:00
Gary Lowell
3223b3de3e ceph.spec.in: Build rpms with nss instead of cryptopp. 2012-09-28 19:27:14 +00:00
Gary Lowell
519ed2471c cpeh.spec.in: Don't package boto_tool. 2012-09-18 12:43:36 -07:00
Gary Lowell
46883a5a0f ceph.spec.in: Add new rados libraries, libcls_kvs.so and libcls_refcount.so. 2012-09-17 22:21:15 -07:00
Sage Weil
de930440e7 remove obsync
This now lives at http://github.com/ceph/obsync

Signed-off-by: Sage Weil <sage@inktank.com>
2012-09-17 18:23:39 -07:00
Tommi Virtanen
f2c4510848 upstart, ceph-create-keys: Make client.admin key generation automatic.
This should help simplify Chef etc deployments. Now (when using the
Upstart jobs), when a ceph-mon is started, ceph-create-admin-key is
triggered. If /etc/ceph/$cluster.client.admin.keyring already exists,
it does nothing; otherwise, it waits for ceph-mon to reach quorum, and
then does a "ceph auth get-or-create" to create the key, and writes it
atomically to disk.

The equivalent code can be removed from the Chef cookbook once this is
in.
2012-08-30 13:41:20 -04:00
Gary Lowell
1cd89d1cdd ceph.spec.in: package new rbd header and rados library. 2012-08-23 13:40:18 -07:00
Gary Lowell
91d5c1958a Don't package crush header files. 2012-08-23 11:48:50 -07:00
Yehuda Sadeh
d59b2db4ab Merge remote-tracking branch 'origin/stable' into next 2012-07-06 10:12:23 -07:00
Sage Weil
23d31d3e2a ceph.spec.in: add ceph-disk-{activate,prepare}
Reported-by: Jimmy Tang <jtang@tchpc.tcd.ie>
Signed-off-by: Sage Weil <sage@inktank.com>
2012-07-06 08:47:44 -07:00
Sage Weil
d347cc8942 v0.48argonaut
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iQIcBAABAgAGBQJP8iluAAoJEH6/3V0X7TFtnFsQAI9z65MWcZNi0nbXmLRudBfM
 0IrcP8bmDAY9D9F45jVxhnJlumxv1FJFBNYXwNkFC/+6jhhevsnIstjYzactPyGt
 C52gapsgjW5S5BSZBAZjyE0zfP9Iu0s7UhxhdABsRkcOnHFJdrXebkNWL4x7I3st
 Sok5LyL6EyIcTNDFYGajOARMbNSi71j8Ys67onPMJaGFenQD0mcgd9bJMmun99Xt
 DQEMOFRXEQydjbO9tAiWLWN6ws/nugcsdJggGqny2Z0AqqiHRejOPyVovsVX63jK
 r9psFdPDMGFWXa11KIj3mihRXQZoSlqbibYhGBgOYtfsaAkegOmoyS/YNcumDY0G
 2w+6azQkmKqRMytgPD1tBCZV6pLoPtROUBXoKn4Enul41FWKzPidGsqKh7mSZSaz
 7/Zl0Y7Blgtbtfh6V2kJwKpoeNNVhXsXRFnlyKnH+SszUOdzsLVZHoH5GwptpCD/
 dxeeXXjmK1J87p08Ze/hy7GqFlEam8yRHukzF9G4V62Yggy/ZIi75uoyxydBWbxr
 mOpbNGl5Ckl925LAMSTu3Dkj1n1C0gJUe+OJHUof6F2Dncczhr1Cjtgq/Fp0YXYz
 8XyPhjN43HnkIgW/ogRtPnJVjHv7Z4HMFUfRS3szWzWp7wZABe7ULRvnZcCDaPb0
 O04ycKNKttq0YAOzNM5M
 =DzUX
 -----END PGP SIGNATURE-----

Merge tag 'v0.48argonaut'

v0.48argonaut
2012-07-02 21:24:56 -07:00
Holger Macht
b5098b38f9 ceph.spec.in: Change license of base package to GPL and use SPDX format
LGPLv2 in spec file is not correct, because some of the included
packages/binaries are GPLv2. For example:

 src/mount/mtab.c     -> package ceph, binary mount.ceph
 src/common/fiemap.cc -> package ceph, binary rbd

Also use SPDX format (http://www.spdx.org/licenses) for the sub-package
licenses.

Signed-off-by: Holger Macht <hmacht@suse.de>
2012-07-02 16:06:01 -07:00
Sage Weil
d9e902f9c5 ceph.newdream.net -> ceph.com
wiki url -> docs url
2012-06-16 14:50:29 -07:00
Sage Weil
c31b4e3100 remove ceph-kdump-copy
Moved to its own repo.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-06-12 10:10:58 -07:00
Sage Weil
2b856ace21 Merge remote-tracking branch 'gh/stable' 2012-05-30 11:02:36 -07:00
Sage Weil
e868b44b39 ceph.spec.in: buildrequires libuuid-devel
Reported-by: Guido Winkelmann <guido-ceph@thisisnotatest.de>
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-25 09:29:08 -07:00
Sage Weil
5eda9b7048 ceph.spec.in: drop unnecessary rmdirs
This hunk was inadvertantly included in a330c64.

Reported-by: Guido Winkelmann <guido-ceph@thisisnotatest.de>
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-25 09:28:07 -07:00
Sage Weil
fbae60315d Merge branch 'stable' 2012-05-23 16:41:14 -07:00
Alexandre Oliva
a330c64cb0 Update ceph.spec for ceph-0.47
Add BuildRequires: libxml2-devel.
Move BuildRequires: libcurl-devel to a more proper place.

[libs3 and librgw.h bits of patch dropped -sw]

Signed-off-by: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Signed-off-by: Sage Weil <sage@newdream.net>
2012-05-23 10:55:49 -07:00
Sage Weil
a586bdf081 ceph.spec: don't package gceph
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-17 20:23:33 -07:00
Sage Weil
99ee622e67 ceph.spec: kill librgw
Signed-off-by: Sage Weil <sage@newdream.net>
2012-05-06 14:50:39 -07:00
Sage Weil
627761f87c Merge remote-tracking branch 'gh/wip-ceph-kdump-copy' 2012-04-30 17:27:47 -07:00
Sage Weil
9cb796a03a obsync: section 8 -> 1
Fixes: #2263
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-19 12:47:50 -07:00
Sage Weil
d3a57a211a ceph.spec.in: drop rgw.py
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-18 21:27:39 -07:00
Sage Weil
af50273545 obsync: include man page in tarball, packages
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-11 11:42:55 -07:00
Sage Weil
838a7618a7 ceph-rbdnamer: include in dist tarball and debs/rpms
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-11 11:42:55 -07:00
Alexandre Oliva
3ab28950be don't override CFLAGS
leveldb adds -I flags to CFLAGS and CXXFLAGS, but if these macros are
overridden in the make command line, the flags are dropped, and the
build fails.  leveldb should probably use AM_CFLAGS instead, but the
spec file can specify the preferred CFLAGS in the configure command
line, and then everything will work as expected.

Signed-off-by: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-03-25 07:57:39 -07:00
Alex Elder
1b2a0669b9 ceph-kdump-copy: add tools for saving kdumps
This puts in place an init script and a command it runs to save a
kernel core dump to a remote server when a panic or other kernel
failure occurs.  The content of a crash file generated by the
"kdump" init script (which uses the Ubuntu "apport" kernel_crashdump
command) is re-packaged and copied (via scp) to a remote server
specified by variables in /etc/default/ceph-kdump-copy.  This
packaging (as well as the work done by the apport script) is done
on the next boot of the kernel following a crash.


Note:  Although the init script, its config file, and shell script
are known to work, the packaging of these things should not be
expected to be.  I (now) know, for example, that the init script
belongs in src/init-ceph-kdump-copy.in if it is to follow the
pattern used by the ceph init script.  And there are likely other
problems with the build/install portions of this patch.

Signed-off-by: Alex Elder <elder@dreamhost.com>
2012-03-21 16:01:18 -05:00
Sage Weil
cd5a8f7e60 ceph.spec.in: add ceph-dencoder
Signed-off-by: Sage Weil <sage@newdream.net>
2012-02-21 15:44:55 -08:00
Holger Macht
543e8b98d0 ceph.spec.in: Move libcls_*.so from -devel to base package
OSDs (src/osd/ClassHandler.cc) specifically look for libcls_*.so in
/usr/$libdir/rados-classes, so libcls_rbd.so and libcls_rgw.so need to
be shipped along with the base package.

Signed-off-by: Holger Macht <hmacht@suse.de>
Signed-off-by: Sage Weil <sage@newdream.net>
2012-02-15 09:28:41 -08:00
Sage Weil
4842b3d2eb ceph.spec.in: buildrequires libaio-devel
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-02-04 17:44:24 -08:00
Alexandre Oliva
eec87bb862 package *.py* files
Some post-install rpmbuild defaults byte-compile all packaged python
files, so don't bother removing the .pyc files, and package .py* to
get both .pyo and .pyc.  It wastes a tiny little bit of space, but it
makes the spec file portable across a wider range of rpm and python
configurations.

Signed-off-by: Alexandre Oliva <oliva@lsd.ic.unicam.br>
Signed-off-by: Sage Weil <sage@newdream.net>
2012-01-24 21:18:49 -08:00
Florian Haas
9b6422dbc7 Spec: conditionally build ceph-resource-agents package
Put OCF resource agents in a separate subpackage,
to be enabled with a separate build conditional
(--with ocf).

Make the subpackage depend on the resource-agents
package, which provides the ocf-shellfuncs library
that the Ceph RAs use.

Signed-off-by: Florian Haas <florian@hastexo.com>
2011-12-30 09:00:31 -08:00
Holger Macht
ec776f4b85 ceph.spec: Clean up and fix spec file and build for a couple of distributions
Clean up and fix the spec file. This includes cleaning up of build and
installed system dependencies, LSB compliance fixes, splitting up into
several sub-packages (lib*) and so on. It now builds fine for the
following distributions in the Open Build Service and should be
considered as a starting point for further fixes:

 - CentOS 6
 - Fedora 15
 - RedHat Enterprise Linux 6
 - openSUSE 11.4
 - openSUSE 12.1
 - openSUSE Factory
 - SUSE Linux Enterprise 11 (SP1 and SP2)

Signed-off-by: Holger Macht <hmacht@suse.de>
2011-12-15 17:51:04 +01:00
Sage Weil
2253c0168d use libuuid for fsid
Signed-off-by: Sage Weil <sage@newdream.net>
2011-11-11 20:48:59 -08:00
Sage Weil
9baf5ef4f3 ceph.spec: don't chkconfig
This was fighting with suse insserv.  Still needs some cleanup.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-10-17 08:51:47 -07:00
Sage Weil
21d941e83b ceph.spec: work around build.opensuse.org
The redhat-rpm-config isn't installed on build.opensuse.org, which means
the processor is set to i386 instead of something less ancient.  This
breaks compilation on 32-bit x86.

Kludge around it here.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-10-17 08:50:54 -07:00
Sage Weil
195a484b47 ceph.spec: capitalize first letter to make rpmlint happy
Signed-off-by: Sage Weil <sage@newdream.net>
2011-10-17 08:49:04 -07:00
Sage Weil
3f619ddb55 ceph.spec.in: fix radosgw files
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-10-10 19:11:45 -07:00
Sage Weil
032dd84c3c ceph.spec.in: more updates to make build.opensuse.org happy
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-10-10 19:11:45 -07:00
Sage Weil
465f1bf18b ceph.spec.in: add init-radosgw back
Accidentally took this out a few patches back.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-10-10 19:11:22 -07:00
Sage Weil
88de6ab53b ceph.spec.in: handle docdir properly
Pass correct path to configure (fixes SuSE builds).

Use %doc command to install sample.ceph.conf and sample.fetch_conf.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-10-07 14:29:35 -07:00
Sage Weil
5a23694240 ceph.spec.in: build on suse
Signed-off-by: Sage Weil <sage@newdream.net>
2011-10-07 11:10:46 -07:00
Sage Weil
3503b34abb Merge branch 'stable' 2011-10-03 15:23:28 -07:00
Sage Weil
6103ee9e88 more radosgw_admin -> radosgw-admin
Signed-off-by: Sage Weil <sage@newdream.net>
2011-10-03 11:25:44 -07:00
Alexandre Oliva
4922757eec ceph.spec.in still packages libceph.so in 0.36
Package libcephfs.so instead of libceph.so.

Signed-off-by: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2011-10-02 15:30:15 -07:00
Sage Weil
607634f601 ceph.spec.in: radosgw init script
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-27 13:08:13 -07:00
Josh Durgin
edb2587a92 ceph.spec.in: add rbd python bindings
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-09-27 12:34:37 -07:00
Tommi Virtanen
dea14f7e40 rpm: c* -> ceph-* rename: missed crbdnamer, cdebugpack.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-09-23 15:55:01 -07:00
Sage Weil
3e9a936062 doc: more c* -> ceph-* renames
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-22 16:18:37 -07:00
Sage Weil
fba541e4e8 libceph -> libcephfs
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-22 15:08:25 -07:00
Sage Weil
6f8f140350 c* -> ceph-*
Hopefully I didn't miss too much...

Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-22 15:08:25 -07:00
Tommi Virtanen
0978178e3d rpm: Create the /etc/ceph directory.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-09-08 12:45:15 -07:00
Tommi Virtanen
b618528968 rpm: Add newly-added files to %files.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-09-08 12:38:12 -07:00
Tommi Virtanen
b4bc9f6104 rpm: Build without tcmalloc, by default.
You can still say "rpmbuild -ba --with tcmalloc ceph.spec"
if you have it.

Add BuildRequires on google-perftools when building with tcmalloc.
Ensure it's the right architecture.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-09-08 12:38:11 -07:00
Brian Chrisman
c29b2213c7 ceph.spec: spec file should be creating /var/run/ceph
Signed-off-by: Brian Chrisman <brchrisman@gmail.com>
2011-09-06 21:08:47 -07:00
Sage Weil
2bce766c2a perfcounters: no more stat/ dir, yay!
Signed-off-by: Sage Weil <sage@newdream.net>
2011-07-25 09:14:08 -07:00
Colin Patrick McCabe
1dd1743189 Remove libcrush from packaging
This removes libcrush from the packaging system, now that it's been
merged into libcommon.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-05-19 11:33:17 -07:00
Colin Patrick McCabe
ce7f78d093 ceph.spec.in: fix obsync description
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-05-19 10:13:20 -07:00
Sage Weil
34ffe73816 ceph.spec.in: add obsync
Signed-off-by: Sage Weil <sage@newdream.net>
2011-05-17 14:26:30 -07:00
Sage Weil
7c04f81ca1 mon: remove class distribution infrastructure
This is now the admin's job.  Removes a lot of code with limited testing
and coverage.

We rev the internal monitor protocol because the state machine ids changed.
This should not affect the on-disk format. Just stop and restart all the
monitors at once during the upgrade.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-04-19 11:33:34 -07:00
Tommi Virtanen
536ae0caa7 librados: Stop bundling the now-unused headers.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-04-07 10:53:19 -07:00
Tommi Virtanen
92e0751ffb Add an RPM BuildRequires on keyutils-libs-devel.
See 9aab8c6b05.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-03-29 15:37:10 -07:00
Ruben Kerkhof
f2e146aa86 rpm: package python bindings for rados
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-03-21 09:45:48 -07:00
Colin Patrick McCabe
54f7d83e41 ceph.spec.in: some CentOS fixes
BuildRequires: cryptopp-devel has been replaced by nss-devel.  Skip
google-perftools-devel because that package is not available for x86-64.
Add python.

Don't install libcls_rbd.so.1.0.0.debug.

Package crbdnamer and librados-config.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-03-18 17:07:36 -07:00
Josh Durgin
0c97d79056 ceph.spec.in: add librbd 2011-02-11 13:48:02 -08:00
Colin Patrick McCabe
292414c5fd gceph: Add gceph to rpm, deb
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-12-10 20:34:49 -08:00
Colin Patrick McCabe
346a2aac42 rpm: update changelog
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-12-09 14:38:08 -08:00
Colin Patrick McCabe
e23d620068 rpm: fix ceph.spec to work with gcephtool
Don't try to package gui_resources unless we are building the GUI.
Get GUI dependencies correct.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-12-09 14:35:48 -08:00
Colin Patrick McCabe
f68e6e7d38 rpm: don't try to package radosacl
radosacl is just a test binary, so unless we build with --with-debug, we
won't get it.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-12-09 11:18:33 -08:00
Colin Patrick McCabe
6722b0c85d rpm: add pkgconfig to BuildRequires
You can't build without pkgconfig.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-12-09 11:18:32 -08:00
Colin Patrick McCabe
9df18d1984 rpm: set files-attr for radosgw
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-12-09 10:28:39 -08:00
Colin Patrick McCabe
10b6887eae automake: in deb pkg, use --syconfdir=/etc
When building the debian packages, use --sysconfdir=/etc.

Also, don't fudge sysconfdir in the init-ceph script.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-12-07 10:48:19 -08:00
Yehuda Sadeh
23f370436e ceph.spec.in: update dependency 2010-12-03 19:34:37 -08:00
Greg Farnum
03eb4e7a07 man: add man page for cephfs
Add to Makefile, debian, and ceph.spec.in bits
2010-12-02 16:18:38 -08:00
Sage Weil
559d4d207e ceph.spec.in: include gui files
Signed-off-by: Sage Weil <sage@newdream.net>
2010-11-30 09:22:42 -08:00
Christian Brunner
aad3f7f275 ceph.spec.in: don't strip rados classes
Signed-off-by: Christian Brunner <christian@brunner-muc.de>
2010-11-08 22:03:15 -08:00
Colin Patrick McCabe
38f96c658d debian packaging: set --sbindir=/sbin
We want mkcephfs and mount.ceph to be under /sbin.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-11-02 14:37:56 -07:00
Sage Weil
a8f6ba946b add cephfs to deb, rpm 2010-10-25 16:44:22 -07:00
Sage Weil
af749e62cb cdebugpack: man page
Signed-off-by: Sage Weil <sage@newdream.net>
2010-10-07 09:38:37 -07:00
Sage Weil
3b1b8f89ff cdebugpack: include in deb, rpm 2010-10-07 09:25:26 -07:00
Sage Weil
462d317406 ceph.spec.in: require, build with tcmalloc 2010-08-12 16:32:10 -07:00
Sage Weil
a7038da72d ceph.spec.in: fix docdir paths
_docdir is /usr/share/doc, not /usr/share/doc/ceph (as it is with debian).
2010-08-04 09:56:05 -07:00
Sage Weil
1cf45017df ceph.spec.in: fix sample.ceph.conf chown
Reported-by: Xiaoguang Liu <syslxg@gmail.com>
2010-08-04 09:51:31 -07:00
Sage Weil
67236ae746 move logrotate conf out of debian/ to fix ceph.spec 2010-08-02 09:15:34 -07:00
Sage Weil
b502be7a8d move mkcephfs to /sbin 2010-07-30 12:06:10 -07:00
Sage Weil
7465b5e37d debian: more cleanups
https://code.launchpad.net/~clint-fewbar/review-new-branches/ceph-new-pkg/+merge/31303
2010-07-30 12:05:55 -07:00
Thomas Mueller
183984e110 ceph.spec.in: create /var/log/ceph/stat dir
the logrotate config expects a var/log/ceph/stat dir - create it.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-29 09:14:11 -07:00
Sage Weil
ce07f280c7 ceph.spec.in: rbdtool -> rbd
Reported-by: markn1
2010-07-28 21:04:36 -07:00
Christian Brunner
f5c4fc61b6 fix FCGI detection and specfile
configure is building radosgw as soon as libfcgi is installed, even
if --without-radosgw is given. Here is a fix for configure.in and the
specfile.

Regards,
Christian

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-09 13:51:14 -07:00
Christian Brunner
84d4c11f1f ceph.spec.in: create /var/log/ceph directory
I've missed this one in my previous patch series.

Regards,
Christian

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-09 09:38:15 -07:00
Christian Brunner
8ec5134aad ceph.spec.in: add a build option for radosgw (--with radosgw)
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-09 09:38:12 -07:00
Christian Brunner
bf047a644c ceph.spec.in: add /var/lib/ceph/
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-09 09:38:12 -07:00
Christian Brunner
19886eb6e0 ceph.spec.in: add logrotate configuration
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-09 09:38:11 -07:00
Christian Brunner
293299f0ca ceph.spec.in: set correct path for rbd classes
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-09 09:38:10 -07:00
Sage Weil
25ff6e4c18 ceph.spec: require libedit
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-08 08:38:54 -07:00
Sage Weil
e0d443cce8 ceph.spec.in: require binutils
cclass needs /usr/bin/nm

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-08 08:36:46 -07:00
Sage Weil
4a80e5e080 ceph.spec: install /etc/logrotate.d/ceph 2010-07-06 11:53:11 -07:00
Thomas Mueller
b150b68c91 ceph.spec.in: make -j and unpackaged files
* now that make -j<numprocs> works out of the box, add it to the spec
* added new unpackaged files
* the test binaries get installed with "--without-debug". omitting
"--without-debug" fixes the problem.

Signed-off-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-05 08:51:48 -07:00
Sage Weil
efc187e41f ceph.spec.in: remove mkmonfs manpage 2010-07-02 07:59:04 -07:00
Sage Weil
340cb06035 ceph.spec.in: initrddir, not initddir
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 07:59:04 -07:00
Thomas Mueller
7eb12d5e51 ceph.spec.in: some fixes
encountered following errors building an rpm package with the
ceph.spec.in:

RPM build errors:
    File not found: /var/tmp/ceph-0.21~rc-4el5.elefant-root-mockbuild/usr/
bin/mkmonfs
    File must begin with "/": %{_initddir}/ceph
    Installed (but unpackaged) file(s) found:
   /usr/bin/dumpjournal
   /usr/bin/dupstore
   /usr/bin/psim
   /usr/bin/radosacl
   /usr/bin/streamtest
   /usr/bin/test_ioctls
   /usr/bin/test_trans
   /usr/bin/testceph
   /usr/bin/testcrypto
   /usr/bin/testkeys
   /usr/bin/testmsgr
   /usr/bin/testrados
   /usr/bin/testradospp

* mkmonfs - vanished. isn't it used anymore? if so, the man/mkmonfs.8 can
also be removed
* initddir can be ignored as it is centos/rhel specific (it's called
"initrddir")
* added CXXFLAGS to make

Reported-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-02 07:58:04 -07:00
Sage Weil
d2c40055c4 initscript: incorporate Josef's fedora fixes
Add 'status' command.
Add chkconfig line.
Do lockfile stuff only if /var/run/subsys exists.

Still specifying the runlevels, though.  The init script bails out (with
success code) if the ceph.conf is missing.
2010-05-27 14:58:56 -07:00
Sage Weil
08f69663e8 ceph.spec: build-required libatomic_ops-devel, not libatomic_ops
And no perl-devel.
2010-05-27 14:24:37 -07:00
Sage Weil
2741e1833a ceph.spec.in: --without-hadoop --without-debug
to sync up with f13
2010-05-07 14:50:20 -07:00
Sage Weil
3278466643 ceph.spec.in: run configure
Reported by MarkN in #ceph on irc.oftc.net
2010-05-03 21:06:37 -07:00
Sage Weil
b022a285c6 ceph.spec.in: updates 2010-04-30 14:22:30 -07:00
Sage Weil
f244067aab ceph.spec.in: from Josef 2010-04-30 14:22:30 -07:00
Sage Weil
beb2fb9588 ceph.spec: mostly in line with .deb
No packages for radosgw or libcrush/ceph/rados, though.
2009-11-25 21:45:11 -08:00
Sage Weil
1a5c8ae2b1 update debian, spec files to reflect cmonctl->ceph rename 2008-12-15 12:33:10 -08:00
Erwin, Brock A
7cb7adad45 ceph.spec.in: include crun 2008-10-08 09:28:32 -07:00
Erwin, Brock A
cd579130db ceph.spec.in changes
Attached is an update to the SPEC file.  I had forgot to include the "fuse-devel" package
requirement for building the ceph packages, and didn't notice that ./configure gave the error
of -lfuse not found.
2008-07-23 15:27:48 -07:00
Erwin, Brock A
b408d517e4 rename, fix ceph.spec.in 2008-07-14 12:30:37 -07:00