proxy: Add the proxy to the deb builds

Signed-off-by: Xavi Hernandez <xhernandez@gmail.com>
This commit is contained in:
Xavi Hernandez 2024-07-03 17:20:45 +02:00
parent b524c4c142
commit c7c982cdb6
6 changed files with 59 additions and 0 deletions

2
debian/.gitignore vendored
View File

@ -38,4 +38,6 @@
/python-cephfs
/libcephfs-java
/libcephfs-jni
/libcephfs-proxy0-dbg
/libcephfs-proxy0
/tmp

52
debian/control vendored
View File

@ -893,6 +893,7 @@ Conflicts: libceph,
Replaces: libceph,
libceph1,
libcephfs,
Recommends: libcephfs-proxy2 (= ${binary:Version})
Architecture: linux-any
Section: libs
Depends: ${misc:Depends},
@ -921,10 +922,61 @@ Description: debugging symbols for libcephfs2
.
This package contains debugging symbols for libcephfs2.
Package: libcephfs-proxy2
Architecture: linux-any
Section: libs
Depends: ${misc:Depends},
${shlibs:Depends},
Recommends: libcephfs-daemon (= ${binary:Version})
Description: Libcephfs proxy library
Ceph is a massively scalable, open-source, distributed
storage system that runs on commodity hardware and delivers object,
block and file system storage. This allows applications to share
libcephfs' CephFS mounts to reduce resource consumption.
Package: libcephfs-proxy2-dbg
Architecture: linux-any
Section: debug
Priority: extra
Depends: libcephfs-proxy2 (= ${binary:Version}),
${misc:Depends},
Description: debugging symbols for libcephfs-proxy2
Ceph is a massively scalable, open-source, distributed
storage system that runs on commodity hardware and delivers object,
block and file system storage. This allows applications to share
libcephfs' CephFS mounts to reduce resource consumption.
.
This package contains debugging symbols for libcephfs-proxy2.
Package: libcephfs-daemon
Architecture: linux-any
Depends: libcephfs2 (= ${binary:Version}),
${misc:Depends},
Description: Libcephfs proxy daemon
Ceph is a massively scalable, open-source, distributed
storage system that runs on commodity hardware and delivers object,
block and file system storage. This allows applications to share
libcephfs' CephFS mounts to reduce resource consumption.
Package: libcephfs-daemon-dbg
Architecture: linux-any
Section: debug
Priority: extra
Depends: libcephfs-daemon (= ${binary:Version}),
${misc:Depends},
Description: debugging symbols for libcephfs-daemon
Ceph is a massively scalable, open-source, distributed
storage system that runs on commodity hardware and delivers object,
block and file system storage. This allows applications to share
libcephfs' CephFS mounts to reduce resource consumption.
.
This package contains debugging symbols for libcephfs-proxy2.
Package: libcephfs-dev
Architecture: linux-any
Section: libdevel
Depends: libcephfs2 (= ${binary:Version}),
libcephfs-proxy2 (= ${binary:Version}),
${misc:Depends},
Conflicts: libceph-dev,
libceph1-dev,

1
debian/libcephfs-daemon.install vendored Normal file
View File

@ -0,0 +1 @@
usr/sbin/libcephfsd

View File

@ -3,3 +3,4 @@ usr/include/cephfs/libcephfs.h
usr/include/cephfs/types.h
usr/include/cephfs/metrics/Types.h
usr/lib/libcephfs.so
usr/lib/libcephfs_proxy.so

1
debian/libcephfs-proxy2.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/libcephfs_proxy.so.*

2
debian/rules vendored
View File

@ -121,6 +121,8 @@ override_dh_strip:
dh_strip -plibradosstriper1 --dbg-package=libradosstriper1-dbg
dh_strip -plibrbd1 --dbg-package=librbd1-dbg
dh_strip -plibcephfs2 --dbg-package=libcephfs2-dbg
dh_strip -plibcephfs-proxy2 --dbg-package=libcephfs-proxy2-dbg
dh_strip -plibcephfs-daemon --dbg-package=libcephfs-daemon-dbg
dh_strip -plibrgw2 --dbg-package=librgw2-dbg
dh_strip -pradosgw --dbg-package=radosgw-dbg
dh_strip -pceph-test --dbg-package=ceph-test-dbg