1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | Summary: GNU TLS Library |
---|
4 | Summary(ja): GNU TLS ライブラリ |
---|
5 | Name: gnutls |
---|
6 | Version: 2.10.3 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | License: GPLv3+ and LGPLv2+ |
---|
9 | # The libgnutls library is LGPLv2+, utilities and remaining libraries are GPLv3+ |
---|
10 | Group: System Environment/Libraries |
---|
11 | URL: http://www.gnutls.org/ |
---|
12 | #Source0: ftp://ftp.gnutls.org/pub/gnutls/devel/%{name}-%{version}.tar.gz |
---|
13 | #Source1: ftp://ftp.gnutls.org/pub/gnutls/devel/%{name}-%{version}.tar.gz.sig |
---|
14 | # XXX patent tainted SRP code removed. |
---|
15 | Source0: %{name}-%{version}.tar.bz2 |
---|
16 | Source1: libgnutls-config |
---|
17 | |
---|
18 | #patches from fedora development |
---|
19 | #Patch1: gnutls-2.10.2-rpath.patch |
---|
20 | Patch2: gnutls-2.8.6-link-libgcrypt.patch |
---|
21 | # Remove nonexisting references from texinfo file |
---|
22 | Patch3: gnutls-2.10.1-nosrp.patch |
---|
23 | # Backport from upstream git |
---|
24 | Patch4: gnutls-2.10.1-handshake-errors.patch |
---|
25 | |
---|
26 | |
---|
27 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
28 | |
---|
29 | BuildRequires: libgcrypt-devel >= 1.2.2, zlib-devel libtasn1-devel gmp-devel |
---|
30 | BuildRequires: gettext readline-devel libtool |
---|
31 | BuildRequires: guile-devel >= 1.8.6 |
---|
32 | BuildRequires: lzo-devel |
---|
33 | Requires: libgcrypt >= 1.2.2, zlib |
---|
34 | Requires: lzo |
---|
35 | |
---|
36 | Requires(post): ldconfig |
---|
37 | Requires(postun): ldconfig |
---|
38 | |
---|
39 | Vendor: Project Vine |
---|
40 | Distribution: Vine Linux |
---|
41 | |
---|
42 | %description |
---|
43 | GnuTLS is a project that aims to develop a library which provides a secure |
---|
44 | layer, over a reliable transport layer. Currently the GnuTLS library implements |
---|
45 | the proposed standards by the IETF's TLS working group. |
---|
46 | #' |
---|
47 | |
---|
48 | %package devel |
---|
49 | Summary: Development files for the GnuTLS package. |
---|
50 | Summary(ja): GnuTLS の開発用ファイル |
---|
51 | Group: Development/Libraries |
---|
52 | Requires: %{name} = %{version}-%{release} |
---|
53 | Requires: libgcrypt-devel, zlib-devel, pkgconfig |
---|
54 | Requires(post,preun): /sbin/install-info |
---|
55 | |
---|
56 | %description devel |
---|
57 | GnuTLS is a project that aims to develop a library which provides a secure |
---|
58 | layer, over a reliable transport layer. Currently the GnuTLS library implements |
---|
59 | the proposed standards by the IETF's TLS working group. |
---|
60 | |
---|
61 | This package contains files needed for developing applications with the GnuTLS |
---|
62 | library. |
---|
63 | #' |
---|
64 | |
---|
65 | %package utils |
---|
66 | Summary: Command line tools for TLS protocol. |
---|
67 | Summary(ja): GnuTLS のコマンドラインツール |
---|
68 | Group: Applications/System |
---|
69 | Requires: %{name} = %{version}-%{release} |
---|
70 | |
---|
71 | %description utils |
---|
72 | GnuTLS is a project that aims to develop a library which provides a secure |
---|
73 | layer, over a reliable transport layer. Currently the GnuTLS library implements |
---|
74 | the proposed standards by the IETF's TLS working group. |
---|
75 | |
---|
76 | This package contains command line TLS client and server and certificate |
---|
77 | manipulation tools. |
---|
78 | #' |
---|
79 | |
---|
80 | %package guile |
---|
81 | Summary: Guile bindings for the GNUTLS library |
---|
82 | Group: Development/Libraries |
---|
83 | Requires: %{name} = %{version}-%{release} |
---|
84 | Requires: guile |
---|
85 | |
---|
86 | %description guile |
---|
87 | GnuTLS is a project that aims to develop a library which provides a secure |
---|
88 | layer, over a reliable transport layer. Currently the GnuTLS library implements |
---|
89 | the proposed standards by the IETF's TLS working group. |
---|
90 | This package contains Guile bindings for the library. |
---|
91 | #' |
---|
92 | |
---|
93 | %package -n compat32-%{name} |
---|
94 | Summary: GNU TLS Library |
---|
95 | Summary(ja): GNU TLS ライブラリ |
---|
96 | Group: System Environment/Libraries |
---|
97 | Requires: compat32-%{name} = %{version}-%{release} |
---|
98 | |
---|
99 | %description -n compat32-%{name} |
---|
100 | GnuTLS is a project that aims to develop a library which provides a secure |
---|
101 | layer, over a reliable transport layer. Currently the GnuTLS library implements |
---|
102 | the proposed standards by the IETF's TLS working group. |
---|
103 | #' |
---|
104 | |
---|
105 | %package -n compat32-%{name}-devel |
---|
106 | Summary: Development files for the GnuTLS package. |
---|
107 | Summary(ja): GnuTLS の開発用ファイル |
---|
108 | Group: Development/Libraries |
---|
109 | Requires: compat32-%{name} = %{version}-%{release} |
---|
110 | Requires: %{name}-devel = %{version}-%{release} |
---|
111 | Requires: compat32-libgcrypt-devel, compat32-zlib-devel |
---|
112 | Requires(post,preun): /sbin/install-info |
---|
113 | |
---|
114 | %description -n compat32-%{name}-devel |
---|
115 | GnuTLS is a project that aims to develop a library which provides a secure |
---|
116 | layer, over a reliable transport layer. Currently the GnuTLS library implements |
---|
117 | the proposed standards by the IETF's TLS working group. |
---|
118 | |
---|
119 | This package contains files needed for developing applications with the GnuTLS |
---|
120 | library. |
---|
121 | #' |
---|
122 | |
---|
123 | %package -n compat32-%{name}-guile |
---|
124 | Summary: Guile bindings for the GNUTLS library |
---|
125 | Group: Development/Libraries |
---|
126 | Requires: compat32-%{name} = %{version}-%{release} |
---|
127 | Requires: %{name}-guile = %{version}-%{release} |
---|
128 | |
---|
129 | %description -n compat32-%{name}-guile |
---|
130 | GnuTLS is a project that aims to develop a library which provides a secure |
---|
131 | layer, over a reliable transport layer. Currently the GnuTLS library implements |
---|
132 | the proposed standards by the IETF's TLS working group. |
---|
133 | This package contains Guile bindings for the library. |
---|
134 | #' |
---|
135 | |
---|
136 | %prep |
---|
137 | %setup -q |
---|
138 | #%patch1 -p1 -b .rpath |
---|
139 | %patch2 -p1 -b .link |
---|
140 | %patch3 -p1 -b .nosrp |
---|
141 | %patch4 -p1 -b .errors |
---|
142 | |
---|
143 | for i in auth_srp_rsa.c auth_srp_sb64.c auth_srp_passwd.c auth_srp.c gnutls_srp.c ext_srp.c; do |
---|
144 | touch lib/$i |
---|
145 | done |
---|
146 | |
---|
147 | %build |
---|
148 | autoreconf |
---|
149 | %configure \ |
---|
150 | --with-lzo \ |
---|
151 | --with-included-libcfg \ |
---|
152 | --disable-srp-authentication \ |
---|
153 | --disable-static \ |
---|
154 | --disable-srp-authentication |
---|
155 | # --with-included-libtasn1 \ |
---|
156 | # --with-included-opencdk \ |
---|
157 | # --with-included-lzo \ |
---|
158 | make |
---|
159 | cp lib/COPYING COPYING.LIB |
---|
160 | |
---|
161 | %install |
---|
162 | %__rm -rf %{buildroot} |
---|
163 | %makeinstall |
---|
164 | |
---|
165 | rm -f $RPM_BUILD_ROOT%{_bindir}/srptool |
---|
166 | rm -f $RPM_BUILD_ROOT%{_bindir}/gnutls-srpcrypt |
---|
167 | # replace libgnutls*-config |
---|
168 | %__install -p -m755 %{SOURCE1} %{buildroot}%{_bindir}/libgnutls-config |
---|
169 | %__install -p -m755 %{SOURCE1} %{buildroot}%{_bindir}/libgnutls-extra-config |
---|
170 | |
---|
171 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/srptool.1 |
---|
172 | rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*srp* |
---|
173 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
---|
174 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
175 | rm -f $RPM_BUILD_ROOT%{_libdir}/libguile*.a |
---|
176 | |
---|
177 | # remove unneeded files |
---|
178 | %__rm -f %{buildroot}%{_libdir}/*.la |
---|
179 | |
---|
180 | %find_lang libgnutls |
---|
181 | |
---|
182 | %check |
---|
183 | make check |
---|
184 | |
---|
185 | %clean |
---|
186 | rm -rf %{buildroot} |
---|
187 | |
---|
188 | %post -p /sbin/ldconfig |
---|
189 | |
---|
190 | %postun -p /sbin/ldconfig |
---|
191 | |
---|
192 | %post devel |
---|
193 | if [ -f %{_infodir}/gnutls.info.gz ]; then |
---|
194 | /sbin/install-info %{_infodir}/gnutls.info.gz %{_infodir}/dir || : |
---|
195 | fi |
---|
196 | |
---|
197 | %preun devel |
---|
198 | if [ $1 = 0 -a -f %{_infodir}/gnutls.info.gz ]; then |
---|
199 | /sbin/install-info --delete %{_infodir}/gnutls.info.gz %{_infodir}/dir || : |
---|
200 | fi |
---|
201 | |
---|
202 | %post guile -p /sbin/ldconfig |
---|
203 | |
---|
204 | %postun guile -p /sbin/ldconfig |
---|
205 | |
---|
206 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
207 | |
---|
208 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
209 | |
---|
210 | %post -n compat32-%{name}-guile -p /sbin/ldconfig |
---|
211 | |
---|
212 | %postun -n compat32-%{name}-guile -p /sbin/ldconfig |
---|
213 | |
---|
214 | %files -f libgnutls.lang |
---|
215 | %defattr(-,root,root,-) |
---|
216 | %{_libdir}/libgnutls*.so.* |
---|
217 | %doc COPYING COPYING.LIB README AUTHORS |
---|
218 | |
---|
219 | %files devel |
---|
220 | %defattr(-,root,root,-) |
---|
221 | %{_bindir}/libgnutls*-config |
---|
222 | %{_includedir}/* |
---|
223 | #%{_libdir}/libgnutls*.a |
---|
224 | %{_libdir}/libgnutls*.so |
---|
225 | %{_libdir}/pkgconfig/*.pc |
---|
226 | %{_mandir}/man3/* |
---|
227 | %{_infodir}/gnutls* |
---|
228 | |
---|
229 | %files utils |
---|
230 | %defattr(-,root,root,-) |
---|
231 | %{_bindir}/certtool |
---|
232 | %{_bindir}/psktool |
---|
233 | %{_bindir}/gnutls* |
---|
234 | %{_mandir}/man1/* |
---|
235 | %doc doc/certtool.cfg |
---|
236 | |
---|
237 | %files guile |
---|
238 | %defattr(-,root,root,-) |
---|
239 | %{_libdir}/libguile*.so* |
---|
240 | %{_datadir}/guile/site/gnutls |
---|
241 | %{_datadir}/guile/site/gnutls.scm |
---|
242 | |
---|
243 | %if %{build_compat32} |
---|
244 | %files -n compat32-%{name} |
---|
245 | %defattr(-,root,root,-) |
---|
246 | %{_libdir}/libgnutls*.so.* |
---|
247 | |
---|
248 | %files -n compat32-%{name}-devel |
---|
249 | %defattr(-,root,root,-) |
---|
250 | #%{_libdir}/libgnutls*.a |
---|
251 | %{_libdir}/libgnutls*.so |
---|
252 | %{_libdir}/pkgconfig/*.pc |
---|
253 | |
---|
254 | %files -n compat32-%{name}-guile |
---|
255 | %defattr(-,root,root,-) |
---|
256 | %{_libdir}/libguile*.so* |
---|
257 | %endif |
---|
258 | |
---|
259 | %changelog |
---|
260 | * Tue Nov 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.10.3-1 |
---|
261 | - new upstream release |
---|
262 | - dropt patch1 |
---|
263 | |
---|
264 | * Sun Oct 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.10.2-1 |
---|
265 | - new upstream release |
---|
266 | - added patch1,2,3,4 from Fedora development |
---|
267 | - added BuildRequires: gettext readline-devel libtool |
---|
268 | - added configure option |
---|
269 | --disable-static,--disable-srp-authentication |
---|
270 | - dropt *.a files from -devel package again |
---|
271 | |
---|
272 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.8.6-2 |
---|
273 | - build with rpm-4.8.1-1 for pkg-config file |
---|
274 | |
---|
275 | * Mon Mar 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.6-1 |
---|
276 | - new upstream release |
---|
277 | - applied new naming policy to spec |
---|
278 | |
---|
279 | * Thu Nov 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.5-1 |
---|
280 | - new upstream release |
---|
281 | |
---|
282 | * Sat Sep 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.4-1 |
---|
283 | - new upstream release |
---|
284 | |
---|
285 | * Wed Aug 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.3-1 |
---|
286 | - new upstream release |
---|
287 | |
---|
288 | * Thu Aug 13 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.8.2-1 |
---|
289 | - new upstream release with security fix (handling X.509 CN or SAN fields) |
---|
290 | |
---|
291 | * Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.8.1-2vl5 |
---|
292 | - added compat32 package for x86_64 arch support |
---|
293 | |
---|
294 | * Thu Jun 11 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.8.1-1vl5 |
---|
295 | - new upstream release |
---|
296 | - added autoreconf |
---|
297 | - deleted libguile*.a |
---|
298 | - dropt Patch3 |
---|
299 | - added %post guile, %postun guile |
---|
300 | |
---|
301 | * Sun May 03 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.6-2 |
---|
302 | - drop *.a files from -devel package |
---|
303 | - build with system lzo |
---|
304 | |
---|
305 | * Sun May 03 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.6-1 |
---|
306 | - new upstream release with security fixes (CVE-2009-1415,1416,1417) |
---|
307 | |
---|
308 | * Wed Apr 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.6.6-1vl5 |
---|
309 | - update to 2.6.5 |
---|
310 | |
---|
311 | * Wed Mar 25 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.4-2 |
---|
312 | - spec in UTF-8 |
---|
313 | |
---|
314 | * Sun Feb 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.6.4-1vl5 |
---|
315 | - update to 2.6.4 |
---|
316 | - modifeid Source0 |
---|
317 | |
---|
318 | * Mon Jan 19 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.3-2vl5 |
---|
319 | - add BuildRequires: guile-devel >= 1.8.6 |
---|
320 | |
---|
321 | * Tue Jan 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.6.3-1vl5 |
---|
322 | - update to 2.6.3 |
---|
323 | - import from fedora developing's 2.6.3 |
---|
324 | - License tag fixed |
---|
325 | - dropped patch0, patch1, patch2 |
---|
326 | - added patch3 |
---|
327 | - added BuildRequires: gmp-devel |
---|
328 | - add new sub-package: guile |
---|
329 | - added %package guile, %description guile, %files guile |
---|
330 | |
---|
331 | * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.3-2vl5 |
---|
332 | - used %%{?_dist_release} macro |
---|
333 | |
---|
334 | * Mon Mar 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.3-2vl1 |
---|
335 | - update to 1.6.3 (use no-SRP source) |
---|
336 | - import from fedora core's 1.6.3-2 |
---|
337 | - nosrc.tar.bz2 (source0) |
---|
338 | - license tag fix |
---|
339 | - build with system libtasn1 |
---|
340 | |
---|
341 | * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.5-0vl1 |
---|
342 | - update to 1.4.5 (use no-SRP source) |
---|
343 | - import from fedora core's 1.4.5-1 |
---|
344 | - nosrc.tar.bz2 (source0) |
---|
345 | - drop obsolete cve-2006-4790.patch (patch3) |
---|
346 | |
---|
347 | * Tue Oct 24 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.1-2vl1 |
---|
348 | - [SECURITY] update to 1.4.1 (use no-SRP source) |
---|
349 | - import from fedora core's 1.4.1-2 |
---|
350 | - nosrp.tar.bz2 (source0) |
---|
351 | - libgnutls-config (source1) |
---|
352 | - nosrc.patch (patch0) |
---|
353 | - enable-psk.patch (patch1) |
---|
354 | - cve-2006-4790.patch (patch3) |
---|
355 | - update required version of libgcrypt (>= 1.2.2) |
---|
356 | - add Requires: pkgconfig to -devel package |
---|
357 | - add %%check section |
---|
358 | - update %%files |
---|
359 | - add new sub-package: utils |
---|
360 | |
---|
361 | * Sat May 14 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.25-0vl1 |
---|
362 | - [SECURITY FIX] upstream release |
---|
363 | - record packet parsing denial of service (CAN-2005-1431) |
---|
364 | |
---|
365 | * Mon Mar 28 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.24-0vl1 |
---|
366 | - initial build for Vine Linux |
---|
367 | - upstream release |
---|
368 | |
---|
369 | * Wed Mar 2 2005 Warren Togami <wtogami@redhat.com> 1.0.20-6 |
---|
370 | - gcc4 rebuild |
---|
371 | |
---|
372 | * Tue Jan 4 2005 Ivana Varekova <varekova@redhat.com> 1.0.20-5 |
---|
373 | - add gnutls Requires zlib-devel (#144069) |
---|
374 | |
---|
375 | * Mon Nov 08 2004 Colin Walters <walters@redhat.com> 1.0.20-4 |
---|
376 | - Make gnutls-devel Require libgcrypt-devel |
---|
377 | |
---|
378 | * Tue Sep 21 2004 Jeff Johnson <jbj@redhat.com> 1.0.20-3 |
---|
379 | - rebuild with release++, otherwise unchanged. |
---|
380 | |
---|
381 | * Tue Sep 7 2004 Jeff Johnson <jbj@redhat.com> 1.0.20-2 |
---|
382 | - patent tainted SRP code removed. |
---|
383 | |
---|
384 | * Sun Sep 5 2004 Jeff Johnson <jbj@redhat.com> 1.0.20-1 |
---|
385 | - update to 1.0.20. |
---|
386 | - add --with-included-opencdk --with-included-libtasn1 |
---|
387 | - add --with-included-libcfg --with-included-lzo |
---|
388 | - add --disable-srp-authentication. |
---|
389 | - do "make check" after build. |
---|
390 | |
---|
391 | * Fri Mar 21 2003 Jeff Johnson <jbj@redhat.com> 0.9.2-1 |
---|
392 | - upgrade to 0.9.2 |
---|
393 | |
---|
394 | * Tue Jun 25 2002 Jeff Johnson <jbj@redhat.com> 0.4.4-1 |
---|
395 | - update to 0.4.4. |
---|
396 | |
---|
397 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
398 | - automated rebuild |
---|
399 | |
---|
400 | * Sat May 25 2002 Jeff Johnson <jbj@redhat.com> 0.4.3-1 |
---|
401 | - update to 0.4.3. |
---|
402 | |
---|
403 | * Tue May 21 2002 Jeff Johnson <jbj@redhat.com> 0.4.2-1 |
---|
404 | - update to 0.4.2. |
---|
405 | - change license to LGPL. |
---|
406 | - include splint annotations patch. |
---|
407 | |
---|
408 | * Tue Apr 2 2002 Nalin Dahyabhai <nalin@redhat.com> 0.4.0-1 |
---|
409 | - update to 0.4.0 |
---|
410 | |
---|
411 | * Thu Jan 17 2002 Nalin Dahyabhai <nalin@redhat.com> 0.3.2-1 |
---|
412 | - update to 0.3.2 |
---|
413 | |
---|
414 | * Wed Jan 10 2002 Nalin Dahyabhai <nalin@redhat.com> 0.3.0-1 |
---|
415 | - add a URL |
---|
416 | |
---|
417 | * Wed Dec 20 2001 Nalin Dahyabhai <nalin@redhat.com> |
---|
418 | - initial package |
---|