[Erp5-report] r39611 luke - /erp5/trunk/buildout/hooks/stunnel-4-hooks.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Oct 28 15:44:25 CEST 2010
Author: luke
Date: Thu Oct 28 15:44:24 2010
New Revision: 39611
URL: http://svn.erp5.org?rev=39611&view=rev
Log:
- hooks required to compile stunnel
Added:
erp5/trunk/buildout/hooks/stunnel-4-hooks.py
Added: erp5/trunk/buildout/hooks/stunnel-4-hooks.py
URL: http://svn.erp5.org/erp5/trunk/buildout/hooks/stunnel-4-hooks.py?rev=39611&view=auto
==============================================================================
--- erp5/trunk/buildout/hooks/stunnel-4-hooks.py (added)
+++ erp5/trunk/buildout/hooks/stunnel-4-hooks.py [utf8] Thu Oct 28 15:44:24 2010
@@ -0,0 +1,9 @@
+import os
+def pre_configure_hook(options, buildout):
+ # remove certificate generation
+ # based on Gentoo: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-misc/stunnel/stunnel-4.33.ebuild
+ name = os.path.join('tools','Makefile.in')
+ f = file(name, 'r')
+ d = f.read().replace('install-data-local:', 'do-not-run-this:')
+ f.close()
+ file(name, 'w').write(d)
More information about the Erp5-report
mailing list