Page MenuHomeFreeBSD

D32790.id97833.diff
No OneTemporary

D32790.id97833.diff

diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -18,7 +18,7 @@
LOCALBASE?= /usr/local
.for lang in APACHE BDB COROSYNC EMACS FIREBIRD FORTRAN FPC GCC GHOSTSCRIPT GL \
- IMAGEMAGICK JAVA LAZARUS LIBRSVG2 LINUX LLVM LUA MYSQL NINJA PERL5 \
+ IMAGEMAGICK JAVA LAZARUS LIBRSVG2 LINUX LLVM LUA MYSQL NINJA NODEJS PERL5 \
PGSQL PHP PYTHON PYTHON2 PYTHON3 RUBY RUST SAMBA SSL TCLTK VARNISH
.if defined(${lang}_DEFAULT)
ERROR+= "The variable ${lang}_DEFAULT is set and it should only be defined through DEFAULT_VERSIONS+=${lang:tl}=${${lang}_DEFAULT} in /etc/make.conf"
@@ -163,4 +163,7 @@
# Possible values: 4, 6
VARNISH_DEFAULT?= 4
+# Possible value: 10, 14, 16, 17
+NODEJS_DEFAULT?= 16
+
.endif
diff --git a/devel/node-thrift/Makefile b/devel/node-thrift/Makefile
--- a/devel/node-thrift/Makefile
+++ b/devel/node-thrift/Makefile
@@ -2,6 +2,7 @@
PORTNAME= thrift
PORTVERSION= ${THRIFT_PORTVERSION}
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= APACHE/thrift/${PORTVERSION}
PKGNAMEPREFIX= node-
@@ -9,9 +10,7 @@
MAINTAINER= ports@FreeBSD.org
COMMENT= Node.js bindings for the Apache Thrift RPC system
-RUN_DEPENDS= node:www/node
-
-USES= cpe
+USES= cpe nodejs
CPE_VENDOR= apache
NO_BUILD= yes
diff --git a/devel/purescript-language-server/Makefile b/devel/purescript-language-server/Makefile
--- a/devel/purescript-language-server/Makefile
+++ b/devel/purescript-language-server/Makefile
@@ -1,5 +1,6 @@
PORTNAME= purescript-language-server
PORTVERSION= 0.15.7
+PORTREVISION= 1
CATEGORIES= devel textproc
MASTER_SITES= https://github.com/nwolverson/${PORTNAME}/releases/download/v${PORTVERSION}/
DISTNAME= ${PORTNAME}.js
@@ -11,7 +12,7 @@
LICENSE= MIT
-RUN_DEPENDS= node:www/node
+USES= nodejs
NO_BUILD= yes
NO_ARCH= yes
diff --git a/devel/rubygem-execjs/Makefile b/devel/rubygem-execjs/Makefile
--- a/devel/rubygem-execjs/Makefile
+++ b/devel/rubygem-execjs/Makefile
@@ -2,7 +2,7 @@
PORTNAME= execjs
PORTVERSION= 2.8.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel rubygems
MASTER_SITES= RG
@@ -12,22 +12,11 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
-USES= gem
+USES= gem nodejs
USE_RUBY= yes
NO_ARCH= yes
-OPTIONS_SINGLE= BACKEND
-OPTIONS_SINGLE_BACKEND= NODE NODE14 NODE16
-OPTIONS_DEFAULT=NODE16
-NODE_DESC= Use www/node as backend
-NODE14_DESC= Use www/node14 as backend
-NODE16_DESC= Use www/node16 as backend
-
-NODE_RUN_DEPENDS= node>=0:www/node
-NODE14_RUN_DEPENDS= node14>=0:www/node14
-NODE16_RUN_DEPENDS= node16>=0:www/node16
-
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/lib/execjs/runtimes.rb
diff --git a/devel/sonar-scanner-cli/Makefile b/devel/sonar-scanner-cli/Makefile
--- a/devel/sonar-scanner-cli/Makefile
+++ b/devel/sonar-scanner-cli/Makefile
@@ -1,6 +1,6 @@
PORTNAME= sonar-scanner-cli
DISTVERSION= 4.4.0.2170
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel security www java
MASTER_SITES= https://binaries.sonarsource.com/Distribution/${PORTNAME}/
@@ -10,9 +10,7 @@
LICENSE= LGPL3
# node -> JS analysis
-RUN_DEPENDS= node:www/node
-
-USES= cpe zip
+USES= cpe nodejs zip
CPE_VENDOR= sonarsource
CPE_PRODUCT= sonarqube_scanner
USE_JAVA= yes
diff --git a/lang/coffeescript/Makefile b/lang/coffeescript/Makefile
--- a/lang/coffeescript/Makefile
+++ b/lang/coffeescript/Makefile
@@ -1,5 +1,6 @@
PORTNAME= coffeescript
DISTVERSION= 2.6.1
+PORTREVISION= 1
CATEGORIES= lang
MAINTAINER= egypcio@FreeBSD.org
@@ -8,8 +9,7 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= node:www/node
-
+USES= nodejs
USE_GITHUB= yes
GH_ACCOUNT= jashkenas
diff --git a/net/cjdns/Makefile b/net/cjdns/Makefile
--- a/net/cjdns/Makefile
+++ b/net/cjdns/Makefile
@@ -3,6 +3,7 @@
PORTNAME= cjdns
DISTVERSIONPREFIX= cjdns-v
DISTVERSION= 21.1
+PORTREVISION= 1
CATEGORIES= net security
MAINTAINER= yuri@FreeBSD.org
@@ -11,10 +12,9 @@
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= node:www/node \
- bash:shells/bash
+BUILD_DEPENDS= bash:shells/bash
-USES= gmake python
+USES= gmake nodejs python
USE_GITHUB= yes
GH_ACCOUNT= cjdelisle
USE_RC_SUBR= cjdns
diff --git a/security/greenbone-security-assistant/Makefile b/security/greenbone-security-assistant/Makefile
--- a/security/greenbone-security-assistant/Makefile
+++ b/security/greenbone-security-assistant/Makefile
@@ -1,6 +1,7 @@
PORTNAME= greenbone-security-assistant
DISTVERSIONPREFIX= v
DISTVERSION= 21.4.2
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= LOCAL/acm/gsa/:yarn_cache
DISTFILES= ${PORTNAME}-cache${EXTRACT_SUFX}:yarn_cache
@@ -10,8 +11,7 @@
LICENSE= AGPLv3+
-BUILD_DEPENDS= node:www/node \
- yarn:www/yarn
+BUILD_DEPENDS= yarn:www/yarn
LIB_DEPENDS= libgvm_base.so:security/gvm-libs \
libgnutls.so:security/gnutls \
libgcrypt.so:security/libgcrypt \
@@ -20,7 +20,7 @@
RUN_DEPENDS= doxygen>0:devel/doxygen \
${PYTHON_PKGNAMEPREFIX}polib>=0:devel/py-polib@${PY_FLAVOR}
-USES= cmake gettext-runtime gnome pkgconfig python
+USES= cmake gettext-runtime gnome nodejs pkgconfig python
USE_GNOME= glib20 libxml2
USE_GITHUB= yes
diff --git a/textproc/kibana6/Makefile b/textproc/kibana6/Makefile
--- a/textproc/kibana6/Makefile
+++ b/textproc/kibana6/Makefile
@@ -1,5 +1,6 @@
PORTNAME= kibana
PORTVERSION= 6.8.16
+PORTREVISION= 1
DISTVERSIONSUFFIX= -darwin-x86_64
CATEGORIES= textproc www
MASTER_SITES= https://artifacts.elastic.co/downloads/kibana/ \
@@ -14,9 +15,7 @@
DEPRECATED= Uses EOL Python 2.7 via www/node10
EXPIRATION_DATE= 2021-06-23
-RUN_DEPENDS= node10>=10.15.2:www/node10
-
-USES= cpe
+USES= cpe nodejs:10
CPE_VENDOR= elastic
USE_RC_SUBR= ${PORTNAME}
diff --git a/textproc/kibana7/Makefile b/textproc/kibana7/Makefile
--- a/textproc/kibana7/Makefile
+++ b/textproc/kibana7/Makefile
@@ -15,13 +15,11 @@
LICENSE= APACHE20
-BUILD_DEPENDS= node14>=14.17.6:www/node14 \
- npm-node14>0:www/npm-node14
+BUILD_DEPENDS= npm-node14>0:www/npm-node14
LIB_DEPENDS= libre2.so:devel/re2 \
libuv.so:devel/libuv
-RUN_DEPENDS= node14>=14.17.6:www/node14
-USES= compiler:c++14-lang cpe python:build
+USES= compiler:c++14-lang cpe nodejs:14 python:build
CPE_VENDOR= elastic
USE_GITHUB= nodefault
diff --git a/textproc/opensearch-dashboards/Makefile b/textproc/opensearch-dashboards/Makefile
--- a/textproc/opensearch-dashboards/Makefile
+++ b/textproc/opensearch-dashboards/Makefile
@@ -1,5 +1,6 @@
PORTNAME= opensearch-dashboards
DISTVERSION= 1.1.0
+PORTREVISION= 1
DISTVERSIONSUFFIX= -linux-x64
CATEGORIES= textproc www
MASTER_SITES= https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/
@@ -10,11 +11,9 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-BUILD_DEPENDS= node14>=14.17.0:www/node14 \
- npm-node14>0:www/npm-node14
-RUN_DEPENDS= node14>=14.17.0:www/node14
+BUILD_DEPENDS= npm-node14>0:www/npm-node14
-USES= python:build
+USES= nodejs:14 python:build
USE_RC_SUBR= ${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/www/csso/Makefile b/www/csso/Makefile
--- a/www/csso/Makefile
+++ b/www/csso/Makefile
@@ -3,7 +3,7 @@
PORTNAME= csso
PORTVERSION= 1.3.9
DISTVERSIONPREFIX= v
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://nivit.altervista.org/FreeBSD/ports/distfiles/
@@ -13,7 +13,7 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE.txt
-RUN_DEPENDS= node:www/node
+USES= nodejs
GH_ACCOUNT= css
diff --git a/www/npm-node14/Makefile b/www/npm-node14/Makefile
--- a/www/npm-node14/Makefile
+++ b/www/npm-node14/Makefile
@@ -4,8 +4,7 @@
CONFLICTS_INSTALL= npm
-OPTIONS_EXCLUDE=NODE
-OPTIONS_SLAVE= NODE14
+USES= cpe nodejs:14 python:3.5+ shebangfix tar:xz
MASTERDIR= ${.CURDIR}/../npm
diff --git a/www/npm/Makefile b/www/npm/Makefile
--- a/www/npm/Makefile
+++ b/www/npm/Makefile
@@ -2,6 +2,7 @@
PORTNAME= npm
PORTVERSION= 6.14.8
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= LOCAL/sunpoet
@@ -13,7 +14,7 @@
RUN_DEPENDS= gmake:devel/gmake
-USES= cpe python:3.5+ shebangfix tar:xz
+USES?= cpe nodejs python:3.5+ shebangfix tar:xz
NO_ARCH= yes
NO_BUILD= yes
@@ -21,20 +22,11 @@
CONFLICTS_INSTALL?= npm-node14
-OPTIONS_SINGLE= BACKEND
-OPTIONS_SINGLE_BACKEND= NODE NODE14
-OPTIONS_DEFAULT=NODE
-NODE_DESC= Use www/node as backend
-NODE14_DESC= Use www/node14 as backend
-
CPE_VENDOR= npmjs
SHEBANG_GLOB= *.py
SHEBANG_FILES= lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples
-NODE_RUN_DEPENDS= node>=0.8.0:www/node
-NODE14_RUN_DEPENDS= node14>=0.8.0:www/node14
-
.include <bsd.port.pre.mk>
.if ${ARCH} == i386
diff --git a/www/yarn-node14/Makefile b/www/yarn-node14/Makefile
--- a/www/yarn-node14/Makefile
+++ b/www/yarn-node14/Makefile
@@ -4,8 +4,7 @@
CONFLICTS_INSTALL= yarn
-OPTIONS_EXCLUDE= NODE NODE16
-OPTIONS_SLAVE= NODE14
+USES+= nodejs:14
MASTERDIR= ${.CURDIR}/../yarn
diff --git a/www/yarn-node16/Makefile b/www/yarn-node16/Makefile
--- a/www/yarn-node16/Makefile
+++ b/www/yarn-node16/Makefile
@@ -4,8 +4,7 @@
CONFLICTS_INSTALL= yarn
-OPTIONS_EXCLUDE= NODE NODE14
-OPTIONS_SLAVE= NODE16
+USES+= nodejs:16
MASTERDIR= ${.CURDIR}/../yarn
diff --git a/www/yarn/Makefile b/www/yarn/Makefile
--- a/www/yarn/Makefile
+++ b/www/yarn/Makefile
@@ -1,7 +1,7 @@
PORTNAME= yarn
DISTVERSIONPREFIX= v
DISTVERSION= 1.22.17
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= https://yarnpkg.com/downloads/${PORTVERSION}/
@@ -11,26 +11,17 @@
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cpe
+USES?= cpe nodejs
CPE_VENDOR= ${PORTNAME}pkg
CONFLICTS_INSTALL?= yarn-node16 yarn-node14 yarn-node10
OPTIONS_DEFINE= HADOOPCOMPAT
OPTIONS_SINGLE= BACKEND
-OPTIONS_SINGLE_BACKEND= NODE16 NODE14 NODE
-OPTIONS_DEFAULT= NODE
HADOOPCOMPAT_DESC= hadoop2 compatibility, the yarn script is excluded
-NODE_DESC= Use www/node as backend
-NODE14_DESC= Use www/node14 as backend
-NODE16_DESC= Use www/node16 as backend
OPTIONS_SUB= yes
-NODE_RUN_DEPENDS= node>=0.8.0:www/node
-NODE14_RUN_DEPENDS= node14>=14.0.0:www/node14
-NODE16_RUN_DEPENDS= node16>=16.0.0:www/node16
-
HADOOPCOMPAT_CONFLICTS_INSTALL_OFF= hadoop2*
NO_ARCH= yes

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 25, 7:38 AM (13 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27243804
Default Alt Text
D32790.id97833.diff (10 KB)

Event Timeline