[Pkg-samba-maint] Bug#528382: samba: Disable clustering support on !linux.

Aurelien Jarno aurel32 at debian.org
Tue May 12 15:20:35 UTC 2009


Package: samba
Version: 3.3.4-1
Severity: important
Tags: patch
User: glibc-bsd-devel at lists.alioth.debian.org
Usertags: kfreebsd

ctdb is currently only available on GNU/Linux and AIX. As samba
depends on it cause a build failure on GNU/kFreeBSD. Until it get
available on more platform, I propose to enable ctdb only on 
GNU/Linux. That's the purpose of the patch below. Could you please
apply it in the next upload? Thanks in advance.

diff -u samba-3.3.4/debian/rules samba-3.3.4/debian/rules
--- samba-3.3.4/debian/rules
+++ samba-3.3.4/debian/rules
@@ -60,11 +60,11 @@
 		--datarootdir=/usr/share \
 		--with-swatdir=/usr/share/samba/swat \
 		--with-lockdir=/var/run/samba \
-		--with-ctdb --with-cluster-support=yes \
 
 
 ifeq ($(DEB_HOST_ARCH_OS),linux)
   conf_args += \
+		--with-ctdb --with-cluster-support=yes \
 		--with-cifsmount \
 		--with-cifsupcall \
 		--with-acl-support \
diff -u samba-3.3.4/debian/control samba-3.3.4/debian/control
--- samba-3.3.4/debian/control
+++ samba-3.3.4/debian/control
@@ -10,7 +10,7 @@
 	libtalloc-dev (>= 1.2.0~git20080616),
 	libcap2-dev [alpha amd64 arm armeb armel hppa i386 ia64 lpia m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc],
 	libkeyutils-dev [alpha amd64 arm armeb armel hppa i386 ia64 lpia m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc],
-	ctdb (>= 1.0.73)
+	ctdb (>= 1.0.73) [alpha amd64 arm armeb armel hppa i386 ia64 lpia m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc]
 Build-Conflicts: libfam-dev
 Standards-Version: 3.8.1
 Homepage: http://www.samba.org


-- System Information:
Debian Release: squeeze/sid
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 7.1-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages samba depends on:
ii  adduser              3.110               add and remove users and groups
ii  debconf [debconf-2.0 1.5.26              Debian configuration management sy
ii  libc0.1              2.9-12              GNU C Library: Shared libraries
ii  libcomerr2           1.41.5-1            common error description library
ii  libcups2             1.3.9-17            Common UNIX Printing System(tm) - 
ii  libgnutls26          2.6.6-1             the GNU TLS library - runtime libr
ii  libkrb53             1.6.dfsg.4~beta1-13 Transitional library package/krb4 
ii  libldap-2.4-2        2.4.15-1.1          OpenLDAP libraries
ii  libpam-modules       1.0.1-9             Pluggable Authentication Modules f
ii  libpam-runtime       1.0.1-9             Runtime support for the PAM librar
ii  libpam0g             1.0.1-9             Pluggable Authentication Modules l
ii  libpopt0             1.14-4              lib for parsing cmdline parameters
ii  libtalloc1           1.2.1-1             hierarchical pool based memory all
ii  libwbclient0         2:3.3.0-3           Samba winbind client library
ii  logrotate            3.7.7-3             Log rotation utility
ii  lsb-base             3.2-22              Linux Standard Base 3.2 init scrip
ii  procps               1:3.2.7-11          /proc file system utilities
pn  samba-common         <none>              (no description available)
ii  update-inetd         4.31                inetd configuration file updater
ii  zlib1g               1:1.2.3.3.dfsg-13   compression library - runtime

samba recommends no packages.

Versions of packages samba suggests:
pn  ldb-tools                   <none>       (no description available)
ii  openbsd-inetd [inet-superse 0.20080125-2 The OpenBSD Internet Superserver
pn  smbldap-tools               <none>       (no description available)





More information about the Pkg-samba-maint mailing list