Date: Thursday, August 16, 2018 @ 14:40:19 Author: archange Revision: 371975
upgpkg: nodejs-lts-carbon 8.11.4-1 Also rebuild against OpenSSL 1.0 instead of 1.1 (FS#59394) Added: nodejs-lts-carbon/trunk/node.install Modified: nodejs-lts-carbon/trunk/PKGBUILD --------------+ PKGBUILD | 15 +++++++++------ node.install | 11 +++++++++++ 2 files changed, 20 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-08-16 13:42:06 UTC (rev 371974) +++ PKGBUILD 2018-08-16 14:40:19 UTC (rev 371975) @@ -1,25 +1,27 @@ # Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archa...@archlinux.org> pkgname=nodejs-lts-carbon -pkgver=8.11.3 -pkgrel=4 +pkgver=8.11.4 +pkgrel=1 pkgdesc='Evented I/O for V8 javascript (LTS release: Carbon)' arch=('x86_64') url="https://nodejs.org/" license=('MIT') -depends=('openssl' 'zlib' 'icu' 'libuv' 'http-parser' 'c-ares' 'libnghttp2') +depends=('openssl-1.0' 'zlib' 'icu' 'libuv' 'http-parser' 'c-ares' 'libnghttp2') makedepends=('python2' 'procps-ng') optdepends=('npm: nodejs package manager') +install=node.install provides=("nodejs=$pkgver") conflicts=('nodejs') source=("${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz" add-icu-prefix-before-ICU-symbols.patch) # https://nodejs.org/download/release/latest-carbon/SHASUMS256.txt.asc -sha256sums=('577c751fdca91c46c60ffd8352e5b465881373bfdde212c17c3a3c1bd2616ee0' +sha256sums=('fbce7de6d96b0bcb0db0bf77f0e6ea999b6755e6930568aedaab06847552a609' 'b0b22c490c4b4e7ed4bad46d1989e980a0ba30299855ec0164ff3d11384833c7') -validpgpkeys=('C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8' # Myles Borins <mylesbor...@google.com> +validpgpkeys=('C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8' # Myles Borins <mylesbor...@google.com> '77984A986EBC2AA786BC0F66B01FBB92821C587A' # Gibson Fahnestock <gibf...@gmail.com> - 'B9AE9905FFD7803F25714661B63B535A4C206CA9') # Evan Lucas <evanlu...@me.com> + 'B9AE9905FFD7803F25714661B63B535A4C206CA9' # Evan Lucas <evanlu...@me.com> + 'DD8F2338BAE7501E3DD5AC78C273792F7D83545D') # Rod Vagg <r...@vagg.org> prepare() { cd node-v${pkgver} @@ -41,6 +43,7 @@ build() { cd node-v${pkgver} + export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig export PYTHON=python2 ./configure \ --prefix=/usr \ Added: node.install =================================================================== --- node.install (rev 0) +++ node.install 2018-08-16 14:40:19 UTC (rev 371975) @@ -0,0 +1,11 @@ +post_upgrade() { + if [ $(vercmp $2 8.11.4-1) -lt 0 ] ; then + cat << EOF + +According to upstream policy, this package was rebuilt against OpenSSL 1.0.x instead of 1.1.x. +Any depending package relying on OpenSSL ABI as vendored by NodeJS will have to be rebuild. + +EOF + fi +} +