Commit 541c8e90 authored by Rene Ladan's avatar Rene Ladan
Browse files

www/*node25: remove expired port

parent e2fdcf5d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5451,3 +5451,6 @@ net/unison248||2026-06-30|Has expired: Legacy release unsupported by upstream
databases/adminer||2026-06-30|Has expired: Project's poor security practices
net/libyang||2026-06-30|Has expired: No longer maintained
japanese/wnn7egg||2026-06-30|Has expired: Abandoned, A patch is needed for the current version of Emacs
www/node25|www/node26|2026-06-30|Has expired: Node.js 25.* will reach its EoL on 2026-06-01. Use Node.js 26.* (www/node26) instead
www/npm-node25|www/npm-node26|2026-06-30|Has expired: consumer of www/node25
www/yarn-node25|www/yarn-node26|2026-06-30|Has expired: consumer of www/node25
+0 −3
Original line number Diff line number Diff line
@@ -522,7 +522,6 @@
    SUBDIR += node20
    SUBDIR += node22
    SUBDIR += node24
    SUBDIR += node25
    SUBDIR += node26
    SUBDIR += nostromo
    SUBDIR += novnc
@@ -531,7 +530,6 @@
    SUBDIR += npm-node20
    SUBDIR += npm-node22
    SUBDIR += npm-node24
    SUBDIR += npm-node25
    SUBDIR += npm-node26
    SUBDIR += nyxt
    SUBDIR += oatpp
@@ -2751,7 +2749,6 @@
    SUBDIR += yarn-node20
    SUBDIR += yarn-node22
    SUBDIR += yarn-node24
    SUBDIR += yarn-node25
    SUBDIR += yarn-node26
    SUBDIR += yarr
    SUBDIR += yaws

www/node25/Makefile

deleted100644 → 0
+0 −139
Original line number Diff line number Diff line
PORTNAME=	node
PORTVERSION=	${NODEJS_PORTVERSION}
DISTVERSIONPREFIX=	v
PORTREVISION=	2
CATEGORIES=	www
MASTER_SITES=	https://nodejs.org/dist/v${PORTVERSION}/
PKGNAMESUFFIX=	${PORTVERSION:R:R}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	V8 JavaScript for client and server
WWW=		https://nodejs.org/ \
		https://github.com/nodejs/node

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_SSL=	libressl libressl-devel
BROKEN_SSL_REASON=	Node.js ${PORTVERSION:R:R}.x requires OpenSSL or the BUNDLED_SSL option enabled
DEPRECATED=	Node.js 25.* will reach its EoL on 2026-06-01. Use Node.js 26.* (www/node26) instead
EXPIRATION_DATE=2026-06-30
ONLY_FOR_ARCHS=	aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le

BUILD_DEPENDS=	objdump:devel/binutils
LIB_DEPENDS=	libada.so:devel/libada \
		libbrotlidec.so:archivers/brotli \
		libcares.so:dns/c-ares \
		libgtest.so:devel/googletest \
		libhdr_histogram.so:graphics/hdr_histogram \
		libicui18n.so:devel/icu \
		libLIEF.so:devel/lief \
		libllhttp.so:www/llhttp \
		libmerve.so:devel/merve \
		libnbytes.so:www/nbytes \
		libnghttp2.so:www/libnghttp2 \
		libnghttp3.so:www/libnghttp3 \
		libngtcp2.so:net/libngtcp2 \
		libsimdjson.so:devel/simdjson \
		libuv.so:devel/libuv \
		libuvwasi.so:devel/uvwasi \
		libzstd.so:archivers/zstd
RUN_DEPENDS=	corepack>=0:www/corepack

USES=		compiler:c++20-lang gmake localbase pkgconfig python:build shebangfix sqlite tar:xz

CONFIGURE_ARGS=	--prefix=${PREFIX:S|^${DESTDIR}||} \
		--shared-ada \
		--shared-brotli \
		--shared-cares \
		--shared-gtest \
		--shared-hdr-histogram \
		--shared-http-parser \
		--shared-libuv \
		--shared-lief \
		--shared-merve \
		--shared-nbytes \
		--shared-nghttp2 \
		--shared-nghttp3 \
		--shared-ngtcp2 \
		--shared-simdjson \
		--shared-sqlite \
		--shared-uvwasi \
		--shared-uvwasi-includes=${LOCALBASE}/include \
		--shared-zlib \
		--shared-zstd \
		--with-intl=system-icu \
		--without-npm
CXXFLAGS_powerpc64=	-mpower8-vector
HAS_CONFIGURE=	yes
MAKE_ENV=	CC.host="${CCACHE_BIN} ${CC}" \
		CFLAGS.host="${CFLAGS}" \
		CXX.host="${CCACHE_BIN} ${CXX}" \
		CXXFLAGS.host="${CXXFLAGS}" \
		LDFLAGS.host="${LDFLAGS}" \
		LINK.host="${CXX}"
REINPLACE_ARGS=	-i ''

CONFLICTS_INSTALL=	node[0-9][0-9]

SHEBANG_FILES=	deps/v8/third_party/inspector_protocol/*.py \
		deps/v8/tools/*.py \
		tools/*.py \
		tools/inspector_protocol/*.py

OPTIONS_DEFINE=	BUNDLED_SSL DOCS JIT
OPTIONS_DEFAULT=JIT
OPTIONS_SUB=	yes
BUNDLED_SSL_DESC=	Use bundled OpenSSL implementation from node.js
JIT_DESC=		Use Just In Time compiler

BUNDLED_SSL_CONFIGURE_OFF=	--openssl-use-def-ca-store --shared-openssl
BUNDLED_SSL_USES_OFF=	ssl
JIT_CONFIGURE_OFF=	--v8-lite-mode

.include "Makefile.version"
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MBUNDLED_SSL} && ${ARCH} != amd64
CONFIGURE_ARGS+=--openssl-no-asm
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/tools/v8_gypfiles/v8.gyp
# Clean up bundled libraries
	@${RM} -r ${WRKSRC}/deps/ada/
	@${RM} -r ${WRKSRC}/deps/brotli/
	@${RM} -r ${WRKSRC}/deps/cares/
	@${RM} -r ${WRKSRC}/deps/googletest/
	@${RM} -r ${WRKSRC}/deps/histogram/
	@${RM} -r ${WRKSRC}/deps/icu-small/
	@${RM} -r ${WRKSRC}/deps/LIEF/
	@${RM} -r ${WRKSRC}/deps/llhttp/
	@${RM} -r ${WRKSRC}/deps/merve/
	@${RM} -r ${WRKSRC}/deps/nbytes/
	@${RM} -r ${WRKSRC}/deps/nghttp2/
	@${RM} -r ${WRKSRC}/deps/ngtcp2/
	@${RM} -r ${WRKSRC}/deps/npm/
	@${RM} -r ${WRKSRC}/deps/simdjson/
	@${RM} -r ${WRKSRC}/deps/sqlite/
	@${RM} -r ${WRKSRC}/deps/uv/
	@${RM} -r ${WRKSRC}/deps/uvwasi/
	@${RM} -r ${WRKSRC}/deps/zlib/
	@${RM} -r ${WRKSRC}/deps/zstd/

post-configure:
	# Post-process Makefile and *.mk files created by node-gyp and remove
	# all occurrences of -I${LOCALBASE}/include. C*FLAGS include this
	# before all -I../deps/* for bundled code. This can cause build
	# breakages if the dependency is installed in ${LOCALBASE}. The
	# USES+=localbase above will ensure that we pick up includes for real
	# external dependencies.
	@${FIND} ${WRKSRC}/out -type f -print0 | ${XARGS} -0 ${REINPLACE_CMD} -e 's|-I${LOCALBASE}/include||g'

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node

post-install-BUNDLED_SSL-on:
	cd ${STAGEDIR}${PREFIX} && ${FIND} include/node/openssl/ -type f >> ${TMPPLIST}

.include <bsd.port.mk>

www/node25/Makefile.version

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
NODEJS_PORTVERSION=	25.9.0

www/node25/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1775424018
SHA256 (node-v25.9.0.tar.xz) = 8f78af3ee55fb278668b5f801db58bd1a38ea161318eb5ce2128ddbc9cd813aa
SIZE (node-v25.9.0.tar.xz) = 57535080
Loading