Bug#532556: cyrus-sasl2: "you must install some of the modules" -> Depends

Steve Langasek steve.langasek at canonical.com
Wed Jun 10 02:57:20 UTC 2009


Package: libsasl2-2
Version: 2.1.23.dfsg1-1
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch karmic

Hi folks,

The libsasl2-2 package states quite explicitly that:

   If you intend to use this package on a server that provides SASL
   authentication, then you must install some of the libsasl2-modules*
   packages.

This suggests that the modules should actually be dependencies of the
package rather than merely recommends, which is what the Ubuntu package
currently does as a result.  Here is a patch that implements this:

--- cyrus-sasl2-2.1.23.dfsg1/debian/control
+++ cyrus-sasl2-2.1.23.dfsg1/debian/control
@@ -36,9 +37,8 @@
 Package: libsasl2-2
 Section: libs
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, libsasl2-modules (= ${Source-Version}) | libsasl2-modules-sql (= ${Source-Version}) | libsasl2-modules-gssapi-heimdal (= ${Source-Version}) | libsasl2-modules-kerberos-heimdal (= ${Source-Version}), ${misc:Depends}
 Conflicts: postfix (<< 2.3.4-3), libsasl2-gssapi-mit (<< 2.1.22), libsasl2-krb4-mit (<< 2.1.22)
-Recommends: libsasl2-modules (= ${binary:Version})
 Replaces: libsasl2
 Description: Cyrus SASL - authentication abstraction library
  This is the Cyrus SASL API implementation, version 2.1.


If you disagree that this is the right thing to do, perhaps you can indicate
why so that we can remove this delta from the Ubuntu package as well?

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org





More information about the Pkg-cyrus-sasl2-debian-devel mailing list