Univention Bugzilla – Bug 35822
Provide node package manager (npm) as package
Last modified: 2014-11-26 06:55:22 CET
In order to correctly install certain dependencies that are needed for the build process of UMC, we need the node package manager to be available as package.
https://github.com/npm/npm
Created attachment 6091 [details] diff before and after make install for npm
I removed the install target from the makefile, because we didn't need it anymore. I added the copyright file from the stylus package into the npm package. Still a little bit unsure about the control file, which I compared with the one of the stylus package: - do we need: Depends ${shlibs:Depends}? - is the Description okay for you? Took it from https://www.npmjs.org/doc/cli/npm.html On my vm building and installing works fine.
r53487, r53489 Added copyright information to debian/rules
Failed build Package: npm Version: 0.0.0-1.4.201409091546 Branch: ucs_4.0-0 Cloning into 'git'... error: Problem with the SSL CA cert (path? access rights?) while accessing https://github.com/npm/npm.git/info/refs fatal: HTTP request failed make[1]: *** [git] Error 128 make[1]: Leaving directory `/var/build/temp/tmp.4MJoUc6UFu/4.0-0-0-umc-dev/npm/npm-0.0.0' dh_auto_build: make -j1 returned exit code 2 make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2
r53511: add ca-certificates build dependency also adapted some copyrightinformation for debian/rules and Makefile. Successful build Package: npm Version: 0.0.2-1.6.201409100925 User: akramer Branch: ucs_4.0-0
I was able to install the package successfully from omar and also the stylus installation works fine.
Can you please adjust the debian/copyright file to reflect the correct NPM license (currently "stylus" is mentioned).
r53614 As requested i adapted the copyright information. Took it from here: https://github.com/npm/npm/blob/master/LICENSE Successful build Package: npm Version: 0.0.2-2.7.201409121153 Branch: ucs_4.0-0
Looks good. I updated the package version to 1.4.27-1 to reflect the upstream version. npm (1.4.27-1): * Bug #35654: version bump to corresponding npm version
UCS 4.0-0 has been released: http://docs.univention.de/release-notes-4.0-0-en.html http://docs.univention.de/release-notes-4.0-0-de.html If this error occurs again, please use "Clone This Bug".