Package: podsleuth
Version: 0.6.4-2
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch karmic

Hello,

sg3utils recently got a new SONAME. Please update your package
so that the old "1" soname binary packages can be removed from the
archive.

Patch attached.

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -u podsleuth-0.6.4/debian/changelog podsleuth-0.6.4/debian/changelog
--- podsleuth-0.6.4/debian/changelog
+++ podsleuth-0.6.4/debian/changelog
@@ -1,3 +1,11 @@
+podsleuth (0.6.4-2ubuntu1) karmic; urgency=low
+
+  * debian/control: libsgutils1-dev → libsgutils2-dev.
+  * Add 01-sgutils-soname.patch: Update configure check for new libsgutils
+    soname.
+
+ -- Martin Pitt <martin.p...@ubuntu.com>  Mon, 13 Jul 2009 08:50:53 +0200
+
 podsleuth (0.6.4-2) unstable; urgency=low
 
   * Upload to unstable.
diff -u podsleuth-0.6.4/debian/control podsleuth-0.6.4/debian/control
--- podsleuth-0.6.4/debian/control
+++ podsleuth-0.6.4/debian/control
@@ -11,7 +12,7 @@
  libmono-posix2.0-cil,
  libndesk-dbus1.0-cil (>= 0.4),
  libhal-dev (>= 0.5.6),
- libsgutils1-dev
+ libsgutils2-dev
 Standards-Version: 3.8.0
 Vcs-Svn: svn://svn.debian.org/svn/pkg-cli-apps/packages/podsleuth/trunk
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-cli-apps/packages/podsleuth/trunk/
only in patch2:
unchanged:
--- podsleuth-0.6.4.orig/debian/patches/01-sgutils-soname.patch
+++ podsleuth-0.6.4/debian/patches/01-sgutils-soname.patch
@@ -0,0 +1,49 @@
+diff -Nur -x '*.orig' -x '*~' podsleuth-0.6.4/configure 
podsleuth-0.6.4.new/configure
+--- podsleuth-0.6.4/configure  2009-01-20 23:43:04.000000000 +0100
++++ podsleuth-0.6.4.new/configure      2009-07-13 08:58:05.520994982 +0200
+@@ -4392,13 +4392,13 @@
+ 
+ 
+ 
+-{ $as_echo "$as_me:$LINENO: checking for sg_ll_inquiry in -lsgutils" >&5
+-$as_echo_n "checking for sg_ll_inquiry in -lsgutils... " >&6; }
++{ $as_echo "$as_me:$LINENO: checking for sg_ll_inquiry in -lsgutils2" >&5
++$as_echo_n "checking for sg_ll_inquiry in -lsgutils2... " >&6; }
+ if test "${ac_cv_lib_sgutils_sg_ll_inquiry+set}" = set; then
+   $as_echo_n "(cached) " >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lsgutils  $LIBS"
++LIBS="-lsgutils2  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -4462,11 +4462,11 @@
+ #define HAVE_LIBSGUTILS 1
+ _ACEOF
+ 
+-  LIBS="-lsgutils $LIBS"
++  LIBS="-lsgutils2 $LIBS"
+ 
+ else
+-  { { $as_echo "$as_me:$LINENO: error: Error! You need to have libsgutils." 
>&5
+-$as_echo "$as_me: error: Error! You need to have libsgutils." >&2;}
++  { { $as_echo "$as_me:$LINENO: error: Error! You need to have libsgutils2." 
>&5
++$as_echo "$as_me: error: Error! You need to have libsgutils2." >&2;}
+    { (exit 1); exit 1; }; }
+ 
+ fi
+diff -Nur -x '*.orig' -x '*~' podsleuth-0.6.4/m4/podsleuth.m4 
podsleuth-0.6.4.new/m4/podsleuth.m4
+--- podsleuth-0.6.4/m4/podsleuth.m4    2007-12-19 23:37:05.000000000 +0100
++++ podsleuth-0.6.4.new/m4/podsleuth.m4        2009-07-13 08:57:40.636785472 
+0200
+@@ -32,8 +32,8 @@
+ 
+ AC_DEFUN([PODSLEUTH_CHECK_SGUTILS],
+ [
+-      AC_CHECK_LIB(sgutils, sg_ll_inquiry, [], 
+-              AC_MSG_ERROR([Error! You need to have libsgutils.])
++      AC_CHECK_LIB(sgutils2, sg_ll_inquiry, [], 
++              AC_MSG_ERROR([Error! You need to have libsgutils2.])
+       )
+ ])
+ 

Attachment: signature.asc
Description: Digital signature

Reply via email to