wok-tiny rev 88
dropbear-without-zlib: fix TARBALL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 14 12:53:50 2013 +0200 (2013-04-14) |
parents | e2b369ee537b |
children | c952624a764f |
files | custom-console/receipt dropbear-without-zlib/receipt nanochess/receipt |
line diff
1.1 --- a/custom-console/receipt Tue Aug 21 20:42:47 2012 +0200 1.2 +++ b/custom-console/receipt Sun Apr 14 12:53:50 2013 +0200 1.3 @@ -13,14 +13,11 @@ 1.4 genpkg_rules() 1.5 { 1.6 mkdir -p $fs/etc 1.7 - tazpkg get slitaz-boot-scripts 1.8 - tazpkg extract slitaz-boot-scripts*.tazpkg 1.9 - mv slitaz-boot-scripts*/fs/etc/inittab fs/etc || return 1 1.10 - sed -i '/^tty[2-9]::/d' fs/etc/inittab 1.11 } 1.12 1.13 post_install() 1.14 { 1.15 + sed -i '/^tty[2-9]::/d' $1/etc/inittab 1.16 sed -i "s|^tty1:.*|$TTYS::respawn:/sbin/getty $SPEED $TTYS|" \ 1.17 $1/etc/inittab 1.18 }
2.1 --- a/dropbear-without-zlib/receipt Tue Aug 21 20:42:47 2012 +0200 2.2 +++ b/dropbear-without-zlib/receipt Sun Apr 14 12:53:50 2013 +0200 2.3 @@ -1,11 +1,12 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="dropbear-without-zlib" 2.7 +SOURCE="dropbear" 2.8 VERSION="0.53" 2.9 CATEGORY="security" 2.10 SHORT_DESC="Light SSH client and server without compression support." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 -TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.14 DEPENDS="libutil" 2.15 [ -n "$TARGET" ] || TARGET="i486" 2.16 BUILD_DEPENDS="dropbear uclibc-cross-compiler-$TARGET"
3.1 --- a/nanochess/receipt Tue Aug 21 20:42:47 2012 +0200 3.2 +++ b/nanochess/receipt Sun Apr 14 12:53:50 2013 +0200 3.3 @@ -10,15 +10,27 @@ 3.4 # Rules to configure and make the package. 3.5 compile_rules() 3.6 { 3.7 - mkdir $src 3.8 + # define colors 3.9 + white="#f0f0b0" # was #f0f0f0 3.10 + black="#f05030" # was #c0c0f0 3.11 + gray="#843" # was #dde 3.12 + background="$white" # was white 3.13 + red="blue" 3.14 + 3.15 + mkdir -p $src 2> /dev/null 3.16 cd $src 3.17 wget -O index.html \ 3.18 $(dirname $WEB_SITE)/archive/toledo_javascript_chess_3.html 3.19 - sed -i -e 's/<select/\♟ \→ &/' \ 3.20 + sed -i -e 's/<select/<input type=\\"button\\" value=\\"\♚ \⇔ \♔\\" onclick=\\"yy^=8;Z()\\">&/' \ 3.21 + -e 's/><option.*$/>";/' -e "s/ style='font-size:20px'//" \ 3.22 -e 's/50px/"+P+"px/g' -e 's/=60/="+H+"/g' \ 3.23 -e 's|for(a=|H=innerHeight/9;P=H*5/6;|' -e 's/^"<table/for(a=&/' \ 3.24 - -e 's/f0f":"c0c")+"0f0/f0f":"606")+"0c0/' -e 's/e0e0f0/b0b080/' \ 3.25 - -e 's/><option.*$/>";/' -e 's|^doc.*|for(p=18;++p<23;)a+="<option>\b"+p+";</option>";document.write(a);|' \ 3.26 + -e "s/c0c\":\"f0f\")+\"0f0/$white\":\"$black\")+\"/" \ 3.27 + -e "s/#dde/$gray/" -e "s/red/$red/" -e 's/bgcolor=#/bgcolor=/' \ 3.28 + -e 's|^doc.*|yy=/\\?b/i.test(document.URL)?8:0;for(p=18;++p<23;)a+="<option>\♟ \→ \b"+p+";</option>";document.write(a);|' \ 3.29 + -e "s|<script>|<style>body {background: $background; overflow: hidden;} input,select {background: transparent; -webkit-appearance: none;}</style>\n<title>Toledo chess</title>&|" \ 3.30 + -e 's|function Y|function Z(){if(y!=yy)setTimeout("X(0,0,0,21,u,2),X(0,0,0,21,u,1)",250);}\n&|' \ 3.31 + -e 's|if(y)set.*|Z();}}Z()|' \ 3.32 index.html 3.33 } 3.34