File tree 2 files changed +30
-1
lines changed
2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ cat <<_WREHELP
31
31
--mysql compiles and installs mysql
32
32
--imagemagick compiles and installs image magick
33
33
--perlmodules installs perl modules from cpan
34
+ --handlersocket compiles and installs HandlerSocket plugin and perl modules
34
35
--awstats installs awstats
35
36
--wre installs WebGUI Runtime Environment scripts and API
36
37
64
65
export WRE_BUILD_AWSTATS=1
65
66
export WRE_BUILD_WRE=1
66
67
export WRE_BUILD_PM=1
68
+ export WRE_BUILD_HS=1
67
69
;;
68
70
69
71
--utils | --utilities)
105
107
export WRE_BUILD_PM=1
106
108
;;
107
109
108
- --help | -help | -h | -? | ? )
110
+ --handlersocket | --handlerSocket | --hs)
111
+ export WRE_BUILD_HS=1
112
+ ;;
113
+
114
+ --help | -help | -h | -? | ? )
109
115
wrehelp
110
116
exit 0
111
117
;;
@@ -825,6 +831,19 @@ CFLAGS=$SAVED_CFLAGS
825
831
cd $WRE_BUILDDIR
826
832
}
827
833
834
+ # perl
835
+ buildHandlerSocket (){
836
+ printHeader " HandlerSocket"
837
+ cd source/Handlersocket-Plugin-for-MySQL
838
+ ./autogen.sh
839
+ ./configure --with-mysql-source=../mysql-5.1.62 \
840
+ --with-mysql-bindir=$PREFIX /bin \
841
+ --with-mysql-plugindir=$PREFIX /lib/mysql/plugin
842
+ $WRE_MAKE ; checkError $? " HandlerSocket make"
843
+ $WRE_MAKE install; checkError $? " HandlerSocket make install"
844
+ cd $WRE_BUILDDIR
845
+ }
846
+
828
847
829
848
# awstats
830
849
installAwStats (){
881
900
if [ " $WRE_BUILD_AWSTATS " == 1 ]; then
882
901
installAwStats
883
902
fi
903
+ if [ " $WRE_BUILD_HS " == 1 ]; then
904
+ buildHandlerSocket
905
+ fi
884
906
if [ " $WRE_BUILD_WRE " == 1 ]; then
885
907
installWreUtils
886
908
fi
Original file line number Diff line number Diff line change @@ -174,6 +174,13 @@ tar zxf git-1.7.10.1.tar.gz
174
174
wget -t 4 -nv http://curl.haxx.se/download/curl-7.25.0.tar.bz2
175
175
tar jxf curl-7.25.0.tar.bz2
176
176
177
+ # Handler Socket
178
+ wget -t 4 -nv https://github.com/ahiguti/HandlerSocket-Plugin-for-MySQL/zipball/master
179
+ mv master master.zip
180
+ unzip master.zip;
181
+ mv ahiguti-HandlerSocket-Plugin-for-MySQL-??????? HandlerSocket-Plugin-for-MySQL
182
+
183
+ # #Clean up downloaded files
177
184
rm -f * .gz * .tgz * .bz2 * .zip
178
185
179
186
You can’t perform that action at this time.
0 commit comments