wok rev 22385

linux-zram: fix 2G+ overflow (bug 230)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 28 10:13:55 2019 +0100 (2019-11-28)
parents 04ff2c76b979
children 08fb1713f5cd
files afio/receipt linux-zram/stuff/compcache linux64-zram/stuff/compcache orage/receipt tree/receipt
line diff
     1.1 --- a/afio/receipt	Thu Nov 28 10:12:34 2019 +0100
     1.2 +++ b/afio/receipt	Thu Nov 28 10:13:55 2019 +0100
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="Archiver program for Linux/UNIX."
     1.5  MAINTAINER="erjo@slitaz.org"
     1.6  LICENSE="LGPL"
     1.7 -WEB_SITE="http://members.chello.nl/~k.holtman/afio.html"
     1.8 +WEB_SITE="https://github.com/kholtman/afio"
     1.9  TARBALL="$PACKAGE-$VERSION.tgz"
    1.10  WGET_URL="http://members.chello.nl/~k.holtman/$TARBALL"
    1.11  
     2.1 --- a/linux-zram/stuff/compcache	Thu Nov 28 10:12:34 2019 +0100
     2.2 +++ b/linux-zram/stuff/compcache	Thu Nov 28 10:13:55 2019 +0100
     2.3 @@ -21,7 +21,8 @@
     2.4  	END { if (c>0) p=c; if (p==0) p++; print p }' /proc/cpuinfo)
     2.5      modprobe zram num_devices=$devices &&
     2.6      [ -n "$SIZE_KB" ] && for i in $(seq 0 $(($devices-1))); do
     2.7 -	echo $(($SIZE_KB * 1024 / $devices)) > /sys/block/zram$i/disksize
     2.8 +	awk "END { print $SIZE_KB * 1024 / $devices }" < /dev/null \
     2.9 +		> /sys/block/zram$i/disksize
    2.10      done
    2.11      status
    2.12  
     3.1 --- a/linux64-zram/stuff/compcache	Thu Nov 28 10:12:34 2019 +0100
     3.2 +++ b/linux64-zram/stuff/compcache	Thu Nov 28 10:13:55 2019 +0100
     3.3 @@ -21,7 +21,8 @@
     3.4  	END { if (c>0) p=c; if (p==0) p++; print p }' /proc/cpuinfo)
     3.5      modprobe zram num_devices=$devices &&
     3.6      [ -n "$SIZE_KB" ] && for i in $(seq 0 $(($devices-1))); do
     3.7 -	echo $(($SIZE_KB * 1024 / $devices)) > /sys/block/zram$i/disksize
     3.8 +	awk "END { print $SIZE_KB * 1024 / $devices }" < /dev/null \
     3.9 +		> /sys/block/zram$i/disksize
    3.10      done
    3.11      status
    3.12  
     4.1 --- a/orage/receipt	Thu Nov 28 10:12:34 2019 +0100
     4.2 +++ b/orage/receipt	Thu Nov 28 10:13:55 2019 +0100
     4.3 @@ -7,7 +7,7 @@
     4.4  SHORT_DESC="Xfce calendar."
     4.5  MAINTAINER="erjo@slitaz.org"
     4.6  LICENSE="GPL2"
     4.7 -WEB_SITE="https://git.xfce.org/apps/orage/about/"
     4.8 +WEB_SITE="https://www.xfce.org/"
     4.9  
    4.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.11  WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
     5.1 --- a/tree/receipt	Thu Nov 28 10:12:34 2019 +0100
     5.2 +++ b/tree/receipt	Thu Nov 28 10:13:55 2019 +0100
     5.3 @@ -6,7 +6,7 @@
     5.4  SHORT_DESC="Recursive directory listing program."
     5.5  MAINTAINER="MikeDSmith25@gmail.com"
     5.6  LICENSE="GPL2"
     5.7 -WEB_SITE="http://mama.indstate.edu/users/ice/tree/"
     5.8 +WEB_SITE="https://github.com/pyr/tree"
     5.9  
    5.10  TARBALL="$PACKAGE-$VERSION.tgz"
    5.11  WGET_URL="ftp://mama.indstate.edu/linux/tree/$TARBALL"