[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SONAME and package version question



Le mercredi 22 juin 2005 à 11:14 -0400, Roberto C. Sanchez a écrit :
> I am working on packaging the ROTE library so that I can depend on it
> for anyterm.  I need to package version 0.2.6 + the CVS from 20050511.
> I have created a patch between the 0.2.6 release and the 20050511 CVS.
> 
> Without the patch, the relevant contents of the .deb are:
> 
> $ dpkg -c librote0_0.2.6-1_i386.deb
> drwxr-xr-x root/root         0 2005-06-21 22:36:21 ./
> drwxr-xr-x root/root         0 2005-06-21 22:36:20 ./usr/
> drwxr-xr-x root/root         0 2005-06-21 22:36:21 ./usr/lib/
> -rw-r--r-- root/root     13744 2005-06-21 22:36:21 ./usr/lib/librote.so.0.2.6
> lrwxrwxrwx root/root         0 2005-06-21 22:36:21 ./usr/lib/librote.so.0 -> librote.so.0.2.6
> 
> With the patch, the relevant content are:
> 
> $ dpkg -c librote0_0.2.6+20050511-1_i386.deb
> drwxr-xr-x root/root         0 2005-06-22 10:48:51 ./
> drwxr-xr-x root/root         0 2005-06-22 10:48:51 ./usr/
> drwxr-xr-x root/root         0 2005-06-22 10:48:51 ./usr/lib/
> -rw-r--r-- root/root     13744 2005-06-22 10:48:51 ./usr/lib/librote.so.0.2.7
> lrwxrwxrwx root/root         0 2005-06-22 10:48:51 ./usr/lib/librote.so.0 -> librote.so.0.2.7
> 
> Is it OK for the last digit in the library to change from 6 to 7?  Do I
> need to do something about the version number?

If the SONAME value (displayed by objdump -p) hasn't changed, you don't
need to change anything. The only thing you have to change is to bump
the minimal dependency for dh_shlibdeps, if there are new symbols.
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
   `-  Debian GNU/Linux -- The power of freedom



Reply to: