Commit Graph

160 Commits

Author SHA1 Message Date
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