From 055727eb115988829fb873fb1182ff8831db4dff Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 31 May 2016 05:02:22 +0700 Subject: development/hhvm: Updated for version 3.13.1. Big thanks to Eugen :) Signed-off-by: Willy Sudiarto Raharjo --- development/hhvm/etc/rc.hhvm | 1 + development/hhvm/hhvm.SlackBuild | 12 ++++++------ development/hhvm/hhvm.info | 8 +++----- 3 files changed, 10 insertions(+), 11 deletions(-) (limited to 'development') diff --git a/development/hhvm/etc/rc.hhvm b/development/hhvm/etc/rc.hhvm index 1e184ae39c..591089befd 100644 --- a/development/hhvm/etc/rc.hhvm +++ b/development/hhvm/etc/rc.hhvm @@ -89,6 +89,7 @@ case "$1" in exit 1 fi + mkdir -p `dirname $PIDFILE` wait_for_pid $PIDFILE if [ -n "$try" ] ; then diff --git a/development/hhvm/hhvm.SlackBuild b/development/hhvm/hhvm.SlackBuild index 62b11c7671..8caf0096ed 100644 --- a/development/hhvm/hhvm.SlackBuild +++ b/development/hhvm/hhvm.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for HHVM -# Copyright 2015 Eugene Wissner, Dachau, Germany +# Copyright 2015-2016 Eugene Wissner, Dachau, Germany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,10 +23,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=hhvm -VERSION=${VERSION:-3.11.0} +VERSION=${VERSION:-3.13.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CMAKE3=cmake-3.2.3-Linux-x86_64 if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -57,7 +56,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar Jxvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION -tar zxvf $CWD/$CMAKE3.tar.gz + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -65,13 +64,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -#export CMAKE_PREFIX_PATH=`pwd`/.. -./$CMAKE3/bin/cmake \ +export CMAKE_PREFIX_PATH=`pwd` +cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -lreadline -lncurses" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -I/usr/kerberos/include" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \ -DENABLE_MCROUTER=true \ + -DMYSQL_UNIX_SOCK_ADDR=/var/run/mysqld/mysqld.sock \ -DCMAKE_BUILD_TYPE=Release . make make install DESTDIR=$PKG diff --git a/development/hhvm/hhvm.info b/development/hhvm/hhvm.info index a91251dff1..e2dd25d463 100644 --- a/development/hhvm/hhvm.info +++ b/development/hhvm/hhvm.info @@ -1,12 +1,10 @@ PRGNAM="hhvm" -VERSION="3.11.0" +VERSION="3.13.1" HOMEPAGE="http://hhvm.com/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="http://download.dlackware.com/hosted-sources/hhvm/hhvm-3.11.0.tar.xz \ - https://cmake.org/files/v3.2/cmake-3.2.3-Linux-x86_64.tar.gz" -MD5SUM_x86_64="2649df637c21684778c409ec04b06750 \ - 82eb3cbcf74ffc5f68e8bb6f1e20271e" +DOWNLOAD_x86_64="http://download.dlackware.com/hosted-sources/hhvm/hhvm-3.13.1.tar.xz" +MD5SUM_x86_64="3c2b40b66bb2def5d40d9e25cb1445c5" REQUIRES="tbb glog ocaml dwarf oniguruma libmemcached krb5" MAINTAINER="Eugene Wissner" EMAIL="belka@caraus.de" -- cgit v1.2.3