From cb1cecde2b0384173ef5dcec8551f6fa28e60597 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:01:49 +0100 Subject: [PATCH] automatic rebuild by autodist [release 2.5.8-2mamba;Sun Aug 18 2013] --- README.md | 24 +++++++++++++ libmcrypt.spec | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 119 insertions(+) create mode 100644 libmcrypt.spec diff --git a/README.md b/README.md index 7a0e2f0..472b112 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,26 @@ # libmcrypt +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). + diff --git a/libmcrypt.spec b/libmcrypt.spec new file mode 100644 index 0000000..e3a74f7 --- /dev/null +++ b/libmcrypt.spec @@ -0,0 +1,95 @@ +Name: libmcrypt +Version: 2.5.8 +Release: 2mamba +Summary: A replacement of the old unix crypt +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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 +* Sun Aug 18 2013 Automatic Build System 2.5.8-2mamba +- automatic rebuild by autodist + +* Wed Jan 16 2008 Aleph0 2.5.8-1mamba +- update to 2.5.8 + +* Wed Jun 07 2006 Davide Madrisan 2.5.7-2qilnx +- specfile updated +- fixed underquoted definition of AM_PATH_LIBMCRYPT in libmcrypt.m4 + +* Tue Dec 23 2003 Silvan Calarco 2.5.7-1qilnx +- first build