Commit c73e92d0 authored by Muhammad Moinur Rahman's avatar Muhammad Moinur Rahman
Browse files

devel/php80-arcanist: Remove port

This is no longer required in the cluster.
parent bb0e2060
Loading
Loading
Loading
Loading
+1
Changes for MOVED: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -5804,3 +5804,4 @@ cad/astk-serveur||2026-11-06|Superseded by science/codeaster-frontend
databases/mysql267-client|databases/mysql2610-client|2026-11-06|Has expired: EOLed upstream with unfixed vulnerabilities, use databases/mysql2610-server
databases/mysql267-server|databases/mysql2610-server|2026-11-06|Has expired: EOLed upstream with unfixed vulnerabilities, use databases/mysql2610-server
devel/php80-APCu||2026-11-06|No longer required in the cluster
devel/php80-arcanist||2026-11-07|No longer required in the cluster
−1
Changes for devel/Makefile: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -4353,7 +4353,6 @@
    SUBDIR += php-pie
    SUBDIR += php-raphf
    SUBDIR += php-swoole
    SUBDIR += php80-arcanist
    SUBDIR += php82-ffi
    SUBDIR += php82-gettext
    SUBDIR += php82-intl

devel/php80-arcanist/Makefile

deleted100644 → 0
−61
Changes for devel/php80-arcanist/Makefile: 0 added lines, 61 removed lines.
Original line number Diff line number Diff line
PORTNAME=	arcanist
DISTVERSION=	20230530
CATEGORIES=	devel
PKGNAMEPREFIX=	php80-

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Phabricator Arcanist libraries (php80)
WWW=		https://secure.phabricator.com/book/arcanist/

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

.if !defined(WITH_CLUSTER_ALLOW_TECHNICAL_DEBTS)
IGNORE=		PHP 8.0 is EOL; set WITH_CLUSTER_ALLOW_TECHNICAL_DEBTS=yes in make.conf to build it
.endif

RUN_DEPENDS=	${LOCALBASE}/include/php/main/php.h:lang/php80-legacy

USES=		python:env shebangfix
USE_GITHUB=	yes
GH_ACCOUNT=	phacility
GH_TAGNAME=	e50d1bc

SHEBANG_FILES=	bin/arc bin/phage scripts/*.php scripts/hgdaemon/*.php \
		src/parser/*.php support/arcanoid/arcanoid.py support/lib/*.php \
		support/unit/*.php support/xhpast/*.php \
		support/xhpast/bin/*.php

CONFLICTS=	arc arcanist-php??

NO_ARCH=	yes
NO_BUILD=	yes
PORTSCOUT=	ignore:1

PHP_DESTDIR=	lib/php/arcanist

do-install:
	${RLN} ../${PHP_DESTDIR}/bin/arc ${STAGEDIR}${PREFIX}/bin/arc
	@${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}
	${FIND} ${WRKSRC} -type f \( -name \*.orig -o -name \*.bak \) -delete
	cd ${WRKSRC} ; ${PAX} -rw * ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/
	@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g; \
		 s|%%PHP_DESTDIR%%|${PHP_DESTDIR}|g' \
		${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/support/shell/hooks/bash-completion.sh
	@${REINPLACE_CMD} 's|%%PKGNAME%%|${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}|g; \
		 s|%%PKGVERSION%%|${PKGVERSION}|g; \
		 s|%%PKGORIGIN%%|${PKGORIGIN}|g' \
		${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/toolset/workflow/ArcanistVersionWorkflow.php
	@${REINPLACE_CMD} 's|%%PHP_CMD%%|${PREFIX}/bin/php|g' \
		${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/lint/linter/ArcanistPhpLinter.php \
		${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/moduleutils/PhutilLibraryMapBuilder.php \
		${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/phage/bootloader/PhagePHPAgentBootloader.php \
		${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/runtime/ArcanistRuntime.php \
		${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/utils/PhutilExecutionEnvironment.php \
		${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/workflow/ArcanistLiberateWorkflow.php
	@${REINPLACE_CMD} 's|%%PYTHON_CMD%%|${PYTHON_CMD}|g' \
		${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/workflow/ArcanistAnoidWorkflow.php
	${RM} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/resources/ssl/default.pem

.include <bsd.port.mk>

devel/php80-arcanist/distinfo

deleted100644 → 0
−3
Changes for devel/php80-arcanist/distinfo: 0 added lines, 3 removed lines.
Original line number Diff line number Diff line
TIMESTAMP = 1766842580
SHA256 (phacility-arcanist-20230530-e50d1bc_GH0.tar.gz) = 27b7b16b19d296ed8b25d5c1ac403b1a10a2f162cac5e4d0827746180edf06a3
SIZE (phacility-arcanist-20230530-e50d1bc_GH0.tar.gz) = 2273735
−14
Changes for devel/php80-arcanist/files/patch-src_error_PhutilErrorHandler.php: 0 added lines, 14 removed lines.
Original line number Diff line number Diff line
--- src/error/PhutilErrorHandler.php.orig	2022-05-17 23:20:14 UTC
+++ src/error/PhutilErrorHandler.php
@@ -181,6 +181,11 @@ final class PhutilErrorHandler extends Phobject {
    * @task internal
    */
   public static function handleError($num, $str, $file, $line, $ctx = null) {
+    // work around PHP 8.1+ null argument deprecation error
+    if ($num === E_DEPRECATED && preg_match('/Passing null to parameter #.* of type .* is deprecated/', $str)) {
+      return true;
+    }
+
     foreach (self::$traps as $trap) {
       $trap->addError($num, $str, $file, $line);
     }
Loading