Update to 6.17.1 security release

https://nodejs.org/en/blog/release/v6.17.1/
https://nodejs.org/en/blog/release/v6.17.0/
Drop debug build

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2019-06-18 08:39:32 -04:00
parent cb0b28bd5f
commit a9185c1048
No known key found for this signature in database
GPG Key ID: 7A25556236BAA3A3
3 changed files with 10 additions and 24 deletions

1
.gitignore vendored
View File

@ -81,3 +81,4 @@
/node-v6.14.2-stripped.tar.gz /node-v6.14.2-stripped.tar.gz
/node-v6.14.3-stripped.tar.gz /node-v6.14.3-stripped.tar.gz
/node-v6.16.0-stripped.tar.gz /node-v6.16.0-stripped.tar.gz
/node-v6.17.1-stripped.tar.gz

View File

@ -1,16 +1,8 @@
%global with_debug 1
# bundle some dependencies missing in Modularity # bundle some dependencies missing in Modularity
%bcond_with bootstrap %bcond_with bootstrap
%{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}} %{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
# ARM builds currently break on the Debug builds, so we'll just
# build the standard runtime until that gets sorted out.
%ifarch %{arm} aarch64 %{power64}
%global with_debug 0
%endif
# == Node.js Version == # == Node.js Version ==
# Note: Fedora should only ship LTS versions of Node.js (currently expected # Note: Fedora should only ship LTS versions of Node.js (currently expected
# to be major versions with even numbers). The odd-numbered versions are new # to be major versions with even numbers). The odd-numbered versions are new
@ -18,8 +10,8 @@
# than a Fedora release lifecycle. # than a Fedora release lifecycle.
%global nodejs_epoch 1 %global nodejs_epoch 1
%global nodejs_major 6 %global nodejs_major 6
%global nodejs_minor 16 %global nodejs_minor 17
%global nodejs_patch 0 %global nodejs_patch 1
%global nodejs_abi %{nodejs_major}.%{nodejs_minor} %global nodejs_abi %{nodejs_major}.%{nodejs_minor}
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch} %global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
%global nodejs_release 1 %global nodejs_release 1
@ -286,12 +278,7 @@ export LDFLAGS="%{__global_ldflags}"
--openssl-use-def-ca-store --openssl-use-def-ca-store
%endif %endif
%if %{?with_debug} == 1
# Setting BUILDTYPE=Debug builds both release and debug binaries
make BUILDTYPE=Debug %{?_smp_mflags}
%else
make BUILDTYPE=Release %{?_smp_mflags} make BUILDTYPE=Release %{?_smp_mflags}
%endif
%install %install
@ -307,11 +294,6 @@ rm -rf %{buildroot}
# Set the binary permissions properly # Set the binary permissions properly
chmod 0755 %{buildroot}/%{_bindir}/node chmod 0755 %{buildroot}/%{_bindir}/node
%if %{?with_debug} == 1
# Install the debug binary and set its permissions
install -Dpm0755 out/Debug/node %{buildroot}/%{_bindir}/node_g
%endif
# own the sitelib directory # own the sitelib directory
mkdir -p %{buildroot}%{_prefix}/lib/node_modules mkdir -p %{buildroot}%{_prefix}/lib/node_modules
@ -413,9 +395,6 @@ NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules %{buildroot}/%{_bindir}/node -
%files devel %files devel
%if %{?with_debug} == 1
%{_bindir}/node_g
%endif
%{_includedir}/node %{_includedir}/node
%{_datadir}/node/common.gypi %{_datadir}/node/common.gypi
%{_pkgdocdir}/gdbinit %{_pkgdocdir}/gdbinit
@ -439,6 +418,12 @@ NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules %{buildroot}/%{_bindir}/node -
%{_pkgdocdir}/npm/doc %{_pkgdocdir}/npm/doc
%changelog %changelog
* Tue Jun 18 2019 Stephen Gallagher <sgallagh@redhat.com> - 1:6.17.1-1
- Update to 6.17.1 security release
- https://nodejs.org/en/blog/release/v6.17.1/
- https://nodejs.org/en/blog/release/v6.17.0/
- Drop debug build
* Thu Jan 10 2019 Stephen Gallagher <sgallagh@redhat.com> - 1:6.16.0-2 * Thu Jan 10 2019 Stephen Gallagher <sgallagh@redhat.com> - 1:6.16.0-2
- Bundle http-parser since it uses backported features not available in RHEL - Bundle http-parser since it uses backported features not available in RHEL

View File

@ -1 +1 @@
SHA512 (node-v6.16.0-stripped.tar.gz) = f39f01be5149d08823b94f3609804e360c12f6bfacc80000cb59846492ae14dfb9b648c6bccaf5caadbeba27fb529a9a55d5c54a7ab290d87817a8e571c18a47 SHA512 (node-v6.17.1-stripped.tar.gz) = 0c89917d14872bfdb94cd2ee428f67093fdef16cbaff5bd96d00960c040c23ce95550d3b634172035b28e214caeac7d2808e0b0b152885deb33b5ec55a6a2f7e