[Pkg-samba-maint] [samba] 01/05: Move runtime dependencies of vfs_ceph and vfs_snapper to Recommends

Mathieu Parent sathieu at moszumanska.debian.org
Tue Jun 20 19:10:17 UTC 2017


This is an automated email from the git hooks/post-receive script.

sathieu pushed a commit to branch master
in repository samba.

commit a2447147a3ce5a7c1e41eae03b3b11509ef6e42a
Author: Mathieu Parent <math.parent at gmail.com>
Date:   Mon Jun 19 19:49:13 2017 +0200

    Move runtime dependencies of vfs_ceph and vfs_snapper to Recommends
    
    Inspired by:
    https://anonscm.debian.org/cgit/collab-maint/pkg-iproute.git/tree/debian/rules?id=8adef44b87e48a265018d99bf9134fb716552414#n22
---
 debian/control | 4 ++++
 debian/rules   | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 944beeb..d99d40e 100644
--- a/debian/control
+++ b/debian/control
@@ -279,6 +279,7 @@ Architecture: any
 Breaks: samba (<< 2:4.3.2+dfsg-1), samba-libs (<< 2:4.3.2+dfsg-1)
 Replaces: samba (<< 2:4.3.2+dfsg-1), samba-libs (<< 2:4.3.2+dfsg-1)
 Depends: samba-libs (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
+Recommends: ${vfsmods:Recommends}
 Enhances: samba
 Description: Samba Virtual FileSystem plugins
  Samba is an implementation of the SMB/CIFS protocol for Unix systems,
@@ -287,6 +288,9 @@ Description: Samba Virtual FileSystem plugins
  or member server in both NT4-style and Active Directory domains.
  .
  This package contains plugins for the Samba server Virtual FileSystem.
+ .
+ Note: The runtime dependencies of vfs_ceph and vfs_snapper are moved to
+ Recommends.
 
 Package: libsmbclient
 Section: libs
diff --git a/debian/rules b/debian/rules
index 5a9aeb3..6efd650 100755
--- a/debian/rules
+++ b/debian/rules
@@ -227,7 +227,9 @@ ifneq (,$(filter ctdb, $(shell dh_listpackages)))
 endif
 
 override_dh_shlibdeps:
-	LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH dh_shlibdeps -a
+	LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH dh_shlibdeps -a -Xsnapper.so -Xceph.so
+	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/snapper.so
+
 
 override_dh_gencontrol:
 	dh_gencontrol -- -Vldb:Depends=$(LDB_DEPENDS)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git




More information about the Pkg-samba-maint mailing list