[Midnightbsd-cvs] [MidnightBSD/mports] 4c0133: net-mgmt/net-snmp: drop the bogus elfutils dependency
Lucas Holt
noreply at github.com
Sun Aug 16 18:17:50 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: 4c0133807b0672615e2dd2b1d99bbcbbb4692d4f
https://github.com/MidnightBSD/mports/commit/4c0133807b0672615e2dd2b1d99bbcbbb4692d4f
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-08-16 (Sun, 16 Aug 2026)
Changed paths:
M net-mgmt/net-snmp/Makefile
Log Message:
-----------
net-mgmt/net-snmp: drop the bogus elfutils dependency
MidnightBSD 4.x ships libelf in base, so the LIB_DEPENDS check is satisfied by
/usr/lib/libelf.so and devel/elfutils is never installed -- but the origin is
still recorded in the package, so installing net-snmp fails:
net-snmp-5.9.5.2_2,1 depends on shared library: libelf.so - found (/usr/lib/libelf.so)
mport.install: install failed: net-snmp depends on elfutils, which is not installed.
That broke net-mgmt/php82-snmp through php85-snmp, which build net-snmp as a
dependency. FreeBSD's net-snmp declares no libelf dependency either.
AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Commit: a1ce776621683ac06e15e84226b08d2b40f8a3c5
https://github.com/MidnightBSD/mports/commit/a1ce776621683ac06e15e84226b08d2b40f8a3c5
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-08-16 (Sun, 16 Aug 2026)
Changed paths:
M devel/pecl-APCu/Makefile
M devel/pecl-APCu/distinfo
Log Message:
-----------
devel/pecl-APCu: update to 5.1.28
5.1.18's config.m4 passes a stray backslash as the extra-CFLAGS argument:
PHP_NEW_EXTENSION(apcu, $apc_sources, $ext_shared,, \\$(APCU_CFLAGS))
That was harmless until PHP 8.4, whose PHP_ADD_SOURCES_X appends
-DZEND_COMPILE_DL_EXT=1 directly after it. The recipe then contains
"\ -DZEND_COMPILE_DL_EXT=1", an escaped leading space, so the shell passes the
flag as a single argument and the compiler treats it as a file name:
cc: error: no such file or directory: ' -DZEND_COMPILE_DL_EXT=1'
5.1.28 quotes the argument properly, fixing the php84 and php85 flavors.
AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Commit: 08bc6b97a8ada191fa2de56092f70d5d22d9d3a8
https://github.com/MidnightBSD/mports/commit/08bc6b97a8ada191fa2de56092f70d5d22d9d3a8
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-08-16 (Sun, 16 Aug 2026)
Changed paths:
M databases/pecl-redis/Makefile
M databases/pecl-redis/distinfo
Log Message:
-----------
databases/pecl-redis: update to 6.3.0
5.3.5 predates PHP 8.4, which removed ext/standard/php_rand.h:
backoff.c:3:10: fatal error: 'ext/standard/php_rand.h' file not found
redis.c:30:10: fatal error: 'standard/php_random.h' file not found
Track the version FreeBSD ships, which supports PHP 8.4 and 8.5, and pick up
its LZ4 and ZSTD options. The IGBINARY option keeps only the configure flag:
converters/pecl-igbinary does not exist in mports yet.
AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Commit: 3300e94d952709ecf4a190266e766c6cd5825ee3
https://github.com/MidnightBSD/mports/commit/3300e94d952709ecf4a190266e766c6cd5825ee3
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-08-16 (Sun, 16 Aug 2026)
Changed paths:
M security/pecl-mcrypt/Makefile
M security/pecl-mcrypt/distinfo
Log Message:
-----------
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) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Compare: https://github.com/MidnightBSD/mports/compare/56d9932ac4d5...3300e94d9527
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list