yarnpkg is no longer available in Debian/bookworm, while we already
Build-Depend on nodejs >= 18 (also for Debian/bullseye), so instead lets
ship a bundled yarnpkg, like we do also in e.g. ngcp-rest-api.
Related to git commit 4b03168df1
Change-Id: I5098f2f188a36eb72e0f01b49da7472f2c53b83f
* debian/rules:
- set explit NODE_PATH env to correctly locate
system node pacakages that are installed by yarnpkg
during the build stage
- add NODE_OPTIONS=--openssl-legacy-provider
as quasar v2 uses webpack v4 atm and this option is for
backward-compatibility until webpack is upgraded to v5
* debian/control
- add dependency on node (>= 18) to avoid this
package to be run on older node versions for consistency
- add dependency on python3 as otherwise the built-in
'multiprocessing' module is not there (required by gyp build)
Change-Id: Ie8b3bb1914ecf012e653c8b9e81b75c457995ef0
Debian/buster provides yarnpkg, but as of Debian/bullseye
it's named yarn (as provided by upstream).
Recent yarn versions also depend on node.js:
| Yarn requires Node.js 4.0 or higher to be installed.
Correspondingly Build-Depend on yarnpkg | nodejs (>= 12.19.0~) (to
support buster + bullseye at the same time), using the nodejs package
version as present in current Debian/testing (bullseye) as base.
Change-Id: I311e814beb3ca3f606b543e6116476f222276d78
Debian/buster as of 2018-09-07 provides npm v5.8.0+ds-2.
Fall back to nodejs if npm isn't available (e.g.
on Debian/stretch with nodejs in our own repositories).
Change-Id: I27c259d6a671aea47a972d39d1f5cdec1f26ff10
- Bump Standards-Version to 3.9.8.
- Bump debhelper compatibility version 10.
- Switch from Priority extra to optional.
- Canonicalize Homepage URL.
- New debian/.gitignore file.
Change-Id: Icc592cc919607041912147482ec30b22d53b3c52