buildout.cfg 1.75 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
########################################################
# Dropbear - a secure shell client and server for *nix #
#                                                      #
# http://matt.ucc.asn.au/dropbear/dropbear.html        #
########################################################

[buildout]
extends = 
  ../zlib/buildout.cfg

parts =
  dropbear

[dropbear-userspace-patch]
recipe = hexagonit.recipe.download
16
md5sum = 3d934c2c90e8c57536a4fa2cf8ad216d
17 18 19 20 21 22 23 24 25 26 27
url = ${:_profile_base_location_}/${:filename}
filename = userspace.patch
download-only = true

[dropbear-ipv6-patch]
recipe = hexagonit.recipe.download
md5sum = b30dd58d68829a80eee69188134382ef
url = ${:_profile_base_location_}/${:filename}
filename = ipv6-support.patch
download-only = true

28 29 30 31 32 33 34
[dropbear-no-shell-check-patch]
recipe = hexagonit.recipe.download
md5sum = bb2ac410bd4cb2b07c23bfcc712e45f7
url = ${:_profile_base_location_}/${:filename}
filename = no-shell-checking.patch
download-only = true

35 36 37
[dropbear]
recipe = hexagonit.recipe.cmmi
md5sum = 0284ea239083f04c8b874e08e1aca243
Antoine Catton's avatar
Antoine Catton committed
38 39 40
# XXX: We still use an old version of dropbear instead of the last one
#      in order have all patches working.
url = http://matt.ucc.asn.au/dropbear/releases/dropbear-0.53.1.tar.bz2
41 42 43 44

configure-options =
  --prefix=${buildout:parts-directory}/${:_buildout_section_name_}
  --with-zlib=${zlib:location}
45
  CFLAGS="-DENABLE_SINGLEUSER -D__DIRTY_NO_SHELL_CHECKING"
46 47 48 49 50 51 52 53

environment =
  CPPFLAGS =-I${zlib:location}/include
  LDFLAGS =-Wl,-rpath=${zlib:location}/lib -L${zlib:location}/lib

patches=
  ${dropbear-userspace-patch:location}/${dropbear-userspace-patch:filename}
  ${dropbear-ipv6-patch:location}/${dropbear-ipv6-patch:filename}
54
  ${dropbear-no-shell-check-patch:location}/${dropbear-no-shell-check-patch:filename}
55 56 57

patch-options=
  -p1