summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-11-30 18:13:54 +0100
committerSage Weil <sage@newdream.net>2010-11-30 18:13:54 +0100
commit9360126943f214324d60a93a69218dab3a51819d (patch)
tree8cf24139680e7db6323599f641c6e9ee1b84d3d1
parentfilejournal: fix throttle vs FULL behavior (diff)
downloadceph-9360126943f214324d60a93a69218dab3a51819d.tar.xz
ceph-9360126943f214324d60a93a69218dab3a51819d.zip
debian: many many cleanups
Signed-off-by: Laszlo Boszormenyi <gcs@debian.hu>
-rw-r--r--debian/ceph.install1
-rw-r--r--debian/changelog163
-rw-r--r--debian/control3
-rw-r--r--debian/libceph1-dev.install8
-rw-r--r--debian/libceph1.install2
-rw-r--r--debian/libcrush1-dev.install14
-rw-r--r--debian/libcrush1.install2
-rw-r--r--debian/librados1-dev.install22
-rw-r--r--debian/librados1.install2
-rwxr-xr-xdebian/move_dbg_files.sh8
-rw-r--r--debian/radosgw.install1
-rwxr-xr-xdebian/rules34
12 files changed, 56 insertions, 204 deletions
diff --git a/debian/ceph.install b/debian/ceph.install
index 741024bc6ba..b4f0f89f512 100644
--- a/debian/ceph.install
+++ b/debian/ceph.install
@@ -31,3 +31,4 @@ usr/share/man/man8/cauthtool.8
usr/share/man/man8/cclass.8
usr/share/man/man8/cclsinfo.8
usr/share/man/man8/cdebugpack.8
+usr/share/ceph_tool/gui_resources/*
diff --git a/debian/changelog b/debian/changelog
index 99bfcc097a6..75f4dda4d3c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,166 +1,5 @@
ceph (0.23.1-1) experimental; urgency=low
- * msgr: fixed rare messenger race/bug
- * client: fixed cache consitency with link(2)
- * client: fix lssnap
- * msgr: fix ipv6 addr parsing buffer overflow
-
- -- Sage Weil <sage@newdream.net> Sun, 21 Nov 2010 15:22:21 -0800
-
-ceph (0.23-1) experimental; urgency=low
-
- * osd: use new btrfs snapshot ioctls
- * mds: replay fixes
- * mds: many many clustering fixes
- * mds: directory fragmentation (off by default)
- * mon: better commit batching, lower latency
- * objecter: bug fixes
- * osd: spread data across multiple xattrs
- * osd: start up despite corrupt pg logs
- * new gui (ceph -g)
-
- -- Sage Weil <sage@newdream.net> Wed, 10 Nov 2010 16:32:07 -0800
-
-ceph (0.22.2-1) experimental; urgency=low
-
- * cfuse: fix truncation problem
- * osd: fix decoding of legacay (0.21) coll_t
- * osd: handle missing objects on snap reads
- * filestore: escape xattr chunk names
-
- -- Sage Weil <sage@newdream.net> Sat, 30 Oct 2010 11:22:51 -0700
-
-ceph (0.22.1-1) experimental; urgency=low
-
- * osd: fix hang during mkfs journal creation
- * objecter: fix rare hang during shutdown
- * msgr: fix reconnect/disconnect errors due to timeouts
- * init-ceph: check for correct instance in daemon_is_running()
- * filestore: deliberate crash on ENOSPC or EIO to avoid corruption
- * filestore: split xattrs into chunk (partial workaround for xattr size)
- * filestore: ignore ENOSPC on xattrs until workaround for extN is ready
- * radosgw: return 204 on removal of bucket/object
-
- -- Sage Weil <sage@newdream.net> Fri, 22 Oct 2010 16:18:49 -0700
-
-ceph (0.22-4) experimental; urgency=low
-
- * more packaging fixes
-
- -- Sage Weil <sage@newdream.net> Tue, 19 Oct 2010 09:00:21 -0700
-
-ceph (0.22-3) experimental; urgency=low
-
- * packaging fixes
-
- -- Sage Weil <sage@newdream.net> Mon, 18 Oct 2010 10:23:02 -0700
-
-ceph (0.22-1) experimental; urgency=low
-
- * mon: improved monitor naming
- * osd: support seprate interface for cluster-internal traffic
- * mds: many many snapshot, cap protocol fixes
- * mon: back off on clock drift errors/warnings
- * mds: fix cow on xattrs
- * mds: many recurstat stat fixes
- * uclient/cfuse: improved caching and readdir fixes
- * mon: tri laggy standby MDS's from map
- * osd: data integrity fixes
- * trim stale connections
- * osd: fix hang during mkfs
- * improved debug log on SIGSEG
- * uclient/cfuse: cache readdir results
- * mon: improved osd failure smarts
- * mds/osd: tcmalloc (less memory utilization)
- * mds: set file layout/striping on per-directory/subtree basis
- * cfuse: mount server subdir
- * cfuse: log to file if run as daemon
- * allow monitor hostnames on command line
- * mon: ability to blacklist/unblacklist clients for osd cluster
- * cdebugpack: add debug capture tool
- * mds: respawn on suicide
- * msgr: more efficient reconnect resync
- * standard date/time format
-
- -- Sage Weil <sage@newdream.net> Fri, 15 Oct 2010 13:42:24 -0700
-
-ceph (0.21.3-1) unstable; urgency=low
-
- * cfuse: fixed readdir for large directories
- * cfuse: fixed truncation (now passes fsx)
- * radosgw: fixed information leakage between sessions
- * radosgw: support wildcard dns for bucketname.domain/object access
- * mds: fixed snap bug with directory renames
- * mon: less log noise
- * osdmap: allowed blacklisting of entire ips
- * mds: fix journal replay bug with reconnecting clients
- * mds: fix journal replay bug with inconsistent lock state, subsequent crash
-
- -- Sage Weil <sage@newdream.net> Fri, 17 Sep 2010 15:44:06 -0700
-
-ceph (0.21.2-1) unstable; urgency=low
-
- * osd: less log noise
- * osd: mark down old heartbeat peers
- * filejournal: clean up init sequence, fewer confusing errors on startup
- * msgr: fix throttler leak when closing connections (fixes deadlock)
- * osdmaptool: don't crash on corrupt input
- * crush: error out instead of crashing on ambiguous hierarchy
- * mds: error to client on invalid op
- * mds: fix ENOTEMPTY checks on rmdir
- * osd: fix race between reads and cloned objects
- * auth: fix keyring load search when $HOME not defined
- * client: fix xattr cap writeback
- * client: fix snap vs metadata writeback
- * osd: fix journal, btrfs throttling
- * msgr: fix memory leak on closed connections
-
- -- Sage Weil <sage@newdream.net> Thu, 26 Aug 2010 15:22:42 -0700
-
-ceph (0.21.1-1) unstable; urgency=high
-
- * ceph.spec: many fixes
- * mds mds->client message crash
- * monmaptool: man page typo
- * rados: usage fix
- * osd: fix heartbeat to/from node
- * osd: fix replies to dup/already committed requests
- * librados: hpp fix
- * mds: fix cap/snaprealm behavior on readdir
- * debian: fix fuse-utils depcs
- * cclass: fix .so loading
- * osd: fix crazy slowdown during recovery/repeering due to hadnle_osd_map
- * cauthtool: fix man page example for fs clients
- * mkcephfs to /sbin
- * fix log rotation
-
- -- Sage Weil <sage@fatty.ops.newdream.net> Wed, 11 Aug 2010 14:55:25 -0700
-
-ceph (0.21-1) unstable; urgency=low
-
- * improved logging infrastructure
- * log rotation
- * mkfs improvements
- * rbd tool, class (rados block device)
- * mds: return ENOTEMPTY when removing directory with snapshots
- * mds: lazy io support
- * msgr: send messages directly to connection handle (w/o looking up
- destination address)
- * faster atomic via libatomic-ops
- * cfuse now stable
- * mon: recovery improvements (e.g., when one mon is down for a long time)
- * mon: warn on monitor clock drift
- * osd: large object support
- * osd: heartbeat fixes
- * osd: journaling fixes, improvements (bugs, better use of direct io)
- * osd: snapshot rollback op (for rbd)
- * radosgw fixes, improvements
- * many memory leak fixes
-
- -- Sage Weil <sage@newdream.net> Tue, 27 Jul 2010 12:35:09 -0700
-
-ceph (0.20.2-1) unstable; urgency=low
-
* Initial release (Closes: #506040)
- -- sage <sage@newdream.net> Tue, 20 Jul 2010 19:40:44 -0800
+ -- Sage Weil <sage@newdream.net> Sun, 21 Nov 2010 15:22:21 -0800
diff --git a/debian/control b/debian/control
index c2db752f4d8..5df09a6756f 100644
--- a/debian/control
+++ b/debian/control
@@ -1,6 +1,9 @@
Source: ceph
Section: admin
Priority: optional
+Homepage: http://ceph.newdream.net/
+Vcs-Git: git://ceph.newdream.net/git/ceph.git
+Vcs-Browser: http://ceph.newdream.net/git/?p=ceph.git;a=summary
Maintainer: Sage Weil <sage@newdream.net>
Build-Depends: debhelper (>= 6.0.7~), autotools-dev, autoconf, automake, cdbs, libfuse-dev, libboost-dev, libedit-dev, libssl-dev, libtool, libexpat1-dev, libfcgi-dev, libatomic-ops-dev, libgoogle-perftools-dev, pkg-config, libgtkmm-2.4-dev
Standards-Version: 3.9.1
diff --git a/debian/libceph1-dev.install b/debian/libceph1-dev.install
index 56d50b92fa2..9951a2b343c 100644
--- a/debian/libceph1-dev.install
+++ b/debian/libceph1-dev.install
@@ -1,4 +1,4 @@
-/usr/lib/libceph.so
-/usr/lib/libceph.a
-/usr/lib/libceph.la
-/usr/include/ceph/libceph.h
+usr/lib/libceph.so
+usr/lib/libceph.a
+usr/lib/libceph.la
+usr/include/ceph/libceph.h
diff --git a/debian/libceph1.install b/debian/libceph1.install
index de0173ec5c3..7008bb64222 100644
--- a/debian/libceph1.install
+++ b/debian/libceph1.install
@@ -1,2 +1,2 @@
-/usr/lib/libceph.so.*
+usr/lib/libceph.so.*
diff --git a/debian/libcrush1-dev.install b/debian/libcrush1-dev.install
index 63e47212f47..e2d180e235d 100644
--- a/debian/libcrush1-dev.install
+++ b/debian/libcrush1-dev.install
@@ -1,7 +1,7 @@
-/usr/lib/libcrush.so
-/usr/lib/libcrush.a
-/usr/lib/libcrush.la
-/usr/include/crush/hash.h
-/usr/include/crush/types.h
-/usr/include/crush/mapper.h
-/usr/include/crush/crush.h
+usr/lib/libcrush.so
+usr/lib/libcrush.a
+usr/lib/libcrush.la
+usr/include/crush/hash.h
+usr/include/crush/types.h
+usr/include/crush/mapper.h
+usr/include/crush/crush.h
diff --git a/debian/libcrush1.install b/debian/libcrush1.install
index 8954117f957..192b545e580 100644
--- a/debian/libcrush1.install
+++ b/debian/libcrush1.install
@@ -1,2 +1,2 @@
-/usr/lib/libcrush.so.*
+usr/lib/libcrush.so.*
diff --git a/debian/librados1-dev.install b/debian/librados1-dev.install
index 3ed387a3947..37c93ae4505 100644
--- a/debian/librados1-dev.install
+++ b/debian/librados1-dev.install
@@ -1,11 +1,11 @@
-/usr/lib/librados.so
-/usr/lib/librados.a
-/usr/lib/librados.la
-/usr/include/rados/librados.h
-/usr/include/rados/librados.hpp
-/usr/include/rados/buffer.h
-/usr/include/rados/atomic.h
-/usr/include/rados/page.h
-/usr/include/rados/crc32c.h
-/usr/include/rados/Spinlock.h
-/usr/include/rados/assert.h
+usr/lib/librados.so
+usr/lib/librados.a
+usr/lib/librados.la
+usr/include/rados/librados.h
+usr/include/rados/librados.hpp
+usr/include/rados/buffer.h
+usr/include/rados/atomic.h
+usr/include/rados/page.h
+usr/include/rados/crc32c.h
+usr/include/rados/Spinlock.h
+usr/include/rados/assert.h
diff --git a/debian/librados1.install b/debian/librados1.install
index 49e2fd5e2d6..8ba139a94f1 100644
--- a/debian/librados1.install
+++ b/debian/librados1.install
@@ -1,2 +1,2 @@
-/usr/lib/librados.so.*
+usr/lib/librados.so.*
diff --git a/debian/move_dbg_files.sh b/debian/move_dbg_files.sh
deleted file mode 100755
index 6f2f4cce2d5..00000000000
--- a/debian/move_dbg_files.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-for f in ceph ceph-fuse ceph-client-tools libcrush1 librados1 libceph1 radosgw
-do
- echo moving $f unstripped binaries into $f-dbg
- mkdir -p debian/$f-dbg/usr/lib
- mv debian/$f/usr/lib/debug debian/$f-dbg/usr/lib
-done
diff --git a/debian/radosgw.install b/debian/radosgw.install
index 0a69f455f12..95ee4dd32f6 100644
--- a/debian/radosgw.install
+++ b/debian/radosgw.install
@@ -1,4 +1,5 @@
usr/bin/radosgw
usr/bin/radosgw_admin
+usr/bin/radosacl
usr/share/man/man8/radosgw.8
usr/share/man/man8/radosgw_admin.8
diff --git a/debian/rules b/debian/rules
index c5504d2a499..24d3671b221 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,13 @@
#!/usr/bin/make -f
# -*- makefile -*-
export DH_VERBOSE=1
+export DESTDIR=$(CURDIR)/debian/tmp
+
configure: configure-stamp
configure-stamp:
dh_testdir
touch configure-stamp
+
build: build-stamp
build-stamp: configure-stamp
dh_testdir
@@ -16,43 +19,55 @@ build-stamp: configure-stamp
cp src/logrotate.conf debian/ceph.logrotate
touch $@
-clean:
+
+clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
- test ! -f Makefile || $(MAKE) clean
+ [ ! -f Makefile ] || $(MAKE) clean
+ rm -f Makefile config.log config.status
+ rm -rf src/.deps
+ rm -f debian/ceph.init
+
+ dh_clean
- dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
- $(MAKE) DESTDIR=$(CURDIR) install
-
+ $(MAKE) DESTDIR=$(DESTDIR) install
# Add here commands to install the package into debian/testpack.
# Build architecture-independent files here.
binary-indep: build install
+
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs
- dh_installdocs
+ dh_installdocs --all ChangeLog
dh_installexamples
- dh_install
+ dh_install --sourcedir=$(DESTDIR) --list-missing
dh_installlogrotate
dh_installinit
dh_installman
dh_lintian
dh_link
- dh_strip -k --exclude=libcls_
- chmod +x debian/move_dbg_files.sh && debian/move_dbg_files.sh
+ dh_strip -pceph --dbg-package=ceph-dbg
+ dh_strip -pceph-fuse --dbg-package=ceph-fuse-dbg
+ dh_strip -pceph-client-tools --dbg-package=ceph-client-tools-dbg
+ dh_strip -plibcrush1 --dbg-package=libcrush1-dbg
+ dh_strip -plibrados1 --dbg-package=librados1-dbg
+ dh_strip -plibceph1 --dbg-package=libceph1-dbg
+ dh_strip -pradosgw --dbg-package=radosgw-dbg
+# dh_strip -k --exclude=libcls_
+# chmod +x debian/move_dbg_files.sh && debian/move_dbg_files.sh
dh_compress
dh_fixperms
@@ -62,5 +77,6 @@ binary-arch: build install
dh_gencontrol
dh_md5sums
dh_builddeb
+
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure