Репозиторий Sisyphus
Последнее обновление: 24 сентября 2022 | Пакетов: 17655 | Посещений: 25030705
en ru br
Репозитории ALT

Группа :: Система/Серверы
Пакет: php8.1-mcrypt

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

%def_without check
%define php_extension mcrypt
%define mcrypt_version 1.0.4

Name: php%_php_suffix-%php_extension
Version: %mcrypt_version
Release: alt3.%_php_release_version
Epoch: 1

Summary: Mcrypt library support for PHP
Group: System/Servers
License: PHP-3.01
Source0: php-mcrypt-%mcrypt_version.tar
Source1: php-%php_extension.ini
Source2: php-%php_extension-params.sh

BuildRequires(pre): rpm-build-php8.1-version
BuildRequires: php-devel = %php_version

BuildRequires:  libmcrypt-devel libltdl-devel

%description
The %name includes a dynamic shared object (DSO) that adds
Mcrypt support to PHP. The libmcrypt is a data encryption library.  The
library is thread safe and provides encryption and decryption functions.
This version of the library supports many encryption algorithms and
encryption modes. Some algorithms which are supported: SERPENT,
RIJNDAEL, 3DES, GOST, SAFER+, CAST-256, RC2, XTEA, 3WAY, TWOFISH,
BLOWFISH, ARCFOUR, WAKE and more. Install this package in addition
to main PHP package if you plan to use any of these algorithms.

%prep
%setup -n php-%php_extension-%mcrypt_version

%build
phpize

BUILD_HAVE=`echo %php_extension | tr '[:lower:]-' '[:upper:]_'`
%add_optflags -fPIC -L%_libdir
export LDFLAGS=-lphp-%_php_version
%configure \
--with-%php_extension=%_usr
%php_make

%install
%php_make_install
install -D -m 644 %SOURCE1 %buildroot/%php_extconf/%php_extension/config
install -D -m 644 %SOURCE2 %buildroot/%php_extconf/%php_extension/params

%check
NO_INTERACTION=1 make test

%files
%php_extconf/%php_extension
%php_extdir/*

%post
%php_extension_postin

%preun
%php_extension_preun

%changelog

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

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