source: projects/specs/branches/6/lib/libe/libevent/libevent-vl.spec @ 9232

Revision 9232, 3.6 KB checked in by iwamoto, 9 years ago (diff)

libevent: fix CVE-2014-6272

Line 
1Summary:        Abstract asynchronous event notification library
2Summary(ja):    非同期イベント通知ライブラリ
3Name:           libevent
4Version:        2.0.10
5Release:        3%{?_dist_release}
6Group:          System Environment/Libraries
7License:        BSD
8URL:            http://monkey.org/~provos/libevent/
9Source0:        http://monkey.org/~provos/libevent-%{version}-stable.tar.gz
10Patch100:       libevent-2.0.10_CVE-2014-6272.patch
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildRequires:  openssl-devel
14
15Vendor:         Project Vine
16Distribution:   Vine Linux
17
18%description
19The libevent API provides a mechanism to execute a callback function
20when a specific event occurs on a file descriptor or after a timeout
21has been reached. libevent is meant to replace the asynchronous event
22loop found in event driven network servers. An application just needs
23to call event_dispatch() and can then add or remove events dynamically
24without having to change the event loop.
25
26%package devel
27Summary: Header files, libraries and development documentation for %{name}
28Group: Development/Libraries
29Requires: %{name} = %{version}-%{release}
30
31%description devel
32This package contains the header files, static libraries and development
33documentation for %{name}. If you like to develop programs using %{name},
34you will need to install %{name}-devel.
35
36
37%prep
38%setup -q -n %{name}-%{version}-stable
39%patch100 -p1 -b .CVE-2014-6272
40
41%build
42autoreconf
43%configure \
44    --disable-static \
45    --disable-dependency-tracking
46%__make %{?_smp_mflags}
47
48
49%install
50rm -rf $RPM_BUILD_ROOT
51%__make DESTDIR=$RPM_BUILD_ROOT install
52rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
53
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%post -p /sbin/ldconfig
59
60%postun -p /sbin/ldconfig
61
62
63%files
64%defattr(-,root,root,0755)
65%doc README
66%{_bindir}/*
67%{_libdir}/lib*.so.*
68
69%files devel
70%defattr(-,root,root,0755)
71%doc sample/*.c
72%{_includedir}/*
73%{_libdir}/lib*.so
74%{_libdir}/pkgconfig/%{name}*.pc
75#%{_mandir}/man3/*
76
77
78%changelog
79* Wed Jan  7 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.0.10-3
80- add patch100 for fix CVE-2014-6272
81- add Vendor/Distri tags
82
83* Sun Feb 13 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.10-2
84- add BuildRequires: openssl-devel
85
86* Thu Feb 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0.10-1
87- new upstream release
88
89* Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.13-2
90- rebuilt with gcc-4.4.3-3 on ppc
91
92* Mon Feb  1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.13-1
93- new upstream release
94- built with new toolchains
95
96* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.3-2
97- spec in utf-8
98- remove static libs
99
100* Wed Apr 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-1
101- new upstream release
102
103* Sun Jul  8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3b-0vl1
104- new upstream release
105
106* Sun Aug 13 2006 IWAI, Masaharu <iwai@alib.jp> 1.1b-0vl1
107- new upstream release
108
109* Sun Mar 19 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1a-0vl1
110- initial build for Vine Linux
111
112* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.2
113- bump again for double-long bug on ppc(64)
114
115* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.1
116- rebuilt for new gcc4.1 snapshot and glibc changes
117
118* Tue Jan 24 2006 Warren Togami <wtogami@redhat.com> - 1.1a-3
119- rebuild (#177697)
120
121* Mon Jul 04 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-2
122- Removed unnecessary -r from rm
123
124* Fri Jun 17 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-1
125- Upstream update
126
127* Wed Jun 08 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-2
128- Added some docs
129- Moved "make verify" into %%check
130
131* Mon Jun 06 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-1
132- Initial build for Fedora Extras, based on the package
133  by Dag Wieers
Note: See TracBrowser for help on using the repository browser.