1#!/bin/sh 2 3#set -x 4 5MD5SUM=md5sum 6 7VERSION=$1 8 9if test "$1" = "" ; then 10 echo usage: 1>&2 11 echo $0 version 1>&2 12 exit 1 13fi 14 15for i in "beta" "pre" "pl" ; do 16 if test "$MINOR" = "" ; then 17 MAYOR=`awk -v version=$VERSION -v col=$i 'BEGIN {split(version,a,col);print a[1]}'` 18 LEVEL=$i 19 fi 20 if test "$MINOR" = "" ; then 21 MINOR=`awk -v version=$VERSION -v col=$i 'BEGIN {split(version,a,col);print a[2]}'` 22 fi 23done 24 25SPARC_PKG=whitedune.$MAYOR.$MINOR.SPARC.pkg 26 27AIX_MAYOR=`awk -v mayor=$MAYOR 'BEGIN {gsub("\\\.","",mayor); print mayor}'` 28 29cat << EOT 30<table width="100%" cellpadding="10" cellspacing="1" border="0"> 31EOT 32 33cat << EOT 34 <tr><td></td> 35 <td valign="top" bgcolor="#DFEFF7" class="text"> 36EOT 37 38FILE=white_dune-$VERSION.tar.gz 39if test -f $FILE ; then 40 chmod a+r $FILE 41 MD5=`$MD5SUM < $FILE` 42 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 43 cat << EOT 44 white_dune $VERSION <b>source and documentation</b> .tar.gz file: <A 45 href="http://wdune.ourproject.org/$FILE">$FILE</A> 46 <br> 47 $SIZE kB (MD5 checksum: $MD5) 48EOT 49 if test -f white_dune-$VERSION.exe ; then 50 CURRENT=$PWD 51 TARGZ=$CURRENT/white_dune-$VERSION.tar.gz 52 cd /tmp 53 gzip -cd $TARGZ | tar -xf - 54 zip -rq white_dune-$VERSION.zip white_dune-$VERSION 55 cd $CURRENT 56 cp /tmp/white_dune-$VERSION.zip . 57 fi 58fi 59MD5= 60SIZE= 61FILE= 62 63 64FILE=white_dune-$VERSION.zip 65if test -f $FILE ; then 66 chmod a+r $FILE1; 67 MD5=`$MD5SUM < $FILE` 68 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 69 cat << EOT 70 <br><br> 71 white_dune $VERSION <b>source and documentation</b> .zip file: <A 72 href="http://wdune.ourproject.org/$FILE">$FILE</A> 73 <br> 74 $SIZE kB (MD5 checksum: $MD5) 75EOT 76fi 77MD5= 78SIZE= 79FILE= 80 81cat << EOT 82 </td> 83 </tr> 84 <tr><td class="head" align="right" bgcolor="#dfeff7" valign="top">MacOSX 85 </td> 86 <td valign="top" bgcolor="#FFFFFF" class="text"> 87EOT 88 89FILE=white_dune-MacOSX-10.6-$VERSION.tar.gz 90if test -f $FILE ; then 91 chmod a+r $FILE 92 MD5=`$MD5SUM < $FILE` 93 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 94 cat << EOT 95 <a name="macosx"> 96 white_dune </a>$VERSION <b>MacOSX</b> 10.6 97 (Apple UNIX) stuffit expander compatible 98 <a href="http://wdune.ourproject.org/$FILE"> 99 $FILE</A> 100 fat binary package (*) 101 based on <a href="http://www.apple.com/macosx/x11/" target="_blank"> 102 X11 for Mac OS X</a> with documentation 103 <br> 104 $SIZE kB (MD5 checksum: $MD5) 105EOT 106fi 107MD5= 108SIZE= 109FILE= 110 111FILE=white_dune-MacOSX-Tiger-fat-binary-$VERSION.tar.gz 112if test -f $FILE ; then 113 chmod a+r $FILE 114 MD5=`$MD5SUM < $FILE` 115 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 116 cat << EOT 117 <a name="macosx"> 118 white_dune </a>$VERSION <b>MacOSX</b> 10.4 "Tiger" 119 (Apple UNIX) stuffit expander compatible 120 <a href="http://wdune.ourproject.org/$FILE"> 121 $FILE</A> 122 fat binary package (*) 123 based on <a href="http://www.apple.com/macosx/x11/" target="_blank"> 124 X11 for Mac OS X</a> with documentation 125 <br> 126 $SIZE kB (MD5 checksum: $MD5) 127EOT 128fi 129MD5= 130SIZE= 131FILE= 132 133FILE=white_dune-MacOSX-Leopard-fat-binary-$VERSION.tar.gz 134if test -f $FILE ; then 135 chmod a+r $FILE 136 MD5=`$MD5SUM < $FILE` 137 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 138 cat << EOT 139 <a name="macosx"> 140 white_dune </a>$VERSION <b>MacOSX</b> 10.5 "Leopard" 141 (Apple UNIX) expertimental stuffit expander compatible 142 <a href="http://wdune.ourproject.org/$FILE"> 143 $FILE</A> 144 fat binary package (*) 145 based on <a href="http://www.apple.com/macosx/x11/" target="_blank"> 146 X11 for Mac OS X</a> with documentation 147 <br> 148 $SIZE kB (MD5 checksum: $MD5) 149EOT 150fi 151 152MD5= 153SIZE= 154FILE= 155FILE=white_dune-MacOSX-Lion-fat-binary-$VERSION.tar.gz 156if test -f $FILE ; then 157 chmod a+r $FILE 158 MD5=`$MD5SUM < $FILE` 159 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 160 cat << EOT 161 <a name="macosx"> 162 white_dune </a>$VERSION <b>MacOSX</b> 10.7 "Lion" 163 (Apple UNIX) expertimental stuffit expander compatible 164 <a href="http://wdune.ourproject.org/$FILE"> 165 $FILE</A> 166 i386/x86_64 binary package (*) 167 based on <a href="http://www.apple.com/macosx/x11/" target="_blank"> 168 X11 for Mac OS X</a> with documentation 169 <br> 170 $SIZE kB (MD5 checksum: $MD5) 171EOT 172fi 173MD5= 174SIZE= 175FILE= 176 177FILE=white_dune-MacOSX-Tiger-powerpc-$VERSION.tar.gz 178if test -f $FILE ; then 179 chmod a+r $FILE 180 MD5=`$MD5SUM < $FILE` 181 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 182 cat << EOT 183 <a name="macosx"> 184 white_dune </a>$VERSION <b>MacOSX</b> 10.4 "Tiger" 185 (Apple UNIX) stuffit expander compatible 186 <a href="http://wdune.ourproject.org/$FILE"> 187 $FILE</A> 188 fat binary package (*) tested on PowerPC 189 based on <a href="http://developer.apple.com/qa/qa2001/qa1232.html" target="_blank"> 190 X11 for Mac OS X</a> with documentation 191 <br> 192 $SIZE kB (MD5 checksum: $MD5) 193EOT 194fi 195MD5= 196SIZE= 197FILE= 198 199FILE=white_dune-MacOSX-Jaguar-$VERSION.tar.gz 200if test -f $FILE ; then 201 chmod a+r $FILE 202 MD5=`$MD5SUM < $FILE` 203 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 204 cat << EOT 205 <br><br> 206 white_dune $VERSION <b>MacOSX</b> 10.2 "Jaguar" (Apple UNIX) 207 stuffit expander compatible <a 208 href="http://wdune.ourproject.org/$FILE"> 209 $FILE</A> 210 package (*) based on <a href="http://www.apple.com/macosx/x11/" target="_blank"> 211 X11 for Mac OS X</a> with documentation 212 <br> 213 $SIZE kB (MD5 checksum: $MD5) 214EOT 215fi 216MD5= 217SIZE= 218FILE= 219 220cat << EOT 221 </td> 222 </tr> 223 <tr><td class="head" align="right" bgcolor="#dfeff7" valign="top"> 224 M\$Windows</td> 225 <td valign="top" bgcolor="#DFEFF7" class="text"> 226EOT 227 228FILE=white_dune-$VERSION.exe 229if test -f $FILE ; then 230 chmod a+r $FILE 231 MD5=`$MD5SUM < $FILE` 232 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 233 MD5LIB=`$MD5SUM < expat_jpeg_png_zlib_win32static2_vc6.zip` 234 MD5LIB3=`$MD5SUM < expat_jpeg_png_zlib_win32static3.zip` 235 cat << EOT 236 white_dune $VERSION <b>M\$Windows</b> binary only: <A 237 href="http://wdune.ourproject.org/$FILE"> 238 $FILE</A> <br> 239 $SIZE kB (MD5 checksum: $MD5) <br> 240 This version is linked against static libraries. For easy 241 recompilation you can download the archives with 242 sources/libraries/project files for <b>M\$Windows</b> 243 from the following link<br> 244 <a href="expat_jpeg_png_zlib_win32static4.zip">expat_jpeg_png_zlib_win32static4.zip</a> (MD5 checksum: $MD5LIB3) 245 <br> 246 (Version for older compiler: <a href="expat_jpeg_png_zlib_win32static2_vc6.zip">expat_jpeg_png_zlib_win32static2_vc6.zip</a> (MD5 checksum: $MD5LIB)) 247 <br> 248EOT 249mkdir -p /tmp/tmp 250rm /tmp/tmp/* 251echo .\\$FILE -german > /tmp/tmp/dunegerman.bat 252echo .\\$FILE -4kids > /tmp/tmp/dune4kids.bat 253echo .\\$FILE -cover > /tmp/tmp/cover_dune.bat 254echo .\\$FILE -anaglyph red_green > /tmp/tmp/red_green.bat 255echo .\\$FILE -anaglyph red_blue > /tmp/tmp/red_blue.bat 256echo .\\$FILE -anaglyph green_red > /tmp/tmp/green_red.bat 257echo .\\$FILE -anaglyph blue_red > /tmp/tmp/blue_red.bat 258echo .\\$FILE -stereo > /tmp/tmp/stereo.bat 259echo .\\$FILE -joystick 0 -axes=2 > /tmp/tmp/2Djoystick.bat 260echo .\\$FILE -4catt > /tmp/tmp/dune4catt.bat 261echo 'set DUNERC=%~d0:\dune.rc' > /tmp/tmp/dune_stick.bat 262echo .\\$FILE >> /tmp/tmp/dune_stick.bat 263cp dune4catt.ico dune4kids.ico stereodune.ico /tmp/tmp 264cp $FILE /tmp/tmp 265cat > /tmp/tmp/setup.sh << EOT 266#!/bin/sh 267 268# this script requires cygwin, see http://www.cygwin.com 269 270mkdir -p /cygdrive/c/programs/white_dune && 271cp white_dune-$1.exe /cygdrive/c/programs/white_dune && 272mkshortcut -A -P -d '"white_dune vrml97 editor"' -n "white_dune" "/c:/programs/white_dune/white_dune-$1.exe" && 273cp dune4catt.ico /cygdrive/c/programs/white_dune && 274mkshortcut -A -P -a "-4catt" -d '"white_dune for catt8/ac3d export"' -n "dune4catt" -i "c:\\\\programs\\\\white_dune\\\\dune4catt.ico" "/c:/programs/white_dune/white_dune-$1.exe" && 275cp dune4kids.ico /cygdrive/c/programs/white_dune && 276mkshortcut -A -P -a "-4kids" -d '"white_dune for kids"' -n "dune4kids" -i "c:\\\\programs\\\\white_dune\\\\dune4kids.ico" "/c:/programs/white_dune/white_dune-$1.exe" && 277cp stereodune.ico /cygdrive/c/programs/white_dune && 278mkshortcut -A -P -a "-stereo" -d '"white_dune for quadbuffer stereoview"' -n "stereodune" -i "c:\\\\programs\\\\white_dune\\\\stereodune.ico" "/c:/programs/white_dune/white_dune-$1.exe" 279 280EOT 281chmod 755 /tmp/tmp/setup.sh 282DIR=$PWD 283(cd /tmp/tmp && sh -c 'zip -q $DIR/batchfiles.zip *') 284MD5=`$MD5SUM < batchfiles.zip` 285echo "archive of <a href=batchfiles.zip>experimental batch files</a>" '('MD5 checksum: $MD5')' 286echo "<br><br>" 287cp /tmp/tmp/dunegerman.bat . 288FILE=dunegerman.bat 289if test -f $FILE ; then 290 chmod a+r $FILE 291 MD5=`$MD5SUM < $FILE` 292 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 293 cat << EOT 294 <img src=docs/deutsch.jpg>Seit version 0.29beta319 gibt es 295 alle Sprachen in white_dune nur noch in einer Datei. 296 Downloaden Sie zusätzlich zur normalen Version die 297 folgende <b>M\$Windows</b> Batchdatei 298 <A 299 href="http://wdune.ourproject.org/$FILE"> 300 $FILE</A> um white_dune in deutscher Sprache starten zu koennen 301 <br> 302 $SIZE kB (MD5 checksum: $MD5) 303<br><br> 304EOT 305fi 306fi 307MD5= 308SIZE= 309FILE= 310 311FILE=white_dune-$VERSION""XP.exe 312if test -f $FILE ; then 313 chmod a+r $FILE 314 MD5=`$MD5SUM < $FILE` 315 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 316 cat << EOT 317 white_dune $VERSION <b>XP (and higher)</b> binary only 318 with support for Space Navigator devices 319 <A href="http://wdune.ourproject.org/$FILE"> 320 $FILE</A> <br> 321 $SIZE kB (MD5 checksum: $MD5) <br> 322EOT 323fi 324MD5= 325SIZE= 326FILE= 327 328FILE=white_dune-$VERSION-devil.exe 329if test -f $FILE ; then 330 chmod a+r $FILE 331 MD5=`$MD5SUM < $FILE` 332 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 333 cat << EOT 334 white_dune $VERSION <b>M\$Windows</b> binary only: <A 335 href="http://wdune.ourproject.org/$FILE"> 336 $FILE</A> 337 (need <a href="http://openil.sourceforge.net/download.php" target="new">DevIL-1.6.5</a> 338 <a href="http://prdownloads.sourceforge.net/openil/DevIL-EndUser-1.6.5.zip" target="new">dll's</a> 339 e.g. in the same directory) 340 <br> 341 $SIZE kB (MD5 checksum: $MD5) 342 <br><br> 343EOT 344fi 345MD5= 346SIZE= 347FILE= 348 349 350FILE=white_dune-$VERSION-4kids.exe 351if test -f $FILE ; then 352 chmod a+r $FILE 353 MD5=`$MD5SUM < $FILE` 354 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 355 cat << EOT 356 white_dune $VERSION <b>M\$Windows</b> binary only with a very simple NURBS 357 modeller 358 menu for kids: <A 359 href="http://wdune.ourproject.org/$FILE"> 360 $FILE</A> 361 (need <a href="http://openil.sourceforge.net/download.php" target="new">DevIL-1.6.5</a> 362 <a href="http://prdownloads.sourceforge.net/openil/DevIL-EndUser-1.6.5.zip" target="new">dll's</a> 363 e.g. in the same directory) 364 <br> 365 $SIZE kB (MD5 checksum: $MD5) 366 367EOT 368fi 369MD5= 370SIZE= 371FILE= 372 373 374FILE=white_dune-$VERSION-4germankids.exe 375if test -f $FILE ; then 376 chmod a+r $FILE 377 MD5=`$MD5SUM < $FILE` 378 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 379 cat << EOT 380 <img src=docs/deutsch.jpg>white_dune $VERSION ausführbares <b>M\$Windows</b> Programm 381 mit sehr einfachem NURBS Modelling Menü 382 in deutscher Sprache fuer junge Leute: 383 <A 384 href="http://wdune.ourproject.org/$FILE"> 385 $FILE</A> 386 (benötigt <a href="http://openil.sourceforge.net/download.php" target="new">DevIL-1.6.5</a> 387 <a href="http://prdownloads.sourceforge.net/openil/DevIL-EndUser-1.6.5.zip" target="new">dll's</a> 388 zum Beispiel im gleichen Ordner wie das Programm) 389 <br> 390 $SIZE kB (MD5 checksum: $MD5) 391EOT 392fi 393MD5= 394SIZE= 395FILE= 396 397FILE=red_green_white_dune-$VERSION.exe 398if test -f $FILE ; then 399 chmod a+r $FILE 400 MD5=`$MD5SUM < $FILE` 401 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 402 cat << EOT 403 white_dune with experimental support for red/green anaglyph glasses $VERSION <b>M\$Windows</b> binary only: <A 404 href="http://wdune.ourproject.org/$FILE"> 405 $FILE</A> <br> 406 $SIZE kB (MD5 checksum: $MD5) <br> 407 This version is linked against static libraries. 408 <br><br> 409EOT 410fi 411MD5= 412SIZE= 413FILE= 414 415FILE=red_blue_white_dune-$VERSION.exe 416if test -f $FILE ; then 417 chmod a+r $FILE 418 MD5=`$MD5SUM < $FILE` 419 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 420 cat << EOT 421 white_dune with experimental support for red/blue anaglyph glasses $VERSION <b>M\$Windows</b> binary only: <A 422 href="http://wdune.ourproject.org/$FILE"> 423 $FILE</A> <br> 424 $SIZE kB (MD5 checksum: $MD5) <br> 425 This version is linked against static libraries. 426 <br><br> 427EOT 428fi 429MD5= 430SIZE= 431FILE= 432 433FILE=black_n_white_dune-$VERSION.exe 434if test -f $FILE ; then 435 chmod a+r $FILE 436 MD5=`$MD5SUM < $FILE` 437 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 438 cat << EOT 439 white_dune $VERSION <b>M\$Windows</b> binary only with Bart's black and white icons: <A 440 href="http://wdune.ourproject.org/$FILE"> 441 $FILE</A> 442 $SIZE kB (MD5 checksum: $MD5) 443EOT 444fi 445MD5= 446SIZE= 447FILE= 448 449 450 451FILE=white_dune$AIX_MAYOR$LEVEL$MINOR-$MAYOR.0.0.bff 452if test -f $FILE.gz ; then 453cat << EOT 454 </td> 455 </tr> 456 <tr><td></td> 457 <td valign="top" bgcolor="#FFFFFF" class="text"> 458EOT chmod a+r $FILE.gz 459 MD5=`$MD5SUM < $FILE.gz` 460 SIZE=`ls -l $FILE.gz | awk '{print int($5/1000)}'` 461 cat << EOT 462 white_dune $VERSION <b>AIX</b> (IBM UNIX) 4.3 (RS/6000) 463 <b>gzip -cd <a 464 href="http://wdune.ourproject.org/$FILE.gz"> 465 $FILE.gz</A> && installp -a -d $FILE all</b> 466 package (*)</a> with documentation 467 <br> 468 $SIZE kB (MD5 checksum: $MD5)<br> 469 This version is linked against dynamic free software libraries from 470 <a href="http://www.bullfreeware.com/download/aix43/" target="_blank"> 471 http://www.bullfreeware.com/download/aix43/</a> <br> 472 <ul> 473 <li><a href="http://www.bullfreeware.com/download/aix43/gcc-3.0.1.0.exe" target="_blank">gcc 3.3</a> 474 <li><a href="http://www.bullfreeware.com/download/aix43/jpeg-6.0.2.0.exe" target="_blank">jpeg v6b</a> 475 <li><a href="http://www.bullfreeware.com/download/aix43/libpng-1.0.9.0.exe" target="_blank">libpng 1.0.9</a> 476 <li><a href="http://www.bullfreeware.com/download/aix43/zlib-1.1.4.0.exe" target="_blank">zlib 1.1.4</a> 477 </ul> 478EOT 479fi 480MD5= 481SIZE= 482FILE= 483 484cat << EOT 485 </td> 486 </tr> 487 <tr><td class="head" align="right" bgcolor="#dfeff7" valign="top">UNIX</td> 488 <td valign="top" bgcolor="#ffffff" class="text"> 489EOT 490 491FILE=$SPARC_PKG.gz 492if test -f $FILE ; then 493 chmod a+r $FILE 494 MD5=`$MD5SUM < $FILE` 495 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 496 cat << EOT 497 white_dune $VERSION <b>SunOS</b> SPARC 5.10 (Solaris 10) (SUN UNIX)<B> 498 gzip -cd <A 499 href="http://wdune.ourproject.org/$SPARC_PKG.gz"> 500 $SPARC_PKG.gz</A> | pkgadd -n -d /dev/fd/0 WHITEdune </B>installable package (*) with documentation 501 <br> 502 $SIZE kB (MD5 checksum: $MD5) 503EOT 504fi 505MD5= 506SIZE= 507FILE= 508 509cat << EOT 510 </td> 511 </tr> 512 <tr><td class="head" align="right" bgcolor="#dfeff7" valign="top"></td> 513 <td valign="top" bgcolor="#DFEFF7" class="text"> 514EOT 515 516FILE=fw_white_dune-$VERSION.tardist 517if test -f $FILE ; then 518 chmod a+r $FILE 519 MD5=`$MD5SUM < $FILE` 520 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 521 cat << EOT 522 white_dune $VERSION <b>IRIX</b> 6.5 (SGI UNIX) <B>swmgr -f <A 523 href="http://wdune.ourproject.org/fw_white_dune-$VERSION.tardist"> 524 fw_white_dune-$VERSION.tardist</A></B> 525 installable package (*) with source and documentation 526 <br> 527 $SIZE kB (MD5 checksum: $MD5) 528EOT 529fi 530MD5= 531SIZE= 532FILE= 533 534cat << EOT 535 </td> 536 </tr> 537 <tr><td class="head" align="right" bgcolor="#dfeff7" valign="top"></td> 538 <td valign="top" bgcolor="#ffffff" class="text"> 539EOT 540 541 542FILE=white_dune_HPUX_PA-RISC-$VERSION 543if test -f $FILE ; then 544 chmod a+r $FILE 545 MD5=`$MD5SUM < $FILE` 546 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 547 cat << EOT 548 <a name="hpux"></a> 549 white_dune </a>$VERSION <b>HPUX</b> 11 550 (HP UNIX) <b> chmod +x 551 <a href="http://wdune.ourproject.org/$FILE"> 552 $FILE</A></b> pure binary (*) 553 <br> 554 $SIZE kB (MD5 checksum: $MD5) 555EOT 556fi 557MD5= 558SIZE= 559FILE= 560 561cat << EOT 562 </td> 563 </tr> 564 <tr><td class="head" align="right" bgcolor="#dfeff7" valign="top"></td> 565 <td valign="top" bgcolor="#DFEFF7" class="text"> 566EOT 567 568FILE=white_dune_TRU64_alpha-$VERSION 569if test -f $FILE ; then 570 chmod a+r $FILE 571 MD5=`$MD5SUM < $FILE` 572 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 573 cat << EOT 574 <a name="tru64"></a> 575 white_dune </a>$VERSION <b>TRU64</b> 5.0a 576 (DEC UNIX) <b> chmod +x 577 <a href="http://wdune.ourproject.org/$FILE"> 578 $FILE</A></b> pure binary (*) 579 <br> 580 $SIZE kB (MD5 checksum: $MD5) 581EOT 582fi 583MD5= 584SIZE= 585FILE= 586 587cat << EOT 588 </td> 589 </tr> 590 <tr><td class="head" align="right" bgcolor="#dfeff7" valign="top"></td> 591 <td valign="top" bgcolor="#ffffff" class="text"> 592EOT 593 594FILE=whitedune-FreeBSD-$VERSION.tbz 595if test -f $FILE ; then 596 chmod a+r $FILE 597 MD5=`$MD5SUM < $FILE` 598 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 599 cat << EOT 600 white_dune $VERSION i386 <b>FreeBSD</b> 7.2-RELEASE 601 <B> pkg_add <a href=http://wdune.ourproject.org/$FILE> 602 $FILE</a></B> 603 installable package (*) with documentation 604 <br> 605 $SIZE kB (MD5 checksum: $MD5) 606EOT 607fi 608MD5= 609SIZE= 610FILE= 611 612FILE=whitedune-OpenBSD-$VERSION.tgz 613if test -f $FILE ; then 614cat << EOT 615 </td> 616 </tr> 617 <tr><td class="head" align="right" bgcolor="#dfeff7" valign="top"></td> 618 <td valign="top" bgcolor="#DFEFF7" class="text"> 619EOT 620 chmod a+r $FILE 621 MD5=`$MD5SUM < $FILE` 622 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 623 cat << EOT 624 white_dune $VERSION i386 <b>OpenBSD</b> 4-? 625 <B> pkg_add <a href=http://wdune.ourproject.org/$FILE> 626 $FILE</a></B> 627 installable package (*) with documentation 628 <br> 629 $SIZE kB (MD5 checksum: $MD5) 630EOT 631fi 632MD5= 633SIZE= 634FILE= 635 636cat << EOT 637 </td> 638 </tr> 639 <tr><td class="head" align="right" bgcolor="#dfeff7" valign="top"> 640 cygwin/X11 (not really UNIX)</td> 641 <td valign="top" bgcolor="#DFEFF7" class="text"> 642EOT 643 644FILE=white_dune_cygwin_x11-$VERSION.exe 645if test -f $FILE ; then 646 chmod a+r $FILE 647 MD5=`$MD5SUM < $FILE` 648 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 649 cat << EOT 650 white_dune $VERSION i386 651 <b><a href="http://cygwin.com">cygwin</a>/<a href="http://x.cygwin.com/">X11</a></b> 652 <a href=http://wdune.ourproject.org/$FILE> 653 white_dune_cygwin_x11-$VERSION</a> 654 pure binary 655 <br> 656 $SIZE kB (MD5 checksum: $MD5) 657EOT 658fi 659MD5= 660SIZE= 661FILE= 662 663 664 665cat << EOT 666 </td> 667 </tr> 668 <tr><td class="head" align="right" bgcolor="#dfeff7" valign="top"> 669 Linux</td> 670 <td valign="top" bgcolor="#ffffff" class="text"> 671EOT 672 673FILE=white_dune-$VERSION-1.src.rpm 674if test -f $FILE ; then 675 chmod a+r $FILE 676 MD5=`$MD5SUM < $FILE` 677 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 678 cat << EOT 679 white_dune $VERSION <B>rpm(build) --rebuild <A 680 href="http://wdune.ourproject.org/$FILE"> 681 $FILE</A></B> 682 (<b>Linux</b>) Source-rpm with documentation 683 <br> 684 $SIZE kB (MD5 checksum: $MD5) 685 <br><br> 686EOT 687else 688 FILE=white_dune-$VERSION-0.src.rpm 689 if test -f $FILE ; then 690 chmod a+r $FILE 691 MD5=`$MD5SUM < $FILE` 692 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 693 cat << EOT 694 white_dune $VERSION <B>rpm --rebuild <A 695 href="http://wdune.ourproject.org/$FILE"> 696 $FILE</A></B> 697 (<b>Linux</b>) Source-rpm with documentation 698 <br> 699 $SIZE kB (MD5 checksum: $MD5) 700 <br><br> 701EOT 702 fi 703fi 704MD5= 705SIZE= 706FILE= 707 708 709FILE=white_dune_fedora16-$VERSION-1.i686.rpm 710if test -f $FILE ; then 711 chmod a+r $FILE 712 MD5=`$MD5SUM < $FILE` 713 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 714 cat << EOT 715 white_dune $VERSION <B>rpm -i <A 716 href="http://wdune.ourproject.org/$FILE"> 717 $FILE</A></B> 718 for i686 Fedora 16 <b>Linux</b> rpm (*) with documentation 719 <br> 720 $SIZE kB (MD5 checksum: $MD5)<br> 721 <br><br> 722EOT 723fi 724MD5= 725SIZE= 726FILE= 727 728 729FILE=white_dune_fedora14-$VERSION-1.i686.rpm 730if test -f $FILE ; then 731 chmod a+r $FILE 732 MD5=`$MD5SUM < $FILE` 733 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 734 cat << EOT 735 white_dune $VERSION <B>rpm -i <A 736 href="http://wdune.ourproject.org/$FILE"> 737 $FILE</A></B> 738 for i686 Fedora 14 <b>Linux</b> rpm (*) with documentation 739 <br> 740 $SIZE kB (MD5 checksum: $MD5)<br> 741 <br><br> 742EOT 743fi 744MD5= 745SIZE= 746FILE= 747 748FILE=white_dune-$VERSION-1.i586.rpm 749if test -f $FILE ; then 750 chmod a+r $FILE 751 MD5=`$MD5SUM < $FILE` 752 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 753 cat << EOT 754 white_dune $VERSION <B>rpm -i <A 755 href="http://wdune.ourproject.org/$FILE"> 756 $FILE</A></B> 757 for i586 SuSE 11.1 <b>Linux</b> rpm (*) with documentation 758 <br> 759 $SIZE kB (MD5 checksum: $MD5)<br> 760 <br><br> 761EOT 762fi 763MD5= 764SIZE= 765FILE= 766 767 768FILE=white_dune_lsb-$VERSION-1.i386.rpm 769if test -f $FILE ; then 770 chmod a+r $FILE 771 MD5=`$MD5SUM < $FILE` 772 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 773 cat << EOT 774 white_dune $VERSION <B>rpm -i <A 775 href="http://wdune.ourproject.org/$FILE"> 776 $FILE</A></B> 777 experimental 778 <a href="http://www.linux-foundation.org/en/Application_Compatibility">LSB</a> 779 <b>Linux</b> rpm based with on NVidia graphics drivers (*) 780 with documentation 781 <br> 782 $SIZE kB (MD5 checksum: $MD5)<br> 783 <!-- 784 (For various i386 RedHat <b>Linux</b> rpm versions not based on NVidia graphics drivers see on the 785 <a href="http://atrpms.physik.fu-berlin.de/name/white_dune/" target="new">ATrpms website</a>) 786 --> 787 <br><br> 788EOT 789fi 790MD5= 791SIZE= 792FILE= 793 794FILE=white_dune-$VERSION-0.i386.rpm 795if test -f $FILE ; then 796 chmod a+r $FILE 797 MD5=`$MD5SUM < $FILE` 798 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 799 cat << EOT 800 white_dune $VERSION <B>rpm -i <A 801 href="http://wdune.ourproject.org/$FILE"> 802 $FILE</A></B> 803 for i386 RedHat 9 <b>Linux</b> rpm based on NVidia graphics drivers (*) with documentation 804 <br> 805 $SIZE kB (MD5 checksum: $MD5)<br> 806 <!-- 807 (For various i386 RedHat <b>Linux</b> rpm versions not based on NVidia graphics drivers see on the 808 <a href="http://atrpms.physik.fu-berlin.de/name/white_dune/" target="new">ATrpms website</a>) 809 --> 810 <br><br> 811EOT 812fi 813MD5= 814SIZE= 815FILE= 816 817FILE=white_dune-$VERSION-1.x86_64.rpm 818if test -f $FILE ; then 819 chmod a+r $FILE 820 MD5=`$MD5SUM < $FILE` 821 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 822 cat << EOT 823 white_dune $VERSION <B>rpm -i <A 824 href="http://wdune.ourproject.org/$FILE"> 825 $FILE</A></B> 826 for 64 Bit PC Scientific Linux 5.1 <b>Linux</b> 827 rpm based on NVidia graphics drivers (*) with documentation 828 <br> 829 $SIZE kB (MD5 checksum: $MD5)<br> 830 <br><br> 831EOT 832fi 833MD5= 834SIZE= 835FILE= 836 837FILE=white_dune-$VERSION-1.mipsel.rpm 838if test -f $FILE ; then 839 chmod a+r $FILE 840 MD5=`$MD5SUM < $FILE` 841 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 842 cat << EOT 843 white_dune $VERSION <B>rpm -i <A 844 href="http://wdune.ourproject.org/$FILE"> 845 $FILE</A></B> 846 Sony Playstation 2 (compiled against mesa3D) <b>Linux</b> rpm (*) with documentation 847 <br> 848 $SIZE kB (MD5 checksum: $MD5) 849 <br><br> 850EOT 851fi 852MD5= 853SIZE= 854FILE= 855 856FILE=white_dune_olpc11.3.0-$VERSION-1.i386.rpm 857if test -f $FILE ; then 858 chmod a+r $FILE 859 MD5=`$MD5SUM < $FILE` 860 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 861 cat << EOT 862 white_dune $VERSION <B>rpm -i <A 863 href="http://wdune.ourproject.org/$FILE"> 864 $FILE</A></B> 865 experimental rpm (*) with documentation for the 866 <a href="http://laptop.org/">OLPC (Version 1)</a> 867 running <b>Linux</b> Version 11.3.0 868 <br> 869 $SIZE kB (MD5 checksum: $MD5)<br> 870 <br><br> 871EOT 872fi 873MD5= 874SIZE= 875FILE= 876 877FILE=white_dune_olpc11-$VERSION-1.i386.rpm 878if test -f $FILE ; then 879 chmod a+r $FILE 880 MD5=`$MD5SUM < $FILE` 881 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 882 cat << EOT 883 white_dune $VERSION <B>rpm -i <A 884 href="http://wdune.ourproject.org/$FILE"> 885 $FILE</A></B> 886 experimental rpm (*) with documentation for the 887 <a href="http://laptop.org/">OLPC (Version 1)</a> 888 running <b>Linux</b> Version 11.3.0 889 <br> 890 $SIZE kB (MD5 checksum: $MD5)<br> 891 <br><br> 892EOT 893fi 894MD5= 895SIZE= 896FILE= 897 898FILE=white_dune-$VERSION-i386-1.tgz 899if test -f $FILE ; then 900 chmod a+r $FILE 901 MD5=`$MD5SUM < $FILE` 902 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 903 cat << EOT 904 white_dune $VERSION <B>installpkg <A 905 href="http://wdune.ourproject.org/$FILE"> 906 $FILE</A></B> 907 Slackware 13.37 i386 <b>Linux</b> binary package (*) with documentation 908 <br> 909 $SIZE kB (MD5 checksum: $MD5) 910 911 <br><br> 912EOT 913fi 914MD5= 915SIZE= 916FILE= 917 918FILE=white_dune-$VERSION-i686-1.tgz 919if test -f $FILE ; then 920 chmod a+r $FILE 921 MD5=`$MD5SUM < $FILE` 922 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 923 cat << EOT 924 white_dune $VERSION <B>installpkg <A 925 href="http://wdune.ourproject.org/$FILE"> 926 $FILE</A></B> 927 Slackware 13.37 i686 <b>Linux</b> binary package (*) with documentation 928 <br> 929 $SIZE kB (MD5 checksum: $MD5) 930 931 <br><br> 932EOT 933fi 934MD5= 935SIZE= 936FILE= 937 938FILE=white_dune-$VERSION-x86_64-1.tgz 939if test -f $FILE ; then 940 chmod a+r $FILE 941 MD5=`$MD5SUM < $FILE` 942 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 943 cat << EOT 944 white_dune $VERSION <B>installpkg <A 945 href="http://wdune.ourproject.org/$FILE"> 946 $FILE</A></B> 947 Slackware 13.37 amd64 <b>Linux</b> binary package (*) with documentation 948 <br> 949 $SIZE kB (MD5 checksum: $MD5) 950 951 <br><br> 952EOT 953fi 954MD5= 955SIZE= 956FILE= 957 958FILE=white_dune_slackware_2.1-$VERSION-i386-1.tgz 959if test -f $FILE ; then 960 chmod a+r $FILE 961 MD5=`$MD5SUM < $FILE` 962 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 963 cat << EOT 964 white_dune $VERSION <B>installpkg <A 965 href="http://wdune.ourproject.org/$FILE"> 966 $FILE</A></B> 967 Slackware 2.1 <b>Linux</b> binary package with documentation 968 <br> 969 $SIZE kB (MD5 checksum: $MD5) 970 971 <br><br> 972EOT 973fi 974MD5= 975SIZE= 976FILE= 977 978 979FILE=whitedune_$VERSION-1_i386.deb 980if test -f $FILE ; then 981 DEBFILE=$FILE 982 chmod a+r $FILE 983 MD5=`$MD5SUM < $FILE` 984 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 985 cat << EOT 986 white_dune $VERSION <B>dpkg -i <A 987 href="http://wdune.ourproject.org/$FILE"> 988 $FILE</A></B> 989 experimental debian "squeeze" <b>Linux</b> i386 binary package (*) with documentation 990 <br> 991 $SIZE kB (MD5 checksum: $MD5) 992 <br><br> 993EOT 994 sh ./repository-update.sh $FILE 1>&2 995fi 996MD5= 997SIZE= 998FILE= 999 1000FILE=white_dune_squeeze-$VERSION-1_i386.deb 1001if test -f $FILE ; then 1002 DEBFILE=$FILE 1003 chmod a+r $FILE 1004 MD5=`$MD5SUM < $FILE` 1005 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 1006 cat << EOT 1007 white_dune $VERSION <B>dpkg -i <A 1008 href="http://wdune.ourproject.org/$FILE"> 1009 $FILE</A></B> 1010 experimental debian "squeeze" <b>Linux</b> i386 binary package (*) with documentation 1011 <br> 1012 $SIZE kB (MD5 checksum: $MD5) 1013 <br><br> 1014EOT 1015 sh ./repository-update.sh $FILE 1>&2 1016fi 1017MD5= 1018SIZE= 1019FILE= 1020 1021FILE=whitedune_$VERSION-1_amd64.deb 1022if test -f $FILE ; then 1023 DEBFILE=$FILE 1024 chmod a+r $FILE 1025 MD5=`$MD5SUM < $FILE` 1026 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 1027 cat << EOT 1028 white_dune $VERSION <B>dpkg -i <A 1029 href="http://wdune.ourproject.org/$FILE"> 1030 $FILE</A></B> 1031 experimental debian "lenny" <b>Linux</b> amd64 binary package (*) with documentation 1032 <br> 1033 $SIZE kB (MD5 checksum: $MD5) 1034 <br><br> 1035EOT 1036 sh ./repository-update.sh $FILE 1>&2 1037fi 1038MD5= 1039SIZE= 1040FILE= 1041 1042FILE=whitedune_lenny_$VERSION-1_i386.deb 1043if test -f $FILE ; then 1044 DEBFILE=$FILE 1045 chmod a+r $FILE 1046 MD5=`$MD5SUM < $FILE` 1047 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 1048 cat << EOT 1049 white_dune $VERSION <B>dpkg -i <A 1050 href="http://wdune.ourproject.org/$FILE"> 1051 $FILE</A></B> 1052 experimental debian "lenny" <b>Linux</b> i386 binary package (*) with documentation 1053 <br> 1054 $SIZE kB (MD5 checksum: $MD5) 1055 <br><br> 1056EOT 1057 sh ./repository-update.sh $FILE 1>&2 1058fi 1059MD5= 1060SIZE= 1061FILE= 1062 1063FILE=whitedune_lenny_$VERSION-1_amd64.deb 1064if test -f $FILE ; then 1065 DEBFILE=$FILE 1066 chmod a+r $FILE 1067 MD5=`$MD5SUM < $FILE` 1068 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 1069 cat << EOT 1070 white_dune $VERSION <B>dpkg -i <A 1071 href="http://wdune.ourproject.org/$FILE"> 1072 $FILE</A></B> 1073 experimental debian "lenny" <b>Linux</b> amd64 binary package (*) with documentation 1074 <br> 1075 $SIZE kB (MD5 checksum: $MD5) 1076 <br><br> 1077EOT 1078 sh ./repository-update.sh $FILE 1>&2 1079fi 1080MD5= 1081SIZE= 1082FILE= 1083 1084FILE=whitedune_squeeze_$VERSION-1_i386.deb 1085if test -f $FILE ; then 1086 DEBFILE=$FILE 1087 chmod a+r $FILE 1088 MD5=`$MD5SUM < $FILE` 1089 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 1090 cat << EOT 1091 white_dune $VERSION <B>dpkg -i <A 1092 href="http://wdune.ourproject.org/$FILE"> 1093 $FILE</A></B> 1094 experimental debian "squeeze" <b>Linux</b> i386 binary package (*) with documentation 1095 <br> 1096 $SIZE kB (MD5 checksum: $MD5) 1097 <br><br> 1098EOT 1099 sh ./repository-update.sh $FILE 1>&2 1100fi 1101MD5= 1102SIZE= 1103FILE= 1104 1105FILE=whitedune_squeeze_$VERSION-1_amd64.deb 1106if test -f $FILE ; then 1107 DEBFILE=$FILE 1108 chmod a+r $FILE 1109 MD5=`$MD5SUM < $FILE` 1110 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 1111 cat << EOT 1112 white_dune $VERSION <B>dpkg -i <A 1113 href="http://wdune.ourproject.org/$FILE"> 1114 $FILE</A></B> 1115 experimental debian "squeeze" <b>Linux</b> amd64 binary package (*) with documentation 1116 <br> 1117 $SIZE kB (MD5 checksum: $MD5) 1118 <br><br> 1119EOT 1120 sh ./repository-update.sh $FILE 1>&2 1121fi 1122MD5= 1123SIZE= 1124FILE= 1125 1126FILE=whitedune_$VERSION-1_powerpc.deb 1127if test -f $FILE ; then 1128 DEBFILE=$FILE 1129 chmod a+r $FILE 1130 MD5=`$MD5SUM < $FILE` 1131 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 1132 cat << EOT 1133 white_dune $VERSION <B>dpkg -i <A 1134 href="http://wdune.ourproject.org/$FILE"> 1135 $FILE</A></B> 1136 experimental debian "squeeze" <b>Linux</b> powerpc binary package (*) with documentation 1137 <br> 1138 $SIZE kB (MD5 checksum: $MD5) 1139 <br><br> 1140EOT 1141 sh ./repository-update.sh $FILE 1>&2 1142fi 1143MD5= 1144SIZE= 1145FILE= 1146 1147FILE=white_dune_ubuntu-$VERSION-1_i386.deb 1148if test -f $FILE ; then 1149 chmod a+r $FILE 1150 MD5=`$MD5SUM < $FILE` 1151 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 1152 cat << EOT 1153 white_dune $VERSION <B>dpkg -i <A 1154 href="http://wdune.ourproject.org/$FILE"> 1155 $FILE</A></B> 1156 experimental ubuntu 10.4 <b>Linux</b> i386 binary package (*) with documentation <br> 1157 $SIZE kB (MD5 checksum: $MD5)<br> 1158 <br><br> 1159EOT 1160 sh ./repository-update.sh $FILE $DEBFILE 1>&2 1161fi 1162MD5= 1163SIZE= 1164FILE= 1165 1166FILE=whitedune_$VERSION''german-1_i386.deb 1167if test -f $FILE ; then 1168 chmod a+r $FILE 1169 MD5=`$MD5SUM < $FILE` 1170 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 1171 cat << EOT 1172 <img src="docs/deutsch.jpg"> white_dune $VERSION <b>dpkg -i<A 1173 href="http://wdune.ourproject.org/$FILE"> 1174 $FILE</a> </b> ausf�hrbares Programm in deutscher Sprache f�r 1175 debian <b>Linux</b> i386 mit Dokumentation 1176 <br> 1177 $SIZE kB (MD5 checksum: $MD5) 1178 <br><br> 1179EOT 1180fi 1181MD5= 1182SIZE= 1183FILE= 1184 1185 1186FILE=white_dune-$VERSION-gentoo.tar.gz 1187if test -f $FILE ; then 1188 chmod a+r $FILE 1189 MD5=`$MD5SUM < $FILE` 1190 SIZE=`ls -l $FILE | awk '{print int($5/1000)}'` 1191 cat << EOT 1192 <BR>white_dune $VERSION <b> tar -xzPf <A 1193 href="http://wdune.ourproject.org/$FILE"> 1194 $FILE</A> && emerge /usr/portage/media-gfx/white_dune/white_dune-$MAYOR.$MINOR.ebuild 1195 </B> gentoo <b>Linux</b> source file 1196 <br> 1197 $SIZE kB (MD5 checksum: $MD5) 1198 <br><br> 1199EOT 1200fi 1201MD5= 1202SIZE= 1203FILE= 1204 1205 1206cat << EOT 1207 </td> 1208 </tr> 1209EOT 1210 1211 1212cat << EOT 1213</table> 1214EOT 1215