Attached is an ebuild for Botan 1.3.13, a C++ crypto library. Tested on a P4 with Gentoo 2004.0. As it is a development library, dev-libs (or maybe dev-cpp) seems to be the appropriate groups. It depends on bzip2, and can use zlib, OpenSSL, and GNU MP, based on USE flags. The bzip2 requirement is not actually a hard dependency, Botan will work fine without it (but obviously can't handle bzip'ed data then), but there doesn't seem to be a USE flag for it. Seems reasonable it would be installed anyway, shouldn't be a problem I think. Note that 1.3.13 has a compatability issue with GCC 3.4. The next release will have a workaround. Looks like 3.4 is blocked in portage on all archs right now anyway. I can provide a patch if needed. This is my first ebuild, so I may have screwed things up massively. I think it's roughly correct. If there is something noticably not right, please tell me, close this bug, and I'll just resubmit a new ebuild once 1.3.14 comes out nextweekish.
Created attachment 31955 [details] The .ebuild for Botan 1.3.13
Created attachment 31956 [details] .ebuild file for Botan-1.3.13 The first version I attached didn't have gmp in IUSE.
Created attachment 33233 [details] Ebuild for Botan 1.3.14 An ebuild for the newest version of Botan.
New version is out, attached new .ebuild to match. Ebuild tested on a P4-M and an old RS/6000 604e. Works with GCC 3.4.
not too bad on the ebuild. Keep up the good work I'd place the validation stuff in a src_test routine just looking at it breifly. Will look at it later in more detail.
Created attachment 43419 [details] Ebuild for Botan 1.4.3
New attachement, for Botan 1.4.3. Moved the validation tests to src_test(), and the ebuild now respects the bzlib USE flag.
Ok I'm looking at it. Gotta run to work but will commit when I get home. Notice lots of: src/whrl_tab.cpp:533: warning: integer constant is too large for "long" type src/whrl_tab.cpp:533: warning: integer constant is too large for "long" type src/whrl_tab.cpp:534: warning: integer constant is too large for "long" type src/whrl_tab.cpp:534: warning: integer constant is too large for "long" type src/whrl_tab.cpp:534: warning: integer constant is too large for "long" type src/whrl_tab.cpp:534: warning: integer constant is too large for "long" type src/whrl_tab.cpp:535: warning: integer constant is too large for "long" type errors all the way through this. Is there a plan to fix this?
package added. A few small changes were added. Thanks for the program and ebuild.
and I should mark this as closed ;-)