Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121672 - botan-1.5.5.ebuild (update)
Summary: botan-1.5.5.ebuild (update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-05 08:39 UTC by Jack Lloyd
Modified: 2006-02-20 16:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for botan 1.5.5 (botan-1.5.5.ebuild,2.69 KB, text/plain)
2006-02-05 08:40 UTC, Jack Lloyd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Lloyd 2006-02-05 08:39:43 UTC
Attached is an ebuild for Botan 1.5.5 (based on the current 1.4.12 ebuild). 1.5.5 in many cases 3 to 20 times faster at some operations due to better algorithms and the inclusion of some assembly, so it may be of interest to some users.

The software itself has been tested on x86, amd64, sparc64, alpha, and ppc64. The ebuild has only been tested on x86.
Comment 1 Jack Lloyd 2006-02-05 08:40:09 UTC
Created attachment 78945 [details]
ebuild for botan 1.5.5
Comment 2 Daniel Black (RETIRED) gentoo-dev 2006-02-20 00:13:26 UTC
Thanks for the bug report Jack. version 1.5.5 added.

Also a bug report for you :-). Getting the library versions following the package version is wrong. Library versions should remain the same for releases that maintain backwards compatability.

See something like http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/policies-shlib.html
http://docs.hp.com/en/B2355-90655/ch05s08.html
http://abicheck.sourceforge.net/
Comment 3 Daniel Black (RETIRED) gentoo-dev 2006-02-20 00:15:44 UTC
I just had a though that you maybe actually doing this too. Not sure. Please ignore if this is not the case and I'm sorry for jumping to conclusions.
Comment 4 Jack Lloyd 2006-02-20 16:45:25 UTC
Yes, Botan is doing it wrong - the problem is that getting C++ binary compatability is annoyingly tough (eg, adding a new variable or function to a class is often sufficient to break this). There are workarounds, but most of the ones I've seen have been pretty ugly, and for now I'm just punting on it by defining soversion=version. I figured it was better to potentially require multiple versions of the library than have some application fail in some drastic (or, worse, completely silent) way because I didn't realize/forgot something had changed and didn't bump the version.

(Especially true on dev releases, since I'm usually doing various pieces of major code surgery then) Thanks for pointing it out though - I'll revisit this before I release 1.6 and see if it makes sense to use a fixed so version for those releases.
Comment 5 Jack Lloyd 2006-02-20 16:50:32 UTC
I should add, since I think it probably wasn't clear from what I wrote before, that that is why the soname is libbotan-x.y.z.so and not libbotan.so.x.y - basically to sidestep the dynamic linkers's version matching scheme entirely and force the build and runtime versions of the library to be the same.