Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51938 - botan-1.4.3.ebuild (new package)
Summary: botan-1.4.3.ebuild (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-05-24 12:45 UTC by Jack Lloyd
Modified: 2004-11-08 15:06 UTC (History)
1 user (show)

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


Attachments
The .ebuild for Botan 1.3.13 (botan-1.3.13.ebuild,2.45 KB, text/plain)
2004-05-24 12:46 UTC, Jack Lloyd
Details
.ebuild file for Botan-1.3.13 (botan-1.3.13.ebuild,2.45 KB, text/plain)
2004-05-24 12:48 UTC, Jack Lloyd
Details
Ebuild for Botan 1.3.14 (botan-1.3.14.ebuild,2.44 KB, text/plain)
2004-06-14 09:03 UTC, Jack Lloyd
Details
Ebuild for Botan 1.4.3 (botan-1.4.3.ebuild,2.16 KB, text/plain)
2004-11-06 10:45 UTC, Jack Lloyd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Lloyd 2004-05-24 12:45:13 UTC
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.
Comment 1 Jack Lloyd 2004-05-24 12:46:32 UTC
Created attachment 31955 [details]
The .ebuild for Botan 1.3.13
Comment 2 Jack Lloyd 2004-05-24 12:48:34 UTC
Created attachment 31956 [details]
.ebuild file for Botan-1.3.13

The first version I attached didn't have gmp in IUSE.
Comment 3 Jack Lloyd 2004-06-14 09:03:02 UTC
Created attachment 33233 [details]
Ebuild for Botan 1.3.14

An ebuild for the newest version of Botan.
Comment 4 Jack Lloyd 2004-06-14 09:04:34 UTC
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.
Comment 5 Daniel Black (RETIRED) gentoo-dev 2004-09-11 05:09:57 UTC
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.
Comment 6 Jack Lloyd 2004-11-06 10:45:34 UTC
Created attachment 43419 [details]
Ebuild for Botan 1.4.3
Comment 7 Jack Lloyd 2004-11-06 10:47:17 UTC
New attachement, for Botan 1.4.3. Moved the validation tests to src_test(), and the ebuild now respects the bzlib USE flag.
Comment 8 Daniel Black (RETIRED) gentoo-dev 2004-11-07 13:09:42 UTC
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?
Comment 9 Daniel Black (RETIRED) gentoo-dev 2004-11-08 15:06:01 UTC
package added. A few small changes were added. Thanks for the program and ebuild.
Comment 10 Daniel Black (RETIRED) gentoo-dev 2004-11-08 15:06:39 UTC
and I should mark this as closed ;-)