source: projects/specs/trunk/g/gnutls33/gnutls33-vl.spec @ 9901

Revision 9901, 11.8 KB checked in by iwamoto, 8 years ago (diff)

gnutls33: compatible package gnutls33

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