Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37402777
en ru br
Репозитории ALT
4.1: 2.6.4-alt2
4.0: 2.6.4-alt2
3.0: 2.6.4-alt2
www.altlinux.org/Changes

Группа :: Работа с файлами
Пакет: mcrypt

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: mcrypt
Version: 2.6.4
Release: alt2

Summary: Encrypt or decrypt files
License: GPL
Group: File tools
Url: http://hq.hellug.gr/~mcrypt/%name/

Source: ftp://mcrypt.hellug.gr/pub/mcrypt/%name-%version.tar.bz2
Patch1: mcrypt-2.6.0-hack.patch

# Automatically added by buildreq on Tue Oct 22 2002

BuildRequires: libmcrypt-devel libmhash-devel zlib-devel

%description
Mcrypt is a simple crypting program, a replacement for the old unix crypt(1).

Mcrypt uses the following symmetric (block) algorithms:
+ DES: standard DED with 56 bit key and 64 bit block;
+ 3DES(Triple DES): DES but with multiple (triple) encryption;
+ CAST-128: extended CAST with 128bit key and 64bit block size;
+ CAST-256: extended CAST-128 with 128bit key and up to 256bit block size;
+ xTEA: extended TEA with 128bit key size and 64bit block size;
+ 3-WAY: 3way by Joan Daemen, uses key and block size of 96 bits;
+ BLOWFISH: standard Blowfish by Bruce Schneier, uses key up to 448 bits;
+ TWOFISH: standard Twofish, uses 128bit block size and 128,192,256 bit key size;
+ LOKI97: uses 128bit block size and 256bit key size;
+ RC2: standard RC2 as described in RFC2268, uses 64bit block size and key size from 8 to 1024 bits;
+ RC4: alternative implementation (ARCFOUR), has a maximum key of 2048 bits;
+ RIJNDAEL: AES winner, has a variable block length and key length;
+ PANAMA: designed by Joan Daemen and Craig Clapp;
+ WAKE: designed by David J. Wheeler;
+ SERPENT: AES candidate, uses 128bit block size;
+ UNIX crypt: encient "Enigma" crypt (not recommended);
+ GOST: uses 256bit key and a 64bit block;
+ SAFER: strengthened SAFER with 64bit or 128bit key size;
+ SAFER+: uses 128bit block size and 128, 192 and 256 bits key size.
The default algorithm is Twofish.

All the block algorithms above support following modes of encryption:
ECB, CBC, CFB, OFB, nOFB; default mode is CBC.

%prep
%setup -q
%patch1 -p1

%__subst 's at -ldmalloc at  at ' src/Makefile.am
%__subst 's at -ldmalloc at  at ' src/Makefile.in
%__subst 's at -lltdl at  at ' configure
%__subst 's at autoconf at autoconf_2.5 at ' configure
%__subst 's at autoheader at autoheader_2.5 at ' configure
%__subst 's at -lltdl at  at ' aclocal.m4
%__subst 's at 1.6.2 at 1.6.1 at ' aclocal.m4

rm -f acinclude.m4

%build
autoreconf -I m4

%configure
#NO SMP
%make

%install
%makeinstall transform=
%find_lang %name

%files -f %name.lang
%_bindir/*
%_mandir/man?/*
%doc AUTHORS NEWS README THANKS TODO doc/{FORMAT,sample.mcryptrc}

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin