cookutils view web/cooker.cgi @ rev 820

cooker.cgi: show previous logs (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 13 15:36:57 2016 +0200 (2016-07-13)
parents 3ecb0788b8eb
children be4d63483b42
line source
1 #!/bin/sh
2 #
3 # SliTaz Cooker CGI/web interface.
4 #
6 . /usr/lib/slitaz/httphelper.sh
8 [ -f "/etc/slitaz/cook.conf" ] && . /etc/slitaz/cook.conf
9 [ -f "cook.conf" ] && . ./cook.conf
11 # The same wok as cook.
12 wok="$WOK"
14 # Cooker DB files.
15 activity="$CACHE/activity"
16 commits="$CACHE/commits"
17 cooklist="$CACHE/cooklist"
18 cookorder="$CACHE/cookorder"
19 command="$CACHE/command"
20 blocked="$CACHE/blocked"
21 broken="$CACHE/broken"
22 cooknotes="$CACHE/cooknotes"
23 cooktime="$CACHE/cooktime"
24 wokrev="$CACHE/wokrev"
26 # We're not logged and want time zone to display correct server date.
27 export TZ=$(cat /etc/TZ)
29 case "$QUERY_STRING" in
30 recook=*)
31 case "$HTTP_USER_AGENT" in
32 *SliTaz*)
33 grep -qs "^${QUERY_STRING#recook=}$" $CACHE/recook-packages ||
34 echo ${QUERY_STRING#recook=} >> $CACHE/recook-packages
35 esac
36 cat <<EOT
37 Location: ${HTTP_REFERER:-${REQUEST_URI%\?*}}
39 EOT
40 exit ;;
41 poke)
42 touch $CACHE/cooker-request
43 cat <<EOT
44 Location: ${HTTP_REFERER:-${REQUEST_URI%\?*}}
46 EOT
47 exit ;;
48 download*)
49 file=$(busybox httpd -d "$PKGS/${QUERY_STRING#*=}")
50 cat <<EOT
51 Content-Type: application/octet-stream
52 Content-Length: $(stat -c %s "$file")
53 Content-Disposition: attachment; filename="$(basename "$file")"
55 EOT
56 cat "$file"
57 exit ;;
58 rss)
59 cat <<EOT
60 Content-Type: application/rss+xml
62 EOT
63 ;;
64 *)
65 cat <<EOT
66 Content-Type: text/html; charset=utf-8
68 EOT
69 ;;
70 esac
73 # RSS feed generator
74 if [ "$QUERY_STRING" == 'rss' ]; then
75 pubdate=$(date -R)
76 cat <<EOT
77 <?xml version="1.0" encoding="utf-8" ?>
78 <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
79 <channel>
80 <title>SliTaz Cooker</title>
81 <description>The SliTaz packages cooker feed</description>
82 <link>$COOKER_URL</link>
83 <lastBuildDate>$pubdate</lastBuildDate>
84 <pubDate>$pubdate</pubDate>
85 <atom:link href="http://cook.slitaz.org/?rss" rel="self" type="application/rss+xml" />
86 EOT
87 for rss in $(ls -lt $FEEDS/*.xml | head -n 12); do
88 cat $rss | sed 's|<guid|& isPermaLink="false"|g;s|</pubDate| GMT&|g'
89 done
90 cat <<EOT
91 </channel>
92 </rss>
93 EOT
94 exit 0
95 fi
98 #
99 # Functions
100 #
103 # Unpack to stdout
105 docat() {
106 case "$1" in
107 *gz) zcat ;;
108 *bz2) bzcat ;;
109 *xz) xzcat ;;
110 *) cat
111 esac < $1
112 }
115 # Tiny texinfo browser
117 info2html() {
118 sed \
119 -e 's|&|\&amp;|g' -e 's|<|\&lt;|g' \
120 -e 's|^\* \(.*\)::|* <a href="#\1">\1</a> |' \
121 -e 's|\*note \(.*\)::|<a href="#\1">\1</a>|' \
122 -e '/^File: /s|(dir)|Top|g' \
123 -e '/^File: /s|Node: \([^,]*\)|Node: <a name="\1"></a><u>\1</u>|' \
124 -e '/^File: /s|Next: \([^,]*\)|Next: <a href="#\1">\1</a>|' \
125 -e '/^File: /s|Prev: \([^,]*\)|Prev: <a href="#\1">\1</a>|' \
126 -e '/^File: /s|Up: \([^,]*\)|Up: <a href="#\1">\1</a>|' \
127 -e '/^File: /s|^.*$|<i>&</i>|' \
128 -e '/^Tag Table:$/,/^End Tag Table$/d' \
129 -e '/INFO-DIR/,/^END-INFO-DIR/d' \
130 -e "s|https*://[^>),'\"\` ]*|<a href=\"&\">&</a>|g" \
131 -e "s|ftp://[^>),\"\` ]*|<a href=\"&\">&</a>|g"
132 }
135 # Put some colors in log and DB files.
137 syntax_highlighter() {
138 case $1 in
139 log)
140 # If variables not defined - define them with some rare values
141 : ${_src=#_#_#}
142 : ${_install=#_#_#}
143 : ${_fs=#_#_#}
144 : ${_stuff=#_#_#}
145 sed -e 's/&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g' \
146 -e 's#OK$#<span class="span-ok">OK</span>#g' \
147 -e 's#Done$#<span class="span-ok">Done</span>#g' \
148 -e 's#yes$#<span class="span-ok">yes</span>#g' \
149 -e 's#no$#<span class="span-no">no</span>#g' \
150 -e 's#error$#<span class="span-red">error</span>#g' \
151 -e 's#ERROR:#<span class="span-red">ERROR:</span>#g' \
152 -e 's#WARNING:#<span class="span-red">WARNING:</span>#g' \
153 -e s"#^Executing:\([^']*\).#<span class='sh-val'>\0</span>#"g \
154 -e s"#^====\([^']*\).#<span class='span-line'>\0</span>#"g \
155 -e s"#^[a-zA-Z0-9]\([^']*\) :: #<span class='span-sky'>\0</span>#"g \
156 -e s"#ftp://[^ '\"]*#<a href='\0'>\0</a>#"g \
157 -e s"#http://[^ '\"]*#<a href='\0'>\0</a>#"g | \
158 sed "s|$_src|<span class='var'>\${src}</span>|g;
159 s|$_install|<span class='var'>\${install}</span>|g;
160 s|$_fs|<span class='var'>\${fs}</span>|g;
161 s|$_stuff|<span class='var'>\${stuff}</span>|g"
162 ;;
164 receipt)
165 sed -e s'|&|\&amp;|g' -e 's|<|\&lt;|g' -e 's|>|\&gt;|'g \
166 -e s"#^\#\([^']*\)#<span class='sh-comment'>\0</span>#"g \
167 -e s"#\"\([^']*\)\"#<span class='sh-val'>\0</span>#"g ;;
169 diff)
170 sed -e 's|&|\&amp;|g' -e 's|<|\&lt;|g' -e 's|>|\&gt;|g' \
171 -e s"#^-\([^']*\).#<span class='span-red'>\0</span>#"g \
172 -e s"#^+\([^']*\).#<span class='span-ok'>\0</span>#"g \
173 -e s"#@@\([^']*\)@@#<span class='span-sky'>@@\1@@</span>#"g ;;
175 activity)
176 sed s"#^\([^']* : \)#<span class='log-date'>\0</span>#"g ;;
177 esac
178 }
181 # Latest build pkgs.
183 list_packages() {
184 cd $PKGS
185 ls -1t *.tazpkg | head -20 | \
186 while read file; do
187 echo -n $(TZ=UTC stat -c '%y' $PKGS/$file | cut -d . -f 1 | sed s/:[0-9]*$//)
188 echo " : $file"
189 done
190 }
193 # Optional full list button
195 more_button() {
196 [ $(wc -l < ${3:-$CACHE/$1}) -gt ${4:-12} ] && cat <<EOT
197 <div style="float: right;">
198 <a class="button" href="?file=$1">$2</a>
199 </div>
200 EOT
201 }
204 # Show the running command and its progression
206 running_command()
207 {
208 local state="Not running"
209 if [ -s "$command" ]; then
210 state="$(cat $command)"
211 if grep -q "^$state" $cooktime ; then
212 set -- $(cat $cooktime)
213 state="$state $((($(date +%s)-$3)*100/$2))%"
214 [ $2 -gt 300 ] && state="$state (should end $(date -u -d @$(($2+$3))))"
215 fi
216 fi
217 echo $state
218 }
221 # xHTML header. Pages can be customized with a separated html.header file.
223 if [ -f "header.html" ]; then
224 cat header.html
225 else
226 cat <<EOT
227 <!DOCTYPE html>
228 <html lang="en">
229 <head>
230 <meta charset="utf-8"/>
231 <title>SliTaz Cooker</title>
232 <link rel="shortcut icon" href="favicon.ico"/>
233 <link rel="stylesheet" type="text/css" href="style.css"/>
234 <meta name="robots" content="nofollow">
235 </head>
236 <body>
238 <div id="header">
239 <div id="logo"></div>
240 <h1><a href="cooker.cgi">SliTaz Cooker</a></h1>
241 </div>
243 <!-- Content -->
244 <div id="content">
245 EOT
246 fi
249 #
250 # Load requested page
251 #
253 case "${QUERY_STRING}" in
254 pkg=*)
255 pkg=${QUERY_STRING#pkg=}
256 log=$LOGS/$pkg.log
257 echo "<h2>Package: $pkg</h2>"
259 # Define cook variables for syntax highlighter
260 if [ -s "$WOK/$pkg/receipt" ]; then
261 . "$WOK/$pkg/receipt"
262 _wok='/home/slitaz/wok'
263 _src="$_wok/$pkg/source/$PACKAGE-$VERSION"
264 _install="$_wok/$pkg/install"
265 _fs="$_wok/$pkg/taz/$PACKAGE-$VERSION/fs"
266 _stuff="$_wok/$pkg/stuff"
267 fi
269 # Package info.
270 echo '<div id="info">'
271 if [ -f "$wok/$pkg/receipt" ]; then
272 echo "<a href='?receipt=$pkg'>receipt</a>"
273 unset WEB_SITE
274 . $wok/$pkg/receipt
276 [ -n "$WEB_SITE" ] && # busybox wget -s $WEB_SITE &&
277 echo "<a href='$WEB_SITE'>home</a>"
279 if [ -f "$wok/$pkg/taz/$PACKAGE-$VERSION/receipt" ]; then
280 echo "<a href='?files=$pkg'>files</a>"
281 unset EXTRAVERSION
282 . $wok/$pkg/taz/$PACKAGE-$VERSION/receipt
283 if [ -f $wok/$pkg/taz/$PACKAGE-$VERSION/description.txt ]; then
284 echo "<a href='?description=$pkg'>description</a>"
285 fi
286 if [ -f $PKGS/$PACKAGE-$VERSION$EXTRAVERSION.tazpkg ]; then
287 echo "<a href='?download=$PACKAGE-$VERSION$EXTRAVERSION.tazpkg'>download</a>"
288 fi
289 if [ -f $PKGS/$PACKAGE-$VERSION$EXTRAVERSION-$ARCH.tazpkg ]; then
290 echo "<a href='?download=$PACKAGE-$VERSION$EXTRAVERSION-$ARCH.tazpkg'>download</a>"
291 fi
292 fi
293 [ -x ./man2html ] &&
294 if [ -d $wok/$pkg/install/usr/man -o -d $wok/$pkg/install/usr/share/man ]; then
295 echo "<a href='?man=$PACKAGE'>man</a>"
296 fi
297 if [ -d $wok/$pkg/install/usr/doc -o -d $wok/$pkg/install/usr/share/doc ]; then
298 echo "<a href='?doc=$PACKAGE'>doc</a>"
299 fi
300 if [ -d $wok/$pkg/install/usr/info -o -d $wok/$pkg/install/usr/share/info ]; then
301 echo "<a href='?info=$PACKAGE'>info</a>"
302 fi
303 echo "<a href='ftp://${HTTP_HOST%:*}/$pkg/'>browse</a>"
304 else
305 if [ $(ls $wok/*$pkg*/receipt 2> /dev/null | wc -l) -eq 0 ]; then
306 echo "No package named: $pkg"
307 else
308 ls $wok/$pkg/receipt >/dev/null 2>&1 || pkg="*$pkg*"
309 echo '<table style="width:100%">'
310 for i in $(cd $wok ; ls $pkg/receipt); do
311 pkg=$(dirname $i)
312 unset SHORT_DESC CATEGORY
313 . $wok/$pkg/receipt
314 cat <<EOT
315 <tr>
316 <td><a href="?pkg=$pkg">$pkg</a></td>
317 <td>$SHORT_DESC</td>
318 <td>$CATEGORY</td>
319 </tr>
320 EOT
321 done
322 echo '</table>'
323 unset pkg
324 fi
325 fi
326 echo '</div>'
328 # Check for a log file and display summary if it exists.
329 if [ -f "$log" ]; then
330 if grep -q "cook:$pkg$" $command; then
331 echo "<pre>The Cooker is currently building: $pkg</pre>"
332 fi
333 if fgrep -q "Summary for:" $LOGS/$pkg.log; then
334 echo '<h3>Cook summary</h3>'
335 echo '<pre>'
336 grep -A 12 "^Summary for:" $LOGS/$pkg.log | sed /^$/d | \
337 syntax_highlighter log
338 echo '</pre>'
339 fi
340 if fgrep -q "Debug information" $LOGS/$pkg.log; then
341 echo '<h3>Cook failed</h3>'
342 echo '<pre>'
343 grep -A 8 "^Debug information" $LOGS/$pkg.log | sed /^$/d | \
344 syntax_highlighter log
345 echo '</pre>'
346 fi
347 echo "<h3>Cook log $(stat -c %y $log | sed 's/:..\..*//')</h3>"
348 for i in $(ls -t $log.*); do
349 echo -n "<a href=\"?log=$(basename $i)\">"
350 echo "$(stat -c %y $i | sed 's/ .*//')</a>"
351 done
352 echo '<pre>'
353 cat $log | syntax_highlighter log
354 echo '</pre>'
355 case "$HTTP_USER_AGENT" in
356 *SliTaz*)
357 [ -f $CACHE/cooker-request ] && [ -n "$HTTP_REFERER" ] &&
358 echo "<a class=\"button\" href=\"?recook=$pkg\">Recook $pkg</a>"
359 esac
360 else
361 [ "$pkg" ] && echo "<pre>No log: $pkg</pre>"
362 fi ;;
364 log=*)
365 log=${QUERY_STRING#log=}
366 if [ -s $log ]; then
367 echo "<h3>Cook log $(stat -c %y $log | sed 's/:..\..*//')</h3>"
368 echo '<pre>'
369 cat $log | syntax_highlighter log
370 echo '</pre>'
371 fi
372 ;;
373 file=*)
374 # Don't allow all files on the system for security reasons.
375 file=${QUERY_STRING#file=}
376 case "$file" in
377 activity|cooknotes|cooklist)
378 [ "$file" == "cooklist" ] && \
379 nb="- Packages: $(cat $cooklist | wc -l)"
380 echo "<h2>DB: $file $nb</h2>"
381 echo '<pre>'
382 tac $CACHE/$file | syntax_highlighter activity
383 echo '</pre>' ;;
385 broken)
386 nb=$(cat $broken | wc -l)
387 echo "<h2>DB: broken - Packages: $nb</h2>"
388 echo '<pre>'
389 cat $CACHE/$file | sort | \
390 sed s"#^[^']*#<a href='?pkg=\0'>\0</a>#"g
391 echo '</pre>' ;;
393 *.diff)
394 diff=$CACHE/$file
395 echo "<h2>Diff for: ${file%.diff}</h2>"
396 [ "$file" == "installed.diff" ] && echo \
397 "<p>This is the latest diff between installed packages \
398 and installed build dependencies to cook.</p>"
399 echo '<pre>'
400 cat $diff | syntax_highlighter diff
401 echo '</pre>' ;;
403 *.log)
404 log=$LOGS/$file
405 name=$(basename $log)
406 echo "<h2>Log for: ${name%.log}</h2>"
407 if [ -f "$log" ]; then
408 if fgrep -q "Summary" $log; then
409 echo '<pre>'
410 grep -A 20 "^Summary" $log | sed /^$/d | \
411 syntax_highlighter log
412 echo '</pre>'
413 fi
414 echo '<pre>'
415 cat $log | syntax_highlighter log
416 echo '</pre>'
417 else
418 echo "<pre>No log file: $log</pre>"
419 fi ;;
420 esac ;;
422 stuff=*)
423 file=${QUERY_STRING#stuff=}
424 echo "<h2>$file</h2>"
425 echo '<pre>'
426 cat $wok/$file | sed 's/&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'
427 echo '</pre>' ;;
429 receipt=*)
430 pkg=${QUERY_STRING#receipt=}
431 echo "<h2>Receipt for: $pkg</h2>"
432 if [ -f "$wok/$pkg/receipt" ]; then
433 ( cd $wok/$pkg ; find stuff -type f 2> /dev/null ) | \
434 while read file ; do
435 echo "<a href=\"?stuff=$pkg/$file\">$file</a>"
436 done
437 echo '<pre>'
438 cat $wok/$pkg/receipt | \
439 syntax_highlighter receipt
440 echo '</pre>'
441 else
442 echo "<pre>No receipt for: $pkg</pre>"
443 fi ;;
445 files=*)
446 pkg=${QUERY_STRING#files=}
447 dir=$(ls -d $WOK/$pkg/taz/$pkg-*)
448 if [ -d "$dir/fs" ]; then
449 echo "<h2>Installed files by: $pkg ($(du -hs $dir/fs | awk '{ print $1 }'))</h2>"
450 echo '<pre>'
451 find $dir/fs -not -type d -print0 | xargs -0 ls -ld | \
452 sed "s|\(.*\) /.*\(${dir#*wok}/fs\)\(.*\)|\1 <a href=\"?download=../wok\2\3\">\3</a>|;s|^\([^-].*\)\(<a.*\)\">\(.*\)</a>|\1\3|"
453 echo '</pre>'
454 else
455 echo "<pre>No files list for: $pkg</pre>"
456 fi ;;
458 description=*)
459 pkg=${QUERY_STRING#description=}
460 echo "<h2>Description of $pkg</h2>"
461 dir=$(ls -d $WOK/$pkg/taz/$pkg-*)
462 if [ -s "$dir/description.txt" ]; then
463 echo '<pre>'
464 cat $dir/description.txt | \
465 sed 's/&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'
466 echo '</pre>'
467 else
468 echo "<pre>No description for: $pkg</pre>"
469 fi ;;
471 man=*|doc=*|info=*)
472 type=${QUERY_STRING%%=*}
473 pkg=$(GET $type)
474 dir=$WOK/$pkg/install/usr/share/$type
475 [ -d $dir ] || dir=$WOK/$pkg/install/usr/$type
476 page=$(GET file)
477 if [ -z "$page" ]; then
478 page=$(find $dir -type f | sed q)
479 page=${page#$dir/}
480 fi
481 find $dir -type f | while read file ; do
482 [ -s $file ] || continue
483 case "$file" in
484 *.jp*g|*.png|*.gif|*.svg) continue
485 esac
486 file=${file#$dir/}
487 echo "<a href='?$type=$pkg&amp;file=$file'>$(basename $file)</a>"
488 done
489 echo "<h2>$(basename $page)</h2>"
490 tmp="$(mktemp)"
491 docat "$dir/$page" > $tmp
492 [ -s "$tmp" ] && case "$type" in
493 info)
494 echo '<pre>'
495 info2html < "$tmp"
496 echo '</pre>' ;;
497 doc)
498 echo '<pre>'
499 case "$page" in
500 *.htm*) cat ;;
501 *) sed 's/&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'
502 esac < "$tmp"
503 echo '</pre>' ;;
504 man)
505 export TEXTDOMAIN='man2html'
506 ./man2html "$tmp" | sed -e '1,/<header>/d' \
507 -e 's|<a href="file:///[^>]*>\([^<]*\)</a>|\1|g' \
508 -e 's|<a href="?[1-9]\+[^>]*>\([^<]*\)</a>|\1|g' ;;
509 esac
510 rm -f $tmp
511 ;;
512 *)
513 # We may have a toolchain.cgi script for cross cooker's
514 if [ -f "toolchain.cgi" ]; then
515 toolchain='toolchain.cgi'
516 else
517 toolchain='?pkg=slitaz-toolchain'
518 fi
519 # Main page with summary. Count only package include in ARCH,
520 # use 'cooker arch-db' to manually create arch.$ARCH files.
521 inwok=$(ls $WOK/*/arch.$ARCH | wc -l)
522 cooked=$(ls $PKGS/*.tazpkg | wc -l)
523 unbuilt=$(($inwok - $cooked))
524 pct=0
525 [ $inwok -gt 0 ] && pct=$(( ($cooked * 100) / $inwok ))
526 cat <<EOT
527 <div style="float: right;">
528 <form method="get" action="$SCRIPT_NAME">
529 Package:
530 <input type="text" name="pkg" />
531 </form>
532 </div>
534 <h2>Summary</h2>
536 <pre>
537 Running command : $(running_command)
538 Wok revision : <a href="$WOK_URL">$(cat $wokrev)</a>
539 Commits to cook : $(cat $commits | wc -l)
540 Current cooklist : $(cat $cooklist | wc -l)
541 Broken packages : $(cat $broken | wc -l)
542 Blocked packages : $(cat $blocked | wc -l)
543 </pre>
544 EOT
545 [ -e $CACHE/cooker-request ] &&
546 [ $CACHE/activity -nt $CACHE/cooker-request ] && cat <<EOT
547 <div style="float: right;">
548 <a class="button" href="?poke">Poke cooker</a>
549 </div>
550 EOT
551 cat <<EOT
552 <p class="info">
553 Packages: $inwok in the wok | $cooked cooked | $unbuilt unbuilt |
554 Server date: $(date -u '+%F %R %Z')
555 </p>
556 <div class="pctbar">
557 <div class="pct" style="width: ${pct}%;">${pct}%</div>
558 </div>
560 <p>
561 Latest:
562 <a href="?file=cookorder.log">cookorder.log</a>
563 <a href="?file=commits.log">commits.log</a>
564 <a href="?file=pkgdb.log">pkgdb.log</a>
565 <a href="?file=installed.diff">installed.diff</a>
566 - Architecture $ARCH:
567 <a href="$toolchain">toolchain</a>
568 </p>
570 $(more_button activity "More activity" $CACHE/activity 12)
571 <h2 id="activity">Activity</h2>
572 <pre>
573 $(tac $CACHE/activity | head -n 12 | syntax_highlighter activity)
574 </pre>
575 EOT
577 [ -s $cooknotes ] && cat <<EOT
578 $(more_button cooknotes "More notes" $cooknotes 12)
579 <h2 id="cooknotes">Cooknotes</h2>
580 <pre>
581 $(tac $cooknotes | head -n 12 | syntax_highlighter activity)
582 </pre>
583 EOT
585 [ -s $commits ] && cat <<EOT
586 <h2 id="commits">Commits</h2>
587 <pre>
588 $(cat $commits)
589 </pre>
590 EOT
592 [ -s $cooklist ] && cat <<EOT
593 $(more_button cooklist "Full cooklist" $cooklist 20)
594 <h2 id="cooklist">Cooklist</h2>
595 <pre>
596 $(cat $cooklist | head -n 20)
597 </pre>
598 EOT
600 [ -s $broken ] && cat <<EOT
601 $(more_button broken "All broken packages" $broken 20)
602 <h2 id="broken">Broken</h2>
603 <pre>
604 $(cat $broken | head -n 20 | sed s"#^[^']*#<a href='?pkg=\0'>\0</a>#"g)
605 </pre>
606 EOT
608 [ -s $blocked ] && cat <<EOT
609 <h2 id="blocked">Blocked</h2>
610 <pre>
611 $(cat $blocked | sed s"#^[^']*#<a href='?pkg=\0'>\0</a>#"g)
612 </pre>
613 EOT
615 cat <<EOT
616 <h2 id="lastcook">Latest cook</h2>
617 <pre>
618 $(list_packages | sed s"#^\([^']*\).* : #<span class='log-date'>\0</span>#"g)
619 </pre>
620 EOT
621 ;;
622 esac
625 # Close xHTML page
627 cat <<EOT
628 </div>
630 <div id="footer">
631 <a href="http://www.slitaz.org/">SliTaz Website</a>
632 <a href="cooker.cgi">Cooker</a>
633 <a href="http://hg.slitaz.org/cookutils/raw-file/tip/doc/cookutils.en.html">
634 Documentation</a>
635 </div>
637 </body>
638 </html>
639 EOT
641 exit 0