Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
107
Merge Requests
107
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
9147d83b
Commit
9147d83b
authored
Apr 17, 2020
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add component proxysql
parent
5bb22694
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
0 deletions
+51
-0
component/proxysql/buildout.cfg
component/proxysql/buildout.cfg
+51
-0
No files found.
component/proxysql/buildout.cfg
0 → 100644
View file @
9147d83b
[buildout]
extends =
../autoconf/buildout.cfg
../automake/buildout.cfg
../libtool/buildout.cfg
../cmake/buildout.cfg
../openssl/buildout.cfg
../patch/buildout.cfg
../git/buildout.cfg
../openssl/buildout.cfg
../bzip2/buildout.cfg
../perl/buildout.cfg
../gnutls/buildout.cfg
../curl/buildout.cfg
../gnutls/buildout.cfg
../libzip/buildout.cfg
parts =
proxysql
[proxysql]
recipe = slapos.recipe.cmmi
url = https://github.com/sysown/proxysql/archive/v2.0.10.tar.gz
md5sum = 761c6f4ec7239deaf22c7291acd1ccdc
compile-dir = ${:prefix}__compile__/proxysql-2.0.10
prefix = ${buildout:parts-directory}/${:_buildout_section_name_}
# Patch installation path for SlapOS
pre-configure =
mkdir -p ${:prefix}/bin ${:prefix}/etc/init.d ${:prefix}/lib/systemd/system
sed -i "s#/usr/bin#${:prefix}/bin#" ${:compile-dir}/Makefile
sed -i "s# /etc# ${:prefix}/etc#g" ${:compile-dir}/Makefile
sed -i "s#/usr/lib#${:prefix}/lib#" ${:compile-dir}/Makefile
sed -i "s#/var/lib#${:prefix}/lib#g" ${:compile-dir}/Makefile
sed -i "s#useradd#echo useradd#g" ${:compile-dir}/Makefile
sed -i "s#systemctl#echo systemctl#g" ${:compile-dir}/Makefile
sed -i "s#chkconfig#echo chkconfig#g" ${:compile-dir}/Makefile
sed -i "s#update-rc.d#echo update-rc.d#g" ${:compile-dir}/Makefile
configure-command = true
environment =
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig:${gnutls:location}/lib/pkgconfig:${libgcrypt:location}/lib/pkgconfig:${zlib:location}/lib/pkgconfig
PATH=${libtool:location}/bin:${libgcrypt:location}/bin:${curl:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:${bzip2:location}/bin:${autoconf:location}/bin:${git:location}/bin:${automake:location}/bin:${patch:location}/bin:${cmake:location}/bin:%(PATH)s
CXXFLAGS=-I${openssl:location}/include -I${gnutls:location}/include -I${zlib:location}/include
CFLAGS=-I${gnutls:location}/include
LDFLAGS=-L${openssl:location}/lib -Wl,-rpath -Wl,${gnutls:location}/lib -L${gnutls:location}/lib -Wl,-rpath=${curl:location}/lib -L${libtool:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib
CMAKE_INCLUDE_PATH=${openssl:location}/include:${gnutls:location}/include
CMAKE_LIBRARY_PATH=${openssl:location}/lib:${gnutls:location}/lib:${curl:location}/lib
LIBTOOL=libtool
ACLOCAL_PATH=${pkgconfig:location}/share/aclocal:${libtool:location}/share/aclocal
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment