# HG changeset patch # User Fabrice THIROUX # Date 1235297991 -3600 # Node ID 2fea1271d9d2e5584601a0b514a4e8ec02b3d8bb # Parent 9668cfe8bcf66a752abebf58eba2cd483e791cfd Up: compcache (0.5.1) + typo fix diff -r 9668cfe8bcf6 -r 2fea1271d9d2 compcache/receipt --- a/compcache/receipt Sun Feb 22 11:16:18 2009 +0100 +++ b/compcache/receipt Sun Feb 22 11:19:51 2009 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="compcache" -VERSION="0.4" +VERSION="0.5.1" CATEGORY="system-tools" SHORT_DESC="Compressed caching" MAINTAINER="fabrice.thiroux@free.fr" @@ -19,7 +19,7 @@ tazwok cook linux fi cd $src - find -name Makefile | xargs sed -i \ + find -name Makefile | xargs sed -i \ "s|/lib/modules/\$(shell uname -r)/build|$WOK/linux/linux-$KERNEL_VERSION|" make KBUILD=$WOK/linux/linux-$KERNEL_VERSION KVER=$KERNEL_VERSION } @@ -32,16 +32,16 @@ mkdir -p $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc $fs/etc/init.d - install -o root -m 755 $src/compcache.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc - install -o root -m 755 $src/sub-projects/allocators/tlsf-kmod/tlsf.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc - install -o root -m 755 $src/sub-projects/compression/lzo-kmod/lzo1x_compress.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc - install -o root -m 755 $src/sub-projects/compression/lzo-kmod/lzo1x_decompress.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc + install -o root -m 644 $src/compcache.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc + install -o root -m 644 $src/sub-projects/allocators/xvmalloc-kmod/xvmalloc.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc + install -o root -m 644 $src/sub-projects/compression/lzo-kmod/lzo1x_compress.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc + install -o root -m 644 $src/sub-projects/compression/lzo-kmod/lzo1x_decompress.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc - for i in $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/*.ko ; do - lzma e $i $i.gz && rm -f $i + for i in $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/*.ko ; do + lzma e $i $i.gz && rm -f $i done install -o root -m 755 ./stuff/compcache $fs/etc/init.d/ - install -o root -m 755 ./stuff/compcache.conf $fs/etc/ + install -o root -m 644 ./stuff/compcache.conf $fs/etc/ } post_install() diff -r 9668cfe8bcf6 -r 2fea1271d9d2 compcache/stuff/compcache --- a/compcache/stuff/compcache Sun Feb 22 11:16:18 2009 +0100 +++ b/compcache/stuff/compcache Sun Feb 22 11:19:51 2009 +0100 @@ -4,9 +4,9 @@ # with /etc/daemons.conf # . /etc/init.d/rc.functions -. /etc/compcache.conf +source /etc/compcache.conf -NAME=COMPCACHE +NAME="compcache" EXIST=`cat /proc/swaps | grep ramzswap0` case "$1" in @@ -31,7 +31,7 @@ swapoff /dev/ramzswap0 status echo -n "Unloding modules" - rmmod compcache lzo1x_compress lzo1x_decompress tlsf + rmmod compcache lzo1x_compress lzo1x_decompress xvmalloc status ;; *)