Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162916 - dev-libs/botan-1.6.1.ebuild (Update)
Summary: dev-libs/botan-1.6.1.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: 2007-01-20 11:45 UTC by Jack Lloyd
Modified: 2007-01-20 16:42 UTC (History)
1 user (show)

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


Attachments
Botan 1.6.1 ebuild (botan-1.6.1.ebuild,2.50 KB, text/plain)
2007-01-20 11:45 UTC, Jack Lloyd
Details
Patch for noexec stack (botan-1.6.1-asm.patch,1.35 KB, patch)
2007-01-20 11:46 UTC, Jack Lloyd
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Lloyd 2007-01-20 11:45:28 UTC
Attached is an ebuild for Botan 1.6.1. Based on the existing 1.5.11 ebuild, with the addition of an extra assembly module for x86-64 systems.

Also attached is a patch needed for noexec stack purposes.

Cleanout: 1.5.4 and 1.5.11 ebuilds probably should not be used by anyone at this point as there is now a stable/supported release based on the tree those releases originated from.


Reproducible: Always
Comment 1 Jack Lloyd 2007-01-20 11:45:48 UTC
Created attachment 107520 [details]
Botan 1.6.1 ebuild
Comment 2 Jack Lloyd 2007-01-20 11:46:12 UTC
Created attachment 107521 [details, diff]
Patch for noexec stack
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2007-01-20 15:43:20 UTC
1. Any reason why you modified the keywords?
2. Any reason why you did not merge the asm noexec stuff into your delivery?

Also it is very annoying that I cannot ebuild xxx install as regular user, your ebuild since it fails on install when trying to chown/chmod or something... Can you please have a look on this one for next release?
Comment 4 Jack Lloyd 2007-01-20 15:58:19 UTC
I modified the keywords as I have only tested that particular ebuild under amd64 and x86 - it was my understand that all keywording should be done by arch testers. It should work under all other architectures Gentoo runs on.

I haven't merged the noexec patches yet because I haven't had a chance to evaluate if it causes any portability problems (in particular, under ELF systems that do not use the GNU assembler).

As to the installing it as a user - how is that even done? Wouldn't the install step die pretty hard attempting to write to /usr/lib/blah?
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2007-01-20 16:38:36 UTC
BTW: Can you please next time submit only a patch for your ebuilds?

Just try in your regular (none root) user:
ebuild botan-1.6.1.ebuild install

It should install all files to temperary location...

It just like:
./configure
make install INSTALLROOT=/tmp/root1/usr

Most packages don't fail if none root account is specified...
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2007-01-20 16:42:20 UTC
OK.
Added to portage.