buildout.cfg 1.38 KB
Newer Older
Antoine Catton's avatar
Antoine Catton committed
1 2 3 4 5 6 7 8 9
################################################################
# OpenSSH Portable - a secure shell client and server for *nix #
#                                                              #
# http://www.openssh.com/                                      #
################################################################

[buildout]
extends = 
  ../openssl/buildout.cfg
10 11
  ../patch/buildout.cfg
  ../zlib/buildout.cfg
Antoine Catton's avatar
Antoine Catton committed
12 13 14 15 16

parts =
  openssh

[openssh]
17
recipe = slapos.recipe.cmmi
Nicolas Wavrant's avatar
Nicolas Wavrant committed
18
shared = true
Kirill Smelkov's avatar
.  
Kirill Smelkov committed
19
md5sum = 3d29a7394816deeb57186899d7f7662c
Nicolas Wavrant's avatar
Nicolas Wavrant committed
20
location = @@LOCATION@@
Kirill Smelkov's avatar
.  
Kirill Smelkov committed
21
url = https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.5p1.tar.gz
22
patch-binary = ${patch:location}/bin/patch
23
patch-options = -p1
24
patches =
25
  ${:_profile_base_location_}/no_create_privsep_path.patch#6ab983d16c9b4caf111c737dcad6ec9b
26
environment = 
27 28
  CPPFLAGS=-I${zlib:location}/include -I${openssl:location}/include
  LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib
29
configure-options = 
Nicolas Wavrant's avatar
Nicolas Wavrant committed
30 31 32
  --prefix=${:location}
  --exec-prefix=${:location}
  --with-privsep-path=${:location}/var/empty
33 34 35 36 37 38 39 40

[openssh-output]
# Shared binary location to ease migration
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = ${coreutils-output:test} -x ${:ssh} -a -x ${:keygen}
ssh = ${openssh:location}/bin/ssh
41
keygen = ${openssh:location}/bin/ssh-keygen