Hello community, here is the log from the commit of package nodejs for openSUSE:Factory checked in at 2014-08-14 14:58:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs (Old) and /work/SRC/openSUSE:Factory/.nodejs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "nodejs" Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs/nodejs.changes 2014-06-04 18:39:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs.new/nodejs.changes 2014-08-14 14:58:52.000000000 +0200 @@ -1,0 +2,32 @@ +Tue Jul 29 13:43:10 UTC 2014 - i@marguerite.su + +- fix a typo in macros.nodejs +- explicitly use /usr/lib, %%{_libexecdir} will resolve to + /usr/lib64 on sles x86_64 versions. + +------------------------------------------------------------------- +Fri Jul 18 08:21:19 UTC 2014 - i@marguerite.su + +- update version 0.10.29 + * openssl: to 1.0.1h (CVE-2014-0224) + * npm: upgrade to 1.4.10 + * utf8: Prevent Node from sending invalid UTF-8 (Felix Geisendörfer) + *NOTE* this introduces a breaking change, previously you could construct + invalid UTF-8 and invoke an error in a client that was expecting valid + UTF-8, now unmatched surrogate pairs are replaced with the unknown UTF-8 + character. To restore the old functionality simply have NODE_INVALID_UTF8 + environment variable set. + * child_process: do not set args before throwing (Greg Sabia Tucker) + * child_process: spawn() does not throw TypeError (Greg Sabia Tucker) + * constants: export O_NONBLOCK (Fedor Indutny) + * crypto: improve memory usage (Alexis Campailla) + * fs: close file if fstat() fails in readFile() (cjihrig) + * lib: name EventEmitter prototype methods (Ben Noordhuis) + * tls: fix performance issue (Alexis Campailla) + +------------------------------------------------------------------- +Fri Jul 18 07:41:54 UTC 2014 - i@marguerite.su + +- fix changelog chronologically + +------------------------------------------------------------------- @@ -8,0 +41,21 @@ +Fri May 2 12:32:52 UTC 2014 - i@marguerite.su + +- update version 0.10.27 + * npm: upgrade to v1.4.8 + * openssl: upgrade to 1.0.1g + * uv: update to v0.10.27 + * dns: fix certain txt entries (Fedor Indutny) + * assert: Ensure reflexivity of deepEqual (Mike Pennisi) + * child_process: fix deadlock when sending handles (Fedor Indutny) + * child_process: fix sending handle twice (Fedor Indutny) + * crypto: do not lowercase cipher/hash names (Fedor Indutny) + * dtrace: workaround linker bug on FreeBSD (Fedor Indutny) + * http: do not emit EOF non-readable socket (Fedor Indutny) + * http: invoke createConnection when no agent (Nathan Rajlich) + * stream: remove useless check (Brian White) + * timer: don't reschedule timer bucket in a domain (Greg Brail) + * url: treat \ the same as / (isaacs) + * util: format as Error if instanceof Error (Rod Vagg) +- add macros.nodejs + +------------------------------------------------------------------- Old: ---- node-v0.10.26.tar.gz New: ---- macros.nodejs node-v0.10.29.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs.spec ++++++ --- /var/tmp/diff_new_pack.mlYsjW/_old 2014-08-14 14:58:53.000000000 +0200 +++ /var/tmp/diff_new_pack.mlYsjW/_new 2014-08-14 14:58:53.000000000 +0200 @@ -17,13 +17,14 @@ Name: nodejs -Version: 0.10.26 +Version: 0.10.29 Release: 0 Summary: Evented I/O for V8 JavaScript License: MIT Group: Development/Languages/Other Url: http://www.nodejs.org Source: http://nodejs.org/dist/v%{version}/node-v%{version}.tar.gz +Source1: macros.nodejs Patch0: nodejs-lib64path.patch Patch2: nodejs-libpath.patch Patch4: node-gyp-addon-gypi.patch @@ -97,6 +98,9 @@ chmod 0644 ./deps/npm/node_modules/npmconf/node_modules/config-chain/index.js chmod 0755 ./deps/npm/scripts/release.sh +# remove .orig file +find . -name "*.orig" -type f -delete -print + %build # percent-configure pulls in something that confuses node's configure # script, so we'll do it thus: @@ -144,20 +148,38 @@ rm -rf '%{buildroot}%{_libdir}/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark' find '%{buildroot}%{_libdir}/node_modules/' -type f -name '*_test*' -delete -%fdupes '%{buildroot}%{_libdir}/node_modules/' +# Documentation +install -d %{buildroot}%{_docdir}/%{name} +cp -r doc/* %{buildroot}%{_docdir}/%{name}/ +cp -r {AUTHORS,ChangeLog,CONTRIBUTING.md,LICENSE,README.md} %{buildroot}%{_docdir}/%{name}/ + +# RPM macros +install -d %{buildroot}%{_sysconfdir}/rpm +install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm + +# Own nodejs_modulesdir +%ifarch x86_64 ppc64 +install -d %{buildroot}%{_libexecdir}/node_modules +%endif + +%fdupes %{buildroot}%{_libdir}/node_modules +%fdupes %{buildroot}%{_docdir}/%{name} %files %defattr(-, root, root) +%doc %{_docdir}/%{name} +%config %{_sysconfdir}/rpm/macros.nodejs %{_bindir}/node %{_bindir}/npm %{_libdir}/node_modules +%ifarch x86_64 ppc64 +%dir %{_libexecdir}/node_modules +%endif %{_mandir}/man1/* -%doc AUTHORS LICENSE %files devel %defattr(-, root, root) %{_includedir}/node -%{_libdir}/dtrace %{_datadir}/node %changelog ++++++ macros.nodejs ++++++ # RPM macros for Node.js %nodejs_modulesdir %{_prefix}/lib/node_modules %nodejs_requires \ Requires: nodejs %nodejs_install \ mkdir -p %{buildroot}%{nodejs_modulesdir} \ npm_config_prefix=%{buildroot}%{_prefix} npm install -g %{S:0} ++++++ node-v0.10.26.tar.gz -> node-v0.10.29.tar.gz ++++++ /work/SRC/openSUSE:Factory/nodejs/node-v0.10.26.tar.gz /work/SRC/openSUSE:Factory/.nodejs.new/node-v0.10.29.tar.gz differ: char 5, line 1 ++++++ nodejs-lib64path.patch ++++++ --- /var/tmp/diff_new_pack.mlYsjW/_old 2014-08-14 14:58:53.000000000 +0200 +++ /var/tmp/diff_new_pack.mlYsjW/_new 2014-08-14 14:58:53.000000000 +0200 @@ -1,7 +1,7 @@ -Index: node-v0.10.26/lib/module.js +Index: node-v0.10.29/lib/module.js =================================================================== ---- node-v0.10.26.orig/lib/module.js -+++ node-v0.10.26/lib/module.js +--- node-v0.10.29.orig/lib/module.js ++++ node-v0.10.29/lib/module.js @@ -508,7 +508,7 @@ Module._initPaths = function() { var homeDir = process.env.HOME; } @@ -11,10 +11,10 @@ if (homeDir) { paths.unshift(path.resolve(homeDir, '.node_libraries')); -Index: node-v0.10.26/tools/install.py +Index: node-v0.10.29/tools/install.py =================================================================== ---- node-v0.10.26.orig/tools/install.py -+++ node-v0.10.26/tools/install.py +--- node-v0.10.29.orig/tools/install.py ++++ node-v0.10.29/tools/install.py @@ -86,7 +86,7 @@ def update_shebang(path, shebang): open(path, 'w').write(s) @@ -33,12 +33,12 @@ if os.environ.get('PORTABLE'): # This crazy hack is necessary to make the shebang execute the copy # of node relative to the same directory as the npm script. The precompiled -@@ -132,7 +132,7 @@ def files(action): - # install unconditionally, checking if the platform supports dtrace doesn't - # work when cross-compiling and besides, there's at least one linux flavor - # with dtrace support now (oracle's "unbreakable" linux) -- action(['src/node.d'], 'lib/dtrace/') -+ action(['src/node.d'], 'lib64/dtrace/') +@@ -130,7 +130,7 @@ def files(action): + action(['out/Release/node'], 'bin/node') + + if 'true' == variables.get('node_use_dtrace'): +- action(['out/Release/node.d'], 'lib/dtrace/node.d') ++ action(['out/Release/node.d'], 'lib64/dtrace/node.d') if 'freebsd' in sys.platform or 'openbsd' in sys.platform: action(['doc/node.1'], 'man/man1/') -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org