Commit Graph

312 Commits

Author SHA1 Message Date
Loic Dachary
8f0bb2f02f pybind: unit tests for ceph_argparse::parse_json_funcsigs
Run parse_json_funcsigs against the builtin commands found
in mon/MonCommands.h. Although it does not provide for a full
validation, it will detect some degenerate cases.

It is expected to raise if a space is missing at the end of an option
specification ( see https://github.com/ceph/ceph/pull/585 ) and this
case is tested. New tests of the same kind can be added whenever an
undetected error is found. Ideally a validation function is implemented
and it would be updated ( with an associated test ) when a new
pathological case is found.

The json string given to parse_json_funcsigs is obtained from
the support program get_command_descriptions.

The python-nose dependencies are added to the build requirements in
debian/control and ceph.spec.in because make check should always be run
at built time.

http://tracker.ceph.com/issues/6274 refs #6274

Reviewed-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
2013-09-23 23:46:43 +02:00
Sage Weil
8437304c93 build-depend on yasm
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-21 08:31:12 -07:00
Sage Weil
ee18322e5b Merge remote-tracking branch 'gh/next' 2013-07-28 16:17:55 -07:00
Sage Weil
dd3b0865e0 Merge pull request #464 from toabctl/fuse-utils-obsolete
Remove fuse-utils from Recommends in debian/control

Reviewed-by: Sage Weil <sage@inktank.com>
2013-07-27 17:34:12 -07:00
Sage Weil
6881ab3b39 debian, rpm: make python-ceph depend on python-requests
For ceph-rest-api.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-27 17:32:49 -07:00
Dan Mick
41930b5e8f ceph.spec.in, debian/control: python-ceph depends on python-flask
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-24 16:31:46 -07:00
Thomas Bechtold
c8d66b7a7d Remove fuse-utils from Recommends in debian/control
The package fuse-utils is obsolete and no longer in Debian unstable.
2013-07-24 07:00:58 +02:00
Thomas Bechtold
8814265f08 Enable libs3 support for debian packages 2013-07-23 21:09:37 +02:00
Sage Weil
046e3b71a1 debian, rpm: remove python-lockfile dependency
As for 2a4953b697 ceph-disk no longer uses
this.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-06-24 13:04:58 -07:00
Sage Weil
1aca370ed0 debian: ceph-common requires matching version of python-ceph
If they skew the ceph_argparse.py module may be missing.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-06-22 10:28:16 -07:00
Dan Mick
ee0913c2e6 Merge remote-tracking branch 'origin/master' into wip-ceph-cli
Conflicts:
	src/mon/OSDMonitor.cc
	src/osd/OSD.cc
	src/osd/ReplicatedPG.cc
2013-06-04 13:12:08 -07:00
James Page
e634d9d6b6 Use new fuse package instead of fuse-utils
The fuse-utils package was deprecated a while ago.

Switch the primary dependency for fuse tools to use
the preferred 'fuse' package.

Signed-off-by: James Page <james.page@ubuntu.com>
2013-05-29 10:57:17 +01:00
Dan Mick
70a96973e9 packaging fixes around the new ceph cli:
Remove ceph-legacy-cli
Include ceph in proper places to get it built/installed/packaged
Make ceph-common (deb) or ceph (rpm) pkg depend on python-ceph pkg

Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-05-21 20:33:23 -07:00
Sage Weil
604c83ff18 debian: make radosgw require matching version of librados2
...indirectly via ceph-common.  We get bad behavior when they diverge, I
think because of libcommon.la being linked both statically and dynamically.

Fixes: #4997
Backport: cuttlefish, bobtail
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
2013-05-16 13:17:45 -07:00
Gary Lowell
83bbae415d debian/control: squeeze requres cryptsetup package
Squeeze requires the cryptsetup package which has been renamed
cryptsetup-bin in later versions.  Allow either package to
satisfy the dependency.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-05-08 16:33:05 -07:00
Gary Lowell
7ad63d23d7 ceph-disk: OSD hotplug fixes for Centos
Two fixes for Centos 6.3 and other systems with udev versions
prior to 172.  The disk peristant name using the GPT UUID does
not exist, so use the by_path persistent name instead for the
journal symlink.

The gpt label fields are not available for use in udev rules. Add
ceph-disk-udev wrapper script that extracts the partition
type guid from the label and calls ceph-disk-activate if it is
a ceph guid type. (Bug #4632)

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-04-22 22:30:39 -07:00
Gary Lowell
7e4f80b12e debian/control: Fix typo in libboost version number
Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-04-18 10:41:38 -07:00
Gary Lowell
f4bc760776 build: Add new package dependencies
Add libboost-system-dev (bug #4725).

Add hdparm to rpm installation requirements.  The hdparm
command is used to determin if write-caching is enabled on
the journal device.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-04-18 10:41:20 -07:00
Andras Elso
2da57d7675 debian: Add git to Build-Depends (need by check_version script)
Signed-off-by: Andras Elso <elso.andras@gmail.com>
2013-03-29 13:34:54 +01:00
Andras Elso
8f5c665744 debian: Run wrap-and-sort from devscripts
Signed-off-by: Andras Elso <elso.andras@gmail.com>
2013-03-29 13:34:48 +01:00
Sage Weil
632f7200bb Merge branch 'next'
Conflicts:
	src/mon/AuthMonitor.cc
2013-03-14 21:11:35 -07:00
Gary Lowell
6f15dba931 debian/control: Fix for moved file
The ceph-mds.conf file moced from the ceph package to the
ceph-mds package.  Add replaces/breaks statements to the
control file to handle this on upgrade.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-03-14 17:16:24 -07:00
Andras Elso
0dd956cb02 debian: Fix FTBFS because depend on old libboost-dev
Signed-off-by: Andras Elso <elso.andras@gmail.com>
2013-03-10 01:18:16 +01:00
Alan Grosskurth
a319f5cb74 debian: require libsnappy-dev for ceph
Debian builds are currently broken without this requirement.
2013-03-06 02:21:12 -08:00
Josh Durgin
867586c674 debian: require >= python2.6 for ceph as well
ceph-disk-prepare and ceph-disk-activate use the with statement,
str.format, and possibly other new features from python 2.6.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-03-04 16:49:14 -08:00
Filippos Giannakos
66df847e00 Add X-Python-Version >=2.6 to debian control file.
python-ceph complains when installed to debian squeeze about the 'with'
statement. Apparently installation tries to install the python-ceph package for
python 2.5, which does not support the 'with' statement natively.

Signed-off-by: Filippos Giannakos <philipgian@grnet.gr>
2013-03-04 15:10:00 -08:00
Sage Weil
cfcaceac44 debian: require cryptsetup-bin
This is needed for ceph-disk-prepare's dmcrypt support.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-27 15:43:57 -08:00
Sage Weil
d9d075e976 debian: let dpkg calculate the shlibs dep for leveldb (if any)
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-27 09:45:02 -08:00
Danny Al-Gaaf
f42a63ba1b debian/control: fix Depends
Remove request for libleveldb1 version > 1.2. Every libleveldb1 package
should work, otherwise the SO name/version of the library should change.

Fixes: #3945

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-02-27 15:39:18 +01:00
Danny Al-Gaaf
43161532d6 debian/control: add libleveldb-dev to Build-Depends:
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-02-27 14:47:49 +01:00
Gary Lowell
ea546aef0c Build: Change build to always use system leveldb
Dynamically link to the leveldb installed on the system rather than
statically linking ceph copy.  Remove the --with-system-leveldb config
option, and add a requirement for leveldb libraries for rpm and debian
packages.  Bug 3945.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-02-26 20:07:49 -08:00
Sage Weil
9217c4ac68 debian: make gdisk, parted requirements, not recommendations.
ceph-prepare-disk (and thus ceph-deploy) need this.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-24 13:31:06 -08:00
Gary Lowell
4a6924a562 install: remove perl dependency
Change the filter in logrotate to use sed instead of perl, and remove the
package dependency on perl.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-02-04 12:56:01 -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
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
Gary Lowell
e9231fe6c1 Makefiles: Two new packages needed in the debian build depdencies.
The ceph test programs that are now being built by default require the junit
and libboost-program-options packages.  These have been added to the build
dependecies in the debian control file.

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
2012-12-16 12:29:54 -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
Yehuda Sadeh
2475d0143b Merge branch 'wip-keystone' into wip-rgw-integration
Conflicts:
	debian/control

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-11-08 17:19:18 -08:00
Yehuda Sadeh
a99b0fac88 rgw: fix build
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-11-08 13:24:30 -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
Tommi Virtanen
662c69e525 ceph-disk-prepare, debian/control: Support external journals.
Previously, ceph-disk-* would only let you use a journal that was a
file inside the OSD data directory. With this, you can do:

  ceph-disk-prepare /dev/sdb /dev/sdb

to put the journal as a second partition on the same disk as the OSD
data (might save some file system overhead), or, more interestingly:

  ceph-disk-prepare /dev/sdb /dev/sdc

which makes it create a new partition on /dev/sdc to use as the
journal. Size of the partition is decided by $osd_journal_size.
/dev/sdc must be a GPT-format disk. Multiple OSDs may share the same
journal disk (using separate partitions); this way, a single fast SSD
can serve as journal for multiple spinning disks.

The second use case currently requires parted, so a Recommends: for
parted has been added to Debian packaging.

Closes: #3078
Closes: #3079
Signed-off-by: Tommi Virtanen <tv@inktank.com>
2012-10-15 09:34:36 -07:00
Tommi Virtanen
d6b065ce91 debian/control, ceph-disk-prepare: Depend on xfsprogs, use xfs by default.
Ext4 as a default is a bad choice, as we don't perform enough QA with
it. To use XFS as the default for ceph-disk-prepare, we need to depend
on xfsprogs.

btrfs-tools is already recommended, so no change there. If you set
osd_fs_type=btrfs, and don't have the package installed, you'll just
get an error message.

Signed-off-by: Tommi Virtanen <tv@inktank.com>
2012-10-05 15:41:35 -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
James Page
65c43e341b debian: fix ceph-fs-common-dbg depends
Signed-off-by: James Page <james.page@ubuntu.com>
2012-07-12 06:58:56 -07:00
Tommi Virtanen
ad97415ef7 ceph-disk-prepare: Partition and format OSD data disks automatically.
Uses gdisk, as it seems to be the only tool that can automate GPT uuid
changes. Needs to run as root.

Adds Recommends: gdisk to ceph.deb.

Closes: #2547
Signed-off-by: Tommi Virtanen <tv@inktank.com>
2012-07-03 15:25:52 -07:00
Sage Weil
9d6013e0db debian: move metadata server into ceph-mds
Also adjust the recommends and depends, so that libcephfs1 and ceph-fuse
hang off of ceph-mds instead of ceph.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-06-27 20:25:13 -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
Sage Weil
0d9b558f5c debian: arch linux-any
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
Laszlo Boszormenyi (GCS)
95ac5baed4 debian: fix python-ceph depends
Signed-off-by: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
2012-06-17 13:21:24 -07:00
Laszlo Boszormenyi (GCS)
d7fe0e3fe4 debian: update homepage url
Signed-off-by: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
2012-06-17 13:21:19 -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
d64600dfae debian: limit build archs
We depend on leveldb, which only builds on

 amd64 armel armhf i386 ia64 mipsel

Reported-by: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
Signed-off-by: Sage Weil <sage@inktank.com>
2012-06-12 10:08:20 -07:00
Sage Weil
d63aca33f0 debian: remove dup python build-dep
Reported-by: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
Signed-off-by: Sage Weil <sage@inktank.com>
2012-06-11 15:48:38 -07:00
Sage Weil
83377755d1 debian: ceph depends on python
Due to the new ceph-disk-* scripts.  Newer dists are smart enough to figure
this out, but maverick is not.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-06-08 22:10:43 -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
Sage Weil
827d222aba debian: build-depend on libxml2-dev
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-06 08:31:11 -07:00
Sage Weil
6812309edf debian: depend on uuid-runtime
We use uuidgen for osd creation.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-05-05 10:03:56 -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
627761f87c Merge remote-tracking branch 'gh/wip-ceph-kdump-copy' 2012-04-30 17:27:47 -07:00
Yehuda Sadeh
ee22c97b0f python-ceph: remove rgw bindings
We shouldn't expose these internal apis.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
2012-04-18 11:32:19 -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
Sage Weil
84efc55490 debian: drop unnecessary conflicts on librgw
Cut and paste baggage from libcephfs, it looks like.

Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-11 11:42:55 -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
70360f840e github.com/NewDreamNetwork -> github.com/ceph 2012-03-02 11:00:08 -08:00
Laszlo Boszormenyi
3ad6ccb4a6 debian: sdparm|hdparm, new standards version
Signed-off-by: Laszlo Boszormenyi <gcs@debian.hu>
2012-02-26 20:45:06 -08:00
Sage Weil
3f0a592a71 debian: depend on libaio-dev
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-02-04 17:44:24 -08:00
Florian Haas
b3f8b55dd7 debian: build ceph-resource-agents 2012-01-05 13:46:09 -08:00
Sage Weil
2253c0168d use libuuid for fsid
Signed-off-by: Sage Weil <sage@newdream.net>
2011-11-11 20:48:59 -08:00
Laszlo Boszormenyi
47b70367c0 debian: update VCS sources
Signed-off-by: Laszlo Boszormenyi <gcs@debian.hu>
2011-11-02 08:44:33 -07:00
Laszlo Boszormenyi
ee34e09c61 debian: fix libceph1 -> libcephfs1 rename
Signed-off-by: Laszlo Boszormenyi <gcs@debian.hu>
2011-11-02 08:44:32 -07:00
Sage Weil
3a17f02395 debian: break redundant dependencies
They confuse APT it seems.

 ceph-common -> librbd1 -> librados2
 radosgw -> ceph-common -> librados2

Signed-off-by: Sage Weil <sage@newdream.net>
2011-10-28 10:38:51 -07:00
Sage Weil
81c5f6ad1d debian: don't recommend gceph
Not until it's worth installing.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-10-03 20:03:25 -07:00
Josh Durgin
951ce29ef2 debian: make python-ceph depend on librbd
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-09-27 12:34:32 -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
fba541e4e8 libceph -> libcephfs
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-22 15:08:25 -07:00
Sage Weil
64ce3030d4 debian: librbd headers require librados headers
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-08-20 07:32:19 -07:00
Sage Weil
6d0192cb0b debian: explicitly bind library users to matching version
We are cheating with the shared libs by making small API changes without
bumping the soname.  Bind users to a matching version to minimize user
pain.  When the APIs become fully stable these will need to go away.

Fixes: #1354
Signed-off-by: Sage Weil <sage@newdream.net>
2011-08-08 12:16:41 -07:00
Sage Weil
fa2a40677e debian: don't explicitly list deps; let debian figure it out
Signed-off-by: Sage Weil <sage@newdream.net>
2011-08-05 10:46:22 -07:00
Wido den Hollander
fa488672d8 obsync: Depend on python-pyxattr instead of python-xattr
Signed-off-by: Wido den Hollander <wido@widodh.nl>
Signed-off-by: Sage Weil <sage@newdream.net>
2011-07-13 09:05:39 -07:00
Wido den Hollander
648e50e616 obsync: Depend on python-lxml on Debian derived platforms
Signed-off-by: Wido den Hollander <wido@widodh.nl>
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-30 09:58:41 -07:00
Sage Weil
842ec2263a debian: drop python-support version req 2011-06-27 22:23:56 -07:00
Sage Weil
0115855abb debian: obsync depends on python-xattr
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-24 11:05:23 -07:00
Sage Weil
59ea9f8b20 Revert "debian: ceph-client-tools depends on librados2, librbd"
This reverts commit 96ef8a67bc.
2011-06-22 11:04:22 -07:00
Sage Weil
96ef8a67bc debian: ceph-client-tools depends on librados2, librbd
It contains rados and rbd command line tools.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-20 14:02:09 -07:00
Tommi Virtanen
aa5c224408 debian: Move python-ceph into section python.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 17:10:32 -07:00
Tommi Virtanen
061460b799 debian: Fix copy-pasto in librgw1 control paragraph.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 17:09:51 -07:00
Tommi Virtanen
6fc8819b1b debian: Depend on python-ceph in obsync.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 16:58:36 -07:00
Tommi Virtanen
822e777055 debian: Depend on librgw1 in python-ceph.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 16:58:15 -07:00
Tommi Virtanen
762c87e07e debian: Package librgw.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-10 16:43:55 -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
Sage Weil
1528d2c42b debian: depend on libboost-dev >= 1.34
for statechart.  Partially fixes #1124.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-05-31 12:58:35 -07:00
Sage Weil
cef8eb9c95 debian: no shlibs:Depends for obsync either
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-05-19 16:15:59 -07:00
Sage Weil
4e2c1f457e debian: no shlibs:Depends for -dev packages
So says dpkg-gencontrol, at least:

warning: dpkg-gencontrol: Depends field of package librados-dev: unknown substitution variable ${shlibs:Depends}
...

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-05-19 16:15:26 -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
Sage Weil
28e175d640 debian: obsync
Signed-off-by: Sage Weil <sage@newdream.net>
2011-05-17 14:26:30 -07:00
Tommi Virtanen
9aab8c6b05 Add a Debian Build-Dep on libkeyutils-dev.
This is needed by bee85518e2.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-03-29 13:34:58 -07:00
Laszlo Boszormenyi
5658857afd Fix Debian librados1 -> librados2 package renames
The librados2{,-dbg,-dev} packages should conflict with and replace their
librados1{,-dbg,-dev} counterpart.
2011-03-25 12:54:22 -07:00
Yehuda Sadeh
44cf282038 Merge branch 'master' into rgw
Conflicts:

	debian/control
2011-03-21 14:14:38 -07:00
Laszlo Boszormenyi
e7abf595b5 Remove unused cdbs build dependency
Debian packaging uses debhelper and not cdbs; remove that build dependency.
2011-03-20 12:44:36 +01:00
Laszlo Boszormenyi
e2f1d7841c Change wording of Debian package descriptions
Be more general in naming users per policy recommendation.
2011-03-20 12:17:01 +01:00
Laszlo Boszormenyi
be97e60d6a Make Ceph Debian packaging Linux only
Build Ceph on all Linux archs, but only build-depend google-perftools on
x86 and x64 archs only.
2011-03-20 08:36:27 +01:00
Yehuda Sadeh
8f2392b88f Merge commit 'origin/master' into rgw
Conflicts:

	src/Makefile.am
	src/rados.cc
	src/rgw/rgw_admin.cc
	src/rgw/rgw_main.cc
	src/rgw/rgw_rest.cc
2011-03-16 10:45:43 -07:00
Sage Weil
8954d2b3e6 Merge branch 'stable'
Conflicts:
	src/include/rados/librados.h
	src/include/rados/librados.hpp
	src/librados.cc
2011-03-14 13:22:16 -07:00
Tommi Virtanen
b63d40649e debian: Conflict on earlier -dev packages with sonames.
This ensures a smooth, automatic transition, by telling apt/dpkg that
it's ok to replace the old package with the new one.

Continuation of 95db4c5cb8.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-03-11 16:13:45 -08:00
Sage Weil
8218486e47 Merge remote branch 'origin/stable'
Conflicts:
	debian/control
2011-03-11 14:57:53 -08:00
Sage Weil
95db4c5cb8 debian: remove so version from -dev packages
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-03-10 13:17:36 -08:00
Yehuda Sadeh
eb31edd9de Merge commit 'origin/master' into rgw
Conflicts:

	debian/control
	src/rgw/rgw_rest.cc
2011-03-07 14:22:26 -08:00
Sage Weil
10bc2d9979 Merge branch 'next'
Conflicts:
	configure.ac
	debian/changelog
	debian/control
	src/Makefile.am
	src/cmds.cc
	src/cosd.cc
	src/include/rados/librados.hpp
	src/librados.cc
	src/mds/Server.cc
	src/osd/OSD.cc
	src/testradospp.cc
2011-03-05 15:27:25 -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
Yehuda Sadeh
3552c29b4e debian: remove extra dependencies 2011-03-01 11:26:13 -08:00
Yehuda Sadeh
4ed8bec671 debian: fix libcurl dependency again 2011-03-01 11:26:13 -08:00
Yehuda Sadeh
644bcb6ca6 debian: add libcurl dependency 2011-03-01 11:26:13 -08:00
Laszlo Boszormenyi
037d6620c8 Update Debian packaging for 0.26~rc.
Make ceph x86 and x64 only because of build dependency on architecture related
google-perftools.
Put library packages to section lib.
2011-02-24 13:50:28 -08:00
Sage Weil
a930c7afe9 debian: add python, python-dev build-deps
Might be overkill?  The error I see from pbuilder is

checking for a Python interpreter with version >= 2.4... none
error: configure: in `/tmp/buildd/ceph-0.24.3-676-gcde53e9':
error: configure: Failed to find Python 2.4 or newer

...but I'm guessing python-dev is needed too?

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-02-11 22:47:51 -08:00
Josh Durgin
f18c721393 librbd: add packages for librbd 2011-02-07 15:13:01 -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
Sage Weil
9360126943 debian: many many cleanups
Signed-off-by: Laszlo Boszormenyi <gcs@debian.hu>
2010-11-30 09:13:54 -08:00
Sage Weil
84840ed76b debian: don't explicitly depend on libgoogle-perftools0
dpkg-buildpackage will autodetect the dependency.  Except on lenny, where
it doesn't exist and we don't use it!

Signed-off-by: Sage Weil <sage@newdream.net>
2010-11-10 08:45:36 -08:00
Sage Weil
4f24fcbc8a debian: add gtk build-depends
For ceph -g.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-11-03 16:40:13 -07:00
Wido den Hollander
905ff76352 debian: add pkg-config as build-depends
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2010-11-02 09:45:14 -07:00
Sage Weil
c0db71fb05 debian: update standards-version; fix ceph-client-tools-dbg 2010-10-18 13:29:21 -07:00
Sage Weil
e5c0912650 debian: fix tcmalloc dependency
Depend on libgoogle-perftools0, not libtcmalloc-minimal0, since we link
against libtcmalloc, not libtcmalloc-minimal.  Duh.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-08-13 15:12:34 -07:00
Sage Weil
49f3ac468f debian: require tcmalloc 2010-08-12 16:32:01 -07:00
Thomas Mueller
3e42191b3d debian: add ceph-client-tools dep to ceph
Signed-off-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-08-02 13:27:16 -07:00
Thomas Mueller
c61a6c32f3 debian: move mount.ceph to ceph-client-tools
Signed-off-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-08-02 13:26:27 -07:00
Sage Weil
9ccf9cb6c5 debian: move fuse-utils dep to ceph-fuse
Reported-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-08-02 13:26:09 -07:00
Thomas Mueller
e1a9768545 debian: ceph-cfuse: move ceph from Recommends to Suggests
on a standalone fuse client ceph serverside is not needed. if it's
"Recommended" the default behaviour is to install it too. Move it to "Suggests"
that it's not installed by default if one installs just ceph-fuse.

from debian policy:
Suggests:
This is used to declare that one package may be more useful with one or more
others. Using this field tells the packaging system and the user that the listed
packages are related to this one and can perhaps enhance its usefulness, but
that installing this one without them is perfectly reasonable.

- Thomas

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-29 09:14:11 -07:00
Sage Weil
b0616f8516 debian: drop gcc, g++ build deps 2010-07-28 16:28:37 -07:00
Sage Weil
487f0e8550 debian: remove gcc/g++ build-depends
(as per Clint Byrum)
2010-07-28 16:25:46 -07:00
Sage Weil
39a3db6be8 debian: fix debhelper depend version
dh_lintian was introduced in 6.0.7
2010-07-28 16:25:46 -07:00
Sage Weil
07d880ea57 debian: update to latest standards version 2010-07-28 16:25:46 -07:00
Sage Weil
47688a433d debian: fix weak-library-dev-dependency
E: ceph source: weak-library-dev-dependency librados1-dev on librados1
E: ceph source: weak-library-dev-dependency libceph1-dev on libceph1
2010-07-28 16:25:46 -07:00
Sage Weil
b8c1bda8ab debian: fix typo in libcrush description
Reported-by: Wido
2010-07-22 10:53:14 -07:00
Sage Weil
c5d86f9d77 debian: require binutils
cclass needs 'nm' to extract symbols from rados classes.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-08 08:33:40 -07:00
Sage Weil
3ed1a55d51 debian: build-depends libatomicops-dev 2010-04-23 14:50:26 -07:00
Sage Weil
8478ebedde debian: require hdparm, recommend btrfs-tools 2010-04-21 10:58:42 -07:00
Sage Weil
1687ce3a1c debian: gracefully replace lib packages prior to '1' suffix 2009-11-04 13:27:06 -08:00
Sage Weil
3e781bbc8c Makefile: fix lib dependencies
libceph and librados should link libcrush.  Users of
libceph|librados need not link libcrush.
2009-10-28 15:31:50 -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
882e82d5a3 debian: update package descriptions, sections 2009-10-28 10:37:19 -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
4fddaad08d debian: fix radosgw package 2009-09-10 15:10:29 -07:00
Sage Weil
335ea1d703 debian: create radosgw package 2009-09-10 13:48:47 -07:00
Sage Weil
a1d5533c43 debian: add lib{ceph,rados,crush}-dev packages 2009-09-02 13:55:31 -07:00
Sage Weil
c2d922c6bf debian: build libcrush, librados, libceph packages 2009-07-20 10:05:05 -07:00
Sage Weil
d65cc7b518 debian: require libtool, but not libfcgi-dev. 2009-07-17 13:53:38 -07:00
Sage Weil
26ff61309d debian: add build depends libssl-dev, libfcgi-dev 2009-06-12 12:52:33 -07:00
Sage Weil
6ad4c1fd98 debian: description updates 2009-03-19 11:29:17 -07:00
Sage Weil
313888af62 debian: improve description a bit 2009-03-18 16:45:48 -07:00
Sage Weil
3ef9395ebc debian: fix lintian errors (except missing man pages) 2009-03-10 13:22:51 -07:00
Sage Weil
2f3a19e9fd debian: fix dependencies 2009-03-03 09:32:23 -08:00
Sage Weil
96e0f59f56 debian: restructure packages
Consolidate.  Fix dependencies.
2009-03-02 13:25:00 -08:00
Sage Weil
ab14b5a1e5 debian: Build-depends libedit-dev 2009-02-27 08:46:41 -08:00
Sage Weil
3e5e554083 debian: move map tools and crun to ceph-common 2008-10-08 16:18:10 -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