1 |
dragonheart 08/08/30 02:24:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: botan-1.6.5.ebuild |
5 |
Log: |
6 |
version bump as per bug #235957 thanks to Jack Lloyd |
7 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.22-vs2.2.0.7-gentoo x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.33 dev-libs/botan/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/botan/ChangeLog?rev=1.33&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/botan/ChangeLog?rev=1.33&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/botan/ChangeLog?r1=1.32&r2=1.33 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/botan/ChangeLog,v |
19 |
retrieving revision 1.32 |
20 |
retrieving revision 1.33 |
21 |
diff -u -r1.32 -r1.33 |
22 |
--- ChangeLog 18 Jun 2008 08:14:29 -0000 1.32 |
23 |
+++ ChangeLog 30 Aug 2008 02:24:00 -0000 1.33 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-libs/botan |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/ChangeLog,v 1.32 2008/06/18 08:14:29 dragonheart Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/ChangeLog,v 1.33 2008/08/30 02:24:00 dragonheart Exp $ |
29 |
+ |
30 |
+*botan-1.6.5 (30 Aug 2008) |
31 |
+ |
32 |
+ 30 Aug 2008; Daniel Black <dragonheart@g.o> +botan-1.6.5.ebuild: |
33 |
+ version bump as per bug #235957 thanks to Jack Lloyd |
34 |
|
35 |
18 Jun 2008; Daniel Black <dragonheart@g.o> |
36 |
files/botan-1.6.1-gcc-4.2.patch, +files/botan-1.6.1-gcc-4.3.patch, |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-libs/botan/botan-1.6.5.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/botan/botan-1.6.5.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/botan/botan-1.6.5.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: botan-1.6.5.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/botan-1.6.5.ebuild,v 1.1 2008/08/30 02:24:00 dragonheart Exp $ |
50 |
|
51 |
inherit eutils multilib |
52 |
|
53 |
MY_PN="Botan" |
54 |
MY_P="${MY_PN}-${PV}" |
55 |
DESCRIPTION="A C++ crypto library" |
56 |
HOMEPAGE="http://botan.randombit.net/" |
57 |
SRC_URI="http://files.randombit.net/botan/archive/v1.6/${MY_P}.tgz" |
58 |
|
59 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
60 |
SLOT="0" |
61 |
LICENSE="BSD" |
62 |
IUSE="bzip2 gmp ssl zlib" |
63 |
|
64 |
S="${WORKDIR}/${MY_P}" |
65 |
|
66 |
RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 ) |
67 |
zlib? ( >=sys-libs/zlib-1.2.3 ) |
68 |
gmp? ( >=dev-libs/gmp-4.2.2 ) |
69 |
ssl? ( >=dev-libs/openssl-0.9.8g )" |
70 |
|
71 |
# configure.pl requires Getopt::Long, File::Spec, and File::Copy; |
72 |
# all seem included in dev-lang/perl ATM. |
73 |
DEPEND="${RDEPEND} |
74 |
dev-lang/perl" |
75 |
|
76 |
src_compile() { |
77 |
# Modules that should work under any semi-recent Unix |
78 |
local modules="alloc_mmap,es_egd,es_ftw,es_unix,fd_unix,ml_unix,tm_unix,tm_posix,mux_pthr" |
79 |
|
80 |
if useq bzip2; then modules="$modules,comp_bzip2"; fi |
81 |
if useq zlib; then modules="$modules,comp_zlib"; fi |
82 |
if useq gmp; then modules="$modules,eng_gmp"; fi |
83 |
if useq ssl; then modules="$modules,eng_ossl"; fi |
84 |
|
85 |
# This is also supported on i586+ - hope this is correct. |
86 |
# documention says sparc though not enables because of |
87 |
# http://bugs.gentoo.org/show_bug.cgi?id=71760#c11 |
88 |
|
89 |
if [ "${ARCH}" = "alpha" -o "${ARCH}" = "amd64" ] || \ |
90 |
[ "${ARCH}" = "x86" -a "${CHOST:0:4}" != "i386" -a "${CHOST:0:4}" != "i486" ]; then |
91 |
modules="$modules,tm_hard" |
92 |
fi |
93 |
|
94 |
# If we have assembly code for this machine, use it |
95 |
if [ "${ARCH}" = "x86" ]; then |
96 |
modules="$modules,mp_ia32,alg_ia32" |
97 |
elif [ "${ARCH}" = "amd64" ]; then |
98 |
modules="$modules,mp_amd64,alg_amd64" |
99 |
elif [ "${ARCH}" = "alpha" -o "${ARCH}" = "ia64" -o \ |
100 |
"${ARCH}" = "ppc64" -o "${PROFILE_ARCH}" = "mips64" ]; then |
101 |
modules="$modules,mp_asm64" |
102 |
fi |
103 |
|
104 |
# Enable v9 instructions for sparc64 |
105 |
if [ "${PROFILE_ARCH}" = "sparc64" ]; then |
106 |
CHOSTARCH="sparc32-v9" |
107 |
else |
108 |
CHOSTARCH="$(echo ${CHOST} | cut -d - -f 1)" |
109 |
fi |
110 |
|
111 |
cd "${S}" |
112 |
elog "Enabling modules: " ${modules} |
113 |
|
114 |
# FIXME: We might actually be on *BSD or OS X... |
115 |
./configure.pl \ |
116 |
--noauto \ |
117 |
--libdir=/$(get_libdir) \ |
118 |
--modules=$modules \ |
119 |
gcc-linux-${CHOSTARCH} || |
120 |
die "configure.pl failed" |
121 |
emake CXX="$(tc-getCXX)" AR="$(tc-getAR) crs" \ |
122 |
"LIB_OPT=${CXXFLAGS}" "MACH_OPT=" || die "emake failed" |
123 |
} |
124 |
|
125 |
src_test() { |
126 |
chmod -R ugo+rX "${S}" |
127 |
emake CXX="$(tc-getCXX)" check || die "emake check failed" |
128 |
env LD_LIBRARY_PATH="${S}" ./check --validate || die "validation tests failed" |
129 |
} |
130 |
|
131 |
src_install() { |
132 |
make INSTALLROOT="${D}/usr" install || die "make install failed" |
133 |
} |