wok rev 24051
Add veracrypt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 24 11:24:29 2021 +0000 (2021-05-24) |
parents | 8685d0e1ac51 |
children | 8f36f515e2fc |
files | cookutils/stuff/check-wok glib-networking/receipt glib/receipt glibc/receipt glibmm/receipt linld/stuff/src/LINLD.CPP linld/stuff/src/_BEG.ASM linux-libre/receipt linux/receipt openvpn-doc/receipt openvpn-down-root/receipt openvpn-pam/receipt veracrypt/receipt |
line diff
1.1 --- a/cookutils/stuff/check-wok Thu May 13 14:58:33 2021 +0100 1.2 +++ b/cookutils/stuff/check-wok Mon May 24 11:24:29 2021 +0000 1.3 @@ -2,6 +2,7 @@ 1.4 1.5 renice -n 1 -p $$ 1.6 WOK=${1:-/home/slitaz/wok} 1.7 +. /etc/slitaz/cook.conf 1.8 1.9 for i in $WOK/*/receipt ; do 1.10 if [ ! -e $i ]; then
2.1 --- a/glib-networking/receipt Thu May 13 14:58:33 2021 +0100 2.2 +++ b/glib-networking/receipt Mon May 24 11:24:29 2021 +0000 2.3 @@ -16,6 +16,11 @@ 2.4 2.5 HOST_ARCH="i486 arm" 2.6 2.7 +current_version() 2.8 +{ 2.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||' 2.10 +} 2.11 + 2.12 # Handle cross compilation. 2.13 case "$ARCH" in 2.14 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool automake autoconf" ;;
3.1 --- a/glib/receipt Thu May 13 14:58:33 2021 +0100 3.2 +++ b/glib/receipt Mon May 24 11:24:29 2021 +0000 3.3 @@ -15,6 +15,11 @@ 3.4 BUILD_DEPENDS="pcre-dev libffi-dev gettext zlib-dev perl python-dev \ 3.5 elfutils-dev libxml2-dev libxml2-tools automake" 3.6 3.7 +current_version() 3.8 +{ 3.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||' 3.10 +} 3.11 + 3.12 # Handle cross comilation. Use host Perl, Python, etc 3.13 case "$ARCH" in 3.14 arm*)
4.1 --- a/glibc/receipt Thu May 13 14:58:33 2021 +0100 4.2 +++ b/glibc/receipt Mon May 24 11:24:29 2021 +0000 4.3 @@ -16,6 +16,13 @@ 4.4 # Genpkg order for tazwok. 4.5 COOK_OPT="genpkg=glibc-base:glib-locale:glibc-dev" 4.6 4.7 +current_version() 4.8 +{ 4.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 4.10 + sed '/href="glibc-[0-9]/!d;/tar/!d;s|.*>glibc-||;s|.tar.*||' | \ 4.11 + sort -Vr | sed q 4.12 +} 4.13 + 4.14 # Rules to compile & install the temporary toolchain. 4.15 cook_tmp_toolchain() 4.16 {
5.1 --- a/glibmm/receipt Thu May 13 14:58:33 2021 +0100 5.2 +++ b/glibmm/receipt Mon May 24 11:24:29 2021 +0000 5.3 @@ -13,6 +13,11 @@ 5.4 DEPENDS="glib libsigc++ gcc-lib-base glibc-base libffi pcre" 5.5 BUILD_DEPENDS="glib-dev libsigc++-dev" 5.6 5.7 +current_version() 5.8 +{ 5.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||' 5.10 +} 5.11 + 5.12 # Rules to configure and make the package. 5.13 compile_rules() 5.14 {
6.1 --- a/linld/stuff/src/LINLD.CPP Thu May 13 14:58:33 2021 +0100 6.2 +++ b/linld/stuff/src/LINLD.CPP Mon May 24 11:24:29 2021 +0000 6.3 @@ -22,6 +22,9 @@ 6.4 #endif 6.5 "..." NL 6.6 "vga mode: ask,extended,normal or dec/oct/hex number" NL 6.7 +#ifdef CPU32 6.8 + "-32 for 386+" NL 6.9 +#endif 6.10 #ifdef CPU64 6.11 "-64 for cpu64 only" NL 6.12 #endif 6.13 @@ -55,10 +58,15 @@ 6.14 if (!*++argv) syntax(); 6.15 const char **clp = &cmdline; 6.16 do { 6.17 +#ifdef CPU32 6.18 + if ((*(u16 *)*argv|2) == 0x332F) { // -32 /32 6.19 + extrn char cpu386; 6.20 + if (cpu386 == 0) exit(); 6.21 + } 6.22 +#endif 6.23 #ifdef CPU64 6.24 if ((*(u16 *)*argv|2) == 0x362F) { // -64 /64 6.25 - if (cpuhaslm() != 0) continue; 6.26 - exit(); 6.27 + if (cpuhaslm() == 0) exit(); 6.28 } 6.29 #endif 6.30 #ifdef ISO9660
7.1 --- a/linld/stuff/src/_BEG.ASM Thu May 13 14:58:33 2021 +0100 7.2 +++ b/linld/stuff/src/_BEG.ASM Mon May 24 11:24:29 2021 +0000 7.3 @@ -219,19 +219,18 @@ 7.4 pushfd 7.5 pop dx 7.6 pop ax 7.7 - mov bl,al 7.8 xor al,20h ; toggle CPUID feature bit 21 (=> pentium+) 7.9 push ax ; (toggle AC: bit 18 => 486+) 7.10 push dx 7.11 popfd 7.12 pushfd 7.13 - pop dx ; dx.1=flags.1=1 7.14 - pop ax 7.15 - xor al,bl ; clear C 7.16 - je @@no_cpuid ; CPUID feature bit changed ? 7.17 + pop dx 7.18 + pop dx 7.19 + xor al,dl ; clear C 7.20 + jne @@no_cpuid ; CPUID feature bit changed ? 7.21 mov eax,80000001h ; Extended Processor Info and Feature Bits 7.22 cpuid 7.23 - mov dl,-1 ; set 386 flag (assume cpuid => fpu:bit0=1 ?) 7.24 + mov dl,-1 ; set 386 flag 7.25 ifdef NO386 7.26 db 66h ; mov [_cpu_features],edx 7.27 @@no_cpuid:
8.1 --- a/linux-libre/receipt Thu May 13 14:58:33 2021 +0100 8.2 +++ b/linux-libre/receipt Mon May 24 11:24:29 2021 +0000 8.3 @@ -8,13 +8,19 @@ 8.4 LICENSE="GPL2" 8.5 PROVIDE="linux" 8.6 TARBALL="$PACKAGE-$VERSION.tar.bz2" 8.7 -WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/" 8.8 +WEB_SITE="http://www.fsfla.org/ikiwiki/selibre/linux-libre/" 8.9 WGET_URL="http://www.fsfla.org/svnwiki/selibre/linux-libre/download/releases/$VERSION/$TARBALL" 8.10 8.11 DEPENDS="kmod" 8.12 BUILD_DEPENDS="slitaz-toolchain perl git xz lzma patch kmod bc \ 8.13 sysfsutils-dev libtool glib-dev libwrap libwrap-dev udev-dev" 8.14 8.15 +current_version() 8.16 +{ 8.17 + wget -O - http://linux-libre.fsfla.org/pub/linux-libre/releases/ 2> /dev/null | \ 8.18 + sed '/-gnu/!d;s|.*ref="||;s|/".*||' | sed '$!d' 8.19 +} 8.20 + 8.21 # Rules to configure and make the package. 8.22 compile_rules() 8.23 {
9.1 --- a/linux/receipt Thu May 13 14:58:33 2021 +0100 9.2 +++ b/linux/receipt Mon May 24 11:24:29 2021 +0000 9.3 @@ -29,6 +29,12 @@ 9.4 # Aufs enable chroot 9.5 AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8(" 9.6 9.7 +current_version() 9.8 +{ 9.9 + wget -O - $WEB_SITE 2> /dev/null | grep -A 1 longterm | \ 9.10 + sed '/strong/!d;s|.*<strong>||;s|</s.*||;q' 9.11 +} 9.12 + 9.13 # Handle multiarch compilation. Less bdeps when cross-compiling for ARM 9.14 case "$ARCH" in 9.15 arm) BUILD_DEPENDS="xz" ;;
10.1 --- a/openvpn-doc/receipt Thu May 13 14:58:33 2021 +0100 10.2 +++ b/openvpn-doc/receipt Mon May 24 11:24:29 2021 +0000 10.3 @@ -1,7 +1,7 @@ 10.4 # SliTaz package receipt. 10.5 10.6 PACKAGE="openvpn-doc" 10.7 -VERSION="2.5.0" 10.8 +VERSION="2.5.2" 10.9 CATEGORY="network" 10.10 TAGS="vpn tunnel" 10.11 SHORT_DESC="Documentation for OpenVPN."
11.1 --- a/openvpn-down-root/receipt Thu May 13 14:58:33 2021 +0100 11.2 +++ b/openvpn-down-root/receipt Mon May 24 11:24:29 2021 +0000 11.3 @@ -1,7 +1,7 @@ 11.4 # SliTaz package receipt. 11.5 11.6 PACKAGE="openvpn-down-root" 11.7 -VERSION="2.5.0" 11.8 +VERSION="2.5.2" 11.9 CATEGORY="network" 11.10 TAGS="vpn tunnel" 11.11 SHORT_DESC="The down-root plugin for OpenVPN."
12.1 --- a/openvpn-pam/receipt Thu May 13 14:58:33 2021 +0100 12.2 +++ b/openvpn-pam/receipt Mon May 24 11:24:29 2021 +0000 12.3 @@ -1,7 +1,7 @@ 12.4 # SliTaz package receipt. 12.5 12.6 PACKAGE="openvpn-pam" 12.7 -VERSION="2.5.0" 12.8 +VERSION="2.5.2" 12.9 CATEGORY="network" 12.10 TAGS="vpn tunnel" 12.11 SHORT_DESC="PAM plugin for OpenVPN."
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 13.2 +++ b/veracrypt/receipt Mon May 24 11:24:29 2021 +0000 13.3 @@ -0,0 +1,37 @@ 13.4 +# SliTaz package receipt. 13.5 + 13.6 +PACKAGE="veracrypt" 13.7 +VERSION="1.24-Update7" 13.8 +CATEGORY="security" 13.9 +SHORT_DESC="disk encryption software based on TrueCrypt 7.1a" 13.10 +MAINTAINER="pascal.bellard@slitaz.org" 13.11 +LICENSE="Apache" 13.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 13.13 +WEB_SITE="https://www.veracrypt.fr/en/" 13.14 +WGET_URL="https://github.com/veracrypt/VeraCrypt/archive/refs/tags/VeraCrypt_$VERSION.tar.gz" 13.15 + 13.16 +DEPENDS="wxWidgets fuse" 13.17 +BUILD_DEPENDS="yasm pkg-config wxWidgets-dev fuse-dev" 13.18 + 13.19 +current_version() 13.20 +{ 13.21 + wget -O - ${WGET_URL%archive*}releases 2>/dev/null | \ 13.22 + sed '/href=/!d;/tar.gz/!d;s|.*VeraCrypt_\(.*\).tar.gz".*|\1|;q' 13.23 +} 13.24 + 13.25 +# Rules to configure and make the package. 13.26 +compile_rules() 13.27 +{ 13.28 + cd src && 13.29 + make ARCH=i686 && 13.30 + make DESTDIR=$DESTDIR install 13.31 +} 13.32 + 13.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 13.34 +genpkg_rules() 13.35 +{ 13.36 + mkdir -p $fs/usr/bin $fs/usr/share 13.37 + cp -a $install/usr/bin/veracrypt $fs/usr/bin 13.38 + cp -a $install/usr/share/applications $fs/usr/share 13.39 + cp -a $install/usr/share/pixmaps $fs/usr/share 13.40 +}