[Pkg-samba-maint] [Git][samba-team/samba][master] 4 commits: ctdb: enable ceph and etcd recovery lock

Mathieu Parent gitlab at salsa.debian.org
Mon Jul 15 22:48:13 BST 2019



Mathieu Parent pushed to branch master at Debian Samba Team / samba


Commits:
f91f25c9 by Mathieu Parent at 2019-07-13T07:25:48Z
ctdb: enable ceph and etcd recovery lock

- - - - -
8dc796a4 by Mathieu Parent at 2019-07-14T06:44:56Z
Downgrade ctdb_mutex_ceph_rados_helper shlibdeps to recommends

- - - - -
b6a4229d by Mathieu Parent at 2019-07-14T06:44:56Z
Changelog for previous commits

- - - - -
a7f1bc07 by Mathieu Parent at 2019-07-15T21:48:04Z
Merge branch 'ctdb_reclock' into 'master'

ceph and etcd recovery lock

See merge request samba-team/samba!26
- - - - -


5 changed files:

- debian/changelog
- debian/control
- debian/ctdb.install
- + debian/ctdb.lintian-overrides
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+samba (2:4.9.11+dfsg-2) UNRELEASED; urgency=medium
+
+  * ctdb: enable ceph and etcd recovery lock
+  * Downgrade ctdb_mutex_ceph_rados_helper shlibdeps to recommends
+
+ -- Mathieu Parent <sathieu at debian.org>  Sun, 14 Jul 2019 08:44:39 +0200
+
 samba (2:4.9.11+dfsg-1) unstable; urgency=medium
 
   [ Mathieu Parent ]


=====================================
debian/control
=====================================
@@ -38,6 +38,7 @@ Build-Depends: bison,
                libparse-yapp-perl,
                libpcap-dev [hurd-i386 kfreebsd-any],
                libpopt-dev,
+               librados-dev [linux-any],
                libreadline-dev,
                libsystemd-dev [linux-any],
                libtalloc-dev (>= 2.1.14~),
@@ -48,6 +49,7 @@ Build-Depends: bison,
                po-debconf,
                python-all-dev (>= 2.6.6-3),
                python-dnspython,
+               python-etcd,
                python-ldb (>= 2:1.5.1+really1.4.7),
                python-ldb-dev (>= 2:1.5.1+really1.4.7),
                python-talloc-dev (>= 2.1.14~),
@@ -446,7 +448,7 @@ Depends: iproute2 [linux-any],
          time,
          ${misc:Depends},
          ${shlibs:Depends}
-Recommends: ethtool [linux-any]
+Recommends: ethtool [linux-any], python-etcd, ${rados:Recommends}
 Suggests: logrotate, lsof
 Description: clustered database to store temporary data
  CTDB is a cluster implementation of the TDB database used by Samba and other


=====================================
debian/ctdb.install
=====================================
@@ -11,12 +11,14 @@ usr/bin/ltdbtool
 usr/bin/onnode
 usr/bin/ping_pong
 usr/lib/*/ctdb/ctdb-config
+usr/lib/*/ctdb/ctdb_etcd_lock
 usr/lib/*/ctdb/ctdb-event
 usr/lib/*/ctdb/ctdb-eventd
 usr/lib/*/ctdb/ctdb-path
 usr/lib/*/ctdb/ctdb_killtcp
 usr/lib/*/ctdb/ctdb_lock_helper
 usr/lib/*/ctdb/ctdb_lvs
+[linux-any] usr/lib/*/ctdb/ctdb_mutex_ceph_rados_helper
 usr/lib/*/ctdb/ctdb_mutex_fcntl_helper
 usr/lib/*/ctdb/ctdb_natgw
 usr/lib/*/ctdb/ctdb_recovery_helper
@@ -37,6 +39,8 @@ usr/share/man/man1/ping_pong.1
 usr/share/man/man5/ctdb-script.options.5
 usr/share/man/man5/ctdb.conf.5
 usr/share/man/man5/ctdb.sysconfig.5
+usr/share/man/man7/ctdb-etcd.7
 usr/share/man/man7/ctdb-statistics.7
 usr/share/man/man7/ctdb-tunables.7
+[linux-any] usr/share/man/man7/ctdb_mutex_ceph_rados_helper.7
 usr/share/man/man7/ctdb.7


=====================================
debian/ctdb.lintian-overrides
=====================================
@@ -0,0 +1 @@
+ctdb: python-script-but-no-python-dep usr/lib/*/ctdb/ctdb_etcd_lock #!/usr/bin/python


=====================================
debian/rules
=====================================
@@ -69,13 +69,15 @@ conf_args = \
 		--minimum-library-version="$(shell ./debian/autodeps.py --minimum-library-version)" \
 		--with-cluster-support \
 		--with-socketpath=/var/run/ctdb/ctdbd.socket \
-		--with-logdir=/var/log/ctdb
+		--with-logdir=/var/log/ctdb \
+		--enable-etcd-reclock
 
 ifeq ($(DEB_HOST_ARCH_OS), linux)
 	conf_args += \
 		--with-systemd \
 		--systemd-install-services \
-		--with-systemddir=/lib/systemd/system
+		--with-systemddir=/lib/systemd/system \
+		--enable-ceph-reclock
 else
 	conf_args += \
 		--without-systemd
@@ -260,13 +262,16 @@ override_dh_makeshlibs:
 
 override_dh_shlibdeps:
 	LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH \
-	  dh_shlibdeps -a -Xceph.so -Xglusterfs.so -Xsnapper.so
+	  dh_shlibdeps -a -Xceph.so -Xglusterfs.so -Xsnapper.so -Xctdb_mutex_ceph_rados_helper
 ifeq ($(DEB_HOST_ARCH_OS), linux)
 	LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH \
 	  dh_shlibdeps -a -- -pvfsmods -dRecommends \
 	    -e debian/samba-vfs-modules/usr/lib/*/samba/vfs/ceph.so \
 	    -e debian/samba-vfs-modules/usr/lib/*/samba/vfs/glusterfs.so \
 	    -e debian/samba-vfs-modules/usr/lib/*/samba/vfs/snapper.so
+	LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH \
+	  dh_shlibdeps -a -- -prados -dRecommends \
+	    -e debian/ctdb/usr/lib/*/ctdb/ctdb_mutex_ceph_rados_helper
 else
 	LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH \
 	  dh_shlibdeps -a -- -pvfsmods -dRecommends \



View it on GitLab: https://salsa.debian.org/samba-team/samba/compare/175d0945b7e05d8b91425fb8a0db5ef348cd4ca2...a7f1bc0722f7f5f2a30003bc909a9ec5d9d7de6d

-- 
View it on GitLab: https://salsa.debian.org/samba-team/samba/compare/175d0945b7e05d8b91425fb8a0db5ef348cd4ca2...a7f1bc0722f7f5f2a30003bc909a9ec5d9d7de6d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20190715/b402cbfb/attachment-0001.html>


More information about the Pkg-samba-maint mailing list