buildout.cfg 1.46 KB
Newer Older
1 2
[buildout]
extends =
3
  ../defaults.cfg
4 5 6 7 8
  ../libtool/buildout.cfg
  ../libxml2/buildout.cfg
  ../make/buildout.cfg
  ../ncurses/buildout.cfg
  ../openssl/buildout.cfg
9
  ../patch/buildout.cfg
10 11 12 13 14
  ../pcre/buildout.cfg
  ../perl/buildout.cfg
  ../pkgconfig/buildout.cfg
  ../tcl/buildout.cfg
  ../zlib/buildout.cfg
15 16 17 18

parts =
  trafficserver

19
[gcc]
20
# For ATS v8.0.0 and later, a compiler with support for C++17 is required.
21 22 23
# https://cwiki.apache.org/confluence/display/TS/Building
min_version = 8

24 25
[trafficserver]
recipe = slapos.recipe.cmmi
26 27
url = http://apache.claz.org/trafficserver/trafficserver-8.1.1.tar.bz2
md5sum = 4f4d1e7de19c77157be0c2a825b31026
28
shared = true
29 30
patch-options = -p1
patches =
31
  https://github.com/apache/trafficserver/commit/3d0492f7276bb93aff499f637ff843c45908b193.patch#f23dd950acc0395fe7bc72264987c013
32 33 34 35 36 37 38 39 40 41
configure-options =
  --with-openssl=${openssl:location}
  --with-pcre=${pcre:location}
  --with-ncurses=${ncurses:location}
  --with-tcl=${tcl:location}/lib/
  --with-lzma=${xz-utils:location}
  --with-zlib=${zlib:location}
  --disable-curl
  --disable-hwloc
  --enable-experimental-plugins
42
  --disable-posix-cap
43
environment =
44
  PATH=${libtool:location}/bin:${make:location}/bin:${patch:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:%(PATH)s
45
  LDFLAGS =-L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${tcl:location}/lib -Wl,-rpath=${tcl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
46

47 48 49
make-target =
  check
  install