-
Notifications
You must be signed in to change notification settings - Fork 10
/
buildout-build.cfg
274 lines (236 loc) · 9.13 KB
/
buildout-build.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
[buildout]
develop = .
installed = .installed-build.cfg
parts = zlib xz ncurses readline openssl openssh libgpg-error libgcrypt gettext libiconv libgnutls bzip2 sqlite3 libxml2 libxslt libffi gdbm cyrus-sasl libevent libev zeromq openldap graphviz python
# location of the download cache is specified by the download-cache option
download-cache = .cache
log-level = DEBUG
[options]
keep-compile-dir = true
configure-options = --prefix=${options:prefix} --disable-rpath
prefix = ${buildout:directory}/dist
patches-dir = ${buildout:directory}/src/patches
patch-options = -p1
hooks-dir = ${buildout:directory}/src/hooks
environment-section = environment
ignore-existing = true
[options-no-rpath]
<= options
configure-options = --prefix=${options:prefix}
[urls]
gnu = ${urls:source}
source = ftp://python.infinidat.com/python/sources
[gnu]
name = ${:_buildout_section_name_}
url = ${urls:gnu}/${:name}-${:version}.tar.gz
[gnu-bz2]
name = ${:_buildout_section_name_}
url = ${urls:gnu}/${:name}-${:version}.tar.bz2
[environment]
CC = gcc -static-libgcc -fPIC
LDFLAGS = -L${options:prefix}/lib -Wl,-rpath,\$$ORIGIN,-rpath,\$$ORIGIN/../lib,-rpath-link,\$$ORIGIN,-rpath-link,\$$ORIGIN/../lib
SHARED_LDFLAGS = -L${options:prefix}/lib -Wl,-rpath,\$$ORIGIN,-rpath,\$$ORIGIN/../lib,-rpath-link,\$$ORIGIN,-rpath-link,\$$ORIGIN/../lib
CFLAGS = -I${options:prefix}/include
CPPFLAGS = ${:CFLAGS}
LIBPATH = -L${options:prefix}/lib
DYLD_LIBRARY_PATH = ${options:prefix}/lib
LD_LIBRARY_PATH = ${:DYLD_LIBRARY_PATH}
PKG_CONFIG_PATH = ${options:prefix}/lib/pkgconfig
[zlib]
<= options-no-rpath
recipe = hexagonit.recipe.cmmi
version = 1.2.8
name = zlib
url = ${urls:source}/${:name}-${:version}.tar.gz
[xz]
<= options-no-rpath
recipe = hexagonit.recipe.cmmi
version = 5.2.4
url = ftp://python.infinidat.com/python/sources/xz-${:version}.tar.gz
[ncurses]
<= options
gnu
recipe = hexagonit.recipe.cmmi
version = 6.2
pre-make-hook = ${buildout:directory}/src/hooks/posix.py:make_ncurses_fallbacks
configure-options = ${options:configure-options} --disable-big-core --disable-root-environ --disable-macros
--disable-rpath --with-shared --disable-largefile --without-ada --without-cxx-binding
--with-fallbacks=linux,vt100,xterm,xterm-256color --without-xterm-new
--disable-mixed-case --enable-widec --disable-database --without-debug --without-tests CPPFLAGS="-P"
[readline]
<= options-no-rpath
gnu
recipe = hexagonit.recipe.cmmi
version = 7.0
environment-section = readline-environment
[readline-environment]
<= environment
LDFLAGS = ${environment:LDFLAGS} -lncursesw
[openssl]
<= options
recipe = hexagonit.recipe.cmmi
name = openssl
version = 1.1.1l
url = ${urls:source}/${:name}-${:version}.tar.gz
openssldir = /etc/ssl
configure-command = ./config
configure-options = --prefix=${options:prefix} --openssldir=${:openssldir} --shared --libdir=lib -fPIC -Wl,-rpath,\\\$\$\$\$\\\$\$\$\$ORIGIN/../lib
make-targets = all install_sw
[openssh]
<= options
recipe = hexagonit.recipe.cmmi
version = 7.9p1
name = openssh
url = ${urls:source}/${:name}-${:version}.tar.gz
environment-section = openssh-environment
configure-options = --prefix=${options:prefix} --without-rpath --without-openssl-header-check --with-ssl-dir=${options:prefix}
# We use -nosysconf because we only need the lib and no system changes
make-targets = install-nosysconf
[openssh-environment]
<= environment
CFLAGS = ${environment:CFLAGS} -I${options:prefix}/include/openssl
[cyrus-sasl]
<= options-no-rpath
recipe = hexagonit.recipe.cmmi
name = cyrus-sasl
version = 2.1.27
url = ${urls:source}/${:name}-${:version}.tar.gz
configure-options = --prefix=${options:prefix} --without-saslauthd --without-authdaemond --disable-java
--disable-dependency-tracking --disable-java --without-gdbm --without-dblib
--disable-macos-framework --enable-static --with-openssl=${options:prefix}
patches = ${:patches-dir}/${:name}-${:version}-makefile.patch
pre-make-hook = ${options:hooks-dir}/sasl.py:make
make-targets = install-strip
[openldap]
<= options-no-rpath
recipe = hexagonit.recipe.cmmi
version = 2.4.47
name = openldap
url = ${urls:source}/${:name}-${:version}.tgz
configure-options += --disable-slapd --disable-backends --enable-static --with-cyrus-sasl --enable-shared --with-pic --enable-dynamic --with-tls=openssl
[libgpg-error]
<= options
recipe = hexagonit.recipe.cmmi
configure-options = --prefix=${options:prefix} --enable-static
version = 1.10
name = libgpg-error
url = ${urls:source}/${:name}-${:version}.tar.bz2
[libgcrypt]
<= options-no-rpath
recipe = hexagonit.recipe.cmmi
configure-options = ${options-no-rpath:configure-options} --with-gpg-error-prefix=${:prefix} --enable-static
version = 1.5.0
name = libgcrypt
url = ${urls:source}/${:name}-${:version}.tar.bz2
[libgnutls]
<= options
gnu-bz2
recipe = hexagonit.recipe.cmmi
name = gnutls
version = 2.12.3
configure-options = ${options:configure-options} --with-libgcrypt-prefix=${:prefix} --with-libgcrypt
patches = ${:patches-dir}/${:name}-${:version}-gets.patch
${:patches-dir}/${:name}-${:version}-gets2.patch
[libiconv]
<= options
gnu
recipe = hexagonit.recipe.cmmi
version = 1.13.1
configure-options = ${options:configure-options} --enable-relocatable --enable-static --with-libintl-prefix=${:prefix} --with-libiconv-prefix=${:prefix}
[bzip2]
<= options
recipe = hexagonit.recipe.cmmi
name = bzip2
version = 1.0.6
url = ${urls:source}/${:name}-${:version}.tar.gz
configure-command = echo
make-options = PREFIX=${:prefix} DESTDIR=${:prefix} CC="${environment:CC}" CFLAGS="${environment:CFLAGS}"
[gettext]
<= options
gnu
recipe = hexagonit.recipe.cmmi
version = 0.18.1.1
configure-options = ${options:configure-options} --without-git --without-cvs
patches = ${:patches-dir}/${:name}-${:version}-gets.patch
${:patches-dir}/${:name}-${:version}-gets2.patch
[sqlite3]
<= options
recipe = hexagonit.recipe.cmmi
version = autoconf-3380500
name = sqlite
url = ${urls:source}/${:name}-${:version}.tar.gz
[libxml2]
<= options-no-rpath
recipe = hexagonit.recipe.cmmi
version = 2.9.10
name = libxml2
url = ${urls:source}/${:name}-${:version}.tar.gz
configure-options = ${options-no-rpath:configure-options} --without-python
[libxslt]
<= options-no-rpath
recipe = hexagonit.recipe.cmmi
version = 1.1.34
name = libxslt
url = ${urls:source}/${:name}-${:version}.tar.gz
configure-options = ${options-no-rpath:configure-options} --without-python --without-plugins --with-libxml-prefix=${:prefix} --without-crypto
environment-section = libxslt-environment
[libxslt-environment]
<= environment
CFLAGS = ${environment:CFLAGS} -I${options:prefix}/include/libxml2
[libffi]
<= options-no-rpath
recipe = hexagonit.recipe.cmmi
name = libffi
url = ${urls:source}/${:name}-${:version}.tar.gz
version = 3.2.1
[gdbm]
<= options
gnu
recipe = hexagonit.recipe.cmmi
version = 1.8.3
patches = ${:patches-dir}/${:name}-${:version}-Makefile.patch
[libevent]
<= options-no-rpath
recipe = hexagonit.recipe.cmmi
version = 1.4.13
name = libevent
url = ${urls:source}/${:name}-${:version}-stable.tar.gz
[libev]
<= options-no-rpath
recipe = hexagonit.recipe.cmmi
version = 4.15
name = libev
url = ${urls:source}/${:name}-${:version}.tar.gz
[python]
<= options
recipe = hexagonit.recipe.cmmi
name = python
version = 3.8.12
url = ${urls:source}/Python-${:version}.tgz
configure-options = --prefix=${options:prefix} --enable-shared --enable-ipv6 --with-gcc
--with-dbmliborder=gdbm --with-system-ffi --with-openssl=${options:prefix}
environment-section = python-environment
patches = ${:patches-dir}/${:name}-${:version}-sysconfig.py.patch
${:patches-dir}/${:name}-${:version}-distutils-sysconfig.py.patch
${:patches-dir}/${:name}-${:version}-pythonhome-pythonrun.c.patch
${:patches-dir}/${:name}-${:version}-linux-symlink.patch
post-make-hook = ${options:hooks-dir}/posix.py:python_post_make
[python-environment]
<= environment
CFLAGS = ${environment:CFLAGS} -I${options:prefix}/include/gnutls -I${options:prefix}/include/graphviz -I${options:prefix}/include/libexslt -I${options:prefix}/include/libxml2 -I${options:prefix}/include/libxslt -I${options:prefix}/include/ncursesw -I${options:prefix}/include/openssl -I${options:prefix}/include/readline -I${options:prefix}/include/sasl -I${options:prefix}/lib/libffi-${libffi:version}/include
LDFLAGS = ${environment:LDFLAGS} -Wl,-rpath,\$$ORIGIN/../.. -L${options:prefix}/lib/engines -L${options:prefix}/lib/gettext -L${options:prefix}/lib/graphviz -L${options:prefix}/lib/libxslt-plugins -L${options:prefix}/lib/pkgconfig -L${options:prefix}/lib/sasl2
[zeromq]
<= options
recipe = hexagonit.recipe.cmmi
version = 3.2.3
name = zeromq
url = ${urls:source}/${:name}-${:version}.tar.gz
configure-options = ${options:configure-options} --disable-dependency-tracking
patches = ${:patches-dir}/${:name}-${:version}-newline.patch
[graphviz]
<= options
recipe = hexagonit.recipe.cmmi
version = 2.30.1
name = graphviz
url = ${urls:source}/${:name}-${:version}.tar.gz
configure-options = ${options:configure-options} --disable-dependency-tracking --enable-swig=no --enable-sharp=no --enable-guile=no --enable-java=no --enable-lua=no --enable-ocaml=no --enable-perl=no --enable-php=no --enable-python=no --enable-r=no --enable-ruby=no --enable-tcl=no