1 |
commit: 68d4b940d0f87d48fb148666abb0ed9c637e2792 |
2 |
Author: Dane Smith <c1pher <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 17:30:18 2011 +0000 |
4 |
Commit: Dane Smith <c1pher <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 2 17:30:18 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/c1pher.git;a=commit;h=68d4b940 |
7 |
|
8 |
Version bump for botan. |
9 |
|
10 |
--- |
11 |
dev-libs/botan/ChangeLog | 7 ++- |
12 |
dev-libs/botan/Manifest | 4 +- |
13 |
dev-libs/botan/botan-1.9.17.ebuild | 103 ++++++++++++++++++++++++++++++++++++ |
14 |
3 files changed, 112 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/botan/ChangeLog b/dev-libs/botan/ChangeLog |
17 |
index 3411969..17c431b 100644 |
18 |
--- a/dev-libs/botan/ChangeLog |
19 |
+++ b/dev-libs/botan/ChangeLog |
20 |
@@ -1,7 +1,12 @@ |
21 |
# ChangeLog for dev-libs/botan |
22 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
23 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
24 |
# $Header: $ |
25 |
|
26 |
+*botan-1.9.17 (02 May 2011) |
27 |
+ |
28 |
+ 02 May 2011; Dane Smith <c1pher@g.o> +botan-1.9.17.ebuild: |
29 |
+ Bump to new version. |
30 |
+ |
31 |
*botan-1.9.11-r2 (01 Dec 2010) |
32 |
|
33 |
01 Dec 2010; Dane Smith <c1pher@g.o> -botan-1.9.11-r1.ebuild, |
34 |
|
35 |
diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest |
36 |
index 45b42bf..524d399 100644 |
37 |
--- a/dev-libs/botan/Manifest |
38 |
+++ b/dev-libs/botan/Manifest |
39 |
@@ -1,3 +1,5 @@ |
40 |
DIST Botan-1.9.12.tbz 3103452 RMD160 1e25e56b88d152440933b7bc3f450dbf20941204 SHA1 c72ecf935644188277e5e6fac1c2bfc9bf0042c7 SHA256 f863f9d89fa4354dd8434abc01058fbacfbca94e992e8be8a59d632b9caa78b1 |
41 |
+DIST Botan-1.9.17.tbz 2338028 RMD160 5bf5ac5f4c7c4bab229cb72a6f0c0ce752092615 SHA1 f85c7ed87b3004e788ff462bc3a838a4fca17c7d SHA256 e28b2daedd4dc827f3779f08fc7025bd283b1c9ea9dc97bf104a2404f5ebaa31 |
42 |
EBUILD botan-1.9.12.ebuild 2830 RMD160 70c5c2daa298323a59a55d60b02d888b61cbda23 SHA1 bf35e5c9c68c3508d1b5fc877e662c5bcbe81dd9 SHA256 fa4d51d9db4d8613265c86dc484e1fd4b625cc2cc5791d74a578b76b9f56164b |
43 |
-MISC ChangeLog 977 RMD160 978bf37be03316920cca834fef79ab569ef48b85 SHA1 127a03568289302cbc8e81ad510c0e93413b122d SHA256 62624530da3e8eeda7dabcb5166d0a9f83f0570c0c1e3f2633e9b7f60a80f609 |
44 |
+EBUILD botan-1.9.17.ebuild 2748 RMD160 854afa5297e003009b8b637e735730c090daad93 SHA1 5d31eb75546a14f4ffb62c31f9eb168fd3dfac1f SHA256 b0015447479180d6ab4ed1ff8ca77292f9aa86f63d20cbabe8455936769a6724 |
45 |
+MISC ChangeLog 1098 RMD160 35a2ac20d8d5e916780de9cb8c57a2f8f17cbcd4 SHA1 84378671246a920a47969446c4b74ff8362d83b8 SHA256 70da67959f1d3084f9ffe5085ea30d225081893f595232f3ed1473f1e3b9ae15 |
46 |
|
47 |
diff --git a/dev-libs/botan/botan-1.9.17.ebuild b/dev-libs/botan/botan-1.9.17.ebuild |
48 |
new file mode 100644 |
49 |
index 0000000..6d0690b |
50 |
--- /dev/null |
51 |
+++ b/dev-libs/botan/botan-1.9.17.ebuild |
52 |
@@ -0,0 +1,103 @@ |
53 |
+# Copyright 1999-2011 Gentoo Foundation |
54 |
+# Distributed under the terms of the GNU General Public License v2 |
55 |
+# $Header: $ |
56 |
+ |
57 |
+EAPI="3" |
58 |
+RESTRICT_PYTHON_ABIS="3.*" |
59 |
+inherit eutils multilib python toolchain-funcs |
60 |
+ |
61 |
+MY_PN="Botan" |
62 |
+MY_P="${MY_PN}-${PV}" |
63 |
+DESCRIPTION="A C++ crypto library" |
64 |
+HOMEPAGE="http://botan.randombit.net/" |
65 |
+SRC_URI="http://botan.randombit.net/files/${MY_P}.tbz" |
66 |
+ |
67 |
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos" |
68 |
+SLOT="0" |
69 |
+LICENSE="BSD" |
70 |
+IUSE="aesni altivec bzip2 doc gmp python sse2 ssse3 openssl zlib" |
71 |
+ |
72 |
+S="${WORKDIR}/${MY_P}" |
73 |
+ |
74 |
+RDEPEND="python? ( dev-libs/boost[python] ) |
75 |
+ bzip2? ( >=app-arch/bzip2-1.0.5 ) |
76 |
+ zlib? ( >=sys-libs/zlib-1.2.3 ) |
77 |
+ gmp? ( >=dev-libs/gmp-4.2.2 ) |
78 |
+ openssl? ( >=dev-libs/openssl-0.9.8g )" |
79 |
+ |
80 |
+DEPEND="${RDEPEND} |
81 |
+ doc? ( >=dev-python/sphinx-1.0.7 >=app-doc/doxygen-1.7.3 )" |
82 |
+ |
83 |
+pkg_setup() { |
84 |
+ python_set_active_version 2 |
85 |
+} |
86 |
+ |
87 |
+src_configure() { |
88 |
+ local disable_modules="proc_walk,unix_procs" |
89 |
+ |
90 |
+ # Enable v9 instructions for sparc64 |
91 |
+ if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then |
92 |
+ CHOSTARCH="sparc32-v9" |
93 |
+ else |
94 |
+ CHOSTARCH="${CHOST%%-*}" |
95 |
+ fi |
96 |
+ |
97 |
+ cd "${S}" |
98 |
+ elog "Disabling modules: ${disable_modules}" |
99 |
+ |
100 |
+ local myos= |
101 |
+ case ${CHOST} in |
102 |
+ *-darwin*) myos=darwin ;; |
103 |
+ *) myos=linux ;; |
104 |
+ esac |
105 |
+ |
106 |
+ # foobared buildsystem, --prefix translates into DESTDIR, see also make |
107 |
+ # install in src_install, we need the correct live-system prefix here on |
108 |
+ # Darwin for a shared lib with correct install_name |
109 |
+ ./configure.py \ |
110 |
+ --prefix="${EPREFIX}/usr" \ |
111 |
+ --libdir=$(get_libdir) \ |
112 |
+ --docdir=share/doc/ \ |
113 |
+ --cc=gcc \ |
114 |
+ --os=${myos} \ |
115 |
+ --cpu=${CHOSTARCH} \ |
116 |
+ --with-endian="$(tc-endian)" \ |
117 |
+ --with-tr1=system \ |
118 |
+ --distribution-info="Gentoo ${PVR}" \ |
119 |
+ $(use_with doc sphinx) \ |
120 |
+ $(use_with doc doxygen) \ |
121 |
+ $(use_with python boost-python) \ |
122 |
+ $(use_with bzip2) \ |
123 |
+ $(use_with gmp gnump) \ |
124 |
+ $(use_with openssl) \ |
125 |
+ $(use_with zlib) \ |
126 |
+ $(use_enable sse2) \ |
127 |
+ $(use_enable ssse3) \ |
128 |
+ $(use_enable aesni aes-ni) \ |
129 |
+ $(use_enable altivec) \ |
130 |
+ --disable-modules=${disable_modules} \ |
131 |
+ || die "configure.py failed" |
132 |
+} |
133 |
+ |
134 |
+src_compile() { |
135 |
+ emake CXX="$(tc-getCXX)" AR="$(tc-getAR) crs" LIB_OPT="${CXXFLAGS}" \ |
136 |
+ MACH_OPT="" LDFLAGS="${LDFLAGS}" || die "emake failed" |
137 |
+ |
138 |
+ if useq python; then |
139 |
+ emake CXX="$(tc-getCXX)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" -f Makefile.python || die "emake failed" |
140 |
+ fi |
141 |
+} |
142 |
+ |
143 |
+src_test() { |
144 |
+ chmod -R ugo+rX "${S}" |
145 |
+ emake CXX="$(tc-getCXX)" CHECK_OPT="${CXXFLAGS}" check || die "emake check failed" |
146 |
+ LD_LIBRARY_PATH="${S}" ./check --validate || die "Validation tests failed" |
147 |
+} |
148 |
+ |
149 |
+src_install() { |
150 |
+ emake DESTDIR="${ED}usr" install || die "emake install failed" |
151 |
+ |
152 |
+ if useq python; then |
153 |
+ emake install PYTHON_SITE_PACKAGE_DIR="${D}/usr/lib/python2.6/site-packages" -f Makefile.python || die "emake install failed" |
154 |
+ fi |
155 |
+} |