Commit 117e1bd5 authored by Jérome Perrin's avatar Jérome Perrin

component/*: edit installed scripts #! to use slapos programs

parent 0d915b18
Pipeline #21212 failed with stage
in 0 seconds
......@@ -39,6 +39,10 @@ environment =
LDFLAGS=-L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib
# aspell parallel build sometimes fail
make-options = -j1
post-install =
sed -i '1c\
#!${perl:location}/bin/perl
' %(prefix)s/bin/aspell
[aspell-en-dictionary]
<= aspell-dictionary-common
......
......@@ -5,6 +5,7 @@ extends =
../patch/buildout.cfg
../pcre/buildout.cfg
../perl/buildout.cfg
../python-2.7/buildout.cfg
../xz-utils/buildout.cfg
../zlib/buildout.cfg
parts =
......@@ -33,7 +34,12 @@ environment =
LIBFFI_LIBS= -L${libffi:location}/lib -Wl,-rpath=${libffi:location}/lib -lffi
PCRE_CFLAGS=-I${pcre:location}/include
PCRE_LIBS=-L${pcre:location}/lib -Wl,-rpath=${pcre:location}/lib -lpcre
post-install = rm %(location)s/bin/gtester-report
post-install =
for script in gdbus-codegen glib-genmarshal glib-mkenums gtester-report ; do
sed -i '1c\
#!${python2.7:location}/bin/python
' %(prefix)s/bin/$script
done
[x86-cygwin-glib]
patches =
......
......@@ -15,6 +15,7 @@ extends =
../m4/buildout.cfg
../perl/buildout.cfg
../pkgconfig/buildout.cfg
../python2.7/buildout.cfg
../xorg/buildout.cfg
../icu/buildout.cfg
../xz-utils/buildout.cfg
......@@ -137,3 +138,7 @@ environment =
# not taken from pkg-config result...
CPPFLAGS=-I${libX11:location}/include/ -I${xproto:location}/include -I${kbproto:location}/include -I${libXrender:location}/include -I${renderext:location}/include -I${libXext:location}/include
LDFLAGS=-L${libX11:location}/lib -L${libXext:location}/lib -L${libXrender:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${harfbuzz:location}/lib -Wl,-rpath=${harfbuzz:location}/lib
post-install =
sed -i '1c\
#!${python2.7:location}/bin/python
' %(prefix)s/bin/gtk-builder-convert
......@@ -5,6 +5,7 @@ extends =
../messagepack/buildout.cfg
../openssl/buildout.cfg
../patch/buildout.cfg
../ruby/buildout.cfg
../zlib/buildout.cfg
parts = kumo
......@@ -26,7 +27,12 @@ configure-options =
--enable-tcadb
--with-tokyocabinet=${tokyocabinet:location}
--with-msgpack=${messagepack:location}
post-install =
for script in kumoctl kumohash kumolog kumostat kumotop; do
sed -i '1c\
#!${ruby:location}/bin/ruby
' %(prefix)s/bin/$script
done
environment =
CPPFLAGS=-I${zlib:location}/include -I${openssl:location}/include
LDFLAGS=-L${zlib:location}/lib -L${openssl:location}/lib -Wl,-rpath=${tokyocabinet:location}/lib -Wl,-rpath=${messagepack:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${openssl:location}/lib
......
......@@ -22,6 +22,7 @@ extends =
../zlib/buildout.cfg
../unixodbc/buildout.cfg
../zstd/buildout.cfg
../defaults.cfg
parts =
mariadb
......@@ -91,6 +92,24 @@ post-install =
install -DpT $1 %(location)s/$1
cp -a wsrep-lib/include %(location)s/wsrep-lib
for script in \
mysql_convert_table_format \
mysql_find_rows \
mysql_fix_extensions \
mysql_setpermission \
mysqlaccess \
mysqld_multi \
mysqldumpslow \
mysqlhotcopy \
mytop ; do
sed -i '1c\
#!${perl:location}/bin/perl
' %(prefix)s/bin/$script
done
sed -i '1c\
#!${python:executable}
' %(prefix)s/bin/myrocks_hotbackup
[mroonga-mariadb]
# mroonga - a storage engine for MySQL. It provides fast fulltext search feature to all MySQL users.
# https://mroonga.org/
......
......@@ -78,3 +78,9 @@ environment =
CPPFLAGS=-I${zlib:location}/include
LDFLAGS=-Wl,-rpath=${:openssl_location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LD_LIBRARY_PATH=${:openssl_location}/lib
post-install =
for script in npm npx; do
sed -i '1c\
#!$%(prefix)/bin/node
' %(prefix)s/bin/$script
done
[buildout]
extends =
../patch/buildout.cfg
../perl/buildout.cfg
parts = nspr
......@@ -16,3 +18,7 @@ configure-options =
--enable-ipv6
environment=
LDFLAGS=-Wl,-rpath=${:location}/lib
post-install =
sed -i '1c\
#!${perl:location}/bin/perl
' %(prefix)s/bin/compile-et.pl
......@@ -41,9 +41,11 @@ patch-options = -p1
patches =
${:_profile_base_location_}/0001-mod_rlimit-don-t-change-PR_SET_DUMPABLE-flag.patch#6e58a7a429ff96a51812dc9835e4c227
post-install =
for script in ftpasswd ftpmail ftpquota prxs; do
sed -i '1c\
#!${perl:location}/bin/perl
' %(prefix)s/bin/ftpasswd
' %(prefix)s/bin/$script
done
# mod_auth_web: a proftpd module to authenticate users against an HTTP service
[proftpd-mod_auth_web-repository]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment