1 |
dragonheart 09/01/31 00:20:57 |
2 |
|
3 |
Modified: cryptlib-3.3.0-r1.ebuild ChangeLog |
4 |
cryptlib-3.3.1.ebuild |
5 |
Added: cryptlib-3.3.2.ebuild |
6 |
Log: |
7 |
version bump to 3.3.2 as per bug #246936 all thanks to Arfrever Frehtes Taifersar Arahesis |
8 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 dev-libs/cryptlib/cryptlib-3.3.0-r1.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cryptlib/cryptlib-3.3.0-r1.ebuild?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cryptlib/cryptlib-3.3.0-r1.ebuild?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cryptlib/cryptlib-3.3.0-r1.ebuild?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: cryptlib-3.3.0-r1.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/cryptlib-3.3.0-r1.ebuild,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- cryptlib-3.3.0-r1.ebuild 5 Feb 2007 08:53:35 -0000 1.1 |
24 |
+++ cryptlib-3.3.0-r1.ebuild 31 Jan 2009 00:20:57 -0000 1.2 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2007 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/cryptlib-3.3.0-r1.ebuild,v 1.1 2007/02/05 08:53:35 alonbl Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/cryptlib-3.3.0-r1.ebuild,v 1.2 2009/01/31 00:20:57 dragonheart Exp $ |
30 |
|
31 |
inherit eutils multilib flag-o-matic |
32 |
|
33 |
@@ -13,7 +13,7 @@ |
34 |
doc? ( mirror://gentoo/${P}-manual.pdf.bz2 )" |
35 |
|
36 |
LICENSE="Sleepycat" |
37 |
-KEYWORDS="~x86 ~amd64" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
SLOT="0" |
40 |
IUSE="doc odbc" |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.15 dev-libs/cryptlib/ChangeLog |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cryptlib/ChangeLog?rev=1.15&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cryptlib/ChangeLog?rev=1.15&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cryptlib/ChangeLog?r1=1.14&r2=1.15 |
50 |
|
51 |
Index: ChangeLog |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/ChangeLog,v |
54 |
retrieving revision 1.14 |
55 |
retrieving revision 1.15 |
56 |
diff -u -r1.14 -r1.15 |
57 |
--- ChangeLog 16 Feb 2007 14:36:34 -0000 1.14 |
58 |
+++ ChangeLog 31 Jan 2009 00:20:57 -0000 1.15 |
59 |
@@ -1,6 +1,14 @@ |
60 |
# ChangeLog for dev-libs/cryptlib |
61 |
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/ChangeLog,v 1.14 2007/02/16 14:36:34 alonbl Exp $ |
63 |
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
64 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/ChangeLog,v 1.15 2009/01/31 00:20:57 dragonheart Exp $ |
65 |
+ |
66 |
+*cryptlib-3.3.2 (31 Jan 2009) |
67 |
+ |
68 |
+ 31 Jan 2009; Daniel Black <dragonheart@g.o> |
69 |
+ +files/cryptlib-3.3.2-external-zlib.patch, +files/cryptlib-3.3.2-ld.patch, |
70 |
+ +files/cryptlib-3.3.2-pthread_yield.patch, +cryptlib-3.3.2.ebuild: |
71 |
+ version bump to 3.3.2 as per bug #246936 all thanks to Arfrever Frehtes |
72 |
+ Taifersar Arahesis |
73 |
|
74 |
*cryptlib-3.3.1 (16 Feb 2007) |
75 |
|
76 |
|
77 |
|
78 |
|
79 |
1.2 dev-libs/cryptlib/cryptlib-3.3.1.ebuild |
80 |
|
81 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cryptlib/cryptlib-3.3.1.ebuild?rev=1.2&view=markup |
82 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cryptlib/cryptlib-3.3.1.ebuild?rev=1.2&content-type=text/plain |
83 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cryptlib/cryptlib-3.3.1.ebuild?r1=1.1&r2=1.2 |
84 |
|
85 |
Index: cryptlib-3.3.1.ebuild |
86 |
=================================================================== |
87 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/cryptlib-3.3.1.ebuild,v |
88 |
retrieving revision 1.1 |
89 |
retrieving revision 1.2 |
90 |
diff -u -r1.1 -r1.2 |
91 |
--- cryptlib-3.3.1.ebuild 16 Feb 2007 14:36:34 -0000 1.1 |
92 |
+++ cryptlib-3.3.1.ebuild 31 Jan 2009 00:20:57 -0000 1.2 |
93 |
@@ -1,6 +1,6 @@ |
94 |
# Copyright 1999-2007 Gentoo Foundation |
95 |
# Distributed under the terms of the GNU General Public License v2 |
96 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/cryptlib-3.3.1.ebuild,v 1.1 2007/02/16 14:36:34 alonbl Exp $ |
97 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/cryptlib-3.3.1.ebuild,v 1.2 2009/01/31 00:20:57 dragonheart Exp $ |
98 |
|
99 |
inherit eutils multilib flag-o-matic |
100 |
|
101 |
@@ -14,7 +14,7 @@ |
102 |
doc? ( mirror://gentoo/${DOC_PREFIX}-manual.pdf.bz2 )" |
103 |
|
104 |
LICENSE="Sleepycat" |
105 |
-KEYWORDS="~x86 ~amd64" |
106 |
+KEYWORDS="~amd64 ~x86" |
107 |
SLOT="0" |
108 |
IUSE="doc odbc" |
109 |
|
110 |
|
111 |
|
112 |
|
113 |
1.1 dev-libs/cryptlib/cryptlib-3.3.2.ebuild |
114 |
|
115 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cryptlib/cryptlib-3.3.2.ebuild?rev=1.1&view=markup |
116 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cryptlib/cryptlib-3.3.2.ebuild?rev=1.1&content-type=text/plain |
117 |
|
118 |
Index: cryptlib-3.3.2.ebuild |
119 |
=================================================================== |
120 |
# Copyright 1999-2009 Gentoo Foundation |
121 |
# Distributed under the terms of the GNU General Public License v2 |
122 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/cryptlib-3.3.2.ebuild,v 1.1 2009/01/31 00:20:57 dragonheart Exp $ |
123 |
|
124 |
inherit eutils flag-o-matic multilib toolchain-funcs |
125 |
|
126 |
MY_PV="${PV//.0}" |
127 |
MY_PV="${MY_PV//.}" |
128 |
|
129 |
DESCRIPTION="Powerful security toolkit for adding encryption to software" |
130 |
HOMEPAGE="http://www.cs.auckland.ac.nz/~pgut001/cryptlib/" |
131 |
DOC_PREFIX="${PN}-3.3.2" |
132 |
SRC_URI="ftp://ftp.franken.de/pub/crypt/cryptlib/cl${MY_PV}.zip |
133 |
doc? ( mirror://gentoo/${DOC_PREFIX}-manual.pdf.bz2 )" |
134 |
|
135 |
LICENSE="Sleepycat" |
136 |
KEYWORDS="~amd64 ~x86" |
137 |
SLOT="0" |
138 |
IUSE="doc ldap odbc" |
139 |
|
140 |
S="${WORKDIR}" |
141 |
|
142 |
RDEPEND="sys-libs/zlib |
143 |
ldap? ( net-nds/openldap ) |
144 |
odbc? ( dev-db/unixODBC )" |
145 |
DEPEND="${RDEPEND} |
146 |
app-arch/unzip" |
147 |
|
148 |
src_unpack() { |
149 |
# we need the -a option, so we can not use 'unpack' |
150 |
unzip -qoa "${DISTDIR}/cl${MY_PV}.zip" |
151 |
use doc && unpack "${DOC_PREFIX}-manual.pdf.bz2" |
152 |
rm -fr zlib |
153 |
|
154 |
# we want our own CFLAGS ;-) |
155 |
sed -i -e "s:-m.*=pentium::g" -e "s:-fomit-frame-pointer::g" -e "s:-O2::g" \ |
156 |
-e "s:-O3::g" -e "s:-O4::g" makefile || die "sed makefile failed" |
157 |
sed -i -e "s/-march=[[:alnum:]\.=-]*//g" -e "s/-mcpu=[[:alnum:]\.=-]*//g" \ |
158 |
-e "s:-O2::g" -e "s:-O3::g" tools/ccopts.sh || die "sed tools/ccopts.sh failed" |
159 |
|
160 |
# change 'make' to '$(MAKE)' |
161 |
sed -i -e "s:@\?make:\$(MAKE):g" makefile || die "sed makefile failed" |
162 |
|
163 |
# NOTICE: |
164 |
# Because of stack execution |
165 |
# assembly parts are disabled. |
166 |
sed -i -e 's:i\[3,4,5,6\]86:___:g' makefile || die "sed makefile failed" |
167 |
|
168 |
# respect LDFLAGS and fix soname and strip issues |
169 |
epatch "${FILESDIR}/${P}-ld.patch" |
170 |
|
171 |
# fix build |
172 |
epatch "${FILESDIR}/${P}-pthread_yield.patch" |
173 |
|
174 |
# use external zlib |
175 |
epatch "${FILESDIR}/${P}-external-zlib.patch" |
176 |
} |
177 |
|
178 |
src_compile() { |
179 |
# we need at least -O2 |
180 |
replace-flags -O -O2 |
181 |
replace-flags -O0 -O2 |
182 |
replace-flags -O1 -O2 |
183 |
replace-flags -Os -O2 |
184 |
is-flagq -O* || append-flags -O2 |
185 |
|
186 |
append-flags -c -D__UNIX__ -DNDEBUG -I. |
187 |
# QA issue for pthread_yield |
188 |
append-flags -D_GNU_SOURCE |
189 |
|
190 |
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake static failed" |
191 |
|
192 |
emake shared CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake shared failed" |
193 |
} |
194 |
|
195 |
src_install() { |
196 |
dolib.so "libcl.so.3.3.2" |
197 |
dosym "libcl.so.3.3.2" "/usr/$(get_libdir)/libcl.so" |
198 |
dolib.a "libcl.a" |
199 |
|
200 |
insinto /usr/include |
201 |
doins cryptlib.h |
202 |
|
203 |
dodoc README |
204 |
use doc && newdoc "${DOC_PREFIX}-manual.pdf" "manual.pdf" |
205 |
} |