99 lines
3.5 KiB
RPMSpec
99 lines
3.5 KiB
RPMSpec
Name: libmcrypt
|
|
Version: 2.5.8
|
|
Release: 3mamba
|
|
Summary: A replacement of the old unix crypt
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://mcrypt.sourceforge.net/
|
|
Source: http://downloads.sourceforge.net/sourceforge/mcrypt/libmcrypt-%{version}.tar.gz
|
|
License: LGPL
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Mcrypt, and the accompanying libmcrypt, are intended to be replacements for the old Unix crypt, except that they are under the GPL and support an ever-wider range of algorithms and modes.
|
|
Unlike most encryption libraries libmcrypt does not have everything (random number generators, hashes, hmac implementation, key exchange, public key encryption etc.).
|
|
Libmcrypt only implements an interface to access block and stream encryption algorithms.
|
|
It's purpose was to assist in the development of mcrypt by providing a uniform interface to access several different encryption algorithms, so that the main program is independent of the encryption algorithms and the modes used.
|
|
|
|
Libmcrypt supports the algorithms:
|
|
* BLOWFISH
|
|
* TWOFISH
|
|
* DES, TripleDES
|
|
* 3-WAY
|
|
* SAFER-sk64, SAFER-sk128, SAFER+
|
|
* LOKI97
|
|
* GOST
|
|
* RC2, RC6
|
|
* MARS
|
|
* IDEA
|
|
* RIJNDAEL-128 (AES), RIJNDAEL-192, RIJNDAEL-256
|
|
* SERPENT
|
|
* CAST-128 (known as CAST5), CAST-256
|
|
* ARCFOUR
|
|
* WAKE
|
|
Block algorithms can be used in: CBC, ECB, CFB and OFB (8 bit and n bit, where
|
|
n is the size of the algorithm's block length).
|
|
|
|
%package devel
|
|
Summary: Devel package for libmcrypt
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
Mcrypt, and the accompanying libmcrypt, are intended to be replacements for the old Unix crypt, except that they are under the GPL and support an ever-wider range of algorithms and modes.
|
|
Unlike most encryption libraries libmcrypt does not have everything (random number generators, hashes, hmac implementation, key exchange, public key encryption etc.).
|
|
Libmcrypt only implements an interface to access block and stream encryption algorithms.
|
|
It's purpose was to assist in the development of mcrypt by providing a uniform interface to access several different encryption algorithms, so that the main program is independent of the encryption algorithms and the modes used.
|
|
|
|
This package contains static libraries and header files need for development
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libmcrypt.so.*
|
|
%{_mandir}/man3/mcrypt.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/libmcrypt-config
|
|
%{_includedir}/mcrypt.h
|
|
%{_includedir}/mutils/
|
|
%{_libdir}/libmcrypt.la
|
|
%{_libdir}/libmcrypt.so
|
|
%{_datadir}/aclocal/libmcrypt.m4
|
|
|
|
%changelog
|
|
* Mon Jul 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.8-3mamba
|
|
- rebuilt to see if this fixes blocking php with phpmyadmin and mediawiki
|
|
|
|
* Sun Aug 18 2013 Automatic Build System <autodist@mambasoft.it> 2.5.8-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Wed Jan 16 2008 Aleph0 <aleph0@openmamba.org> 2.5.8-1mamba
|
|
- update to 2.5.8
|
|
|
|
* Wed Jun 07 2006 Davide Madrisan <davide.madrisan@qilinux.it> 2.5.7-2qilnx
|
|
- specfile updated
|
|
- fixed underquoted definition of AM_PATH_LIBMCRYPT in libmcrypt.m4
|
|
|
|
* Tue Dec 23 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.7-1qilnx
|
|
- first build
|