wok-current rev 10748

Moved catalyst, linmodem-hsfmodem, linmodem-slmodem to undigest
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 30 12:34:37 2011 +0200 (2011-05-30)
parents 8d5771fa17ee
children b580186756a8
files catalyst/receipt catalyst/stuff/catalyst-2.6.37.patch catalyst/stuff/makefile_compat.patch catalyst/stuff/sema_init.patch linmodem-hsfmodem/receipt linmodem-hsfmodem/stuff/hsfmodem-7.80.02.05full.diff linmodem-hsfmodem/stuff/zone.tab linmodem-slmodem/receipt
line diff
     1.1 --- a/catalyst/receipt	Mon May 30 12:20:27 2011 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,122 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="catalyst"
     1.7 -VERSION="10.12"
     1.8 -CATEGORY="x-window"
     1.9 -MAINTAINER="jozee@slitaz.org"
    1.10 -SHORT_DESC="AMD/ATI beta drivers (non-free) for Radeon brand cards "
    1.11 -WEB_SITE="http://www.ati.amd.com"
    1.12 -TARBALL="ati-driver-installer-${VERSION/./-}-x86.x86_64.run"
    1.13 -WGET="http://www2.ati.com/drivers/linux/$TARBALL"
    1.14 -TAGS="drivers graphic video"
    1.15 -RUN_OPTS="--extract $PACKAGE-$VERSION"
    1.16 -
    1.17 -DEPENDS="xorg-server mesa mesa-dri libdrm linux-drm fontconfig linux-agp \
    1.18 -xorg-libSM xorg-libXi xorg-libXcursor"
    1.19 -BUILD_DEPENDS="linux xorg-server-dev mesa-dev libdrm-dev linux-module-headers"
    1.20 -
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 -	cd $src
    1.25 -	#for i in autoconf.h utsrelease.h ; do
    1.26 -		#grep -rl linux/$i * | xargs sed -i "s|linux/$i|generated/$i|"
    1.27 -	#done
    1.28 -	echo "Applying patches..."
    1.29 -	patch -Np1 -i $stuff/makefile_compat.patch
    1.30 -	patch -Np1 -i $stuff/$PACKAGE-${kvers}.patch
    1.31 -	patch -Np1 -i $stuff/sema_init.patch
    1.32 -	cd $src/common/lib/modules/fglrx/build_mod
    1.33 -	cp $src/arch/x86/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4 . 
    1.34 -	cp 2.6.x/Makefile .
    1.35 -	echo "Compiling the Kernel module..."
    1.36 -	make -C /usr/src/linux SUBDIRS=$(pwd) modules 
    1.37 -}	
    1.38 -
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	EXTRAVERSION=_${kvers}
    1.43 -
    1.44 -	mkdir -p \
    1.45 -		$fs/usr/share/pixmaps \
    1.46 -		$fs/usr/bin \
    1.47 -		$fs/usr/lib/xorg/modules \
    1.48 -		$fs/usr/share/licenses/$PACKAGE \
    1.49 -		$fs/lib/modules/$kvers-slitaz/kernel/drivers/video \
    1.50 -		$fs/etc
    1.51 -	
    1.52 -	# Compress and install module
    1.53 -	lzma e $src/common/lib/modules/fglrx/build_mod/fglrx.ko \
    1.54 -			$fs/lib/modules/$kvers-slitaz/kernel/drivers/video/fglrx.ko.gz
    1.55 -	chown root $fs/lib/modules/$kvers-slitaz/kernel/drivers/video/fglrx.ko.gz
    1.56 -	chmod 0644 $fs/lib/modules/$kvers-slitaz/kernel/drivers/video/fglrx.ko.gz	
    1.57 -	
    1.58 -	cp -a $src/ATI_LICENSE.TXT $fs/usr/share/licenses/$PACKAGE
    1.59 -	
    1.60 -	cp -a $src/arch/x86/usr/lib/*.so $fs/usr/lib/
    1.61 -	cp -a $src/arch/x86/usr/sbin $fs/usr
    1.62 -	cp -a $src/arch/x86/usr/X11R6/bin/* $fs/usr/bin/
    1.63 -
    1.64 -	cp -a $src/x740/usr/X11R6/lib/modules $fs/usr/lib/xorg
    1.65 -	cp -a $src/arch/x86/usr/X11R6/lib/*.so* $fs/usr/lib
    1.66 -	cp -a $src/arch/x86/usr/X11R6/lib/modules $fs/usr/lib/xorg	
    1.67 -	
    1.68 -	cp -a $src/common/etc $fs
    1.69 -	chmod 755 $fs/etc/ati/authatieventsd.sh 	
    1.70 -	cp -a $src/common/usr/sbin $fs/usr
    1.71 -	
    1.72 -	cp -a $src/common/usr/share/icons/* $fs/usr/share/pixmaps
    1.73 -	cp -a $src/common/usr/share/applications $fs/usr/share
    1.74 -	cp -a $src/common/usr/share/doc $fs/usr/share
    1.75 -	cp -a $src/common/usr/share/ati $fs/usr/share
    1.76 -	cp -a $src/common/usr/X11R6/bin/* $fs/usr/bin
    1.77 -}
    1.78 -
    1.79 -pre_install()
    1.80 -{
    1.81 -	echo ""
    1.82 -	echo -e "\033[1m PROPRIETARY LICENSE:\033[0m $2"
    1.83 -	echo "================================================================================"
    1.84 -	echo "You are installing a package with proprietary license."
    1.85 -	echo "You must accept the license."
    1.86 -    echo "================================================================================"
    1.87 -    echo ""
    1.88 -}
    1.89 -
    1.90 -post_install()
    1.91 -{
    1.92 -	echo "Processing post-install commands..."
    1.93 -	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    1.94 -	
    1.95 -	ln -sf $1/usr/lib/xorg/modules/dri $1/usr/lib/dri
    1.96 -	ln -sf $1/usr/lib/libfglrx_dm.so.1.0 $1/usr/lib/libfglrx_dm.so.1
    1.97 -	ln -sf $1/usr/lib/libfglrx_pp.so.1.0 $1/usr/lib/libfglrx_pp.so.1
    1.98 -	ln -sf $1/usr/lib/libfglrx_tvout.so.1.0 $1/usr/lib/libfglrx_tvout.so.1
    1.99 -	ln -sf $1/usr/lib/libfglrx_gamma.so.1.0 $1/usr/lib/libfglrx_gamma.so.1
   1.100 -	ln -sf $1/usr/lib/libGL.so.1.2 $1/usr/lib/libGL.so.1
   1.101 -	ln -sf $1/usr/lib/libGL.so.1.2 $1/usr/lib/libGL.so
   1.102 -	
   1.103 -	echo ""
   1.104 -	echo -e "\033[1m ATI LICENSE INFORMATION:\033[0m $2"
   1.105 -	echo "================================================================================"
   1.106 -	echo "For installing this package, you have to accept the $PACKAGE license."
   1.107 -    echo "The license is stored in /usr/share/licenses/$PACKAGE "    
   1.108 -    echo -n "Would you like to read the license (y/N) : "; read anser
   1.109 -    if [ "$anser" = "y" ]; then
   1.110 -		cat /usr/share/licenses/"$PACKAGE"/ATI_LICENSE.txt | more	
   1.111 -		echo "" 		
   1.112 -	fi
   1.113 -	echo "================================================================================"
   1.114 -	 echo -n "Do you accept the license (y/N) : "; read anser
   1.115 -    if [ "$anser" = "N" ]; then
   1.116 -		echo "You did not accept the license, Removing the pkg."	
   1.117 -		tazpkg remove "$PACKAGE"		
   1.118 -	fi
   1.119 -}
   1.120 -
   1.121 -post_remove()
   1.122 -{
   1.123 -	echo "Processing post-remove commands..."
   1.124 -	depmod -a
   1.125 -}
     2.1 --- a/catalyst/stuff/catalyst-2.6.37.patch	Mon May 30 12:20:27 2011 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,26 +0,0 @@
     2.4 ---- work.orig/common/lib/modules/fglrx/build_mod/firegl_public.c	2010-08-20 21:51:48.000000000 +0200
     2.5 -+++ work/common/lib/modules/fglrx/build_mod/firegl_public.c	2010-08-20 23:46:37.000000000 +0200
     2.6 -@@ -320,7 +320,11 @@
     2.7 -     return firegl_release((KCL_IO_FILE_Handle)filp);
     2.8 - }
     2.9 -
    2.10 -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
    2.11 -+int ip_firegl_ioctl(struct file* filp, unsigned int cmd, unsigned long arg)
    2.12 -+#else
    2.13 - int ip_firegl_ioctl(struct inode* inode, struct file* filp, unsigned int cmd, unsigned long arg)
    2.14 -+#endif
    2.15 - {
    2.16 -     return firegl_ioctl((KCL_IO_FILE_Handle)filp, cmd, arg);
    2.17 - }
    2.18 -@@ -407,7 +411,11 @@
    2.19 - #endif
    2.20 -     open:    ip_firegl_open,
    2.21 -     release: ip_firegl_release,
    2.22 -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
    2.23 -+    unlocked_ioctl:   ip_firegl_ioctl,
    2.24 -+#else
    2.25 -     ioctl:   ip_firegl_ioctl,
    2.26 -+#endif
    2.27 -     mmap:    ip_firegl_mmap,
    2.28 -
    2.29 -     write:   ip_firegl_write,
    2.30 \ No newline at end of file
     3.1 --- a/catalyst/stuff/makefile_compat.patch	Mon May 30 12:20:27 2011 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,10 +0,0 @@
     3.4 ---- 10.10/common/lib/modules/fglrx/build_mod/2.6.x/Makefile	2010-09-22 09:15:33.000000000 +0200
     3.5 -+++ 10.10/common/lib/modules/fglrx/build_mod/2.6.x/Makefile	2010-10-01 17:57:21.057820899 +0200
     3.6 -@@ -66,6 +66,7 @@
     3.7 -                 -DFGL_GART_RESERVED_SLOT \
     3.8 -                 -DFGL_LINUX253P1_VMA_API \
     3.9 -                 -DPAGE_ATTR_FIX=$(PAGE_ATTR_FIX) \
    3.10 -+                -DCOMPAT_ALLOC_USER_SPACE=$(COMPAT_ALLOC_USER_SPACE) \
    3.11 - 
    3.12 - ifeq ($(KERNELRELEASE),)
    3.13 - # on first call from remote location we get into this path
     4.1 --- a/catalyst/stuff/sema_init.patch	Mon May 30 12:20:27 2011 +0200
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,12 +0,0 @@
     4.4 -diff -Naur orig/common/lib/modules/fglrx/build_mod/firegl_public.c final/common/lib/modules/fglrx/build_mod/firegl_public.c
     4.5 ---- orig/common/lib/modules/fglrx/build_mod/firegl_public.c	2010-09-22 03:15:33.000000000 -0400
     4.6 -+++ final/common/lib/modules/fglrx/build_mod/firegl_public.c	2010-11-01 23:00:32.672955001 -0400
     4.7 -@@ -5094,7 +5094,7 @@
     4.8 - unsigned int ATI_API_CALL KAS_Mutex_Initialize(void* hMutex)
     4.9 - {
    4.10 -     kasMutex_t* mutex_obj = (kasMutex_t*)hMutex;
    4.11 --    init_MUTEX(&(mutex_obj->mutex));
    4.12 -+    sema_init(&(mutex_obj->mutex),1);
    4.13 -     return 1;
    4.14 - }
    4.15 - 
     5.1 --- a/linmodem-hsfmodem/receipt	Mon May 30 12:20:27 2011 +0200
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,81 +0,0 @@
     5.4 -# SliTaz package receipt.
     5.5 -
     5.6 -PACKAGE="linmodem-hsfmodem"
     5.7 -SOURCE="hsfmodem"
     5.8 -VERSION="7.80.02.06full"
     5.9 -CATEGORY="non-free"
    5.10 -SHORT_DESC="Driver for the Conexant (formerly Rockwell) HSF Softmodem family."
    5.11 -MAINTAINER="orphaned@sliatz.org"
    5.12 -TARBALL="$SOURCE-$VERSION.tar.gz"
    5.13 -WEB_SITE="http://www.linuxant.com/drivers"
    5.14 -WGET_URL="http://www.linuxant.com/drivers/hsf/full/archive/$SOURCE-$VERSION/$TARBALL"
    5.15 -
    5.16 -DEPENDS="module-init-tools perl usbutils"
    5.17 -BUILD_DEPENDS="cpio linux lzma linux-module-headers util-linux-ng-getopt \
    5.18 -usbutils-dev"
    5.19 -
    5.20 -# Rules to configure and make the package.
    5.21 -compile_rules()
    5.22 -{
    5.23 -	cd $src
    5.24 -	echo "Apply $file..."
    5.25 -	patch -p1 < $(ls $stuff/$SOURCE-*.diff) || return 1
    5.26 -	grep -rl 'uname -r' . | xargs sed -i "s/uname -r/echo $kvers/g"
    5.27 -	# build driver
    5.28 -	echo "Build driver"
    5.29 -	make ROOT=$DESTDIR install
    5.30 -	# build kernel modules
    5.31 -	echo "Running $DESTDIR/usr/sbin/hsfconfig -ka..."
    5.32 -	$DESTDIR/usr/sbin/hsfconfig -ka
    5.33 -	echo " OK"
    5.34 -}
    5.35 -
    5.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.37 -genpkg_rules()
    5.38 -{
    5.39 -	# kernel modules
    5.40 -	mkdir -p $fs/lib/modules/$kvers
    5.41 -	cp -a /lib/modules/$kvers/extra $fs/lib/modules/$kvers
    5.42 -	# cleaning up
    5.43 -	rm -r /lib/modules/$kvers/extra
    5.44 -	# command files
    5.45 -	mkdir -p $fs/usr
    5.46 -	cp -a $_pkg/usr/sbin $fs/usr
    5.47 -	cp -a $_pkg/usr/lib $fs/usr
    5.48 -	# config files
    5.49 -	mkdir -p $fs/etc
    5.50 -	cp -a $_pkg/etc/hsfmodem $fs/etc
    5.51 -	cp -a $stuff/zone.tab $fs/etc/hsfmodem
    5.52 -}
    5.53 -
    5.54 -post_install()
    5.55 -{
    5.56 -	depmod -a
    5.57 -	echo -n "Install serial port devices"
    5.58 -	hsfconfig -s > /dev/null
    5.59 -	status
    5.60 -	echo -n "Install kernel modules"
    5.61 -	modprobe -v /dev/ttySHSF > /dev/null
    5.62 -	status
    5.63 -	echo -n "Set region"
    5.64 -	hsfconfig -c AUTO
    5.65 -	echo "-----------------------------------------------------------------------------"
    5.66 -	echo "To enable your modem's full functionality (high-speed 56k data and FAX),"
    5.67 -	echo "a license registration key must be obtained from Linuxant and entered with"
    5.68 -	echo "hsfconfig --license."
    5.69 -	echo ""
    5.70 -	echo "Without a proper license key, the modem can only operate in FREE mode,"
    5.71 -	echo "limited to a maximum speed of 14.4Kbps (V.32bis) and the FAX"
    5.72 -	echo "functionality will not be available."
    5.73 -}
    5.74 -
    5.75 -pre_remove()
    5.76 -{
    5.77 -	hsfstop
    5.78 -}
    5.79 -
    5.80 -post_remove()
    5.81 -{
    5.82 -	depmod -a
    5.83 -	rm -r /etc/hsfmodem
    5.84 -}
     6.1 --- a/linmodem-hsfmodem/stuff/hsfmodem-7.80.02.05full.diff	Mon May 30 12:20:27 2011 +0200
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,207 +0,0 @@
     6.4 ---- hsfmodem-7.80.02.05full/config.mak	Fri Feb 20 22:30:12 2009
     6.5 -+++ hsfmodem-7.80.02.05full+patch2/config.mak	Sun Apr 11 19:29:08 2010
     6.6 -@@ -131,4 +131,4 @@
     6.7 - 		-e "s!@SCR_SUPPORT@!`test ! \"$(IMPORTED_SCR_SUPPORT)\" = yes; echo $$?`!g" \
     6.8 - 		-e "s!@DMP_SUPPORT@!`test -z \"$(IMPORTED_DMP_SUPPORT)\"; echo $$?`!g" \
     6.9 - 		< $< > $@
    6.10 --	chmod --reference=$< $@
    6.11 -+	chmod 755 $@
    6.12 ---- hsfmodem-7.80.02.05full/makefile	Mon Feb 23 22:51:37 2009
    6.13 -+++ hsfmodem-7.80.02.05full+patch2/makefile	Sun Apr 11 19:29:08 2010
    6.14 -@@ -149,7 +149,7 @@
    6.15 - ifeq ($(RPMOPTEVAL),yes)
    6.16 - RPMTARGETCPU=$(shell rpm --eval '%_target_cpu')
    6.17 - else
    6.18 --RPMTARGETCPU=$(shell uname -i)
    6.19 -+RPMTARGETCPU=$(shell uname -m)
    6.20 - endif
    6.21 - 
    6.22 - ifneq ($(RPMOPTDEFINE),yes)
    6.23 ---- hsfmodem-7.80.02.05full/modules/Makefile	Thu Oct 22 00:35:59 2009
    6.24 -+++ hsfmodem-7.80.02.05full+patch2/modules/Makefile	Sun Apr 11 19:49:54 2010
    6.25 -@@ -20,7 +20,7 @@
    6.26 - include $(TOP)/config.mak
    6.27 - 
    6.28 - IMPORTED = $(TOP)/modules/imported
    6.29 --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)
    6.30 -+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)
    6.31 - ifneq ($(subst powerpc,ppc,$(IMPORTED_ARCH)),$(MACHINE_ARCH))
    6.32 - $(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... ***)
    6.33 - endif
    6.34 -@@ -56,6 +56,7 @@
    6.35 - CNXT_KERNELSRC := /usr/src/kernel-headers-$(shell uname -r)
    6.36 - else
    6.37 - CNXT_KERNELSRC := /usr/src/linux
    6.38 -+CNXT_KERNELSRC := ../../../linux/linux-$(shell uname -r | sed s/-slitaz//)
    6.39 - endif
    6.40 - KERNELSRC_EXISTS := $(shell test -r ${CNXT_KERNELSRC}/include/linux/version.h && echo yes || echo no)
    6.41 - endif
    6.42 -
    6.43 ---- hsfmodem-7.80.02.05full/nvm/linksame	Fri Jan 13 20:23:51 2006
    6.44 -+++ hsfmodem-7.80.02.05full+patch2/nvm/linksame	Sun Apr 11 19:29:08 2010
    6.45 -@@ -17,7 +17,7 @@
    6.46 - 
    6.47 - if $dryrun; then
    6.48 - 	echo "dry run.."
    6.49 --	find . -type f ! -empty -exec md5sum {} \; | sort | while read sum file ; do
    6.50 -+	find . -type f ! -size 0 -exec md5sum {} \; | sort | while read sum file ; do
    6.51 - 		if [ "$sum" = "$prevsum" ] && cmp -s "$file" "$prevfile"; then
    6.52 - 			echo ln "$prevfile" "$file"
    6.53 - 		else
    6.54 -@@ -28,7 +28,7 @@
    6.55 - 	exit $?
    6.56 - fi
    6.57 - 
    6.58 --find . -type f ! -empty -exec md5sum {} \; | sort | while read sum file ; do
    6.59 -+find . -type f ! -size 0 -exec md5sum {} \; | sort | while read sum file ; do
    6.60 - 	if [ "$sum" = "$prevsum" ] && cmp -s "$file" "$prevfile"; then
    6.61 - 		rm -f "$file"
    6.62 - 		echo ln "$prevfile" "$file"
    6.63 ---- hsfmodem-7.80.02.05full/nvm/makefile	Wed Oct  1 17:23:26 2008
    6.64 -+++ hsfmodem-7.80.02.05full+patch2/nvm/makefile	Sun Apr 11 19:29:08 2010
    6.65 -@@ -52,7 +52,7 @@
    6.66 - all: $(ALL)
    6.67 - 
    6.68 - $(NVMCVTDIR)/.linksame: $(NVMDIRS_CVT)
    6.69 --	cd $(NVMCVTDIR) && find . -type f ! -empty -exec md5sum {} ';' | sort | \
    6.70 -+	cd $(NVMCVTDIR) && find . -type f ! -size 0 -exec md5sum {} ';' | sort | \
    6.71 - 	while read sum file ; do \
    6.72 - 		if [ "$$sum" = "$$prevsum" ] && cmp -s "$$file" "$$prevfile"; then \
    6.73 - 			rm -f "$$file"; \
    6.74 ---- hsfmodem-7.80.02.05full/scripts/cnxtconfig.in	Thu Oct 22 00:35:59 2009
    6.75 -+++ hsfmodem-7.80.02.05full+patch2/scripts/cnxtconfig.in	Sun Apr 11 19:29:08 2010
    6.76 -@@ -74,7 +74,7 @@
    6.77 - 				answer="${region}"
    6.78 - 				;;
    6.79 - 			*)
    6.80 --				answer="`echo \"${answer}\" | tr '[a-z ]' '[A-Z_]'`"
    6.81 -+				answer="`echo \"${answer}\" | tr '[a-z]' '[A-Z]' | sed 's/\s/_/g'`"
    6.82 - 				;;
    6.83 - 			esac
    6.84 - 		fi
    6.85 -@@ -109,15 +109,13 @@
    6.86 - {
    6.87 - 	# Try to guess what region we're in, using the timezone settings
    6.88 - 
    6.89 --	localtime_size="`/bin/ls -lL /etc/localtime 2>/dev/null | ${AWK} '{print $5}'`"
    6.90 --
    6.91 --	if ! [ ${localtime_size} -gt 0 ]; then
    6.92 -+	if [ ! -e /etc/TZ ]; then
    6.93 - 		return 1
    6.94 - 	fi
    6.95 - 
    6.96 --	zoneinfo_dir=/usr/share/zoneinfo
    6.97 -+	zoneinfo_dir=/etc/hsfmodem
    6.98 - 
    6.99 --	if [ ! -d ${zoneinfo_dir} -o ! -f ${zoneinfo_dir}/zone.tab ]; then
   6.100 -+	if [ ! -f ${zoneinfo_dir}/zone.tab ]; then
   6.101 - 		return 1
   6.102 - 	fi
   6.103 - 
   6.104 -@@ -206,18 +204,11 @@
   6.105 - 	iso_VN=00BC # VIETNAM
   6.106 - 
   6.107 - 	(
   6.108 --		cd ${zoneinfo_dir} 2>/dev/null || return 1
   6.109 --		find . -type f -size "${localtime_size}"c -print | sed 's@^\./@@' | \
   6.110 --			while read file; do
   6.111 --				cmp -s /etc/localtime $file || continue
   6.112 --# in the egrep and sed regular expressions below, it is very important to
   6.113 --# have tabs, not spaces
   6.114 --				egrep "	$file(	.*|\$)" ${zoneinfo_dir}/zone.tab
   6.115 --			done | sed -n '/^[^#]/s/	.*//p' | sort | uniq | \
   6.116 --				while read code; do
   6.117 --					eval "echo \${iso_${code}}"
   6.118 --				done | sort | uniq
   6.119 -+		zone=`cat /etc/TZ`
   6.120 -+		code=`grep $zone ${zoneinfo_dir}/zone.tab | awk '{print $1}' | sort | uniq`
   6.121 -+		eval "echo \${iso_${code}}"
   6.122 - 		return 0
   6.123 -+		
   6.124 - 	)
   6.125 - }
   6.126 - 
   6.127 -@@ -271,7 +262,7 @@
   6.128 - # The md5sum is used for input verification.
   6.129 - disptokey()
   6.130 - {
   6.131 --	k="`echo \"$1\" | tr '[a-z]' '[A-Z]' | sed 's/FREE/00000000/' | tr -d -c '[0-9A-F\012]'`"
   6.132 -+	k="`echo \"$1\" | tr '[a-z]' '[A-Z]' | sed 's/FREE/00000000/' | tr -d -c '[0-9][A-F][\012]'`"
   6.133 - 	case $k in
   6.134 - 	00000000)
   6.135 - 		echo "$k"
   6.136 -@@ -1655,7 +1646,7 @@
   6.137 - 		update-modules
   6.138 - 	else
   6.139 - 		if ("$@" "${modulesconf}" | "${filter}"; cat ${f}) > ${modulesconf}.$$; then
   6.140 --			if ! cmp --silent ${modulesconf}.$$ ${modulesconf}; then
   6.141 -+			if ! cmp -s ${modulesconf}.$$ ${modulesconf}; then
   6.142 - 				if ! cp ${modulesconf}.$$ ${modulesconf}; then
   6.143 - 					rm -f ${modulesconf}.$$ ${f}
   6.144 - 					exit 1
   6.145 -@@ -1681,7 +1672,7 @@
   6.146 - 	fi
   6.147 - 
   6.148 - 	if ("$@" "${modprobeconf}" | "${filter}"; cat ${f}) > ${modprobeconf}.$$; then
   6.149 --		if ! cmp --silent ${modprobeconf}.$$ ${modprobeconf}; then
   6.150 -+		if ! cmp -s ${modprobeconf}.$$ ${modprobeconf}; then
   6.151 - 			if ! cp ${modprobeconf}.$$ ${modprobeconf}; then
   6.152 - 				rm -f ${modprobeconf}.$$ ${f}
   6.153 - 				exit 1
   6.154 -@@ -2214,6 +2205,10 @@
   6.155 - 	elif [ -d /var/lib/LST ]; then
   6.156 - 		OSDISTNAME=Caldera
   6.157 - 		OSDISTIDNT=caldera
   6.158 -+	elif [ -f /etc/slitaz-release ]; then
   6.159 -+		OSDISTNAME=SliTaz
   6.160 -+		OSDISTIDNT=slitaz
   6.161 -+		OSDISTVERS="`cat /etc/slitaz-release`"
   6.162 - 	fi
   6.163 - 
   6.164 - 	OSKERNNAME="`uname -s | tr '[A-Z]' '[a-z]'`"
   6.165 -@@ -2268,7 +2263,7 @@
   6.166 - 
   6.167 - dump_file()
   6.168 - {
   6.169 --	dump_cmd cat -v $@
   6.170 -+	dump_cmd cat $@
   6.171 - }
   6.172 - 
   6.173 - dump_diagnostics()
   6.174 -@@ -2587,7 +2582,7 @@
   6.175 - 	fi
   6.176 - 	units="${specificunit}"
   6.177 - 	if [ -z "${units}" ]; then
   6.178 --		units=`ls --ignore=flush_nvm ${procdrvdir}`
   6.179 -+		units=`ls ${procdrvdir} | grep -v flush_nvm`
   6.180 - 
   6.181 - 		if [ -z "${units}" ]; then
   6.182 - 			echo ""
   6.183 -@@ -2884,7 +2879,7 @@
   6.184 - 			explicitopt=true
   6.185 - 			do_cfgregion=true
   6.186 - 			if [ -n "$2" ]; then
   6.187 --				setregion="`echo \"$2\" | tr '[a-z ]' '[A-Z_]'`"
   6.188 -+				setregion="`echo \"$2\" | tr '[a-z]' '[A-Z]' | sed 's/\s/_/g'`"
   6.189 - 			fi
   6.190 - 			shift 2
   6.191 - 			;;
   6.192 -@@ -2954,7 +2949,7 @@
   6.193 - 
   6.194 - # Accept --region <name> as equivalent to --region=<name>
   6.195 - if ${do_cfgregion} && [ $# -ge 1 -a -z "${setregion}" ]; then
   6.196 --	setregion="`echo \"$1\" | tr '[a-z ]' '[A-Z_]'`"
   6.197 -+	setregion="`echo \"$1\" | tr '[a-z]' '[A-Z]' | sed 's/\s/_/g'`"
   6.198 - 	shift
   6.199 - fi
   6.200 - 
   6.201 -@@ -3033,7 +3028,7 @@
   6.202 - 
   6.203 - if ${do_cfgnewinstance}; then
   6.204 - 	if [ ! -d "${cnxtnvmdir}/dynamic/${newinstance}" ]; then
   6.205 --		mkdir --mode=700 --parents "${cnxtnvmdir}/dynamic/${newinstance}" || exit $?
   6.206 -+		mkdir -m 700 -p "${cnxtnvmdir}/dynamic/${newinstance}" || exit $?
   6.207 - 		# The purpose of --info here is to ensure module reload:
   6.208 - 		(sleep 2; exec @CNXTTARGET@config --auto --region=AUTO --info) </dev/null >/dev/null 2>&1 &
   6.209 - 	fi
   6.210 -
     7.1 --- a/linmodem-hsfmodem/stuff/zone.tab	Mon May 30 12:20:27 2011 +0200
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,407 +0,0 @@
     7.4 -# @(#)zone.tab	1.32
     7.5 -#
     7.6 -# TZ zone descriptions
     7.7 -#
     7.8 -# From Paul Eggert (1996-08-05):
     7.9 -#
    7.10 -# This file contains a table with the following columns:
    7.11 -# 1.  ISO 3166 2-character country code.  See the file `iso3166.tab'.
    7.12 -# 2.  Latitude and longitude of the zone's principal location
    7.13 -#     in ISO 6709 sign-degrees-minutes-seconds format,
    7.14 -#     either +-DDMM+-DDDMM or +-DDMMSS+-DDDMMSS,
    7.15 -#     first latitude (+ is north), then longitude (+ is east).
    7.16 -# 3.  Zone name used in value of TZ environment variable.
    7.17 -# 4.  Comments; present if and only if the country has multiple rows.
    7.18 -#
    7.19 -# Columns are separated by a single tab.
    7.20 -# The table is sorted first by country, then an order within the country that
    7.21 -# (1) makes some geographical sense, and
    7.22 -# (2) puts the most populous zones first, where that does not contradict (1).
    7.23 -#
    7.24 -# Lines beginning with `#' are comments.
    7.25 -#
    7.26 -#country-
    7.27 -#code	coordinates	TZ			comments
    7.28 -AD	+4230+00131	Europe/Andorra
    7.29 -AE	+2518+05518	Asia/Dubai
    7.30 -AF	+3431+06912	Asia/Kabul
    7.31 -AG	+1703-06148	America/Antigua
    7.32 -AI	+1812-06304	America/Anguilla
    7.33 -AL	+4120+01950	Europe/Tirane
    7.34 -AM	+4011+04430	Asia/Yerevan
    7.35 -AN	+1211-06900	America/Curacao
    7.36 -AO	-0848+01314	Africa/Luanda
    7.37 -AQ	-7750+16636	Antarctica/McMurdo	McMurdo Station, Ross Island
    7.38 -AQ	-9000+00000	Antarctica/South_Pole	Amundsen-Scott Station, South Pole
    7.39 -AQ	-6734-06808	Antarctica/Rothera	Rothera Station, Adelaide Island
    7.40 -AQ	-6448-06406	Antarctica/Palmer	Palmer Station, Anvers Island
    7.41 -AQ	-6736+06253	Antarctica/Mawson	Mawson Station, Holme Bay
    7.42 -AQ	-6835+07758	Antarctica/Davis	Davis Station, Vestfold Hills
    7.43 -AQ	-6617+11031	Antarctica/Casey	Casey Station, Bailey Peninsula
    7.44 -AQ	-7824+10654	Antarctica/Vostok	Vostok Station, S Magnetic Pole
    7.45 -AQ	-6640+14001	Antarctica/DumontDUrville	Dumont-d'Urville Base, Terre Adelie
    7.46 -AQ	-690022+0393524	Antarctica/Syowa	Syowa Station, E Ongul I
    7.47 -AR	-3436-05827	America/Argentina/Buenos_Aires	Buenos Aires (BA, CF)
    7.48 -AR	-3124-06411	America/Argentina/Cordoba	most locations (CB, CC, CN, ER, FM, LP, MN, NQ, RN, SA, SE, SF, SL)
    7.49 -AR	-2411-06518	America/Argentina/Jujuy	Jujuy (JY)
    7.50 -AR	-3124-06411	America/Argentina/Tucuman	Tucuman (TM)
    7.51 -AR	-2828-06547	America/Argentina/Catamarca	Catamarca (CT), Chubut (CH)
    7.52 -AR	-2926-06651	America/Argentina/La_Rioja	La Rioja (LR)
    7.53 -AR	-3132-06831	America/Argentina/San_Juan	San Juan (SJ)
    7.54 -AR	-3253-06849	America/Argentina/Mendoza	Mendoza (MZ)
    7.55 -AR	-5138-06913	America/Argentina/Rio_Gallegos	Santa Cruz (SC)
    7.56 -AR	-5448-06818	America/Argentina/Ushuaia	Tierra del Fuego (TF)
    7.57 -AS	-1416-17042	Pacific/Pago_Pago
    7.58 -AT	+4813+01620	Europe/Vienna
    7.59 -AU	-3133+15905	Australia/Lord_Howe	Lord Howe Island
    7.60 -AU	-4253+14719	Australia/Hobart	Tasmania - most locations
    7.61 -AU	-3956+14352	Australia/Currie	Tasmania - King Island
    7.62 -AU	-3749+14458	Australia/Melbourne	Victoria
    7.63 -AU	-3352+15113	Australia/Sydney	New South Wales - most locations
    7.64 -AU	-3157+14127	Australia/Broken_Hill	New South Wales - Yancowinna
    7.65 -AU	-2728+15302	Australia/Brisbane	Queensland - most locations
    7.66 -AU	-2016+14900	Australia/Lindeman	Queensland - Holiday Islands
    7.67 -AU	-3455+13835	Australia/Adelaide	South Australia
    7.68 -AU	-1228+13050	Australia/Darwin	Northern Territory
    7.69 -AU	-3157+11551	Australia/Perth	Western Australia
    7.70 -AW	+1230-06858	America/Aruba
    7.71 -AX	+6006+01957	Europe/Mariehamn
    7.72 -AZ	+4023+04951	Asia/Baku
    7.73 -BA	+4352+01825	Europe/Sarajevo
    7.74 -BB	+1306-05937	America/Barbados
    7.75 -BD	+2343+09025	Asia/Dhaka
    7.76 -BE	+5050+00420	Europe/Brussels
    7.77 -BF	+1222-00131	Africa/Ouagadougou
    7.78 -BG	+4241+02319	Europe/Sofia
    7.79 -BH	+2623+05035	Asia/Bahrain
    7.80 -BI	-0323+02922	Africa/Bujumbura
    7.81 -BJ	+0629+00237	Africa/Porto-Novo
    7.82 -BM	+3217-06446	Atlantic/Bermuda
    7.83 -BN	+0456+11455	Asia/Brunei
    7.84 -BO	-1630-06809	America/La_Paz
    7.85 -BR	-0351-03225	America/Noronha	Atlantic islands
    7.86 -BR	-0127-04829	America/Belem	Amapa, E Para
    7.87 -BR	-0343-03830	America/Fortaleza	NE Brazil (MA, PI, CE, RN, PB)
    7.88 -BR	-0803-03454	America/Recife	Pernambuco
    7.89 -BR	-0712-04812	America/Araguaina	Tocantins
    7.90 -BR	-0940-03543	America/Maceio	Alagoas, Sergipe
    7.91 -BR	-1259-03831	America/Bahia	Bahia
    7.92 -BR	-2332-04637	America/Sao_Paulo	S & SE Brazil (GO, DF, MG, ES, RJ, SP, PR, SC, RS)
    7.93 -BR	-2027-05437	America/Campo_Grande	Mato Grosso do Sul
    7.94 -BR	-1535-05605	America/Cuiaba	Mato Grosso
    7.95 -BR	-0846-06354	America/Porto_Velho	W Para, Rondonia
    7.96 -BR	+0249-06040	America/Boa_Vista	Roraima
    7.97 -BR	-0308-06001	America/Manaus	E Amazonas
    7.98 -BR	-0640-06952	America/Eirunepe	W Amazonas
    7.99 -BR	-0958-06748	America/Rio_Branco	Acre
   7.100 -BS	+2505-07721	America/Nassau
   7.101 -BT	+2728+08939	Asia/Thimphu
   7.102 -BW	-2545+02555	Africa/Gaborone
   7.103 -BY	+5354+02734	Europe/Minsk
   7.104 -BZ	+1730-08812	America/Belize
   7.105 -CA	+4734-05243	America/St_Johns	Newfoundland Island
   7.106 -CA	+4439-06336	America/Halifax	Atlantic Time - Nova Scotia (most places), NB, W Labrador, E Quebec & PEI
   7.107 -CA	+4612-05957	America/Glace_Bay	Atlantic Time - Nova Scotia - places that did not observe DST 1966-1971
   7.108 -CA	+5320-06025	America/Goose_Bay	Atlantic Time - E Labrador
   7.109 -CA	+4531-07334	America/Montreal	Eastern Time - Quebec - most locations
   7.110 -CA	+4339-07923	America/Toronto	Eastern Time - Ontario - most locations
   7.111 -CA	+4901-08816	America/Nipigon	Eastern Time - Ontario & Quebec - places that did not observe DST 1967-1973
   7.112 -CA	+4823-08915	America/Thunder_Bay	Eastern Time - Thunder Bay, Ontario
   7.113 -CA	+6608-06544	America/Pangnirtung	Eastern Time - Pangnirtung, Nunavut
   7.114 -CA	+6344-06828	America/Iqaluit	Eastern Time - east Nunavut
   7.115 -CA	+6408-08310	America/Coral_Harbour	Eastern Standard Time - Southampton Island
   7.116 -CA	+6245-09210	America/Rankin_Inlet	Central Time - central Nunavut
   7.117 -CA	+4953-09709	America/Winnipeg	Central Time - Manitoba & west Ontario
   7.118 -CA	+4843-09429	America/Rainy_River	Central Time - Rainy River & Fort Frances, Ontario
   7.119 -CA	+6903-10505	America/Cambridge_Bay	Central Time - west Nunavut
   7.120 -CA	+5024-10439	America/Regina	Central Standard Time - Saskatchewan - most locations
   7.121 -CA	+5017-10750	America/Swift_Current	Central Standard Time - Saskatchewan - midwest
   7.122 -CA	+5333-11328	America/Edmonton	Mountain Time - Alberta, east British Columbia & west Saskatchewan
   7.123 -CA	+6227-11421	America/Yellowknife	Mountain Time - central Northwest Territories
   7.124 -CA	+6825-11330	America/Inuvik	Mountain Time - west Northwest Territories
   7.125 -CA	+5946-12014	America/Dawson_Creek	Mountain Standard Time - Dawson Creek & Fort Saint John, British Columbia
   7.126 -CA	+4916-12307	America/Vancouver	Pacific Time - west British Columbia
   7.127 -CA	+6043-13503	America/Whitehorse	Pacific Time - south Yukon
   7.128 -CA	+6404-13925	America/Dawson	Pacific Time - north Yukon
   7.129 -CC	-1210+09655	Indian/Cocos
   7.130 -CD	-0418+01518	Africa/Kinshasa	west Dem. Rep. of Congo
   7.131 -CD	-1140+02728	Africa/Lubumbashi	east Dem. Rep. of Congo
   7.132 -CF	+0422+01835	Africa/Bangui
   7.133 -CG	-0416+01517	Africa/Brazzaville
   7.134 -CH	+4723+00832	Europe/Zurich
   7.135 -CI	+0519-00402	Africa/Abidjan
   7.136 -CK	-2114-15946	Pacific/Rarotonga
   7.137 -CL	-3327-07040	America/Santiago	most locations
   7.138 -CL	-2710-10927	Pacific/Easter	Easter Island & Sala y Gomez
   7.139 -CM	+0403+00942	Africa/Douala
   7.140 -CN	+3114+12128	Asia/Shanghai	east China - Beijing, Guangdong, Shanghai, etc.
   7.141 -CN	+4545+12641	Asia/Harbin	Heilongjiang
   7.142 -CN	+2934+10635	Asia/Chongqing	central China - Gansu, Guizhou, Sichuan, Yunnan, etc.
   7.143 -CN	+4348+08735	Asia/Urumqi	Tibet & most of Xinjiang Uyghur
   7.144 -CN	+3929+07559	Asia/Kashgar	southwest Xinjiang Uyghur
   7.145 -CO	+0436-07405	America/Bogota
   7.146 -CR	+0956-08405	America/Costa_Rica
   7.147 -CS	+4450+02030	Europe/Belgrade
   7.148 -CU	+2308-08222	America/Havana
   7.149 -CV	+1455-02331	Atlantic/Cape_Verde
   7.150 -CX	-1025+10543	Indian/Christmas
   7.151 -CY	+3510+03322	Asia/Nicosia
   7.152 -CZ	+5005+01426	Europe/Prague
   7.153 -DE	+5230+01322	Europe/Berlin
   7.154 -DJ	+1136+04309	Africa/Djibouti
   7.155 -DK	+5540+01235	Europe/Copenhagen
   7.156 -DM	+1518-06124	America/Dominica
   7.157 -DO	+1828-06954	America/Santo_Domingo
   7.158 -DZ	+3647+00303	Africa/Algiers
   7.159 -EC	-0210-07950	America/Guayaquil	mainland
   7.160 -EC	-0054-08936	Pacific/Galapagos	Galapagos Islands
   7.161 -EE	+5925+02445	Europe/Tallinn
   7.162 -EG	+3003+03115	Africa/Cairo
   7.163 -EH	+2709-01312	Africa/El_Aaiun
   7.164 -ER	+1520+03853	Africa/Asmera
   7.165 -ES	+4024-00341	Europe/Madrid	mainland
   7.166 -ES	+3553-00519	Africa/Ceuta	Ceuta & Melilla
   7.167 -ES	+2806-01524	Atlantic/Canary	Canary Islands
   7.168 -ET	+0902+03842	Africa/Addis_Ababa
   7.169 -FI	+6010+02458	Europe/Helsinki
   7.170 -FJ	-1808+17825	Pacific/Fiji
   7.171 -FK	-5142-05751	Atlantic/Stanley
   7.172 -FM	+0725+15147	Pacific/Truk	Truk (Chuuk) and Yap
   7.173 -FM	+0658+15813	Pacific/Ponape	Ponape (Pohnpei)
   7.174 -FM	+0519+16259	Pacific/Kosrae	Kosrae
   7.175 -FO	+6201-00646	Atlantic/Faeroe
   7.176 -FR	+4852+00220	Europe/Paris
   7.177 -GA	+0023+00927	Africa/Libreville
   7.178 -GB	+512830-0001845	Europe/London
   7.179 -GD	+1203-06145	America/Grenada
   7.180 -GE	+4143+04449	Asia/Tbilisi
   7.181 -GF	+0456-05220	America/Cayenne
   7.182 -GH	+0533-00013	Africa/Accra
   7.183 -GI	+3608-00521	Europe/Gibraltar
   7.184 -GL	+6411-05144	America/Godthab	most locations
   7.185 -GL	+7646-01840	America/Danmarkshavn	east coast, north of Scoresbysund
   7.186 -GL	+7030-02215	America/Scoresbysund	Scoresbysund / Ittoqqortoormiit
   7.187 -GL	+7634-06847	America/Thule	Thule / Pituffik
   7.188 -GM	+1328-01639	Africa/Banjul
   7.189 -GN	+0931-01343	Africa/Conakry
   7.190 -GP	+1614-06132	America/Guadeloupe
   7.191 -GQ	+0345+00847	Africa/Malabo
   7.192 -GR	+3758+02343	Europe/Athens
   7.193 -GS	-5416-03632	Atlantic/South_Georgia
   7.194 -GT	+1438-09031	America/Guatemala
   7.195 -GU	+1328+14445	Pacific/Guam
   7.196 -GW	+1151-01535	Africa/Bissau
   7.197 -GY	+0648-05810	America/Guyana
   7.198 -HK	+2217+11409	Asia/Hong_Kong
   7.199 -HN	+1406-08713	America/Tegucigalpa
   7.200 -HR	+4548+01558	Europe/Zagreb
   7.201 -HT	+1832-07220	America/Port-au-Prince
   7.202 -HU	+4730+01905	Europe/Budapest
   7.203 -ID	-0610+10648	Asia/Jakarta	Java & Sumatra
   7.204 -ID	-0002+10920	Asia/Pontianak	west & central Borneo
   7.205 -ID	-0507+11924	Asia/Makassar	east & south Borneo, Celebes, Bali, Nusa Tengarra, west Timor
   7.206 -ID	-0232+14042	Asia/Jayapura	Irian Jaya & the Moluccas
   7.207 -IE	+5320-00615	Europe/Dublin
   7.208 -IL	+3146+03514	Asia/Jerusalem
   7.209 -IN	+2232+08822	Asia/Calcutta
   7.210 -IO	-0720+07225	Indian/Chagos
   7.211 -IQ	+3321+04425	Asia/Baghdad
   7.212 -IR	+3540+05126	Asia/Tehran
   7.213 -IS	+6409-02151	Atlantic/Reykjavik
   7.214 -IT	+4154+01229	Europe/Rome
   7.215 -JM	+1800-07648	America/Jamaica
   7.216 -JO	+3157+03556	Asia/Amman
   7.217 -JP	+353916+1394441	Asia/Tokyo
   7.218 -KE	-0117+03649	Africa/Nairobi
   7.219 -KG	+4254+07436	Asia/Bishkek
   7.220 -KH	+1133+10455	Asia/Phnom_Penh
   7.221 -KI	+0125+17300	Pacific/Tarawa	Gilbert Islands
   7.222 -KI	-0308-17105	Pacific/Enderbury	Phoenix Islands
   7.223 -KI	+0152-15720	Pacific/Kiritimati	Line Islands
   7.224 -KM	-1141+04316	Indian/Comoro
   7.225 -KN	+1718-06243	America/St_Kitts
   7.226 -KP	+3901+12545	Asia/Pyongyang
   7.227 -KR	+3733+12658	Asia/Seoul
   7.228 -KW	+2920+04759	Asia/Kuwait
   7.229 -KY	+1918-08123	America/Cayman
   7.230 -KZ	+4315+07657	Asia/Almaty	most locations
   7.231 -KZ	+4448+06528	Asia/Qyzylorda	Qyzylorda (Kyzylorda, Kzyl-Orda)
   7.232 -KZ	+5017+05710	Asia/Aqtobe	Aqtobe (Aktobe)
   7.233 -KZ	+4431+05016	Asia/Aqtau	Atyrau (Atirau, Gur'yev), Mangghystau (Mankistau)
   7.234 -KZ	+5113+05121	Asia/Oral	West Kazakhstan
   7.235 -LA	+1758+10236	Asia/Vientiane
   7.236 -LB	+3353+03530	Asia/Beirut
   7.237 -LC	+1401-06100	America/St_Lucia
   7.238 -LI	+4709+00931	Europe/Vaduz
   7.239 -LK	+0656+07951	Asia/Colombo
   7.240 -LR	+0618-01047	Africa/Monrovia
   7.241 -LS	-2928+02730	Africa/Maseru
   7.242 -LT	+5441+02519	Europe/Vilnius
   7.243 -LU	+4936+00609	Europe/Luxembourg
   7.244 -LV	+5657+02406	Europe/Riga
   7.245 -LY	+3254+01311	Africa/Tripoli
   7.246 -MA	+3339-00735	Africa/Casablanca
   7.247 -MC	+4342+00723	Europe/Monaco
   7.248 -MD	+4700+02850	Europe/Chisinau
   7.249 -MG	-1855+04731	Indian/Antananarivo
   7.250 -MH	+0709+17112	Pacific/Majuro	most locations
   7.251 -MH	+0905+16720	Pacific/Kwajalein	Kwajalein
   7.252 -MK	+4159+02126	Europe/Skopje
   7.253 -ML	+1239-00800	Africa/Bamako
   7.254 -MM	+1647+09610	Asia/Rangoon
   7.255 -MN	+4755+10653	Asia/Ulaanbaatar	most locations
   7.256 -MN	+4801+09139	Asia/Hovd	Bayan-Olgiy, Govi-Altai, Hovd, Uvs, Zavkhan
   7.257 -MN	+4804+11430	Asia/Choibalsan	Dornod, Sukhbaatar
   7.258 -MO	+2214+11335	Asia/Macau
   7.259 -MP	+1512+14545	Pacific/Saipan
   7.260 -MQ	+1436-06105	America/Martinique
   7.261 -MR	+1806-01557	Africa/Nouakchott
   7.262 -MS	+1644-06213	America/Montserrat
   7.263 -MT	+3554+01431	Europe/Malta
   7.264 -MU	-2010+05730	Indian/Mauritius
   7.265 -MV	+0410+07330	Indian/Maldives
   7.266 -MW	-1547+03500	Africa/Blantyre
   7.267 -MX	+1924-09909	America/Mexico_City	Central Time - most locations
   7.268 -MX	+2105-08646	America/Cancun	Central Time - Quintana Roo
   7.269 -MX	+2058-08937	America/Merida	Central Time - Campeche, Yucatan
   7.270 -MX	+2540-10019	America/Monterrey	Central Time - Coahuila, Durango, Nuevo Leon, Tamaulipas
   7.271 -MX	+2313-10625	America/Mazatlan	Mountain Time - S Baja, Nayarit, Sinaloa
   7.272 -MX	+2838-10605	America/Chihuahua	Mountain Time - Chihuahua
   7.273 -MX	+2904-11058	America/Hermosillo	Mountain Standard Time - Sonora
   7.274 -MX	+3232-11701	America/Tijuana	Pacific Time
   7.275 -MY	+0310+10142	Asia/Kuala_Lumpur	peninsular Malaysia
   7.276 -MY	+0133+11020	Asia/Kuching	Sabah & Sarawak
   7.277 -MZ	-2558+03235	Africa/Maputo
   7.278 -NA	-2234+01706	Africa/Windhoek
   7.279 -NC	-2216+16530	Pacific/Noumea
   7.280 -NE	+1331+00207	Africa/Niamey
   7.281 -NF	-2903+16758	Pacific/Norfolk
   7.282 -NG	+0627+00324	Africa/Lagos
   7.283 -NI	+1209-08617	America/Managua
   7.284 -NL	+5222+00454	Europe/Amsterdam
   7.285 -NO	+5955+01045	Europe/Oslo
   7.286 -NP	+2743+08519	Asia/Katmandu
   7.287 -NR	-0031+16655	Pacific/Nauru
   7.288 -NU	-1901+16955	Pacific/Niue
   7.289 -NZ	-3652+17446	Pacific/Auckland	most locations
   7.290 -NZ	-4357-17633	Pacific/Chatham	Chatham Islands
   7.291 -OM	+2336+05835	Asia/Muscat
   7.292 -PA	+0858-07932	America/Panama
   7.293 -PE	-1203-07703	America/Lima
   7.294 -PF	-1732-14934	Pacific/Tahiti	Society Islands
   7.295 -PF	-0900-13930	Pacific/Marquesas	Marquesas Islands
   7.296 -PF	-2308-13457	Pacific/Gambier	Gambier Islands
   7.297 -PG	-0930+14710	Pacific/Port_Moresby
   7.298 -PH	+1435+12100	Asia/Manila
   7.299 -PK	+2452+06703	Asia/Karachi
   7.300 -PL	+5215+02100	Europe/Warsaw
   7.301 -PM	+4703-05620	America/Miquelon
   7.302 -PN	-2504-13005	Pacific/Pitcairn
   7.303 -PR	+182806-0660622	America/Puerto_Rico
   7.304 -PS	+3130+03428	Asia/Gaza
   7.305 -PT	+3843-00908	Europe/Lisbon	mainland
   7.306 -PT	+3238-01654	Atlantic/Madeira	Madeira Islands
   7.307 -PT	+3744-02540	Atlantic/Azores	Azores
   7.308 -PW	+0720+13429	Pacific/Palau
   7.309 -PY	-2516-05740	America/Asuncion
   7.310 -QA	+2517+05132	Asia/Qatar
   7.311 -RE	-2052+05528	Indian/Reunion
   7.312 -RO	+4426+02606	Europe/Bucharest
   7.313 -RU	+5443+02030	Europe/Kaliningrad	Moscow-01 - Kaliningrad
   7.314 -RU	+5545+03735	Europe/Moscow	Moscow+00 - west Russia
   7.315 -RU	+5312+05009	Europe/Samara	Moscow+01 - Caspian Sea
   7.316 -RU	+5651+06036	Asia/Yekaterinburg	Moscow+02 - Urals
   7.317 -RU	+5500+07324	Asia/Omsk	Moscow+03 - west Siberia
   7.318 -RU	+5502+08255	Asia/Novosibirsk	Moscow+03 - Novosibirsk
   7.319 -RU	+5601+09250	Asia/Krasnoyarsk	Moscow+04 - Yenisei River
   7.320 -RU	+5216+10420	Asia/Irkutsk	Moscow+05 - Lake Baikal
   7.321 -RU	+6200+12940	Asia/Yakutsk	Moscow+06 - Lena River
   7.322 -RU	+4310+13156	Asia/Vladivostok	Moscow+07 - Amur River
   7.323 -RU	+4658+14242	Asia/Sakhalin	Moscow+07 - Sakhalin Island
   7.324 -RU	+5934+15048	Asia/Magadan	Moscow+08 - Magadan
   7.325 -RU	+5301+15839	Asia/Kamchatka	Moscow+09 - Kamchatka
   7.326 -RU	+6445+17729	Asia/Anadyr	Moscow+10 - Bering Sea
   7.327 -RW	-0157+03004	Africa/Kigali
   7.328 -SA	+2438+04643	Asia/Riyadh
   7.329 -SB	-0932+16012	Pacific/Guadalcanal
   7.330 -SC	-0440+05528	Indian/Mahe
   7.331 -SD	+1536+03232	Africa/Khartoum
   7.332 -SE	+5920+01803	Europe/Stockholm
   7.333 -SG	+0117+10351	Asia/Singapore
   7.334 -SH	-1555-00542	Atlantic/St_Helena
   7.335 -SI	+4603+01431	Europe/Ljubljana
   7.336 -SJ	+7800+01600	Arctic/Longyearbyen	Svalbard
   7.337 -SJ	+7059-00805	Atlantic/Jan_Mayen	Jan Mayen
   7.338 -SK	+4809+01707	Europe/Bratislava
   7.339 -SL	+0830-01315	Africa/Freetown
   7.340 -SM	+4355+01228	Europe/San_Marino
   7.341 -SN	+1440-01726	Africa/Dakar
   7.342 -SO	+0204+04522	Africa/Mogadishu
   7.343 -SR	+0550-05510	America/Paramaribo
   7.344 -ST	+0020+00644	Africa/Sao_Tome
   7.345 -SV	+1342-08912	America/El_Salvador
   7.346 -SY	+3330+03618	Asia/Damascus
   7.347 -SZ	-2618+03106	Africa/Mbabane
   7.348 -TC	+2128-07108	America/Grand_Turk
   7.349 -TD	+1207+01503	Africa/Ndjamena
   7.350 -TF	-492110+0701303	Indian/Kerguelen
   7.351 -TG	+0608+00113	Africa/Lome
   7.352 -TH	+1345+10031	Asia/Bangkok
   7.353 -TJ	+3835+06848	Asia/Dushanbe
   7.354 -TK	-0922-17114	Pacific/Fakaofo
   7.355 -TL	-0833+12535	Asia/Dili
   7.356 -TM	+3757+05823	Asia/Ashgabat
   7.357 -TN	+3648+01011	Africa/Tunis
   7.358 -TO	-2110+17510	Pacific/Tongatapu
   7.359 -TR	+4101+02858	Europe/Istanbul
   7.360 -TT	+1039-06131	America/Port_of_Spain
   7.361 -TV	-0831+17913	Pacific/Funafuti
   7.362 -TW	+2503+12130	Asia/Taipei
   7.363 -TZ	-0648+03917	Africa/Dar_es_Salaam
   7.364 -UA	+5026+03031	Europe/Kiev	most locations
   7.365 -UA	+4837+02218	Europe/Uzhgorod	Ruthenia
   7.366 -UA	+4750+03510	Europe/Zaporozhye	Zaporozh'ye, E Lugansk
   7.367 -UA	+4457+03406	Europe/Simferopol	central Crimea
   7.368 -UG	+0019+03225	Africa/Kampala
   7.369 -UM	+1700-16830	Pacific/Johnston	Johnston Atoll
   7.370 -UM	+2813-17722	Pacific/Midway	Midway Islands
   7.371 -UM	+1917+16637	Pacific/Wake	Wake Island
   7.372 -US	+404251-0740023	America/New_York	Eastern Time
   7.373 -US	+421953-0830245	America/Detroit	Eastern Time - Michigan - most locations
   7.374 -US	+381515-0854534	America/Kentucky/Louisville	Eastern Time - Kentucky - Louisville area
   7.375 -US	+364947-0845057	America/Kentucky/Monticello	Eastern Time - Kentucky - Wayne County
   7.376 -US	+394606-0860929	America/Indiana/Indianapolis	Eastern Standard Time - Indiana - most locations
   7.377 -US	+382232-0862041	America/Indiana/Marengo	Eastern Standard Time - Indiana - Crawford County
   7.378 -US	+411745-0863730	America/Indiana/Knox	Eastern Standard Time - Indiana - Starke County
   7.379 -US	+384452-0850402	America/Indiana/Vevay	Eastern Standard Time - Indiana - Switzerland County
   7.380 -US	+415100-0873900	America/Chicago	Central Time
   7.381 -US	+450628-0873651	America/Menominee	Central Time - Michigan - Wisconsin border
   7.382 -US	+470659-1011757	America/North_Dakota/Center	Central Time - North Dakota - Oliver County
   7.383 -US	+394421-1045903	America/Denver	Mountain Time
   7.384 -US	+433649-1161209	America/Boise	Mountain Time - south Idaho & east Oregon
   7.385 -US	+364708-1084111	America/Shiprock	Mountain Time - Navajo
   7.386 -US	+332654-1120424	America/Phoenix	Mountain Standard Time - Arizona
   7.387 -US	+340308-1181434	America/Los_Angeles	Pacific Time
   7.388 -US	+611305-1495401	America/Anchorage	Alaska Time
   7.389 -US	+581807-1342511	America/Juneau	Alaska Time - Alaska panhandle
   7.390 -US	+593249-1394338	America/Yakutat	Alaska Time - Alaska panhandle neck
   7.391 -US	+643004-1652423	America/Nome	Alaska Time - west Alaska
   7.392 -US	+515248-1763929	America/Adak	Aleutian Islands
   7.393 -US	+211825-1575130	Pacific/Honolulu	Hawaii
   7.394 -UY	-3453-05611	America/Montevideo
   7.395 -UZ	+3940+06648	Asia/Samarkand	west Uzbekistan
   7.396 -UZ	+4120+06918	Asia/Tashkent	east Uzbekistan
   7.397 -VA	+4154+01227	Europe/Vatican
   7.398 -VC	+1309-06114	America/St_Vincent
   7.399 -VE	+1030-06656	America/Caracas
   7.400 -VG	+1827-06437	America/Tortola
   7.401 -VI	+1821-06456	America/St_Thomas
   7.402 -VN	+1045+10640	Asia/Saigon
   7.403 -VU	-1740+16825	Pacific/Efate
   7.404 -WF	-1318-17610	Pacific/Wallis
   7.405 -WS	-1350-17144	Pacific/Apia
   7.406 -YE	+1245+04512	Asia/Aden
   7.407 -YT	-1247+04514	Indian/Mayotte
   7.408 -ZA	-2615+02800	Africa/Johannesburg
   7.409 -ZM	-1525+02817	Africa/Lusaka
   7.410 -ZW	-1750+03103	Africa/Harare
     8.1 --- a/linmodem-slmodem/receipt	Mon May 30 12:20:27 2011 +0200
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,58 +0,0 @@
     8.4 -# SliTaz package receipt.
     8.5 -
     8.6 -PACKAGE="linmodem-slmodem"
     8.7 -VERSION="2.9.11-20100303"
     8.8 -CATEGORY="network"
     8.9 -MAINTAINER="jozee@slitaz.org"
    8.10 -SHORT_DESC="Drivers for the Smartlink winmodems"
    8.11 -WEB_SITE="http://linmodems.technion.ac.il/packages/smartlink/"
    8.12 -SOURCE="slmodem"
    8.13 -TARBALL="$SOURCE-$VERSION.tar.gz"
    8.14 -WGET_URL="$WEB_SITE/$TARBALL"
    8.15 -
    8.16 -BUILD_DEPENDS="linux-module-headers lzma"
    8.17 -
    8.18 -# Rules to configure and make the package.
    8.19 -
    8.20 -compile_rules() {
    8.21 -	ungrab=ungrab-winmodem-20090716
    8.22 -	[ -f $SOURCES_REPOSITORY/$ungrab.tar.gz ] ||
    8.23 -		wget $WEB_SITE/$ungrab.tar.gz -P $SOURCES_REPOSITORY
    8.24 -	[ -d $ungrab ] || tar -xzf $SOURCES_REPOSITORY/$ungrab.tar.gz
    8.25 -	cd $ungrab
    8.26 -	make KERNEL_DIR=/usr/src/linux
    8.27 -	cd $src
    8.28 -	for i in utsrelease.h ; do
    8.29 -		grep -rl linux/$i * | xargs sed -i "s|linux/$i|generated/$i|"
    8.30 -	done
    8.31 -	sed -i 's|^obj-m := slamr.o slusb.o|obj-m := slamr.o|' drivers/Makefile
    8.32 -	sed -i 's/\.ioctl/.unlocked_ioctl/' drivers/amrmo_init.c
    8.33 -	make KERNEL_DIR=/usr/src/linux SUPPORT_ALSA=1 DESTDIR=$DESTDIR drivers
    8.34 -}
    8.35 -	
    8.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    8.37 -genpkg_rules()
    8.38 -{	
    8.39 -	EXTRAVERSION=_${kvers}
    8.40 -	mkdir -p $fs/lib/modules/$kvers-slitaz/kernel/drivers/net
    8.41 -	
    8.42 -	# Compress and install module
    8.43 -	lzma e $src/drivers/slamr.ko \
    8.44 -		$fs/lib/modules/$kvers-slitaz/kernel/drivers/net/slamr.ko.gz
    8.45 -	lzma e ungrab-winmodem-20090716/ungrab-winmodem.ko \
    8.46 -		$fs/lib/modules/$kvers-slitaz/kernel/drivers/net/ungrab-winmodem.ko.gz
    8.47 -	chown root $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/*.ko.gz
    8.48 -	chmod 0644 $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/*.ko.gz	
    8.49 -}
    8.50 -
    8.51 -post_install()
    8.52 -{
    8.53 -	echo "Processing post-install commands..."
    8.54 -	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    8.55 -}
    8.56 -
    8.57 -post_remove()
    8.58 -{
    8.59 -	echo "Processing post-remove commands..."
    8.60 -	depmod -a
    8.61 -}