From 3160287e60561d4dfe47b9dc0f515a52cc3f1a6f Mon Sep 17 00:00:00 2001
From: Lucas Carvalho <lucas@nexedi.com>
Date: Wed, 20 Jul 2011 15:21:11 +0200
Subject: [PATCH] The new slapos.libnetworkcache depends on M2Crypto.

Well, according to the developing done in:
  - https://git.erp5.org/gitweb/slapos.libnetworkcache.git/shortlog/refs/heads/signature?js=1

It is required to build M2Crypto, otherwise it is not possible to use
the signature feature provided by slapos.libnetworkcache.
---
 component/slapos/buildout.cfg | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/component/slapos/buildout.cfg b/component/slapos/buildout.cfg
index 41718ac26..711819a92 100644
--- a/component/slapos/buildout.cfg
+++ b/component/slapos/buildout.cfg
@@ -1,10 +1,16 @@
 [buildout]
+# path to slapos.libnetworkcache branch signature
+# git clone https://git.erp5.org/repos/slapos.libnetworkcache.git
+# cd slapos.libnetworkcache && git checkout signature
+#develop = ....slapos.libnetworkcache-signature
 extends =
   ../../stack/shacache-client.cfg
   ../lxml-python/buildout.cfg
   ../python-2.7/buildout.cfg
+  ../m2crypto/buildout.cfg
 
 parts =
+  M2Crypto
   slapos
 
 find-links =
@@ -29,10 +35,17 @@ allowed-eggs-from-site-packages =
 [lxml-python]
 python = python2.7
 
+[slapos.libnetworkcache]
+python = python2.7
+
+[M2Crypto]
+python = python2.7
+
 [slapos]
 recipe = z3c.recipe.scripts
 python = python2.7
 eggs =
+  M2Crypto
   slapos.libnetworkcache
   zc.buildout
   ${lxml-python:egg}
@@ -48,7 +61,7 @@ meld3 = 0.6.7
 netaddr = 0.7.5
 setuptools = 0.6c12dev-r88846
 slapos.core = 0.12
-slapos.libnetworkcache = 0.2
+slapos.libnetworkcache =
 xml-marshaller = 0.9.7
 z3c.recipe.scripts = 1.0.1
 zc.recipe.egg = 1.3.2
-- 
2.30.9