On Mon, Sep 24, 2012 at 08:12:19 +0200, Magnus Holmgren wrote:
> Unfortunately, Jonas's decision to upload without an SONAME bump broke all
> packages that use libc-client (see bug #682256), due to an extra, internal
> (and in this case unnecessarily strict) version check that fails.
>
> The SONAME *shouldn't* have had to be changed as 2007f is merely a bugfix
> release, except for an attempt to also support AIX 5.2, but that's nothing
> that affects us. There are no ABI or API changes. See attached diff.
>
How about the patch below?
Cheers,
Julien
diff -Nru uw-imap-2007f~dfsg/debian/changelog uw-imap-2007f~dfsg/debian/changelog
--- uw-imap-2007f~dfsg/debian/changelog 2012-06-29 13:32:24.000000000 +0200
+++ uw-imap-2007f~dfsg/debian/changelog 2012-10-14 20:02:14.000000000 +0200
@@ -1,3 +1,10 @@
+uw-imap (8:2007f~dfsg-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Disable broken version check (closes: #682256)
+
+ -- Julien Cristau <jcristau@debian.org> Sun, 14 Oct 2012 20:02:13 +0200
+
uw-imap (8:2007f~dfsg-1) unstable; urgency=low
* New upstream release.
diff -Nru uw-imap-2007f~dfsg/debian/patches/2011_disable_version_check.patch uw-imap-2007f~dfsg/debian/patches/2011_disable_version_check.patch
--- uw-imap-2007f~dfsg/debian/patches/2011_disable_version_check.patch 1970-01-01 01:00:00.000000000 +0100
+++ uw-imap-2007f~dfsg/debian/patches/2011_disable_version_check.patch 2012-10-14 19:59:55.000000000 +0200
@@ -0,0 +1,20 @@
+Index: uw-imap/src/c-client/mail.c
+===================================================================
+--- uw-imap.orig/src/c-client/mail.c
++++ uw-imap/src/c-client/mail.c
+@@ -293,6 +293,7 @@ static void mail_string_setpos (STRING *
+
+ void mail_versioncheck (char *version)
+ {
++#if 0
+ /* attempt to protect again wrong .h */
+ if (strcmp (version,mailcclientversion)) {
+ char tmp[MAILTMPLEN];
+@@ -300,6 +301,7 @@ void mail_versioncheck (char *version)
+ version,mailcclientversion);
+ fatal (tmp);
+ }
++#endif
+ }
+
+
diff -Nru uw-imap-2007f~dfsg/debian/patches/series uw-imap-2007f~dfsg/debian/patches/series
--- uw-imap-2007f~dfsg/debian/patches/series 2012-06-29 13:05:33.000000000 +0200
+++ uw-imap-2007f~dfsg/debian/patches/series 2012-10-14 19:58:25.000000000 +0200
@@ -5,3 +5,4 @@
2002_mailspool.patch
2004_no_binaries_below_etc.patch
2010_disallow_escaping_home.patch
+2011_disable_version_check.patch
Attachment:
signature.asc
Description: Digital signature