Bug 51938 - botan-1.4.3.ebuild (new package)
|
Bug#:
51938
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: crypto@gentoo.org
|
Reported By: lloyd@randombit.net
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: botan-1.4.3.ebuild (new package)
|
|
Keywords: EBUILD
|
|
Status Whiteboard:
|
|
Opened: 2004-05-24 12:45 0000
|
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.
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.
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 ;-)