Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eric Zheng
slapos
Commits
0140b803
Commit
0140b803
authored
Feb 14, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New node version, including NPM. NPM is no longer needed.
parent
ad37d5ec
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
21 deletions
+32
-21
component/cloud9/buildout.cfg
component/cloud9/buildout.cfg
+25
-0
component/nodejs/buildout.cfg
component/nodejs/buildout.cfg
+2
-15
software/kvm/software.cfg
software/kvm/software.cfg
+5
-6
No files found.
component/cloud9/buildout.cfg
0 → 100644
View file @
0140b803
[buildout]
extends =
../component/dcron/buildout.cfg
../component/logrotate/buildout.cfg
../component/rdiff-backup/buildout.cfg
../component/nodejs.cfg
parts =
nodejs-0.4
npm
cloud9
[cloud9]
# Online IDE written in javascript/node.js
# URL : c9.io
# You can use it using the following command :
# NODE_PATH=${:destination}/node_modules ${nodejs:node_location} ${:cloud9_js_location}
recipe = plone.recipe.command
destination = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command =
${npm:install_module_snippet} cloud9
# Fix 0.5.1 bug
ln -s node_modules/cloud9/bin/cloud9.js node_modules/cloud9/server/cloud9/.
cloud9_js_location = ${:destination}/node_modules/cloud9/server/cloud9/cloud9.js
component/nodejs/buildout.cfg
View file @
0140b803
...
...
@@ -29,8 +29,8 @@ environment =
[nodejs-0.6]
recipe = hexagonit.recipe.cmmi
url = http://nodejs.org/dist/v0.6.
6/node-v0.6.6
.tar.gz
md5sum =
43836ebd6e8e9059c4584e3b5ab50009
url = http://nodejs.org/dist/v0.6.
10/node-v0.6.10
.tar.gz
md5sum =
8a74fd5d48c2c7c64abc60b2b8f3fbc7
configure-options =
--openssl-includes=${openssl:location}/include
--openssl-libpath=${openssl:location}/lib
...
...
@@ -40,16 +40,3 @@ environment =
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig/
CPPFLAGS=-I${zlib:location}/include
LDFLAGS=-Wl,-rpath=${openssl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
[npm]
# Node.js Package Manager
recipe = plone.recipe.command
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
commit = 3136abc5c6b3ed332c4700ece24450fada63639b
branch = upstream
origin = https://github.com/isaacs/npm.git
git-bin = ${git:location}/bin/git
command = (GIT_SSL_NO_VERIFY=true ${:git-bin} clone --quiet ${:origin} ${:location} && cd ${:location} && ${:git-bin} reset --hard ${:commit} && ${:location}/configure --prefix=${:location} && GIT_SSL_NO_VERIFY=true ${:git-bin} submodule update --init --recursive && ${nodejs:location}/bin/node cli.js install npm -g -f) || (rm -fr ${:location}; exit 1)
update-command =
software/kvm/software.cfg
View file @
0140b803
...
...
@@ -29,7 +29,6 @@ parts =
check-local-eggs
check-local-eggs2
nodejs
npm
http-proxy
proxy-by-url
npm-modules
...
...
@@ -160,11 +159,11 @@ command =
rm -fr ${:destination} &&
mkdir -p ${:destination} &&
cd ${:destination} &&
${nodejs:location}/bin/node ${n
pm
:location}/bin/npm install colors@0.6.0-1 &&
${nodejs:location}/bin/node ${n
pm
:location}/bin/npm install socket.io@0.8.7 &&
${nodejs:location}/bin/node ${n
pm
:location}/bin/npm install socket.io-client@0.8.7 &&
${nodejs:location}/bin/node ${n
pm
:location}/bin/npm install optimist@0.3.1 &&
${nodejs:location}/bin/node ${n
pm
:location}/bin/npm install pkginfo@0.2.3
${nodejs:location}/bin/node ${n
odejs
:location}/bin/npm install colors@0.6.0-1 &&
${nodejs:location}/bin/node ${n
odejs
:location}/bin/npm install socket.io@0.8.7 &&
${nodejs:location}/bin/node ${n
odejs
:location}/bin/npm install socket.io-client@0.8.7 &&
${nodejs:location}/bin/node ${n
odejs
:location}/bin/npm install optimist@0.3.1 &&
${nodejs:location}/bin/node ${n
odejs
:location}/bin/npm install pkginfo@0.2.3
[template-kvm]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment