From 6a39fff51c9dd83152b769f87b4068a4517c10e0 Mon Sep 17 00:00:00 2001 From: Northern Man <19808920+NorthernMan54@users.noreply.github.com> Date: Mon, 29 Apr 2024 09:55:02 -0400 Subject: [PATCH] Update to NodeJS 20 --- README.md | 2 +- build.sh | 7 +++---- deb/debian/control | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3801036..192cb13 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,7 @@ https://wiki.debian.org/MaintainerScripts ## License -Copyright (C) 2023 oznu +Copyright (C) 2024 homebridge This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. diff --git a/build.sh b/build.sh index 4e51956..0976831 100755 --- a/build.sh +++ b/build.sh @@ -15,13 +15,12 @@ fi rm -rf staging cp -R deb staging -# Hold the NodeJS version to the 18.x LTS stream until spring of 2024, then switch to `Iron` aka 20.0 LTS +# Hold the NodeJS version to the 20.x LTS stream until 22 goes LTS +# deb/debian/control `libc6 (>= 2.31)` may need updating as well -NODE_LTS_TAG="Hydrogen" +NODE_LTS_TAG="Iron" NODE_VERSION="$(curl -s https://nodejs.org/dist/index.json | jq -r --arg NODE_LTS_TAG "${NODE_LTS_TAG}" 'map(select(.lts==$NODE_LTS_TAG))[0].version')" - - BUILD_ARCH=${QEMU_ARCH:-x86_64} case "$BUILD_ARCH" in \ diff --git a/deb/debian/control b/deb/debian/control index d6f734f..c4826d8 100644 --- a/deb/debian/control +++ b/deb/debian/control @@ -6,6 +6,6 @@ Build-Depends: debhelper (>= 9.20160709) | dh-systemd Standards-Version: 4.0.0 Package: homebridge -Pre-Depends: libc6 (>= 2.28), jq (>= 1.4), openssl, psmisc, make, gcc, g++, python3, net-tools, python3-venv, python3-dev +Pre-Depends: libc6 (>= 2.31), jq (>= 1.4), openssl, psmisc, make, gcc, g++, python3, net-tools, python3-venv, python3-dev Architecture: any Description: HomeKit support for the impatient.