Skip to content
Browse files

Add git package and provide to stager

(for git URLs support in app dependencies)

Change-Id: I1fbf8962c4c1ad8e81ebc62076ca5ac7b52797c0
  • Loading branch information...
1 parent 87b9f52 commit ff352e4fe1c0022f92b66b6e0000ed18c4c4bb1a @mariash mariash committed Jul 11, 2012
Showing with 20 additions and 1 deletion.
  1. +4 −0 config/blobs.yml
  2. +1 −0 jobs/stager/spec
  3. +1 −1 jobs/stager/templates/stager_ctl
  4. +10 −0 packages/git/packaging
  5. +4 −0 packages/git/spec
View
4 config/blobs.yml
@@ -563,3 +563,7 @@ uaa/cloudfoundry-identity-uaa-1.0.3.war:
object_id: eyJvaWQiOiI0ZTRlNzhiY2E0MWUxMjIwMDRlNGU4ZWM2NWY2N2YwNGZmNzQ0%0AOWQ0MWU2OSIsInNpZyI6ImZsSU51L3A3d0ttdHVpYWZlbmZYMWw4a3M5az0i%0AfQ==%0A
sha: 94141664de252119d378dafd920d202a65be53b1
size: 24271827
+git/git-1.7.11.2.tar.gz:
+ object_id: eyJvaWQiOiI0ZTRlNzhiY2E2MWUxMjEyMDRlNGU4NmVlYmU1OTEwNGZmZjEy%0AZDdlNDljNiIsInNpZyI6IkdvaUhZdDA2OFpDcUowVzhYOFdLYUVyV2RLRT0i%0AfQ==%0A
+ sha: f67b4f6c0277250411c6872ae7b8a872ae11d313
+ size: 4015780
View
1 jobs/stager/spec
@@ -37,3 +37,4 @@ packages:
- syslog_aggregator
- insight_agent
- imagemagick
+- git
View
2 jobs/stager/templates/stager_ctl
@@ -25,7 +25,7 @@ export no_proxy='<%= properties.env.no_proxy %>'
export C_INCLUDE_PATH=/var/vcap/packages/mysqlclient/include/mysql:/var/vcap/packages/sqlite/include:/var/vcap/packages/libpq/include:/var/vcap/packages/imagemagick/include/ImageMagick:$C_INCLUDE_PATH
export LIBRARY_PATH=/var/vcap/packages/mysqlclient/lib/mysql:/var/vcap/packages/sqlite/lib:/var/vcap/packages/libpq/lib:/var/vcap/packages/imagemagick/lib:$LIBRARY_PATH
-export PATH=/var/vcap/packages/imagemagick/bin:$PATH
+export PATH=/var/vcap/packages/imagemagick/bin:/var/vcap/packages/git/bin:$PATH
export LANG=en_US.UTF-8
source /var/vcap/packages/common/utils.sh
View
10 packages/git/packaging
@@ -0,0 +1,10 @@
+# abort script on any command that exit with a non zero value
+set -e
+
+tar xzf git/git-1.7.11.2.tar.gz
+(
+ cd git-1.7.11.2
+ ./configure --prefix=${BOSH_INSTALL_TARGET}
+ make NO_TCLTK=Yes
+ make NO_TCLTK=Yes install
+)
View
4 packages/git/spec
@@ -0,0 +1,4 @@
+---
+name: git
+files:
+- git/git-1.7.11.2.tar.gz

0 comments on commit ff352e4

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