1 |
tommy 11/11/19 14:45:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: polarssl-1.0.0.ebuild |
5 |
Log: |
6 |
Version bump, drop unused patch |
7 |
|
8 |
(Portage version: 2.2.0_alpha76-r1/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.23 net-libs/polarssl/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/polarssl/ChangeLog?rev=1.23&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/polarssl/ChangeLog?rev=1.23&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/polarssl/ChangeLog?r1=1.22&r2=1.23 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/polarssl/ChangeLog,v |
20 |
retrieving revision 1.22 |
21 |
retrieving revision 1.23 |
22 |
diff -u -r1.22 -r1.23 |
23 |
--- ChangeLog 9 Oct 2011 18:12:13 -0000 1.22 |
24 |
+++ ChangeLog 19 Nov 2011 14:45:31 -0000 1.23 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for net-libs/polarssl |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/polarssl/ChangeLog,v 1.22 2011/10/09 18:12:13 tommy Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/polarssl/ChangeLog,v 1.23 2011/11/19 14:45:31 tommy Exp $ |
30 |
+ |
31 |
+*polarssl-1.0.0 (19 Nov 2011) |
32 |
+ |
33 |
+ 19 Nov 2011; Thomas Sachau (Tommy[D]) <tommy@g.o> |
34 |
+ -files/polarssl-0.12.0-makefile.patch, +polarssl-1.0.0.ebuild, |
35 |
+ +files/polarssl-1.0.0-makefile.patch: |
36 |
+ Version bump, drop unused patch |
37 |
|
38 |
09 Oct 2011; Thomas Sachau (Tommy[D]) <tommy@g.o> |
39 |
-polarssl-0.14.0.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-libs/polarssl/polarssl-1.0.0.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/polarssl/polarssl-1.0.0.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/polarssl/polarssl-1.0.0.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: polarssl-1.0.0.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/polarssl/polarssl-1.0.0.ebuild,v 1.1 2011/11/19 14:45:31 tommy Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
|
56 |
inherit eutils |
57 |
|
58 |
DESCRIPTION="Cryptographic library for embedded systems" |
59 |
HOMEPAGE="http://polarssl.org/" |
60 |
SRC_URI="http://polarssl.org/code/download/${P}-gpl.tgz" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
65 |
IUSE="examples sse2" |
66 |
|
67 |
src_prepare() { |
68 |
epatch "${FILESDIR}"/${P}-makefile.patch |
69 |
cd library |
70 |
if use sse2 ; then |
71 |
sed -i '15iCFLAGS += -DHAVE_SSE2 -fPIC' Makefile |
72 |
else |
73 |
sed -i '15iCFLAGS += -fPIC' Makefile |
74 |
fi |
75 |
} |
76 |
|
77 |
src_compile() { |
78 |
emake -C library libpolarssl.so || die "emake failed" |
79 |
|
80 |
if use examples ; then |
81 |
emake -C programs all || die "emake failed" |
82 |
fi |
83 |
} |
84 |
|
85 |
src_test() { |
86 |
cd programs |
87 |
emake test/selftest || die "emake selftest failed" |
88 |
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:../library" ./test/selftest || die "selftest failed" |
89 |
cd "${S}" |
90 |
emake check || die |
91 |
} |
92 |
|
93 |
src_install() { |
94 |
insinto /usr/include/polarssl |
95 |
doins include/polarssl/*.h || die |
96 |
dolib.so library/libpolarssl.so || die |
97 |
dolib.a library/libpolarssl.a || die |
98 |
|
99 |
if use examples ; then |
100 |
for p in programs/*/* ; do |
101 |
if [[ -x "${p}" && ! -d "${p}" ]] ; then |
102 |
f=polarssl_`basename "${p}"` |
103 |
newbin "${p}" "${f}" || die |
104 |
fi |
105 |
done |
106 |
for e in aes hash pkey ssl test ; do |
107 |
docinto "${e}" |
108 |
dodoc programs/"${e}"/*.c || die |
109 |
dodoc programs/"${e}"/*.txt || die |
110 |
done |
111 |
fi |
112 |
} |