BSD Ports

security/pecl-mcrypt 1.0.7 MidnightBSD

PHP extension for mcrypt, removed in PHP 7.2

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
7a7c9ab1df
License
PHP301
Categories
security, pear

Description

Bindings for the libmcrypt library

Pecl package available only for PHP 7.2

In the other systems

SystemPortVersion
MidnightBSDsecurity/pecl-mcrypt1.0.7
FreeBSDsecurity/pecl-mcrypt1.0.7
OpenBSDsecurity/mcrypt2.6.8p8
NetBSDsecurity/mcrypt2.6.8nb4
DragonFlysecurity/pecl-mcrypt1.0.7
HardenedBSDsecurity/pecl-mcrypt1.0.7
GhostBSDsecurity/pecl-mcrypt1.0.7
OPNsensesecurity/pecl-mcrypt1.0.7

Install

Binary package:

mport install mcrypt

From mports:

cd /usr/mports/security/pecl-mcrypt && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	mcrypt>0:security/pecl-mcrypt

Dependencies

As this port's Makefile names them.

Library 2

Build dependencies 2
Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

USES
php:pecl
Service scripts
none

Files

distinfo 1
FileSizeSHA256
PECL/mcrypt-1.0.7.tgz2706012ea2fbbf2e2efbe790a12121f77bf096c8b84cef81d0216bec00d56e5badef4

Commit history 2

DateCommitCreditsLog message
7a7c9ab1df Lucas Holt security/pecl-mcrypt: fix the build against PHP 8.4 and later
1.0.7 still includes ext/standard/php_rand.h, which PHP 8.4 removed: mcrypt.c:41:10: fatal error: 'ext/standard/php_rand.h' file not found Import FreeBSD's patch, which selects ext/random/php_random.h from 8.4 on. The hunk is guarded by PHP_VERSION_ID >= 80400, so php82 and php83 are unaffected. AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>
3300e94d95 Lucas Holt security/pecl-mcrypt: update to 1.0.7
1.0.4 does not build against PHP 8.4 or 8.5. Track the version FreeBSD ships. The IGNORE_WITH_PHP=71 line and the RETURN_FALSE/RETURN_TRUE post-patch are no longer needed: the lowest PHP in the tree is 8.2 and upstream fixed the missing semicolons. AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>