Browse Source

Nail Mongrel2 version to v1.8.1

Erwan Ameil 11 years ago
parent
commit
4a0edf6278
1 changed files with 4 additions and 2 deletions
  1. 4 2
      toolset/setup/linux/installer.py

+ 4 - 2
toolset/setup/linux/installer.py

@@ -269,8 +269,10 @@ class Installer:
     self.__run_command("sudo make install", cwd="zeromq-4.0.3")
     self.__run_command("sudo apt-get install sqlite3 libsqlite3-dev uuid uuid-runtime uuid-dev")
     self.__run_command("sudo ldconfig -v")
-    self.__run_command("git clone git://github.com/zedshaw/mongrel2.git mongrel2", retry=True)
-    # for zmq4, we update the following file manually (not in the stable master branch yet)
+    self.__download("https://github.com/zedshaw/mongrel2/tarball/v1.8.1", "mongrel2.tar.gz")
+    self.__run_command("tar xvf mongrel2.tar.gz")
+    self.__run_command("mv zedshaw-mongrel2-aa2ecf8 mongrel2")
+    # for zmq4, we update the following file manually (not in v1.8.1)
     self.__download("https://raw.github.com/zedshaw/mongrel2/9b565eeea003783c47502c2d350b99c9684ce97c/src/zmq_compat.h")
     self.__run_command("mv -f zmq_compat.h mongrel2/src/")
     self.__run_command("make clean all && sudo make install", cwd="mongrel2")