~ubuntu-branches/ubuntu/saucy/sendmail/saucy-proposed

Viewing all changes in revision 6.1.9.

  • Committer: Bazaar Package Importer
  • Author(s): Richard A Nelson (Rick)
  • Date: 2008-04-21 18:04:00 UTC
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20080421180400-u4n3us1rqbd1eyir
Tags: 8.14.2-5
Determine libmilter library level dynamically - using the upstream
notation of <version-major>.<version-minor>.<patch-level>

This way, I don't need to remember to bump .so levels by hand, as
upstream is pretty good about incompatabilitesand the package
name directly corresponds with what a milter developer/builder
needs to know (instead of libmilter2 == 1.0.1)though the sendmail
version also gives that information.

This does affect the milter packages, who currently link against
libmilter1, as the new name is libmilter1.0.0 (the -dev package
keeps is name; libmilter-dev).

NOTE: things will continue work until milters are rebuiltas
the old library package still works.

With this change, when 8.14.3 is shipped, it will automatically
create libmilter1.0.1 (a bump in the patch level).

I thought about adding a compat symlink, but the milters don't seem
to be written in a way that makes that possiblethey apparently are
checking exact values of SMFI_VERSION, instead of
SM_LM_VRS_MAJOR(SMFI_VERSION) & SM_LM_VRS_MINOR(SMFI_VERSION)
and so don't work with the newer 1.0.1 level anyway (trust me) :(

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: