|
@@ -98,7 +98,7 @@ mkdir -p $DEB_DIR
|
|
|
mkdir -p $ARCHIVE_DIR
|
|
mkdir -p $ARCHIVE_DIR
|
|
|
|
|
|
|
|
# Set package dependencies for compiling
|
|
# Set package dependencies for compiling
|
|
|
-SOFTWARE='build-essential libxml2-dev libz-dev libcurl4-gnutls-dev unzip openssl libssl-dev pkg-config libsqlite3-dev libonig-dev'
|
|
|
|
|
|
|
+SOFTWARE='build-essential libxml2-dev libz-dev libzip-dev libgmp-dev libcurl4-gnutls-dev unzip openssl libssl-dev pkg-config libsqlite3-dev libonig-dev'
|
|
|
|
|
|
|
|
# Define a timestamp function
|
|
# Define a timestamp function
|
|
|
timestamp() {
|
|
timestamp() {
|
|
@@ -340,6 +340,8 @@ if [ "$PHP_B" = true ] ; then
|
|
|
--with-libdir=lib/x86_64-linux-gnu \
|
|
--with-libdir=lib/x86_64-linux-gnu \
|
|
|
--with-mysqli \
|
|
--with-mysqli \
|
|
|
--with-curl \
|
|
--with-curl \
|
|
|
|
|
+ --with-zip \
|
|
|
|
|
+ --with-gmp \
|
|
|
--enable-mbstring
|
|
--enable-mbstring
|
|
|
|
|
|
|
|
# Create the files and install them
|
|
# Create the files and install them
|
|
@@ -397,7 +399,7 @@ if [ "$PHP_B" = true ] ; then
|
|
|
# clear up the source folder
|
|
# clear up the source folder
|
|
|
rm -r hestia-php_$PHP_V
|
|
rm -r hestia-php_$PHP_V
|
|
|
rm -rf usr/
|
|
rm -rf usr/
|
|
|
- if [ ! -z "$use_src_folder" ] && [ -d $$BUILD_DIR/hestiacp-$branch ]; then
|
|
|
|
|
|
|
+ if [ ! -z "$use_src_folder" ] && [ -d $BUILD_DIR/hestiacp-$branch ]; then
|
|
|
rm -r $BUILD_DIR/hestiacp-$branch
|
|
rm -r $BUILD_DIR/hestiacp-$branch
|
|
|
fi
|
|
fi
|
|
|
fi
|
|
fi
|
|
@@ -409,7 +411,7 @@ fi
|
|
|
#
|
|
#
|
|
|
#################################################################################
|
|
#################################################################################
|
|
|
|
|
|
|
|
-if [ "$HESTIA_B" = true ] ; then
|
|
|
|
|
|
|
+if [ "$HESTIA_B" = true ]; then
|
|
|
echo "Building Hestia Control Panel package..."
|
|
echo "Building Hestia Control Panel package..."
|
|
|
# Change to build directory
|
|
# Change to build directory
|
|
|
cd $BUILD_DIR
|
|
cd $BUILD_DIR
|