wok-next rev 13591
move from undigest: 0install adminer blktrace busybox-boot blktrace codiad davmail e4rat fbff flashrom fsthost get-softmodem-driver lessfs libmikmod libmikmod-dev lvmts mikmod navit phpeasyvcs puppet qtractor splashutils systemd tokyocabinet tokyocabinet-dev vmware-view-open-client wine-rt-dev xflux
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/0install/receipt Thu Nov 08 09:35:38 2012 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="0install" 1.7 +VERSION="1.10" 1.8 +SOURCE="zeroinstall-injector" 1.9 +CATEGORY="misc" 1.10 +SHORT_DESC="A decentralised cross-distribution software installation system." 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +TARBALL="$SOURCE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://0install.net/" 1.14 +WGET_URL="http://ignum.dl.sourceforge.net/project/zero-install/injector/$VERSION/$TARBALL" 1.15 + 1.16 +DEPENDS="pygtk xdg-utils" 1.17 +BUILD_DEPENDS="python pygobject" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + python setup.py install --root=$DESTDIR 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + cp -a $install/* $fs 1.30 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/adminer/receipt Thu Nov 08 09:35:38 2012 +0100 2.3 @@ -0,0 +1,26 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="adminer" 2.7 +VERSION="3.3.4" 2.8 +CATEGORY="misc" 2.9 +SHORT_DESC="Database management in a single PHP file." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +TARBALL="$PACKAGE-$VERSION.php" 2.12 +WEB_SITE="http://www.adminer.org/" 2.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 2.14 + 2.15 +DEPENDS="php" 2.16 +BUILD_DEPENDS="" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + cd $src 2.22 +} 2.23 + 2.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.25 +genpkg_rules() 2.26 +{ 2.27 + mkdir -p $fs/var/www/$PACKAGE 2.28 + cp $src/*.php $fs/var/www/$PACKAGE/index.php 2.29 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/blktrace/receipt Thu Nov 08 09:35:38 2012 +0100 3.3 @@ -0,0 +1,29 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="blktrace" 3.7 +VERSION="1.0.5" 3.8 +CATEGORY="system-tools" 3.9 +SHORT_DESC="Block layer IO tracing." 3.10 +MAINTAINER="pascal.bellard@slitaz.org" 3.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 3.12 +WEB_SITE="http://brick.kernel.dk/snaps" 3.13 +WGET_URL="$WEB_SITE/$TARBALL" 3.14 + 3.15 +DEPENDS="libaio" 3.16 +BUILD_DEPENDS="libaio-dev" 3.17 + 3.18 +# Rules to configure and make the package. 3.19 +compile_rules() 3.20 +{ 3.21 + cd $src 3.22 + sed -i 's|/usr/local|/usr|' Makefile 3.23 + make DESTDIR=$DESTDIR install 3.24 +} 3.25 + 3.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.27 +genpkg_rules() 3.28 +{ 3.29 + mkdir -p $fs/usr 3.30 + cp -a $install/usr/bin $fs/usr 3.31 +} 3.32 +
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/busybox-boot/receipt Thu Nov 08 09:35:38 2012 +0100 4.3 @@ -0,0 +1,70 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="busybox-boot" 4.7 +VERSION="1.20.2" 4.8 +CATEGORY="base-system" 4.9 +SHORT_DESC="Many common UNIX utilities for core-5in1/boot flavor." 4.10 +MAINTAINER="pascal.bellard@slitaz.org" 4.11 +DEPENDS="linux syslinux" 4.12 +WANTED="busybox" 4.13 +WEB_SITE="http://www.busybox.net/" 4.14 +CONFIG_FILES="" 4.15 + 4.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.17 +genpkg_rules() 4.18 +{ 4.19 + jslinux=false 4.20 + mkdir -p $fs/bin $fs/sbin $fs/dev/pts $fs/proc $fs/sys $fs/tmp 4.21 + cp -a $src/busybox-static $fs/bin/busybox 4.22 + mknod -m 660 $fs/dev/console c 5 1 4.23 + mknod -m 771 $fs/dev/null c 1 3 4.24 + mknod -m 660 $fs/dev/tty c 5 0 4.25 + if $jslinux; then 4.26 + mknod -m 644 $fs/dev/clipboard c 10 231 4.27 + mknod -m 660 $fs/dev/ttyS0 c 4 64 4.28 + fi 4.29 + mknod -m 660 $fs/dev/tty1 c 4 1 4.30 + cat > $fs/init <<EOT 4.31 +#!/bin/busybox sh 4.32 + 4.33 +for i in \$(busybox --list) ; do busybox ln /bin/busybox /bin/\$i; done 4.34 + 4.35 +export PATH=/bin 4.36 +export HOME=/ 4.37 +export TERM=vt100 4.38 + 4.39 +mount -t proc none /proc 4.40 +[ -d /proc/bus/usb ] && mount -t usbfs usbfs /proc/bus/usb 4.41 +mount -t sysfs none /sys 4.42 +mount -t devpts none /dev/pts 4.43 + 4.44 +TTY=\$(tty 2>/dev/null) 4.45 +TTY=\${TTY:-/dev/tty1} 4.46 +EOT 4.47 + $jslinux && cat >> $fs/init <<EOT 4.48 +stty -F \$TTY rows 30 2>/dev/null 4.49 +EOT 4.50 + cat >> $fs/init <<EOT 4.51 + 4.52 +busybox | sed '/Current/,\$!d' 4.53 +while true; do 4.54 + if [ -x /bin/setsid ]; then 4.55 + setsid sh -c "exec sh <\$TTY >\$TTY 2>&1" 4.56 + else 4.57 + sh <\$TTY >\$TTY 2>&1 4.58 + fi 4.59 +done 4.60 +EOT 4.61 + chmod +x $fs/init 4.62 + ln $fs/init $fs/sbin/init 4.63 +} 4.64 + 4.65 +pre_install() 4.66 +{ 4.67 + rm -rf $1/bin $1/sbin 4.68 +} 4.69 + 4.70 +post_install() 4.71 +{ 4.72 + rm -rf $1/lib $1/var $1/sbin $1/home $1/root $1/media 4.73 +}
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/codiad/receipt Thu Nov 08 09:35:38 2012 +0100 5.3 @@ -0,0 +1,33 @@ 5.4 +# SliTaz package receipt. 5.5 + 5.6 +PACKAGE="codiad" 5.7 +GITHASH="51852c63d85dd961527426c4a157c712a74a0859" 5.8 +VERSION=${GITHASH:0:7} 5.9 +CATEGORY="office" 5.10 +SHORT_DESC="web-based IDE framework with a small footprint." 5.11 +MAINTAINER="pascal.bellard@slitaz.org" 5.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 5.13 +WEB_SITE="http://codiad.com/" 5.14 +WGET_URL="https://nodeload.github.com/Fluidbyte/Codiad/tarball/$GITHASH" 5.15 +CONFIG_FILES="/etc/codiad.php" 5.16 + 5.17 +DEPENDS="php" 5.18 +BUILD_DEPENDS="wget" 5.19 + 5.20 +# Rules to configure and make the package. 5.21 +compile_rules() 5.22 +{ 5.23 + cd $src 5.24 +} 5.25 + 5.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 5.27 +genpkg_rules() 5.28 +{ 5.29 + mkdir -p $fs/var/www/codiad $fs/etc 5.30 + cp -a $src/* $fs/var/www/codiad 5.31 + chown -R www.www $fs/var/www/codiad 5.32 + chmod 777 $fs/var/www/codiad/data 5.33 + mv $fs/var/www/codiad/config.sample.php $fs/etc/codiad.php 5.34 + ln -s /etc/codiad.php $fs/var/www/codiad/config.php 5.35 +} 5.36 +
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/davmail/receipt Thu Nov 08 09:35:38 2012 +0100 6.3 @@ -0,0 +1,35 @@ 6.4 +# SliTaz package receipt. 6.5 + 6.6 +PACKAGE="davmail" 6.7 +VERSION="4.0.0-2016" 6.8 +CATEGORY="network" 6.9 +SHORT_DESC="POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway" 6.10 +MAINTAINER="pascal.bellard@slitaz.org" 6.11 +TARBALL="$PACKAGE-src-$VERSION.tgz" 6.12 +WEB_SITE="http://davmail.sourceforge.net/" 6.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 6.14 + 6.15 +DEPENDS="java-jre" 6.16 +BUILD_DEPENDS="apache-ant java-jdk" 6.17 + 6.18 +# Rules to configure and make the package. 6.19 +compile_rules() 6.20 +{ 6.21 + cd $src 6.22 + export JAVA_HOME=/usr/lib/jvm/java-icedtea 6.23 + ant 6.24 +} 6.25 + 6.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 6.27 +genpkg_rules() 6.28 +{ 6.29 + mkdir -p $fs/usr/share/davmail $fs/usr/share/applications \ 6.30 + $fs/usr/bin 6.31 + cp -a $src/dist/lib $fs/usr/share/davmail 6.32 + cp -a $src/dist/davmail.png $fs/usr/share/davmail 6.33 + cp -a $src/dist/davmail.jar $fs/usr/share/davmail 6.34 + cp -a $src/dist/davmail.sh $fs/usr/share/davmail 6.35 + ln -s /usr/share/davmail/davmail.sh $fs/usr/bin/davmail 6.36 + sed -i 's|/bin/bash|/bin/sh|' $fs/usr/share/davmail/davmail.sh 6.37 + cp -a $src/dist/davmail.desktop $fs/usr/share/applications 6.38 +}
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/e4rat/receipt Thu Nov 08 09:35:38 2012 +0100 7.3 @@ -0,0 +1,33 @@ 7.4 +# SliTaz package receipt. 7.5 + 7.6 +PACKAGE="e4rat" 7.7 +VERSION="0.2.3" 7.8 +CATEGORY="system-tools" 7.9 +SHORT_DESC="Ext4 - Reducing Access Times: Improve Startup Times." 7.10 +MAINTAINER="pascal.bellard@slitaz.org" 7.11 +TARBALL="${PACKAGE}_${VERSION}_src.tar.gz" 7.12 +WEB_SITE="http://e4rat.sourceforge.net/" 7.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 7.14 + 7.15 +DEPENDS="e2fsprogs" 7.16 +BUILD_DEPENDS="cmake e2fsprogs-dev libboost-system-dev libboost-filesystem-dev \ 7.17 +libboost-regex-dev libboost-signals-dev libboost-serialization-dev audit-dev perl" 7.18 + 7.19 +# Rules to configure and make the package. 7.20 +compile_rules() 7.21 +{ 7.22 + cd $src 7.23 + patch -p0 < $stuff/e4rat-boost.u 7.24 + cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr . && 7.25 + make && make install 7.26 +} 7.27 + 7.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 7.29 +genpkg_rules() 7.30 +{ 7.31 + mkdir -p $fs 7.32 + cp -a $install/etc $fs 7.33 + cp -a $install/var $fs 7.34 + cp -a $install/usr/sbin $fs/usr 7.35 + cp -a $install/usr/lib $fs/usr 7.36 +}
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/e4rat/stuff/e4rat-boost.u Thu Nov 08 09:35:38 2012 +0100 8.3 @@ -0,0 +1,82 @@ 8.4 +--- CMakeLists.txt.orig 2012-09-07 03:17:55.515017487 +0200 8.5 ++++ CMakeLists.txt 2012-09-13 19:54:18.160054076 +0200 8.6 +@@ -15,7 +15,6 @@ 8.7 + ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) 8.8 + 8.9 + set(Boost_USE_MULTITHREADED OFF) 8.10 +-add_definitions(-DBOOST_FILESYSTEM_VERSION=2) 8.11 + find_package(Boost 1.41 COMPONENTS system filesystem regex REQUIRED) 8.12 + set(${PROJECT_NAME}_LIBRARIES ${${PROJECT_NAME}_LIBRARIES} 8.13 + ${Boost_LIBRARIES}) 8.14 +--- src/config.cc.orig 2012-09-13 19:50:32.829871091 +0200 8.15 ++++ src/config.cc 2012-09-13 19:55:37.023068153 +0200 8.16 +@@ -71,7 +71,7 @@ 8.17 + return; 8.18 + } 8.19 + 8.20 +- tool_name = fs::path(argv[0]).filename(); 8.21 ++ tool_name = fs::path(argv[0]).filename().string(); 8.22 + found = tool_name.find_last_of("-"); 8.23 + if(found) 8.24 + defaultSection = tool_name.substr(found+1); 8.25 +--- src/common.cc.orig 2012-09-13 19:58:06.187203344 +0200 8.26 ++++ src/common.cc 2012-09-13 19:59:34.752096130 +0200 8.27 +@@ -157,7 +157,7 @@ 8.28 + p /= filesearch; 8.29 + } 8.30 + // Initialize regex filter - use * as default if nothing is given in filesearch 8.31 +- std::string f( p.has_filename() ? p.filename() : "*"); 8.32 ++ std::string f( p.has_filename() ? p.filename().string() : "*"); 8.33 + 8.34 + fs::path dir(system_complete(p).parent_path()); 8.35 + if( is_directory(dir) ) 8.36 +@@ -166,8 +166,8 @@ 8.37 + it!=boost::filesystem::directory_iterator(); 8.38 + ++it ) 8.39 + { 8.40 +- if( boost::regex_match( it->leaf(), path2regex(f) ) ) 8.41 +- fileset.push_back(it->string()); 8.42 ++ if( boost::regex_match( it->path().filename().string(), path2regex(f) ) ) 8.43 ++ fileset.push_back(it->path().filename().string()); 8.44 + } 8.45 + return fileset; 8.46 + } 8.47 +--- src/e4rat-collect.cc.orig 2012-09-13 20:03:40.185027797 +0200 8.48 ++++ src/e4rat-collect.cc 2012-09-13 20:03:54.404850024 +0200 8.49 +@@ -396,7 +396,7 @@ 8.50 + * Parse application list given as arguments 8.51 + */ 8.52 + for ( ; optind < argc; optind++) 8.53 +- project.observeApp(fs::path(argv[optind]).filename()); 8.54 ++ project.observeApp(fs::path(argv[optind]).filename().string()); 8.55 + 8.56 + /* 8.57 + * Parse application list on stdin 8.58 +--- src/device.cc.orig 2012-09-13 20:00:40.232277516 +0200 8.59 ++++ src/device.cc 2012-09-13 20:03:11.026392331 +0200 8.60 +@@ -196,13 +196,13 @@ 8.61 + it != end_itr; 8.62 + ++it ) 8.63 + { 8.64 +- if(it->filename() == "root") 8.65 ++ if(it->path().filename().string() == "root") 8.66 + continue; 8.67 +- if(lstat(it->string().c_str(), &st)) 8.68 ++ if(lstat(it->path().filename().c_str(), &st)) 8.69 + continue; 8.70 + if(st.st_rdev == get()->devno) 8.71 + { 8.72 +- get()->deviceName = it->filename(); 8.73 ++ get()->deviceName = it->path().filename().string(); 8.74 + get()->devicePath = "/dev/" + get()->deviceName; 8.75 + return 0; 8.76 + } 8.77 +@@ -225,7 +225,7 @@ 8.78 + // the minor number of virtual filesystems are allocated dynamically in function set_anon_super() in fs/super.c 8.79 + // for convenience set deviceName and devicePath to a common name 8.80 + get()->deviceName = "virtual file system"; 8.81 +- get()->devicePath = get()->mount_point.filename(); 8.82 ++ get()->devicePath = get()->mount_point.filename().string(); 8.83 + return 0; 8.84 + case 2: 8.85 + ss << "fd";
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/fbff/receipt Thu Nov 08 09:35:38 2012 +0100 9.3 @@ -0,0 +1,35 @@ 9.4 +# SliTaz package receipt. 9.5 + 9.6 +PACKAGE="fbff" 9.7 +VERSION="20120427" 9.8 +CATEGORY="multimedia" 9.9 +SHORT_DESC="FFmpeg client in frame buffer." 9.10 +MAINTAINER="pascal.bellard@slitaz.org" 9.11 +WEB_SITE="http://repo.or.cz/w/fbff.git" 9.12 +_TARBALL="$PACKAGE-$VERSION.tar.gz" 9.13 +TAGS="video" 9.14 + 9.15 +DEPENDS="ffmpeg zlib" 9.16 +BUILD_DEPENDS="ffmpeg-dev zlib-dev" 9.17 + 9.18 +# Rules to configure and make the package. 9.19 +compile_rules() 9.20 +{ 9.21 + [ -s $SOURCES_REPOSITORY/$_TARBALL ] || 9.22 + wget -O $SOURCES_REPOSITORY/$_TARBALL \ 9.23 + $WEB_SITE//snapshot/bcf8322de9d8b5d94f82db6fc6c6266fd5616fa7.tar.gz 9.24 + mkdir -p $src 9.25 + cd $src 9.26 + tar xzf $SOURCES_REPOSITORY/$_TARBALL 9.27 + mkdir $DESTDIR 9.28 + cd fbff 9.29 + make && cp fbff $DESTDIR 9.30 +} 9.31 + 9.32 + 9.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 9.34 +genpkg_rules() 9.35 +{ 9.36 + mkdir -p $fs/usr/bin 9.37 + cp $_pkg/fbff $fs/usr/bin 9.38 +}
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 10.2 +++ b/flashrom/receipt Thu Nov 08 09:35:38 2012 +0100 10.3 @@ -0,0 +1,29 @@ 10.4 +# SliTaz package receipt. 10.5 + 10.6 +PACKAGE="flashrom" 10.7 +VERSION="0.9.6.1" 10.8 +CATEGORY="misc" 10.9 +SHORT_DESC="tility Identify, read, write, verify and erase flash chips." 10.10 +MAINTAINER="pascal.bellard@slitaz.org" 10.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 10.12 +WEB_SITE="http://flashrom.org/" 10.13 +WGET_URL="http://download.flashrom.org/releases/$TARBALL" 10.14 + 10.15 +DEPENDS="pciutils" 10.16 +BUILD_DEPENDS="pciutils-dev zlib-dev libftdi-dev" 10.17 + 10.18 +# Rules to configure and make the package. 10.19 +compile_rules() 10.20 +{ 10.21 + cd $src 10.22 + sed -i 's|/usr/local$|/usr|' Makefile 10.23 + make && make DESTDIR=$DESTDIR install 10.24 +} 10.25 + 10.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 10.27 +genpkg_rules() 10.28 +{ 10.29 + mkdir -p $fs/usr 10.30 + cp -a $install/usr/sbin $fs/usr 10.31 +} 10.32 +
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 11.2 +++ b/fsthost/receipt Thu Nov 08 09:35:38 2012 +0100 11.3 @@ -0,0 +1,25 @@ 11.4 +# SliTaz package receipt. 11.5 + 11.6 +PACKAGE="fsthost" 11.7 +VERSION="1.3.1" 11.8 +CATEGORY="multimedia" 11.9 +SHORT_DESC="FSTHost is VST host for Jack with GTK interface" 11.10 +MAINTAINER="xj@wp.pl" 11.11 +WEB_SITE="http://fsthost.sourceforge.net" 11.12 +TARBALL="$PACKAGE-$VERSION.tar.xz" 11.13 +WGET_URL="http://downloads.sourceforge.net/project/$PACKAGE/$PACKAGE-$VERSION.tar.xz" 11.14 + 11.15 +DEPENDS="wine gtk+ libxml2 jack-audio-connection-kit" 11.16 +BUILD_DEPENDS="gtk+-dev libxml2-dev wine-rt-dev jack-audio-connection-kit-dev" 11.17 + 11.18 +# Rules to configure and make the package. 11.19 +compile_rules() 11.20 +{ 11.21 + make LIB_INST_PATH=/usr/lib DESTDIR=$install install 11.22 +} 11.23 + 11.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 11.25 +genpkg_rules() 11.26 +{ 11.27 + cp -a $install/* $fs 11.28 +}
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 12.2 +++ b/get-softmodem-driver/description.txt Thu Nov 08 09:35:38 2012 +0100 12.3 @@ -0,0 +1,3 @@ 12.4 +Support for software modems: Conexant 12.5 + 12.6 +Warning: This package HAS huge dependencies including a full install of dev tools and a complete kernel compilation. This will use a significant amount of disk space and take a while depending on your processing power.
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 13.2 +++ b/get-softmodem-driver/receipt Thu Nov 08 09:35:38 2012 +0100 13.3 @@ -0,0 +1,26 @@ 13.4 +# SliTaz package receipt. 13.5 + 13.6 +PACKAGE="get-softmodem-driver" 13.7 +VERSION="0.11" 13.8 +CATEGORY="non-free" 13.9 +SHORT_DESC="Get misc softmodem drivers." 13.10 +MAINTAINER="domcox@slitaz.org" 13.11 +DEPENDS="alsa-lib-dev cpio linux-source slitaz-toolchain" 13.12 +WEB_SITE="http://hg.slitaz.org/wok/file/$PACKAGE/stuff/$PACKAGE" 13.13 +TAGS="modem dialup" 13.14 + 13.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 13.16 +genpkg_rules() 13.17 +{ 13.18 + mkdir -p $fs/usr/bin 13.19 + cp $stuff/$PACKAGE $fs/usr/bin 13.20 + for i in hsfmodem hcfpcimodem martian slmodem; do 13.21 + ln -s $PACKAGE $fs/usr/bin/get-$i-driver 13.22 + done 13.23 + mkdir -p $fs/usr/share/softmodem 13.24 + cp -a $stuff/*diff $fs/usr/share/softmodem 13.25 + cp -a $stuff/*receipt $fs/usr/share/softmodem 13.26 + cp -a $stuff/*init $fs/usr/share/softmodem 13.27 + cp -a $stuff/*country $fs/usr/share/softmodem 13.28 + cp -a $stuff/zone.tab $fs/usr/share/softmodem 13.29 +}
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 14.2 +++ b/get-softmodem-driver/stuff/get-softmodem-driver Thu Nov 08 09:35:38 2012 +0100 14.3 @@ -0,0 +1,194 @@ 14.4 +#!/bin/sh 14.5 +# install softmodems drivers if needed. 14.6 + 14.7 +PACKAGE=$(echo $0 | sed 's/.*get-\(.*\)-driver/\1/') 14.8 +ROOT="$1" 14.9 +DEPENDS="" 14.10 + 14.11 +untested() 14.12 +{ 14.13 +echo "--------------------------------------------------------" 14.14 +echo "Due to a lack of compatible hardware for troubleshooting," 14.15 +echo "this $PACKAGE package has not been tested. Please report" 14.16 +echo "any success, failure, bug to SliTaz Labs or SliTaz Forum." 14.17 +echo "--------------------------------------------------------" 14.18 +sleep 1 14.19 +} 14.20 + 14.21 +case "$PACKAGE" in 14.22 +hsfmodem) 14.23 + . /usr/share/softmodem/hsfmodem.receipt ;; 14.24 +hcfpcimodem) 14.25 + . /usr/share/softmodem/hcfpcimodem.receipt ;; 14.26 +martian) 14.27 + . /usr/share/softmodem/martian.receipt ;; 14.28 +slmodem) 14.29 + . /usr/share/softmodem/slmodem.receipt ;; 14.30 +*) 14.31 + echo "Unknown modem driver. Please run one of the following commands:" 14.32 + for i in $(cd $(dirname $0); ls get-*-driver); do 14.33 + [ -L $i ] || continue 14.34 + [ "$(readlink $i)" = "get-modem-driver" ] || continue 14.35 + echo " $i" 14.36 + done 14.37 + exit 1;; 14.38 +esac 14.39 + 14.40 +# Report 14.41 +echo "Installing $SHORT_DESC.." 14.42 + 14.43 +# Check if user is root to install. 14.44 +if test $(id -u) != 0 ; then 14.45 + echo -e "\nYou must be root to run `basename $0`." 14.46 + echo -e "Please use 'su' and root password to become super-user.\n" 14.47 + exit 0 14.48 +fi 14.49 + 14.50 +# Avoid reinstall 14.51 +if [ -d $ROOT/var/lib/tazpkg/installed/$PACKAGE ]; then 14.52 + echo -e "\n$PACKAGE-$VERSION package is already installed.\n" 14.53 + exit 0 14.54 +fi 14.55 + 14.56 +# Check linux-source 14.57 +cp /proc/config.gz . && gunzip config.gz 14.58 +DIFF=$(diff /usr/src/linux/.config config | awk 'BEGIN{i=0}/^[-+]/{ i++} END{print i}') 14.59 +rm -f config config.gz 14.60 +if [ $DIFF -gt 2 ]; then 14.61 + echo "Warning: Linux source .config file and currently installed kernel don't match." 14.62 + echo "Please rebuild Linux source with the proper .config file." 14.63 + echo "Otherwise you may not be able to load the generated drivers." 14.64 + sleep 2 14.65 +fi 14.66 + 14.67 +# Get files 14.68 +cd /usr/src 14.69 +echo "Checking for source tarball... $WGET_URL" 14.70 +if [ ! -f "$TARBALL" ]; then 14.71 + wget $WGET_URL 14.72 + # Exit if download failed to avoid errors. 14.73 + if [ ! -f "$TARBALL" ]; then 14.74 + echo -e "\nDownload failed, exiting. Please check WGET_URL variable.\n" 14.75 + exit 1 14.76 + fi 14.77 +fi 14.78 + 14.79 +case "$WGET_URL" in 14.80 +*rpm) rpm2cpio < $(basename $WGET_URL) | cpio -id;; 14.81 +*deb) dpkg-deb -x $(basename $WGET_URL) . ;; 14.82 +*bz2) tar xjf $(basename $WGET_URL) ;; 14.83 +*tar.gz|*tgz) tar xzf $(basename $WGET_URL) || exit 1 ;; 14.84 +*zip) unzip $(basename $WGET_URL);; 14.85 +*o) ;; 14.86 +esac 14.87 + 14.88 +# Set dirs 14.89 +src=/usr/src/$PACKAGE-$VERSION 14.90 +taz=/tmp/sm$RANDOM$RANDOM$RANDOM.$$ 14.91 +fs=$taz/$PACKAGE-$VERSION/fs 14.92 +mkdir -p $fs 14.93 + 14.94 +# Create pseudo package 14.95 +case "$PACKAGE" in 14.96 +hsfmodem) 14.97 + # Rules to configure and make the package. 14.98 + cd $src 14.99 + echo "Apply $file..." 14.100 + patch -p1 < /usr/share/softmodem/$PACKAGE-$VERSION.diff || exit 1 14.101 + # Build 14.102 + make all 14.103 + make ROOT=$fs install 14.104 + make clean 14.105 + # Data for automatic region setting 14.106 + mkdir -p $fs/usr/share/hsfmodem 14.107 + cp -a /usr/share/softmodem/zone.tab $fs/usr/share/hsfmodem 14.108 + # src is needed 14.109 + cd $taz 14.110 + mkdir -p $fs/usr/src 14.111 + mv $src $fs/usr/src 14.112 + ;; 14.113 +hcfpcimodem) 14.114 + untested 14.115 + # Rules to configure and make the package. 14.116 + cd $src 14.117 + echo "Apply $file..." 14.118 + patch -p1 < /usr/share/softmodem/$PACKAGE-$VERSION.diff || exit 1 14.119 + # Build 14.120 + make all 14.121 + make ROOT=$fs install 14.122 + make clean 14.123 + # Data for automatic region setting 14.124 + mkdir -p $fs/usr/share/hcfpcimodem 14.125 + cp -a /usr/share/softmodem/zone.tab $fs/usr/share/hcfpcimodem 14.126 + # src is needed 14.127 + cd $taz 14.128 + mkdir -p $fs/usr/src 14.129 + mv $src $fs/usr/src 14.130 + ;; 14.131 +martian) 14.132 + untested 14.133 + # Build 14.134 + src=/usr/src/$PACKAGE 14.135 + cd $src 14.136 + sed -i 's/uname -i/uname -m/' modem/Makefile 14.137 + sed -i 's/asm\/page.h/\/usr\/src\/linux\/include\/asm\/page.h/' modem/mport.c 14.138 + sed -i 's/asm\/page.h/\/usr\/src\/linux\/include\/asm\/page.h/' modem/tweakrelocsdynamic.c 14.139 + make all 14.140 + # Install 14.141 + mkdir -p $fs/usr/sbin 14.142 + cp -a modem/martian_modem $fs/usr/sbin 14.143 + mkdir -p $fs/lib/modules/`uname -r`/martian 14.144 + cp -a kmodule/martian_dev.ko $fs/lib/modules/`uname -r`/martian 14.145 + mkdir -p $fs/etc/init.d 14.146 + cp -a /usr/share/softmodem/martian.init $fs/etc/init.d/martian 14.147 + chmod +x $fs/etc/init.d/martian 14.148 + # Data for automatic region setting 14.149 + mkdir -p $fs/usr/share/martian 14.150 + cp -a /usr/share/softmodem/zone.tab $fs/usr/share/martian 14.151 + cp -a /usr/share/softmodem/martian.country $fs/usr/share/martian 14.152 + rm -rf $src 14.153 + ;; 14.154 +slmodem) 14.155 + untested 14.156 + # build modules 14.157 + cd $src 14.158 + make clean 14.159 + make drivers 14.160 + # Build slmodemd with ALSA support 14.161 + cd modem 14.162 + make clean 14.163 + make SUPPORT_ALSA=1 14.164 + # install 14.165 + cd $src 14.166 + mkdir -p $fs/lib/modules/`uname -r`/slamr 14.167 + cp -a drivers/*ko $fs/lib/modules/`uname -r`/slamr 14.168 + mkdir -p $fs/usr/sbin 14.169 + cp -a modem/slmodemd $fs/usr/sbin 14.170 + mkdir -p $fs/etc/init.d 14.171 + cp -a /usr/share/softmodem/slmodem.init $fs/etc/init.d/slmodem 14.172 + chmod +x $fs/etc/init.d/slmodem 14.173 + # Data for automatic region setting 14.174 + mkdir -p $fs/usr/share/slmodem 14.175 + cp -a /usr/share/softmodem/zone.tab $fs/usr/share/slmodem 14.176 + cp -a /usr/share/softmodem/slmodem.country $fs/usr/share/slmodem 14.177 + rm -rf $src 14.178 + ;; 14.179 +esac 14.180 + 14.181 +# Create receipt 14.182 +cd $taz 14.183 +cat /usr/share/softmodem/$PACKAGE.receipt> $PACKAGE-$VERSION/receipt 14.184 + 14.185 +# Pack 14.186 +tazpkg pack $PACKAGE-$VERSION 14.187 + 14.188 +# Install pseudo package 14.189 +tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT 14.190 + 14.191 +# Clean 14.192 +if [ -e /etc/tazwok.conf ]; then 14.193 + . /etc/tazwok.conf 14.194 + mkdir -p $PACKAGES_REPOSITORY 14.195 + cp -a $PACKAGE-$VERSION.tazpkg $PACKAGES_REPOSITORY 14.196 +fi 14.197 +rm -rf $taz
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 15.2 +++ b/get-softmodem-driver/stuff/hcfpcimodem-1.19full.diff Thu Nov 08 09:35:38 2012 +0100 15.3 @@ -0,0 +1,169 @@ 15.4 +diff -ru hcfpcimodem-1.19full/config.mak hcfpcimodem-1.19full-slitaz/config.mak 15.5 +--- hcfpcimodem-1.19full/config.mak 2009-04-29 22:04:22.000000000 +0200 15.6 ++++ hcfpcimodem-1.19full-slitaz/config.mak 2009-06-15 22:17:05.000000000 +0200 15.7 +@@ -131,4 +131,4 @@ 15.8 + -e "s!@SCR_SUPPORT@!`test ! \"$(IMPORTED_SCR_SUPPORT)\" = yes; echo $$?`!g" \ 15.9 + -e "s!@DMP_SUPPORT@!`test -z \"$(IMPORTED_DMP_SUPPORT)\"; echo $$?`!g" \ 15.10 + < $< > $@ 15.11 +- chmod --reference=$< $@ 15.12 ++ chmod 755 $@ 15.13 +diff -ru hcfpcimodem-1.19full/makefile hcfpcimodem-1.19full-slitaz/makefile 15.14 +--- hcfpcimodem-1.19full/makefile 2009-04-29 22:04:22.000000000 +0200 15.15 ++++ hcfpcimodem-1.19full-slitaz/makefile 2009-06-15 22:17:47.000000000 +0200 15.16 +@@ -149,7 +149,7 @@ 15.17 + ifeq ($(RPMOPTEVAL),yes) 15.18 + RPMTARGETCPU=$(shell rpm --eval '%_target_cpu') 15.19 + else 15.20 +-RPMTARGETCPU=$(shell uname -i) 15.21 ++RPMTARGETCPU=$(shell uname -m) 15.22 + endif 15.23 + 15.24 + ifneq ($(RPMOPTDEFINE),yes) 15.25 +diff -ru hcfpcimodem-1.19full/modules/Makefile hcfpcimodem-1.19full-slitaz/modules/Makefile 15.26 +--- hcfpcimodem-1.19full/modules/Makefile 2009-04-29 22:04:22.000000000 +0200 15.27 ++++ hcfpcimodem-1.19full-slitaz/modules/Makefile 2009-06-15 22:19:01.000000000 +0200 15.28 +@@ -20,7 +20,7 @@ 15.29 + include $(TOP)/config.mak 15.30 + 15.31 + IMPORTED = $(TOP)/modules/imported 15.32 +-MACHINE_ARCH := $(shell if uname --hardware-platform >/dev/null 2>&1 && ! uname --hardware-platform | grep -q "unknown"; then uname --hardware-platform; else uname --machine | sed 's/^i.86$$/i386/'; fi) 15.33 ++MACHINE_ARCH := $(shell if uname -p >/dev/null 2>&1 && ! uname -p | grep -q "unknown"; then uname -p; else uname -m | sed 's/^i.86$$/i386/'; fi) 15.34 + ifneq ($(subst powerpc,ppc,$(IMPORTED_ARCH)),$(MACHINE_ARCH)) 15.35 + $(warning *** WARNING: Trying to compile kernel modules on a $(MACHINE_ARCH) system while the installed $(CNXTTARGET) driver package is for $(IMPORTED_ARCH), this is likely to fail... ***) 15.36 + endif 15.37 +diff -ru hcfpcimodem-1.19full/scripts/cnxtconfig.in hcfpcimodem-1.19full-slitaz/scripts/cnxtconfig.in 15.38 +--- hcfpcimodem-1.19full/scripts/cnxtconfig.in 2009-04-29 22:04:22.000000000 +0200 15.39 ++++ hcfpcimodem-1.19full-slitaz/scripts/cnxtconfig.in 2009-06-16 09:32:18.000000000 +0200 15.40 +@@ -74,7 +74,7 @@ 15.41 + answer="${region}" 15.42 + ;; 15.43 + *) 15.44 +- answer="`echo \"${answer}\" | tr '[a-z ]' '[A-Z_]'`" 15.45 ++ answer="`echo \"${answer}\" | tr '[a-z]' '[A-Z]' | sed 's/\s/_/g'`" 15.46 + ;; 15.47 + esac 15.48 + fi 15.49 +@@ -109,15 +109,13 @@ 15.50 + { 15.51 + # Try to guess what region we're in, using the timezone settings 15.52 + 15.53 +- localtime_size="`/bin/ls -lL /etc/localtime 2>/dev/null | ${AWK} '{print $5}'`" 15.54 +- 15.55 +- if ! [ ${localtime_size} -gt 0 ]; then 15.56 ++ if [ ! -e /etc/TZ ]; then 15.57 + return 1 15.58 + fi 15.59 + 15.60 +- zoneinfo_dir=/usr/share/zoneinfo 15.61 ++ zoneinfo_dir=/usr/share/hcfpcimodem 15.62 + 15.63 +- if [ ! -d ${zoneinfo_dir} -o ! -f ${zoneinfo_dir}/zone.tab ]; then 15.64 ++ if [ -f ${zoneinfo_dir}/zone.tab ]; then 15.65 + return 1 15.66 + fi 15.67 + 15.68 +@@ -206,17 +204,9 @@ 15.69 + iso_VN=00BC # VIETNAM 15.70 + 15.71 + ( 15.72 +- cd ${zoneinfo_dir} 2>/dev/null || return 1 15.73 +- find . -type f -size "${localtime_size}"c -print | sed 's@^\./@@' | \ 15.74 +- while read file; do 15.75 +- cmp -s /etc/localtime $file || continue 15.76 +-# in the egrep and sed regular expressions below, it is very important to 15.77 +-# have tabs, not spaces 15.78 +- egrep " $file( .*|\$)" ${zoneinfo_dir}/zone.tab 15.79 +- done | sed -n '/^[^#]/s/ .*//p' | sort | uniq | \ 15.80 +- while read code; do 15.81 +- eval "echo \${iso_${code}}" 15.82 +- done | sort | uniq 15.83 ++ zone=`cat /etc/TZ` 15.84 ++ code=`grep $zone ${zoneinfo_dir}/zone.tab | awk '{print $1}' | sort | uniq` 15.85 ++ eval "echo \${iso_${code}}" 15.86 + return 0 15.87 + ) 15.88 + } 15.89 +@@ -271,7 +261,7 @@ 15.90 + # The md5sum is used for input verification. 15.91 + disptokey() 15.92 + { 15.93 +- k="`echo \"$1\" | tr '[a-z]' '[A-Z]' | sed 's/FREE/00000000/' | tr -d -c '[0-9A-F\012]'`" 15.94 ++ k="`echo \"$1\" | tr '[a-z]' '[A-Z]' | sed 's/FREE/00000000/' | tr -d -c '[0-9][A-F][\012]'`" 15.95 + case $k in 15.96 + 00000000) 15.97 + echo "$k" 15.98 +@@ -1655,7 +1645,7 @@ 15.99 + update-modules 15.100 + else 15.101 + if ("$@" "${modulesconf}" | "${filter}"; cat ${f}) > ${modulesconf}.$$; then 15.102 +- if ! cmp --silent ${modulesconf}.$$ ${modulesconf}; then 15.103 ++ if ! cmp -s ${modulesconf}.$$ ${modulesconf}; then 15.104 + if ! cp ${modulesconf}.$$ ${modulesconf}; then 15.105 + rm -f ${modulesconf}.$$ ${f} 15.106 + exit 1 15.107 +@@ -1681,7 +1671,7 @@ 15.108 + fi 15.109 + 15.110 + if ("$@" "${modprobeconf}" | "${filter}"; cat ${f}) > ${modprobeconf}.$$; then 15.111 +- if ! cmp --silent ${modprobeconf}.$$ ${modprobeconf}; then 15.112 ++ if ! cmp -s ${modprobeconf}.$$ ${modprobeconf}; then 15.113 + if ! cp ${modprobeconf}.$$ ${modprobeconf}; then 15.114 + rm -f ${modprobeconf}.$$ ${f} 15.115 + exit 1 15.116 +@@ -2214,6 +2204,10 @@ 15.117 + elif [ -d /var/lib/LST ]; then 15.118 + OSDISTNAME=Caldera 15.119 + OSDISTIDNT=caldera 15.120 ++ elif [ -f /etc/slitaz-release ]; then 15.121 ++ OSDISTNAME=SliTaz 15.122 ++ OSDISTIDNT=slitaz 15.123 ++ OSDISTVERS="`cat /etc/slitaz-release`" 15.124 + fi 15.125 + 15.126 + OSKERNNAME="`uname -s | tr '[A-Z]' '[a-z]'`" 15.127 +@@ -2268,7 +2262,7 @@ 15.128 + 15.129 + dump_file() 15.130 + { 15.131 +- dump_cmd cat -v $@ 15.132 ++ dump_cmd cat $@ 15.133 + } 15.134 + 15.135 + dump_diagnostics() 15.136 +@@ -2587,7 +2581,7 @@ 15.137 + fi 15.138 + units="${specificunit}" 15.139 + if [ -z "${units}" ]; then 15.140 +- units=`ls --ignore=flush_nvm ${procdrvdir}` 15.141 ++ units=`ls ${procdrvdir} | grep -v flush_nvm` 15.142 + 15.143 + if [ -z "${units}" ]; then 15.144 + echo "" 15.145 +@@ -2884,7 +2878,7 @@ 15.146 + explicitopt=true 15.147 + do_cfgregion=true 15.148 + if [ -n "$2" ]; then 15.149 +- setregion="`echo \"$2\" | tr '[a-z ]' '[A-Z_]'`" 15.150 ++ setregion="`echo \"$2\" | tr '[a-z]' '[A-Z]' | sed 's/\s/_/g'`" 15.151 + fi 15.152 + shift 2 15.153 + ;; 15.154 +@@ -2954,7 +2948,7 @@ 15.155 + 15.156 + # Accept --region <name> as equivalent to --region=<name> 15.157 + if ${do_cfgregion} && [ $# -ge 1 -a -z "${setregion}" ]; then 15.158 +- setregion="`echo \"$1\" | tr '[a-z ]' '[A-Z_]'`" 15.159 ++ setregion="`echo \"$1\" | tr '[a-z]' '[A-Z]' | sed 's/\s/_/s'`" 15.160 + shift 15.161 + fi 15.162 + 15.163 +@@ -3033,7 +3027,7 @@ 15.164 + 15.165 + if ${do_cfgnewinstance}; then 15.166 + if [ ! -d "${cnxtnvmdir}/dynamic/${newinstance}" ]; then 15.167 +- mkdir --mode=700 --parents "${cnxtnvmdir}/dynamic/${newinstance}" || exit $? 15.168 ++ mkdir -m 700 -p "${cnxtnvmdir}/dynamic/${newinstance}" || exit $? 15.169 + # The purpose of --info here is to ensure module reload: 15.170 + (sleep 2; exec @CNXTTARGET@config --auto --region=AUTO --info) </dev/null >/dev/null 2>&1 & 15.171 + fi 15.172 +
16.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 16.2 +++ b/get-softmodem-driver/stuff/hcfpcimodem.receipt Thu Nov 08 09:35:38 2012 +0100 16.3 @@ -0,0 +1,27 @@ 16.4 +# SliTaz package receipt. 16.5 + 16.6 +PACKAGE="hcfpcimodem" 16.7 +VERSION="1.19full" 16.8 +CATEGORY="non-free" 16.9 +SHORT_DESC="Driver for the Conexant HCF (controllerless) Softmodem family." 16.10 +MAINTAINER="domcox@slitaz.org" 16.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 16.12 +DEPENDS="module-init-tools linux-source" 16.13 +WEB_SITE="http://www.linuxant.com/drivers" 16.14 +WGET_URL="http://www.linuxant.com/drivers/hcf/full/archive/$PACKAGE-$VERSION/$TARBALL" 16.15 + 16.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 16.17 + 16.18 +post_install() 16.19 +{ 16.20 + /usr/sbin/hcfpciconfig --auto 16.21 +} 16.22 + 16.23 +post_remove() 16.24 +{ 16.25 + echo -n "Removing modules.." 16.26 + rm -rf /lib/modules/`uname -r`/extra/hcfpci* 16.27 + status 16.28 + rm -rf /usr/share/hcfpicmodem 16.29 + rm -rf /etc/hcfpcimodem 16.30 +} 16.31 \ No newline at end of file
17.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 17.2 +++ b/get-softmodem-driver/stuff/hsfmodem-7.80.02.04full.diff Thu Nov 08 09:35:38 2012 +0100 17.3 @@ -0,0 +1,170 @@ 17.4 +diff -ru hsfmodem-7.80.02.04full/config.mak hsfmodem-7.80.02.04full-slitaz/config.mak 17.5 +--- hsfmodem-7.80.02.04full/config.mak 2009-02-20 22:30:12.000000000 +0100 17.6 ++++ hsfmodem-7.80.02.04full-slitaz/config.mak 2009-06-15 11:49:13.000000000 +0200 17.7 +@@ -131,4 +131,4 @@ 17.8 + -e "s!@SCR_SUPPORT@!`test ! \"$(IMPORTED_SCR_SUPPORT)\" = yes; echo $$?`!g" \ 17.9 + -e "s!@DMP_SUPPORT@!`test -z \"$(IMPORTED_DMP_SUPPORT)\"; echo $$?`!g" \ 17.10 + < $< > $@ 17.11 +- chmod --reference=$< $@ 17.12 ++ chmod 755 $@ 17.13 +diff -ru hsfmodem-7.80.02.04full/makefile hsfmodem-7.80.02.04full-slitaz/makefile 17.14 +--- hsfmodem-7.80.02.04full/makefile 2009-02-23 22:51:37.000000000 +0100 17.15 ++++ hsfmodem-7.80.02.04full-slitaz/makefile 2009-06-15 11:49:13.000000000 +0200 17.16 +@@ -149,7 +149,7 @@ 17.17 + ifeq ($(RPMOPTEVAL),yes) 17.18 + RPMTARGETCPU=$(shell rpm --eval '%_target_cpu') 17.19 + else 17.20 +-RPMTARGETCPU=$(shell uname -i) 17.21 ++RPMTARGETCPU=$(shell uname -m) 17.22 + endif 17.23 + 17.24 + ifneq ($(RPMOPTDEFINE),yes) 17.25 +diff -ru hsfmodem-7.80.02.04full/modules/Makefile hsfmodem-7.80.02.04full-slitaz/modules/Makefile 17.26 +--- hsfmodem-7.80.02.04full/modules/Makefile 2009-04-24 03:03:57.000000000 +0200 17.27 ++++ hsfmodem-7.80.02.04full-slitaz/modules/Makefile 2009-06-15 11:49:13.000000000 +0200 17.28 +@@ -20,7 +20,7 @@ 17.29 + include $(TOP)/config.mak 17.30 + 17.31 + IMPORTED = $(TOP)/modules/imported 17.32 +-MACHINE_ARCH := $(shell if uname --hardware-platform >/dev/null 2>&1 && ! uname --hardware-platform | grep -q "unknown"; then uname --hardware-platform; else uname --machine | sed 's/^i.86$$/i386/'; fi) 17.33 ++MACHINE_ARCH := $(shell if uname -p >/dev/null 2>&1 && ! uname -p | grep -q "unknown"; then uname -p; else uname -m | sed 's/^i.86$$/i386/'; fi) 17.34 + ifneq ($(subst powerpc,ppc,$(IMPORTED_ARCH)),$(MACHINE_ARCH)) 17.35 + $(warning *** WARNING: Trying to compile kernel modules on a $(MACHINE_ARCH) system while the installed $(CNXTTARGET) driver package is for $(IMPORTED_ARCH), this is likely to fail... ***) 17.36 + endif 17.37 +diff -ru hsfmodem-7.80.02.04full/scripts/cnxtconfig.in hsfmodem-7.80.02.04full-slitaz/scripts/cnxtconfig.in 17.38 +--- hsfmodem-7.80.02.04full/scripts/cnxtconfig.in 2009-04-23 17:32:18.000000000 +0200 17.39 ++++ hsfmodem-7.80.02.04full-slitaz/scripts/cnxtconfig.in 2009-06-15 21:29:49.000000000 +0200 17.40 +@@ -74,7 +74,7 @@ 17.41 + answer="${region}" 17.42 + ;; 17.43 + *) 17.44 +- answer="`echo \"${answer}\" | tr '[a-z ]' '[A-Z_]'`" 17.45 ++ answer="`echo \"${answer}\" | tr '[a-z]' '[A-Z]' | sed 's/\s/_/g'`" 17.46 + ;; 17.47 + esac 17.48 + fi 17.49 +@@ -109,15 +109,13 @@ 17.50 + { 17.51 + # Try to guess what region we're in, using the timezone settings 17.52 + 17.53 +- localtime_size="`/bin/ls -lL /etc/localtime 2>/dev/null | ${AWK} '{print $5}'`" 17.54 +- 17.55 +- if ! [ ${localtime_size} -gt 0 ]; then 17.56 ++ if [ ! -e /etc/TZ ]; then 17.57 + return 1 17.58 + fi 17.59 + 17.60 +- zoneinfo_dir=/usr/share/zoneinfo 17.61 ++ zoneinfo_dir=/usr/share/hsfmodem 17.62 + 17.63 +- if [ ! -d ${zoneinfo_dir} -o ! -f ${zoneinfo_dir}/zone.tab ]; then 17.64 ++ if [ ! -f ${zoneinfo_dir}/zone.tab ]; then 17.65 + return 1 17.66 + fi 17.67 + 17.68 +@@ -206,18 +204,11 @@ 17.69 + iso_VN=00BC # VIETNAM 17.70 + 17.71 + ( 17.72 +- cd ${zoneinfo_dir} 2>/dev/null || return 1 17.73 +- find . -type f -size "${localtime_size}"c -print | sed 's@^\./@@' | \ 17.74 +- while read file; do 17.75 +- cmp -s /etc/localtime $file || continue 17.76 +-# in the egrep and sed regular expressions below, it is very important to 17.77 +-# have tabs, not spaces 17.78 +- egrep " $file( .*|\$)" ${zoneinfo_dir}/zone.tab 17.79 +- done | sed -n '/^[^#]/s/ .*//p' | sort | uniq | \ 17.80 +- while read code; do 17.81 +- eval "echo \${iso_${code}}" 17.82 +- done | sort | uniq 17.83 ++ zone=`cat /etc/TZ` 17.84 ++ code=`grep $zone ${zoneinfo_dir}/zone.tab | awk '{print $1}' | sort | uniq` 17.85 ++ eval "echo \${iso_${code}}" 17.86 + return 0 17.87 ++ 17.88 + ) 17.89 + } 17.90 + 17.91 +@@ -271,7 +262,7 @@ 17.92 + # The md5sum is used for input verification. 17.93 + disptokey() 17.94 + { 17.95 +- k="`echo \"$1\" | tr '[a-z]' '[A-Z]' | sed 's/FREE/00000000/' | tr -d -c '[0-9A-F\012]'`" 17.96 ++ k="`echo \"$1\" | tr '[a-z]' '[A-Z]' | sed 's/FREE/00000000/' | tr -d -c '[0-9][A-F][\012]'`" 17.97 + case $k in 17.98 + 00000000) 17.99 + echo "$k" 17.100 +@@ -1655,7 +1646,7 @@ 17.101 + update-modules 17.102 + else 17.103 + if ("$@" "${modulesconf}" | "${filter}"; cat ${f}) > ${modulesconf}.$$; then 17.104 +- if ! cmp --silent ${modulesconf}.$$ ${modulesconf}; then 17.105 ++ if ! cmp -s ${modulesconf}.$$ ${modulesconf}; then 17.106 + if ! cp ${modulesconf}.$$ ${modulesconf}; then 17.107 + rm -f ${modulesconf}.$$ ${f} 17.108 + exit 1 17.109 +@@ -1681,7 +1672,7 @@ 17.110 + fi 17.111 + 17.112 + if ("$@" "${modprobeconf}" | "${filter}"; cat ${f}) > ${modprobeconf}.$$; then 17.113 +- if ! cmp --silent ${modprobeconf}.$$ ${modprobeconf}; then 17.114 ++ if ! cmp -s ${modprobeconf}.$$ ${modprobeconf}; then 17.115 + if ! cp ${modprobeconf}.$$ ${modprobeconf}; then 17.116 + rm -f ${modprobeconf}.$$ ${f} 17.117 + exit 1 17.118 +@@ -2214,6 +2205,10 @@ 17.119 + elif [ -d /var/lib/LST ]; then 17.120 + OSDISTNAME=Caldera 17.121 + OSDISTIDNT=caldera 17.122 ++ elif [ -f /etc/slitaz-release ]; then 17.123 ++ OSDISTNAME=SliTaz 17.124 ++ OSDISTIDNT=slitaz 17.125 ++ OSDISTVERS="`cat /etc/slitaz-release`" 17.126 + fi 17.127 + 17.128 + OSKERNNAME="`uname -s | tr '[A-Z]' '[a-z]'`" 17.129 +@@ -2268,7 +2263,7 @@ 17.130 + 17.131 + dump_file() 17.132 + { 17.133 +- dump_cmd cat -v $@ 17.134 ++ dump_cmd cat $@ 17.135 + } 17.136 + 17.137 + dump_diagnostics() 17.138 +@@ -2587,7 +2582,7 @@ 17.139 + fi 17.140 + units="${specificunit}" 17.141 + if [ -z "${units}" ]; then 17.142 +- units=`ls --ignore=flush_nvm ${procdrvdir}` 17.143 ++ units=`ls ${procdrvdir} | grep -v flush_nvm` 17.144 + 17.145 + if [ -z "${units}" ]; then 17.146 + echo "" 17.147 +@@ -2884,7 +2879,7 @@ 17.148 + explicitopt=true 17.149 + do_cfgregion=true 17.150 + if [ -n "$2" ]; then 17.151 +- setregion="`echo \"$2\" | tr '[a-z ]' '[A-Z_]'`" 17.152 ++ setregion="`echo \"$2\" | tr '[a-z]' '[A-Z]' | sed 's/\s/_/g'`" 17.153 + fi 17.154 + shift 2 17.155 + ;; 17.156 +@@ -2954,6 +2949,6 @@ 17.157 + 17.158 + # Accept --region <name> as equivalent to --region=<name> 17.159 + if ${do_cfgregion} && [ $# -ge 1 -a -z "${setregion}" ]; then 17.160 +- setregion="`echo \"$1\" | tr '[a-z ]' '[A-Z_]'`" 17.161 ++ setregion="`echo \"$1\" | tr '[a-z]' '[A-Z]' | sed 's/\s/_/s'`" 17.162 + shift 17.163 + fi 17.164 + 17.165 +@@ -3033,0 +3027,0 @@ 17.166 + 17.167 + if ${do_cfgnewinstance}; then 17.168 + if [ ! -d "${cnxtnvmdir}/dynamic/${newinstance}" ]; then 17.169 +- mkdir --mode=700 --parents "${cnxtnvmdir}/dynamic/${newinstance}" || exit $? 17.170 ++ mkdir -m 700 -p "${cnxtnvmdir}/dynamic/${newinstance}" || exit $? 17.171 + # The purpose of --info here is to ensure module reload: 17.172 + (sleep 2; exec @CNXTTARGET@config --auto --region=AUTO --info) </dev/null >/dev/null 2>&1 & 17.173 + fi
18.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 18.2 +++ b/get-softmodem-driver/stuff/hsfmodem.receipt Thu Nov 08 09:35:38 2012 +0100 18.3 @@ -0,0 +1,27 @@ 18.4 +# SliTaz package receipt. 18.5 + 18.6 +PACKAGE="hsfmodem" 18.7 +VERSION="7.80.02.04full" 18.8 +CATEGORY="non-free" 18.9 +SHORT_DESC="Driver for the Conexant (formerly Rockwell) HSF Softmodem family." 18.10 +MAINTAINER="domcox@slitaz.org" 18.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 18.12 +DEPENDS="module-init-tools linux-source" 18.13 +WEB_SITE="http://www.linuxant.com/drivers" 18.14 +WGET_URL="http://www.linuxant.com/drivers/hsf/full/archive/$PACKAGE-$VERSION/$TARBALL" 18.15 + 18.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 18.17 + 18.18 +post_install() 18.19 +{ 18.20 + /usr/sbin/hsfconfig --auto 18.21 +} 18.22 + 18.23 +post_remove() 18.24 +{ 18.25 + echo -n "Removing modules.." 18.26 + rm -rf /lib/modules/`uname -r`/extra/hsf* 18.27 + status 18.28 + rm -rf /usr/share/hsfmodem 18.29 + rm -rf /etc/hsfmodem 18.30 +} 18.31 \ No newline at end of file
19.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 19.2 +++ b/get-softmodem-driver/stuff/martian.country Thu Nov 08 09:35:38 2012 +0100 19.3 @@ -0,0 +1,88 @@ 19.4 +AE ae UNITED_ARAB_EMIRATES 19.5 +AR ar ARGENTINA 19.6 +AT at AUSTRIA 19.7 +AU au AUSTRALIA 19.8 +BB bb BARBADOS 19.9 +BD bd BANGLADESH 19.10 +BG bg BULGARIA 19.11 +BO bo BOLIVIA 19.12 +BR br BRAZIL 19.13 +BY by BELARUS 19.14 +CA ca CANADA 19.15 +CH ch SWITZERLAND 19.16 +CL cl CHILE 19.17 +CN cn CHINA 19.18 +CO co COLOMBIA 19.19 +CR cr COSTA_RICA 19.20 +CY cy CYPRUS 19.21 +CZ cz CZECH_REPUBLIC 19.22 +DE de GERMANY 19.23 +DK dk DENMARK 19.24 +EC ec ECUADOR 19.25 +EE ee ESTONIA 19.26 +EG eg EGYPT 19.27 +ES es SPAIN 19.28 +EU eu EUROPE 19.29 +FI fi FINLAND 19.30 +FR fr FRANCE 19.31 +GP fr GUADELOUPE 19.32 +GR gr GREECE 19.33 +GT gt GUATEMALA 19.34 +GU gu GUAM 19.35 +HK hk HONG_KONG 19.36 +HR hr CROATIA 19.37 +HU hu HUNGARY 19.38 +ID id INDONESIA 19.39 +IE ie IRELAND 19.40 +IL il ISRAEL 19.41 +IN in INDIA 19.42 +IS is ICELAND 19.43 +IT it ITALY 19.44 +JP jp JAPAN 19.45 +KR kr REPUBLIC_OF_KOREA 19.46 +KW kw KUWAIT 19.47 +LB lb LEBANON 19.48 +LI li LIECHTENSTEIN 19.49 +LK lk SRI_LANKA 19.50 +LT lt LITHUANIA 19.51 +LU lu LUXEMBOURG 19.52 +LV lv LATVIA 19.53 +MA ma MOROCCO 19.54 +MQ fr MARTINIQUE 19.55 +MT mt MALTA 19.56 +MX mx MEXICO 19.57 +MY my MALAYSIA 19.58 +NC fr NEW_CALEDONIA 19.59 +NI ni NICARAGUA 19.60 +NL nl NETHERLANDS 19.61 +NO no NORWAY 19.62 +NZ nz NEW_ZEALAND 19.63 +OM om OMAN 19.64 +PA pa PANAMA 19.65 +PE pe PERU 19.66 +PH ph PHILIPPINES 19.67 +PJ fr FRENCH_POLYNESIA 19.68 +PK pk PAKISTAN 19.69 +PL pl POLAND 19.70 +PR pr PUERTO_RICO 19.71 +PT pt PORTUGAL 19.72 +PY py PARAGUAY 19.73 +RO ro ROMANIA 19.74 +RU ru RUSSIA 19.75 +SA sa SAUDI_ARABIA 19.76 +SE se SWEDEN 19.77 +SG sg SINGAPORE 19.78 +SI si SLOVENIA 19.79 +SK sk SLOVAKIA 19.80 +TH th THAILAND 19.81 +TN tn TUNISIA 19.82 +TR tr TURKEY 19.83 +TW tw TAIWAN 19.84 +UA ua UKRAINE 19.85 +UK uk UNITED_KINGDOM 19.86 +US us UNITED_STATES 19.87 +UY uy URUGUAY 19.88 +VE ve VENEZUELA 19.89 +VI vi VIRGIN_ISLANDS_U.S. 19.90 +VN vn VIET_NAM 19.91 +ZA za SOUTH_AFRICA
20.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 20.2 +++ b/get-softmodem-driver/stuff/martian.init Thu Nov 08 09:35:38 2012 +0100 20.3 @@ -0,0 +1,62 @@ 20.4 +#!/bin/sh 20.5 +# /etc/init.d/martian: Start, stop and restart martian deamon on SliTaz, at boot 20.6 +# time or with the command line. 20.7 +# 20.8 +# To start daemon at boot time, just put the right name in the $RUN_DAEMONS 20.9 +# variable of /etc/rcS.conf and configure options with /etc/daemons.conf. 20.10 +# 20.11 +. /etc/init.d/rc.functions 20.12 +. /etc/daemons.conf 20.13 + 20.14 +NAME="Martian modem" 20.15 +DESC="Agere Systems PCI Modem deamon" 20.16 +DAEMON=/usr/sbin/martian_modem 20.17 +OPTIONS="--daemon $MARTIAN_OPTIONS" 20.18 +PIDFILE=/var/run/martian.pid 20.19 +MODULE="martian_dev" 20.20 + 20.21 +if [ `/sbin/lsmod | grep -c ${MODULE}` -lt "1" ]; then 20.22 + echo "kernel module is not loaded!" 20.23 + exit 1 20.24 +fi 20.25 + 20.26 +case "$1" in 20.27 + start) 20.28 + if active_pidfile $PIDFILE martian_modem ; then 20.29 + echo "$NAME already running." 20.30 + exit 1 20.31 + fi 20.32 + echo -n "Starting $DESC: $NAME... " 20.33 + $DAEMON $OPTIONS && echo `/bin/pidof $DAEMON` > $PIDFILE 20.34 + status 20.35 + ;; 20.36 + stop) 20.37 + if ! active_pidfile $PIDFILE martian_modem ; then 20.38 + echo "$NAME is not running." 20.39 + exit 1 20.40 + fi 20.41 + echo -n "Stopping $DESC: $NAME... " 20.42 + killall martian_modem 20.43 + rm $PIDFILE 20.44 + status 20.45 + ;; 20.46 + restart) 20.47 + if ! active_pidfile $PIDFILE martian_modem ; then 20.48 + echo "$NAME is not running." 20.49 + exit 1 20.50 + fi 20.51 + echo -n "Restarting $DESC: $NAME... " 20.52 + killall martian_modem 20.53 + sleep 2 20.54 + $DAEMON $OPTIONS && echo `/bin/pidof $DAEMON` > $PIDFILE 20.55 + status 20.56 + ;; 20.57 + *) 20.58 + echo "" 20.59 + echo -e "\033[1mUsage:\033[0m /etc/init.d/`basename $0` [start|stop|restart]" 20.60 + echo "" 20.61 + exit 1 20.62 + ;; 20.63 +esac 20.64 + 20.65 +exit 0
21.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 21.2 +++ b/get-softmodem-driver/stuff/martian.receipt Thu Nov 08 09:35:38 2012 +0100 21.3 @@ -0,0 +1,49 @@ 21.4 +# SliTaz package receipt. 21.5 + 21.6 +PACKAGE="martian" 21.7 +VERSION="full-20080617" 21.8 +CATEGORY="non-free" 21.9 +SHORT_DESC="Driver for the Agere Systems PCI Modem built on DSP 164x (Mars) series." 21.10 +MAINTAINER="domcox@slitaz.org" 21.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 21.12 +DEPENDS="module-init-tools linux-source" 21.13 +WEB_SITE="http://martian.barrelsoutofbond.org" 21.14 +WGET_URL="http://www.barrelsoutofbond.org/downloads/$PACKAGE/$TARBALL" 21.15 + 21.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 21.17 + 21.18 +post_install() 21.19 +{ 21.20 + # Country settings 21.21 + if [ -e /etc/TZ ]; then 21.22 + ZONE=`cat /etc/TZ` 21.23 + CODE=`grep $ZONE /usr/share/martian/zone.tab | cut -f1'` 21.24 + if [ -n $CODE ]; then 21.25 + COUNTRY=`grep ^$CODE /usr/share/martian/martian.country | cut -f2` 21.26 + COUNTRY_NAME=`grep ^$CODE /usr/share/martian/martian.country | cut -f3` 21.27 + fi 21.28 + fi 21.29 + if [ -z $COUNTRY ]; then 21.30 + COUNTRY="us" 21.31 + COUNTRY_NAME="USA" 21.32 + fi 21.33 + echo "Automatic country setting: $COUNTRY_NAME" 21.34 + # Save options 21.35 + if [ `grep -c MARTIAN_OPTIONS /etc/daemons.conf` -gt 0 ]; then 21.36 + sed -i 's/MARTIAN_OPTIONS=.*/MARTIAN_OPTIONS="--country='"$COUNTRY"' \/dev\/ttySM0"/' /etc/daemons.conf 21.37 + else 21.38 + echo "# slmodemd daemon options." >> $root/etc/daemons.conf 21.39 + echo "MARTIAN_OPTIONS=\"--country=$COUNTRY /dev/ttySM0\"" >> $root/etc/daemons.conf 21.40 + echo >> $root/etc/daemons.conf 21.41 + fi 21.42 + # Load module 21.43 + /sbin/depmod -a 21.44 + /sbin/modprobe martian_dev && \ 21.45 + /etc/init.d/martian start 21.46 +} 21.47 + 21.48 +post_remove() 21.49 +{ 21.50 + /etc/init.d/martian stop 21.51 + rm -rf /usr/share/martian 21.52 +}
22.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 22.2 +++ b/get-softmodem-driver/stuff/slmodem.country Thu Nov 08 09:35:38 2012 +0100 22.3 @@ -0,0 +1,82 @@ 22.4 +AD CTR21EUROPE 22.5 +AE UAE 22.6 +AR ARGENTINA 22.7 +AT AUSTRIA 22.8 +AU AUSTRALIA 22.9 +BE BELGIUM 22.10 +BG BULGARIA 22.11 +BH BAHREIN 22.12 +BN BRUNEI 22.13 +BR BRAZIL 22.14 +CA CANADA 22.15 +CH SWITZERLAND 22.16 +CL CHILE 22.17 +CN CHINA 22.18 +CY CYPRUS 22.19 +CZ CZECH_REPUBLIC 22.20 +DE GERMANY 22.21 +DK DENMARK 22.22 +DZ ALGERIA 22.23 +EE ESTONIA 22.24 +EG EGYPT 22.25 +ES SPAIN 22.26 +FI FINLAND 22.27 +FO CTR21EUROPE 22.28 +FR FRANCE 22.29 +GB UK 22.30 +GI CTR21EUROPE 22.31 +GL CTR21EUROPE 22.32 +GP FRANCE 22.33 +GR GREECE 22.34 +HK HONG_KONG 22.35 +HU HUNGARY 22.36 +ID INDONESIA 22.37 +IE IRELAND 22.38 +IL ISRAEL 22.39 +IN INDIA 22.40 +IS ICELAND 22.41 +IT ITALY 22.42 +JO JORDAN 22.43 +JP JAPAN 22.44 +KR KOREA 22.45 +KT SOUTHKOREA 22.46 +KW KUWAIT 22.47 +LB LEBANON 22.48 +LI CTR21EUROPE 22.49 +LK SRILANKA 22.50 +LT LITHUANIA 22.51 +LU LUXEMBOURG 22.52 +LV LATVIA 22.53 +MA MOROCCO 22.54 +MC CTR21EUROPE 22.55 +MQ FRANCE 22.56 +MT MALTA 22.57 +MX MEXICO 22.58 +MY MALAYSIA 22.59 +NC FRANCE 22.60 +NL NETHERLANDS 22.61 +NO NORWAY 22.62 +NZ NEW_ZEALAND 22.63 +OM OMAN 22.64 +PE PERU 22.65 +PH PHILIPPINES 22.66 +PJ FRANCE 22.67 +PK PAKISTAN 22.68 +PL POLAND 22.69 +PT PORTUGAL 22.70 +RO ROMANIA 22.71 +RU RUSSIA 22.72 +SA SAUDIARABIA 22.73 +SE SWEDEN 22.74 +SG SINGAPORE 22.75 +SI SLOVENIA 22.76 +SK SLOVAKIA 22.77 +SM CTR21EUROPE 22.78 +TH THAILAND 22.79 +TN TUNISIA 22.80 +TR TURKEY 22.81 +TW TAIWAN 22.82 +US USA 22.83 +UY URUGUAY 22.84 +VN VIETNAM 22.85 +ZA SOUTHAFRICA
23.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 23.2 +++ b/get-softmodem-driver/stuff/slmodem.init Thu Nov 08 09:35:38 2012 +0100 23.3 @@ -0,0 +1,55 @@ 23.4 +#!/bin/sh 23.5 +# /etc/init.d/slmodem: Start, stop and restart slmodemd deamon on SliTaz, at boot 23.6 +# time or with the command line. 23.7 +# 23.8 +# To start daemon at boot time, just put the right name in the $RUN_DAEMONS 23.9 +# variable of /etc/rcS.conf and configure options with /etc/daemons.conf. 23.10 +# 23.11 +. /etc/init.d/rc.functions 23.12 +. /etc/daemons.conf 23.13 + 23.14 +NAME="Smartlink modem" 23.15 +DESC="Smart Link Modem deamon" 23.16 +DAEMON=/usr/sbin/slmodemd 23.17 +OPTIONS=$SLMODEM_OPTIONS 23.18 +PIDFILE=/var/run/slmodemd.pid 23.19 + 23.20 +case "$1" in 23.21 + start) 23.22 + if active_pidfile $PIDFILE slmodemd ; then 23.23 + echo "$NAME already running." 23.24 + exit 1 23.25 + fi 23.26 + echo -n "Starting $DESC: $NAME... " 23.27 + $DAEMON $OPTIONS && echo `/bin/pidof $DAEMON` > $PIDFILE 23.28 + status 23.29 + ;; 23.30 + stop) 23.31 + if ! active_pidfile $PIDFILE slmodemd ; then 23.32 + echo "$NAME is not running." 23.33 + exit 1 23.34 + fi 23.35 + echo -n "Stopping $DESC: $NAME... " 23.36 + kill `cat $PIDFILE` 23.37 + status 23.38 + ;; 23.39 + restart) 23.40 + if ! active_pidfile $PIDFILE slmodemd ; then 23.41 + echo "$NAME is not running." 23.42 + exit 1 23.43 + fi 23.44 + echo -n "Restarting $DESC: $NAME... " 23.45 + kill `cat $PIDFILE` 23.46 + sleep 2 23.47 + $DAEMON $OPTIONS && echo `/bin/pidof $DAEMON` > $PIDFILE 23.48 + status 23.49 + ;; 23.50 + *) 23.51 + echo "" 23.52 + echo -e "\033[1mUsage:\033[0m /etc/init.d/`basename $0` [start|stop|restart]" 23.53 + echo "" 23.54 + exit 1 23.55 + ;; 23.56 +esac 23.57 + 23.58 +exit 0
24.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 24.2 +++ b/get-softmodem-driver/stuff/slmodem.receipt Thu Nov 08 09:35:38 2012 +0100 24.3 @@ -0,0 +1,46 @@ 24.4 +# SliTaz package receipt. 24.5 + 24.6 +PACKAGE="slmodem" 24.7 +VERSION="2.9.11-20090222" 24.8 +CATEGORY="non-free" 24.9 +SHORT_DESC="Support for the SmartLink Softmodem and ALSA supported chipsets." 24.10 +MAINTAINER="domcox@slitaz.org" 24.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 24.12 +DEPENDS="alsa-lib module-init-tools linux-source" 24.13 +WEB_SITE="http://linmodems.technion.ac.il" 24.14 +WGET_URL="http://linmodems.technion.ac.il/packages/smartlink/$TARBALL" 24.15 + 24.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 24.17 + 24.18 +post_install() 24.19 +{ 24.20 + # Country detection 24.21 + if [ -e /etc/TZ ]; then 24.22 + ZONE=`cat /etc/TZ` 24.23 + CODE=`grep $ZONE /usr/share/slmodem/zone.tab | cut -f1'` 24.24 + if [ -n $CODE ]; then 24.25 + COUNTRY=`grep ^$CODE /usr/share/slmodem/slmodem.country | cut -f2` 24.26 + fi 24.27 + fi 24.28 + if [ -z $COUNTRY ]; then 24.29 + COUNTRY="USA" 24.30 + fi 24.31 + echo "Automatic country setting: $COUNTRY" 24.32 + # Save options 24.33 + if [ `grep -c SLMODEM_OPTIONS /etc/daemons.conf` -gt 0 ]; then 24.34 + sed -i 's/SLMODEM_OPTIONS=.*/SLMODEM_OPTIONS="--country='"$COUNTRY"' \/dev\/slamr0"/' /etc/daemons.conf 24.35 + else 24.36 + echo "# slmodemd daemon options." >> $root/etc/daemons.conf 24.37 + echo "SLMODEM_OPTIONS=\"--country=$COUNTRY /dev/slamr0\"" >> $root/etc/daemons.conf 24.38 + echo >> $root/etc/daemons.conf 24.39 + fi 24.40 + # Load module 24.41 + depmod -a 24.42 + /sbin/modprobe slamr && /etc/init.d/slmodem start 24.43 +} 24.44 + 24.45 +post_remove() 24.46 +{ 24.47 + /etc/init.d/slmodem stop 24.48 + rm -rf /usr/share/slmodem 24.49 +} 24.50 \ No newline at end of file
25.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 25.2 +++ b/get-softmodem-driver/stuff/zone.tab Thu Nov 08 09:35:38 2012 +0100 25.3 @@ -0,0 +1,407 @@ 25.4 +# @(#)zone.tab 1.32 25.5 +# 25.6 +# TZ zone descriptions 25.7 +# 25.8 +# From Paul Eggert (1996-08-05): 25.9 +# 25.10 +# This file contains a table with the following columns: 25.11 +# 1. ISO 3166 2-character country code. See the file `iso3166.tab'. 25.12 +# 2. Latitude and longitude of the zone's principal location 25.13 +# in ISO 6709 sign-degrees-minutes-seconds format, 25.14 +# either +-DDMM+-DDDMM or +-DDMMSS+-DDDMMSS, 25.15 +# first latitude (+ is north), then longitude (+ is east). 25.16 +# 3. Zone name used in value of TZ environment variable. 25.17 +# 4. Comments; present if and only if the country has multiple rows. 25.18 +# 25.19 +# Columns are separated by a single tab. 25.20 +# The table is sorted first by country, then an order within the country that 25.21 +# (1) makes some geographical sense, and 25.22 +# (2) puts the most populous zones first, where that does not contradict (1). 25.23 +# 25.24 +# Lines beginning with `#' are comments. 25.25 +# 25.26 +#country- 25.27 +#code coordinates TZ comments 25.28 +AD +4230+00131 Europe/Andorra 25.29 +AE +2518+05518 Asia/Dubai 25.30 +AF +3431+06912 Asia/Kabul 25.31 +AG +1703-06148 America/Antigua 25.32 +AI +1812-06304 America/Anguilla 25.33 +AL +4120+01950 Europe/Tirane 25.34 +AM +4011+04430 Asia/Yerevan 25.35 +AN +1211-06900 America/Curacao 25.36 +AO -0848+01314 Africa/Luanda 25.37 +AQ -7750+16636 Antarctica/McMurdo McMurdo Station, Ross Island 25.38 +AQ -9000+00000 Antarctica/South_Pole Amundsen-Scott Station, South Pole 25.39 +AQ -6734-06808 Antarctica/Rothera Rothera Station, Adelaide Island 25.40 +AQ -6448-06406 Antarctica/Palmer Palmer Station, Anvers Island 25.41 +AQ -6736+06253 Antarctica/Mawson Mawson Station, Holme Bay 25.42 +AQ -6835+07758 Antarctica/Davis Davis Station, Vestfold Hills 25.43 +AQ -6617+11031 Antarctica/Casey Casey Station, Bailey Peninsula 25.44 +AQ -7824+10654 Antarctica/Vostok Vostok Station, S Magnetic Pole 25.45 +AQ -6640+14001 Antarctica/DumontDUrville Dumont-d'Urville Base, Terre Adelie 25.46 +AQ -690022+0393524 Antarctica/Syowa Syowa Station, E Ongul I 25.47 +AR -3436-05827 America/Argentina/Buenos_Aires Buenos Aires (BA, CF) 25.48 +AR -3124-06411 America/Argentina/Cordoba most locations (CB, CC, CN, ER, FM, LP, MN, NQ, RN, SA, SE, SF, SL) 25.49 +AR -2411-06518 America/Argentina/Jujuy Jujuy (JY) 25.50 +AR -3124-06411 America/Argentina/Tucuman Tucuman (TM) 25.51 +AR -2828-06547 America/Argentina/Catamarca Catamarca (CT), Chubut (CH) 25.52 +AR -2926-06651 America/Argentina/La_Rioja La Rioja (LR) 25.53 +AR -3132-06831 America/Argentina/San_Juan San Juan (SJ) 25.54 +AR -3253-06849 America/Argentina/Mendoza Mendoza (MZ) 25.55 +AR -5138-06913 America/Argentina/Rio_Gallegos Santa Cruz (SC) 25.56 +AR -5448-06818 America/Argentina/Ushuaia Tierra del Fuego (TF) 25.57 +AS -1416-17042 Pacific/Pago_Pago 25.58 +AT +4813+01620 Europe/Vienna 25.59 +AU -3133+15905 Australia/Lord_Howe Lord Howe Island 25.60 +AU -4253+14719 Australia/Hobart Tasmania - most locations 25.61 +AU -3956+14352 Australia/Currie Tasmania - King Island 25.62 +AU -3749+14458 Australia/Melbourne Victoria 25.63 +AU -3352+15113 Australia/Sydney New South Wales - most locations 25.64 +AU -3157+14127 Australia/Broken_Hill New South Wales - Yancowinna 25.65 +AU -2728+15302 Australia/Brisbane Queensland - most locations 25.66 +AU -2016+14900 Australia/Lindeman Queensland - Holiday Islands 25.67 +AU -3455+13835 Australia/Adelaide South Australia 25.68 +AU -1228+13050 Australia/Darwin Northern Territory 25.69 +AU -3157+11551 Australia/Perth Western Australia 25.70 +AW +1230-06858 America/Aruba 25.71 +AX +6006+01957 Europe/Mariehamn 25.72 +AZ +4023+04951 Asia/Baku 25.73 +BA +4352+01825 Europe/Sarajevo 25.74 +BB +1306-05937 America/Barbados 25.75 +BD +2343+09025 Asia/Dhaka 25.76 +BE +5050+00420 Europe/Brussels 25.77 +BF +1222-00131 Africa/Ouagadougou 25.78 +BG +4241+02319 Europe/Sofia 25.79 +BH +2623+05035 Asia/Bahrain 25.80 +BI -0323+02922 Africa/Bujumbura 25.81 +BJ +0629+00237 Africa/Porto-Novo 25.82 +BM +3217-06446 Atlantic/Bermuda 25.83 +BN +0456+11455 Asia/Brunei 25.84 +BO -1630-06809 America/La_Paz 25.85 +BR -0351-03225 America/Noronha Atlantic islands 25.86 +BR -0127-04829 America/Belem Amapa, E Para 25.87 +BR -0343-03830 America/Fortaleza NE Brazil (MA, PI, CE, RN, PB) 25.88 +BR -0803-03454 America/Recife Pernambuco 25.89 +BR -0712-04812 America/Araguaina Tocantins 25.90 +BR -0940-03543 America/Maceio Alagoas, Sergipe 25.91 +BR -1259-03831 America/Bahia Bahia 25.92 +BR -2332-04637 America/Sao_Paulo S & SE Brazil (GO, DF, MG, ES, RJ, SP, PR, SC, RS) 25.93 +BR -2027-05437 America/Campo_Grande Mato Grosso do Sul 25.94 +BR -1535-05605 America/Cuiaba Mato Grosso 25.95 +BR -0846-06354 America/Porto_Velho W Para, Rondonia 25.96 +BR +0249-06040 America/Boa_Vista Roraima 25.97 +BR -0308-06001 America/Manaus E Amazonas 25.98 +BR -0640-06952 America/Eirunepe W Amazonas 25.99 +BR -0958-06748 America/Rio_Branco Acre 25.100 +BS +2505-07721 America/Nassau 25.101 +BT +2728+08939 Asia/Thimphu 25.102 +BW -2545+02555 Africa/Gaborone 25.103 +BY +5354+02734 Europe/Minsk 25.104 +BZ +1730-08812 America/Belize 25.105 +CA +4734-05243 America/St_Johns Newfoundland Island 25.106 +CA +4439-06336 America/Halifax Atlantic Time - Nova Scotia (most places), NB, W Labrador, E Quebec & PEI 25.107 +CA +4612-05957 America/Glace_Bay Atlantic Time - Nova Scotia - places that did not observe DST 1966-1971 25.108 +CA +5320-06025 America/Goose_Bay Atlantic Time - E Labrador 25.109 +CA +4531-07334 America/Montreal Eastern Time - Quebec - most locations 25.110 +CA +4339-07923 America/Toronto Eastern Time - Ontario - most locations 25.111 +CA +4901-08816 America/Nipigon Eastern Time - Ontario & Quebec - places that did not observe DST 1967-1973 25.112 +CA +4823-08915 America/Thunder_Bay Eastern Time - Thunder Bay, Ontario 25.113 +CA +6608-06544 America/Pangnirtung Eastern Time - Pangnirtung, Nunavut 25.114 +CA +6344-06828 America/Iqaluit Eastern Time - east Nunavut 25.115 +CA +6408-08310 America/Coral_Harbour Eastern Standard Time - Southampton Island 25.116 +CA +6245-09210 America/Rankin_Inlet Central Time - central Nunavut 25.117 +CA +4953-09709 America/Winnipeg Central Time - Manitoba & west Ontario 25.118 +CA +4843-09429 America/Rainy_River Central Time - Rainy River & Fort Frances, Ontario 25.119 +CA +6903-10505 America/Cambridge_Bay Central Time - west Nunavut 25.120 +CA +5024-10439 America/Regina Central Standard Time - Saskatchewan - most locations 25.121 +CA +5017-10750 America/Swift_Current Central Standard Time - Saskatchewan - midwest 25.122 +CA +5333-11328 America/Edmonton Mountain Time - Alberta, east British Columbia & west Saskatchewan 25.123 +CA +6227-11421 America/Yellowknife Mountain Time - central Northwest Territories 25.124 +CA +6825-11330 America/Inuvik Mountain Time - west Northwest Territories 25.125 +CA +5946-12014 America/Dawson_Creek Mountain Standard Time - Dawson Creek & Fort Saint John, British Columbia 25.126 +CA +4916-12307 America/Vancouver Pacific Time - west British Columbia 25.127 +CA +6043-13503 America/Whitehorse Pacific Time - south Yukon 25.128 +CA +6404-13925 America/Dawson Pacific Time - north Yukon 25.129 +CC -1210+09655 Indian/Cocos 25.130 +CD -0418+01518 Africa/Kinshasa west Dem. Rep. of Congo 25.131 +CD -1140+02728 Africa/Lubumbashi east Dem. Rep. of Congo 25.132 +CF +0422+01835 Africa/Bangui 25.133 +CG -0416+01517 Africa/Brazzaville 25.134 +CH +4723+00832 Europe/Zurich 25.135 +CI +0519-00402 Africa/Abidjan 25.136 +CK -2114-15946 Pacific/Rarotonga 25.137 +CL -3327-07040 America/Santiago most locations 25.138 +CL -2710-10927 Pacific/Easter Easter Island & Sala y Gomez 25.139 +CM +0403+00942 Africa/Douala 25.140 +CN +3114+12128 Asia/Shanghai east China - Beijing, Guangdong, Shanghai, etc. 25.141 +CN +4545+12641 Asia/Harbin Heilongjiang 25.142 +CN +2934+10635 Asia/Chongqing central China - Gansu, Guizhou, Sichuan, Yunnan, etc. 25.143 +CN +4348+08735 Asia/Urumqi Tibet & most of Xinjiang Uyghur 25.144 +CN +3929+07559 Asia/Kashgar southwest Xinjiang Uyghur 25.145 +CO +0436-07405 America/Bogota 25.146 +CR +0956-08405 America/Costa_Rica 25.147 +CS +4450+02030 Europe/Belgrade 25.148 +CU +2308-08222 America/Havana 25.149 +CV +1455-02331 Atlantic/Cape_Verde 25.150 +CX -1025+10543 Indian/Christmas 25.151 +CY +3510+03322 Asia/Nicosia 25.152 +CZ +5005+01426 Europe/Prague 25.153 +DE +5230+01322 Europe/Berlin 25.154 +DJ +1136+04309 Africa/Djibouti 25.155 +DK +5540+01235 Europe/Copenhagen 25.156 +DM +1518-06124 America/Dominica 25.157 +DO +1828-06954 America/Santo_Domingo 25.158 +DZ +3647+00303 Africa/Algiers 25.159 +EC -0210-07950 America/Guayaquil mainland 25.160 +EC -0054-08936 Pacific/Galapagos Galapagos Islands 25.161 +EE +5925+02445 Europe/Tallinn 25.162 +EG +3003+03115 Africa/Cairo 25.163 +EH +2709-01312 Africa/El_Aaiun 25.164 +ER +1520+03853 Africa/Asmera 25.165 +ES +4024-00341 Europe/Madrid mainland 25.166 +ES +3553-00519 Africa/Ceuta Ceuta & Melilla 25.167 +ES +2806-01524 Atlantic/Canary Canary Islands 25.168 +ET +0902+03842 Africa/Addis_Ababa 25.169 +FI +6010+02458 Europe/Helsinki 25.170 +FJ -1808+17825 Pacific/Fiji 25.171 +FK -5142-05751 Atlantic/Stanley 25.172 +FM +0725+15147 Pacific/Truk Truk (Chuuk) and Yap 25.173 +FM +0658+15813 Pacific/Ponape Ponape (Pohnpei) 25.174 +FM +0519+16259 Pacific/Kosrae Kosrae 25.175 +FO +6201-00646 Atlantic/Faeroe 25.176 +FR +4852+00220 Europe/Paris 25.177 +GA +0023+00927 Africa/Libreville 25.178 +GB +512830-0001845 Europe/London 25.179 +GD +1203-06145 America/Grenada 25.180 +GE +4143+04449 Asia/Tbilisi 25.181 +GF +0456-05220 America/Cayenne 25.182 +GH +0533-00013 Africa/Accra 25.183 +GI +3608-00521 Europe/Gibraltar 25.184 +GL +6411-05144 America/Godthab most locations 25.185 +GL +7646-01840 America/Danmarkshavn east coast, north of Scoresbysund 25.186 +GL +7030-02215 America/Scoresbysund Scoresbysund / Ittoqqortoormiit 25.187 +GL +7634-06847 America/Thule Thule / Pituffik 25.188 +GM +1328-01639 Africa/Banjul 25.189 +GN +0931-01343 Africa/Conakry 25.190 +GP +1614-06132 America/Guadeloupe 25.191 +GQ +0345+00847 Africa/Malabo 25.192 +GR +3758+02343 Europe/Athens 25.193 +GS -5416-03632 Atlantic/South_Georgia 25.194 +GT +1438-09031 America/Guatemala 25.195 +GU +1328+14445 Pacific/Guam 25.196 +GW +1151-01535 Africa/Bissau 25.197 +GY +0648-05810 America/Guyana 25.198 +HK +2217+11409 Asia/Hong_Kong 25.199 +HN +1406-08713 America/Tegucigalpa 25.200 +HR +4548+01558 Europe/Zagreb 25.201 +HT +1832-07220 America/Port-au-Prince 25.202 +HU +4730+01905 Europe/Budapest 25.203 +ID -0610+10648 Asia/Jakarta Java & Sumatra 25.204 +ID -0002+10920 Asia/Pontianak west & central Borneo 25.205 +ID -0507+11924 Asia/Makassar east & south Borneo, Celebes, Bali, Nusa Tengarra, west Timor 25.206 +ID -0232+14042 Asia/Jayapura Irian Jaya & the Moluccas 25.207 +IE +5320-00615 Europe/Dublin 25.208 +IL +3146+03514 Asia/Jerusalem 25.209 +IN +2232+08822 Asia/Calcutta 25.210 +IO -0720+07225 Indian/Chagos 25.211 +IQ +3321+04425 Asia/Baghdad 25.212 +IR +3540+05126 Asia/Tehran 25.213 +IS +6409-02151 Atlantic/Reykjavik 25.214 +IT +4154+01229 Europe/Rome 25.215 +JM +1800-07648 America/Jamaica 25.216 +JO +3157+03556 Asia/Amman 25.217 +JP +353916+1394441 Asia/Tokyo 25.218 +KE -0117+03649 Africa/Nairobi 25.219 +KG +4254+07436 Asia/Bishkek 25.220 +KH +1133+10455 Asia/Phnom_Penh 25.221 +KI +0125+17300 Pacific/Tarawa Gilbert Islands 25.222 +KI -0308-17105 Pacific/Enderbury Phoenix Islands 25.223 +KI +0152-15720 Pacific/Kiritimati Line Islands 25.224 +KM -1141+04316 Indian/Comoro 25.225 +KN +1718-06243 America/St_Kitts 25.226 +KP +3901+12545 Asia/Pyongyang 25.227 +KR +3733+12658 Asia/Seoul 25.228 +KW +2920+04759 Asia/Kuwait 25.229 +KY +1918-08123 America/Cayman 25.230 +KZ +4315+07657 Asia/Almaty most locations 25.231 +KZ +4448+06528 Asia/Qyzylorda Qyzylorda (Kyzylorda, Kzyl-Orda) 25.232 +KZ +5017+05710 Asia/Aqtobe Aqtobe (Aktobe) 25.233 +KZ +4431+05016 Asia/Aqtau Atyrau (Atirau, Gur'yev), Mangghystau (Mankistau) 25.234 +KZ +5113+05121 Asia/Oral West Kazakhstan 25.235 +LA +1758+10236 Asia/Vientiane 25.236 +LB +3353+03530 Asia/Beirut 25.237 +LC +1401-06100 America/St_Lucia 25.238 +LI +4709+00931 Europe/Vaduz 25.239 +LK +0656+07951 Asia/Colombo 25.240 +LR +0618-01047 Africa/Monrovia 25.241 +LS -2928+02730 Africa/Maseru 25.242 +LT +5441+02519 Europe/Vilnius 25.243 +LU +4936+00609 Europe/Luxembourg 25.244 +LV +5657+02406 Europe/Riga 25.245 +LY +3254+01311 Africa/Tripoli 25.246 +MA +3339-00735 Africa/Casablanca 25.247 +MC +4342+00723 Europe/Monaco 25.248 +MD +4700+02850 Europe/Chisinau 25.249 +MG -1855+04731 Indian/Antananarivo 25.250 +MH +0709+17112 Pacific/Majuro most locations 25.251 +MH +0905+16720 Pacific/Kwajalein Kwajalein 25.252 +MK +4159+02126 Europe/Skopje 25.253 +ML +1239-00800 Africa/Bamako 25.254 +MM +1647+09610 Asia/Rangoon 25.255 +MN +4755+10653 Asia/Ulaanbaatar most locations 25.256 +MN +4801+09139 Asia/Hovd Bayan-Olgiy, Govi-Altai, Hovd, Uvs, Zavkhan 25.257 +MN +4804+11430 Asia/Choibalsan Dornod, Sukhbaatar 25.258 +MO +2214+11335 Asia/Macau 25.259 +MP +1512+14545 Pacific/Saipan 25.260 +MQ +1436-06105 America/Martinique 25.261 +MR +1806-01557 Africa/Nouakchott 25.262 +MS +1644-06213 America/Montserrat 25.263 +MT +3554+01431 Europe/Malta 25.264 +MU -2010+05730 Indian/Mauritius 25.265 +MV +0410+07330 Indian/Maldives 25.266 +MW -1547+03500 Africa/Blantyre 25.267 +MX +1924-09909 America/Mexico_City Central Time - most locations 25.268 +MX +2105-08646 America/Cancun Central Time - Quintana Roo 25.269 +MX +2058-08937 America/Merida Central Time - Campeche, Yucatan 25.270 +MX +2540-10019 America/Monterrey Central Time - Coahuila, Durango, Nuevo Leon, Tamaulipas 25.271 +MX +2313-10625 America/Mazatlan Mountain Time - S Baja, Nayarit, Sinaloa 25.272 +MX +2838-10605 America/Chihuahua Mountain Time - Chihuahua 25.273 +MX +2904-11058 America/Hermosillo Mountain Standard Time - Sonora 25.274 +MX +3232-11701 America/Tijuana Pacific Time 25.275 +MY +0310+10142 Asia/Kuala_Lumpur peninsular Malaysia 25.276 +MY +0133+11020 Asia/Kuching Sabah & Sarawak 25.277 +MZ -2558+03235 Africa/Maputo 25.278 +NA -2234+01706 Africa/Windhoek 25.279 +NC -2216+16530 Pacific/Noumea 25.280 +NE +1331+00207 Africa/Niamey 25.281 +NF -2903+16758 Pacific/Norfolk 25.282 +NG +0627+00324 Africa/Lagos 25.283 +NI +1209-08617 America/Managua 25.284 +NL +5222+00454 Europe/Amsterdam 25.285 +NO +5955+01045 Europe/Oslo 25.286 +NP +2743+08519 Asia/Katmandu 25.287 +NR -0031+16655 Pacific/Nauru 25.288 +NU -1901+16955 Pacific/Niue 25.289 +NZ -3652+17446 Pacific/Auckland most locations 25.290 +NZ -4357-17633 Pacific/Chatham Chatham Islands 25.291 +OM +2336+05835 Asia/Muscat 25.292 +PA +0858-07932 America/Panama 25.293 +PE -1203-07703 America/Lima 25.294 +PF -1732-14934 Pacific/Tahiti Society Islands 25.295 +PF -0900-13930 Pacific/Marquesas Marquesas Islands 25.296 +PF -2308-13457 Pacific/Gambier Gambier Islands 25.297 +PG -0930+14710 Pacific/Port_Moresby 25.298 +PH +1435+12100 Asia/Manila 25.299 +PK +2452+06703 Asia/Karachi 25.300 +PL +5215+02100 Europe/Warsaw 25.301 +PM +4703-05620 America/Miquelon 25.302 +PN -2504-13005 Pacific/Pitcairn 25.303 +PR +182806-0660622 America/Puerto_Rico 25.304 +PS +3130+03428 Asia/Gaza 25.305 +PT +3843-00908 Europe/Lisbon mainland 25.306 +PT +3238-01654 Atlantic/Madeira Madeira Islands 25.307 +PT +3744-02540 Atlantic/Azores Azores 25.308 +PW +0720+13429 Pacific/Palau 25.309 +PY -2516-05740 America/Asuncion 25.310 +QA +2517+05132 Asia/Qatar 25.311 +RE -2052+05528 Indian/Reunion 25.312 +RO +4426+02606 Europe/Bucharest 25.313 +RU +5443+02030 Europe/Kaliningrad Moscow-01 - Kaliningrad 25.314 +RU +5545+03735 Europe/Moscow Moscow+00 - west Russia 25.315 +RU +5312+05009 Europe/Samara Moscow+01 - Caspian Sea 25.316 +RU +5651+06036 Asia/Yekaterinburg Moscow+02 - Urals 25.317 +RU +5500+07324 Asia/Omsk Moscow+03 - west Siberia 25.318 +RU +5502+08255 Asia/Novosibirsk Moscow+03 - Novosibirsk 25.319 +RU +5601+09250 Asia/Krasnoyarsk Moscow+04 - Yenisei River 25.320 +RU +5216+10420 Asia/Irkutsk Moscow+05 - Lake Baikal 25.321 +RU +6200+12940 Asia/Yakutsk Moscow+06 - Lena River 25.322 +RU +4310+13156 Asia/Vladivostok Moscow+07 - Amur River 25.323 +RU +4658+14242 Asia/Sakhalin Moscow+07 - Sakhalin Island 25.324 +RU +5934+15048 Asia/Magadan Moscow+08 - Magadan 25.325 +RU +5301+15839 Asia/Kamchatka Moscow+09 - Kamchatka 25.326 +RU +6445+17729 Asia/Anadyr Moscow+10 - Bering Sea 25.327 +RW -0157+03004 Africa/Kigali 25.328 +SA +2438+04643 Asia/Riyadh 25.329 +SB -0932+16012 Pacific/Guadalcanal 25.330 +SC -0440+05528 Indian/Mahe 25.331 +SD +1536+03232 Africa/Khartoum 25.332 +SE +5920+01803 Europe/Stockholm 25.333 +SG +0117+10351 Asia/Singapore 25.334 +SH -1555-00542 Atlantic/St_Helena 25.335 +SI +4603+01431 Europe/Ljubljana 25.336 +SJ +7800+01600 Arctic/Longyearbyen Svalbard 25.337 +SJ +7059-00805 Atlantic/Jan_Mayen Jan Mayen 25.338 +SK +4809+01707 Europe/Bratislava 25.339 +SL +0830-01315 Africa/Freetown 25.340 +SM +4355+01228 Europe/San_Marino 25.341 +SN +1440-01726 Africa/Dakar 25.342 +SO +0204+04522 Africa/Mogadishu 25.343 +SR +0550-05510 America/Paramaribo 25.344 +ST +0020+00644 Africa/Sao_Tome 25.345 +SV +1342-08912 America/El_Salvador 25.346 +SY +3330+03618 Asia/Damascus 25.347 +SZ -2618+03106 Africa/Mbabane 25.348 +TC +2128-07108 America/Grand_Turk 25.349 +TD +1207+01503 Africa/Ndjamena 25.350 +TF -492110+0701303 Indian/Kerguelen 25.351 +TG +0608+00113 Africa/Lome 25.352 +TH +1345+10031 Asia/Bangkok 25.353 +TJ +3835+06848 Asia/Dushanbe 25.354 +TK -0922-17114 Pacific/Fakaofo 25.355 +TL -0833+12535 Asia/Dili 25.356 +TM +3757+05823 Asia/Ashgabat 25.357 +TN +3648+01011 Africa/Tunis 25.358 +TO -2110+17510 Pacific/Tongatapu 25.359 +TR +4101+02858 Europe/Istanbul 25.360 +TT +1039-06131 America/Port_of_Spain 25.361 +TV -0831+17913 Pacific/Funafuti 25.362 +TW +2503+12130 Asia/Taipei 25.363 +TZ -0648+03917 Africa/Dar_es_Salaam 25.364 +UA +5026+03031 Europe/Kiev most locations 25.365 +UA +4837+02218 Europe/Uzhgorod Ruthenia 25.366 +UA +4750+03510 Europe/Zaporozhye Zaporozh'ye, E Lugansk 25.367 +UA +4457+03406 Europe/Simferopol central Crimea 25.368 +UG +0019+03225 Africa/Kampala 25.369 +UM +1700-16830 Pacific/Johnston Johnston Atoll 25.370 +UM +2813-17722 Pacific/Midway Midway Islands 25.371 +UM +1917+16637 Pacific/Wake Wake Island 25.372 +US +404251-0740023 America/New_York Eastern Time 25.373 +US +421953-0830245 America/Detroit Eastern Time - Michigan - most locations 25.374 +US +381515-0854534 America/Kentucky/Louisville Eastern Time - Kentucky - Louisville area 25.375 +US +364947-0845057 America/Kentucky/Monticello Eastern Time - Kentucky - Wayne County 25.376 +US +394606-0860929 America/Indiana/Indianapolis Eastern Standard Time - Indiana - most locations 25.377 +US +382232-0862041 America/Indiana/Marengo Eastern Standard Time - Indiana - Crawford County 25.378 +US +411745-0863730 America/Indiana/Knox Eastern Standard Time - Indiana - Starke County 25.379 +US +384452-0850402 America/Indiana/Vevay Eastern Standard Time - Indiana - Switzerland County 25.380 +US +415100-0873900 America/Chicago Central Time 25.381 +US +450628-0873651 America/Menominee Central Time - Michigan - Wisconsin border 25.382 +US +470659-1011757 America/North_Dakota/Center Central Time - North Dakota - Oliver County 25.383 +US +394421-1045903 America/Denver Mountain Time 25.384 +US +433649-1161209 America/Boise Mountain Time - south Idaho & east Oregon 25.385 +US +364708-1084111 America/Shiprock Mountain Time - Navajo 25.386 +US +332654-1120424 America/Phoenix Mountain Standard Time - Arizona 25.387 +US +340308-1181434 America/Los_Angeles Pacific Time 25.388 +US +611305-1495401 America/Anchorage Alaska Time 25.389 +US +581807-1342511 America/Juneau Alaska Time - Alaska panhandle 25.390 +US +593249-1394338 America/Yakutat Alaska Time - Alaska panhandle neck 25.391 +US +643004-1652423 America/Nome Alaska Time - west Alaska 25.392 +US +515248-1763929 America/Adak Aleutian Islands 25.393 +US +211825-1575130 Pacific/Honolulu Hawaii 25.394 +UY -3453-05611 America/Montevideo 25.395 +UZ +3940+06648 Asia/Samarkand west Uzbekistan 25.396 +UZ +4120+06918 Asia/Tashkent east Uzbekistan 25.397 +VA +4154+01227 Europe/Vatican 25.398 +VC +1309-06114 America/St_Vincent 25.399 +VE +1030-06656 America/Caracas 25.400 +VG +1827-06437 America/Tortola 25.401 +VI +1821-06456 America/St_Thomas 25.402 +VN +1045+10640 Asia/Saigon 25.403 +VU -1740+16825 Pacific/Efate 25.404 +WF -1318-17610 Pacific/Wallis 25.405 +WS -1350-17144 Pacific/Apia 25.406 +YE +1245+04512 Asia/Aden 25.407 +YT -1247+04514 Indian/Mayotte 25.408 +ZA -2615+02800 Africa/Johannesburg 25.409 +ZM -1525+02817 Africa/Lusaka 25.410 +ZW -1750+03103 Africa/Harare
26.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 26.2 +++ b/lessfs/receipt Thu Nov 08 09:35:38 2012 +0100 26.3 @@ -0,0 +1,32 @@ 26.4 +# SliTaz package receipt. 26.5 + 26.6 +PACKAGE="lessfs" 26.7 +VERSION="1.5.12" 26.8 +CATEGORY="system-tools" 26.9 +SHORT_DESC="A high performance inline data deduplicating filesystem." 26.10 +MAINTAINER="pascal.bellard@slitaz.org" 26.11 +WEB_SITE="http://www.lessfs.com/" 26.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 26.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 26.14 +TAGS="filesystem" 26.15 + 26.16 +DEPENDS="fuse db mhash tokyocabinet" 26.17 +BUILD_DEPENDS="fuse-dev db-dev mhash-dev tokyocabinet-dev pkg-config" 26.18 + 26.19 +# Rules to configure and make the package. 26.20 +compile_rules() 26.21 +{ 26.22 + cd $src 26.23 + ./configure --prefix=/usr --infodir=/usr/share/info \ 26.24 + --mandir=/usr/share/man \ 26.25 + --with-berkeleydb \ 26.26 + $CONFIGURE_ARGS && 26.27 + make && 26.28 + make DESTDIR=$DESTDIR install 26.29 +} 26.30 + 26.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 26.32 +genpkg_rules() 26.33 +{ 26.34 + cp -a $install/*bin $fs 26.35 +}
27.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 27.2 +++ b/libmikmod-dev/receipt Thu Nov 08 09:35:38 2012 +0100 27.3 @@ -0,0 +1,20 @@ 27.4 +# SliTaz package receipt. 27.5 + 27.6 +PACKAGE="libmikmod-dev" 27.7 +VERSION="3.2.0" 27.8 +CATEGORY="development" 27.9 +SHORT_DESC="Libmikmod devel files and headers." 27.10 +MAINTAINER="paul@slitaz.org" 27.11 +WANTED="libmikmod" 27.12 +WEB_SITE="http://mikmod.shlomifish.org/" 27.13 + 27.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 27.15 +genpkg_rules() 27.16 +{ 27.17 + mkdir -p $fs/usr/lib $fs/usr/share 27.18 + cp -a $install/usr/bin $fs/usr 27.19 + cp -a $install/usr/include $fs/usr 27.20 + cp -a $install/usr/lib/*.*a* $fs/usr/lib 27.21 + cp -a $install/usr/share/aclocal $fs/usr/share 27.22 +} 27.23 +
28.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 28.2 +++ b/libmikmod/receipt Thu Nov 08 09:35:38 2012 +0100 28.3 @@ -0,0 +1,30 @@ 28.4 +# SliTaz package receipt. 28.5 + 28.6 +PACKAGE="libmikmod" 28.7 +VERSION="3.2.0" 28.8 +CATEGORY="development" 28.9 +SHORT_DESC="Mikmod module player library." 28.10 +MAINTAINER="paul@slitaz.org" 28.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 28.12 +WEB_SITE="http://mikmod.shlomifish.org/" 28.13 +WGET_URL="http://mikmod.shlomifish.org/files/$TARBALL" 28.14 + 28.15 +DEPENDS="" 28.16 +BUILD_DEPENDS="" 28.17 + 28.18 +# Rules to configure and make the package. 28.19 +compile_rules() 28.20 +{ 28.21 + cd $src 28.22 + ./configure --prefix=/usr \ 28.23 + $CONFIGURE_ARGS && 28.24 + make && make install 28.25 +} 28.26 + 28.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 28.28 +genpkg_rules() 28.29 +{ 28.30 + mkdir -p $fs/usr/lib 28.31 + cp -a $install/usr/lib/*.so* /$fs/usr/lib 28.32 +} 28.33 +
29.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 29.2 +++ b/lvmts/receipt Thu Nov 08 09:35:38 2012 +0100 29.3 @@ -0,0 +1,31 @@ 29.4 +# SliTaz package receipt. 29.5 + 29.6 +PACKAGE="lvmts" 29.7 +GITHASH="aa722606e6dbdf6c15eb8b9294ad789814592c18" 29.8 +VERSION=${GITHASH:0:7} 29.9 +CATEGORY="system-tools" 29.10 +SHORT_DESC="Hierarchical Storage Manager utilizing LVM." 29.11 +MAINTAINER="pascal.bellard@slitaz.org" 29.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 29.13 +WEB_SITE="https://github.com/tomato42/lvmts/" 29.14 +WGET_URL="https://nodeload.github.com/tomato42/lvmts/tarball/$GITHASH" 29.15 + 29.16 +DEPENDS="lvm blktrace libconfuse" 29.17 +BUILD_DEPENDS="wget lvm2-dev libconfuse" 29.18 + 29.19 +# Rules to configure and make the package. 29.20 +compile_rules() 29.21 +{ 29.22 + cd $src 29.23 + make && 29.24 + for i in lvmtscd lvmtscat lvmls lvmtsd lvmdefrag ; do 29.25 + install -D -m 755 $i $DESTDIR/usr/sbin/$i 29.26 + done 29.27 +} 29.28 + 29.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 29.30 +genpkg_rules() 29.31 +{ 29.32 + cp -a $install/* $fs 29.33 +} 29.34 +
30.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 30.2 +++ b/mikmod/receipt Thu Nov 08 09:35:38 2012 +0100 30.3 @@ -0,0 +1,31 @@ 30.4 +# SliTaz package receipt. 30.5 + 30.6 +PACKAGE="mikmod" 30.7 +VERSION="3.2.2" 30.8 +CATEGORY="multimedia" 30.9 +SHORT_DESC="Mikmod module player." 30.10 +MAINTAINER="paul@slitaz.org" 30.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 30.12 +WEB_SITE="http://mikmod.shlomifish.org/" 30.13 +WGET_URL="http://mikmod.shlomifish.org/files/$TARBALL" 30.14 + 30.15 +DEPENDS="ncurses libmikmod" 30.16 +BUILD_DEPENDS="ncurses-dev libmikmod-dev" 30.17 + 30.18 +# Rules to configure and make the package. 30.19 +compile_rules() 30.20 +{ 30.21 + cd $src 30.22 + ./configure --prefix=/usr \ 30.23 + $CONFIGURE_ARGS && 30.24 + make && make install 30.25 +} 30.26 + 30.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 30.28 +genpkg_rules() 30.29 +{ 30.30 + mkdir -p $fs/usr/share 30.31 + cp -a $install/usr/bin $fs/usr 30.32 + cp -a $install/usr/share/mikmod $fs/usr/share 30.33 +} 30.34 +
31.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 31.2 +++ b/navit/receipt Thu Nov 08 09:35:38 2012 +0100 31.3 @@ -0,0 +1,32 @@ 31.4 +# SliTaz package receipt. 31.5 + 31.6 +PACKAGE="navit" 31.7 +VERSION="0.2.0" 31.8 +CATEGORY="utilities" 31.9 +SHORT_DESC="Navit is a car navigation system with routing engine. " 31.10 +MAINTAINER="al.bobylev@gmail.com" 31.11 +WEB_SITE="http://www.navit-project.org/" 31.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 31.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 31.14 + 31.15 +DEPENDS="glib glibc-base libpostgresqlclient zlib" 31.16 +BUILD_DEPENDS="mesa-dev freeglut-dev quesoglc-dev freeimage-dev \ 31.17 +imagemagick-dev xorg-libXpm-dev xorg-libXmu-dev gtk+-dev libsdl-dev \ 31.18 +libsdl-image-dev freetype-dev fribidi-dev imlib2-dev postgresql-dev \ 31.19 +xorg-libXi-dev openssl-dev" 31.20 + 31.21 +# Rules to configure and make the package. 31.22 +compile_rules() 31.23 +{ 31.24 + ./configure $CONFIGURE_ARGS && \ 31.25 + make && \ 31.26 + make DESTDIR=$DESTDIR install 31.27 +} 31.28 + 31.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 31.30 +genpkg_rules() 31.31 +{ 31.32 + cp -a $install/* $fs 31.33 + rm -f $fs/usr/lib/*.la 31.34 + rm -rf $fs/usr/share/man 31.35 +}
32.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 32.2 +++ b/phpeasyvcs/receipt Thu Nov 08 09:35:38 2012 +0100 32.3 @@ -0,0 +1,62 @@ 32.4 +# SliTaz package receipt. 32.5 + 32.6 +PACKAGE="phpeasyvcs" 32.7 +SOURCE="phpEasyVCS" 32.8 +VERSION="1.0" 32.9 +CATEGORY="network" 32.10 +SHORT_DESC="A simple version control system (VCS) and WebDAV server." 32.11 +MAINTAINER="pascal.bellard@slitaz.org" 32.12 +WEB_SITE="http://phpeasyvcs.sourceforge.net/" 32.13 +TARBALL="$SOURCE-$VERSION.zip" 32.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 32.15 +DEPENDS="php" 32.16 + 32.17 +# Rules to configure and make the package. 32.18 +compile_rules() 32.19 +{ 32.20 + cd $src 32.21 +} 32.22 + 32.23 +# Rules to gen a SliTaz package suitable for Tazpkg. 32.24 +genpkg_rules() 32.25 +{ 32.26 + mkdir -p $fs/usr/share 32.27 + cp -a $src $fs/usr/share/phpeasyvcs 32.28 +} 32.29 + 32.30 +post_install() 32.31 +{ 32.32 + # Configure lighttpd server 32.33 + if [ -f $1/etc/lighttpd/lighttpd.conf ]; then 32.34 + if ! grep -q /usr/share/phpeasyvcs/ $1/etc/lighttpd/lighttpd.conf; then 32.35 + sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/phpeasyvcs/" => "/usr/share/phpeasyvcs/",|g' -i $1/etc/lighttpd/lighttpd.conf 32.36 + if [ -z "$1" ]; then 32.37 + # Start Web server. 32.38 + /etc/init.d/lighttpd stop 32.39 + /etc/init.d/lighttpd start 32.40 + fi 32.41 + fi 32.42 + fi 32.43 + # Configure apache server 32.44 + if [ -f $1/etc/apache/httpd.conf ]; then 32.45 + if [ ! -f $1/etc/apache/conf.d/phpeasyvcs ]; then 32.46 + cat > $1/etc/apache/conf.d/phpeasyvcs <<EOT 32.47 +<IfModule mod_alias.c> 32.48 + Alias /phpeasyvcs /usr/share/phpeasyvcs 32.49 +</IfModule> 32.50 +<Directory /usr/share/phpeasyvcs/> 32.51 + DirectoryIndex index.php 32.52 + Options +FollowSymLinks 32.53 + AllowOverride None 32.54 + Order allow,deny 32.55 + Allow from all 32.56 +</Directory> 32.57 +EOT 32.58 + if [ -z "$1" ]; then 32.59 + # Start Web server. 32.60 + /etc/init.d/apache stop 32.61 + /etc/init.d/apache start 32.62 + fi 32.63 + fi 32.64 + fi 32.65 +}
33.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 33.2 +++ b/puppet/receipt Thu Nov 08 09:35:38 2012 +0100 33.3 @@ -0,0 +1,34 @@ 33.4 +# SliTaz package receipt. 33.5 + 33.6 +PACKAGE="puppet" 33.7 +VERSION="2.7.19" 33.8 +CATEGORY="system-tools" 33.9 +SHORT_DESC="A system for automating system administration tasks." 33.10 +MAINTAINER="pankso@slitaz.org" 33.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 33.12 +WEB_SITE="http://www.puppetlabs.com/" 33.13 +WGET_URL="http://downloads.puppetlabs.com/puppet/$TARBALL" 33.14 + 33.15 +DEPENDS="ruby facter" 33.16 +BUILD_DEPENDS="ruby-dev facter" 33.17 + 33.18 +# Rules to configure and make the package. 33.19 +compile_rules() 33.20 +{ 33.21 + cd $src 33.22 + ruby ./install.rb \ 33.23 + --destdir=$DESTDIR \ 33.24 + --bindir=/usr/bin \ 33.25 + --sbindir=/usr/sbin \ 33.26 + --mandir=/usr/share/man 33.27 +} 33.28 + 33.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 33.30 +genpkg_rules() 33.31 +{ 33.32 + mkdir -p $fs/usr 33.33 + cp -a $install/etc $fs 33.34 + cp -a $install/usr/*bin $fs/usr 33.35 + cp -a $install/usr/lib $fs/usr 33.36 + cd $fs/usr/bin && mv pi puppet-pi 33.37 +}
34.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 34.2 +++ b/qtractor/receipt Thu Nov 08 09:35:38 2012 +0100 34.3 @@ -0,0 +1,38 @@ 34.4 +# SliTaz package receipt. 34.5 + 34.6 +PACKAGE="qtractor" 34.7 +VERSION="0.5.5" 34.8 +CATEGORY="multimedia" 34.9 +SHORT_DESC="Audio/MIDI multi-track sequencer application." 34.10 +MAINTAINER="pascal.bellard@slitaz.org" 34.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 34.12 +WEB_SITE="http://qtractor.sourceforge.net/qtractor-index.html" 34.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 34.14 + 34.15 +DEPENDS="qt4 jack-audio-connection-kit alsa-lib libsndfile ladspa \ 34.16 +libvorbis libmad libsamplerate liblo" 34.17 +BUILD_DEPENDS="qmake Qt4-dev jack-audio-connection-kit-dev alsa-lib-dev \ 34.18 +libsndfile-dev ladspa-dev libvorbis-dev libmad-dev libsamplerate-dev \ 34.19 +liblo-dev lilv lv2 " 34.20 + 34.21 +#extras: 34.22 +# librubberband : http://breakfastquay.com/rubberband/ 34.23 +# dssi : http://dssi.sourceforge.net/ 34.24 +# vst : http://www.steinberg.net/ 34.25 + 34.26 +# Rules to configure and make the package. 34.27 +compile_rules() 34.28 +{ 34.29 + cd $src 34.30 + ./configure \ 34.31 + --prefix=/usr \ 34.32 + $CONFIGURE_ARGS && 34.33 + make && make DESTDIR=$DESTDIR install 34.34 +} 34.35 + 34.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 34.37 +genpkg_rules() 34.38 +{ 34.39 + cp -a $install/* $fs 34.40 +} 34.41 +
35.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 35.2 +++ b/splashutils/receipt Thu Nov 08 09:35:38 2012 +0100 35.3 @@ -0,0 +1,36 @@ 35.4 +# SliTaz package receipt. 35.5 + 35.6 +PACKAGE="splashutils" 35.7 +VERSION="1.5.4.4" 35.8 +CATEGORY="system-tools" 35.9 +SHORT_DESC="Graphical boot utilities (fbsplash)." 35.10 +MAINTAINER="devel@slitaz.org" 35.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 35.12 +WEB_SITE="http://fbsplash.alanhaggai.org/" 35.13 +WGET_URL="http://fbsplash.alanhaggai.org/tarballs/files/$TARBALL" 35.14 + 35.15 +DEPENDS="libjpeg libpng gpm" 35.16 +BUILD_DEPENDS="jpeg-dev libpng-dev gpm-dev" 35.17 + 35.18 +# Rules to configure and make the package. 35.19 +compile_rules() 35.20 +{ 35.21 + cd $src 35.22 + autoreconf 35.23 + LIBS="-lbz2" 35.24 + ./configure \ 35.25 + --sysconfdir=/etc \ 35.26 + --without-klibc \ 35.27 + $CONFIGURE_ARGS && 35.28 + make && make DESTDIR=$DESTDIR install 35.29 +} 35.30 + 35.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 35.32 +genpkg_rules() 35.33 +{ 35.34 + mkdir -p $fs/usr/lib 35.35 + cp -a $install/sbin $fs 35.36 + cp -a $install/usr/bin $fs/usr 35.37 + cp -a $install/usr/sbin $fs/usr 35.38 + cp -a $install/usr/lib/*.so* $fs/usr/lib 35.39 +}
36.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 36.2 +++ b/systemd/receipt Thu Nov 08 09:35:38 2012 +0100 36.3 @@ -0,0 +1,63 @@ 36.4 +# SliTaz package receipt. 36.5 + 36.6 +PACKAGE="systemd" 36.7 +VERSION="195" 36.8 +CATEGORY="base-system" 36.9 +SHORT_DESC="System and service manager for Linux." 36.10 +MAINTAINER="pankso@slitaz.org" 36.11 +TARBALL="$PACKAGE-$VERSION.tar.xz" 36.12 +WEB_SITE="http://freedesktop.org/wiki/Software/systemd/" 36.13 +WGET_URL="http://www.freedesktop.org/software/systemd/$TARBALL" 36.14 +PROVIDE="udev" 36.15 + 36.16 +DEPENDS="dbus kmod libcap util-linux-blkid usbutils pciutils glib acl" 36.17 +BUILD_DEPENDS="dbus-dev kmod-dev libcap-dev util-linux-blkid-dev usbutils-dev \ 36.18 +pciutils-dev gperf glib-dev acl-dev intltool pkg-config m4 util-linux-uuid-dev" 36.19 + 36.20 +# 36.21 +# Systemd include udev source and must be splitted. Systemd can replace the full 36.22 +# boot process and handle devices (with udisk) but is quiet heavy and compicated. 36.23 +# Our goal is to have automounting of removable media, since hal is dead we must 36.24 +# find/use an other way, but systemd-udisk-polkit and friends... seriously in SliTaz 36.25 +# by default ? 36.26 +# 36.27 +# Actually we can have automount using the Kernel Polling feature and spacefm 36.28 +# 36.29 + 36.30 +# Rules to configure and make the package. 36.31 +compile_rules() 36.32 +{ 36.33 + cd $src 36.34 + ./configure \ 36.35 + --prefix=/usr \ 36.36 + --sysconfdir=/etc \ 36.37 + --localstatedir=/var \ 36.38 + --libexecdir=/usr/lib \ 36.39 + --with-sysvinit-path= \ 36.40 + --with-sysvrcd-path= \ 36.41 + --with-pci-ids-path=/usr/share/misc/pci.ids.gz \ 36.42 + --with-usb-ids-path=/usr/share/misc/usb.ids.gz \ 36.43 + --disable-ima \ 36.44 + --with-distro=other \ 36.45 + $CONFIGURE_ARGS && 36.46 + make && make install 36.47 +} 36.48 + 36.49 +# Rules to gen a SliTaz package suitable for Tazpkg. 36.50 +genpkg_rules() 36.51 +{ 36.52 + mkdir -p $fs/usr/lib $fs/usr/share 36.53 + cp -a $install/etc $fs 36.54 + rm -rf $fs/etc/bash_* 36.55 + cp -a $install/var $fs 36.56 + cp -a $install/usr/bin $fs/usr 36.57 + cp -a $install/usr/lib/*.so* $fs/usr/lib 36.58 + cp -a $install/usr/lib/*d $fs/usr/lib 36.59 + cp -a $install/usr/lib/udev $fs/usr/lib 36.60 + mkdir -p $fs/usr/lib/security 36.61 + cp -a $install/usr/share/*-1 $fs/usr/share 36.62 + cp -a $install/usr/share/systemd $fs/usr/share 36.63 + # For kernel opt: init=/bin/systemd 36.64 + mkdir -p $fs/bin 36.65 + cd $fs/bin && ln -s ../usr/lib/systemd/systemd systemd 36.66 +}
37.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 37.2 +++ b/tokyocabinet-dev/receipt Thu Nov 08 09:35:38 2012 +0100 37.3 @@ -0,0 +1,19 @@ 37.4 +# SliTaz package receipt. 37.5 + 37.6 +PACKAGE="tokyocabinet-dev" 37.7 +VERSION="1.4.32" 37.8 +CATEGORY="development" 37.9 +SHORT_DESC="High performance database library, successor of QDBM - development files" 37.10 +MAINTAINER="pascal.bellard@slitaz.org" 37.11 +WEB_SITE="http://sourceforge.net/projects/tokyocabinet" 37.12 +WANTED="tokyocabinet" 37.13 +DEPENDS="tokyocabinet" 37.14 + 37.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 37.16 +genpkg_rules() 37.17 +{ 37.18 + mkdir -p $fs/usr/lib 37.19 + cp -a $install/usr/include $fs/usr 37.20 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 37.21 + cp -a $install/usr/lib/*a $fs/usr/lib 37.22 +}
38.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 38.2 +++ b/tokyocabinet/receipt Thu Nov 08 09:35:38 2012 +0100 38.3 @@ -0,0 +1,31 @@ 38.4 +# SliTaz package receipt. 38.5 + 38.6 +PACKAGE="tokyocabinet" 38.7 +VERSION="1.4.32" 38.8 +CATEGORY="development" 38.9 +SHORT_DESC="High performance database library, successor of QDBM." 38.10 +MAINTAINER="pascal.bellard@slitaz.org" 38.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 38.12 +WEB_SITE="http://sourceforge.net/projects/tokyocabinet" 38.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" 38.14 + 38.15 +DEPENDS="bzlib zlib" 38.16 +BUILD_DEPENDS="bzip2-dev zlib-dev" 38.17 + 38.18 +# Rules to configure and make the package. 38.19 +compile_rules() 38.20 +{ 38.21 + cd $src 38.22 + ./configure --prefix=/usr $CONFIGURE_ARGS && 38.23 + make && 38.24 + make DESTDIR=$DESTDIR install 38.25 +} 38.26 + 38.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 38.28 +genpkg_rules() 38.29 +{ 38.30 + mkdir -p $fs/usr/lib 38.31 + cp -a $install/usr/bin $fs/usr 38.32 + cp -a $install/usr/libexec $fs/usr 38.33 + cp -a $install/usr/lib/*.so* $fs/usr/lib 38.34 +}
39.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 39.2 +++ b/vmware-view-open-client/receipt Thu Nov 08 09:35:38 2012 +0100 39.3 @@ -0,0 +1,33 @@ 39.4 +# SliTaz package receipt. 39.5 + 39.6 +PACKAGE="vmware-view-open-client" 39.7 +VERSION="4.5.0-297975" 39.8 +SOURCE="VMware-view-open-client-source" 39.9 +CATEGORY="network" 39.10 +SHORT_DESC="Connection tools to remote Windows desktops managed by VMware View." 39.11 +MAINTAINER="pascal.bellard@slitaz.org" 39.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 39.13 +WEB_SITE="http://code.google.com/p/$PACKAGE/" 39.14 +WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" 39.15 + 39.16 +DEPENDS="gtk+ libssl libxml2 curl libboost-signals icu bzlib" 39.17 +BUILD_DEPENDS="gtk+-dev openssl-dev libxml2-dev curl-dev libboost-dev \ 39.18 +libboost-signals-dev icu-dev icu intltool" 39.19 + 39.20 +# Rules to configure and make the package. 39.21 +compile_rules() 39.22 +{ 39.23 + cd $src 39.24 + export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" 39.25 + sed -i 's|.*curl/types|// &|' lib/bora/basicHttp/http.c 39.26 + ./configure --prefix=/usr \ 39.27 + $CONFIGURE_ARGS && \ 39.28 + make && make DESTDIR=$DESTDIR install 39.29 +} 39.30 + 39.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 39.32 +genpkg_rules() 39.33 +{ 39.34 + cp -a $install/* $fs 39.35 +} 39.36 +
40.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 40.2 +++ b/wine-rt-dev/receipt Thu Nov 08 09:35:38 2012 +0100 40.3 @@ -0,0 +1,19 @@ 40.4 +# SliTaz package receipt. 40.5 + 40.6 +PACKAGE="wine-rt-dev" 40.7 +VERSION="1.5.15" 40.8 +CATEGORY="system-tools" 40.9 +SHORT_DESC="Windows API for Linux development files." 40.10 +MAINTAINER="xj@wp.pl" 40.11 +WEB_SITE="http://www.winehq.org/" 40.12 +WANTED="wine-rt" 40.13 +PROVIDE="wine-dev" 40.14 + 40.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 40.16 +genpkg_rules() 40.17 +{ 40.18 + mkdir -p $fs/usr/lib/wine $fs/usr/share 40.19 + cp -a $install/usr/include $fs/usr 40.20 + cp -a $install/usr/lib/wine/*.a $fs/usr/lib/wine 40.21 + cp -a $install/usr/lib/wine/*.def* $fs/usr/lib/wine 40.22 +}
41.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 41.2 +++ b/xflux/receipt Thu Nov 08 09:35:38 2012 +0100 41.3 @@ -0,0 +1,20 @@ 41.4 +# SliTaz package receipt. 41.5 + 41.6 +PACKAGE="xflux" 41.7 +VERSION="1.1.8" 41.8 +CATEGORY="x-window" 41.9 +SHORT_DESC="f.lux for X." 41.10 +MAINTAINER="paul@slitaz.org" 41.11 +DEPENDS="" 41.12 +BUILD_DEPENDS="git bzip2" 41.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 41.14 +WEB_SITE="http://stereopsis.com/flux/linux.html" 41.15 +WGET_URL="git|git://github.com/Kilian/f.lux-indicator-applet.git" 41.16 + 41.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 41.18 +genpkg_rules() 41.19 +{ 41.20 + mkdir -p $fs/usr/bin 41.21 + cp -a $src/$PACKAGE $fs/usr/bin 41.22 +} 41.23 +