From: Heiko Z. <smi...@us...> - 2014-07-19 19:06:51
|
Update of /cvsroot/devil-linux/build/scripts In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv27769/scripts Modified Files: open-vm-tools php Added Files: libssh2 Log Message: - updated grsecurity to 3.0-3.2.61-201407112156 - updated open-vm-tools to 9.4.6-1770165 - updated Linux kernel to 3.2.61 - updated httpd to 2.2.27 - updated samba to 4.1.9 - added libssh2 1.4.4-20140719 - updated pecl module imagick to 3.1.2 - updated pecl module pecl_http to 2.0.7 - updated pecl module propro to 1.0.0 - updated pecl module raphf to 1.0.4 - updated pecl module rar to 3.0.2 - updated pecl module ssh2 to 0.12 - updated pecl module zip to 1.12.4 Index: open-vm-tools =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/open-vm-tools,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- open-vm-tools 22 Jun 2014 16:15:53 -0000 1.18 +++ open-vm-tools 19 Jul 2014 19:06:49 -0000 1.19 @@ -20,7 +20,10 @@ mkdir -p /lib/modules/$KERNELVERSION/kernel || exit 1 replace_str ./configure "-Wno-unused-but-set-variable" "" #replace_str ./configure "-Wall" "-Wall -Wno-deprecated -Wno-deprecated-declarations" - CFLAGS="-Wno-error=unused-variable -Wno-deprecated -Wno-deprecated-declarations" LDFLAGS=-liconv ./configure --prefix=/usr --sysconfdir=/etc --without-x \ + autoreconf -i || exit 1 + chmod +x configure || exit 1 + CFLAGS="-Wno-error=unused-variable -Wno-deprecated -Wno-deprecated-declarations -Wno-sizeof-pointer-memaccess" \ + LDFLAGS=-liconv ./configure --prefix=/usr --sysconfdir=/etc --without-x \ --without-icu --with-kernel-release=${KERNELVERSION} --with-pic || exit 1 make all modules || exit 1 fi --- NEW FILE: libssh2 --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/libssh2,v $ # $Revision: 1.1 $ # $Date: 2014/07/19 19:06:49 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings case $1 in build ) ./configure --prefix=/usr --with-openssl --with-libz --disable-examples-build || exit 1 make $PMAKE || exit 1 # we have to install this immediately, because this is a library and could be needed by other sources make install || exit 1 ;; install ) rm -rf $TMPDIR || exit 1 mkdir -p $TMPDIR || exit 1 make install DESTDIR=$TMPDIR || exit 1 rm $TMPDIR/usr/lib/*a || exit 1 rm -rf $TMPDIR/usr/lib/pkgconfig || exit 1 cp -dpv $TMPDIR/usr/lib/* $CDDIR/usr/lib/ || exit 1 rm -rf $TMPDIR || exit 1 ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac Index: php =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/php,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- php 25 Apr 2014 20:57:57 -0000 1.37 +++ php 19 Jul 2014 19:06:49 -0000 1.38 @@ -78,14 +78,20 @@ pear config-set php_ini /etc/php.ini pear config-set ext_dir /usr/lib/php/extensions pear config-set cfg_dir /etc - for FILE in $(ls $DL_DIR/src/pecl/*.tgz) + for FILE in $(cat $MYDIR/config/pecl) do + FILE="${DL_DIR}/src/pecl/${FILE}" echo "compiling PECL extension $FILE" - F=${FILE##*/} - DIRNAME=${F%*.tgz} - PACKAGENAME=$(echo ${F%-*} | tr '[:upper:]' '[:lower:]') - yes "" | pecl install --force --nodeps --offline $FILE || yes "" | pear install --force --nodeps --offline $FILE - done + if [ -f ${FILE} ]; then + #F=${FILE##*/} + #DIRNAME=${F%*.tgz} + #PACKAGENAME=$(echo ${F%-*} | tr '[:upper:]' '[:lower:]') + yes "" | pecl install --force --nodeps --offline $FILE || yes "" | pear install --force --nodeps --offline $FILE + else + echo "Couldn't find ${FILE}" + exit 1 + fi + done fi ;; |