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
90
Merge Requests
90
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
7cc6e4ef
Commit
7cc6e4ef
authored
May 07, 2020
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proxysql: cleanup, fixes
parent
5acb3689
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
15 deletions
+13
-15
component/proxysql/buildout.cfg
component/proxysql/buildout.cfg
+13
-15
No files found.
component/proxysql/buildout.cfg
View file @
7cc6e4ef
...
...
@@ -20,21 +20,21 @@ parts =
[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_}
url = https://github.com/sysown/proxysql/archive/v2.0.11.tar.gz
md5sum = 290fc4eaa1f92426caa3ffde3156a178
prefix = @@LOCATION@@
# 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
sed -i "
s#/usr/bin#${:prefix}/bin#
s# /etc# ${:prefix}/etc#g
s#/usr/lib#${:prefix}/lib#
s#/var/lib#${:prefix}/lib#g
s#useradd#echo useradd#g
s#systemctl#echo systemctl#g
s#chkconfig#echo chkconfig#g
s#update-rc.d#echo update-rc.d#g" Makefile
configure-command = true
environment =
...
...
@@ -46,6 +46,4 @@ environment =
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
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