wok-next rev 20051
php, razorqt, transmission: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 23 16:33:01 2017 +0200 (2017-10-23) |
parents | fe5c6d5a50f0 |
children | 20ad5d68aec1 |
files | php-apache/receipt php-cherokee/receipt php-cli/receipt php-common/receipt php-common/stuff/php.desktop php-common/stuff/php.png php-common/stuff/phpinfo/index.php php-curl/receipt php-dba/receipt php-dev/receipt php-gd/receipt php-imap/receipt php-ldap/receipt php-mcrypt/receipt php-mysql/receipt php-mysqli/receipt php-odbc/receipt php-openssl/receipt php-pdo-mysql/receipt php-pdo-pgsql/receipt php-pear/receipt php-pgsql/receipt php-snmp/receipt php-soap/receipt php-sqlite/receipt php/receipt php/stuff/php.desktop php/stuff/php.png php/stuff/phpinfo/index.php razorqt-appswitcher/receipt razorqt-autosuspend/receipt razorqt-dev/receipt razorqt-locale-cs/receipt razorqt-locale-da/receipt razorqt-locale-de/receipt razorqt-locale-el/receipt razorqt-locale-es/receipt razorqt-locale-fr/receipt razorqt-locale-hu/receipt razorqt-locale-id/receipt razorqt-locale-it/receipt razorqt-locale-misc/receipt razorqt-locale-pl/receipt razorqt-locale-pt/receipt razorqt-locale-ru/receipt razorqt-locale-sl/receipt razorqt-locale-sv/receipt razorqt-locale-uk/receipt razorqt-locale-zh/receipt razorqt-policykit-agent/receipt razorqt-power/receipt razorqt-runner/receipt razorqt-themes/receipt razorqt/receipt transmission-cli/receipt transmission-daemon/receipt transmission-daemon/stuff/settings.json transmission-daemon/stuff/transmission-daemon transmission-web/receipt transmission/receipt transmission/stuff/settings.json transmission/stuff/transmission-daemon |
line diff
1.1 --- a/php-apache/receipt Mon Oct 23 13:19:31 2017 +0200 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,61 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="php-apache" 1.7 -VERSION="5.5.13" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="PHP module for apache." 1.10 -MAINTAINER="pascal.bellard@slitaz.org" 1.11 -LICENSE="BSD" 1.12 -WEB_SITE="http://www.php.net/" 1.13 -WANTED="php" 1.14 -PROVIDE="php:apache" 1.15 - 1.16 -DEPENDS="php-common apache libxml2 zlib" 1.17 - 1.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.19 -genpkg_rules() 1.20 -{ 1.21 - mkdir -p $fs/usr/share 1.22 - cp -a $install/usr/share/apache $fs/usr/share 1.23 -} 1.24 - 1.25 -# Post and pre install commans to stop 1.26 -# and restart Web server if needed. 1.27 -pre_install() 1.28 -{ 1.29 - if [ -z "$1" -a -f "/var/run/apache/httpd.pid" ]; then 1.30 - /etc/init.d/apache stop 1.31 - fi 1.32 -} 1.33 - 1.34 -post_install() 1.35 -{ 1.36 - grep -q php5_module "$1/etc/apache/httpd.conf" || { 1.37 - sed -e 's|mod_rewrite.so|mod_rewrite.so\nLoadModule php5_module share/apache/modules/libphp5.so|' \ 1.38 - -e 's|DirectoryIndex index.html|DirectoryIndex index.html index.php|' \ 1.39 - -e 's|mime.types|mime.types\n AddType application/x-httpd-php .php .php3 .php4 .php5\n AddType application/x-httpd-php-source .phps|' \ 1.40 - -i "$1/etc/apache/httpd.conf" 1.41 - } 1.42 - [ -f "$1/etc/apache/conf.d/phpinfo" ] || \ 1.43 - cat > "$1/etc/apache/conf.d/phpinfo" <<EOT 1.44 -<IfModule mod_alias.c> 1.45 - Alias /phpinfo /usr/share/phpinfo 1.46 -</IfModule> 1.47 -<DirectoryMatch /usr/share/phpinfo/> 1.48 - DirectoryIndex index.php 1.49 - Options +FollowSymLinks 1.50 - AllowOverride None 1.51 - Order allow,deny 1.52 - Allow from all 1.53 -</DirectoryMatch> 1.54 -EOT 1.55 - # Restart Web server. 1.56 - if [ -z "$1" -a -f "/var/run/apache/httpd.pid" ]; then 1.57 - /etc/init.d/apache stop 1.58 - sleep 2 1.59 - fi 1.60 - if [ -z "$1" ]; then 1.61 - /etc/init.d/apache start 1.62 - fi 1.63 -} 1.64 -
2.1 --- a/php-cherokee/receipt Mon Oct 23 13:19:31 2017 +0200 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,55 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="php-cherokee" 2.7 -VERSION="5.5.13" 2.8 -CATEGORY="development" 2.9 -SHORT_DESC="PHP module for cherokee." 2.10 -MAINTAINER="shann@slitaz.org" 2.11 -LICENSE="BSD" 2.12 -WEB_SITE="http://www.php.net/" 2.13 -WANTED="php" 2.14 -PROVIDE="php:cherokee" 2.15 - 2.16 -DEPENDS="php-common cherokee libxml2 zlib" 2.17 - 2.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.19 -genpkg_rules() 2.20 -{ 2.21 - mkdir -p $fs/usr/bin $fs/usr/share/php 2.22 - cp -a $src/sapi/cgi/php-cgi $fs/usr/bin 2.23 -} 2.24 - 2.25 -# Post and pre install commands to stop 2.26 -# and restart Web server if needed. 2.27 -pre_install() 2.28 -{ 2.29 - if [ -z "$1" -a ! -f "/var/run/cherokee.pid" ]; then 2.30 - /etc/init.d/cherokee stop 2.31 - fi 2.32 -} 2.33 - 2.34 -post_install() 2.35 -{ 2.36 - # Enable php 2.37 -# if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then 2.38 -# [ -f "$1/usr/lib/lighttpd/mod_fastcgi.so" ] || \ 2.39 -# tazpkg get-install lighttpd-modules --root="$1/" 2.40 -# sed -e 's|#fastcgi.server = ( ".php"|fastcgi.server = ( ".php"|' \ 2.41 -# -e 's|#"bin-path" => "/usr/bin/php-cgi"|"bin-path" => "/usr/bin/php-cgi"|' \ 2.42 -# -e 's|#"socket" => "/tmp/php.socket"|"socket" => "/tmp/php.socket"\n )))|' \ 2.43 -# -i "$1/etc/lighttpd/lighttpd.conf" 2.44 -# grep -q mod_fastcgi "$1/etc/lighttpd/lighttpd.conf" || \ 2.45 -# sed -e 's|server.modules = (|server.modules = (\n "mod_fastcgi",|' \ 2.46 -# -i "$1/etc/lighttpd/lighttpd.conf" 2.47 -# grep -q php3 "$1/etc/lighttpd/lighttpd.conf" || \ 2.48 -# sed -e 's|for PHP.*|for PHP.\nfastcgi.map-extensions = ( ".php3" => ".php", ".php4" => ".php", ".php5" => ".php" )|' \ 2.49 -# -i "$1/etc/lighttpd/lighttpd.conf" 2.50 -# fi 2.51 - 2.52 - 2.53 - # Start Web server. 2.54 - if [ -z "$1" -a ! -f /var/run/cherokee.pid \ 2.55 - -a -f /etc/init.d/cherokee ]; then 2.56 - /etc/init.d/cherokee start 2.57 - fi 2.58 -}
3.1 --- a/php-cli/receipt Mon Oct 23 13:19:31 2017 +0200 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,19 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="php-cli" 3.7 -VERSION="5.5.13" 3.8 -CATEGORY="development" 3.9 -SHORT_DESC="PHP web programming language command line interpreter." 3.10 -MAINTAINER="pascal.bellard@slitaz.org" 3.11 -LICENSE="BSD" 3.12 -WEB_SITE="http://www.php.net/" 3.13 -WANTED="php" 3.14 - 3.15 -DEPENDS="php-common" 3.16 - 3.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.18 -genpkg_rules() 3.19 -{ 3.20 - mkdir -p $fs/usr/bin 3.21 - cp -a $install/usr/bin/php $fs/usr/bin 3.22 -}
4.1 --- a/php-common/receipt Mon Oct 23 13:19:31 2017 +0200 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,43 +0,0 @@ 4.4 -# SliTaz package receipt. 4.5 - 4.6 -PACKAGE="php-common" 4.7 -VERSION="5.5.13" 4.8 -CATEGORY="development" 4.9 -SHORT_DESC="Common files for PHP modules." 4.10 -MAINTAINER="pascal.bellard@slitaz.org" 4.11 -LICENSE="BSD" 4.12 -WEB_SITE="http://www.php.net/" 4.13 -WANTED="php" 4.14 -CONFIG_FILES="/etc/php.ini" 4.15 - 4.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 4.17 -genpkg_rules() 4.18 -{ 4.19 - mkdir -p $fs/etc \ 4.20 - $fs/usr/share/applications \ 4.21 - $fs/usr/share/pixmaps 4.22 - cp -a $stuff/phpinfo $fs/usr/share 4.23 - cp $stuff/php.desktop $fs/usr/share/applications 4.24 - cp $stuff/php.png $fs/usr/share/pixmaps 4.25 - cp $install/etc/php.ini $fs/etc 4.26 -} 4.27 - 4.28 -# Post and pre install commands 4.29 -pre_install() 4.30 -{ 4.31 - # Backup existing php.ini 4.32 - if [ -f "$1/etc/php.ini" ]; then 4.33 - echo -n "Creating php.ini backup..." 4.34 - cp "$1/etc/php.ini" "$1/etc/php.ini.bak" 4.35 - status 4.36 - fi 4.37 -} 4.38 -post_install() 4.39 -{ 4.40 - # Restore original php.ini 4.41 - if [ -f "$1/etc/php.ini.bak" ]; then 4.42 - echo -n "Restoring php.ini backup..." 4.43 - mv -f "$1/etc/php.ini.bak" "$1/etc/php.ini" 4.44 - status 4.45 - fi 4.46 -}
5.1 --- a/php-common/stuff/php.desktop Mon Oct 23 13:19:31 2017 +0200 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,11 +0,0 @@ 5.4 -[Desktop Entry] 5.5 -Encoding=UTF-8 5.6 -Name=PHP info 5.7 -GenericName=PHP information 5.8 -GenericName[fr]=Informations sur PHP 5.9 -Comment=PHP configuration informations 5.10 -Comment[fr]=Informations de configuration de PHP 5.11 -Exec=browser http://localhost/phpinfo/ 5.12 -Icon=php 5.13 -Type=Application 5.14 -Categories=Development;
6.1 Binary file php-common/stuff/php.png has changed
7.1 --- a/php-common/stuff/phpinfo/index.php Mon Oct 23 13:19:31 2017 +0200 7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 7.3 @@ -1,4 +0,0 @@ 7.4 -<?php 7.5 -phpinfo(); 7.6 -?> 7.7 -
8.1 --- a/php-curl/receipt Mon Oct 23 13:19:31 2017 +0200 8.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 8.3 @@ -1,74 +0,0 @@ 8.4 -# SliTaz package receipt. 8.5 - 8.6 -PACKAGE="php-curl" 8.7 -VERSION="5.5.13" 8.8 -CATEGORY="development" 8.9 -SHORT_DESC="curl module for PHP web programming language." 8.10 -MAINTAINER="jozee@slitaz.org" 8.11 -LICENSE="BSD" 8.12 -WEB_SITE="http://www.php.net/" 8.13 -WANTED="php" 8.14 - 8.15 -DEPENDS="curl php" 8.16 - 8.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 8.18 -genpkg_rules() 8.19 -{ 8.20 - mkdir -p $fs/usr/share/php 8.21 - cp $(find $install | grep curl.so) $fs/usr/share/php/ 8.22 -} 8.23 - 8.24 -# Post and pre install commans to stop 8.25 -# and restart Web server if needed. 8.26 -pre_install() 8.27 -{ 8.28 - while read daemon file; do 8.29 - if [ -z "$1" -a -f "/var/run/$file" ]; then 8.30 - /etc/init.d/$daemon stop 8.31 - fi 8.32 - done <<EOT 8.33 -apache apache/httpd.pid 8.34 -lighttpd lighttpd.pid 8.35 -EOT 8.36 -} 8.37 - 8.38 -post_install() 8.39 -{ 8.40 - grep -q ^extension=curl.so "$1/etc/php.ini" || \ 8.41 - sed -e 's|extension=msql.so|extension=msql.so\nextension=curl.so|' -i "$1/etc/php.ini" 8.42 - # Start Web server. 8.43 - while read daemon file; do 8.44 - [ -z "$1" ] || continue 8.45 - if [ -f "/var/run/$file" ]; then 8.46 - /etc/init.d/$daemon stop 8.47 - sleep 2 8.48 - fi 8.49 - if [ -f /etc/init.d/$daemon ]; then 8.50 - /etc/init.d/$daemon start 8.51 - fi 8.52 - done <<EOT 8.53 -apache apache/httpd.pid 8.54 -lighttpd lighttpd.pid 8.55 -EOT 8.56 -} 8.57 - 8.58 -# Pre and post remove commands for Tazpkg. 8.59 -pre_remove() 8.60 -{ 8.61 - sed -i '/.*=curl.so.*/d' /etc/php.ini 8.62 - 8.63 - # Start Web server. 8.64 - while read daemon file; do 8.65 - [ -z "$1" ] || continue 8.66 - if [ -f "/var/run/$file" ]; then 8.67 - /etc/init.d/$daemon stop 8.68 - sleep 2 8.69 - fi 8.70 - if [ -f /etc/init.d/$daemon ]; then 8.71 - /etc/init.d/$daemon start 8.72 - fi 8.73 - done <<EOT 8.74 -apache apache/httpd.pid 8.75 -lighttpd lighttpd.pid 8.76 -EOT 8.77 -}
9.1 --- a/php-dba/receipt Mon Oct 23 13:19:31 2017 +0200 9.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 9.3 @@ -1,72 +0,0 @@ 9.4 -# SliTaz package receipt. 9.5 - 9.6 -PACKAGE="php-dba" 9.7 -VERSION="5.5.13" 9.8 -CATEGORY="development" 9.9 -SHORT_DESC="dba module for PHP web programming language." 9.10 -MAINTAINER="pascal.bellard@slitaz.org" 9.11 -LICENSE="BSD" 9.12 -WEB_SITE="http://www.php.net/" 9.13 -WANTED="php" 9.14 - 9.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 9.16 -genpkg_rules() 9.17 -{ 9.18 - mkdir -p $fs/usr/share/php 9.19 - cp $(find $install | grep dba.so) $fs/usr/share/php/ 9.20 -} 9.21 - 9.22 -# Post and pre install commans to stop 9.23 -# and restart Web server if needed. 9.24 -pre_install() 9.25 -{ 9.26 - while read daemon file; do 9.27 - if [ -z "$1" -a -f "/var/run/$file" ]; then 9.28 - /etc/init.d/$daemon stop 9.29 - fi 9.30 - done <<EOT 9.31 -apache apache/httpd.pid 9.32 -lighttpd lighttpd.pid 9.33 -EOT 9.34 -} 9.35 - 9.36 -post_install() 9.37 -{ 9.38 - grep -q ^extension=dba.so "$1/etc/php.ini" || \ 9.39 - sed -e 's|extension=msql.so|extension=msql.so\nextension=dba.so|' -i "$1/etc/php.ini" 9.40 - # Start Web server. 9.41 - while read daemon file; do 9.42 - [ -z "$1" ] || continue 9.43 - if [ -f "/var/run/$file" ]; then 9.44 - /etc/init.d/$daemon stop 9.45 - sleep 2 9.46 - fi 9.47 - if [ -f /etc/init.d/$daemon ]; then 9.48 - /etc/init.d/$daemon start 9.49 - fi 9.50 - done <<EOT 9.51 -apache apache/httpd.pid 9.52 -lighttpd lighttpd.pid 9.53 -EOT 9.54 -} 9.55 - 9.56 -# Pre and post remove commands for Tazpkg. 9.57 -pre_remove() 9.58 -{ 9.59 - sed -i '/.*=dba.so.*/d' /etc/php.ini 9.60 - 9.61 - # Start Web server. 9.62 - while read daemon file; do 9.63 - [ -z "$1" ] || continue 9.64 - if [ -f "/var/run/$file" ]; then 9.65 - /etc/init.d/$daemon stop 9.66 - sleep 2 9.67 - fi 9.68 - if [ -f /etc/init.d/$daemon ]; then 9.69 - /etc/init.d/$daemon start 9.70 - fi 9.71 - done <<EOT 9.72 -apache apache/httpd.pid 9.73 -lighttpd lighttpd.pid 9.74 -EOT 9.75 -}
10.1 --- a/php-dev/receipt Mon Oct 23 13:19:31 2017 +0200 10.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 10.3 @@ -1,24 +0,0 @@ 10.4 -# SliTaz package receipt. 10.5 - 10.6 -PACKAGE="php-dev" 10.7 -VERSION="5.5.13" 10.8 -CATEGORY="development" 10.9 -SHORT_DESC="PHP web programming language development files." 10.10 -MAINTAINER="pascal.bellard@slitaz.org" 10.11 -LICENSE="BSD" 10.12 -WEB_SITE="http://www.php.net/" 10.13 -WANTED="php" 10.14 - 10.15 -DEPENDS="php cyrus-sasl libldap libmysqlclient libpng libpostgresqlclient \ 10.16 -libunixODBC mhash openssl jpeg libmcrypt libtool libkrb5 libcomerr3 net-snmp" 10.17 - 10.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 10.19 -genpkg_rules() 10.20 -{ 10.21 - mkdir -p $fs/usr/lib/php $fs/usr/bin 10.22 - cp -a $install/usr/lib/php/extensions $fs/usr/lib/php 10.23 - rm -f $fs/usr/lib/php/*so 10.24 - cp -a $install/usr/lib/php/build $fs/usr/lib/php 10.25 - cp -a $install/usr/include $fs/usr 10.26 - cp -a $install/usr/bin/php-config $install/usr/bin/phpize $fs/usr/bin 10.27 -}
11.1 --- a/php-gd/receipt Mon Oct 23 13:19:31 2017 +0200 11.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 11.3 @@ -1,76 +0,0 @@ 11.4 -# SliTaz package receipt. 11.5 - 11.6 -PACKAGE="php-gd" 11.7 -VERSION="5.5.13" 11.8 -CATEGORY="development" 11.9 -SHORT_DESC="gd module for PHP web programming language." 11.10 -MAINTAINER="pascal.bellard@slitaz.org" 11.11 -LICENSE="BSD" 11.12 -WEB_SITE="http://www.php.net/" 11.13 -WANTED="php" 11.14 - 11.15 -DEPENDS="libpng php jpeg libvpx" 11.16 - 11.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 11.18 -genpkg_rules() 11.19 -{ 11.20 - mkdir -p $fs/usr/share/php 11.21 - cp $(find $install | grep gd.so) $fs/usr/share/php/ 11.22 -} 11.23 - 11.24 -# Post and pre install commans to stop 11.25 -# and restart Web server if needed. 11.26 -pre_install() 11.27 -{ 11.28 - while read daemon file; do 11.29 - if [ -z "$1" -a -f "/var/run/$file" ]; then 11.30 - /etc/init.d/$daemon stop 11.31 - fi 11.32 - done <<EOT 11.33 -apache apache/httpd.pid 11.34 -lighttpd lighttpd.pid 11.35 -EOT 11.36 -} 11.37 - 11.38 -post_install() 11.39 -{ 11.40 - grep -q ^extension=gd.so "$1/etc/php.ini" || \ 11.41 - sed -e 's|extension=msql.so|extension=msql.so\nextension=gd.so|' -i "$1/etc/php.ini" 11.42 - # Start Web server. 11.43 - while read daemon file; do 11.44 - [ -z "$1" ] || continue 11.45 - if [ -z "$1" -a -f "/var/run/$file" ]; then 11.46 - /etc/init.d/$daemon stop 11.47 - sleep 2 11.48 - fi 11.49 - if [ -z "$1" -a -f /etc/init.d/$daemon ]; then 11.50 - /etc/init.d/$daemon start 11.51 - fi 11.52 - done <<EOT 11.53 -apache apache/httpd.pid 11.54 -lighttpd lighttpd.pid 11.55 -EOT 11.56 -} 11.57 - 11.58 -# Pre and post remove commands for Tazpkg. 11.59 -pre_remove() 11.60 -{ 11.61 - sed -i '/.*=gd.so.*/d' "$1/etc/php.ini" 11.62 - 11.63 - # Start Web server. 11.64 - while read daemon file; do 11.65 - if [ -f /etc/init.d/$daemon -a -f "/var/run/$file" ]; then 11.66 - [ -z "$1" ] || continue 11.67 - if [ -z "$1" -a -f "/var/run/$file" ]; then 11.68 - /etc/init.d/$daemon stop 11.69 - sleep 2 11.70 - fi 11.71 - if [ -z "$1" -a -f /etc/init.d/$daemon ]; then 11.72 - /etc/init.d/$daemon start 11.73 - fi 11.74 - fi 11.75 - done <<EOT 11.76 -apache apache/httpd.pid 11.77 -lighttpd lighttpd.pid 11.78 -EOT 11.79 -}
12.1 --- a/php-imap/receipt Mon Oct 23 13:19:31 2017 +0200 12.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 12.3 @@ -1,74 +0,0 @@ 12.4 -# SliTaz package receipt. 12.5 - 12.6 -PACKAGE="php-imap" 12.7 -VERSION="5.5.13" 12.8 -CATEGORY="development" 12.9 -SHORT_DESC="imap module for PHP web programming language." 12.10 -MAINTAINER="pascal.bellard@slitaz.org" 12.11 -LICENSE="BSD" 12.12 -WEB_SITE="http://www.php.net/" 12.13 -WANTED="php" 12.14 - 12.15 -DEPENDS="php openssl" 12.16 - 12.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 12.18 -genpkg_rules() 12.19 -{ 12.20 - mkdir -p $fs/usr/share/php 12.21 - cp $(find $install | grep imap.so) $fs/usr/share/php/ 12.22 -} 12.23 - 12.24 -# Post and pre install commans to stop 12.25 -# and restart Web server if needed. 12.26 -pre_install() 12.27 -{ 12.28 - while read daemon file; do 12.29 - if [ -z "$1" -a -f "/var/run/$file" ]; then 12.30 - /etc/init.d/$daemon stop 12.31 - fi 12.32 - done <<EOT 12.33 -apache apache/httpd.pid 12.34 -lighttpd lighttpd.pid 12.35 -EOT 12.36 -} 12.37 - 12.38 -post_install() 12.39 -{ 12.40 - grep -q ^extension=imap.so "$1/etc/php.ini" || \ 12.41 - sed -e 's|extension=msql.so|extension=msql.so\nextension=imap.so|' -i "$1/etc/php.ini" 12.42 - # Start Web server. 12.43 - while read daemon file; do 12.44 - [ -z "$1" ] || continue 12.45 - if [ -f "/var/run/$file" ]; then 12.46 - /etc/init.d/$daemon stop 12.47 - sleep 2 12.48 - fi 12.49 - if [ -f /etc/init.d/$daemon ]; then 12.50 - /etc/init.d/$daemon start 12.51 - fi 12.52 - done <<EOT 12.53 -apache apache/httpd.pid 12.54 -lighttpd lighttpd.pid 12.55 -EOT 12.56 -} 12.57 - 12.58 -# Pre and post remove commands for Tazpkg. 12.59 -pre_remove() 12.60 -{ 12.61 - sed -i '/.*=imap.so.*/d' /etc/php.ini 12.62 - 12.63 - # Start Web server. 12.64 - while read daemon file; do 12.65 - [ -z "$1" ] || continue 12.66 - if [ -f "/var/run/$file" ]; then 12.67 - /etc/init.d/$daemon stop 12.68 - sleep 2 12.69 - fi 12.70 - if [ -f /etc/init.d/$daemon ]; then 12.71 - /etc/init.d/$daemon start 12.72 - fi 12.73 - done <<EOT 12.74 -apache apache/httpd.pid 12.75 -lighttpd lighttpd.pid 12.76 -EOT 12.77 -}
13.1 --- a/php-ldap/receipt Mon Oct 23 13:19:31 2017 +0200 13.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 13.3 @@ -1,74 +0,0 @@ 13.4 -# SliTaz package receipt. 13.5 - 13.6 -PACKAGE="php-ldap" 13.7 -VERSION="5.5.13" 13.8 -CATEGORY="development" 13.9 -SHORT_DESC="ldap module for PHP web programming language." 13.10 -MAINTAINER="pascal.bellard@slitaz.org" 13.11 -LICENSE="BSD" 13.12 -WEB_SITE="http://www.php.net/" 13.13 -WANTED="php" 13.14 - 13.15 -DEPENDS="libldap php openssl cyrus-sasl libkrb5 libcomerr3" 13.16 - 13.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 13.18 -genpkg_rules() 13.19 -{ 13.20 - mkdir -p $fs/usr/share/php 13.21 - cp $(find $install | grep ldap.so) $fs/usr/share/php/ 13.22 -} 13.23 - 13.24 -# Post and pre install commans to stop 13.25 -# and restart Web server if needed. 13.26 -pre_install() 13.27 -{ 13.28 - while read daemon file; do 13.29 - if [ -z "$1" -a -f "/var/run/$file" ]; then 13.30 - /etc/init.d/$daemon stop 13.31 - fi 13.32 - done <<EOT 13.33 -apache apache/httpd.pid 13.34 -lighttpd lighttpd.pid 13.35 -EOT 13.36 -} 13.37 - 13.38 -post_install() 13.39 -{ 13.40 - grep -q ^extension=ldap.so "$1/etc/php.ini" || \ 13.41 - sed -e 's|extension=msql.so|extension=msql.so\nextension=ldap.so|' -i "$1/etc/php.ini" 13.42 - # Start Web server. 13.43 - while read daemon file; do 13.44 - [ -z "$1" ] || continue 13.45 - if [ -f "/var/run/$file" ]; then 13.46 - /etc/init.d/$daemon stop 13.47 - sleep 2 13.48 - fi 13.49 - if [ -f /etc/init.d/$daemon ]; then 13.50 - /etc/init.d/$daemon start 13.51 - fi 13.52 - done <<EOT 13.53 -apache apache/httpd.pid 13.54 -lighttpd lighttpd.pid 13.55 -EOT 13.56 -} 13.57 - 13.58 -# Pre and post remove commands for Tazpkg. 13.59 -pre_remove() 13.60 -{ 13.61 - sed -i '/.*=ldap.so.*/d' /etc/php.ini 13.62 - 13.63 - # Start Web server. 13.64 - while read daemon file; do 13.65 - [ -z "$1" ] || continue 13.66 - if [ -f "/var/run/$file" ]; then 13.67 - /etc/init.d/$daemon stop 13.68 - sleep 2 13.69 - fi 13.70 - if [ -f /etc/init.d/$daemon ]; then 13.71 - /etc/init.d/$daemon start 13.72 - fi 13.73 - done <<EOT 13.74 -apache apache/httpd.pid 13.75 -lighttpd lighttpd.pid 13.76 -EOT 13.77 -}
14.1 --- a/php-mcrypt/receipt Mon Oct 23 13:19:31 2017 +0200 14.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 14.3 @@ -1,74 +0,0 @@ 14.4 -# SliTaz package receipt. 14.5 - 14.6 -PACKAGE="php-mcrypt" 14.7 -VERSION="5.5.13" 14.8 -CATEGORY="development" 14.9 -SHORT_DESC="mcrypt module for PHP web programming language." 14.10 -MAINTAINER="erjo@slitaz.org" 14.11 -LICENSE="BSD" 14.12 -WEB_SITE="http://www.php.net/" 14.13 -WANTED="php" 14.14 - 14.15 -DEPENDS="libmcrypt php libtool" 14.16 - 14.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 14.18 -genpkg_rules() 14.19 -{ 14.20 - mkdir -p $fs/usr/share/php 14.21 - cp $(find $install | grep mcrypt.so) $fs/usr/share/php/ 14.22 -} 14.23 - 14.24 -# Post and pre install commans to stop 14.25 -# and restart Web server if needed. 14.26 -pre_install() 14.27 -{ 14.28 - while read daemon file; do 14.29 - if [ -z "$1" -a -f "/var/run/$file" ]; then 14.30 - /etc/init.d/$daemon stop 14.31 - fi 14.32 - done <<EOT 14.33 -apache apache/httpd.pid 14.34 -lighttpd lighttpd.pid 14.35 -EOT 14.36 -} 14.37 - 14.38 -post_install() 14.39 -{ 14.40 - grep -q ^extension=mcrypt.so "$1/etc/php.ini" || \ 14.41 - sed -e 's|extension=msql.so|extension=msql.so\nextension=mcrypt.so|' -i "$1/etc/php.ini" 14.42 - # Start Web server. 14.43 - while read daemon file; do 14.44 - [ -z "$1" ] || continue 14.45 - if [ -f "/var/run/$file" ]; then 14.46 - /etc/init.d/$daemon stop 14.47 - sleep 2 14.48 - fi 14.49 - if [ -f /etc/init.d/$daemon ]; then 14.50 - /etc/init.d/$daemon start 14.51 - fi 14.52 - done <<EOT 14.53 -apache apache/httpd.pid 14.54 -lighttpd lighttpd.pid 14.55 -EOT 14.56 -} 14.57 - 14.58 -# Pre and post remove commands for Tazpkg. 14.59 -pre_remove() 14.60 -{ 14.61 - sed -i '/.*=mcrypt.so.*/d' /etc/php.ini 14.62 - 14.63 - # Start Web server. 14.64 - while read daemon file; do 14.65 - [ -z "$1" ] || continue 14.66 - if [ -f "/var/run/$file" ]; then 14.67 - /etc/init.d/$daemon stop 14.68 - sleep 2 14.69 - fi 14.70 - if [ -f /etc/init.d/$daemon ]; then 14.71 - /etc/init.d/$daemon start 14.72 - fi 14.73 - done <<EOT 14.74 -apache apache/httpd.pid 14.75 -lighttpd lighttpd.pid 14.76 -EOT 14.77 -}
15.1 --- a/php-mysql/receipt Mon Oct 23 13:19:31 2017 +0200 15.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 15.3 @@ -1,74 +0,0 @@ 15.4 -# SliTaz package receipt. 15.5 - 15.6 -PACKAGE="php-mysql" 15.7 -VERSION="5.5.13" 15.8 -CATEGORY="development" 15.9 -SHORT_DESC="mysql module for PHP web programming language." 15.10 -MAINTAINER="pascal.bellard@slitaz.org" 15.11 -LICENSE="BSD" 15.12 -WEB_SITE="http://www.php.net/" 15.13 -WANTED="php" 15.14 - 15.15 -DEPENDS="libmysqlclient php" 15.16 - 15.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 15.18 -genpkg_rules() 15.19 -{ 15.20 - mkdir -p $fs/usr/share/php 15.21 - cp $(find $install | grep mysql.so) $fs/usr/share/php/ 15.22 -} 15.23 - 15.24 -# Post and pre install commans to stop 15.25 -# and restart Web server if needed. 15.26 -pre_install() 15.27 -{ 15.28 - while read daemon file; do 15.29 - if [ -z "$1" -a -f "/var/run/$file" ]; then 15.30 - /etc/init.d/$daemon stop 15.31 - fi 15.32 - done <<EOT 15.33 -apache apache/httpd.pid 15.34 -lighttpd lighttpd.pid 15.35 -EOT 15.36 -} 15.37 - 15.38 -post_install() 15.39 -{ 15.40 - grep -q ^extension=mysql.so "$1/etc/php.ini" || \ 15.41 - sed -e 's|extension=msql.so|extension=msql.so\nextension=mysql.so|' -i "$1/etc/php.ini" 15.42 - # Start Web server. 15.43 - while read daemon file; do 15.44 - [ -z "$1" ] || continue 15.45 - if [ -f "/var/run/$file" ]; then 15.46 - /etc/init.d/$daemon stop 15.47 - sleep 2 15.48 - fi 15.49 - if [ -f /etc/init.d/$daemon ]; then 15.50 - /etc/init.d/$daemon start 15.51 - fi 15.52 - done <<EOT 15.53 -apache apache/httpd.pid 15.54 -lighttpd lighttpd.pid 15.55 -EOT 15.56 -} 15.57 - 15.58 -# Pre and post remove commands for Tazpkg. 15.59 -pre_remove() 15.60 -{ 15.61 - sed -i '/.*=mysql.so.*/d' /etc/php.ini 15.62 - 15.63 - # Start Web server. 15.64 - while read daemon file; do 15.65 - [ -z "$1" ] || continue 15.66 - if [ -f "/var/run/$file" ]; then 15.67 - /etc/init.d/$daemon stop 15.68 - sleep 2 15.69 - fi 15.70 - if [ -f /etc/init.d/$daemon ]; then 15.71 - /etc/init.d/$daemon start 15.72 - fi 15.73 - done <<EOT 15.74 -apache apache/httpd.pid 15.75 -lighttpd lighttpd.pid 15.76 -EOT 15.77 -}
16.1 --- a/php-mysqli/receipt Mon Oct 23 13:19:31 2017 +0200 16.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 16.3 @@ -1,74 +0,0 @@ 16.4 -# SliTaz package receipt. 16.5 - 16.6 -PACKAGE="php-mysqli" 16.7 -VERSION="5.5.13" 16.8 -CATEGORY="development" 16.9 -SHORT_DESC="mysqli module for PHP web programming language." 16.10 -MAINTAINER="pascal.bellard@slitaz.org" 16.11 -LICENSE="BSD" 16.12 -WEB_SITE="http://www.php.net/" 16.13 -WANTED="php" 16.14 - 16.15 -DEPENDS="libmysqlclient php" 16.16 - 16.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 16.18 -genpkg_rules() 16.19 -{ 16.20 - mkdir -p $fs/usr/share/php 16.21 - cp $(find $install | grep mysqli.so) $fs/usr/share/php/ 16.22 -} 16.23 - 16.24 -# Post and pre install commans to stop 16.25 -# and restart Web server if needed. 16.26 -pre_install() 16.27 -{ 16.28 - while read daemon file; do 16.29 - if [ -z "$1" -a -f "/var/run/$file" ]; then 16.30 - /etc/init.d/$daemon stop 16.31 - fi 16.32 - done <<EOT 16.33 -apache apache/httpd.pid 16.34 -lighttpd lighttpd.pid 16.35 -EOT 16.36 -} 16.37 - 16.38 -post_install() 16.39 -{ 16.40 - grep -q ^extension=mysqli.so "$1/etc/php.ini" || \ 16.41 - sed -e 's|extension=msql.so|extension=msql.so\nextension=mysqli.so|' -i "$1/etc/php.ini" 16.42 - # Start Web server. 16.43 - while read daemon file; do 16.44 - [ -z "$1" ] || continue 16.45 - if [ -f "/var/run/$file" ]; then 16.46 - /etc/init.d/$daemon stop 16.47 - sleep 2 16.48 - fi 16.49 - if [ -f /etc/init.d/$daemon ]; then 16.50 - /etc/init.d/$daemon start 16.51 - fi 16.52 - done <<EOT 16.53 -apache apache/httpd.pid 16.54 -lighttpd lighttpd.pid 16.55 -EOT 16.56 -} 16.57 - 16.58 -# Pre and post remove commands for Tazpkg. 16.59 -pre_remove() 16.60 -{ 16.61 - sed -i '/.*=mysqli.so.*/d' /etc/php.ini 16.62 - 16.63 - # Start Web server. 16.64 - while read daemon file; do 16.65 - [ -z "$1" ] || continue 16.66 - if [ -f "/var/run/$file" ]; then 16.67 - /etc/init.d/$daemon stop 16.68 - sleep 2 16.69 - fi 16.70 - if [ -f /etc/init.d/$daemon ]; then 16.71 - /etc/init.d/$daemon start 16.72 - fi 16.73 - done <<EOT 16.74 -apache apache/httpd.pid 16.75 -lighttpd lighttpd.pid 16.76 -EOT 16.77 -}
17.1 --- a/php-odbc/receipt Mon Oct 23 13:19:31 2017 +0200 17.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 17.3 @@ -1,74 +0,0 @@ 17.4 -# SliTaz package receipt. 17.5 - 17.6 -PACKAGE="php-odbc" 17.7 -VERSION="5.5.13" 17.8 -CATEGORY="development" 17.9 -SHORT_DESC="ODBC module for PHP web programming language." 17.10 -MAINTAINER="pascal.bellard@slitaz.org" 17.11 -LICENSE="BSD" 17.12 -WEB_SITE="http://www.php.net/" 17.13 -WANTED="php" 17.14 - 17.15 -DEPENDS="unixODBC php" 17.16 - 17.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 17.18 -genpkg_rules() 17.19 -{ 17.20 - mkdir -p $fs/usr/share/php 17.21 - cp $(find $install | grep odbc.so) $fs/usr/share/php/ 17.22 -} 17.23 - 17.24 -# Post and pre install commans to stop 17.25 -# and restart Web server if needed. 17.26 -pre_install() 17.27 -{ 17.28 - while read daemon file; do 17.29 - if [ -z "$1" -a -f "/var/run/$file" ]; then 17.30 - /etc/init.d/$daemon stop 17.31 - fi 17.32 - done <<EOT 17.33 -apache apache/httpd.pid 17.34 -lighttpd lighttpd.pid 17.35 -EOT 17.36 -} 17.37 - 17.38 -post_install() 17.39 -{ 17.40 - grep -q ^extension=odbc.so "$1/etc/php.ini" || \ 17.41 - sed -e 's|extension=msql.so|extension=msql.so\nextension=odbc.so|' -i "$1/etc/php.ini" 17.42 - # Start Web server. 17.43 - while read daemon file; do 17.44 - [ -z "$1" ] || continue 17.45 - if [ -f "/var/run/$file" ]; then 17.46 - /etc/init.d/$daemon stop 17.47 - sleep 2 17.48 - fi 17.49 - if [ -f /etc/init.d/$daemon ]; then 17.50 - /etc/init.d/$daemon start 17.51 - fi 17.52 - done <<EOT 17.53 -apache apache/httpd.pid 17.54 -lighttpd lighttpd.pid 17.55 -EOT 17.56 -} 17.57 - 17.58 -# Pre and post remove commands for Tazpkg. 17.59 -pre_remove() 17.60 -{ 17.61 - sed -i '/.*=odbc.so.*/d' /etc/php.ini 17.62 - 17.63 - # Start Web server. 17.64 - while read daemon file; do 17.65 - [ -z "$1" ] || continue 17.66 - if [ -f "/var/run/$file" ]; then 17.67 - /etc/init.d/$daemon stop 17.68 - sleep 2 17.69 - fi 17.70 - if [ -f /etc/init.d/$daemon ]; then 17.71 - /etc/init.d/$daemon start 17.72 - fi 17.73 - done <<EOT 17.74 -apache apache/httpd.pid 17.75 -lighttpd lighttpd.pid 17.76 -EOT 17.77 -}
18.1 --- a/php-openssl/receipt Mon Oct 23 13:19:31 2017 +0200 18.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 18.3 @@ -1,74 +0,0 @@ 18.4 -# SliTaz package receipt. 18.5 - 18.6 -PACKAGE="php-openssl" 18.7 -VERSION="5.5.13" 18.8 -CATEGORY="development" 18.9 -SHORT_DESC="Openssl module for PHP web programming language." 18.10 -MAINTAINER="pascal.bellard@slitaz.org" 18.11 -LICENSE="BSD" 18.12 -WEB_SITE="http://www.php.net/" 18.13 -WANTED="php" 18.14 - 18.15 -DEPENDS="php openssl" 18.16 - 18.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 18.18 -genpkg_rules() 18.19 -{ 18.20 - mkdir -p $fs/usr/share/php 18.21 - cp $(find $install | grep openssl.so) $fs/usr/share/php/ 18.22 -} 18.23 - 18.24 -# Post and pre install commans to stop 18.25 -# and restart Web server if needed. 18.26 -pre_install() 18.27 -{ 18.28 - while read daemon file; do 18.29 - if [ -z "$1" -a -f "/var/run/$file" ]; then 18.30 - /etc/init.d/$daemon stop 18.31 - fi 18.32 - done <<EOT 18.33 -apache apache/httpd.pid 18.34 -lighttpd lighttpd.pid 18.35 -EOT 18.36 -} 18.37 - 18.38 -post_install() 18.39 -{ 18.40 - grep -q ^extension=openssl.so "$1/etc/php.ini" || \ 18.41 - sed -e 's|extension=msql.so|extension=msql.so\nextension=openssl.so|' -i "$1/etc/php.ini" 18.42 - # Start Web server. 18.43 - while read daemon file; do 18.44 - [ -z "$1" ] || continue 18.45 - if [ -f "/var/run/$file" ]; then 18.46 - /etc/init.d/$daemon stop 18.47 - sleep 2 18.48 - fi 18.49 - if [ -f /etc/init.d/$daemon ]; then 18.50 - /etc/init.d/$daemon start 18.51 - fi 18.52 - done <<EOT 18.53 -apache apache/httpd.pid 18.54 -lighttpd lighttpd.pid 18.55 -EOT 18.56 -} 18.57 - 18.58 -# Pre and post remove commands for Tazpkg. 18.59 -pre_remove() 18.60 -{ 18.61 - sed -i '/.*=openssl.so.*/d' /etc/php.ini 18.62 - 18.63 - # Start Web server. 18.64 - while read daemon file; do 18.65 - [ -z "$1" ] || continue 18.66 - if [ -f "/var/run/$file" ]; then 18.67 - /etc/init.d/$daemon stop 18.68 - sleep 2 18.69 - fi 18.70 - if [ -f /etc/init.d/$daemon ]; then 18.71 - /etc/init.d/$daemon start 18.72 - fi 18.73 - done <<EOT 18.74 -apache apache/httpd.pid 18.75 -lighttpd lighttpd.pid 18.76 -EOT 18.77 -}
19.1 --- a/php-pdo-mysql/receipt Mon Oct 23 13:19:31 2017 +0200 19.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 19.3 @@ -1,74 +0,0 @@ 19.4 -# SliTaz package receipt. 19.5 - 19.6 -PACKAGE="php-pdo-mysql" 19.7 -VERSION="5.5.13" 19.8 -CATEGORY="development" 19.9 -SHORT_DESC="PDO MySQL module for PHP web programming language." 19.10 -MAINTAINER="pascal.bellard@slitaz.org" 19.11 -LICENSE="BSD" 19.12 -WEB_SITE="http://www.php.net/" 19.13 -WANTED="php" 19.14 - 19.15 -DEPENDS="php php-mysql" 19.16 - 19.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 19.18 -genpkg_rules() 19.19 -{ 19.20 - mkdir -p $fs/usr/share/php 19.21 - cp $(find $install | grep pdo_mysql.so) $fs/usr/share/php/ 19.22 -} 19.23 - 19.24 -# Post and pre install commans to stop 19.25 -# and restart Web server if needed. 19.26 -pre_install() 19.27 -{ 19.28 - while read daemon file; do 19.29 - if [ -z "$1" -a -f "/var/run/$file" ]; then 19.30 - /etc/init.d/$daemon stop 19.31 - fi 19.32 - done <<EOT 19.33 -apache apache/httpd.pid 19.34 -lighttpd lighttpd.pid 19.35 -EOT 19.36 -} 19.37 - 19.38 -post_install() 19.39 -{ 19.40 - grep -q ^extension=pdo_mysql.so "$1/etc/php.ini" || \ 19.41 - sed -e 's|extension=msql.so|extension=msql.so\nextension=pdo_mysql.so|' -i "$1/etc/php.ini" 19.42 - # Start Web server. 19.43 - while read daemon file; do 19.44 - [ -z "$1" ] || continue 19.45 - if [ -z "$1" -a -f "/var/run/$file" ]; then 19.46 - /etc/init.d/$daemon stop 19.47 - sleep 2 19.48 - fi 19.49 - if [ -z "$1" -a -f /etc/init.d/$daemon ]; then 19.50 - /etc/init.d/$daemon start 19.51 - fi 19.52 - done <<EOT 19.53 -apache apache/httpd.pid 19.54 -lighttpd lighttpd.pid 19.55 -EOT 19.56 -} 19.57 - 19.58 -# Pre and post remove commands for Tazpkg. 19.59 -pre_remove() 19.60 -{ 19.61 - sed -i '/.*=pdo_mysql.so.*/d' /etc/php.ini 19.62 - 19.63 - # Start Web server. 19.64 - while read daemon file; do 19.65 - [ -z "$1" ] || continue 19.66 - if [ -z "$1" -a -f "/var/run/$file" ]; then 19.67 - /etc/init.d/$daemon stop 19.68 - sleep 2 19.69 - fi 19.70 - if [ -z "$1" -a -f /etc/init.d/$daemon ]; then 19.71 - /etc/init.d/$daemon start 19.72 - fi 19.73 - done <<EOT 19.74 -apache apache/httpd.pid 19.75 -lighttpd lighttpd.pid 19.76 -EOT 19.77 -}
20.1 --- a/php-pdo-pgsql/receipt Mon Oct 23 13:19:31 2017 +0200 20.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 20.3 @@ -1,74 +0,0 @@ 20.4 -# SliTaz package receipt. 20.5 - 20.6 -PACKAGE="php-pdo-pgsql" 20.7 -VERSION="5.5.13" 20.8 -CATEGORY="development" 20.9 -SHORT_DESC="PDO PgSQL module for PHP web programming language." 20.10 -MAINTAINER="pascal.bellard@slitaz.org" 20.11 -LICENSE="BSD" 20.12 -WEB_SITE="http://www.php.net/" 20.13 -WANTED="php" 20.14 - 20.15 -DEPENDS="php php-mysql libpostgresqlclient" 20.16 - 20.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 20.18 -genpkg_rules() 20.19 -{ 20.20 - mkdir -p $fs/usr/share/php 20.21 - cp $(find $install | grep pdo_pgsql.so) $fs/usr/share/php/ 20.22 -} 20.23 - 20.24 -# Post and pre install commans to stop 20.25 -# and restart Web server if needed. 20.26 -pre_install() 20.27 -{ 20.28 - while read daemon file; do 20.29 - if [ -z "$1" -a -f "/var/run/$file" ]; then 20.30 - /etc/init.d/$daemon stop 20.31 - fi 20.32 - done <<EOT 20.33 -apache apache/httpd.pid 20.34 -lighttpd lighttpd.pid 20.35 -EOT 20.36 -} 20.37 - 20.38 -post_install() 20.39 -{ 20.40 - grep -q ^extension=pdo_pgsql.so "$1/etc/php.ini" || \ 20.41 - sed -e 's|extension=msql.so|extension=msql.so\nextension=pdo_pgsql.so|' -i "$1/etc/php.ini" 20.42 - # Start Web server. 20.43 - while read daemon file; do 20.44 - [ -z "$1" ] || continue 20.45 - if [ -z "$1" -a -f "/var/run/$file" ]; then 20.46 - /etc/init.d/$daemon stop 20.47 - sleep 2 20.48 - fi 20.49 - if [ -z "$1" -a -f /etc/init.d/$daemon ]; then 20.50 - /etc/init.d/$daemon start 20.51 - fi 20.52 - done <<EOT 20.53 -apache apache/httpd.pid 20.54 -lighttpd lighttpd.pid 20.55 -EOT 20.56 -} 20.57 - 20.58 -# Pre and post remove commands for Tazpkg. 20.59 -pre_remove() 20.60 -{ 20.61 - sed -i '/.*=pdo_pgsql.so.*/d' /etc/php.ini 20.62 - 20.63 - # Start Web server. 20.64 - while read daemon file; do 20.65 - [ -z "$1" ] || continue 20.66 - if [ -z "$1" -a -f "/var/run/$file" ]; then 20.67 - /etc/init.d/$daemon stop 20.68 - sleep 2 20.69 - fi 20.70 - if [ -z "$1" -a -f /etc/init.d/$daemon ]; then 20.71 - /etc/init.d/$daemon start 20.72 - fi 20.73 - done <<EOT 20.74 -apache apache/httpd.pid 20.75 -lighttpd lighttpd.pid 20.76 -EOT 20.77 -}
21.1 --- a/php-pear/receipt Mon Oct 23 13:19:31 2017 +0200 21.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 21.3 @@ -1,54 +0,0 @@ 21.4 -# SliTaz package receipt. 21.5 - 21.6 -PACKAGE="php-pear" 21.7 -VERSION="5.5.13" 21.8 -CATEGORY="development" 21.9 -SHORT_DESC="PHP web programming language pear libs." 21.10 -MAINTAINER="pascal.bellard@slitaz.org" 21.11 -LICENSE="BSD" 21.12 -WEB_SITE="http://www.php.net/" 21.13 -WANTED="php" 21.14 - 21.15 -DEPENDS="php-cli" 21.16 - 21.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 21.18 -genpkg_rules() 21.19 -{ 21.20 - mkdir -p $fs/usr/share $fs/usr/bin $fs/etc 21.21 - cp -a $install/usr/share/php $fs/usr/share 21.22 - cp -a $install/etc/pear.conf $fs/etc 21.23 - cp -a $install/usr/bin/pe* $fs/usr/bin 21.24 -} 21.25 - 21.26 -# Pre and post install commands for Tazpkg. 21.27 -pre_install() 21.28 -{ 21.29 - while read daemon file; do 21.30 - if [ -z "$1" -a -f "/var/run/$file" ]; then 21.31 - /etc/init.d/$daemon stop 21.32 - fi 21.33 - done <<EOT 21.34 -apache apache/httpd.pid 21.35 -lighttpd lighttpd.pid 21.36 -EOT 21.37 -} 21.38 - 21.39 -post_install() 21.40 -{ 21.41 - grep ^include_path "$1/etc/php.ini" 21.42 - sed -i 's|/php/includes"|/php/includes"\ninclude_path = ".:/usr/share/php"|' "$1/etc/php.ini" 21.43 - # Restart Web server. 21.44 - while read daemon file; do 21.45 - [ -z "$1" ] || continue 21.46 - if [ -f "/var/run/$file" ]; then 21.47 - /etc/init.d/$daemon stop 21.48 - sleep 2 21.49 - fi 21.50 - if [ -f /etc/init.d/$daemon ]; then 21.51 - /etc/init.d/$daemon start 21.52 - fi 21.53 - done <<EOT 21.54 -apache apache/httpd.pid 21.55 -lighttpd lighttpd.pid 21.56 -EOT 21.57 -}
22.1 --- a/php-pgsql/receipt Mon Oct 23 13:19:31 2017 +0200 22.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 22.3 @@ -1,74 +0,0 @@ 22.4 -# SliTaz package receipt. 22.5 - 22.6 -PACKAGE="php-pgsql" 22.7 -VERSION="5.5.13" 22.8 -CATEGORY="development" 22.9 -SHORT_DESC="postgresql module for PHP web programming language." 22.10 -MAINTAINER="pascal.bellard@slitaz.org" 22.11 -LICENSE="BSD" 22.12 -WEB_SITE="http://www.php.net/" 22.13 -WANTED="php" 22.14 - 22.15 -DEPENDS="postgresql php" 22.16 - 22.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 22.18 -genpkg_rules() 22.19 -{ 22.20 - mkdir -p $fs/usr/share/php 22.21 - cp $(find $install | grep pgsql.so) $fs/usr/share/php/ 22.22 -} 22.23 - 22.24 -# Post and pre install commans to stop 22.25 -# and restart Web server if needed. 22.26 -pre_install() 22.27 -{ 22.28 - while read daemon file; do 22.29 - if [ -z "$1" -a -f "/var/run/$file" ]; then 22.30 - /etc/init.d/$daemon stop 22.31 - fi 22.32 - done <<EOT 22.33 -apache apache/httpd.pid 22.34 -lighttpd lighttpd.pid 22.35 -EOT 22.36 -} 22.37 - 22.38 -post_install() 22.39 -{ 22.40 - grep -q ^extension=pgsql.so "$1/etc/php.ini" || \ 22.41 - sed -e 's|extension=msql.so|extension=msql.so\nextension=pgsql.so|' -i "$1/etc/php.ini" 22.42 - # Start Web server. 22.43 - while read daemon file; do 22.44 - [ -z "$1" ] || continue 22.45 - if [ -f "/var/run/$file" ]; then 22.46 - /etc/init.d/$daemon stop 22.47 - sleep 2 22.48 - fi 22.49 - if [ -f /etc/init.d/$daemon ]; then 22.50 - /etc/init.d/$daemon start 22.51 - fi 22.52 - done <<EOT 22.53 -apache apache/httpd.pid 22.54 -lighttpd lighttpd.pid 22.55 -EOT 22.56 -} 22.57 - 22.58 -# Pre and post remove commands for Tazpkg. 22.59 -pre_remove() 22.60 -{ 22.61 - sed -i '/.*=pgsql.so.*/d' /etc/php.ini 22.62 - 22.63 - # Start Web server. 22.64 - while read daemon file; do 22.65 - [ -z "$1" ] || continue 22.66 - if [ -f "/var/run/$file" ]; then 22.67 - /etc/init.d/$daemon stop 22.68 - sleep 2 22.69 - fi 22.70 - if [ -f /etc/init.d/$daemon ]; then 22.71 - /etc/init.d/$daemon start 22.72 - fi 22.73 - done <<EOT 22.74 -apache apache/httpd.pid 22.75 -lighttpd lighttpd.pid 22.76 -EOT 22.77 -}
23.1 --- a/php-snmp/receipt Mon Oct 23 13:19:31 2017 +0200 23.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 23.3 @@ -1,74 +0,0 @@ 23.4 -# SliTaz package receipt. 23.5 - 23.6 -PACKAGE="php-snmp" 23.7 -VERSION="5.5.13" 23.8 -CATEGORY="development" 23.9 -SHORT_DESC="snmp module for PHP web programming language." 23.10 -MAINTAINER="pascal.bellard@slitaz.org" 23.11 -LICENSE="BSD" 23.12 -WEB_SITE="http://www.php.net/" 23.13 -WANTED="php" 23.14 - 23.15 -DEPENDS="net-snmp php libcrypto" 23.16 - 23.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 23.18 -genpkg_rules() 23.19 -{ 23.20 - mkdir -p $fs/usr/share/php 23.21 - cp $(find $install | grep snmp.so) $fs/usr/share/php/ 23.22 -} 23.23 - 23.24 -# Post and pre install commans to stop 23.25 -# and restart Web server if needed. 23.26 -pre_install() 23.27 -{ 23.28 - while read daemon file; do 23.29 - if [ -z "$1" -a -f "/var/run/$file" ]; then 23.30 - /etc/init.d/$daemon stop 23.31 - fi 23.32 - done <<EOT 23.33 -apache apache/httpd.pid 23.34 -lighttpd lighttpd.pid 23.35 -EOT 23.36 -} 23.37 - 23.38 -post_install() 23.39 -{ 23.40 - grep -q ^extension=snmp.so "$1/etc/php.ini" || \ 23.41 - sed -e 's|extension=msql.so|extension=msql.so\nextension=snmp.so|' -i "$1/etc/php.ini" 23.42 - # Start Web server. 23.43 - while read daemon file; do 23.44 - [ -z "$1" ] || continue 23.45 - if [ -f "/var/run/$file" ]; then 23.46 - /etc/init.d/$daemon stop 23.47 - sleep 2 23.48 - fi 23.49 - if [ -f /etc/init.d/$daemon ]; then 23.50 - /etc/init.d/$daemon start 23.51 - fi 23.52 - done <<EOT 23.53 -apache apache/httpd.pid 23.54 -lighttpd lighttpd.pid 23.55 -EOT 23.56 -} 23.57 - 23.58 -# Pre and post remove commands for Tazpkg. 23.59 -pre_remove() 23.60 -{ 23.61 - sed -i '/.*=snmp.so.*/d' /etc/php.ini 23.62 - 23.63 - # Start Web server. 23.64 - while read daemon file; do 23.65 - [ -z "$1" ] || continue 23.66 - if [ -f "/var/run/$file" ]; then 23.67 - /etc/init.d/$daemon stop 23.68 - sleep 2 23.69 - fi 23.70 - if [ -f /etc/init.d/$daemon ]; then 23.71 - /etc/init.d/$daemon start 23.72 - fi 23.73 - done <<EOT 23.74 -apache apache/httpd.pid 23.75 -lighttpd lighttpd.pid 23.76 -EOT 23.77 -}
24.1 --- a/php-soap/receipt Mon Oct 23 13:19:31 2017 +0200 24.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 24.3 @@ -1,74 +0,0 @@ 24.4 -# SliTaz package receipt. 24.5 - 24.6 -PACKAGE="php-soap" 24.7 -VERSION="5.5.13" 24.8 -CATEGORY="development" 24.9 -SHORT_DESC="soap module for PHP web programming language." 24.10 -MAINTAINER="pascal.bellard@slitaz.org" 24.11 -LICENSE="BSD" 24.12 -WEB_SITE="http://www.php.net/" 24.13 -WANTED="php" 24.14 - 24.15 -DEPENDS="php libxml2" 24.16 - 24.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 24.18 -genpkg_rules() 24.19 -{ 24.20 - mkdir -p $fs/usr/share/php 24.21 - cp $(find $install | grep soap.so) $fs/usr/share/php/ 24.22 -} 24.23 - 24.24 -# Post and pre install commans to stop 24.25 -# and restart Web server if needed. 24.26 -pre_install() 24.27 -{ 24.28 - while read daemon file; do 24.29 - if [ -z "$1" -a -f "/var/run/$file" ]; then 24.30 - /etc/init.d/$daemon stop 24.31 - fi 24.32 - done <<EOT 24.33 -apache apache/httpd.pid 24.34 -lighttpd lighttpd.pid 24.35 -EOT 24.36 -} 24.37 - 24.38 -post_install() 24.39 -{ 24.40 - grep -q ^extension=soap.so "$1/etc/php.ini" || \ 24.41 - sed -e 's|extension=msql.so|extension=msql.so\nextension=soap.so|' -i "$1/etc/php.ini" 24.42 - # Start Web server. 24.43 - while read daemon file; do 24.44 - [ -z "$1" ] || continue 24.45 - if [ -f "/var/run/$file" ]; then 24.46 - /etc/init.d/$daemon stop 24.47 - sleep 2 24.48 - fi 24.49 - if [ -f /etc/init.d/$daemon ]; then 24.50 - /etc/init.d/$daemon start 24.51 - fi 24.52 - done <<EOT 24.53 -apache apache/httpd.pid 24.54 -lighttpd lighttpd.pid 24.55 -EOT 24.56 -} 24.57 - 24.58 -# Pre and post remove commands for Tazpkg. 24.59 -pre_remove() 24.60 -{ 24.61 - sed -i '/.*=soap.so.*/d' /etc/php.ini 24.62 - 24.63 - # Start Web server. 24.64 - while read daemon file; do 24.65 - [ -z "$1" ] || continue 24.66 - if [ -f "/var/run/$file" ]; then 24.67 - /etc/init.d/$daemon stop 24.68 - sleep 2 24.69 - fi 24.70 - if [ -f /etc/init.d/$daemon ]; then 24.71 - /etc/init.d/$daemon start 24.72 - fi 24.73 - done <<EOT 24.74 -apache apache/httpd.pid 24.75 -lighttpd lighttpd.pid 24.76 -EOT 24.77 -}
25.1 --- a/php-sqlite/receipt Mon Oct 23 13:19:31 2017 +0200 25.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 25.3 @@ -1,62 +0,0 @@ 25.4 -# SliTaz package receipt. 25.5 - 25.6 -PACKAGE="php-sqlite" 25.7 -VERSION="5.5.13" 25.8 -CATEGORY="development" 25.9 -SHORT_DESC="sqlite module for PHP web programming language." 25.10 -MAINTAINER="slaxemulator@gmail.com" 25.11 -LICENSE="BSD" 25.12 -WEB_SITE="http://www.php.net/" 25.13 -WANTED="php" 25.14 - 25.15 -DEPENDS="php sqlite" 25.16 - 25.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 25.18 -genpkg_rules() 25.19 -{ 25.20 - mkdir -p $fs/usr/share/php 25.21 - cp $(find $install | grep sqlite.so) $fs/usr/share/php/ 25.22 - cp $(find $install | grep sqlite3.so) $fs/usr/share/php/ 25.23 - cp $(find $install | grep pdo_sqlite.so) $fs/usr/share/php/ 25.24 -} 25.25 - 25.26 -post_install() 25.27 -{ 25.28 - grep -q ^extension=sqlite3.so "$1/etc/php.ini" || \ 25.29 - sed -e 's|extension=msql.so|extension=msql.so\nextension=sqlite3.so|' -i "$1/etc/php.ini" 25.30 - # Start Web server. 25.31 - while read daemon file; do 25.32 - [ -z "$1" ] || continue 25.33 - if [ -f "/var/run/$file" ]; then 25.34 - /etc/init.d/$daemon stop 25.35 - sleep 2 25.36 - fi 25.37 - if [ -f /etc/init.d/$daemon ]; then 25.38 - /etc/init.d/$daemon start 25.39 - fi 25.40 - done <<EOT 25.41 -apache apache/httpd.pid 25.42 -lighttpd lighttpd.pid 25.43 -EOT 25.44 -} 25.45 - 25.46 -# Pre and post remove commands for Tazpkg. 25.47 -pre_remove() 25.48 -{ 25.49 - sed -i '/.*=sqlite3.so.*/d' /etc/php.ini 25.50 - 25.51 - # Start Web server. 25.52 - while read daemon file; do 25.53 - [ -z "$1" ] || continue 25.54 - if [ -f "/var/run/$file" ]; then 25.55 - /etc/init.d/$daemon stop 25.56 - sleep 2 25.57 - fi 25.58 - if [ -f /etc/init.d/$daemon ]; then 25.59 - /etc/init.d/$daemon start 25.60 - fi 25.61 - done <<EOT 25.62 -apache apache/httpd.pid 25.63 -lighttpd lighttpd.pid 25.64 -EOT 25.65 -} 25.66 \ No newline at end of file
26.1 --- a/php/receipt Mon Oct 23 13:19:31 2017 +0200 26.2 +++ b/php/receipt Mon Oct 23 16:33:01 2017 +0200 26.3 @@ -1,4 +1,4 @@ 26.4 -# SliTaz package receipt. 26.5 +# SliTaz package receipt v2. 26.6 26.7 PACKAGE="php" 26.8 VERSION="5.5.13" 26.9 @@ -9,15 +9,16 @@ 26.10 TARBALL="$PACKAGE-$VERSION.tar.bz2" 26.11 WEB_SITE="http://www.php.net/" 26.12 WGET_URL="http://www.php.net/distributions/$TARBALL" 26.13 -PROVIDE="php:lighttpd" 26.14 #HOST_ARCH="i486 arm" 26.15 26.16 -DEPENDS="php-common lighttpd zlib libxml2 sqlite libssl" 26.17 BUILD_DEPENDS="sqlite-dev libxml2-dev zlib-dev libmysqlclient mysql-dev \ 26.18 net-snmp-dev postgresql-dev gettext openssl-dev apache-dev apr-util-dev \ 26.19 c-client mhash-dev libpng-dev libunixODBC unixODBC-dev openldap-dev \ 26.20 libldap apr-dev libmcrypt-dev curl-dev cyrus-sasl-dev perl pkg-config \ 26.21 jpeg-dev net-snmp-dev libvpx-dev apache coreutils-conditions sed re2c" 26.22 +SPLIT="php-apache php-cherokee php-cli php-common php-curl php-dba php-dev \ 26.23 +php-gd php-imap php-ldap php-mcrypt php-mysqli php-mysql php-odbc php-openssl \ 26.24 +php-pdo-mysql php-pdo-pgsql php-pear php-pgsql php-snmp php-soap php-sqlite" 26.25 26.26 case "$ARCH" in 26.27 i?86) 26.28 @@ -111,20 +112,174 @@ 26.29 # Rules to gen a SliTaz package suitable for Tazpkg. 26.30 genpkg_rules() 26.31 { 26.32 - mkdir -p $fs/usr/bin $fs/usr/share/php 26.33 - cp -a $src/sapi/cgi/php-cgi $fs/usr/bin 26.34 + case $PACKAGE in 26.35 + php) 26.36 + PROVIDE="php:lighttpd" 26.37 + DEPENDS="php-common lighttpd zlib libxml2 sqlite libssl" 26.38 + mkdir -p $fs/usr/bin $fs/usr/share/php 26.39 + cp -a $src/sapi/cgi/php-cgi $fs/usr/bin 26.40 + ;; 26.41 + php-apache) 26.42 + CAT="development|PHP module for apache." 26.43 + PROVIDE="php:apache" 26.44 + DEPENDS="php-common apache libxml2 zlib" 26.45 + mkdir -p $fs/usr/share 26.46 + cp -a $install/usr/share/apache $fs/usr/share 26.47 + ;; 26.48 + php-cherokee) 26.49 + CAT="development|PHP module for cherokee." 26.50 + PROVIDE="php:cherokee" 26.51 + DEPENDS="php-common cherokee libxml2 zlib" 26.52 + mkdir -p $fs/usr/bin $fs/usr/share/php 26.53 + cp -a $src/sapi/cgi/php-cgi $fs/usr/bin 26.54 + ;; 26.55 + php-cli) 26.56 + CAT="development|PHP web programming language command line interpreter." 26.57 + DEPENDS="php-common" 26.58 + mkdir -p $fs/usr/bin 26.59 + cp -a $install/usr/bin/php $fs/usr/bin 26.60 + ;; 26.61 + php-common) 26.62 + CAT="development|Common files for PHP modules." 26.63 + CONFIG_FILES="/etc/php.ini" 26.64 + mkdir -p $fs/etc \ 26.65 + $fs/usr/share/applications \ 26.66 + $fs/usr/share/pixmaps 26.67 + cp -a $stuff/phpinfo $fs/usr/share 26.68 + cp $stuff/php.desktop $fs/usr/share/applications 26.69 + cp $stuff/php.png $fs/usr/share/pixmaps 26.70 + cp $install/etc/php.ini $fs/etc 26.71 + ;; 26.72 + php-curl) 26.73 + CAT="development|curl module for PHP web programming language." 26.74 + DEPENDS="curl php" 26.75 + mkdir -p $fs/usr/share/php 26.76 + cp $(find $install | grep curl.so) $fs/usr/share/php/ 26.77 + ;; 26.78 + php-dba) 26.79 + CAT="development|dba module for PHP web programming language." 26.80 + mkdir -p $fs/usr/share/php 26.81 + cp $(find $install | grep dba.so) $fs/usr/share/php/ 26.82 + ;; 26.83 + php-dev) 26.84 + CAT="development|PHP web programming language development files." 26.85 + DEPENDS="php cyrus-sasl libldap libmysqlclient libpng \ 26.86 + libpostgresqlclient libunixODBC mhash openssl jpeg \ 26.87 + libmcrypt libtool libkrb5 libcomerr3 net-snmp" 26.88 + mkdir -p $fs/usr/lib/php $fs/usr/bin 26.89 + cp -a $install/usr/lib/php/extensions $fs/usr/lib/php 26.90 + rm -f $fs/usr/lib/php/*so 26.91 + cp -a $install/usr/lib/php/build $fs/usr/lib/php 26.92 + cp -a $install/usr/include $fs/usr 26.93 + cp -a $install/usr/bin/php-config $install/usr/bin/phpize $fs/usr/bin 26.94 + ;; 26.95 + php-gd) 26.96 + CAT="development|gd module for PHP web programming language." 26.97 + DEPENDS="libpng php jpeg libvpx" 26.98 + mkdir -p $fs/usr/share/php 26.99 + cp $(find $install | grep gd.so) $fs/usr/share/php/ 26.100 + ;; 26.101 + php-imap) 26.102 + CAT="development|imap module for PHP web programming language." 26.103 + DEPENDS="php openssl" 26.104 + mkdir -p $fs/usr/share/php 26.105 + cp $(find $install | grep imap.so) $fs/usr/share/php/ 26.106 + ;; 26.107 + php-ldap) 26.108 + CAT="development|ldap module for PHP web programming language." 26.109 + DEPENDS="libldap php openssl cyrus-sasl libkrb5 libcomerr3" 26.110 + mkdir -p $fs/usr/share/php 26.111 + cp $(find $install | grep ldap.so) $fs/usr/share/php/ 26.112 + ;; 26.113 + php-mcrypt) 26.114 + CAT="development|mcrypt module for PHP web programming language." 26.115 + DEPENDS="libmcrypt php libtool" 26.116 + mkdir -p $fs/usr/share/php 26.117 + cp $(find $install | grep mcrypt.so) $fs/usr/share/php/ 26.118 + ;; 26.119 + php-mysqli) 26.120 + CAT="development|mysqli module for PHP web programming language." 26.121 + DEPENDS="libmysqlclient php" 26.122 + mkdir -p $fs/usr/share/php 26.123 + cp $(find $install | grep mysqli.so) $fs/usr/share/php/ 26.124 + ;; 26.125 + php-mysql) 26.126 + CAT="development|mysql module for PHP web programming language." 26.127 + DEPENDS="libmysqlclient php" 26.128 + mkdir -p $fs/usr/share/php 26.129 + cp $(find $install | grep mysql.so) $fs/usr/share/php/ 26.130 + ;; 26.131 + php-odbc) 26.132 + CAT="development|ODBC module for PHP web programming language." 26.133 + DEPENDS="unixODBC php" 26.134 + mkdir -p $fs/usr/share/php 26.135 + cp $(find $install | grep odbc.so) $fs/usr/share/php/ 26.136 + ;; 26.137 + php-openssl) 26.138 + CAT="development|Openssl module for PHP web programming language." 26.139 + DEPENDS="php openssl" 26.140 + mkdir -p $fs/usr/share/php 26.141 + cp $(find $install | grep openssl.so) $fs/usr/share/php/ 26.142 + ;; 26.143 + php-pdo-mysql) 26.144 + CAT="development|PDO MySQL module for PHP web programming language." 26.145 + DEPENDS="php php-mysql" 26.146 + mkdir -p $fs/usr/share/php 26.147 + cp $(find $install | grep pdo_mysql.so) $fs/usr/share/php/ 26.148 + ;; 26.149 + php-pdo-pgsql) 26.150 + CAT="development|PDO PgSQL module for PHP web programming language." 26.151 + DEPENDS="php php-mysql libpostgresqlclient" 26.152 + mkdir -p $fs/usr/share/php 26.153 + cp $(find $install | grep pdo_pgsql.so) $fs/usr/share/php/ 26.154 + ;; 26.155 + php-pear) 26.156 + CAT="development|PHP web programming language pear libs." 26.157 + DEPENDS="php-cli" 26.158 + mkdir -p $fs/usr/share $fs/usr/bin $fs/etc 26.159 + cp -a $install/usr/share/php $fs/usr/share 26.160 + cp -a $install/etc/pear.conf $fs/etc 26.161 + cp -a $install/usr/bin/pe* $fs/usr/bin 26.162 + ;; 26.163 + php-pgsql) 26.164 + CAT="development|postgresql module for PHP web programming language." 26.165 + DEPENDS="postgresql php" 26.166 + mkdir -p $fs/usr/share/php 26.167 + cp $(find $install | grep pgsql.so) $fs/usr/share/php/ 26.168 + ;; 26.169 + php-snmp) 26.170 + CAT="development|snmp module for PHP web programming language." 26.171 + DEPENDS="net-snmp php libcrypto" 26.172 + mkdir -p $fs/usr/share/php 26.173 + cp $(find $install | grep snmp.so) $fs/usr/share/php/ 26.174 + ;; 26.175 + php-soap) 26.176 + CAT="development|soap module for PHP web programming language." 26.177 + DEPENDS="php libxml2" 26.178 + mkdir -p $fs/usr/share/php 26.179 + cp $(find $install | grep soap.so) $fs/usr/share/php/ 26.180 + ;; 26.181 + php-sqlite) 26.182 + CAT="development|sqlite module for PHP web programming language." 26.183 + DEPENDS="php sqlite" 26.184 + mkdir -p $fs/usr/share/php 26.185 + cp $(find $install | grep sqlite.so) $fs/usr/share/php/ 26.186 + cp $(find $install | grep sqlite3.so) $fs/usr/share/php/ 26.187 + cp $(find $install | grep pdo_sqlite.so) $fs/usr/share/php/ 26.188 + ;; 26.189 + esac 26.190 } 26.191 26.192 # Post and pre install commands to stop 26.193 # and restart Web server if needed. 26.194 -pre_install() 26.195 +pre_install_php() 26.196 { 26.197 if [ -z "$1" -a ! -f "/var/run/lighttpd.pid" ]; then 26.198 /etc/init.d/lighttpd stop 26.199 fi 26.200 } 26.201 26.202 -post_install() 26.203 +post_install_php() 26.204 { 26.205 # Enable php 26.206 if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then 26.207 @@ -147,3 +302,999 @@ 26.208 /etc/init.d/lighttpd start 26.209 fi 26.210 } 26.211 + 26.212 +# Post and pre install commans to stop 26.213 +# and restart Web server if needed. 26.214 +pre_installi_php_apache() 26.215 +{ 26.216 + if [ -z "$1" -a -f "/var/run/apache/httpd.pid" ]; then 26.217 + /etc/init.d/apache stop 26.218 + fi 26.219 +} 26.220 + 26.221 +post_install_php_apache() 26.222 +{ 26.223 + grep -q php5_module "$1/etc/apache/httpd.conf" || { 26.224 + sed -e 's|mod_rewrite.so|mod_rewrite.so\nLoadModule php5_module share/apache/modules/libphp5.so|' \ 26.225 + -e 's|DirectoryIndex index.html|DirectoryIndex index.html index.php|' \ 26.226 + -e 's|mime.types|mime.types\n AddType application/x-httpd-php .php .php3 .php4 .php5\n AddType application/x-httpd-php-source .phps|' \ 26.227 + -i "$1/etc/apache/httpd.conf" 26.228 + } 26.229 + [ -f "$1/etc/apache/conf.d/phpinfo" ] || \ 26.230 + cat > "$1/etc/apache/conf.d/phpinfo" <<EOT 26.231 +<IfModule mod_alias.c> 26.232 + Alias /phpinfo /usr/share/phpinfo 26.233 +</IfModule> 26.234 +<DirectoryMatch /usr/share/phpinfo/> 26.235 + DirectoryIndex index.php 26.236 + Options +FollowSymLinks 26.237 + AllowOverride None 26.238 + Order allow,deny 26.239 + Allow from all 26.240 +</DirectoryMatch> 26.241 +EOT 26.242 + # Restart Web server. 26.243 + if [ -z "$1" -a -f "/var/run/apache/httpd.pid" ]; then 26.244 + /etc/init.d/apache stop 26.245 + sleep 2 26.246 + fi 26.247 + if [ -z "$1" ]; then 26.248 + /etc/init.d/apache start 26.249 + fi 26.250 +} 26.251 + 26.252 +# Post and pre install commands to stop 26.253 +# and restart Web server if needed. 26.254 +pre_install_php_cherokee() 26.255 +{ 26.256 + if [ -z "$1" -a ! -f "/var/run/cherokee.pid" ]; then 26.257 + /etc/init.d/cherokee stop 26.258 + fi 26.259 +} 26.260 + 26.261 +post_install_php_cherokee() 26.262 +{ 26.263 + # Enable php 26.264 +# if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then 26.265 +# [ -f "$1/usr/lib/lighttpd/mod_fastcgi.so" ] || \ 26.266 +# tazpkg get-install lighttpd-modules --root="$1/" 26.267 +# sed -e 's|#fastcgi.server = ( ".php"|fastcgi.server = ( ".php"|' \ 26.268 +# -e 's|#"bin-path" => "/usr/bin/php-cgi"|"bin-path" => "/usr/bin/php-cgi"|' \ 26.269 +# -e 's|#"socket" => "/tmp/php.socket"|"socket" => "/tmp/php.socket"\n )))|' \ 26.270 +# -i "$1/etc/lighttpd/lighttpd.conf" 26.271 +# grep -q mod_fastcgi "$1/etc/lighttpd/lighttpd.conf" || \ 26.272 +# sed -e 's|server.modules = (|server.modules = (\n "mod_fastcgi",|' \ 26.273 +# -i "$1/etc/lighttpd/lighttpd.conf" 26.274 +# grep -q php3 "$1/etc/lighttpd/lighttpd.conf" || \ 26.275 +# sed -e 's|for PHP.*|for PHP.\nfastcgi.map-extensions = ( ".php3" => ".php", ".php4" => ".php", ".php5" => ".php" )|' \ 26.276 +# -i "$1/etc/lighttpd/lighttpd.conf" 26.277 +# fi 26.278 + 26.279 + 26.280 + # Start Web server. 26.281 + if [ -z "$1" -a ! -f /var/run/cherokee.pid \ 26.282 + -a -f /etc/init.d/cherokee ]; then 26.283 + /etc/init.d/cherokee start 26.284 + fi 26.285 +} 26.286 + 26.287 +# Post and pre install commands 26.288 +pre_install_php_common() 26.289 +{ 26.290 + # Backup existing php.ini 26.291 + if [ -f "$1/etc/php.ini" ]; then 26.292 + echo -n "Creating php.ini backup..." 26.293 + cp "$1/etc/php.ini" "$1/etc/php.ini.bak" 26.294 + status 26.295 + fi 26.296 +} 26.297 +post_install_php_common() 26.298 +{ 26.299 + # Restore original php.ini 26.300 + if [ -f "$1/etc/php.ini.bak" ]; then 26.301 + echo -n "Restoring php.ini backup..." 26.302 + mv -f "$1/etc/php.ini.bak" "$1/etc/php.ini" 26.303 + status 26.304 + fi 26.305 +} 26.306 + 26.307 +# Post and pre install commans to stop 26.308 +# and restart Web server if needed. 26.309 +pre_install_php_curl() 26.310 +{ 26.311 + while read daemon file; do 26.312 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.313 + /etc/init.d/$daemon stop 26.314 + fi 26.315 + done <<EOT 26.316 +apache apache/httpd.pid 26.317 +lighttpd lighttpd.pid 26.318 +EOT 26.319 +} 26.320 + 26.321 +post_install_php_curl() 26.322 +{ 26.323 + grep -q ^extension=curl.so "$1/etc/php.ini" || \ 26.324 + sed -e 's|extension=msql.so|extension=msql.so\nextension=curl.so|' -i "$1/etc/php.ini" 26.325 + # Start Web server. 26.326 + while read daemon file; do 26.327 + [ -z "$1" ] || continue 26.328 + if [ -f "/var/run/$file" ]; then 26.329 + /etc/init.d/$daemon stop 26.330 + sleep 2 26.331 + fi 26.332 + if [ -f /etc/init.d/$daemon ]; then 26.333 + /etc/init.d/$daemon start 26.334 + fi 26.335 + done <<EOT 26.336 +apache apache/httpd.pid 26.337 +lighttpd lighttpd.pid 26.338 +EOT 26.339 +} 26.340 + 26.341 +# Pre and post remove commands for Tazpkg. 26.342 +pre_remove_php_curl() 26.343 +{ 26.344 + sed -i '/.*=curl.so.*/d' /etc/php.ini 26.345 + 26.346 + # Start Web server. 26.347 + while read daemon file; do 26.348 + [ -z "$1" ] || continue 26.349 + if [ -f "/var/run/$file" ]; then 26.350 + /etc/init.d/$daemon stop 26.351 + sleep 2 26.352 + fi 26.353 + if [ -f /etc/init.d/$daemon ]; then 26.354 + /etc/init.d/$daemon start 26.355 + fi 26.356 + done <<EOT 26.357 +apache apache/httpd.pid 26.358 +lighttpd lighttpd.pid 26.359 +EOT 26.360 +} 26.361 + 26.362 +# Post and pre install commans to stop 26.363 +# and restart Web server if needed. 26.364 +pre_install_php_dba() 26.365 +{ 26.366 + while read daemon file; do 26.367 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.368 + /etc/init.d/$daemon stop 26.369 + fi 26.370 + done <<EOT 26.371 +apache apache/httpd.pid 26.372 +lighttpd lighttpd.pid 26.373 +EOT 26.374 +} 26.375 + 26.376 +post_install_php_dba() 26.377 +{ 26.378 + grep -q ^extension=dba.so "$1/etc/php.ini" || \ 26.379 + sed -e 's|extension=msql.so|extension=msql.so\nextension=dba.so|' -i "$1/etc/php.ini" 26.380 + # Start Web server. 26.381 + while read daemon file; do 26.382 + [ -z "$1" ] || continue 26.383 + if [ -f "/var/run/$file" ]; then 26.384 + /etc/init.d/$daemon stop 26.385 + sleep 2 26.386 + fi 26.387 + if [ -f /etc/init.d/$daemon ]; then 26.388 + /etc/init.d/$daemon start 26.389 + fi 26.390 + done <<EOT 26.391 +apache apache/httpd.pid 26.392 +lighttpd lighttpd.pid 26.393 +EOT 26.394 +} 26.395 + 26.396 +# Pre and post remove commands for Tazpkg. 26.397 +pre_remove_php_dba() 26.398 +{ 26.399 + sed -i '/.*=dba.so.*/d' /etc/php.ini 26.400 + 26.401 + # Start Web server. 26.402 + while read daemon file; do 26.403 + [ -z "$1" ] || continue 26.404 + if [ -f "/var/run/$file" ]; then 26.405 + /etc/init.d/$daemon stop 26.406 + sleep 2 26.407 + fi 26.408 + if [ -f /etc/init.d/$daemon ]; then 26.409 + /etc/init.d/$daemon start 26.410 + fi 26.411 + done <<EOT 26.412 +apache apache/httpd.pid 26.413 +lighttpd lighttpd.pid 26.414 +EOT 26.415 +} 26.416 + 26.417 +# Post and pre install commans to stop 26.418 +# and restart Web server if needed. 26.419 +pre_install_php_gd() 26.420 +{ 26.421 + while read daemon file; do 26.422 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.423 + /etc/init.d/$daemon stop 26.424 + fi 26.425 + done <<EOT 26.426 +apache apache/httpd.pid 26.427 +lighttpd lighttpd.pid 26.428 +EOT 26.429 +} 26.430 + 26.431 +post_install_php_gd() 26.432 +{ 26.433 + grep -q ^extension=gd.so "$1/etc/php.ini" || \ 26.434 + sed -e 's|extension=msql.so|extension=msql.so\nextension=gd.so|' -i "$1/etc/php.ini" 26.435 + # Start Web server. 26.436 + while read daemon file; do 26.437 + [ -z "$1" ] || continue 26.438 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.439 + /etc/init.d/$daemon stop 26.440 + sleep 2 26.441 + fi 26.442 + if [ -z "$1" -a -f /etc/init.d/$daemon ]; then 26.443 + /etc/init.d/$daemon start 26.444 + fi 26.445 + done <<EOT 26.446 +apache apache/httpd.pid 26.447 +lighttpd lighttpd.pid 26.448 +EOT 26.449 +} 26.450 + 26.451 +# Pre and post remove commands for Tazpkg. 26.452 +pre_remove_php_gd() 26.453 +{ 26.454 + sed -i '/.*=gd.so.*/d' "$1/etc/php.ini" 26.455 + 26.456 + # Start Web server. 26.457 + while read daemon file; do 26.458 + if [ -f /etc/init.d/$daemon -a -f "/var/run/$file" ]; then 26.459 + [ -z "$1" ] || continue 26.460 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.461 + /etc/init.d/$daemon stop 26.462 + sleep 2 26.463 + fi 26.464 + if [ -z "$1" -a -f /etc/init.d/$daemon ]; then 26.465 + /etc/init.d/$daemon start 26.466 + fi 26.467 + fi 26.468 + done <<EOT 26.469 +apache apache/httpd.pid 26.470 +lighttpd lighttpd.pid 26.471 +EOT 26.472 +} 26.473 + 26.474 +# Post and pre install commans to stop 26.475 +# and restart Web server if needed. 26.476 +pre_install_php_imap() 26.477 +{ 26.478 + while read daemon file; do 26.479 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.480 + /etc/init.d/$daemon stop 26.481 + fi 26.482 + done <<EOT 26.483 +apache apache/httpd.pid 26.484 +lighttpd lighttpd.pid 26.485 +EOT 26.486 +} 26.487 + 26.488 +post_install_php_imap() 26.489 +{ 26.490 + grep -q ^extension=imap.so "$1/etc/php.ini" || \ 26.491 + sed -e 's|extension=msql.so|extension=msql.so\nextension=imap.so|' -i "$1/etc/php.ini" 26.492 + # Start Web server. 26.493 + while read daemon file; do 26.494 + [ -z "$1" ] || continue 26.495 + if [ -f "/var/run/$file" ]; then 26.496 + /etc/init.d/$daemon stop 26.497 + sleep 2 26.498 + fi 26.499 + if [ -f /etc/init.d/$daemon ]; then 26.500 + /etc/init.d/$daemon start 26.501 + fi 26.502 + done <<EOT 26.503 +apache apache/httpd.pid 26.504 +lighttpd lighttpd.pid 26.505 +EOT 26.506 +} 26.507 + 26.508 +# Pre and post remove commands for Tazpkg. 26.509 +pre_remove_php_imap() 26.510 +{ 26.511 + sed -i '/.*=imap.so.*/d' /etc/php.ini 26.512 + 26.513 + # Start Web server. 26.514 + while read daemon file; do 26.515 + [ -z "$1" ] || continue 26.516 + if [ -f "/var/run/$file" ]; then 26.517 + /etc/init.d/$daemon stop 26.518 + sleep 2 26.519 + fi 26.520 + if [ -f /etc/init.d/$daemon ]; then 26.521 + /etc/init.d/$daemon start 26.522 + fi 26.523 + done <<EOT 26.524 +apache apache/httpd.pid 26.525 +lighttpd lighttpd.pid 26.526 +EOT 26.527 +} 26.528 + 26.529 +# Post and pre install commans to stop 26.530 +# and restart Web server if needed. 26.531 +pre_install_php_ldap() 26.532 +{ 26.533 + while read daemon file; do 26.534 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.535 + /etc/init.d/$daemon stop 26.536 + fi 26.537 + done <<EOT 26.538 +apache apache/httpd.pid 26.539 +lighttpd lighttpd.pid 26.540 +EOT 26.541 +} 26.542 + 26.543 +post_install_php_ldap() 26.544 +{ 26.545 + grep -q ^extension=ldap.so "$1/etc/php.ini" || \ 26.546 + sed -e 's|extension=msql.so|extension=msql.so\nextension=ldap.so|' -i "$1/etc/php.ini" 26.547 + # Start Web server. 26.548 + while read daemon file; do 26.549 + [ -z "$1" ] || continue 26.550 + if [ -f "/var/run/$file" ]; then 26.551 + /etc/init.d/$daemon stop 26.552 + sleep 2 26.553 + fi 26.554 + if [ -f /etc/init.d/$daemon ]; then 26.555 + /etc/init.d/$daemon start 26.556 + fi 26.557 + done <<EOT 26.558 +apache apache/httpd.pid 26.559 +lighttpd lighttpd.pid 26.560 +EOT 26.561 +} 26.562 + 26.563 +# Pre and post remove commands for Tazpkg. 26.564 +pre_remove_php_ldap() 26.565 +{ 26.566 + sed -i '/.*=ldap.so.*/d' /etc/php.ini 26.567 + 26.568 + # Start Web server. 26.569 + while read daemon file; do 26.570 + [ -z "$1" ] || continue 26.571 + if [ -f "/var/run/$file" ]; then 26.572 + /etc/init.d/$daemon stop 26.573 + sleep 2 26.574 + fi 26.575 + if [ -f /etc/init.d/$daemon ]; then 26.576 + /etc/init.d/$daemon start 26.577 + fi 26.578 + done <<EOT 26.579 +apache apache/httpd.pid 26.580 +lighttpd lighttpd.pid 26.581 +EOT 26.582 +} 26.583 + 26.584 +# Post and pre install commans to stop 26.585 +# and restart Web server if needed. 26.586 +pre_install_php_mcrypt() 26.587 +{ 26.588 + while read daemon file; do 26.589 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.590 + /etc/init.d/$daemon stop 26.591 + fi 26.592 + done <<EOT 26.593 +apache apache/httpd.pid 26.594 +lighttpd lighttpd.pid 26.595 +EOT 26.596 +} 26.597 + 26.598 +post_install_php_mcrypt() 26.599 +{ 26.600 + grep -q ^extension=mcrypt.so "$1/etc/php.ini" || \ 26.601 + sed -e 's|extension=msql.so|extension=msql.so\nextension=mcrypt.so|' -i "$1/etc/php.ini" 26.602 + # Start Web server. 26.603 + while read daemon file; do 26.604 + [ -z "$1" ] || continue 26.605 + if [ -f "/var/run/$file" ]; then 26.606 + /etc/init.d/$daemon stop 26.607 + sleep 2 26.608 + fi 26.609 + if [ -f /etc/init.d/$daemon ]; then 26.610 + /etc/init.d/$daemon start 26.611 + fi 26.612 + done <<EOT 26.613 +apache apache/httpd.pid 26.614 +lighttpd lighttpd.pid 26.615 +EOT 26.616 +} 26.617 + 26.618 +# Pre and post remove commands for Tazpkg. 26.619 +pre_remove_php_mcrypt() 26.620 +{ 26.621 + sed -i '/.*=mcrypt.so.*/d' /etc/php.ini 26.622 + 26.623 + # Start Web server. 26.624 + while read daemon file; do 26.625 + [ -z "$1" ] || continue 26.626 + if [ -f "/var/run/$file" ]; then 26.627 + /etc/init.d/$daemon stop 26.628 + sleep 2 26.629 + fi 26.630 + if [ -f /etc/init.d/$daemon ]; then 26.631 + /etc/init.d/$daemon start 26.632 + fi 26.633 + done <<EOT 26.634 +apache apache/httpd.pid 26.635 +lighttpd lighttpd.pid 26.636 +EOT 26.637 +} 26.638 + 26.639 +# Post and pre install commans to stop 26.640 +# and restart Web server if needed. 26.641 +pre_install_php_mysqli() 26.642 +{ 26.643 + while read daemon file; do 26.644 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.645 + /etc/init.d/$daemon stop 26.646 + fi 26.647 + done <<EOT 26.648 +apache apache/httpd.pid 26.649 +lighttpd lighttpd.pid 26.650 +EOT 26.651 +} 26.652 + 26.653 +post_install_php_mysqli() 26.654 +{ 26.655 + grep -q ^extension=mysqli.so "$1/etc/php.ini" || \ 26.656 + sed -e 's|extension=msql.so|extension=msql.so\nextension=mysqli.so|' -i "$1/etc/php.ini" 26.657 + # Start Web server. 26.658 + while read daemon file; do 26.659 + [ -z "$1" ] || continue 26.660 + if [ -f "/var/run/$file" ]; then 26.661 + /etc/init.d/$daemon stop 26.662 + sleep 2 26.663 + fi 26.664 + if [ -f /etc/init.d/$daemon ]; then 26.665 + /etc/init.d/$daemon start 26.666 + fi 26.667 + done <<EOT 26.668 +apache apache/httpd.pid 26.669 +lighttpd lighttpd.pid 26.670 +EOT 26.671 +} 26.672 + 26.673 +# Pre and post remove commands for Tazpkg. 26.674 +pre_remove_php_mysqli() 26.675 +{ 26.676 + sed -i '/.*=mysqli.so.*/d' /etc/php.ini 26.677 + 26.678 + # Start Web server. 26.679 + while read daemon file; do 26.680 + [ -z "$1" ] || continue 26.681 + if [ -f "/var/run/$file" ]; then 26.682 + /etc/init.d/$daemon stop 26.683 + sleep 2 26.684 + fi 26.685 + if [ -f /etc/init.d/$daemon ]; then 26.686 + /etc/init.d/$daemon start 26.687 + fi 26.688 + done <<EOT 26.689 +apache apache/httpd.pid 26.690 +lighttpd lighttpd.pid 26.691 +EOT 26.692 +} 26.693 + 26.694 +# Post and pre install commans to stop 26.695 +# and restart Web server if needed. 26.696 +pre_install_php_mysql() 26.697 +{ 26.698 + while read daemon file; do 26.699 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.700 + /etc/init.d/$daemon stop 26.701 + fi 26.702 + done <<EOT 26.703 +apache apache/httpd.pid 26.704 +lighttpd lighttpd.pid 26.705 +EOT 26.706 +} 26.707 + 26.708 +post_install_php_mysql() 26.709 +{ 26.710 + grep -q ^extension=mysql.so "$1/etc/php.ini" || \ 26.711 + sed -e 's|extension=msql.so|extension=msql.so\nextension=mysql.so|' -i "$1/etc/php.ini" 26.712 + # Start Web server. 26.713 + while read daemon file; do 26.714 + [ -z "$1" ] || continue 26.715 + if [ -f "/var/run/$file" ]; then 26.716 + /etc/init.d/$daemon stop 26.717 + sleep 2 26.718 + fi 26.719 + if [ -f /etc/init.d/$daemon ]; then 26.720 + /etc/init.d/$daemon start 26.721 + fi 26.722 + done <<EOT 26.723 +apache apache/httpd.pid 26.724 +lighttpd lighttpd.pid 26.725 +EOT 26.726 +} 26.727 + 26.728 +# Pre and post remove commands for Tazpkg. 26.729 +pre_remove_php_mysql() 26.730 +{ 26.731 + sed -i '/.*=mysql.so.*/d' /etc/php.ini 26.732 + 26.733 + # Start Web server. 26.734 + while read daemon file; do 26.735 + [ -z "$1" ] || continue 26.736 + if [ -f "/var/run/$file" ]; then 26.737 + /etc/init.d/$daemon stop 26.738 + sleep 2 26.739 + fi 26.740 + if [ -f /etc/init.d/$daemon ]; then 26.741 + /etc/init.d/$daemon start 26.742 + fi 26.743 + done <<EOT 26.744 +apache apache/httpd.pid 26.745 +lighttpd lighttpd.pid 26.746 +EOT 26.747 +} 26.748 + 26.749 +# Post and pre install commans to stop 26.750 +# and restart Web server if needed. 26.751 +pre_install_php_odbc() 26.752 +{ 26.753 + while read daemon file; do 26.754 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.755 + /etc/init.d/$daemon stop 26.756 + fi 26.757 + done <<EOT 26.758 +apache apache/httpd.pid 26.759 +lighttpd lighttpd.pid 26.760 +EOT 26.761 +} 26.762 + 26.763 +post_install_php_odbc() 26.764 +{ 26.765 + grep -q ^extension=odbc.so "$1/etc/php.ini" || \ 26.766 + sed -e 's|extension=msql.so|extension=msql.so\nextension=odbc.so|' -i "$1/etc/php.ini" 26.767 + # Start Web server. 26.768 + while read daemon file; do 26.769 + [ -z "$1" ] || continue 26.770 + if [ -f "/var/run/$file" ]; then 26.771 + /etc/init.d/$daemon stop 26.772 + sleep 2 26.773 + fi 26.774 + if [ -f /etc/init.d/$daemon ]; then 26.775 + /etc/init.d/$daemon start 26.776 + fi 26.777 + done <<EOT 26.778 +apache apache/httpd.pid 26.779 +lighttpd lighttpd.pid 26.780 +EOT 26.781 +} 26.782 + 26.783 +# Pre and post remove commands for Tazpkg. 26.784 +pre_remove_php_odbc() 26.785 +{ 26.786 + sed -i '/.*=odbc.so.*/d' /etc/php.ini 26.787 + 26.788 + # Start Web server. 26.789 + while read daemon file; do 26.790 + [ -z "$1" ] || continue 26.791 + if [ -f "/var/run/$file" ]; then 26.792 + /etc/init.d/$daemon stop 26.793 + sleep 2 26.794 + fi 26.795 + if [ -f /etc/init.d/$daemon ]; then 26.796 + /etc/init.d/$daemon start 26.797 + fi 26.798 + done <<EOT 26.799 +apache apache/httpd.pid 26.800 +lighttpd lighttpd.pid 26.801 +EOT 26.802 +} 26.803 + 26.804 +# Post and pre install commans to stop 26.805 +# and restart Web server if needed. 26.806 +pre_install_php_openssl() 26.807 +{ 26.808 + while read daemon file; do 26.809 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.810 + /etc/init.d/$daemon stop 26.811 + fi 26.812 + done <<EOT 26.813 +apache apache/httpd.pid 26.814 +lighttpd lighttpd.pid 26.815 +EOT 26.816 +} 26.817 + 26.818 +post_install_php_openssl() 26.819 +{ 26.820 + grep -q ^extension=openssl.so "$1/etc/php.ini" || \ 26.821 + sed -e 's|extension=msql.so|extension=msql.so\nextension=openssl.so|' -i "$1/etc/php.ini" 26.822 + # Start Web server. 26.823 + while read daemon file; do 26.824 + [ -z "$1" ] || continue 26.825 + if [ -f "/var/run/$file" ]; then 26.826 + /etc/init.d/$daemon stop 26.827 + sleep 2 26.828 + fi 26.829 + if [ -f /etc/init.d/$daemon ]; then 26.830 + /etc/init.d/$daemon start 26.831 + fi 26.832 + done <<EOT 26.833 +apache apache/httpd.pid 26.834 +lighttpd lighttpd.pid 26.835 +EOT 26.836 +} 26.837 + 26.838 +# Pre and post remove commands for Tazpkg. 26.839 +pre_remove_php_openssl() 26.840 +{ 26.841 + sed -i '/.*=openssl.so.*/d' /etc/php.ini 26.842 + 26.843 + # Start Web server. 26.844 + while read daemon file; do 26.845 + [ -z "$1" ] || continue 26.846 + if [ -f "/var/run/$file" ]; then 26.847 + /etc/init.d/$daemon stop 26.848 + sleep 2 26.849 + fi 26.850 + if [ -f /etc/init.d/$daemon ]; then 26.851 + /etc/init.d/$daemon start 26.852 + fi 26.853 + done <<EOT 26.854 +apache apache/httpd.pid 26.855 +lighttpd lighttpd.pid 26.856 +EOT 26.857 +} 26.858 + 26.859 +# Post and pre install commans to stop 26.860 +# and restart Web server if needed. 26.861 +pre_install_pdo_mysql() 26.862 +{ 26.863 + while read daemon file; do 26.864 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.865 + /etc/init.d/$daemon stop 26.866 + fi 26.867 + done <<EOT 26.868 +apache apache/httpd.pid 26.869 +lighttpd lighttpd.pid 26.870 +EOT 26.871 +} 26.872 + 26.873 +post_install_pdo_mysql() 26.874 +{ 26.875 + grep -q ^extension=pdo_mysql.so "$1/etc/php.ini" || \ 26.876 + sed -e 's|extension=msql.so|extension=msql.so\nextension=pdo_mysql.so|' -i "$1/etc/php.ini" 26.877 + # Start Web server. 26.878 + while read daemon file; do 26.879 + [ -z "$1" ] || continue 26.880 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.881 + /etc/init.d/$daemon stop 26.882 + sleep 2 26.883 + fi 26.884 + if [ -z "$1" -a -f /etc/init.d/$daemon ]; then 26.885 + /etc/init.d/$daemon start 26.886 + fi 26.887 + done <<EOT 26.888 +apache apache/httpd.pid 26.889 +lighttpd lighttpd.pid 26.890 +EOT 26.891 +} 26.892 + 26.893 +# Pre and post remove commands for Tazpkg. 26.894 +pre_remove_pdo_mysql() 26.895 +{ 26.896 + sed -i '/.*=pdo_mysql.so.*/d' /etc/php.ini 26.897 + 26.898 + # Start Web server. 26.899 + while read daemon file; do 26.900 + [ -z "$1" ] || continue 26.901 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.902 + /etc/init.d/$daemon stop 26.903 + sleep 2 26.904 + fi 26.905 + if [ -z "$1" -a -f /etc/init.d/$daemon ]; then 26.906 + /etc/init.d/$daemon start 26.907 + fi 26.908 + done <<EOT 26.909 +apache apache/httpd.pid 26.910 +lighttpd lighttpd.pid 26.911 +EOT 26.912 +} 26.913 + 26.914 +# Post and pre install commans to stop 26.915 +# and restart Web server if needed. 26.916 +pre_install_pdo_pgsql() 26.917 +{ 26.918 + while read daemon file; do 26.919 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.920 + /etc/init.d/$daemon stop 26.921 + fi 26.922 + done <<EOT 26.923 +apache apache/httpd.pid 26.924 +lighttpd lighttpd.pid 26.925 +EOT 26.926 +} 26.927 + 26.928 +post_install_pdo_pgsql() 26.929 +{ 26.930 + grep -q ^extension=pdo_pgsql.so "$1/etc/php.ini" || \ 26.931 + sed -e 's|extension=msql.so|extension=msql.so\nextension=pdo_pgsql.so|' -i "$1/etc/php.ini" 26.932 + # Start Web server. 26.933 + while read daemon file; do 26.934 + [ -z "$1" ] || continue 26.935 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.936 + /etc/init.d/$daemon stop 26.937 + sleep 2 26.938 + fi 26.939 + if [ -z "$1" -a -f /etc/init.d/$daemon ]; then 26.940 + /etc/init.d/$daemon start 26.941 + fi 26.942 + done <<EOT 26.943 +apache apache/httpd.pid 26.944 +lighttpd lighttpd.pid 26.945 +EOT 26.946 +} 26.947 + 26.948 +# Pre and post remove commands for Tazpkg. 26.949 +pre_remove_pdo_pgsql() 26.950 +{ 26.951 + sed -i '/.*=pdo_pgsql.so.*/d' /etc/php.ini 26.952 + 26.953 + # Start Web server. 26.954 + while read daemon file; do 26.955 + [ -z "$1" ] || continue 26.956 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.957 + /etc/init.d/$daemon stop 26.958 + sleep 2 26.959 + fi 26.960 + if [ -z "$1" -a -f /etc/init.d/$daemon ]; then 26.961 + /etc/init.d/$daemon start 26.962 + fi 26.963 + done <<EOT 26.964 +apache apache/httpd.pid 26.965 +lighttpd lighttpd.pid 26.966 +EOT 26.967 +} 26.968 + 26.969 +# Pre and post install commands for Tazpkg. 26.970 +pre_install_php_pear() 26.971 +{ 26.972 + while read daemon file; do 26.973 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.974 + /etc/init.d/$daemon stop 26.975 + fi 26.976 + done <<EOT 26.977 +apache apache/httpd.pid 26.978 +lighttpd lighttpd.pid 26.979 +EOT 26.980 +} 26.981 + 26.982 +post_install_php_pear() 26.983 +{ 26.984 + grep ^include_path "$1/etc/php.ini" 26.985 + sed -i 's|/php/includes"|/php/includes"\ninclude_path = ".:/usr/share/php"|' "$1/etc/php.ini" 26.986 + # Restart Web server. 26.987 + while read daemon file; do 26.988 + [ -z "$1" ] || continue 26.989 + if [ -f "/var/run/$file" ]; then 26.990 + /etc/init.d/$daemon stop 26.991 + sleep 2 26.992 + fi 26.993 + if [ -f /etc/init.d/$daemon ]; then 26.994 + /etc/init.d/$daemon start 26.995 + fi 26.996 + done <<EOT 26.997 +apache apache/httpd.pid 26.998 +lighttpd lighttpd.pid 26.999 +EOT 26.1000 +} 26.1001 + 26.1002 +# Post and pre install commans to stop 26.1003 +# and restart Web server if needed. 26.1004 +pre_install_php_pgsql() 26.1005 +{ 26.1006 + while read daemon file; do 26.1007 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.1008 + /etc/init.d/$daemon stop 26.1009 + fi 26.1010 + done <<EOT 26.1011 +apache apache/httpd.pid 26.1012 +lighttpd lighttpd.pid 26.1013 +EOT 26.1014 +} 26.1015 + 26.1016 +post_install_php_pgsql() 26.1017 +{ 26.1018 + grep -q ^extension=pgsql.so "$1/etc/php.ini" || \ 26.1019 + sed -e 's|extension=msql.so|extension=msql.so\nextension=pgsql.so|' -i "$1/etc/php.ini" 26.1020 + # Start Web server. 26.1021 + while read daemon file; do 26.1022 + [ -z "$1" ] || continue 26.1023 + if [ -f "/var/run/$file" ]; then 26.1024 + /etc/init.d/$daemon stop 26.1025 + sleep 2 26.1026 + fi 26.1027 + if [ -f /etc/init.d/$daemon ]; then 26.1028 + /etc/init.d/$daemon start 26.1029 + fi 26.1030 + done <<EOT 26.1031 +apache apache/httpd.pid 26.1032 +lighttpd lighttpd.pid 26.1033 +EOT 26.1034 +} 26.1035 + 26.1036 +# Pre and post remove commands for Tazpkg. 26.1037 +pre_remove_php_pgsql() 26.1038 +{ 26.1039 + sed -i '/.*=pgsql.so.*/d' /etc/php.ini 26.1040 + 26.1041 + # Start Web server. 26.1042 + while read daemon file; do 26.1043 + [ -z "$1" ] || continue 26.1044 + if [ -f "/var/run/$file" ]; then 26.1045 + /etc/init.d/$daemon stop 26.1046 + sleep 2 26.1047 + fi 26.1048 + if [ -f /etc/init.d/$daemon ]; then 26.1049 + /etc/init.d/$daemon start 26.1050 + fi 26.1051 + done <<EOT 26.1052 +apache apache/httpd.pid 26.1053 +lighttpd lighttpd.pid 26.1054 +EOT 26.1055 +} 26.1056 + 26.1057 +# Post and pre install commans to stop 26.1058 +# and restart Web server if needed. 26.1059 +pre_install_php_snmp() 26.1060 +{ 26.1061 + while read daemon file; do 26.1062 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.1063 + /etc/init.d/$daemon stop 26.1064 + fi 26.1065 + done <<EOT 26.1066 +apache apache/httpd.pid 26.1067 +lighttpd lighttpd.pid 26.1068 +EOT 26.1069 +} 26.1070 + 26.1071 +post_install_php_snmp() 26.1072 +{ 26.1073 + grep -q ^extension=snmp.so "$1/etc/php.ini" || \ 26.1074 + sed -e 's|extension=msql.so|extension=msql.so\nextension=snmp.so|' -i "$1/etc/php.ini" 26.1075 + # Start Web server. 26.1076 + while read daemon file; do 26.1077 + [ -z "$1" ] || continue 26.1078 + if [ -f "/var/run/$file" ]; then 26.1079 + /etc/init.d/$daemon stop 26.1080 + sleep 2 26.1081 + fi 26.1082 + if [ -f /etc/init.d/$daemon ]; then 26.1083 + /etc/init.d/$daemon start 26.1084 + fi 26.1085 + done <<EOT 26.1086 +apache apache/httpd.pid 26.1087 +lighttpd lighttpd.pid 26.1088 +EOT 26.1089 +} 26.1090 + 26.1091 +# Pre and post remove commands for Tazpkg. 26.1092 +pre_remove_php_snmp() 26.1093 +{ 26.1094 + sed -i '/.*=snmp.so.*/d' /etc/php.ini 26.1095 + 26.1096 + # Start Web server. 26.1097 + while read daemon file; do 26.1098 + [ -z "$1" ] || continue 26.1099 + if [ -f "/var/run/$file" ]; then 26.1100 + /etc/init.d/$daemon stop 26.1101 + sleep 2 26.1102 + fi 26.1103 + if [ -f /etc/init.d/$daemon ]; then 26.1104 + /etc/init.d/$daemon start 26.1105 + fi 26.1106 + done <<EOT 26.1107 +apache apache/httpd.pid 26.1108 +lighttpd lighttpd.pid 26.1109 +EOT 26.1110 +} 26.1111 + 26.1112 +# Post and pre install commans to stop 26.1113 +# and restart Web server if needed. 26.1114 +pre_install_php_soap() 26.1115 +{ 26.1116 + while read daemon file; do 26.1117 + if [ -z "$1" -a -f "/var/run/$file" ]; then 26.1118 + /etc/init.d/$daemon stop 26.1119 + fi 26.1120 + done <<EOT 26.1121 +apache apache/httpd.pid 26.1122 +lighttpd lighttpd.pid 26.1123 +EOT 26.1124 +} 26.1125 + 26.1126 +post_install_php_soap() 26.1127 +{ 26.1128 + grep -q ^extension=soap.so "$1/etc/php.ini" || \ 26.1129 + sed -e 's|extension=msql.so|extension=msql.so\nextension=soap.so|' -i "$1/etc/php.ini" 26.1130 + # Start Web server. 26.1131 + while read daemon file; do 26.1132 + [ -z "$1" ] || continue 26.1133 + if [ -f "/var/run/$file" ]; then 26.1134 + /etc/init.d/$daemon stop 26.1135 + sleep 2 26.1136 + fi 26.1137 + if [ -f /etc/init.d/$daemon ]; then 26.1138 + /etc/init.d/$daemon start 26.1139 + fi 26.1140 + done <<EOT 26.1141 +apache apache/httpd.pid 26.1142 +lighttpd lighttpd.pid 26.1143 +EOT 26.1144 +} 26.1145 + 26.1146 +# Pre and post remove commands for Tazpkg. 26.1147 +pre_remove_php_soap() 26.1148 +{ 26.1149 + sed -i '/.*=soap.so.*/d' /etc/php.ini 26.1150 + 26.1151 + # Start Web server. 26.1152 + while read daemon file; do 26.1153 + [ -z "$1" ] || continue 26.1154 + if [ -f "/var/run/$file" ]; then 26.1155 + /etc/init.d/$daemon stop 26.1156 + sleep 2 26.1157 + fi 26.1158 + if [ -f /etc/init.d/$daemon ]; then 26.1159 + /etc/init.d/$daemon start 26.1160 + fi 26.1161 + done <<EOT 26.1162 +apache apache/httpd.pid 26.1163 +lighttpd lighttpd.pid 26.1164 +EOT 26.1165 +} 26.1166 + 26.1167 +post_install_php_sqlite() 26.1168 +{ 26.1169 + grep -q ^extension=sqlite3.so "$1/etc/php.ini" || \ 26.1170 + sed -e 's|extension=msql.so|extension=msql.so\nextension=sqlite3.so|' -i "$1/etc/php.ini" 26.1171 + # Start Web server. 26.1172 + while read daemon file; do 26.1173 + [ -z "$1" ] || continue 26.1174 + if [ -f "/var/run/$file" ]; then 26.1175 + /etc/init.d/$daemon stop 26.1176 + sleep 2 26.1177 + fi 26.1178 + if [ -f /etc/init.d/$daemon ]; then 26.1179 + /etc/init.d/$daemon start 26.1180 + fi 26.1181 + done <<EOT 26.1182 +apache apache/httpd.pid 26.1183 +lighttpd lighttpd.pid 26.1184 +EOT 26.1185 +} 26.1186 + 26.1187 +# Pre and post remove commands for Tazpkg. 26.1188 +pre_remove_php_sqlite() 26.1189 +{ 26.1190 + sed -i '/.*=sqlite3.so.*/d' /etc/php.ini 26.1191 + 26.1192 + # Start Web server. 26.1193 + while read daemon file; do 26.1194 + [ -z "$1" ] || continue 26.1195 + if [ -f "/var/run/$file" ]; then 26.1196 + /etc/init.d/$daemon stop 26.1197 + sleep 2 26.1198 + fi 26.1199 + if [ -f /etc/init.d/$daemon ]; then 26.1200 + /etc/init.d/$daemon start 26.1201 + fi 26.1202 + done <<EOT 26.1203 +apache apache/httpd.pid 26.1204 +lighttpd lighttpd.pid 26.1205 +EOT 26.1206 +}
27.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 27.2 +++ b/php/stuff/php.desktop Mon Oct 23 16:33:01 2017 +0200 27.3 @@ -0,0 +1,11 @@ 27.4 +[Desktop Entry] 27.5 +Encoding=UTF-8 27.6 +Name=PHP info 27.7 +GenericName=PHP information 27.8 +GenericName[fr]=Informations sur PHP 27.9 +Comment=PHP configuration informations 27.10 +Comment[fr]=Informations de configuration de PHP 27.11 +Exec=browser http://localhost/phpinfo/ 27.12 +Icon=php 27.13 +Type=Application 27.14 +Categories=Development;
28.1 Binary file php/stuff/php.png has changed
29.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 29.2 +++ b/php/stuff/phpinfo/index.php Mon Oct 23 16:33:01 2017 +0200 29.3 @@ -0,0 +1,4 @@ 29.4 +<?php 29.5 +phpinfo(); 29.6 +?> 29.7 +
30.1 --- a/razorqt-appswitcher/receipt Mon Oct 23 13:19:31 2017 +0200 30.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 30.3 @@ -1,21 +0,0 @@ 30.4 -# SliTaz package receipt. 30.5 - 30.6 -PACKAGE="razorqt-appswitcher" 30.7 -VERSION="0.5.2" 30.8 -CATEGORY="x-window" 30.9 -SHORT_DESC="Razor-qt Apps switcher plugin." 30.10 -MAINTAINER="pankso@slitaz.org" 30.11 -LICENSE="GPL2 LGPL2.1" 30.12 -WANTED="razorqt" 30.13 -WEB_SITE="http://razor-qt.org/" 30.14 - 30.15 -DEPENDS="razorqt" 30.16 - 30.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 30.18 -genpkg_rules() 30.19 -{ 30.20 - mkdir -p $fs/usr/bin $fs/etc/xdg/autostart 30.21 - cp -a $install/usr/bin/razor-appswitcher $fs/usr/bin 30.22 - cp -a $install/etc/xdg/autostart/razor-appswitcher.desktop \ 30.23 - $fs/etc/xdg/autostart 30.24 -}
31.1 --- a/razorqt-autosuspend/receipt Mon Oct 23 13:19:31 2017 +0200 31.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 31.3 @@ -1,27 +0,0 @@ 31.4 -# SliTaz package receipt. 31.5 - 31.6 -PACKAGE="razorqt-autosuspend" 31.7 -VERSION="0.5.2" 31.8 -CATEGORY="x-window" 31.9 -SHORT_DESC="Razor-qt suspend manage application tool." 31.10 -MAINTAINER="pankso@slitaz.org" 31.11 -LICENSE="GPL2 LGPL2.1" 31.12 -WANTED="razorqt" 31.13 -WEB_SITE="http://razor-qt.org/" 31.14 - 31.15 -DEPENDS="razorqt" 31.16 - 31.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 31.18 -genpkg_rules() 31.19 -{ 31.20 - mkdir -p \ 31.21 - $fs/usr/bin \ 31.22 - $fs/etc/xdg/autostart \ 31.23 - $fs/usr/share/applications 31.24 - cp -a $install/usr/bin/razor-autosuspend $fs/usr/bin 31.25 - cp -a $install/usr/bin/razor-config-autosuspend $fs/usr/bin 31.26 - cp -a $install/etc/xdg/autostart/razor-autosuspend.desktop \ 31.27 - $fs/etc/xdg/autostart 31.28 - cp $install/usr/share/applications/razor-config-autosuspend.desktop \ 31.29 - $fs/usr/share/applications 31.30 -}
32.1 --- a/razorqt-dev/receipt Mon Oct 23 13:19:31 2017 +0200 32.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 32.3 @@ -1,20 +0,0 @@ 32.4 -# SliTaz package receipt. 32.5 - 32.6 -PACKAGE="razorqt-dev" 32.7 -VERSION="0.5.2" 32.8 -CATEGORY="development" 32.9 -SHORT_DESC="Development files for the QT based Razor desktop" 32.10 -MAINTAINER="pankso@slitaz.org" 32.11 -LICENSE="GPL2 LGPL2.1" 32.12 -WANTED="razorqt" 32.13 -WEB_SITE="http://razor-qt.org/" 32.14 - 32.15 -DEPENDS="Qt4-dev pkg-config" 32.16 - 32.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 32.18 -genpkg_rules() 32.19 -{ 32.20 - mkdir -p $fs/usr/lib 32.21 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 32.22 - cp -a $install/usr/include $fs/usr 32.23 -}
33.1 --- a/razorqt-locale-cs/receipt Mon Oct 23 13:19:31 2017 +0200 33.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 33.3 @@ -1,23 +0,0 @@ 33.4 -# SliTaz package receipt. 33.5 - 33.6 -PACKAGE="razorqt-locale-cs" 33.7 -VERSION="0.5.2" 33.8 -CATEGORY="localization" 33.9 -SHORT_DESC="Czech locale for Razor-qt" 33.10 -MAINTAINER="al.bobylev@gmail.com" 33.11 -LICENSE="GPL2 LGPL2.1" 33.12 -WEB_SITE="http://razor-qt.org/" 33.13 -WANTED="razorqt" 33.14 - 33.15 -LOCALE="cs" 33.16 - 33.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 33.18 -genpkg_rules() 33.19 -{ 33.20 - cd $install 33.21 - qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 33.22 - for qm in $qms; do 33.23 - mkdir -p $(dirname $fs$qm) 33.24 - cp -a $install$qm $fs$qm 33.25 - done 33.26 -}
34.1 --- a/razorqt-locale-da/receipt Mon Oct 23 13:19:31 2017 +0200 34.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 34.3 @@ -1,23 +0,0 @@ 34.4 -# SliTaz package receipt. 34.5 - 34.6 -PACKAGE="razorqt-locale-da" 34.7 -VERSION="0.5.2" 34.8 -CATEGORY="localization" 34.9 -SHORT_DESC="Danish locale for Razor-qt" 34.10 -MAINTAINER="al.bobylev@gmail.com" 34.11 -LICENSE="GPL2 LGPL2.1" 34.12 -WEB_SITE="http://razor-qt.org/" 34.13 -WANTED="razorqt" 34.14 - 34.15 -LOCALE="da" 34.16 - 34.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 34.18 -genpkg_rules() 34.19 -{ 34.20 - cd $install 34.21 - qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 34.22 - for qm in $qms; do 34.23 - mkdir -p $(dirname $fs$qm) 34.24 - cp -a $install$qm $fs$qm 34.25 - done 34.26 -}
35.1 --- a/razorqt-locale-de/receipt Mon Oct 23 13:19:31 2017 +0200 35.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 35.3 @@ -1,23 +0,0 @@ 35.4 -# SliTaz package receipt. 35.5 - 35.6 -PACKAGE="razorqt-locale-de" 35.7 -VERSION="0.5.2" 35.8 -CATEGORY="localization" 35.9 -SHORT_DESC="German locale for Razor-qt" 35.10 -MAINTAINER="al.bobylev@gmail.com" 35.11 -LICENSE="GPL2 LGPL2.1" 35.12 -WEB_SITE="http://razor-qt.org/" 35.13 -WANTED="razorqt" 35.14 - 35.15 -LOCALE="de" 35.16 - 35.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 35.18 -genpkg_rules() 35.19 -{ 35.20 - cd $install 35.21 - qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 35.22 - for qm in $qms; do 35.23 - mkdir -p $(dirname $fs$qm) 35.24 - cp -a $install$qm $fs$qm 35.25 - done 35.26 -}
36.1 --- a/razorqt-locale-el/receipt Mon Oct 23 13:19:31 2017 +0200 36.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 36.3 @@ -1,23 +0,0 @@ 36.4 -# SliTaz package receipt. 36.5 - 36.6 -PACKAGE="razorqt-locale-el" 36.7 -VERSION="0.5.2" 36.8 -CATEGORY="localization" 36.9 -SHORT_DESC="Greek locale for Razor-qt" 36.10 -MAINTAINER="al.bobylev@gmail.com" 36.11 -LICENSE="GPL2 LGPL2.1" 36.12 -WEB_SITE="http://razor-qt.org/" 36.13 -WANTED="razorqt" 36.14 - 36.15 -LOCALE="el" 36.16 - 36.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 36.18 -genpkg_rules() 36.19 -{ 36.20 - cd $install 36.21 - qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 36.22 - for qm in $qms; do 36.23 - mkdir -p $(dirname $fs$qm) 36.24 - cp -a $install$qm $fs$qm 36.25 - done 36.26 -}
37.1 --- a/razorqt-locale-es/receipt Mon Oct 23 13:19:31 2017 +0200 37.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 37.3 @@ -1,23 +0,0 @@ 37.4 -# SliTaz package receipt. 37.5 - 37.6 -PACKAGE="razorqt-locale-es" 37.7 -VERSION="0.5.2" 37.8 -CATEGORY="localization" 37.9 -SHORT_DESC="Spanish locale for Razor-qt" 37.10 -MAINTAINER="al.bobylev@gmail.com" 37.11 -LICENSE="GPL2 LGPL2.1" 37.12 -WEB_SITE="http://razor-qt.org/" 37.13 -WANTED="razorqt" 37.14 - 37.15 -LOCALE="es" 37.16 - 37.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 37.18 -genpkg_rules() 37.19 -{ 37.20 - cd $install 37.21 - qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 37.22 - for qm in $qms; do 37.23 - mkdir -p $(dirname $fs$qm) 37.24 - cp -a $install$qm $fs$qm 37.25 - done 37.26 -}
38.1 --- a/razorqt-locale-fr/receipt Mon Oct 23 13:19:31 2017 +0200 38.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 38.3 @@ -1,23 +0,0 @@ 38.4 -# SliTaz package receipt. 38.5 - 38.6 -PACKAGE="razorqt-locale-fr" 38.7 -VERSION="0.5.2" 38.8 -CATEGORY="localization" 38.9 -SHORT_DESC="French locale for Razor-qt" 38.10 -MAINTAINER="al.bobylev@gmail.com" 38.11 -LICENSE="GPL2 LGPL2.1" 38.12 -WEB_SITE="http://razor-qt.org/" 38.13 -WANTED="razorqt" 38.14 - 38.15 -LOCALE="fr" 38.16 - 38.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 38.18 -genpkg_rules() 38.19 -{ 38.20 - cd $install 38.21 - qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 38.22 - for qm in $qms; do 38.23 - mkdir -p $(dirname $fs$qm) 38.24 - cp -a $install$qm $fs$qm 38.25 - done 38.26 -}
39.1 --- a/razorqt-locale-hu/receipt Mon Oct 23 13:19:31 2017 +0200 39.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 39.3 @@ -1,23 +0,0 @@ 39.4 -# SliTaz package receipt. 39.5 - 39.6 -PACKAGE="razorqt-locale-hu" 39.7 -VERSION="0.5.2" 39.8 -CATEGORY="localization" 39.9 -SHORT_DESC="Hungarian locale for Razor-qt" 39.10 -MAINTAINER="al.bobylev@gmail.com" 39.11 -LICENSE="GPL2 LGPL2.1" 39.12 -WEB_SITE="http://razor-qt.org/" 39.13 -WANTED="razorqt" 39.14 - 39.15 -LOCALE="hu" 39.16 - 39.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 39.18 -genpkg_rules() 39.19 -{ 39.20 - cd $install 39.21 - qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 39.22 - for qm in $qms; do 39.23 - mkdir -p $(dirname $fs$qm) 39.24 - cp -a $install$qm $fs$qm 39.25 - done 39.26 -}
40.1 --- a/razorqt-locale-id/receipt Mon Oct 23 13:19:31 2017 +0200 40.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 40.3 @@ -1,23 +0,0 @@ 40.4 -# SliTaz package receipt. 40.5 - 40.6 -PACKAGE="razorqt-locale-id" 40.7 -VERSION="0.5.2" 40.8 -CATEGORY="localization" 40.9 -SHORT_DESC="Indonesian locale for Razor-qt" 40.10 -MAINTAINER="al.bobylev@gmail.com" 40.11 -LICENSE="GPL2 LGPL2.1" 40.12 -WEB_SITE="http://razor-qt.org/" 40.13 -WANTED="razorqt" 40.14 - 40.15 -LOCALE="id" 40.16 - 40.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 40.18 -genpkg_rules() 40.19 -{ 40.20 - cd $install 40.21 - qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 40.22 - for qm in $qms; do 40.23 - mkdir -p $(dirname $fs$qm) 40.24 - cp -a $install$qm $fs$qm 40.25 - done 40.26 -}
41.1 --- a/razorqt-locale-it/receipt Mon Oct 23 13:19:31 2017 +0200 41.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 41.3 @@ -1,23 +0,0 @@ 41.4 -# SliTaz package receipt. 41.5 - 41.6 -PACKAGE="razorqt-locale-it" 41.7 -VERSION="0.5.2" 41.8 -CATEGORY="localization" 41.9 -SHORT_DESC="Italian locale for Razor-qt" 41.10 -MAINTAINER="al.bobylev@gmail.com" 41.11 -LICENSE="GPL2 LGPL2.1" 41.12 -WEB_SITE="http://razor-qt.org/" 41.13 -WANTED="razorqt" 41.14 - 41.15 -LOCALE="it" 41.16 - 41.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 41.18 -genpkg_rules() 41.19 -{ 41.20 - cd $install 41.21 - qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 41.22 - for qm in $qms; do 41.23 - mkdir -p $(dirname $fs$qm) 41.24 - cp -a $install$qm $fs$qm 41.25 - done 41.26 -}
42.1 --- a/razorqt-locale-misc/receipt Mon Oct 23 13:19:31 2017 +0200 42.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 42.3 @@ -1,31 +0,0 @@ 42.4 -# SliTaz package receipt. 42.5 - 42.6 -PACKAGE="razorqt-locale-misc" 42.7 -VERSION="0.5.2" 42.8 -CATEGORY="localization" 42.9 -SHORT_DESC="Miscelaneous locales for Razor-qt not included in razorqt-locale-*" 42.10 -MAINTAINER="al.bobylev@gmail.com" 42.11 -LICENSE="GPL2 LGPL2.1" 42.12 -WEB_SITE="http://razor-qt.org/" 42.13 -WANTED="razorqt" 42.14 - 42.15 -LOCALES="cs da de el es fr hu id it pl pt ru sl sv uk zh" 42.16 - 42.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 42.18 -genpkg_rules() 42.19 -{ 42.20 - # copy all translations 42.21 - cd $install 42.22 - qms=$(find . -name "*.qm" | sed 's|^.||') 42.23 - for qm in $qms; do 42.24 - mkdir -p $(dirname $fs$qm) 42.25 - cp -a $install$qm $fs$qm 42.26 - done 42.27 - # remove translations that exists in razorqt-locale-* 42.28 - for locale in $LOCALES; do 42.29 - cook razorqt-locale-$locale 42.30 - for qm in $(cat $WOK/razorqt-locale-$locale/taz/*/files.list); do 42.31 - rm -f $fs$qm 42.32 - done 42.33 - done 42.34 -}
43.1 --- a/razorqt-locale-pl/receipt Mon Oct 23 13:19:31 2017 +0200 43.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 43.3 @@ -1,23 +0,0 @@ 43.4 -# SliTaz package receipt. 43.5 - 43.6 -PACKAGE="razorqt-locale-pl" 43.7 -VERSION="0.5.2" 43.8 -CATEGORY="localization" 43.9 -SHORT_DESC="Polish locale for Razor-qt" 43.10 -MAINTAINER="al.bobylev@gmail.com" 43.11 -LICENSE="GPL2 LGPL2.1" 43.12 -WEB_SITE="http://razor-qt.org/" 43.13 -WANTED="razorqt" 43.14 - 43.15 -LOCALE="pl" 43.16 - 43.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 43.18 -genpkg_rules() 43.19 -{ 43.20 - cd $install 43.21 - qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 43.22 - for qm in $qms; do 43.23 - mkdir -p $(dirname $fs$qm) 43.24 - cp -a $install$qm $fs$qm 43.25 - done 43.26 -}
44.1 --- a/razorqt-locale-pt/receipt Mon Oct 23 13:19:31 2017 +0200 44.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 44.3 @@ -1,23 +0,0 @@ 44.4 -# SliTaz package receipt. 44.5 - 44.6 -PACKAGE="razorqt-locale-pt" 44.7 -VERSION="0.5.2" 44.8 -CATEGORY="localization" 44.9 -SHORT_DESC="Portuguese locale for Razor-qt" 44.10 -MAINTAINER="al.bobylev@gmail.com" 44.11 -LICENSE="GPL2 LGPL2.1" 44.12 -WEB_SITE="http://razor-qt.org/" 44.13 -WANTED="razorqt" 44.14 - 44.15 -LOCALE="pt" 44.16 - 44.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 44.18 -genpkg_rules() 44.19 -{ 44.20 - cd $install 44.21 - qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 44.22 - for qm in $qms; do 44.23 - mkdir -p $(dirname $fs$qm) 44.24 - cp -a $install$qm $fs$qm 44.25 - done 44.26 -}
45.1 --- a/razorqt-locale-ru/receipt Mon Oct 23 13:19:31 2017 +0200 45.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 45.3 @@ -1,23 +0,0 @@ 45.4 -# SliTaz package receipt. 45.5 - 45.6 -PACKAGE="razorqt-locale-ru" 45.7 -VERSION="0.5.2" 45.8 -CATEGORY="localization" 45.9 -SHORT_DESC="Russian locale for Razor-qt" 45.10 -MAINTAINER="al.bobylev@gmail.com" 45.11 -LICENSE="GPL2 LGPL2.1" 45.12 -WEB_SITE="http://razor-qt.org/" 45.13 -WANTED="razorqt" 45.14 - 45.15 -LOCALE="ru" 45.16 - 45.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 45.18 -genpkg_rules() 45.19 -{ 45.20 - cd $install 45.21 - qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 45.22 - for qm in $qms; do 45.23 - mkdir -p $(dirname $fs$qm) 45.24 - cp -a $install$qm $fs$qm 45.25 - done 45.26 -}
46.1 --- a/razorqt-locale-sl/receipt Mon Oct 23 13:19:31 2017 +0200 46.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 46.3 @@ -1,23 +0,0 @@ 46.4 -# SliTaz package receipt. 46.5 - 46.6 -PACKAGE="razorqt-locale-sl" 46.7 -VERSION="0.5.2" 46.8 -CATEGORY="localization" 46.9 -SHORT_DESC="Slovenian locale for Razor-qt" 46.10 -MAINTAINER="al.bobylev@gmail.com" 46.11 -LICENSE="GPL2 LGPL2.1" 46.12 -WEB_SITE="http://razor-qt.org/" 46.13 -WANTED="razorqt" 46.14 - 46.15 -LOCALE="sl" 46.16 - 46.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 46.18 -genpkg_rules() 46.19 -{ 46.20 - cd $install 46.21 - qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 46.22 - for qm in $qms; do 46.23 - mkdir -p $(dirname $fs$qm) 46.24 - cp -a $install$qm $fs$qm 46.25 - done 46.26 -}
47.1 --- a/razorqt-locale-sv/receipt Mon Oct 23 13:19:31 2017 +0200 47.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 47.3 @@ -1,23 +0,0 @@ 47.4 -# SliTaz package receipt. 47.5 - 47.6 -PACKAGE="razorqt-locale-sv" 47.7 -VERSION="0.5.2" 47.8 -CATEGORY="localization" 47.9 -SHORT_DESC="Swedish locale for Razor-qt" 47.10 -MAINTAINER="al.bobylev@gmail.com" 47.11 -LICENSE="GPL2 LGPL2.1" 47.12 -WEB_SITE="http://razor-qt.org/" 47.13 -WANTED="razorqt" 47.14 - 47.15 -LOCALE="sv" 47.16 - 47.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 47.18 -genpkg_rules() 47.19 -{ 47.20 - cd $install 47.21 - qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 47.22 - for qm in $qms; do 47.23 - mkdir -p $(dirname $fs$qm) 47.24 - cp -a $install$qm $fs$qm 47.25 - done 47.26 -}
48.1 --- a/razorqt-locale-uk/receipt Mon Oct 23 13:19:31 2017 +0200 48.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 48.3 @@ -1,23 +0,0 @@ 48.4 -# SliTaz package receipt. 48.5 - 48.6 -PACKAGE="razorqt-locale-uk" 48.7 -VERSION="0.5.2" 48.8 -CATEGORY="localization" 48.9 -SHORT_DESC="Ukrainian locale for Razor-qt" 48.10 -MAINTAINER="al.bobylev@gmail.com" 48.11 -LICENSE="GPL2 LGPL2.1" 48.12 -WEB_SITE="http://razor-qt.org/" 48.13 -WANTED="razorqt" 48.14 - 48.15 -LOCALE="uk" 48.16 - 48.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 48.18 -genpkg_rules() 48.19 -{ 48.20 - cd $install 48.21 - qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 48.22 - for qm in $qms; do 48.23 - mkdir -p $(dirname $fs$qm) 48.24 - cp -a $install$qm $fs$qm 48.25 - done 48.26 -}
49.1 --- a/razorqt-locale-zh/receipt Mon Oct 23 13:19:31 2017 +0200 49.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 49.3 @@ -1,23 +0,0 @@ 49.4 -# SliTaz package receipt. 49.5 - 49.6 -PACKAGE="razorqt-locale-zh" 49.7 -VERSION="0.5.2" 49.8 -CATEGORY="localization" 49.9 -SHORT_DESC="Chinese locale for Razor-qt" 49.10 -MAINTAINER="al.bobylev@gmail.com" 49.11 -LICENSE="GPL2 LGPL2.1" 49.12 -WEB_SITE="http://razor-qt.org/" 49.13 -WANTED="razorqt" 49.14 - 49.15 -LOCALE="zh" 49.16 - 49.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 49.18 -genpkg_rules() 49.19 -{ 49.20 - cd $install 49.21 - qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 49.22 - for qm in $qms; do 49.23 - mkdir -p $(dirname $fs$qm) 49.24 - cp -a $install$qm $fs$qm 49.25 - done 49.26 -}
50.1 --- a/razorqt-policykit-agent/receipt Mon Oct 23 13:19:31 2017 +0200 50.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 50.3 @@ -1,21 +0,0 @@ 50.4 -# SliTaz package receipt. 50.5 - 50.6 -PACKAGE="razorqt-policykit-agent" 50.7 -VERSION="0.5.2" 50.8 -CATEGORY="x-window" 50.9 -SHORT_DESC="Razor-qt lightweight PolicyKit agent/user interface." 50.10 -MAINTAINER="pankso@slitaz.org" 50.11 -LICENSE="GPL2 LGPL2.1" 50.12 -WANTED="razorqt" 50.13 -WEB_SITE="http://razor-qt.org/" 50.14 - 50.15 -DEPENDS="razorqt polkit polkit-qt" 50.16 - 50.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 50.18 -genpkg_rules() 50.19 -{ 50.20 - mkdir -p $fs/usr/bin $fs/etc/xdg/autostart 50.21 - cp -a $install/usr/bin/razor-policykit-agent $fs/usr/bin 50.22 - cp -a $install/etc/xdg/autostart/razor-policykit-agent.desktop \ 50.23 - $fs/etc/xdg/autostart 50.24 -}
51.1 --- a/razorqt-power/receipt Mon Oct 23 13:19:31 2017 +0200 51.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 51.3 @@ -1,21 +0,0 @@ 51.4 -# SliTaz package receipt. 51.5 - 51.6 -PACKAGE="razorqt-power" 51.7 -VERSION="0.5.2" 51.8 -CATEGORY="x-window" 51.9 -SHORT_DESC="Razor-qt power management component." 51.10 -MAINTAINER="pankso@slitaz.org" 51.11 -LICENSE="GPL2 LGPL2.1" 51.12 -WANTED="razorqt" 51.13 -WEB_SITE="http://razor-qt.org/" 51.14 - 51.15 -DEPENDS="razorqt upower" 51.16 - 51.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 51.18 -genpkg_rules() 51.19 -{ 51.20 - mkdir -p $fs/usr/bin $fs/usr/share/applications 51.21 - cp -a $install/usr/bin/razor-power $fs/usr/bin 51.22 - cp $install/usr/share/applications/razor-power.desktop \ 51.23 - $fs/usr/share/applications 51.24 -}
52.1 --- a/razorqt-runner/receipt Mon Oct 23 13:19:31 2017 +0200 52.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 52.3 @@ -1,21 +0,0 @@ 52.4 -# SliTaz package receipt. 52.5 - 52.6 -PACKAGE="razorqt-runner" 52.7 -VERSION="0.5.2" 52.8 -CATEGORY="x-window" 52.9 -SHORT_DESC="Razor-qt quick launch and runner application." 52.10 -MAINTAINER="pankso@slitaz.org" 52.11 -LICENSE="GPL2 LGPL2.1" 52.12 -WANTED="razorqt" 52.13 -WEB_SITE="http://razor-qt.org/" 52.14 - 52.15 -DEPENDS="razorqt" 52.16 - 52.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 52.18 -genpkg_rules() 52.19 -{ 52.20 - mkdir -p $fs/usr/bin $fs/etc/xdg/autostart 52.21 - cp -a $install/usr/bin/razor-runner $fs/usr/bin 52.22 - cp -a $install/etc/xdg/autostart/razor-runner.desktop \ 52.23 - $fs/etc/xdg/autostart 52.24 -}
53.1 --- a/razorqt-themes/receipt Mon Oct 23 13:19:31 2017 +0200 53.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 53.3 @@ -1,33 +0,0 @@ 53.4 -# SliTaz package receipt. 53.5 - 53.6 -PACKAGE="razorqt-themes" 53.7 -VERSION="0.5.2" 53.8 -CATEGORY="x-window" 53.9 -SHORT_DESC="Extra themes for Razor-qt desktop" 53.10 -MAINTAINER="pankso@slitaz.org" 53.11 -LICENSE="GPL2 LGPL2.1" 53.12 -WANTED="razorqt" 53.13 -WEB_SITE="http://razor-qt.org/" 53.14 - 53.15 -DEPENDS="razorqt" 53.16 - 53.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 53.18 -genpkg_rules() 53.19 -{ 53.20 - mkdir -p $fs/usr/share/razor 53.21 - cp -a $install/usr/share/razor/themes $fs/usr/share/razor 53.22 - rm -rf $fs/usr/share/razor/themes/light 53.23 - 53.24 - # remove heavy graphics 53.25 - rm -f $fs/usr/share/razor/themes/*/wow5.png 53.26 - rm -f $fs/usr/share/razor/themes/*/wow5_12*.jpg 53.27 - rm -f $fs/usr/share/razor/themes/*/wow5_16*.jpg 53.28 - rm -f $fs/usr/share/razor/themes/*/wow5_19*.jpg 53.29 - rm -f $fs/usr/share/razor/themes/*/wow5_20*.jpg 53.30 - for theme in a-mego ambiance; do 53.31 - cat > $fs/usr/share/razor/themes/$theme/wallpaper.cfg << EOT 53.32 -wallpapers/size=1 53.33 -wallpapers/1/file=wow5_1024x768.jpg 53.34 -EOT 53.35 - done 53.36 -}
54.1 --- a/razorqt/receipt Mon Oct 23 13:19:31 2017 +0200 54.2 +++ b/razorqt/receipt Mon Oct 23 16:33:01 2017 +0200 54.3 @@ -1,4 +1,4 @@ 54.4 -# SliTaz package receipt. 54.5 +# SliTaz package receipt v2. 54.6 54.7 PACKAGE="razorqt" 54.8 VERSION="0.5.2" 54.9 @@ -9,21 +9,23 @@ 54.10 TARBALL="$PACKAGE-$VERSION.tar.bz2" 54.11 WEB_SITE="http://razor-qt.org/" 54.12 WGET_URL="http://razor-qt.org/downloads/$TARBALL" 54.13 -SUGGESTED="razorqt-themes razorqt-appswitcher razorqt-power \ 54.14 -razorqt-runner razorqt-autosuspend" 54.15 54.16 BUILD_DEPENDS="cmake Qt4-dev qmake xorg-dev libmagic-dev upower-dev \ 54.17 grep libstatgrab-dev alsa-lib-dev polkit-dev polkit-qt-dev glib-dev \ 54.18 lightdm-qt-dev imagemagick" 54.19 -DEPENDS="libQtDBus libQtGui libmagic libstatgrab xorg-libXcomposite \ 54.20 -xorg-libXcursor xorg-libXdamage lightdm-qt" 54.21 +SPLIT="razorqt-appswitcher razorqt-autosuspend razorqt-dev razorqt-locale-cs \ 54.22 +razorqt-locale-da razorqt-locale-de razorqt-locale-el razorqt-locale-es \ 54.23 +razorqt-locale-fr razorqt-locale-hu razorqt-locale-id razorqt-locale-it \ 54.24 +razorqt-locale-misc razorqt-locale-pl razorqt-locale-pt razorqt-locale-ru \ 54.25 +razorqt-locale-sl razorqt-locale-sv razorqt-locale-uk razorqt-locale-zh \ 54.26 +razorqt-policykit-agent razorqt-power razorqt-runner razorqt-themes" 54.27 + 54.28 54.29 GENERIC_MENUS="no" 54.30 54.31 # Rules to configure and make the package. 54.32 compile_rules() 54.33 { 54.34 - cd $src 54.35 cmake -DCMAKE_INSTALL_PREFIX=/usr . 54.36 make && make install 54.37 54.38 @@ -35,66 +37,198 @@ 54.39 # Rules to gen a SliTaz package suitable for Tazpkg. 54.40 genpkg_rules() 54.41 { 54.42 - # copy all, then remove unneeded 54.43 - cp -a $install/* $fs 54.44 + case $PACKAGE in 54.45 + razorqt) 54.46 + DEPENDS="libQtDBus libQtGui libmagic libstatgrab \ 54.47 + xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ 54.48 + lightdm-qt" 54.49 + SUGGESTED="razorqt-themes razorqt-appswitcher razorqt-power \ 54.50 + razorqt-runner razorqt-autosuspend" 54.51 54.52 - # Dev-files --> razorqt-dev 54.53 - rm -rf $fs/usr/include 54.54 - rm -rf $fs/usr/lib/pkgconfig 54.55 + # copy all, then remove unneeded 54.56 + cp -a $install/* $fs 54.57 54.58 - # Language-files --> razorqt-locale-* 54.59 - find $fs -name '*.qm' -delete 54.60 + # Dev-files --> razorqt-dev 54.61 + rm -rf $fs/usr/include 54.62 + rm -rf $fs/usr/lib/pkgconfig 54.63 54.64 - # Appswitcher --> razorqt-appswitcher 54.65 - rm -f $fs/usr/bin/razor-appswitcher 54.66 - rm -f $fs/etc/xdg/autostart/razor-appswitcher.desktop 54.67 + # Language-files --> razorqt-locale-* 54.68 + find $fs -name '*.qm' -delete 54.69 54.70 - # Autosuspend --> razorqt-autosuspend 54.71 - rm -f $fs/usr/bin/razor-autosuspend 54.72 - rm -f $fs/usr/bin/razor-config-autosuspend 54.73 - rm -f $fs/etc/xdg/autostart/razor-autosuspend.desktop 54.74 - rm -f $fs/usr/share/applications/razor-config-autosuspend.desktop 54.75 + # Appswitcher --> razorqt-appswitcher 54.76 + rm -f $fs/usr/bin/razor-appswitcher 54.77 + rm -f $fs/etc/xdg/autostart/razor-appswitcher.desktop 54.78 54.79 - # Policykit-agent --> razorqt-policykit-agent 54.80 - rm -f $fs/usr/bin/razor-policykit-agent 54.81 - rm -f $fs/etc/xdg/autostart/razor-policykit-agent.desktop 54.82 + # Autosuspend --> razorqt-autosuspend 54.83 + rm -f $fs/usr/bin/razor-autosuspend 54.84 + rm -f $fs/usr/bin/razor-config-autosuspend 54.85 + rm -f $fs/etc/xdg/autostart/razor-autosuspend.desktop 54.86 + rm -f $fs/usr/share/applications/razor-config-autosuspend.desktop 54.87 54.88 - # Power --> razorqt-power 54.89 - rm -f $fs/usr/bin/razor-power 54.90 - rm -f $fs/usr/share/applications/razor-power.desktop 54.91 + # Policykit-agent --> razorqt-policykit-agent 54.92 + rm -f $fs/usr/bin/razor-policykit-agent 54.93 + rm -f $fs/etc/xdg/autostart/razor-policykit-agent.desktop 54.94 54.95 - # Runner --> razorqt-runner 54.96 - rm -f $fs/usr/bin/razor-runner 54.97 - rm -f $fs/etc/xdg/autostart/razor-runner.desktop 54.98 + # Power --> razorqt-power 54.99 + rm -f $fs/usr/bin/razor-power 54.100 + rm -f $fs/usr/share/applications/razor-power.desktop 54.101 54.102 - # Themes (all but light) --> razorqt-themes 54.103 - find $fs/usr/share/razor/themes -maxdepth 1 -mindepth 1 -type d \ 54.104 - \( ! -name light \) -exec rm -rf \{\} \; 54.105 - rm -f $fs/usr/share/razor/themes/light/simple_blue_widescreen.png 54.106 - rm -f $fs/usr/share/razor/themes/light/96640-simple_blue_widescreen.svg 54.107 - sed 's|png|jpg|' -i $fs/usr/share/razor/themes/light/wallpaper.cfg 54.108 + # Runner --> razorqt-runner 54.109 + rm -f $fs/usr/bin/razor-runner 54.110 + rm -f $fs/etc/xdg/autostart/razor-runner.desktop 54.111 54.112 - # Remove confupdate (Port desktop.conf syntax from 0.4.x to 0.5.0 format) 54.113 - rm -f $fs/usr/bin/razor-confupdate 54.114 - rm -rf $fs/usr/lib/razor-confupdate_bin 54.115 - rm -rf $fs/usr/share/razor/razor-confupdate 54.116 + # Themes (all but light) --> razorqt-themes 54.117 + find $fs/usr/share/razor/themes -maxdepth 1 -mindepth 1 -type d \ 54.118 + \( ! -name light \) -exec rm -rf \{\} \; 54.119 + rm -f $fs/usr/share/razor/themes/light/simple_blue_widescreen.png 54.120 + rm -f $fs/usr/share/razor/themes/light/96640-simple_blue_widescreen.svg 54.121 + sed 's|png|jpg|' -i $fs/usr/share/razor/themes/light/wallpaper.cfg 54.122 54.123 - # Remove heavy graphics 54.124 - rm -f $fs/usr/share/razor/graphics/rqt* 54.125 + # Remove confupdate (Port desktop.conf syntax from 0.4.x to 0.5.0 format) 54.126 + rm -f $fs/usr/bin/razor-confupdate 54.127 + rm -rf $fs/usr/lib/razor-confupdate_bin 54.128 + rm -rf $fs/usr/share/razor/razor-confupdate 54.129 54.130 - # Remove file - not use KDM 54.131 - rm -rf $fs/usr/share/apps 54.132 + # Remove heavy graphics 54.133 + rm -f $fs/usr/share/razor/graphics/rqt* 54.134 54.135 - # Remove empty folders 54.136 - for dir in $(find $fs/usr/share -type d); do 54.137 - rmdir --ignore-fail-on-non-empty $dir 54.138 - done 54.139 + # Remove file - not use KDM 54.140 + rm -rf $fs/usr/share/apps 54.141 54.142 - # Custom SliTaz integration 54.143 - cp -a $stuff/*.conf $fs/etc/razor 54.144 + # Remove empty folders 54.145 + for dir in $(find $fs/usr/share -type d); do 54.146 + rmdir --ignore-fail-on-non-empty $dir 54.147 + done 54.148 + 54.149 + # Custom SliTaz integration 54.150 + cp -a $stuff/*.conf $fs/etc/razor 54.151 + ;; 54.152 + razorqt-appswitcher) 54.153 + CAT="x-window|Razor-qt Apps switcher plugin." 54.154 + DEPENDS="razorqt" 54.155 + mkdir -p $fs/usr/bin $fs/etc/xdg/autostart 54.156 + cp -a $install/usr/bin/razor-appswitcher $fs/usr/bin 54.157 + cp -a $install/etc/xdg/autostart/razor-appswitcher.desktop \ 54.158 + $fs/etc/xdg/autostart 54.159 + ;; 54.160 + razorqt-autosuspend) 54.161 + CAT="x-window|Razor-qt suspend manage application tool." 54.162 + DEPENDS="razorqt" 54.163 + mkdir -p \ 54.164 + $fs/usr/bin \ 54.165 + $fs/etc/xdg/autostart \ 54.166 + $fs/usr/share/applications 54.167 + cp -a $install/usr/bin/razor-autosuspend $fs/usr/bin 54.168 + cp -a $install/usr/bin/razor-config-autosuspend $fs/usr/bin 54.169 + cp -a $install/etc/xdg/autostart/razor-autosuspend.desktop \ 54.170 + $fs/etc/xdg/autostart 54.171 + cp $install/usr/share/applications/razor-config-autosuspend.desktop \ 54.172 + $fs/usr/share/applications 54.173 + ;; 54.174 + razorqt-dev) 54.175 + CAT="development|Development files for the QT based Razor desktop" 54.176 + DEPENDS="Qt4-dev pkg-config" 54.177 + mkdir -p $fs/usr/lib 54.178 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 54.179 + cp -a $install/usr/include $fs/usr 54.180 + ;; 54.181 + razorqt-locale-misc) 54.182 + CAT="localization|Miscelaneous locales for Razor-qt not included in razorqt-locale-*" 54.183 + LOCALES="cs da de el es fr hu id it pl pt ru sl sv uk zh" 54.184 + 54.185 + # copy all translations 54.186 + cd $install 54.187 + qms=$(find . -name "*.qm" | sed 's|^.||') 54.188 + for qm in $qms; do 54.189 + mkdir -p $(dirname $fs$qm) 54.190 + cp -a $install$qm $fs$qm 54.191 + done 54.192 + # remove translations that exists in razorqt-locale-* 54.193 + for locale in $LOCALES; do 54.194 + cook razorqt-locale-$locale 54.195 + for qm in $(cat $WOK/razorqt-locale-$locale/taz/*/files.list); do 54.196 + rm -f $fs$qm 54.197 + done 54.198 + done 54.199 + ;; 54.200 + razorqt-locale-*) 54.201 + LOCALE="${PACKAGE#razorqt-locale-}" 54.202 + while read code name; do 54.203 + [ $code == $LOCALE ] && break 54.204 + done <<EOT 54.205 +cs Czech 54.206 +da Danish 54.207 +de German 54.208 +el Greek 54.209 +es Spanish 54.210 +fr French 54.211 +hu Hungarian 54.212 +id Indonesian 54.213 +it Italian 54.214 +pl Polish 54.215 +pt Portuguese 54.216 +ru Russian 54.217 +sl Slovenian 54.218 +sv Swedish 54.219 +uk Ukrainian 54.220 +zh Chinese 54.221 +EOT 54.222 + CAT="localization|$name locale for Razor-qt" 54.223 + cd $install 54.224 + qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||') 54.225 + for qm in $qms; do 54.226 + mkdir -p $(dirname $fs$qm) 54.227 + cp -a $install$qm $fs$qm 54.228 + done 54.229 + ;; 54.230 + razorqt-policykit-agent) 54.231 + CAT="x-window|Razor-qt lightweight PolicyKit agent/user interface." 54.232 + DEPENDS="razorqt polkit polkit-qt" 54.233 + mkdir -p $fs/usr/bin $fs/etc/xdg/autostart 54.234 + cp -a $install/usr/bin/razor-policykit-agent $fs/usr/bin 54.235 + cp -a $install/etc/xdg/autostart/razor-policykit-agent.desktop \ 54.236 + $fs/etc/xdg/autostart 54.237 + ;; 54.238 + razorqt-power) 54.239 + CAT="x-window|Razor-qt power management component." 54.240 + DEPENDS="razorqt upower" 54.241 + mkdir -p $fs/usr/bin $fs/usr/share/applications 54.242 + cp -a $install/usr/bin/razor-power $fs/usr/bin 54.243 + cp $install/usr/share/applications/razor-power.desktop \ 54.244 + $fs/usr/share/applications 54.245 + ;; 54.246 + razorqt-runner) 54.247 + CAT="x-window|Razor-qt quick launch and runner application." 54.248 + DEPENDS="razorqt" 54.249 + mkdir -p $fs/usr/bin $fs/etc/xdg/autostart 54.250 + cp -a $install/usr/bin/razor-runner $fs/usr/bin 54.251 + cp -a $install/etc/xdg/autostart/razor-runner.desktop \ 54.252 + $fs/etc/xdg/autostart 54.253 + ;; 54.254 + razorqt-themes) 54.255 + CAT="x-window|Extra themes for Razor-qt desktop" 54.256 + DEPENDS="razorqt" 54.257 + mkdir -p $fs/usr/share/razor 54.258 + cp -a $install/usr/share/razor/themes $fs/usr/share/razor 54.259 + rm -rf $fs/usr/share/razor/themes/light 54.260 + 54.261 + # remove heavy graphics 54.262 + rm -f $fs/usr/share/razor/themes/*/wow5.png 54.263 + rm -f $fs/usr/share/razor/themes/*/wow5_12*.jpg 54.264 + rm -f $fs/usr/share/razor/themes/*/wow5_16*.jpg 54.265 + rm -f $fs/usr/share/razor/themes/*/wow5_19*.jpg 54.266 + rm -f $fs/usr/share/razor/themes/*/wow5_20*.jpg 54.267 + for theme in a-mego ambiance; do 54.268 + cat > $fs/usr/share/razor/themes/$theme/wallpaper.cfg << EOT 54.269 +wallpapers/size=1 54.270 +wallpapers/1/file=wow5_1024x768.jpg 54.271 +EOT 54.272 + done 54.273 + ;; 54.274 + esac 54.275 } 54.276 54.277 -post_install() 54.278 +post_install_razorqt() 54.279 { 54.280 res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//) 54.281 # Adding WM to SLIM available sessions. 54.282 @@ -106,7 +240,7 @@ 54.283 true 54.284 } 54.285 54.286 -post_remove() 54.287 +post_remove_razorqt() 54.288 { 54.289 # Remove WM from SLIM available sessions. 54.290 if grep -q $PACKAGE "$1/etc/slim.conf"; then
55.1 --- a/transmission-cli/receipt Mon Oct 23 13:19:31 2017 +0200 55.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 55.3 @@ -1,19 +0,0 @@ 55.4 -# SliTaz package receipt. 55.5 - 55.6 -PACKAGE="transmission-cli" 55.7 -VERSION="2.92" 55.8 -CATEGORY="network" 55.9 -SHORT_DESC="Transmission command line interface." 55.10 -MAINTAINER="pankso@slitaz.org" 55.11 -LICENSE="GPL2" 55.12 -WANTED="transmission" 55.13 -WEB_SITE="http://www.transmissionbt.com/" 55.14 - 55.15 -DEPENDS="transmission libcurl libssl" 55.16 - 55.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 55.18 -genpkg_rules() 55.19 -{ 55.20 - mkdir -p $fs/usr/bin 55.21 - cp -a $install/usr/bin/transmission-cli $fs/usr/bin 55.22 -}
56.1 --- a/transmission-daemon/receipt Mon Oct 23 13:19:31 2017 +0200 56.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 56.3 @@ -1,25 +0,0 @@ 56.4 -# SliTaz package receipt. 56.5 - 56.6 -PACKAGE="transmission-daemon" 56.7 -VERSION="2.92" 56.8 -CATEGORY="network" 56.9 -SHORT_DESC="Transmission daemon and remote tool." 56.10 -MAINTAINER="pankso@slitaz.org" 56.11 -LICENSE="GPL2" 56.12 -SUGGESTED="transmission-web transmission-cli" 56.13 -WANTED="transmission" 56.14 -WEB_SITE="http://www.transmissionbt.com/" 56.15 - 56.16 -DEPENDS="libssl libcurl libevent" 56.17 - 56.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 56.19 -genpkg_rules() 56.20 -{ 56.21 - mkdir -p $fs/usr/bin \ 56.22 - $fs/etc/init.d \ 56.23 - $fs/var/transmission-daemon 56.24 - cp -a $install/usr/bin/transmission-daemon $fs/usr/bin 56.25 - cp -a $install/usr/bin/transmission-remote $fs/usr/bin 56.26 - cp $stuff/settings.json $fs/var/transmission-daemon 56.27 - cp $stuff/transmission-daemon $fs/etc/init.d 56.28 -}
57.1 --- a/transmission-daemon/stuff/settings.json Mon Oct 23 13:19:31 2017 +0200 57.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 57.3 @@ -1,65 +0,0 @@ 57.4 -{ 57.5 - "alt-speed-down": 50, 57.6 - "alt-speed-enabled": false, 57.7 - "alt-speed-time-begin": 540, 57.8 - "alt-speed-time-day": 127, 57.9 - "alt-speed-time-enabled": false, 57.10 - "alt-speed-time-end": 1020, 57.11 - "alt-speed-up": 50, 57.12 - "bind-address-ipv4": "0.0.0.0", 57.13 - "bind-address-ipv6": "::", 57.14 - "blocklist-enabled": false, 57.15 - "blocklist-url": "http://www.example.com/blocklist", 57.16 - "cache-size-mb": 32, 57.17 - "dht-enabled": true, 57.18 - "download-dir": "/mnt/data/downloads", 57.19 - "download-limit": 100, 57.20 - "download-limit-enabled": 0, 57.21 - "encryption": 1, 57.22 - "idle-seeding-limit": 30, 57.23 - "idle-seeding-limit-enabled": false, 57.24 - "incomplete-dir": "/root/Downloads", 57.25 - "incomplete-dir-enabled": false, 57.26 - "lpd-enabled": true, 57.27 - "max-peers-global": 35, 57.28 - "message-level": 2, 57.29 - "open-file-limit": 32, 57.30 - "peer-congestion-algorithm": "", 57.31 - "peer-limit-global": 150, 57.32 - "peer-limit-per-torrent": 60, 57.33 - "peer-port": 51413, 57.34 - "peer-port-random-high": 65535, 57.35 - "peer-port-random-low": 49152, 57.36 - "peer-port-random-on-start": false, 57.37 - "peer-socket-tos": "default", 57.38 - "pex-enabled": true, 57.39 - "pidfile": "/var/run/transmission-daemon.pid", 57.40 - "port-forwarding-enabled": true, 57.41 - "preallocation": 1, 57.42 - "prefetch-enabled": 1, 57.43 - "ratio-limit": 2, 57.44 - "ratio-limit-enabled": false, 57.45 - "rename-partial-files": true, 57.46 - "rpc-authentication-required": true, 57.47 - "rpc-bind-address": "0.0.0.0", 57.48 - "rpc-enabled": true, 57.49 - "rpc-password": "{9aebfab2dedb060801e37b93e475042635dd8d2cNtxckwS7", 57.50 - "rpc-port": 9091, 57.51 - "rpc-url": "/transmission/", 57.52 - "rpc-username": "tux", 57.53 - "rpc-whitelist": "*", 57.54 - "rpc-whitelist-enabled": true, 57.55 - "script-torrent-done-enabled": false, 57.56 - "script-torrent-done-filename": "", 57.57 - "speed-limit-down": 100, 57.58 - "speed-limit-down-enabled": false, 57.59 - "speed-limit-up": 100, 57.60 - "speed-limit-up-enabled": false, 57.61 - "start-added-torrents": true, 57.62 - "trash-original-torrent-files": false, 57.63 - "umask": 18, 57.64 - "upload-limit": 200, 57.65 - "upload-limit-enabled": 0, 57.66 - "upload-slots-per-torrent": 14, 57.67 - "utp-enabled": false 57.68 -}
58.1 --- a/transmission-daemon/stuff/transmission-daemon Mon Oct 23 13:19:31 2017 +0200 58.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 58.3 @@ -1,56 +0,0 @@ 58.4 -#!/bin/sh 58.5 -# /etc/init.d/transmission-daemon: Start, stop and restart transmission daemon on SliTaz, at boot 58.6 -# time or with the command line. 58.7 -# 58.8 -# To start daemon at boot time, just put the right name in the $RUN_DAEMONS 58.9 -# variable of /etc/rcS.conf and configure options with /etc/daemons.conf. 58.10 -# 58.11 -. /etc/init.d/rc.functions 58.12 -. /etc/daemons.conf 58.13 - 58.14 -NAME=Transmission 58.15 -DESC="$(_ '%s daemon' Transmission)" 58.16 -DAEMON=/usr/bin/transmission-daemon 58.17 -OPTIONS="-g /var/transmission-daemon/ -x /var/run/transmission-daemon.pid" 58.18 -PIDFILE=/var/run/transmission-daemon.pid 58.19 - 58.20 -case "$1" in 58.21 - start) 58.22 - if active_pidfile $PIDFILE transmission-daemon ; then 58.23 - _ '%s is already running.' $NAME 58.24 - exit 1 58.25 - fi 58.26 - action 'Starting %s: %s...' "$DESC" $NAME 58.27 - $DAEMON $OPTIONS 58.28 - status 58.29 - ;; 58.30 - stop) 58.31 - if ! active_pidfile $PIDFILE transmission-daemon ; then 58.32 - _ '%s is not running.' $NAME 58.33 - exit 1 58.34 - fi 58.35 - action 'Stopping %s: %s...' "$DESC" $NAME 58.36 - killall transmission-daemon 58.37 - rm $PIDFILE 58.38 - status 58.39 - ;; 58.40 - restart) 58.41 - if ! active_pidfile $PIDFILE transmission-daemon ; then 58.42 - _ '%s is not running.' $NAME 58.43 - exit 1 58.44 - fi 58.45 - action 'Restarting %s: %s...' "$DESC" $NAME 58.46 - killall transmission-daemon 58.47 - rm $PIDFILE 58.48 - sleep 2 58.49 - $DAEMON $OPTIONS 58.50 - status 58.51 - ;; 58.52 - *) 58.53 - emsg "<n><b>$(_ 'Usage:')</b> $0 [start|stop|restart]" 58.54 - newline 58.55 - exit 1 58.56 - ;; 58.57 -esac 58.58 - 58.59 -exit 0
59.1 --- a/transmission-web/receipt Mon Oct 23 13:19:31 2017 +0200 59.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 59.3 @@ -1,28 +0,0 @@ 59.4 -# SliTaz package receipt. 59.5 - 59.6 -PACKAGE="transmission-web" 59.7 -VERSION="2.92" 59.8 -CATEGORY="network" 59.9 -SHORT_DESC="Transmission web interface." 59.10 -MAINTAINER="pankso@slitaz.org" 59.11 -LICENSE="GPL2" 59.12 -WANTED="transmission" 59.13 -SUGGESTED="transmission-daemon" 59.14 -WEB_SITE="http://www.transmissionbt.com/" 59.15 - 59.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 59.17 -genpkg_rules() 59.18 -{ 59.19 - mkdir -p $fs/usr/share 59.20 - cp -a $install/usr/share/transmission $fs/usr/share 59.21 - rm $fs/usr/share/transmission/web/LICENSE 59.22 -} 59.23 - 59.24 -post_install() 59.25 -{ 59.26 - # Info message 59.27 - echo " 59.28 -You must activate the web interface throught Transmission and then 59.29 -connect to: http://localhost:9091" 59.30 - echo "" 59.31 -}
60.1 --- a/transmission/receipt Mon Oct 23 13:19:31 2017 +0200 60.2 +++ b/transmission/receipt Mon Oct 23 16:33:01 2017 +0200 60.3 @@ -1,4 +1,4 @@ 60.4 -# SliTaz package receipt. 60.5 +# SliTaz package receipt v2. 60.6 60.7 PACKAGE="transmission" 60.8 VERSION="2.92" 60.9 @@ -6,16 +6,13 @@ 60.10 SHORT_DESC="Light and easy to use BitTorrent client." 60.11 MAINTAINER="pankso@slitaz.org" 60.12 LICENSE="GPL2" 60.13 -SUGGESTED="transmission-web transmission-cli transmission-daemon" 60.14 TARBALL="$PACKAGE-$VERSION.tar.xz" 60.15 WEB_SITE="http://www.transmissionbt.com/" 60.16 WGET_URL="https://transmission.cachefly.net/$TARBALL" 60.17 -TAGS="torrent" 60.18 60.19 -DEPENDS="gtk+3 libssl libcurl glib dbus dbus-glib \ 60.20 -xorg-libXdamage libnotify libevent" 60.21 BUILD_DEPENDS="gtk+3-dev openssl-dev curl-dev curl intltool \ 60.22 expat-dev gettext dbus-dev dbus-glib-dev libevent-dev wget tar" 60.23 +SPLIT="transmission-cli transmission-daemon transmission-web" 60.24 60.25 # Rules to configure and make the package. 60.26 compile_rules() 60.27 @@ -38,13 +35,55 @@ 60.28 # Rules to gen a SliTaz package suitable for Tazpkg. 60.29 genpkg_rules() 60.30 { 60.31 - mkdir -p $fs/usr/bin $fs/usr/share/applications 60.32 - cp -a $install/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE} 60.33 + case $PACKAGE in 60.34 + transmission) 60.35 + DEPENDS="gtk+3 libssl libcurl glib dbus dbus-glib \ 60.36 + xorg-libXdamage libnotify libevent" 60.37 + TAGS="torrent" 60.38 + SUGGESTED="transmission-web transmission-cli transmission-daemon" 60.39 + mkdir -p $fs/usr/bin $fs/usr/share/applications 60.40 + cp -a $install/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE} 60.41 + ;; 60.42 + transmission-cli) 60.43 + CAT="network|Transmission command line interface." 60.44 + DEPENDS="transmission libcurl libssl" 60.45 + mkdir -p $fs/usr/bin 60.46 + cp -a $install/usr/bin/transmission-cli $fs/usr/bin 60.47 + ;; 60.48 + transmission-daemon) 60.49 + CAT="network|Transmission daemon and remote tool." 60.50 + SUGGESTED="transmission-web transmission-cli" 60.51 + DEPENDS="libssl libcurl libevent" 60.52 + mkdir -p $fs/usr/bin \ 60.53 + $fs/etc/init.d \ 60.54 + $fs/var/transmission-daemon 60.55 + cp -a $install/usr/bin/transmission-daemon $fs/usr/bin 60.56 + cp -a $install/usr/bin/transmission-remote $fs/usr/bin 60.57 + cp $stuff/settings.json $fs/var/transmission-daemon 60.58 + cp $stuff/transmission-daemon $fs/etc/init.d 60.59 + ;; 60.60 + transmission-web) 60.61 + CAT="network|Transmission web interface." 60.62 + SUGGESTED="transmission-daemon" 60.63 + mkdir -p $fs/usr/share 60.64 + cp -a $install/usr/share/transmission $fs/usr/share 60.65 + rm $fs/usr/share/transmission/web/LICENSE 60.66 + ;; 60.67 + esac 60.68 } 60.69 60.70 # Remove old packages name 60.71 -post_install() 60.72 +post_install_transmission() 60.73 { 60.74 rm -f "$1/usr/bin/transmission-gtk" 60.75 rm -f "$1/usr/share/applications/${PACKAGE}-gtk.desktop" 60.76 } 60.77 + 60.78 +post_install_transmission_web() 60.79 +{ 60.80 + # Info message 60.81 + echo " 60.82 +You must activate the web interface throught Transmission and then 60.83 +connect to: http://localhost:9091" 60.84 + echo "" 60.85 +}
61.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 61.2 +++ b/transmission/stuff/settings.json Mon Oct 23 16:33:01 2017 +0200 61.3 @@ -0,0 +1,65 @@ 61.4 +{ 61.5 + "alt-speed-down": 50, 61.6 + "alt-speed-enabled": false, 61.7 + "alt-speed-time-begin": 540, 61.8 + "alt-speed-time-day": 127, 61.9 + "alt-speed-time-enabled": false, 61.10 + "alt-speed-time-end": 1020, 61.11 + "alt-speed-up": 50, 61.12 + "bind-address-ipv4": "0.0.0.0", 61.13 + "bind-address-ipv6": "::", 61.14 + "blocklist-enabled": false, 61.15 + "blocklist-url": "http://www.example.com/blocklist", 61.16 + "cache-size-mb": 32, 61.17 + "dht-enabled": true, 61.18 + "download-dir": "/mnt/data/downloads", 61.19 + "download-limit": 100, 61.20 + "download-limit-enabled": 0, 61.21 + "encryption": 1, 61.22 + "idle-seeding-limit": 30, 61.23 + "idle-seeding-limit-enabled": false, 61.24 + "incomplete-dir": "/root/Downloads", 61.25 + "incomplete-dir-enabled": false, 61.26 + "lpd-enabled": true, 61.27 + "max-peers-global": 35, 61.28 + "message-level": 2, 61.29 + "open-file-limit": 32, 61.30 + "peer-congestion-algorithm": "", 61.31 + "peer-limit-global": 150, 61.32 + "peer-limit-per-torrent": 60, 61.33 + "peer-port": 51413, 61.34 + "peer-port-random-high": 65535, 61.35 + "peer-port-random-low": 49152, 61.36 + "peer-port-random-on-start": false, 61.37 + "peer-socket-tos": "default", 61.38 + "pex-enabled": true, 61.39 + "pidfile": "/var/run/transmission-daemon.pid", 61.40 + "port-forwarding-enabled": true, 61.41 + "preallocation": 1, 61.42 + "prefetch-enabled": 1, 61.43 + "ratio-limit": 2, 61.44 + "ratio-limit-enabled": false, 61.45 + "rename-partial-files": true, 61.46 + "rpc-authentication-required": true, 61.47 + "rpc-bind-address": "0.0.0.0", 61.48 + "rpc-enabled": true, 61.49 + "rpc-password": "{9aebfab2dedb060801e37b93e475042635dd8d2cNtxckwS7", 61.50 + "rpc-port": 9091, 61.51 + "rpc-url": "/transmission/", 61.52 + "rpc-username": "tux", 61.53 + "rpc-whitelist": "*", 61.54 + "rpc-whitelist-enabled": true, 61.55 + "script-torrent-done-enabled": false, 61.56 + "script-torrent-done-filename": "", 61.57 + "speed-limit-down": 100, 61.58 + "speed-limit-down-enabled": false, 61.59 + "speed-limit-up": 100, 61.60 + "speed-limit-up-enabled": false, 61.61 + "start-added-torrents": true, 61.62 + "trash-original-torrent-files": false, 61.63 + "umask": 18, 61.64 + "upload-limit": 200, 61.65 + "upload-limit-enabled": 0, 61.66 + "upload-slots-per-torrent": 14, 61.67 + "utp-enabled": false 61.68 +}
62.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 62.2 +++ b/transmission/stuff/transmission-daemon Mon Oct 23 16:33:01 2017 +0200 62.3 @@ -0,0 +1,56 @@ 62.4 +#!/bin/sh 62.5 +# /etc/init.d/transmission-daemon: Start, stop and restart transmission daemon on SliTaz, at boot 62.6 +# time or with the command line. 62.7 +# 62.8 +# To start daemon at boot time, just put the right name in the $RUN_DAEMONS 62.9 +# variable of /etc/rcS.conf and configure options with /etc/daemons.conf. 62.10 +# 62.11 +. /etc/init.d/rc.functions 62.12 +. /etc/daemons.conf 62.13 + 62.14 +NAME=Transmission 62.15 +DESC="$(_ '%s daemon' Transmission)" 62.16 +DAEMON=/usr/bin/transmission-daemon 62.17 +OPTIONS="-g /var/transmission-daemon/ -x /var/run/transmission-daemon.pid" 62.18 +PIDFILE=/var/run/transmission-daemon.pid 62.19 + 62.20 +case "$1" in 62.21 + start) 62.22 + if active_pidfile $PIDFILE transmission-daemon ; then 62.23 + _ '%s is already running.' $NAME 62.24 + exit 1 62.25 + fi 62.26 + action 'Starting %s: %s...' "$DESC" $NAME 62.27 + $DAEMON $OPTIONS 62.28 + status 62.29 + ;; 62.30 + stop) 62.31 + if ! active_pidfile $PIDFILE transmission-daemon ; then 62.32 + _ '%s is not running.' $NAME 62.33 + exit 1 62.34 + fi 62.35 + action 'Stopping %s: %s...' "$DESC" $NAME 62.36 + killall transmission-daemon 62.37 + rm $PIDFILE 62.38 + status 62.39 + ;; 62.40 + restart) 62.41 + if ! active_pidfile $PIDFILE transmission-daemon ; then 62.42 + _ '%s is not running.' $NAME 62.43 + exit 1 62.44 + fi 62.45 + action 'Restarting %s: %s...' "$DESC" $NAME 62.46 + killall transmission-daemon 62.47 + rm $PIDFILE 62.48 + sleep 2 62.49 + $DAEMON $OPTIONS 62.50 + status 62.51 + ;; 62.52 + *) 62.53 + emsg "<n><b>$(_ 'Usage:')</b> $0 [start|stop|restart]" 62.54 + newline 62.55 + exit 1 62.56 + ;; 62.57 +esac 62.58 + 62.59 +exit 0