[Pkg-samba-maint] [samba] 01/03: document why we have a strict dependency ldb
Ivo De Decker
idd-guest at alioth.debian.org
Thu Oct 10 21:28:02 UTC 2013
This is an automated email from the git hooks/post-receive script.
idd-guest pushed a commit to branch samba_4.0
in repository samba.
commit 9e7047c237f060d526ebc479422cae07ab5115a9
Author: Ivo De Decker <ivo.dedecker at ugent.be>
Date: Thu Oct 10 21:54:06 2013 +0200
document why we have a strict dependency ldb
samba ships ldb modules, which are specific to the ldb version
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index a215f8a..3d74914 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,9 @@ PYVERS=$(shell pyversions -vr)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
LDB_VERSION = $(shell pkg-config --modversion ldb)
LDB_NEXT_VERSION = $(shell python -c "x = '$(LDB_VERSION)'.split('.'); x[-1] = str(int(x[-1])+1); print '.'.join(x)")
+# samba ships ldb modules, which are specific to the ldb version, so we need a
+# strict dependency on the upstream ldb version
+# this also mean samba needs a rebuild when the upstream ldb version changes
LDB_DEPENDS = "libldb1 (<< 1:$(LDB_NEXT_VERSION)~), libldb1 (>> 1:$(LDB_VERSION)~)"
export PYTHON=$(shell which `pyversions -d`)
export PYTHON_CONFIG="$(PYTHON)-config"
--
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