Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > contrib-release-src > by-pkgid > 5af58d93ff3978dfcc61e8c63d7338ae > files > 3

mcrypt-2.6.8-2mdv2009.1.src.rpm

Summary:	Data encryption/decryption program
Name:		mcrypt
Version:	2.6.8
Release:	%mkrel 2
License:	GPLv2+
Group:		File tools
URL:		http://mcrypt.sourceforge.net/
Source0:	http://belnet.dl.sourceforge.net/sourceforge/mcrypt/%{name}-%{version}.tar.gz
Patch0:		mcrypt-2.6.8-format_not_a_string_literal_and_no_format_arguments.diff
BuildRequires:	libmhash-devel >= 0.8.15
BuildRequires:	libmcrypt-devel >= 2.5.0
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
A replacement for the old unix crypt(1) command. Mcrypt uses the following
encryption (block) algorithms: BLOWFISH, DES, TripleDES, 3-WAY, SAFER-SK64,
SAFER-SK128, CAST-128, RC2 TEA (extended), TWOFISH, RC6, IDEA and GOST. The
unix crypt algorithm is also included, to allow compatibility with the crypt(1)
command. CBC, ECB, OFB and CFB modes of encryption are supported.

%prep

%setup -q
%patch0 -p0 -b .format_not_a_string_literal_and_no_format_arguments

%build

%configure2_5x

# ugly hack
export MKINSTALLDIRS="`pwd`/mkinstalldirs"
find -name "Makefile" | xargs perl -pi -e "s|^MKINSTALLDIRS.*|MKINSTALLDIRS=\"$MKINSTALLDIRS\"|g"

%make

%install
rm -rf %{buildroot}

%makeinstall

%find_lang %name

%clean
rm -rf %{buildroot}

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




%changelog
* Tue Feb 03 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.6.8-2mdv2009.1
+ Revision: 337140
- keep bash completion in its own package

* Sun Feb 01 2009 Oden Eriksson <oeriksson@mandriva.org> 2.6.8-1mdv2009.1
+ Revision: 336165
- 2.6.8
- fix build with -Werror=format-security (P0)

* Mon Aug 25 2008 Emmanuel Andry <eandry@mandriva.org> 2.6.7-1mdv2009.0
+ Revision: 275924
- New version
- fix license

* Tue Jul 29 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.6.5-3mdv2009.0
+ Revision: 252174
- rebuild
- fix no-buildroot-tag

* Mon Dec 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 2.6.5-1mdv2008.1
+ Revision: 129811
- kill re-definition of %%buildroot on Pixel's request


* Tue Feb 20 2007 Oden Eriksson <oeriksson@mandriva.com> 2.6.5-1mdv2007.0
+ Revision: 122966
- Import mcrypt

* Tue Feb 20 2007 Oden Eriksson <oeriksson@mandriva.com> 2.6.5-1mdv2007.1
- 2.6.5

* Thu May 12 2005 Lenny Cartier <lenny@mandriva.com> 2.6.4-4mdk
- rebuild