Skip to content
Browse files

package files

  • Loading branch information...
1 parent e3b34e8 commit d7e9b633d7b48d5754ffef27e728d8d6f1e4d3cd @fjakobs fjakobs committed Dec 20, 2011
Showing with 63 additions and 0 deletions.
  1. +23 −0 build.sh
  2. +24 −0 patch-04.sh
  3. +16 −0 patch-06.sh
View
23 build.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+if [ ${#1} -eq 0 ]; then
+ echo "Usage: ./build.sh TAG"
+ exit 1
+fi
+
+OS=`uname | awk '{print tolower($0)}'`
+TAG=$1
+
+git clone git@github.com:ajaxorg/node
+cd node
+git remote add upstream git://github.com/joyent/node
+git fetch origin
+git fetch upstream
+git checkout $TAG
+
+make clean
+./configure
+make
+
+mkdir -p ../bin
+cp node ../bin/node-$OS-$TAG
View
24 patch-04.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+OS=`uname | awk '{print tolower($0)}'`
+TAG=$1
+
+git clone git@github.com:ajaxorg/node
+cd node
+git remote add upstream git://github.com/joyent/node
+git fetch origin
+git fetch upstream
+git checkout v0.4.12-security
+git rebase $TAG
+git tag $TAG-security
+#git push origin --tags
+
+#make clean
+./configure
+make
+
+./node test/security.js
+./node --port=5000 test/security.js
+
+mkdir -p ../security
+cp node ../security/node-$OS-$TAG
View
16 patch-06.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+OS=`uname | awk '{print tolower($0)}'`
+TAG=$1
+
+git clone git@github.com:ajaxorg/node
+cd node
+git remote add upstream git://github.com/joyent/node
+git fetch origin
+git fetch upstream
+git checkout v0.6.6-security
+git rebase $TAG
+
+echo "If everything worked you should do:"
+echo "git tag $TAG-security"
+echo "git push origin --tags"

0 comments on commit d7e9b63

Please sign in to comment.
Something went wrong with that request. Please try again.