wok-current rev 19841
Add gitso
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 13 10:28:45 2017 +0100 (2017-03-13) |
parents | 2c28bb804604 |
children | c281a4009aaa |
files | gitso/receipt syslinux/stuff/iso2exe/iso2exe.sh |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gitso/receipt Mon Mar 13 10:28:45 2017 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gitso" 1.7 +VERSION="0.6" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Frontend to reverse VNC connections." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL3" 1.12 +TARBALL="${PACKAGE}_${VERSION}_src.tar.bz2" 1.13 +WEB_SITE="http://code.google.com/p/gitso/" 1.14 +WGET_URL="http://gitso.googlecode.com/files/$TARBALL" 1.15 +CONFIG_FILES="/etc/gitso-hosts" 1.16 + 1.17 +DEPENDS="x11vnc vncviewer wxpython" 1.18 + 1.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.20 +genpkg_rules() 1.21 +{ 1.22 + mkdir -p $fs/usr/share/applications $fs/usr/share/gitso $fs/usr/bin $fs/etc 1.23 + cp $src/*.py $fs/usr/share/gitso 1.24 + cp $src/icon.* $fs/usr/share/gitso 1.25 + cp $src/arch/linux/gitso.desktop $fs/usr/share/applications 1.26 + cp $src/arch/linux/gitso $fs/usr/bin 1.27 + touch $fs/etc/gitso-hosts 1.28 + chmod 755 $fs/usr/bin/gitso 1.29 + chmod a+r $fs/usr/share/*/* 1.30 +}
2.1 --- a/syslinux/stuff/iso2exe/iso2exe.sh Sun Mar 12 10:46:58 2017 +0100 2.2 +++ b/syslinux/stuff/iso2exe/iso2exe.sh Mon Mar 13 10:28:45 2017 +0100 2.3 @@ -586,7 +586,7 @@ 2.4 ddq bs=2k seek=$(custom_config_sector $1) of=$1 conv=notrunc 2.5 newsz=$(stat -c %s $1) 2.6 for i in 0 1 2 3 ; do 2.7 - [ $(get $((0x1BE+16*i)) $1 4) == $((0x00010080)) ] || continue 2.8 + [ $(get $((0x1BE+16*i)) $1 2) == $((0x0080)) ] || continue 2.9 mb=$(((($newsz -1)/1024/1024)+1)) 2.10 h=$((512*$(get 417 "$1" 1))) 2.11 store $((0x1C5+16*i)) $(($mb-1)) $1 8