# HG changeset patch # User Pascal Bellard # Date 1574932435 -3600 # Node ID 804a303f31dcbdb56038aabbd525491146d6de8c # Parent 04ff2c76b97997d0096d9fb40670d275baa432a5 linux-zram: fix 2G+ overflow (bug 230) diff -r 04ff2c76b979 -r 804a303f31dc afio/receipt --- a/afio/receipt Thu Nov 28 10:12:34 2019 +0100 +++ b/afio/receipt Thu Nov 28 10:13:55 2019 +0100 @@ -6,7 +6,7 @@ SHORT_DESC="Archiver program for Linux/UNIX." MAINTAINER="erjo@slitaz.org" LICENSE="LGPL" -WEB_SITE="http://members.chello.nl/~k.holtman/afio.html" +WEB_SITE="https://github.com/kholtman/afio" TARBALL="$PACKAGE-$VERSION.tgz" WGET_URL="http://members.chello.nl/~k.holtman/$TARBALL" diff -r 04ff2c76b979 -r 804a303f31dc linux-zram/stuff/compcache --- a/linux-zram/stuff/compcache Thu Nov 28 10:12:34 2019 +0100 +++ b/linux-zram/stuff/compcache Thu Nov 28 10:13:55 2019 +0100 @@ -21,7 +21,8 @@ END { if (c>0) p=c; if (p==0) p++; print p }' /proc/cpuinfo) modprobe zram num_devices=$devices && [ -n "$SIZE_KB" ] && for i in $(seq 0 $(($devices-1))); do - echo $(($SIZE_KB * 1024 / $devices)) > /sys/block/zram$i/disksize + awk "END { print $SIZE_KB * 1024 / $devices }" < /dev/null \ + > /sys/block/zram$i/disksize done status diff -r 04ff2c76b979 -r 804a303f31dc linux64-zram/stuff/compcache --- a/linux64-zram/stuff/compcache Thu Nov 28 10:12:34 2019 +0100 +++ b/linux64-zram/stuff/compcache Thu Nov 28 10:13:55 2019 +0100 @@ -21,7 +21,8 @@ END { if (c>0) p=c; if (p==0) p++; print p }' /proc/cpuinfo) modprobe zram num_devices=$devices && [ -n "$SIZE_KB" ] && for i in $(seq 0 $(($devices-1))); do - echo $(($SIZE_KB * 1024 / $devices)) > /sys/block/zram$i/disksize + awk "END { print $SIZE_KB * 1024 / $devices }" < /dev/null \ + > /sys/block/zram$i/disksize done status diff -r 04ff2c76b979 -r 804a303f31dc orage/receipt --- a/orage/receipt Thu Nov 28 10:12:34 2019 +0100 +++ b/orage/receipt Thu Nov 28 10:13:55 2019 +0100 @@ -7,7 +7,7 @@ SHORT_DESC="Xfce calendar." MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" -WEB_SITE="https://git.xfce.org/apps/orage/about/" +WEB_SITE="https://www.xfce.org/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL" diff -r 04ff2c76b979 -r 804a303f31dc tree/receipt --- a/tree/receipt Thu Nov 28 10:12:34 2019 +0100 +++ b/tree/receipt Thu Nov 28 10:13:55 2019 +0100 @@ -6,7 +6,7 @@ SHORT_DESC="Recursive directory listing program." MAINTAINER="MikeDSmith25@gmail.com" LICENSE="GPL2" -WEB_SITE="http://mama.indstate.edu/users/ice/tree/" +WEB_SITE="https://github.com/pyr/tree" TARBALL="$PACKAGE-$VERSION.tgz" WGET_URL="ftp://mama.indstate.edu/linux/tree/$TARBALL"