tag 559473 + patch thanks Hi,
attached there is a first version of patch for symbols file for libfuse. Since a few years, upstream uses properly versioned symbols, so for most of them (symver) directives can do the job just fine. Regarding the manually added symbols (which don't have any version): - __fuse_* symbols seem to be part of compatibility 22, 21 or 11, if you look at the libfuse 2.5.x headers; thus, I set 2.2 as version for them, which should be more than enough - fuse_main and fuse_new seem very old function (if not just stubs) which are never used, so 2.5 should be more than enough too - libulockmgr seems added in fuse 2.6, hence the version I put Building packages with a libfuse that ships the attached symbols file means some dependencies could be lower than the current shlib dependency (e.g. I tested sshfs, and its libfuse2 dependency changed from >= 2.8.1 to >= 2.7); thus I suggest to apply this only after the Wheezy release, so there's plenty of time to check whether the new dependencies are fine for fuse clients. Of course, if there is any need to manually raise the version for some symbol(s), it can be done easily. -- Pino Toscano
--- /dev/null +++ b/debian/libfuse2.symbols @@ -0,0 +1,22 @@ +libfuse.so.2 #PACKAGE# #MINVER# +* Build-Depends-Package: libfuse-dev + (symver)FUSE_2.2 2.2 + (symver)FUSE_2.4 2.4 + (symver)FUSE_2.5 2.5 + (symver)FUSE_2.6 2.6 + (symver)FUSE_2.7 2.7 + (symver)FUSE_2.7.5 2.7.5 + (symver)FUSE_2.8 2.8 + (symver)FUSE_2.9 2.9 + (symver)FUSE_2.9.1 2.9.1 + __fuse_exited@Base 2.2 + __fuse_loop_mt@Base 2.2 + __fuse_process_cmd@Base 2.2 + __fuse_read_cmd@Base 2.2 + __fuse_set_getcontext_func@Base 2.2 + __fuse_setup@Base 2.2 + __fuse_teardown@Base 2.2 + fuse_main@Base 2.5 + fuse_new@Base 2.5 +libulockmgr.so.1 #PACKAGE# #MINVER# + ulockmgr_op@Base 2.6 --- a/debian/rules +++ b/debian/rules @@ -56,7 +56,7 @@ dh_link --remaining-packages override_dh_makeshlibs: - dh_makeshlibs -s -V "libfuse2 (>= 2.8.1)" --add-udeb=libfuse2-udeb + dh_makeshlibs -s --add-udeb=libfuse2-udeb override_dh_strip: dh_strip --dbg-package=fuse-dbg
signature.asc
Description: This is a digitally signed message part.

