Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > updates-src > by-pkgid > 898f65d61e00739a9b56f70aae64f706 > files > 10

mcrypt-2.6.8-10.fc16.src.rpm

Name:		mcrypt
Version:	2.6.8
Release:	10%{?dist}
License:	GPLv3+
Group:		Applications/System
Summary:	Replacement for crypt()
URL:		http://mcrypt.sourceforge.net/
Source0:	http://download.sourceforge.net/mcrypt/mcrypt-%{version}.tar.gz
# From upstream, a combination of:
# http://sourceforge.net/tracker/index.php?func=detail&aid=1191020&group_id=87941&atid=584895
# http://sourceforge.net/tracker/index.php?func=detail&aid=1872812&group_id=87941&atid=584895
Patch0:		mcrypt-rfc2440-bugfixes.patch
# From upstream:
# http://sourceforge.net/tracker/index.php?func=detail&aid=1872809&group_id=87941&atid=584895
Patch1:		mcrypt-2.6.7-format_strings.patch
# Upstream:
# http://sourceforge.net/tracker/index.php?func=detail&aid=1829488&group_id=87941&atid=584895
Patch2:		mcrypt-2.6.7-gaafix.patch
# Upstream:
# http://sourceforge.net/tracker/index.php?func=detail&aid=2075758&group_id=87941&atid=584895
Patch3:		mcrypt-2.6.7-native-by-default.patch
# Upstream: 
# https://sourceforge.net/tracker/index.php?func=detail&aid=3559099&group_id=87941&atid=584893
Patch4:		mcrypt-2.6.8-manpage-typofixes.patch
# Fix for CVE-2012-4409
# https://bugzilla.redhat.com/show_bug.cgi?id=855029
Patch5:		mcrypt-CVE-2012-4409.patch
# No gaa in Fedora
Patch6:		mcrypt-2.6.8-no-gaa.patch
# Fix for CVE-2012-4527 (workaround, really)
Patch7:		mcrypt-CVE-2012-4527-80-width-patch

BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	libmcrypt-devel, mhash-devel, gettext, zlib-devel

%description
MCrypt is a replacement for the old crypt() package and crypt(1) command, 
with extensions. It allows developers to use a wide range of encryption 
functions, without making drastic changes to their code. It allows users 
to encrypt files or data streams without having to be cryptographers. 

%prep
%setup -q
%patch0 -p1
%patch1 -p1 -b .format_strings
%patch2 -p1 -b .gaafix
%patch3 -p1 -b .native_by_default
%patch4 -p1 -b .typos
%patch5 -p1 -b .CVE-2012-4409
%patch6 -p1 -b .no-gaa
%patch7 -p1 -b .CVE-2012-4527

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
%{_bindir}/*
%{_mandir}/man1/*

%changelog
* Tue Oct 30 2012 Tom Callaway <spot@fedoraproject.org> - 2.6.8-10
- apply workaround patch for CVE-2012-4527
  Thanks to Attila Bogar and Nobuhiro Iwamatsu

* Fri Sep  7 2012 Tom Callaway <spot@fedoraproject.org> - 2.6.8-9
- don't try to use gaa

* Fri Sep  7 2012 Tom Callaway <spot@fedoraproject.org> - 2.6.8-8
- apply fix for CVE-2012-4409 (thanks to Raphael Geissert)

* Fri Aug 17 2012 Tom Callaway <spot@fedoraproject.org> - 2.6.8-7
- fix typos in manpage

* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Mon Nov 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.6.8-1
- update to 2.6.8

* Mon Aug 25 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.6.7-3
- use native mcrypt format by default (not openpgp) (bz 433582)
- fix gaa
- fix format strings

* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.6.7-2
- Autorebuild for GCC 4.3

* Mon Dec 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.7-1
- 2.6.7
- fix bugs in rfc2440.c (resolves bugzilla 418481)

* Fri Aug 24 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.6-2
- rebuild for ppc32, license fix

* Thu Jul 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.6-1
- bump to 2.6.6
- destdir patch obsoleted upstream

* Tue Sep 12 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.4-3
- bump for FC-6

* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.4-2
- bump for FC-5

* Thu Sep 22 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.4-1
- initial package for Fedora Extras