tiny-slitaz annotate index.php @ rev 32

Do not suggest packages twice
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 26 13:55:40 2019 +0200 (2019-09-26)
parents af73cc7ea672
children d968049fa2bd
rev   line source
pascal@0 1 <?php
pascal@0 2 include "download.php";
pascal@6 3 $static = "http://mirror1.slitaz.org/static/";
pascal@0 4 ?>
pascal@6 5 <!DOCTYPE html>
pascal@6 6 <html lang="en">
pascal@0 7 <head>
pascal@6 8 <meta charset="UTF-8">
pascal@0 9 <title>Tiny SliTaz - Builder</title>
pascal@6 10 <meta name="description" content="Tiny SliTaz Linux">
pascal@28 11 <meta name="keywords" lang="en" content="tiny slitaz, uclibc, tcc">
pascal@6 12 <meta name="robots" content="index, follow, all">
pascal@6 13 <meta name="revisit-after" content="7 days">
pascal@6 14 <meta name="expires" content="never">
pascal@6 15 <meta name="modified" content="<?php echo (date( "Y-m-d H:i:s", getlastmod())); ?>">
pascal@6 16 <meta name="viewport" content="width=device-width, initial-scale=1">
pascal@6 17 <meta name="author" content="SliTaz Contributors">
pascal@6 18 <meta name="publisher" content="www.slitaz.org">
pascal@7 19 <link rel="shortcut icon" href="favicon.ico">
pascal@7 20 <link rel="stylesheet" href="slitaz.min.css">
pascal@6 21 <link rel="stylesheet" href="tiny.css">
pascal@6 22 <style>pre, tt, code { font-size: 0.9rem; }</style>
pascal@0 23 </head>
pascal@0 24 <body>
pascal@0 25
pascal@6 26 <script>de=document.documentElement;de.className+=(("ontouchstart" in de)?' touch':' no-touch');</script>
pascal@6 27
pascal@6 28 <header>
pascal@6 29 <h1 id="top"><a href="http://tiny.slitaz.org/">Tiny SliTaz</a></h1>
pascal@6 30 <div class="network">
pascal@6 31 <a href="http://www.slitaz.org/" class="home"></a>
pascal@0 32 <!-- Get static files from Mirror Files vhost -->
pascal@0 33 <!-- <img src="http://mf.slitaz.org/images/people.png" alt="[ Group ]" /> -->
pascal@0 34 Tiny:
pascal@6 35 <!-- a href="http://scn.slitaz.org/groups/tiny">Group</a -->
pascal@0 36 <a href="http://forum.slitaz.org/forum/tiny">Forum</a>
pascal@0 37 Screenshots:
pascal@0 38 <a href="tinyslitaz.png" title="Tiny SliTaz Manager">main</a>
pascal@0 39 <a href="tinyslitaz-boot.png" title="Tiny SliTaz Manager: boot.log">boot log</a>
pascal@0 40 <a href="tinyslitaz-httpinfo.png" title="Tiny SliTaz Manager: httpd info">httpd info</a>
pascal@0 41 </div>
pascal@6 42 </header>
pascal@0 43
pascal@0 44
pascal@0 45 <!-- Content -->
pascal@6 46 <main>
pascal@0 47
pascal@5 48 <?php if (!empty($error)) echo "
pascal@0 49 <div class=\"nav_box\">
pascal@6 50 <h4>Error:</h4>
pascal@0 51 <p>$error</p>
pascal@0 52 </div>
pascal@0 53 "; ?>
pascal@0 54
pascal@0 55 <h2>Build your configuration from binary packages</h2>
pascal@0 56
pascal@0 57 <?php
pascal@1 58 proc_nice(10);
pascal@0 59 include "step1.php";
pascal@0 60 include "step2.php";
pascal@0 61 include "step3.php";
pascal@0 62 include "step4.php";
pascal@0 63 include "step5.php";
pascal@0 64 ?>
pascal@0 65
pascal@6 66 <h3>Tiny SliTaz goals</h3>
pascal@0 67
pascal@6 68 <p>Useful software, expansible, easy to configure, runs fully in RAM, simple,
paul@17 69 light and fast for minimum hardware resources, i.e. fits on one floppy disk (IDE
pascal@6 70 disk optional), runs on a 386SX processor and needs as little memory as possible
pascal@6 71 (currently 4MB with a 2.6.14 Kernel).
pascal@6 72 <a href="http://doc.slitaz.org/en:guides:pxe#why-use-pxe-the-vnc-example">Example</a>
pascal@0 73 </p>
pascal@0 74
pascal@6 75
pascal@6 76 <h3>Why this builder?</h3>
pascal@6 77
pascal@6 78 <p>Tiny SliTaz should be as small as possible. Only the necessary software is
pascal@6 79 kept. The package manager is run using this website.</p>
pascal@6 80
pascal@6 81
pascal@6 82 <h3>How is it built?</h3>
pascal@6 83
pascal@6 84 <p>Tiny SliTaz uses a Linux Kernel with an <a href="dist/rootfs.cpio"
pascal@6 85 title="See CONFIG_INITRAMFS_SOURCE">embedded filesystem</a>. An extra initramfs
paul@17 86 can also be loaded with the configuration files and extra packages.</p>
pascal@6 87
pascal@6 88 <p>The initramfs is based on <a href="http://uclibc.org/"
pascal@6 89 title="Instead of glibc">uClibc</a> and busybox with its <a
pascal@6 90 href="dist/busybox.config.txt">config</a> files and this <a
pascal@6 91 href="http://hg.slitaz.org/wok-tiny/file/tip/base-tiny/stuff">filesystem tree</a>.
pascal@0 92 </p>
pascal@0 93
pascal@0 94
pascal@0 95 <!-- End of content -->
pascal@6 96 </main>
pascal@0 97
pascal@6 98 <script>
pascal@5 99 function QRCodePNG(str, obj) {
pascal@5 100 try {
pascal@6 101 obj.height = obj.width += 300;
pascal@5 102 return QRCode.generatePNG(str, {ecclevel: 'H'});
pascal@5 103 }
pascal@5 104 catch (any) {
pascal@5 105 var element = document.createElement("script");
pascal@7 106 element.src = "qrcode.min.js";
pascal@6 107 element.type = "text/javascript";
pascal@5 108 element.onload = function() {
pascal@5 109 obj.src = QRCode.generatePNG(str, {ecclevel: 'H'});
pascal@5 110 };
pascal@5 111 document.body.appendChild(element);
pascal@5 112 }
pascal@5 113 }
pascal@6 114 </script>
pascal@6 115
pascal@6 116 <footer>
pascal@6 117 <div>
pascal@9 118 Copyright © <?php echo date ('Y') ?> <a href="http://www.slitaz.org/">SliTaz</a>
pascal@6 119 </div>
pascal@6 120 <div>
pascal@6 121 Network:
pascal@6 122 <a href="http://scn.slitaz.org/">Community</a> ·
pascal@6 123 <a href="http://doc.slitaz.org/">Doc</a> ·
pascal@6 124 <a href="http://forum.slitaz.org/">Forum</a> ·
pascal@6 125 <a href="http://pkgs.slitaz.org/">Packages</a> ·
pascal@6 126 <a href="http://bugs.slitaz.org">Bugs</a> ·
pascal@6 127 <a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
pascal@6 128 </div>
pascal@6 129 <div>
pascal@6 130 SliTaz @
pascal@6 131 <a href="http://twitter.com/slitaz">Twitter</a> ·
pascal@6 132 <a href="http://www.facebook.com/slitaz">Facebook</a> ·
pascal@6 133 <a href="http://distrowatch.com/slitaz">Distrowatch</a> ·
pascal@6 134 <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a> ·
pascal@6 135 <a href="http://flattr.com/profile/slitaz">Flattr</a>
pascal@6 136 </div>
pascal@7 137 <img src="qr.png" alt="#" onmouseover="this.title = location.href"
pascal@6 138 onclick="this.src = QRCodePNG(location.href, this)"/>
pascal@6 139 </footer>
pascal@0 140
pascal@0 141 </body>
pascal@0 142 </html>