NEW_BUILD_NAME=transmission NEW_BUILD_VER=2.84 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME- ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME- NEW_BUILD_NR=1 cd ~/compile wget https://transmission.cachefly.net/transmission-2.84.tar.xz tar -xf $NEW_BUILD_NAME_AND_VER.tar.xz cd ~/compile/$NEW_BUILD_NAME_AND_VER/ find . -type f ( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/ {} \; , -exec sed […]
NSA310
Compiling Apache 2.2.29
#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting you must declare the environment variables specified at the link above. #building env vars (required when rebuilding too) APACHE_MPM=worker NEW_BUILD_NAME=apache NEW_BUILD_VER=2.2.29-$APACHE_MPM NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME-* […]
Compiling litmus 0.13
cd ~/compile rm -r litmus-0.13 tar -xzf litmus-0.13.tar.gz cd ~/compile/litmus-0.13 export LDFLAGS=”-L/ffp/lib -lintl” export CPPFLAGS=”-I/ffp/include -I/ffp/include/readline” export CXXFLAGS=”-I/ffp/include -I/ffp/include/readline” export CFLAGS=”-march=armv5te -mtune=xscale -mfloat-abi=soft -mabi=aapcs-linux -O2 -lintl -Wall” export LC_ALL=POSIX ./configure –help > configure.help.txt ./configure –prefix=/ffp –disable-debug –enable-threadsafe-ssl=posix –with-ssl=openssl –with-included-neon nohup […]
Compiling php 5.5.x
cd ~/compile curl -L -k http://de1.php.net/get/php-5.5.19.tar.gz/from/this/mirror -o php-5.5.19.tar.gz tar -xzf php-5.5.19.tar.gz cd ~/compile/php-5.5.19 find . -type f ( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/ {} \; , -exec sed -i s/”\/usr\/bin\/bash”/”\/ffp\/bin\/bash”/ {} \; , -exec […]
Install & configure ghost
Installing ghost on linux (official) Compiling nodejs cd /ffp/opt/ rm -r ghost #rm ghost.zip #curl -L -k https://ghost.org/zip/ghost-latest.zip -o ghost.zip unzip -uo ghost.zip -d ghost cd /ffp/opt/ghost find . -type f -exec sed -i s/”\/usr\/bin\/bash”/”\/ffp\/bin\/bash”/ {} \; find . -type […]
Compiling nodejs
cd ~/compile #wget http://nodejs.org/dist/v0.10.30/node-v0.10.30.tar.gz rm -r ~/compile/node-v0.10.30 tar xvzf node-v0.10.30.tar.gz cd ~/compile/node-v0.10.30 find . -type f -exec sed -i s/”\/usr\/bin\/bash”/”\/ffp\/bin\/bash”/ {} \; find . -type f -exec sed -i s/”\/usr\/bin\/sh”/”\/ffp\/bin\/sh”/ {} \; find . -type f -exec sed -i s/”\/usr\/bin\/env”/”\/ffp\/bin\/env”/ […]
Compiling memcached
cd $HOME/compile wget http://memcached.org/files/memcached-1.4.21.tar.gz tar xvzf memcached-1.4.21.tar.gz cd $HOME/compile/memcached-1.4.21 #export PATH=/ffp/sbin:/usr/sbin:/sbin:/ffp/bin:/usr/bin:/bin:/ffp/opt/ejre1.7.0_60/bin export LDFLAGS=”-L/ffp/lib -lintl” export CPPFLAGS=”-I/ffp/include -I/ffp/include/readline -DLINUX” export CXXFLAGS=”-I/ffp/include -I/ffp/include/readline” export CFLAGS=”-march=armv5te -mtune=xscale -mfloat-abi=soft -mabi=aapcs-linux -pthread -O2 -lintl -Wall” export LC_ALL=POSIX export PKG_CONFIG=/ffp/bin/pkg-config ./configure –help > configure.help.txt ./configure –prefix=/ffp […]
Compiling Apache 2.2.9
rm -r ~/compile/httpd-2.2.9-unpacked cd ~/compile && mkdir httpd-2.2.9-unpacked tar xvzf httpd-2.2.9.tar.gz -C ./httpd-2.2.9-unpacked cd ~/compile/httpd-2.2.9-unpacked/httpd-2.2.9 find . -type f ( -exec sed -i s/”\/usr\/bin\/bash”/”\/ffp\/bin\/bash”/ {} \; , -exec sed -i s/”\/usr\/bin\/sh”/”\/ffp\/bin\/sh”/ {} \; , -exec sed -i s/”\/usr\/bin\/env”/”\/ffp\/bin\/env”/ {} \; […]
Compiling uClibc toolchain 0.9.33.2
#The test suite will be installed into /root/uClibc directory. To run # x the test suite enter the /root/uClibc/test directory and type # x “make UCLIBC_ONLY=1 CC=/bin/true check”. # x See the /root/uClibc/test/README for additional information. export CFLAGS=”-march=armv5te -mtune=xscale -mfloat-abi=soft […]
Compiling findutils
mkdir -p ~/temp/findutils make install DESTDIR=/ffp/home/gigi/temp/findutils/ cd ~/temp/findutils rm /tmp/findutils-4.5.15-arm-1.txz #makepkg findutils version buildnumber makepkg findutils 4.5.15 1 cp /tmp/findutils-4.5.15-arm-1.txz /usr/local/zy-pkgs/gui/ffp_0.7_armv5
Compiling findutils
#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting do declare the environment variables specified to the link above. #requires: pth-2.0.7-arm-1.txz, libiconv-1.14-arm-1.txz, texinfo-5.2-arm-1.txz cd ~/compile rm -r ~/compile/findutils #rel-4-4-fixes branch (stable) #git clone -q […]
Install & configure MediaWiki
Modify /usr/local/zy-pkgs/gui/mediawiki/includes/installer: search: protected static function getPossibleBinPaths() { patch: return array(‘/ffp/sbin’, ‘/ffp/bin’, ‘/ffp/opt/ejre1.7.0_60/bin’); Preinstalation: # mediawiki source files modifications cd /usr/local/zy-pkgs/gui/mediawiki find . -type f ( -name “.py” -o -name “.sh” -o -name “.php” -o -name “.pl” ) -exec sed […]
Using PECL
#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting do declare the environment variables specified to the link above. #BEFORE RUNNING any “php peclcmd.php install xxx” these also have to be set: export PKG_CONFIG=/ffp/bin/pkg-config […]
Install & configure phpBB
cd /i-data/60cb70cf/www/pages/ wget https://www.phpbb.com/files/release/phpBB-3.0.12.zip unzip phpBB-3.0.12.zip chown -R nobody:nobody . cd phpBB3 mysql -p CREATE DATABASE phpbb CHARACTER SET utf8; GRANT ALL ON phpbb.* TO ‘phpbb’@’%’ IDENTIFIED BY ‘phpbb’ WITH GRANT OPTION; FLUSH PRIVILEGES; exit;
Compiling diffutils
cd ~/compile wget http://ftp.gnu.org/gnu/diffutils/diffutils-3.3.tar.xz tar -xJf diffutils-3.3.tar.xz cd diffutils-3.3 ./configure –help > configure.help.txt export CFLAGS=”-march=armv5te -mtune=xscale -mfloat-abi=soft -mfpu=vfp -mabi=aapcs-linux -mthumb -O2 -Wall” export LDFLAGS=”-L/ffp/lib -lintl” export CPPFLAGS=”-I/ffp/include -I/ffp/include/readline” export CXXFLAGS=”-I/ffp/include -I/ffp/include/readline” ./configure –prefix=/ffp –with-libiconv-prefix=/ffp –with-libintl-prefix=/ffp nohup /ffp/bin/make V=1 & renice […]