Commit Graph

135 Commits

Author SHA1 Message Date
Thomas Bechtold
8814265f08 Enable libs3 support for debian packages 2013-07-23 21:09:37 +02:00
Laurent Barbe
0efcccdcc2 Move rbdmap file to /etc/ceph
Signed-off-by: Laurent Barbe <laurent@ksperis.com>
2013-07-02 16:53:11 +02:00
Laurent Barbe
ffe7045893 install rules for init-rbdmap
Signed-off-by: Laurent Barbe <laurent@ksperis.com>
2013-07-02 16:50:40 +02:00
Gary Lowell
f6a864d079 rules: Don't disable tcmalloc on ARM (and other non-intel)
Fixes #5342

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-06-13 16:38:26 -07:00
Sage Weil
d8d7113c35 udev: install disk/by-partuuid rules
Wheezy's udev (175-7.2) has broken rules for the /dev/disk/by-partuuid/
symlinks that ceph-disk relies on.  Install parallel rules that work.  On
new udev, this is harmless; old older udev, this will make life better.

Fixes: #4865
Backport: cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-16 18:40:29 -07:00
Gary Lowell
5c1782a57c debian/rules: Fix tcmalloc breakage
Since all currently supported platforms have tcmalloc
available and it is now the default, remove broken check code
that turns it off if the package is not listed in build-depends.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-04-26 16:04:52 -07:00
Dan Mick
a2a23ccd95 debian/rules: use multiline search to look for Build-Depends
When Build-Depends was split into multiple lines (in commit
8f5c665744), the grep for
libgoogle-perftools-dev broke.  Replace grep with perl for multiline
matching.

Fixes: #4818
Signed-off-by: Dan Mick <dan.mick@inktank.com>
(cherry picked from commit 89692e099f)
2013-04-26 10:19:04 -07:00
Sage Weil
8e0be54857 debian: allow extra args to get passed to ./configure via the environment
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 17:07:55 -08:00
Sage Weil
5bd85ee5aa udev: trigger ceph-disk-activate directly from udev
There is no need to depend on upstart for this.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-13 22:18:59 -08:00
Sage Weil
23ad3a46a0 debian: put ceph-mds upstart conf in ceph-mds package
Fixes: #3157
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-13 12:30:22 -08:00
Yehuda Sadeh
c8eace6ff0 rgw: create a separate logrotate file for radosgw
Fixes: #3813
Since radosgw package is separate from the ceph package,
it also needs to have a separate logrotate. The default
path for radosgw log is changed to /var/log/radosgw,
and it now has a different logrotate script.
Updating both deb and rpm packaging.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-02-05 14:54:38 -08:00
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
James Page
bc9d9d8a2b Refactor rule file to separate arch/indep builds.
Prior to the ceph fs java bindings, all packages where
architecture depdendent so the packaging rules file
worked OK; this fixes up the binary-indep/arch targets
to split the builds of architecture dependent and
independent files.

Signed-off-by: James Page <james.page@ubuntu.com>
2012-12-16 12:29:30 -08:00
Gary Lowell
37adf2a9f1 packaging: Add ceph-test debian package
The ceph-test package includes optional test and benchmarking programs.
2012-11-27 13:50:25 -08:00
Noah Watkins
b3cc40a333 java: update deb bits from ceph-devel feedback
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2012-10-19 10:22:38 -07:00
Noah Watkins
9feb4afdd8 debian: add libcephfs-java package
Creates libceph1-java package that contains
the libcephfs Java wrappers .jar file and the
JNI library.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2012-10-19 09:59:10 -07:00
James Page
31560ca55b Rejig the way the shared libraries are processed so that manual postinst/postrm scripts are not required for lib* packages, ensuring that the .so's in the ceph package are not detected 2012-09-12 10:40:01 +01:00
Sage Weil
67455c2187 debian: strip new ceph-mds package
Reported-by: Amon Ott <a.ott@m-privacy.de>
Signed-off-by: Sage Weil <sage@inktank.com>
2012-07-03 09:20:35 -07:00
Sage Weil
915f321096 debian: move mount.ceph and cephfs into ceph-fs-common
Based on patches from Laszlo Boszormenyi (GCS) <gcs@debian.hu>.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-06-27 20:25:13 -07:00
Laszlo Boszormenyi (GCS)
89492329d1 debian: build with libnss instead of crypto++
Signed-off-by: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
2012-06-27 20:25:13 -07:00
Sage Weil
d1fc562d9d debian: install radosgw upstart configs, daemon dir
Signed-off-by: Sage Weil <sage@inktank.com>
2012-06-13 09:22:19 -07:00
Laszlo Boszormenyi (GCS)
d023cf5c35 debian: move ./configure to correct rules section
Signed-off-by: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
2012-06-11 15:48:50 -07:00
Tommi Virtanen
176a14aef9 debian, upstart, osd: osd disk preparation and activation scripts
Signed-off-by: Tommi Virtanen <tv@inktank.com>
2012-05-23 14:02:34 -07:00
Sage Weil
f943f34b83 debian: don't package gceph
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-17 20:23:33 -07:00
Sage Weil
ac903210d0 Merge branch 'wip-rgw-bench'
Conflicts:
	debian/rules
2012-05-07 15:57:31 -07:00
Sage Weil
caab859b6d debian: kill librgw.so
Signed-off-by: Sage Weil <sage@newdream.net>
2012-05-06 14:50:30 -07:00
Yehuda Sadeh
150adcceb6 debian: add rules for rest-bench
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
2012-05-04 15:55:34 -07:00
Sage Weil
7fdf25bc58 debian: python-support -> dh_python2
I followed the instructions on

	http://wiki.debian.org/Python/TransitionToDHPython2

Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-11 13:35:26 -07:00
Laszlo Boszormenyi
0d8b5756e1 debian: build-{indep,arch}
Signed-off-by: Laszlo Boszormenyi <gcs@debian.hu>
2012-02-26 20:45:52 -08:00
Florian Haas
b3f8b55dd7 debian: build ceph-resource-agents 2012-01-05 13:46:09 -08:00
Wido den Hollander
cef16732e7 debian init: Do not stop or start daemons when installing or upgrading
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2011-11-28 09:01:50 -08:00
Laszlo Boszormenyi
f4971328c7 debian: empty dependency_libs in *.la files
Per policy and multiarch support.

Signed-off-by: Laszlo Boszormenyi <gcs@debian.hu>
2011-11-02 08:44:33 -07:00
Sage Weil
1a14a23da0 debian: ceph-client-tools -> ceph-common, now required, w/ ceph-conf etc.
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-27 10:02:47 -07:00
Sage Weil
8563b96fe6 debian: include radosgw init script in package
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-26 11:04:25 -07:00
Sage Weil
fba541e4e8 libceph -> libcephfs
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-22 15:08:25 -07:00
Tommi Virtanen
efb8282873 debian: Strip and do -dbg magic for librgw too.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 17:10:12 -07:00
Tommi Virtanen
0da30c358b debian: Properly package the python bindings.
Build-depend on python-support. Add binary package
python-ceph, making it contain all the ceph python
packages, regardless of their name; the modules are
too small to deserve their own debs.

Make python-ceph depend only on librados2 for now.
librgw is not packaged yet.

Dropping unnecessary build-dep on python-dev, that's
only needed for compiling C extensions, and we're using
ctypes.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 16:15:34 -07:00
Sage Weil
f69bc30106 debian: move gceph into a separate package
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-09 14:34:36 -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
Tommi Virtanen
f6179fc375 debian: Handle missing tcmalloc on Debian lenny.
lenny doesn't have a suitable libgoogle-perftools-dev, and
release.sh edits it out of build-deps. Detect that and tell
configure that not having tcmalloc is ok.

This should make 05c281bfa9
unnecessary.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-04-19 12:05:32 -07:00
Tommi Virtanen
0d98a62ce2 debian: Build without tcmalloc on non-i386/amd64.
This is not strictly needed as of 05c281bfa9,
but that reverting is hopefully only temporary.

Without this, with 05c281 undone, non-mainstream architectures
would fail to build.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-04-19 12:05:29 -07:00
Laszlo Boszormenyi
5959e76e2c Disable libatomic-ops on armel archs
armel supports ARMv4t or above instructions sets.
libatomic-ops is only usable with Ceph for ARMv6 or above.

Signed-off-by: Hector Oron <zumbi@debian.org>
2011-03-20 08:23:22 +01:00
Laszlo Boszormenyi
9b969ce92f Add cross compilation support
Taken from Debian bugreport #618939 , courtesy by Hector Oron.

Signed-off-by: Hector Oron <zumbi@debian.org>
2011-03-19 20:45:20 +01:00
Laszlo Boszormenyi
1ad567e347 Add parallel building support for multi{core,processor} systems. 2011-03-19 20:15:17 +01:00
Sage Weil
d1d2e87019 debian: add udev rules
Add /lib/udev/rules.d/50-rbd.rules to debian package.
crbdnamer generates the dev path:
/dev/rbd/<pool>/<name>:<number>

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>

Conflicts:

	debian/rules
	src/crbdnamer
2011-03-11 09:43:14 -08:00
Samuel Just
863ef7c331 debian: add udev rules
Add /lib/udev/rules.d/50-rbd.rules to debian package.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-03-10 16:08:39 -08:00
Sage Weil
4ac0881025 Bump librados soname to 2.
Update Debian packaging. For human-only mentions of librados,
use just "librados"

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>

Conflicts:

	debian/control
	src/Makefile.am
2011-03-05 13:59:49 -08:00
Josh Durgin
f18c721393 librbd: add packages for librbd 2011-02-07 15:13:01 -08:00
Laszlo Boszormenyi
1e291fc9ef debian: don't strip rados classes
Signed-off-by: Laszlo Boszormenyi <gcs@debian.hu>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-12-17 08:31:00 -08:00
Laszlo Boszormenyi
4e3c201132 Tune Debian packaging for the upcoming v0.24 release.
Including switch OpenSSL dependency to Crypto++ as its being used instead of
the former; remove radosacl as its not compiled anymore and pristine clean
the source. Explicitly note this is in a 1.0 package format.
2010-12-05 22:20:48 -08:00
Colin Patrick McCabe
39b42b21e9 make: create /etc/ceph if it doesn't exist
make: create /etc/ceph if it doesn't exist. On uninstall, remove the
directory if it's empty. (Never remove a user's config file, though.)

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-12-02 17:35:32 -08:00
Sage Weil
9360126943 debian: many many cleanups
Signed-off-by: Laszlo Boszormenyi <gcs@debian.hu>
2010-11-30 09:13:54 -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
67236ae746 move logrotate conf out of debian/ to fix ceph.spec 2010-08-02 09:15:34 -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
Sage Weil
dd9d23b3a1 debian: cleanup from Clint Byrum <clint@ubuntu.com>
With a few changes by me (changelog, copyright clarification)
2010-07-21 09:27:49 -07:00
Sage Weil
e61ceee1de debian: override lintian warning unstripped-binary-or-object 2010-07-09 15:51:25 -07:00
Sage Weil
fd8ba5d5f2 debian: explicit postinst/postrm for shlibs
The dh_shlibdeps sees the .so in 'ceph' and incorrectly adds ldconfig to
postinst and postrm.  Which is useless and upsets lintian.  So do our
postinst/postrm magic explicitly.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-08 08:29:53 -07:00
Sage Weil
b977f4e579 debian: _do_ strip cosd 2010-07-07 15:56:25 -07:00
Sage Weil
243491ef7c debian: do not strip cosd 2010-07-07 12:50:54 -07:00
Sage Weil
f6e1fd53ce debian: do not strip rados classes
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-07 07:36:50 -07:00
Sage Weil
57aeed1fde debian: add logrotate.d/ceph 2010-07-01 14:29:13 -07:00
Sage Weil
ba5a0d1ff6 fetch_config: enable fetching ceph.conf from a remote location
fetch_config: always fetch if script exists and is executable

fetch_config: make /etc/ceph/sample.fetch_config +x

Makefile: fix whitespace
2010-04-20 16:38:48 -07:00
Sage Weil
d2e637486e debian: clean out unused debhelper rules steps 2010-03-11 09:06:55 -08:00
Sage Weil
fe58fdb71f debian: fix init script hackery
Copy src/init-ceph to debian/ceph.init _after_ we make, so that
the autoconf paths are substituted in properly.
2010-02-11 10:36:38 -08:00
Sage Weil
b06b232540 debian: fixups to build inside pbuilder 2010-02-09 08:24:57 -08:00
Sage Weil
0f42df4685 debian: updated debian build scripts, changelog 2010-02-08 10:27:49 -08:00
Sage Weil
4545f8b929 debian: fix copyright to avoid lintian check
possible-gpl-code-linked-with-openssl
2009-10-28 14:05:27 -07:00
Sage Weil
b279b0f4eb debian: fix -dbg packages 2009-10-28 13:16:34 -07:00
Sage Weil
751ff79555 debian: strip, put debug binaries in usr/lib/debug 2009-10-28 11:57:18 -07:00
Sage Weil
887a347fd9 debian: override openssl warning on radosgw 2009-10-28 10:48:39 -07:00
Sage Weil
bd41a8dfdd debian: some lintian fixes
Note that I'm moving some library SONAME version backwards!
Otherwise we'd have to rename libceph to libceph1, etc.  And
that's lame.
2009-10-28 10:10:52 -07:00
Sage Weil
c9b5eb7fbc debian: don't build ceph-kclient-source
That needs to be built from the ceph-client.git tree instead.
2009-10-06 14:00:54 -07:00
Sage Weil
464d248e35 Makefile: fix up initscript packaging 2009-07-15 14:07:37 -07:00
Sage Weil
ceac0e0023 debian: new rules file. don't strip. 2009-05-11 11:02:04 -07:00
Sage Weil
f0be3da63a debian: no restart on upgrade, no start 2009-03-24 16:46:21 -07:00
Sage Weil
60909dd015 debian: which gcc/g++, not fixed at 4.1 2009-03-23 14:41:33 -07:00
Sage Weil
3ef9395ebc debian: fix lintian errors (except missing man pages) 2009-03-10 13:22:51 -07:00
Sage Weil
b13663e86e debian: update packages 2009-02-27 15:11:49 -08:00
Sage Weil
2608820c75 debian: include debian dir in usr/src/modules/ceph 2008-10-16 18:27:57 -07:00
Sage Weil
b4a0e6ce46 debian: make ceph-source include module source
There's a bunch of weirdness in the rules file, though, that I don't understand.
What's rules.modules.in?  Why was it being populated (along with a debian dir)
in /usr/src/modules/ceph?
2008-10-16 15:33:54 -07:00
Sage Weil
e9cd36644f debian: fix kernel module in source package 2008-10-16 13:53:56 -07:00
Sage Weil
924cac5260 debian: include missing items in ceph-mon, chmod +x rules 2008-08-01 16:15:55 -07:00
Brown, David M JR
524ec3947f fixes for debian directory
The patch creates several packages:

ceph: The uber package that depends on ceph-mds ceph-osd ceph-mon ceph-fuse and ceph-source
ceph-mds: The ceph meta data server daemon
ceph-osd: The ceph object storage daemon
ceph-mon: The ceph cluster monitor
ceph-fuse: The ceph fuse client
ceph-source: The source for the ceph client kernel module for use with module-assistant
ceph-misc: Some ceph misc installed binaries
ceph-doc: What little ceph documentations in the source tarball

Hopefully this is useful.

Thanks,
- David Brown
2008-07-24 10:14:24 -07:00
Sage Weil
8adc9dac1d debian packing stuffs 2008-01-28 15:33:37 -08:00