Commit 3f4f2ff5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

version up : stunnel 5.01.

also cleanup.
parent ad1ef110
......@@ -5,14 +5,9 @@ parts =
stunnel
[stunnel]
<= stunnel-4
recipe = slapos.recipe.cmmi
[stunnel-4]
recipe = slapos.recipe.cmmi
url = https://www.stunnel.org/downloads/stunnel-5.00.tar.gz
md5sum = 4f00fd0faf99e3c9cf258a19dd83d14a
pre-configure-hook = ${:_profile_base_location_}/stunnel-4-hooks.py#5b099b386c34c5b8d0664c0292ba322a:pre_configure_hook
url = https://www.stunnel.org/downloads/stunnel-5.01.tar.gz
md5sum = 7b63266b6fa05da696729e245100da65
configure-options =
--enable-ipv6
--disable-libwrap
......
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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment