]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
debian: add rules for rest-bench
authorYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 1 May 2012 17:06:19 +0000 (10:06 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Fri, 4 May 2012 22:55:34 +0000 (15:55 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
debian/control
debian/rest-bench.install [new file with mode: 0644]
debian/rules

index fc75611a9d8dbed23013c60bcf9c9821119906b3..4a15dfc3eb5d5093efbd2fd45bfa2bd61a8e97e7 100644 (file)
@@ -304,6 +304,20 @@ Description: debugging symbols for radosgw
  .
  This package contains debugging symbols for radosgw.
 
+Package: rest-bench
+Architecture: linux-any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ceph-common, xml2, curl
+Description: RESTful bencher that can be used to benchmark
+ radosgw performance.
+
+Package: rest-bench-dbg
+Architecture: linux-any
+Section: debug
+Priority: extra
+Depends: ${shlibs:Depends}, ${misc:Depends}, ceph-common, xml2, curl
+Description: RESTful bencher that can be used to benchmark
+ radosgw performance.
+
 Package: obsync
 Architecture: linux-any
 Depends: ${misc:Depends}, python, python-boto, python-ceph, python-pyxattr, python-lxml
diff --git a/debian/rest-bench.install b/debian/rest-bench.install
new file mode 100644 (file)
index 0000000..8535f20
--- /dev/null
@@ -0,0 +1 @@
+usr/bin/rest-bench
index 0b0e70bdbfa49722e54792d5597f20b838d880f6..e80d95e5a63abe05daa109347579e0e80681950b 100755 (executable)
@@ -20,7 +20,7 @@ endif
 
 export DEB_HOST_ARCH      ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
-extraopts += --with-ocf
+extraopts += --with-ocf --with-rest-bench
 
 ifeq ($(DEB_HOST_ARCH), armel)
   # armel supports ARMv4t or above instructions sets.
@@ -117,6 +117,7 @@ binary-arch: build install
        dh_strip -pradosgw --dbg-package=radosgw-dbg
        dh_strip -pgceph --dbg-package=gceph-dbg
        dh_strip -plibrgw1 --dbg-package=librgw1-dbg
+       dh_strip -prest-bench --dbg-package=rest-bench-dbg
 
        dh_compress
        dh_fixperms