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
| System | Port | Version |
|---|---|---|
| MidnightBSD | security/pecl-mcrypt | 1.0.7 |
| FreeBSD | security/pecl-mcrypt | 1.0.7 |
| OpenBSD | security/mcrypt | 2.6.8p8 |
| NetBSD | security/mcrypt | 2.6.8nb4 |
| DragonFly | security/pecl-mcrypt | 1.0.7 |
| HardenedBSD | security/pecl-mcrypt | 1.0.7 |
| GhostBSD | security/pecl-mcrypt | 1.0.7 |
| OPNsense | security/pecl-mcrypt | 1.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
libltdl.so: devel/libltdllibmcrypt.so: security/libmcrypt
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
| File | Size | SHA256 |
|---|---|---|
| PECL/mcrypt-1.0.7.tgz | 27060 | 12ea2fbbf2e2efbe790a12121f77bf096c8b84cef81d0216bec00d56e5badef4 |
Commit history 2
| Date | Commit | Credits | Log 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]> |