Hello community,

here is the log from the commit of package nodejs.1663 for openSUSE:12.2:Update 
checked in at 2013-05-22 11:04:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/nodejs.1663 (Old)
 and      /work/SRC/openSUSE:12.2:Update/.nodejs.1663.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nodejs.1663"

Changes:
--------
New Changes file:

--- /dev/null   2013-05-15 01:32:43.420028506 +0200
+++ /work/SRC/openSUSE:12.2:Update/.nodejs.1663.new/nodejs.changes      
2013-05-22 11:04:51.000000000 +0200
@@ -0,0 +1,145 @@
+-------------------------------------------------------------------
+Thu Apr 25 17:34:45 UTC 2013 - [email protected]
+
+-  fix bnc#805253 by removing bundled sources for shared dependencies
+
+This way we force nodejs to use v8 installed system headers. Otherwise,
+and that was the bug, it was using the embedded headers but linking against
+ the system libraries. That is why updating v8 broke nodejs.
+
+-------------------------------------------------------------------
+Fri Jun 15 11:05:56 UTC 2012 - [email protected]
+
+- fix segfault 
+
+-------------------------------------------------------------------
+Fri Jun 15 10:30:28 UTC 2012 - [email protected]
+
+- update to version 0.6.19 
+  npm: upgrade to 1.1.24
+  fs: no end emit after createReadStream.pause() (Andreas Madsen)
+  vm: cleanup module memory leakage (Marcel Laverdet)
+  unix: fix loop starvation under high network load (Ben Noordhuis)
+  unix: remove abort() in ev_unref() (Ben Noordhuis)
+  windows/tty: never report error after forcibly aborting line-buffered read 
(Bert Belder)
+  windows: skip GetFileAttributes call when opening a file (Bert Belder)
+
+-------------------------------------------------------------------
+Tue May  8 15:52:08 UTC 2012 - [email protected]
+
+- update to version 0.6.17
+  * Upgrade npm to 1.1.21
+  * uv: Add support for EROFS errors 
+  * uv: Add support for EIO and ENOSPC errors
+  * windows: Add support for EXDEV errors 
+  * http: Fix client memory leaks 
+  * fs: fix file descriptor leak in sync functions 
+  * fs: fix ReadStream / WriteStream double close bug 
+- changes in version 0.6.16
+  * Upgrade V8 to 3.6.6.25
+  * Upgrade npm to 1.1.19
+  * Windows: add mappings for UV_ENOENT
+  * linux: add IN_MOVE_SELF to inotify event mask 
+  * unix: call pipe handle connection cb on accept() error 
+  * unix: handle EWOULDBLOCK 
+  * map EWOULDBLOCK to UV_EAGAIN 
+  * Map ENOMEM to UV_ENOMEM 
+  * Child process: support the `gid` and `uid` options 
+  * test: cluster: add worker death event test 
+  * typo in node_http_parser 
+  * http_parser: Eat CRLF between requests, even on connection:close. 
+  * don't check return value of unsetenv
+
+-------------------------------------------------------------------
+Wed Apr 18 14:11:59 UTC 2012 - [email protected]
+
+- Update to version 0.6.15:
+  * Update npm to 1.1.16
+  * Show licenses in binary installers.
+  * unix: add uv_fs_read64, uv_fs_write64 and uv_fs_ftruncate64
+  * add 64bit offset fs functions
+  * fs.readFile: don't make the callback before the fd is closed
+  * Fix #2061: segmentation fault on OS X due to stat size mismatch
+- Remove empty %clean section not cleaning up anything (and there's good 
default)
+- Add spec file license header
+- Ran spec-cleaner
+
+-------------------------------------------------------------------
+Thu Apr  5 11:22:33 UTC 2012 - [email protected]
+
+- update to 0.6.14
+  see https://github.com/joyent/node/blob/v0.6.14-release/ChangeLog for details
+
+-------------------------------------------------------------------
+Wed Feb  15 16:17:00 UTC 2012 - [email protected]
+
+- Removed doc patch because it's included in neew 0.6.10 nodejs
+- Upgraded to newest 0.6.10
+- Testing on openSUSE 12.1
+
+-------------------------------------------------------------------
+Fri Jan 27 19:04:03 UTC 2012 - [email protected]
+
+- Update to 0.6.8 
+
+-------------------------------------------------------------------
+Thu Dec  1 19:39:23 UTC 2011 - [email protected]
+
+- Added patch for npm docs 
+
+-------------------------------------------------------------------
+Wed Nov 30 12:24:22 UTC 2011 - [email protected]
+
+- Fix files section:
+   use %{_libdir} instead of lib64 
+
+-------------------------------------------------------------------
+Tue Nov 29 15:51:50 UTC 2011 - [email protected]
+
+- Removed 0.6.2 source 
+
+-------------------------------------------------------------------
+Fri Nov 25 16:13:45 UTC 2011 - [email protected]
+
+- Updated to 0.6.3
+    #2083 Land NPM in Node. It is included in packages/installers and 
installed on `make install`.
+    #2076 Add logos to windows installer.
+    #1711 Correctly handle http requests without headers. (Ben Noordhuis, 
Felix Geisendörfer)
+    TLS: expose more openssl SSL context options and constants. (Ben Noordhuis)
+    #2177 Windows: don’t kill UDP socket when a packet fails to reach its 
destination. (Bert Belder)
+    Windows: support paths longer than 260 characters. (Igor Zinkovsky)
+    Windows: correctly resolve drive-relative paths. (Bert Belder)
+    #2166 Don’t leave file descriptor open after lchmod. (Isaac Schlueter)
+    #2084 Add OS X .pkg build script to make file.
+    #2160 Documentation improvements. (Ben Noordhuis)
+ 
+
+-------------------------------------------------------------------
+Wed Nov 23 17:21:19 UTC 2011 - [email protected]
+
+- Updated to 0.6.2
+- Build and link against system v8 
+
+-------------------------------------------------------------------
+Tue Oct  4 15:21:47 UTC 2011 - [email protected]
+
+- Revert to latest stable version of node (0.4.12). Some packages didn't work
+  properly with unstable.
+
+-------------------------------------------------------------------
+Tue Oct  4 14:14:36 UTC 2011 - [email protected]
+
+- Update to latest unstable version of node: 0.5.8
+- Build & link against system v8
+
+-------------------------------------------------------------------
+Fri Sep 23 14:03:32 UTC 2011 - [email protected]
+
+- The devel package now requires gcc-c++ since most of the native nodejs
+  packages need it.
+
+-------------------------------------------------------------------
+Thu Sep 22 16:02:24 UTC 2011 - [email protected]
+
+- small cleanup inside of spec file
+

New:
----
  node-segfault.patch
  node-v0.6.19.tar.gz
  nodejs-devel-lib64path.patch
  nodejs-lib64path.patch
  nodejs-libpath.patch
  nodejs-npm-lib64path.patch
  nodejs.changes
  nodejs.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nodejs.spec ++++++
#
# spec file for package nodejs
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           nodejs
Version:        0.6.19
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
Patch0:         nodejs-lib64path.patch
Patch1:         nodejs-devel-lib64path.patch
Patch2:         nodejs-libpath.patch
Patch3:         nodejs-npm-lib64path.patch
Patch4:         node-segfault.patch
BuildRequires:  curl
BuildRequires:  gcc-c++
BuildRequires:  procps
BuildRequires:  v8-devel >= 3.7
Requires:       v8 >= 3.7
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
BuildRequires:  libopenssl-devel
%else
BuildRequires:  openssl-devel
%endif
BuildRequires:  pkg-config
# for waf
BuildRequires:  python
Provides:       npm = %{version}
Obsoletes:      npm <= 1.0.999

%description
Provides an easy way to build scalable network programs
http://nodejs.org

%package devel
Summary:        Files needed for development of NodeJS platforms
Group:          Development/Languages/Other
Requires:       %{name} = %{version}
Requires:       gcc-c++
Requires:       python

%description devel
Provides an easy way to build scalable network programs
http://nodejs.org

%prep
%setup -q -n node-v%{version}
%if %{_lib} == "lib64"
%patch0
%patch1
%patch3
%else
%patch2
%endif
%patch4 -p1
# Make sure nothing gets included from bundled deps:
# We only delete the source and header files, because
# the remaining build scripts are still used.
for dir in v8 openssl zlib; do
  find deps/$dir -name *.[ch] -delete
done

%build
# percent-configure pulls in something that confuses node's configure
# script, so we'll do it thus:
./configure \
    --prefix=%{_prefix} \
    --libdir=%{_libdir} \
    --shared-v8
make %{?_smp_mflags}

%install
%{?make_install} %{!?make_install:make install DESTDIR=$RPM_BUILD_ROOT}
#node-gyp needs common.gypi too
mkdir -p %{buildroot}%{_datadir}/node
cp -p common.gypi %{buildroot}%{_datadir}/node

%files
%defattr(-, root, root)
%{_bindir}/node
%{_mandir}/*/*
%dir %{_libdir}/node_modules
%{_datadir}/node
#npm
%doc AUTHORS LICENSE
%{_libdir}/node_modules
%exclude %{_libdir}/node_modules/npm/.npmignore
%attr(755,root,root) %{_bindir}/npm
%attr(755,root,root) %{_libdir}/node_modules/npm/scripts/clean-old.sh
%attr(755,root,root) %{_libdir}/node_modules/npm/scripts/install.sh

%files devel
%defattr(-, root, root)
%{_bindir}/node-waf
%{_includedir}/node
%{_libdir}/node

%changelog
++++++ node-segfault.patch ++++++
Index: node-v0.6.19/src/node.cc
===================================================================
--- node-v0.6.19.orig/src/node.cc
+++ node-v0.6.19/src/node.cc
@@ -2645,7 +2645,6 @@ int Start(int argc, char *argv[]) {
 #ifndef NDEBUG
   // Clean up.
   context.Dispose();
-  V8::Dispose();
 #endif  // NDEBUG
 
   return 0;
++++++ nodejs-devel-lib64path.patch ++++++
--- ../node-v0.4.12-original/tools/node-waf     2011-09-16 01:46:39.000000000 
+0200
+++ tools/node-waf      2011-09-21 19:04:25.000000000 +0200
@@ -5,7 +5,7 @@
 join = os.path.join
 bindir = os.path.dirname(os.path.realpath(__file__))
 prefix = join(bindir, "..")
-wafdir = join(prefix, "lib", "node")
+wafdir = join(prefix, "lib64", "node")
 
 w = join(wafdir, 'wafadmin')
 t = join(w, 'Tools')
++++++ nodejs-lib64path.patch ++++++
--- ../node-v0.4.11.original/lib/module.js      2011-08-17 18:18:10.000000000 
-0700
+++ lib/module.js       2011-08-22 14:37:06.590597180 -0700
@@ -422,7 +422,7 @@
 };
 
 Module._initPaths = function() {
-  var paths = [path.resolve(process.execPath, '..', '..', 'lib', 'node')];
+  var paths = ["/usr/lib/node", "/usr/lib64/node"];
 
   if (process.env['HOME']) {
     paths.unshift(path.resolve(process.env['HOME'], '.node_libraries'));
++++++ nodejs-libpath.patch ++++++
--- ../node-v0.4.11.original/lib/module.js      2011-08-17 18:18:10.000000000 
-0700
+++ lib/module.js       2011-08-22 14:36:11.662283878 -0700
@@ -422,7 +422,7 @@
 };
 
 Module._initPaths = function() {
-  var paths = [path.resolve(process.execPath, '..', '..', 'lib', 'node')];
+  var paths = ["/usr/lib/node"];
 
   if (process.env['HOME']) {
     paths.unshift(path.resolve(process.env['HOME'], '.node_libraries'));
++++++ nodejs-npm-lib64path.patch ++++++
Index: wscript
===================================================================
--- wscript.orig
+++ wscript
@@ -1011,7 +1011,7 @@ def install_npm(bld):
                     relative_trick=True,
                     chmod=-1)
   bld.symlink_as('${PREFIX}/bin/npm',
-                 '../lib/node_modules/npm/bin/npm-cli.js')
+                 '../lib64/node_modules/npm/bin/npm-cli.js')
 
 def shutdown():
   Options.options.debug
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to