tazpkg rev 844

Finish modularization. Beta release: still have few FIXMEs and TODOs.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 05 03:53:47 2015 +0300 (2015-10-05)
parents 95c016ddc72d
children ce7009ff237b
files doc/tazpkg.en.html doc/tazpkg.es.html doc/tazpkg.fr.html doc/tazpkg.pt.html doc/tazpkg.ru.html modules/bugs modules/cache modules/check modules/description modules/extract modules/find-depends modules/flavor modules/get modules/getenv modules/help modules/info modules/install modules/link modules/mkdb modules/pack modules/recompress modules/reconfigure modules/remove modules/repack modules/repack-config modules/set-release modules/upgrade po/el.po po/es.po po/fr.po po/pl.po po/pt_BR.po po/ru.po po/sv.po po/tazpkg.pot po/zh_CN.po po/zh_TW.po tazpanel/pkgs.cgi tazpanel/pkgs.css tazpkg
line diff
     1.1 --- a/doc/tazpkg.en.html	Sun Sep 06 12:48:04 2015 +0200
     1.2 +++ b/doc/tazpkg.en.html	Mon Oct 05 03:53:47 2015 +0300
     1.3 @@ -1,11 +1,11 @@
     1.4  <!DOCTYPE html>
     1.5  <html lang="en">
     1.6  <head>
     1.7 -	<meta charset="utf-8" />
     1.8 +	<meta charset="UTF-8">
     1.9  	<title>TazPkg Manual</title>
    1.10 -	<meta name="viewport" content="width=device-width,initial-scale=1"/>
    1.11 -	<link rel="stylesheet" type="text/css" href="../slitaz-doc.css" />
    1.12 -	<script type="text/javascript" src="../slitaz-doc.js"></script>
    1.13 +	<meta name="viewport" content="width=device-width,initial-scale=1">
    1.14 +	<link rel="stylesheet" href="../slitaz-doc.css">
    1.15 +	<script src="../slitaz-doc.js"></script>
    1.16  </head>
    1.17  <body>
    1.18  
    1.19 @@ -13,60 +13,61 @@
    1.20  	<h1>TazPkg Manual</h1>
    1.21  </header>
    1.22  
    1.23 -<!-- Start content -->
    1.24 -<div id="content">
    1.25  
    1.26  
    1.27 -<h2>Name</h2>
    1.28  
    1.29 -<p>TazPkg — Tiny autonomous zone package manager</p>
    1.30 +<section><header>Name</header>
    1.31  
    1.32 +<p>TazPkg — Tiny autonomous zone package manager.</p>
    1.33 +</section>
    1.34  
    1.35 -<h2>Syntax</h2>
    1.36 +
    1.37 +<section><header>Syntax</header>
    1.38  
    1.39  <pre>
    1.40  tazpkg [command] [options...]
    1.41  </pre>
    1.42 +</section>
    1.43  
    1.44  
    1.45 -<h2>Description</h2>
    1.46 +<section><header>Description</header>
    1.47  
    1.48 -<p>TazPkg is a lightweight package manager to install, list, download, update or
    1.49 -remove precompiled packages on a GNU/Linux system. TazPkg offers commands for
    1.50 -searching and creating packages and was created independently for the project.
    1.51 -The format of the packages using the *.tazpkg extension is a cpio archive
    1.52 -containing a filesystem compressed with gzip, a receipt and an optional
    1.53 -description. TazPkg also manages dependencies based on package receipts. Each
    1.54 -receipt contains all the information about a package and can also include pre-
    1.55 -and post-installation functions. The same receipt is used by Cookutils to
    1.56 -compile sources and generate a .tazpkg package.</p>
    1.57 +<p>TazPkg is a lightweight package manager to install, list, download, update or remove precompiled
    1.58 +packages on a GNU/Linux system. TazPkg offers commands for searching and creating packages and was
    1.59 +created independently for the project. The format of the packages using the *.tazpkg extension is
    1.60 +a cpio archive containing a filesystem compressed with lzma, a receipt and an optional description.
    1.61 +TazPkg also manages dependencies based on package receipts. Each receipt contains all the
    1.62 +information about a package and can also include pre- and post-installation functions. The same
    1.63 +receipt is used by <a href="../cookutils/cookutils.en.html" target="_blank">Cookutils</a> to compile
    1.64 +sources and generate a .tazpkg package.</p>
    1.65  
    1.66 -<p>TazPkg is entirely built from scratch using Shell script, compatible with
    1.67 -Bash; it runs under Ash — part of the Busybox project. TazPkg is distributed
    1.68 -under the free GNU license <a href="file:///usr/share/licenses/gpl.txt"
    1.69 -target="_blank">GPL V3</a>.</p>
    1.70 +<p>TazPkg is entirely built from scratch using Shell script, compatible with Bash; it runs under
    1.71 +Ash — part of the Busybox project. TazPkg is distributed under the free GNU license <a
    1.72 +href="file:///usr/share/licenses/gpl.txt" target="_blank">GPL V3</a>.</p>
    1.73 +</section>
    1.74  
    1.75  
    1.76 -<h2>Environment</h2>
    1.77 +<section><header>Environment</header>
    1.78  
    1.79  <p>TazPkg uses some environment variables:</p>
    1.80  
    1.81  <ul>
    1.82 -	<li><tt>LANGUAGE</tt>: defines the language of output and user
    1.83 -		confirmations. <x-details>Note, <tt>LANG</tt> and <tt>LC_ALL</tt>
    1.84 -		environment variables also affect output language</x-details></li>
    1.85 -	<li><tt>LC_TIME</tt>: defines the date format in the <a
    1.86 -		href="#activity">activity</a> command</li>
    1.87 -	<!-- li><tt>TAZPKG_ROOT</tt>: if defined it points to the root of file system
    1.88 -		where TazPkg should work. Note, value defined using <tt>--root=</tt>
    1.89 -		option has precedence over this environment variable</li -->
    1.90 +	<li><tt>LANGUAGE</tt>: defines the language of output and user confirmations.
    1.91 +		<x-details>Note, <tt>LANG</tt> and <tt>LC_ALL</tt> environment variables also affect output
    1.92 +		language</x-details></li>
    1.93 +	<li><tt>LC_TIME</tt>: defines the date format in the <a href="#activity">activity</a>
    1.94 +		command</li>
    1.95 +	<li><tt>root</tt>: if defined it points to the root of file system where TazPkg should work.
    1.96 +		Note, value defined using <tt>--root=</tt> option has precedence over this environment
    1.97 +		variable</li>
    1.98  </ul>
    1.99 +</section>
   1.100  
   1.101  
   1.102 -<h2>Files</h2>
   1.103 +<section><header>Files</header>
   1.104  
   1.105  
   1.106 -<h3>Configuration files</h3>
   1.107 +<article><header>Configuration files</header>
   1.108  
   1.109  <ul>
   1.110  	<li><tt><a href="file:///etc/slitaz/slitaz.conf"
   1.111 @@ -74,173 +75,162 @@
   1.112  	<li><tt><a href="file:///etc/slitaz/tazpkg.conf"
   1.113  		target="_blank">/etc/slitaz/tazpkg.conf</a></tt></li>
   1.114  </ul>
   1.115 +</article>
   1.116  
   1.117  
   1.118 -<h3>Package database files</h3>
   1.119 +<article><header>Package database files</header>
   1.120  
   1.121  <p>Default placement of the package database is <tt>/var/lib/tazpkg</tt>.</p>
   1.122  
   1.123  <ul>
   1.124 -	<li><tt><a href="file:///var/lib/tazpkg/ID" target="_blank">ID</a></tt>
   1.125 -		(deprecated): identifier of the current SliTaz repository state.
   1.126 +	<li><tt><a href="file:///var/lib/tazpkg/ID" target="_blank">ID</a></tt> (deprecated): identifier
   1.127 +		of the current SliTaz repository state.
   1.128  		<x-details>The value changes when new or updated packages appear in the
   1.129  		repository.</x-details></li>
   1.130 -	<li><tt><a href="file:///var/lib/tazpkg/IDs" target="_blank">IDs</a></tt>:
   1.131 -		identifier of the current SliTaz repository state and the UNIX time stamp.
   1.132 -		<x-details>The ID value changes when new or updated packages appear in
   1.133 -		the repository. Time stamp allows you to track how long a change is made in
   1.134 -		the repository and to track the freshness of repository mirrors.
   1.135 -		(To convert UNIX time stamp to the date:
   1.136 +	<li><tt><a href="file:///var/lib/tazpkg/IDs" target="_blank">IDs</a></tt>: identifier of the
   1.137 +		current SliTaz repository state and the UNIX time stamp.
   1.138 +		<x-details>The ID value changes when new or updated packages appear in the repository. Time
   1.139 +		stamp allows you to track how long a change is made in the repository and to track the
   1.140 +		freshness of repository mirrors. (To convert UNIX time stamp to the date:
   1.141  		<code>date -d@<em>timestamp</em></code>)</x-details></li>
   1.142 -	<li><tt><a href="file:///var/lib/tazpkg/mirror"
   1.143 -		target="_blank">mirror</a></tt>: URL of the current repository mirror in
   1.144 -		use. <x-details>URL points to the remote folder containing packages and
   1.145 -		database files.</x-details></li>
   1.146 -	<li><tt><a href="file:///var/lib/tazpkg/mirrors"
   1.147 -		target="_blank">mirrors</a></tt>: list of URLs of available repository
   1.148 -		mirrors. <x-details>Note the difference between URLs from these two
   1.149 -		files; you should append URL from this file by
   1.150 -		<tt>packages/<em>cooking</em>/</tt> (for <tt><em>cooking</em></tt>-based
   1.151 -		Slitaz version).</x-details></li>
   1.152 -	<li><tt><a href="file:///var/lib/tazpkg/packages.list"
   1.153 -		target="_blank">packages.list</a></tt> (deprecated): list of package
   1.154 -		names with version numbers available in the repository.</li>
   1.155 -	<li><tt><a href="file:///var/lib/tazpkg/packages.desc"
   1.156 -		target="_blank">packages.desc</a></tt> (deprecated): list contained
   1.157 -		package name, version, short description, category and upstream
   1.158 +	<li><tt><a href="file:///var/lib/tazpkg/mirror" target="_blank">mirror</a></tt>: URL of the
   1.159 +		current repository mirror in use.
   1.160 +		<x-details>URL points to the remote folder containing packages and database
   1.161 +		files.</x-details></li>
   1.162 +	<li><tt><a href="file:///var/lib/tazpkg/mirrors" target="_blank">mirrors</a></tt>: list of URLs
   1.163 +		of available repository mirrors.
   1.164 +		<x-details>Note the difference between URLs from these two files; you should append URL from
   1.165 +		this file by <tt>packages/<em>cooking</em>/</tt> (for <tt><em>cooking</em></tt>-based Slitaz
   1.166 +		version).</x-details></li>
   1.167 +	<li><tt><a href="file:///var/lib/tazpkg/packages.list" target="_blank">packages.list</a></tt>
   1.168 +		(deprecated): list of package names with version numbers available in the repository.</li>
   1.169 +	<li><tt><a href="file:///var/lib/tazpkg/packages.desc" target="_blank">packages.desc</a></tt>
   1.170 +		(deprecated): list contained package name, version, short description, category and upstream
   1.171  		URL.</li>
   1.172 -	<li><tt><a href="file:///var/lib/tazpkg/packages.txt"
   1.173 -		target="_blank">packages.txt</a></tt> (deprecated): list containing
   1.174 -		package name, version, short description and two package sizes
   1.175 -		<x-details>(first — traffic to download package, second — HDD size for
   1.176 -		installed package)</x-details>.</li>
   1.177 -	<li><tt><a href="file:///var/lib/tazpkg/packages.md5"
   1.178 -		target="_blank">packages.md5</a></tt> (deprecated): list containing MD5
   1.179 -		checksum with package file name.</li>
   1.180 -	<li><tt><a href="file:///var/lib/tazpkg/packages.info"
   1.181 -		target="_blank">packages.info</a></tt>: list was built to replace and
   1.182 -		extend above lists. <x-details>For every package available in the
   1.183 -		repository it contains: package name, version, category, short
   1.184 -		description, upstream URL, tags, package sizes, depends and MD5
   1.185 -		checksum. Development continues, and the list can be extended by other
   1.186 -		fields, if necessary.</x-details></li>
   1.187 -	<li><tt><a href="file:///var/lib/tazpkg/packages.equiv"
   1.188 -		target="_blank">packages.equiv</a></tt>: list of equivalent packages
   1.189 -		available in the repository. <x-details>Format of the list item:
   1.190 -		<tt><em>package</em>=<em>rule rule…</em></tt>.<br>
   1.191 -		Format of the rule: <tt><em>alternative:newname</em></tt> — if
   1.192 -		<tt><em>alternative</em></tt> is installed then
   1.193 -		<tt><em>newname</em></tt> will be installed instead of the
   1.194 +	<li><tt><a href="file:///var/lib/tazpkg/packages.txt" target="_blank">packages.txt</a></tt>
   1.195 +		(deprecated): list containing package name, version, short description and two package sizes
   1.196 +		<x-details>(first — traffic to download package, second — HDD size for installed
   1.197 +		package)</x-details>.</li>
   1.198 +	<li><tt><a href="file:///var/lib/tazpkg/packages.md5" target="_blank">packages.md5</a></tt>
   1.199 +		(deprecated): list containing MD5 checksum with package file name.</li>
   1.200 +	<li><tt><a href="file:///var/lib/tazpkg/packages.info" target="_blank">packages.info</a></tt>:
   1.201 +		list was built to replace and extend above lists.
   1.202 +		<x-details>For every package available in the repository it contains: package name, version,
   1.203 +		category, short description, upstream URL, tags, package sizes, depends and MD5 checksum.
   1.204 +		Development continues, and the list can be extended by other fields, if
   1.205 +		necessary.</x-details></li>
   1.206 +	<li><tt><a href="file:///var/lib/tazpkg/packages.equiv" target="_blank">packages.equiv</a></tt>:
   1.207 +		list of equivalent packages available in the repository.
   1.208 +		<x-details>Format of the list item: <tt><em>package</em>=<em>rule rule…</em></tt>.<br>
   1.209 +		Format of the rule: <tt><em>alternative:newname</em></tt> — if <tt><em>alternative</em></tt>
   1.210 +		is installed then <tt><em>newname</em></tt> will be installed instead of the
   1.211  		<tt><em>package</em></tt>.<br>
   1.212 -		In the second format of the rule <tt><em>alternative:</em></tt> part is
   1.213 -		omitted — in this case <tt><em>newname</em></tt> <em>can be</em>
   1.214 -		installed instead of the <tt><em>package</em></tt> (in the user
   1.215 -		choice).</x-details></li>
   1.216 -	<li><tt><a href="file:///var/lib/tazpkg/packages.diff"
   1.217 -		target="_blank">packages.diff</a></tt>: list created when you run
   1.218 -		<tt><a href="#recharge">recharge</a></tt> command. <x-details>List
   1.219 -		contains package names with versions of the new packages available in
   1.220 -		the repository with the last recharge.</x-details></li>
   1.221 -	<li><tt><a href="file:///var/lib/tazpkg/packages.up" 
   1.222 -		target="_blank">packages.up</a></tt>: list created when you run
   1.223 -		<tt><a href="#upgrade">upgrade</a></tt> command. <x-details>List
   1.224 -		contains package names you can upgrade with the last
   1.225 +		In the second format of the rule <tt><em>alternative:</em></tt> part is omitted — in this
   1.226 +		case <tt><em>newname</em></tt> <em>can be</em> installed instead of the
   1.227 +		<tt><em>package</em></tt> (in the user choice).</x-details></li>
   1.228 +	<li><tt><a href="file:///var/lib/tazpkg/packages.diff" target="_blank">packages.diff</a></tt>:
   1.229 +		list created when you run <tt><a href="#recharge">recharge</a></tt> command.
   1.230 +		<x-details>List contains package names with versions of the new packages available in the
   1.231 +		repository with the last recharge.</x-details></li>
   1.232 +	<li><tt><a href="file:///var/lib/tazpkg/packages.up" target="_blank">packages.up</a></tt>: list
   1.233 +		created when you run <tt><a href="#upgrade">upgrade</a></tt> command.
   1.234 +		<x-details>List contains package names you can upgrade with the last
   1.235  		recharge.</x-details></li>
   1.236 -	<li><tt><a href="file:///var/lib/tazpkg/descriptions.txt" 
   1.237 -		target="_blank">descriptions.txt</a></tt>: list of the “long”
   1.238 -		descriptions of the all packages available on the repository.</li>
   1.239 -	<li><tt>packages-desc.<em>language</em></tt> — optional list of the packages
   1.240 -		translated short descriptions <x-details>(see the package
   1.241 -		tazpkg-desc-ru)</x-details>.</li>
   1.242 -	<li><tt>descriptions.<em>language</em>.txt</tt> — optional list of the
   1.243 -		packages translated “long” descriptions <x-details>(see the package
   1.244 -		tazpkg-desc-ru)</x-details>.</li>
   1.245 -	<li><tt>packages.icons</tt> — optional list of the packages icons for
   1.246 -		TazPanel.</li>
   1.247 -	<li><tt><a href="file:///var/lib/tazpkg/blocked-packages.list" 
   1.248 -		target="_blank">blocked-packages.list</a></tt>: optional list of the
   1.249 -		packages blocked for update.</li>
   1.250 -	<li><tt><a href="file:///var/lib/tazpkg/extra.list" 
   1.251 -		target="_blank">extra.list</a></tt>: list of the extra packages
   1.252 -		<x-details>(non-free packages; free packages but not compiled from
   1.253 -		sources). List contains package name, short description, upstream URL,
   1.254 -		category, version, license.</x-details></li>
   1.255 -	<li><tt>files.list.lzma</tt>: very large compressed list which contains all
   1.256 -		the files of all the packages available in the repository
   1.257 -		<x-details>(nearly 5,000 packages and nearly 0.7 million
   1.258 -		files now)</x-details>.</li>
   1.259 -	<li><tt>files-list.md5</tt>: MD5 checksum of the
   1.260 -		<tt>files.list.lzma</tt>.</li>
   1.261 -	<li><tt><a href="file:///var/lib/tazpkg/installed.info" 
   1.262 -		target="_blank">installed.info</a></tt>: list of the installed packages
   1.263 -		with the exact format of the <tt>packages.info</tt> list.
   1.264 -		<x-details>Idea is just to copy list item from <tt>packages.info</tt> to
   1.265 -		the <tt>installed.info</tt> during package installation.</x-details></li>
   1.266 -	<li><tt><a href="file:///var/lib/tazpkg/installed.md5"
   1.267 -		target="_blank">installed.md5</a></tt> (deprecated): list containing MD5
   1.268 -		checksum with file names of all installed packages.</li>
   1.269 +	<li><tt><a href="file:///var/lib/tazpkg/descriptions.txt"
   1.270 +		target="_blank">descriptions.txt</a></tt>: list of the “long” descriptions of the all
   1.271 +		packages available on the repository.</li>
   1.272 +	<li><tt>packages-desc.<em>language</em></tt> — optional list of the packages translated short
   1.273 +		descriptions
   1.274 +		<x-details>(see the package tazpkg-desc-ru)</x-details>.</li>
   1.275 +	<li><tt>descriptions.<em>language</em>.txt</tt> — optional list of the packages translated
   1.276 +		“long” descriptions
   1.277 +		<x-details>(see the package tazpkg-desc-ru)</x-details>.</li>
   1.278 +	<li><tt>packages.icons</tt> — optional list of the packages icons for TazPanel.</li>
   1.279 +	<li><tt><a href="file:///var/lib/tazpkg/blocked-packages.list"
   1.280 +		target="_blank">blocked-packages.list</a></tt>: optional list of the packages blocked for
   1.281 +		update.</li>
   1.282 +	<li><tt><a href="file:///var/lib/tazpkg/extra.list" target="_blank">extra.list</a></tt>: list of
   1.283 +		the extra packages
   1.284 +		<x-details>(non-free packages; free packages but not compiled from sources). List contains
   1.285 +		package name, short description, upstream URL, category, version, license.</x-details></li>
   1.286 +	<li><tt>files.list.lzma</tt>: very large compressed list which contains all the files of all the
   1.287 +		packages available in the repository
   1.288 +		<x-details>(nearly 5,000 packages and nearly 0.7 million files now)</x-details>.</li>
   1.289 +	<li><tt>files-list.md5</tt>: MD5 checksum of the <tt>files.list.lzma</tt>.</li>
   1.290 +	<li><tt><a href="file:///var/lib/tazpkg/installed.info" target="_blank">installed.info</a></tt>:
   1.291 +		list of the installed packages with the exact format of the <tt>packages.info</tt> list.
   1.292 +		<x-details>Idea is just to copy list item from <tt>packages.info</tt> to the
   1.293 +		<tt>installed.info</tt> during package installation.</x-details></li>
   1.294 +	<li><tt><a href="file:///var/lib/tazpkg/installed.md5" target="_blank">installed.md5</a></tt>
   1.295 +		(deprecated): list containing MD5 checksum with file names of all installed packages.</li>
   1.296 +	<li><tt><a href="file:///var/lib/tazpkg/priority" target="_blank">priority</a></tt>: optional
   1.297 +		list of the repositories priority.
   1.298 +		<x-details>One repository name per line. Undigest repositories are called by their names and
   1.299 +		main repository by “main”. If priority list absent, then default priority is: main
   1.300 +		repository and all existing undigest repositories in the alphabetical
   1.301 +		order.</x-details></li>
   1.302  </ul>
   1.303  
   1.304 -<p>All the deprecated files will be deleted after we verify that the programs do
   1.305 -not use them (and modify the programs as necessary).</p>
   1.306 +<p>All the deprecated files will be deleted after we verify that the programs do not use them (and
   1.307 +modify the programs as necessary).</p>
   1.308  
   1.309 -<p>In addition to the common package database files there is also individual
   1.310 -folders for all installed packages placed by default in the
   1.311 -<tt>/var/lib/tazpkg/installed/<em>package</em></tt>. Every folder here may
   1.312 -contain the following files:</p>
   1.313 +<p>In addition to the common package database files there is also individual folders for all
   1.314 +installed packages placed by default in the <tt>/var/lib/tazpkg/installed/<em>package</em></tt>.
   1.315 +Every folder here may contain the following files:</p>
   1.316  
   1.317  <ul>
   1.318  	<li><tt>receipt</tt> (mandatory) — the package recipe</li>
   1.319  	<li><tt>files.list</tt> (mandatory) — list of package files</li>
   1.320 -	<li><tt>md5sum</tt> (mandatory) — checksums of package files (other checksum
   1.321 -		files can be specified in the settings: <tt>cksum</tt> (CRC32),
   1.322 -		<tt>md5sum</tt> (MD5), <tt>sha1sum</tt> (SHA1), <tt>sha256sum</tt>
   1.323 -		(SHA256), <tt>sha512sum</tt> (SHA512), <tt>sha3sum</tt> (SHA3-512))</li>
   1.324 +	<li><tt>md5sum</tt> (mandatory) — checksums of package files (other checksum files can be
   1.325 +		specified in the settings: <tt>cksum</tt> (CRC32), <tt>md5sum</tt> (MD5), <tt>sha1sum</tt>
   1.326 +		(SHA1), <tt>sha256sum</tt> (SHA256), <tt>sha512sum</tt> (SHA512), <tt>sha3sum</tt>
   1.327 +		(SHA3-512))</li>
   1.328  	<li><tt>description.txt</tt> (optional) — “long” description</li>
   1.329 -	<li><tt>modifiers</tt> (optional) — list of packages that have replaced some
   1.330 -		of the files of this package</li>
   1.331 -	<li><tt>volatile.cpio.gz</tt> (optional) — archive of “official”
   1.332 -		configuration files</li>
   1.333 +	<li><tt>modifiers</tt> (optional) — list of packages that have replaced some of the files of
   1.334 +		this package</li>
   1.335 +	<li><tt>volatile.cpio.gz</tt> (optional) — archive of “official” configuration files</li>
   1.336  </ul>
   1.337 +</article>
   1.338  
   1.339  
   1.340 -<h3>Cache</h3>
   1.341 +<article><header>Cache</header>
   1.342  
   1.343 -<p>Default placement of the packages cache is <tt>/var/cache/tazpkg</tt> with
   1.344 -sub-folders for the different repositories. <x-details>It is exactly
   1.345 -<tt>/var/cache/tazpkg/<em>cooking</em>/packages</tt> for the
   1.346 +<p>Default placement of the packages cache is <tt>/var/cache/tazpkg</tt> with sub-folders for the
   1.347 +different repositories.
   1.348 +<x-details>It is exactly <tt>/var/cache/tazpkg/<em>cooking</em>/packages</tt> for the
   1.349  <tt><em>cooking</em></tt>-based SliTaz version.</x-details></p>
   1.350 +</article>
   1.351  
   1.352  
   1.353 -<h3>Misc files</h3>
   1.354 +<article><header>Misc files</header>
   1.355  
   1.356  <p>File with default placement <tt><a href="file:///var/log/slitaz/tazpkg.log"
   1.357  target="_blank">/var/log/slitaz/tazpkg.log</a></tt> stores TazPkg activity log.
   1.358 -<x-details>Log stores five types of actions: installing, uninstalling, blocking,
   1.359 -unblocking, reconfiguring packages.</x-details></p>
   1.360 +<x-details>Log stores five types of actions: installing, uninstalling, blocking, unblocking,
   1.361 +reconfiguring packages.</x-details></p>
   1.362  
   1.363 -<p>Shared MIME information which allows to “guess” SliTaz package files, package
   1.364 -receipts and SliTaz flavor files. <x-details>File placed here: <tt><a
   1.365 -href="file:///usr/share/mime/packages/tazpkg.xml"
   1.366 +<p>Shared MIME information which allows to “guess” SliTaz package files, package receipts and
   1.367 +SliTaz flavor files.
   1.368 +<x-details>File placed here: <tt><a href="file:///usr/share/mime/packages/tazpkg.xml"
   1.369  target="_blank">/usr/share/mime/packages/tazpkg.xml</a></tt>.</x-details></p>
   1.370  
   1.371  <p>Plug-in for the TazPanel (SliTaz administration and configuration panel)
   1.372 -<tt>/var/www/tazpanel/pkgs.cgi</tt> allows you to manage SliTaz packages in the
   1.373 -<a href="http://127.0.0.1:82/pkgs.cgi" target="_blank">web application</a>.</p>
   1.374 +<tt>/var/www/tazpanel/pkgs.cgi</tt> allows you to manage SliTaz packages in the <a
   1.375 +href="http://127.0.0.1:82/pkgs.cgi" target="_blank">web application</a>.</p>
   1.376  
   1.377 -<p>TazPkg documentation is placed in the <tt>/usr/share/doc/tazpkg</tt>
   1.378 -folder.</p>
   1.379 +<p>TazPkg documentation is placed in the <tt>/usr/share/doc/tazpkg</tt> folder.</p>
   1.380 +</article>
   1.381 +</section>
   1.382  
   1.383  
   1.384  
   1.385  
   1.386 -<h2>Commands</h2>
   1.387 +<section><header>Commands</header>
   1.388  
   1.389 -<p>The first <tt>tazpkg</tt> parameter is a command followed by other mandatory
   1.390 -and optional parameters as will be described hereinafter. Options begin with
   1.391 -double dashes, you can arrange them in any order and in any place, even before
   1.392 -the command. Unknown and inappropriate options are ignored. The following
   1.393 -commands are equivalent:</p>
   1.394 +<p>The first <tt>tazpkg</tt> parameter is a command followed by other mandatory and optional
   1.395 +parameters as will be described hereinafter. Options begin with double dashes, you can arrange them
   1.396 +in any order and in any place, even before the command. Unknown and inappropriate options are
   1.397 +ignored. The following commands are equivalent:</p>
   1.398  
   1.399  <pre>
   1.400  $ tazpkg info nano --root=<em>/mnt/sda6</em>
   1.401 @@ -248,199 +238,185 @@
   1.402  $ tazpkg info --root=<em>/mnt/sda6</em> nano <em>--color</em>
   1.403  </pre>
   1.404  
   1.405 -<!-- p>You can add global option <tt>--root=…</tt> to any TazPkg command. This
   1.406 -option allows to work with other SliTaz installations. Option points to the root
   1.407 -of mounted file system from other SliTaz installation. <x-details>By the way,
   1.408 -using this option allows to install SliTaz to the other file system “from
   1.409 -scratch”, and upgrade SliTaz packages remotely.</x-details></p -->
   1.410 +<p>You can add global option <tt>--root=…</tt> to any TazPkg command. This option allows to work
   1.411 +with other SliTaz installations. Option points to the root of mounted file system from other SliTaz
   1.412 +installation.
   1.413 +<x-details>By the way, using this option allows to install SliTaz to the other file system “from
   1.414 +scratch”, and upgrade SliTaz packages remotely.</x-details></p>
   1.415  
   1.416  
   1.417 -<h3>Service commands</h3>
   1.418 +<article><header>Service commands</header>
   1.419  
   1.420  <ul>
   1.421  	<li><a href="#usage">usage</a>: print short usage</li>
   1.422  	<li><a href="#help">help</a>: show help on the TazPkg commands</li>
   1.423  	<li><a href="#activity">activity</a>: show TazPkg activity log</li>
   1.424 -	<li><a href="#clean-cache">clean-cache</a>: clean all packages downloaded in
   1.425 -		cache directory</li>
   1.426 +	<li><a href="#clean-cache">clean-cache</a>: clean all packages downloaded in cache
   1.427 +		directory</li>
   1.428  	<li><a href="#shell">shell</a>: run interactive TazPkg shell</li>
   1.429  </ul>
   1.430 +</article>
   1.431  
   1.432  
   1.433 -<h3>Working with lists</h3>
   1.434 +<article><header>Working with lists</header>
   1.435  
   1.436  <ul>
   1.437  	<li><a href="#list">list</a>: list installed packages on the system</li>
   1.438 -	<li><a href="#list-mirror">list-mirror</a>: list all available packages on
   1.439 -		the mirror</li>
   1.440 -	<li><a href="#list-config">list-config</a>: list the configuration
   1.441 -		files</li>
   1.442 +	<li><a href="#list-mirror">list-mirror</a>: list all available packages on the mirror</li>
   1.443 +	<li><a href="#list-config">list-config</a>: list the configuration files</li>
   1.444  </ul>
   1.445 +</article>
   1.446  
   1.447  
   1.448 -<h3>Search</h3>
   1.449 +<article><header>Search</header>
   1.450  
   1.451  <ul>
   1.452 -	<li><a href="#search">search</a>: search for a package by pattern or
   1.453 -		name</li>
   1.454 -	<li><a href="#search-pkgname">search-pkgname</a>: search on mirror for
   1.455 -		package having a particular file</li>
   1.456 -	<li><a href="#search-file">search-file</a>: search for file in all installed
   1.457 -		packages files</li>
   1.458 +	<li><a href="#search">search</a>: search for a package by pattern or name</li>
   1.459 +	<li><a href="#search-pkgname">search-pkgname</a>: search on mirror for package having a
   1.460 +		particular file</li>
   1.461 +	<li><a href="#search-file">search-file</a>: search for file in all installed packages files</li>
   1.462  </ul>
   1.463 +</article>
   1.464  
   1.465  
   1.466 -<h3>Installing and removing packages</h3>
   1.467 +<article><header>Installing and removing packages</header>
   1.468  
   1.469  <ul>
   1.470 -	<li><a href="#get">get</a>: download a package into the current
   1.471 -		directory</li>
   1.472 +	<li><a href="#get">get</a>: download a package into the current directory</li>
   1.473  	<li><a href="#install">install</a>: install a local package</li>
   1.474 -	<li><a href="#get-install">get-install</a>: download and install a package
   1.475 -		from the mirror</li>
   1.476 -	<li><a href="#install-list">install-list</a>: install all packages from a
   1.477 -		list of packages</li>
   1.478 -	<li><a href="#install-list">get-install-list</a>: download and install a
   1.479 -		list of packages from the mirror</li>
   1.480 -	<li><a href="#remove">remove</a>: remove the specified package and all
   1.481 -		installed files</li>
   1.482 -	<li><a href="#reconfigure">reconfigure</a>: replay post install script from
   1.483 -		package</li>
   1.484 -	<li><a href="#link">link</a>: link a package from another SliTaz
   1.485 -		installation</li>
   1.486 -	<li><a href="#set-release">set-release</a>: change release and update
   1.487 -		packages</li>
   1.488 -	<li><a href="#add-flavor">add-flavor</a>: install the flavor list of
   1.489 -		packages</li>
   1.490 -	<li><a href="#add-flavor">install-flavor</a>: install the flavor list of
   1.491 -		packages and remove other ones</li>
   1.492 +	<li><a href="#get-install">get-install</a>: download and install a package from the mirror</li>
   1.493 +	<li><a href="#get-list">get-list</a>: download a list of packages from the mirror</li>
   1.494 +	<li><a href="#get-list">install-list</a>: install all packages from a list of packages</li>
   1.495 +	<li><a href="#get-list">get-install-list</a>: download and install a list of packages from the
   1.496 +		mirror</li>
   1.497 +	<li><a href="#remove">remove</a>: remove the specified package and all installed files</li>
   1.498 +	<li><a href="#reconfigure">reconfigure</a>: replay post install script from package</li>
   1.499 +	<li><a href="#link">link</a>: link a package from another SliTaz installation</li>
   1.500 +	<li><a href="#set-release">set-release</a>: change release and update packages</li>
   1.501 +	<li><a href="#add-flavor">add-flavor</a>: install the flavor list of packages</li>
   1.502 +	<li><a href="#add-flavor">install-flavor</a>: install the flavor list of packages and remove
   1.503 +		other ones</li>
   1.504  </ul>
   1.505 +</article>
   1.506  
   1.507  
   1.508 -<h3>Working with packages</h3>
   1.509 +<article><header>Working with packages</header>
   1.510  
   1.511  <ul>
   1.512  	<li><a href="#info">info</a>: print information about a package</li>
   1.513  	<li><a href="#desc">desc</a>: print description of a package</li>
   1.514 -	<li><a href="#list-files">list-files</a>: list the files installed with a
   1.515 -		package</li>
   1.516 -	<li><a href="#block">block, unblock</a>: block an installed package version
   1.517 -		or unblock it for upgrade</li>
   1.518 -	<li><a href="#check">check</a>: verify consistency of installed
   1.519 -		packages</li>
   1.520 +	<li><a href="#list-files">list-files</a>: list the files installed with a package</li>
   1.521 +	<li><a href="#block">block, unblock</a>: block an installed package version or unblock it for
   1.522 +		upgrade</li>
   1.523 +	<li><a href="#check">check</a>: verify consistency of installed packages</li>
   1.524  	<li><a href="#bugs">bugs</a>: show known bugs in packages</li>
   1.525  	<li><a href="#depends">depends</a>: display dependencies tree</li>
   1.526  	<li><a href="#depends">rdepends</a>: display reverse dependencies tree</li>
   1.527 -	<li><a href="#extract">extract</a>: extract a (*.tazpkg) package into a
   1.528 -		directory</li>
   1.529 +	<li><a href="#extract">extract</a>: extract a (*.tazpkg) package into a directory</li>
   1.530  	<li><a href="#pack">pack</a>: pack an unpacked or prepared package tree</li>
   1.531 -	<li><a href="#repack">repack</a>: create a package archive from an installed
   1.532 -		package</li>
   1.533 -	<li><a href="#repack-config">repack-config</a>: create a package archive
   1.534 -		with configuration files</li>
   1.535 -	<li><a href="#recompress">recompress</a>: rebuild a package with a better
   1.536 -		compression ratio</li>
   1.537 +	<li><a href="#repack">repack</a>: create a package archive from an installed package</li>
   1.538 +	<li><a href="#repack-config">repack-config</a>: create a package archive with configuration
   1.539 +		files</li>
   1.540 +	<li><a href="#recompress">recompress</a>: rebuild a package with a better compression ratio</li>
   1.541  	<li><a href="#convert">convert</a>: convert alien package to tazpkg</li>
   1.542 -	<li><a href="#list-suggested">list-suggested</a>: print list of suggested
   1.543 -		packages</li>
   1.544 +	<li><a href="#list-suggested">list-suggested</a>: print list of suggested packages</li>
   1.545  </ul>
   1.546 +</article>
   1.547  
   1.548  
   1.549 -<h3>Working with repositories</h3>
   1.550 +<article><header>Working with repositories</header>
   1.551  
   1.552  <ul>
   1.553 -	<li><a href="#recharge">recharge</a>: recharge your packages database from
   1.554 -		the mirror</li>
   1.555 -	<li><a href="#upgrade">upgrade</a>: check packages, list and install latest
   1.556 -		upgrades</li>
   1.557 -	<li><a href="#setup-mirror">setup-mirror</a>: change the mirror URL
   1.558 -		configuration</li>
   1.559 -	<li><a href="#add-undigest">setup-undigest</a>: update an undigest
   1.560 -		mirror</li>
   1.561 +	<li><a href="#recharge">recharge</a>: recharge your packages database from the mirror</li>
   1.562 +	<li><a href="#upgrade">upgrade</a>: check packages, list and install latest upgrades</li>
   1.563 +	<li><a href="#setup-mirror">setup-mirror</a>: change the mirror URL configuration</li>
   1.564 +	<li><a href="#add-undigest">setup-undigest</a>: update an undigest mirror</li>
   1.565  	<li><a href="#list-undigest">list-undigest</a>: list undigest mirrors</li>
   1.566  	<li><a href="#add-undigest">add-undigest</a>: add an undigest mirror</li>
   1.567 -	<li><a href="#remove-undigest">remove-undigest</a>: remove an undigest
   1.568 -		mirror</li>
   1.569 +	<li><a href="#remove-undigest">remove-undigest</a>: remove an undigest mirror</li>
   1.570  </ul>
   1.571 +</article>
   1.572 +</section>
   1.573  
   1.574  
   1.575  
   1.576  
   1.577 -<h2>Service commands</h2>
   1.578 +<section><header>Service commands</header>
   1.579  
   1.580  
   1.581 -<h3 id="usage">usage</h3>
   1.582 +<article id="usage"><h3>usage</h3>
   1.583  
   1.584  <p>Show the full list of the TazPkg commands with a brief description.</p>
   1.585  
   1.586  <pre>
   1.587  $ tazpkg usage
   1.588 -$ tazpkg
   1.589  </pre>
   1.590 +</article>
   1.591  
   1.592  
   1.593 -<h3 id="help">help</h3>
   1.594 +<article id="help"><h3>help</h3>
   1.595  
   1.596 -<p>Display help for the selected command (<tt>help</tt> or <tt>-h</tt>). You can
   1.597 -enter a short name of the command, the full name or a part of the full name. You
   1.598 -can ignore hyphens at the beginning of the short name. If the requested part of
   1.599 -the full name match the several commands, you will be asked to clarify the
   1.600 -request.</p>
   1.601 +<p>Display help for the selected command (<tt>help</tt> or <tt>-h</tt>). You can enter a short name
   1.602 +of the command, the full name or a part of the full name. You can ignore hyphens at the beginning of
   1.603 +the short name. If the requested part of the full name match the several commands, you will be asked
   1.604 +to clarify the request.</p>
   1.605  
   1.606  <pre>
   1.607  $ tazpkg help <em>-gi</em>
   1.608  $ tazpkg -h <em>us</em>
   1.609  </pre>
   1.610 +</article>
   1.611  
   1.612  
   1.613 -<h3 id="activity">activity</h3>
   1.614 +<article id="activity"><h3>activity</h3>
   1.615  
   1.616 -<p>Display TazPkg activity log (<tt>activity</tt> or <tt>log</tt> or
   1.617 -<tt>-a</tt>). Optional parameter <tt>--nb=</tt> lets you set number of displayed
   1.618 -lines.</p>
   1.619 +<p>Display TazPkg activity log (<tt>activity</tt> or <tt>log</tt> or <tt>-a</tt>). Optional
   1.620 +parameter <tt>--nb=</tt> lets you set number of displayed lines.</p>
   1.621  
   1.622  <pre>
   1.623  $ tazpkg activity
   1.624  $ tazpkg -a --nb=<em>20</em>
   1.625  </pre>
   1.626 +</article>
   1.627  
   1.628  
   1.629 -<h3 id="clean-cache">clean-cache</h3>
   1.630 +<article id="clean-cache"><h3>clean-cache</h3>
   1.631  
   1.632 -<p>Remove *.tazpkg packages downloaded to the cache (<tt>clean-cache</tt> or
   1.633 -<tt>-cc</tt>). During installation, TazPkg keeps a copy of packages downloaded
   1.634 -from the Web. This is done to save bandwidth in case of reinstallation, but you
   1.635 -may want to free up space on the hard drive or re-download the packages.</p>
   1.636 +<p>Remove *.tazpkg packages downloaded to the cache (<tt>clean-cache</tt> or <tt>-cc</tt>). During
   1.637 +installation, TazPkg keeps a copy of packages downloaded from the Web. This is done to save
   1.638 +bandwidth in case of reinstallation, but you may want to free up space on the hard drive or
   1.639 +re-download the packages.</p>
   1.640  
   1.641  <pre>
   1.642  # tazpkg clean-cache
   1.643  # tazpkg -cc
   1.644  </pre>
   1.645 +</article>
   1.646  
   1.647  
   1.648 -<h3 id="shell">shell</h3>
   1.649 +<article id="shell"><h3>shell</h3>
   1.650  
   1.651 -<p>Run interactive TazPkg shell. Here you can enter all the TazPkg commands
   1.652 -listed above.</p>
   1.653 +<p>Run interactive TazPkg shell. Here you can enter all the TazPkg commands listed above.</p>
   1.654  
   1.655  <pre>
   1.656  $ tazpkg shell
   1.657  # tazpkg shell
   1.658  </pre>
   1.659 +</article>
   1.660 +</section>
   1.661  
   1.662  
   1.663  
   1.664  
   1.665 -<h2>Working with lists</h2>
   1.666 +<section><header>Working with lists</header>
   1.667  
   1.668  
   1.669 -<h3 id="list">list</h3>
   1.670 +<article id="list"><h3>list</h3>
   1.671  
   1.672 -<p>List packages installed on the system (<tt>list</tt> or <tt>-l</tt>). This
   1.673 -command displays a column list of all installed packages. It also allows you to
   1.674 -list the categories (<tt>c</tt> or <tt>cat</tt> or <tt>categories</tt>),
   1.675 -packages based on category and packages placed on hold (<tt>b</tt> or
   1.676 -<tt>blocked</tt>). You can also use the <tt><a href="#search">search</a></tt>
   1.677 +<p>List packages installed on the system (<tt>list</tt> or <tt>-l</tt>). This command displays a
   1.678 +column list of all installed packages. It also allows you to list the categories (<tt>c</tt> or
   1.679 +<tt>cat</tt> or <tt>categories</tt>), packages based on category and packages placed on hold
   1.680 +(<tt>b</tt> or <tt>blocked</tt>). You can also use the <tt><a href="#search">search</a></tt>
   1.681  command for a list based on a term or package name.</p>
   1.682  
   1.683  <pre>
   1.684 @@ -449,168 +425,198 @@
   1.685  $ tazpkg list <em>games</em>
   1.686  $ tazpkg list blocked
   1.687  </pre>
   1.688 +</article>
   1.689  
   1.690  
   1.691 -<h3 id="list-mirror">list-mirror</h3>
   1.692 +<article id="list-mirror"><h3>list-mirror</h3>
   1.693  
   1.694 -<p>List packages available on the mirror (<tt>list-mirror</tt> or <tt>-lm</tt>).
   1.695 -This command will display the packages list recharged from the mirror. If it
   1.696 -doesn't exist, you will be asked to launch <code>tazpkg
   1.697 -<a href="#recharge">recharge</a></code> as administrator (root) for a list of
   1.698 -available packages. The <tt>--diff</tt> option is used to display the
   1.699 -differences between the last and current list of packages.</p>
   1.700 +<p>List packages available on the mirror (<tt>list-mirror</tt> or <tt>-lm</tt>). This command will
   1.701 +display the packages list recharged from the mirror. If it doesn't exist, you will be asked to
   1.702 +launch <code>tazpkg <a href="#recharge">recharge</a></code> as administrator (root) for a list of
   1.703 +available packages. The <tt>--diff</tt> option is used to display the differences between the last
   1.704 +and current list of packages.</p>
   1.705  
   1.706  <pre>
   1.707  $ tazpkg list-mirror
   1.708  $ tazpkg -lm --diff
   1.709  </pre>
   1.710 +</article>
   1.711  
   1.712  
   1.713 -<h3 id="list-config">list-config</h3>
   1.714 +<article id="list-config"><h3>list-config</h3>
   1.715  
   1.716 -<p>Lists the system configuration files. The <tt>--box</tt> option displays in
   1.717 -table form. You can specify package name to display configuration files only for
   1.718 -this package.</p>
   1.719 +<p>Lists the system configuration files. The <tt>--box</tt> option displays in table form. You can
   1.720 +specify package name to display configuration files only for this package.</p>
   1.721  
   1.722  <pre>
   1.723  $ tazpkg list-config
   1.724  $ tazpkg list-config --box
   1.725  $ tazpkg list-config <em>slim</em>
   1.726 -$ tazpkg list-config --box <em>slim</em>
   1.727 +$ tazpkg list-config <em>slim</em> --box
   1.728  </pre>
   1.729 +</article>
   1.730 +</section>
   1.731  
   1.732  
   1.733  
   1.734  
   1.735 -<h2>Search</h2>
   1.736 +<section><header>Search</header>
   1.737  
   1.738  
   1.739 -<h3 id="search">search</h3>
   1.740 +<article id="search"><h3>search</h3>
   1.741  
   1.742 -<p>Search for packages by owner or package name (<tt>search</tt> or
   1.743 -<tt>-s</tt>). This command will search for the term wanted in the installed
   1.744 -packages (<tt>-i</tt> or <tt>--installed</tt>) and the list of available
   1.745 -packages on the mirror (<tt>-l</tt> or <tt>--list</tt>).</p>
   1.746 +<p>Search for packages by owner or package name (<tt>search</tt> or <tt>-s</tt>). This command will
   1.747 +search for the term wanted in the installed packages (<tt>-i</tt> or <tt>--installed</tt>) and the
   1.748 +list of available packages on the mirror (<tt>-l</tt> or <tt>--list</tt>).</p>
   1.749  
   1.750 -<p>To obtain the latest list of installable packages on the mirror, just run
   1.751 -<code>tazpkg recharge</code> before conducting a search.</p>
   1.752 +<p>To obtain the latest list of installable packages on the mirror, just run <code>tazpkg
   1.753 +recharge</code> before conducting a search.</p>
   1.754  
   1.755  <pre>
   1.756  $ tazpkg search <em>gcc</em>
   1.757  $ tazpkg search <em>mt</em> -i
   1.758  $ tazpkg search <em>bit</em> -l
   1.759  </pre>
   1.760 +</article>
   1.761  
   1.762  
   1.763 -<h3 id="search-pkgname">search-pkgname</h3>
   1.764 +<article id="search-pkgname"><h3>search-pkgname</h3>
   1.765  
   1.766 -<p>Search for a file on mirror and output only the packages names
   1.767 -(<tt>search-pkgname</tt> or <tt>-sp</tt>).</p>
   1.768 +<p>Search for a file on mirror and output only the packages names (<tt>search-pkgname</tt> or
   1.769 +<tt>-sp</tt>).</p>
   1.770  
   1.771  <pre>
   1.772  $ tazpkg search-pkgname <em>libnss</em>
   1.773  $ tazpkg -sp <em>/usr/share/fonts</em>
   1.774  </pre>
   1.775 +</article>
   1.776  
   1.777  
   1.778 -<h3 id="search-file">search-file</h3>
   1.779 +<article id="search-file"><h3>search-file</h3>
   1.780  
   1.781 -<p>Search for a file among the files installed by the packages
   1.782 -(<tt>search-file</tt> or <tt>-sf</tt>). This command is very useful to find the
   1.783 -full path to a file and determine if a file is present on the system. Option
   1.784 -<tt>--mirror</tt> allows to search for a file among all the files available on
   1.785 -the mirror.</p>
   1.786 +<p>Search for a file among the files installed by the packages (<tt>search-file</tt> or
   1.787 +<tt>-sf</tt>). This command is very useful to find the full path to a file and determine if a file
   1.788 +is present on the system. Option <tt>--mirror</tt> allows to search for a file among all the files
   1.789 +available on the mirror.</p>
   1.790  
   1.791  <pre>
   1.792  $ tazpkg search-file <em>libnss</em>
   1.793  $ tazpkg -sf <em>/usr/share/fonts</em> --mirror
   1.794  </pre>
   1.795 +</article>
   1.796 +</section>
   1.797  
   1.798  
   1.799  
   1.800  
   1.801 -<h2>Installing and removing packages</h2>
   1.802 +<section><header>Installing and removing packages</header>
   1.803  
   1.804  
   1.805 -<h3 id="get">get</h3>
   1.806 +<article id="get"><h3>get</h3>
   1.807  
   1.808 -<p>Get a package from the mirror (<tt>get</tt> or <tt>-g</tt>). The downloaded
   1.809 -package is stored in the current directory. To find the path you can use
   1.810 -<code>pwd</code>.</p>
   1.811 +<p>Get a package from the mirror (<tt>get</tt> or <tt>-g</tt>). The downloaded package is stored in
   1.812 +the current directory. You will get regular package, or get-package, or extra-package (in that
   1.813 +order). You can specify <tt>--extra</tt> option to get an extra-package only.</p>
   1.814 +
   1.815 +<p>You can specify multiple packages on the command line or give tazpkg a list of the packages you
   1.816 +want to download or use <tt><a href="#get-list">get-list</a></tt> command.</p>
   1.817  
   1.818  <pre>
   1.819  # tazpkg get <em>grub</em>
   1.820  # tazpkg get <em>nano</em> --root=<em>/mnt/sda6</em>
   1.821 +# tazpkg get <em>palemoon</em> --extra
   1.822 +# tazpkg -g <em>nano mc</em>
   1.823 +# tazpkg -g --list=<em>/tmp/office</em>
   1.824  </pre>
   1.825 +</article>
   1.826  
   1.827  
   1.828 -<h3 id="install">install</h3>
   1.829 +<article id="install"><h3>install</h3>
   1.830  
   1.831 -<p>This command allows the installation of a local package with the
   1.832 -<tt>.tazpkg</tt> extension (<tt>install</tt> or <tt>-i</tt>). See
   1.833 -<tt><a href="#get-install">get-install</a></tt> to install a package from the
   1.834 -internet. Note that you can force the installation via the <tt>--forced</tt>
   1.835 -option. Option <tt>--newconf</tt> allows you to rewrite all user configuration files
   1.836 -using the new files from package. Option <tt>--nodeps</tt> allows you to install only
   1.837 -a specified package without its dependencies.</p>
   1.838 +<p>This command allows the installation of a local package with the <tt>.tazpkg</tt> extension
   1.839 +(<tt>install</tt> or <tt>-i</tt>).</p>
   1.840 +
   1.841 +<p>Option <tt>--forced</tt> allows you to update an already installed package. Option
   1.842 +<tt>--newconf</tt> allows you to rewrite all user configuration files using the new files from a
   1.843 +package. Option <tt>--nodeps</tt> allows you to install only a specified package without its
   1.844 +dependencies.</p>
   1.845 +
   1.846 +<p>You can specify multiple packages on the command line or give tazpkg a list of the packages you
   1.847 +want to install or use <tt><a href="#get-list">install-list</a></tt> command.</p>
   1.848 +
   1.849 +<p>See <tt><a href="#get-install">get-install</a></tt> to install a package from the internet.</p>
   1.850  
   1.851  <pre>
   1.852  # tazpkg install <em>package-1.0.tazpkg</em>
   1.853  # tazpkg -i <em>path/to/package-1.0.tazpkg</em> --forced
   1.854  # tazpkg -i <em>path/to/package-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em>
   1.855 +# tazpkg -i <em>nano-2.4.0.tazpkg mc-4.8.14.tazpkg</em>
   1.856 +# tazpkg -i --list=<em>/tmp/development</em>
   1.857  </pre>
   1.858 +</article>
   1.859  
   1.860  
   1.861 -<h3 id="get-install">get-install</h3>
   1.862 +<article id="get-install"><h3>get-install</h3>
   1.863  
   1.864 -<p>Get and install a package from a mirror on the internet (<tt>get-install</tt>
   1.865 -or <tt>-gi</tt>). Command begins by checking whether the package exists on the
   1.866 -mirror and if it has been already downloaded. For a list of packages on the
   1.867 -mirror, we must use the <tt><a href="#list-mirror">list-mirror</a></tt>
   1.868 -command. Note that you can force the installation via the <tt>--forced</tt>
   1.869 -option. Option <tt>--newconf</tt> allows you to rewrite all user configuration files
   1.870 -using the new files from a package. Option <tt>--nodeps</tt> allows you to install only
   1.871 -a specified package without its dependencies.</p>
   1.872 - 
   1.873 -<p>Option <tt>--forced</tt> allows you to update an already installed package.</p>
   1.874 +<p>Get and install a package from a mirror on the internet (<tt>get-install</tt> or <tt>-gi</tt>).
   1.875 +Command begins by checking whether the package exists on the mirror and if it has been already
   1.876 +downloaded.</p>
   1.877 +
   1.878 +<p>Option <tt>--forced</tt> allows you to update an already installed package. Option
   1.879 +<tt>--newconf</tt> allows you to rewrite all user configuration files using the new files from a
   1.880 +package. Option <tt>--nodeps</tt> allows you to install only a specified package without its
   1.881 +dependencies.</p>
   1.882 +
   1.883 +<p>You can specify multiple packages on the command line or give tazpkg a list of the packages you
   1.884 +want to get and install or use <tt><a href="#get-list">get-install-list</a></tt>
   1.885 +command.</p>
   1.886 +
   1.887 +<p>For a list of packages on the mirror, you must use the <tt><a
   1.888 +href="#list-mirror">list-mirror</a></tt> command.</p>
   1.889  
   1.890  <pre>
   1.891  # tazpkg get-install <em>grub</em>
   1.892  # tazpkg -gi <em>grub</em> --forced
   1.893  # tazpkg -gi <em>nano</em> --root=<em>/mnt/sda6</em>
   1.894 +# tazpkg -gi <em>nano mc</em>
   1.895 +# tazpkg -gi --list=<em>/tmp/multimedia</em>
   1.896  </pre>
   1.897 +</article>
   1.898  
   1.899  
   1.900 -<h3 id="install-list">install-list, get-install-list</h3>
   1.901 +<article id="get-list"><h3>get-list, install-list, get-install-list</h3>
   1.902  
   1.903 -<p>Install a set of packages listed in a file. This command allows you to
   1.904 -(download and) install several packages with a single command and can also be
   1.905 -forced.</p>
   1.906 +<p>Get and/or install a set of packages listed in a file. This command allows you to work with the
   1.907 +several packages with a single command.</p>
   1.908 +
   1.909 +<p>All options are the same as for respective simple commands: <tt><a href="#get">get</a></tt>,
   1.910 +<tt><a href="#install">install</a></tt> and <tt><a href="#get-install">get-install</a></tt>.</p>
   1.911  
   1.912  <pre>
   1.913  # tazpkg install-list <em>my-packages.list</em>
   1.914  # tazpkg get-install-list <em>my-packages.list</em> --forced
   1.915  </pre>
   1.916 +</article>
   1.917  
   1.918  
   1.919 -<h3 id="remove">remove</h3>
   1.920 +<article id="remove"><h3>remove</h3>
   1.921  
   1.922 -<p>Remove a package (<tt>remove</tt> or <tt>-r</tt>). You will be asked for
   1.923 -confirmation (y/N) of removing the package, as well as for removing packages
   1.924 -depending on this package, and for reinstalling packages modified by this
   1.925 -package. This command will delete all files installed with the package.</p>
   1.926 +<p>Remove a package (<tt>remove</tt> or <tt>-r</tt>). You will be asked for confirmation (y/N) of
   1.927 +removing the package, as well as for removing packages depending on this package, and for
   1.928 +reinstalling packages modified by this package. This command will delete all files installed with
   1.929 +the package.</p>
   1.930  
   1.931 -<p>Option <tt>--auto</tt> removes and reinstalls packages without your
   1.932 -confirmation.</p>
   1.933 +<p>Option <tt>--auto</tt> removes and reinstalls packages without your confirmation.</p>
   1.934  
   1.935  <pre>
   1.936  # tazpkg remove <em>bc</em>
   1.937  # tazpkg -r <em>gtk+-3</em> --root=<em>/mnt/sda6</em>
   1.938  # tazpkg -r <em>nano</em> --auto
   1.939  </pre>
   1.940 +</article>
   1.941  
   1.942  
   1.943 -<h3 id="reconfigure">reconfigure</h3>
   1.944 +<article id="reconfigure"><h3>reconfigure</h3>
   1.945  
   1.946  <p>Replays the post-install script from the package.</p>
   1.947  
   1.948 @@ -618,106 +624,111 @@
   1.949  # tazpkg reconfigure <em>gcc</em>
   1.950  # tazpkg reconfigure <em>gcc</em> --root=<em>/mnt/sda6</em>
   1.951  </pre>
   1.952 +</article>
   1.953  
   1.954  
   1.955 -<h3 id="link">link</h3>
   1.956 +<article id="link"><h3>link</h3>
   1.957  
   1.958 -<p>This command allows the installation of a package from another media device.
   1.959 -The set up is done through symbolic links and consumes very little memory. It is
   1.960 -generally used within the system RAM to install add-ons from a USB key.</p>
   1.961 +<p>This command allows the installation of a package from another media device. The set up is done
   1.962 +through symbolic links and consumes very little memory. It is generally used within the system RAM
   1.963 +to install add-ons from a USB key.</p>
   1.964  
   1.965  <pre>
   1.966  # tazpkg link <em>openoffice /media/usbdisk</em>
   1.967  </pre>
   1.968 +</article>
   1.969  
   1.970  
   1.971 -<h3 id="set-release">set-release</h3>
   1.972 +<article id="set-release"><h3>set-release</h3>
   1.973  
   1.974 -<p>The <tt>set-release</tt> command changes the current version and upgrades all
   1.975 -of the packages to the latest release.</p>
   1.976 +<p>This command changes the current version and upgrades all of the packages to the latest
   1.977 +release.</p>
   1.978  
   1.979  <pre>
   1.980  # tazpkg set-release <em>cooking</em>
   1.981  </pre>
   1.982 +</article>
   1.983  
   1.984  
   1.985 -<h3 id="add-flavor">add-flavor, install-flavor</h3>
   1.986 +<article id="add-flavor"><h3>add-flavor, install-flavor</h3>
   1.987  
   1.988 -<p>Install a set of packages from a flavor. In addition, <tt>install-flavor</tt>
   1.989 -purges other installed packages.</p>
   1.990 +<p>Install a set of packages from a flavor. In addition, <tt>install-flavor</tt> purges other
   1.991 +installed packages.</p>
   1.992  
   1.993  <pre>
   1.994  # tazpkg add-flavor <em>gtkonly</em>
   1.995  # tazpkg install-flavor <em>justx</em>
   1.996  </pre>
   1.997 +</article>
   1.998 +</section>
   1.999  
  1.1000  
  1.1001  
  1.1002  
  1.1003 -<h2>Working with packages</h2>
  1.1004 +<section><header>Working with packages</header>
  1.1005  
  1.1006  
  1.1007 -<h3 id="info">info</h3>
  1.1008 +<article id="info"><h3>info</h3>
  1.1009  
  1.1010 -<p>Show all the available information related to your package. You can specify
  1.1011 -the name of the installed package or a package that is not yet installed, but
  1.1012 -available in the repository. You can also get information about a local file
  1.1013 -package by entering an absolute or relative path to the file <tt>.tazpkg</tt>.
  1.1014 -The information contained in the TazPkg database and in the package recipe —
  1.1015 -its version, category, maintainer, Web site and all the dependencies (see also
  1.1016 -Cookutils for more information on recipes).</p>
  1.1017 +<p>Show all the available information related to your package. You can specify the name of the
  1.1018 +installed package or a package that is not yet installed, but available in the repository. You can
  1.1019 +also get information about a local file package by entering an absolute or relative path to the file
  1.1020 +<tt>.tazpkg</tt>. The information contained in the TazPkg database and in the package recipe — its
  1.1021 +version, category, maintainer, Web site and all the dependencies (see also <a
  1.1022 +href="../cookutils/cookutils.en.html" target="_blank">Cookutils</a> for more information on
  1.1023 +recipes).</p>
  1.1024  
  1.1025  <pre>
  1.1026  $ tazpkg info <em>busybox</em>
  1.1027  $ tazpkg info <em>minitube</em>
  1.1028  $ tazpkg info <em>packages/comix-4.0.4.tazpkg</em>
  1.1029  </pre>
  1.1030 +</article>
  1.1031  
  1.1032  
  1.1033 -<h3 id="desc">desc</h3>
  1.1034 +<article id="desc"><h3>desc</h3>
  1.1035  
  1.1036 -<p>Description of the package (if it exists) (<tt>desc</tt> or <tt>-d</tt>).
  1.1037 -This command displays the <tt>description.txt</tt> file of each package (a
  1.1038 -simple text file, justified to 80 characters to fit in a standard terminal).</p>
  1.1039 +<p>Description of the package (<tt>desc</tt> or <tt>-d</tt>).</p>
  1.1040  
  1.1041  <pre>
  1.1042  $ tazpkg desc <em>busybox</em>
  1.1043  </pre>
  1.1044 +</article>
  1.1045  
  1.1046  
  1.1047 -<h3 id="list-files">list-files</h3>
  1.1048 +<article id="list-files"><h3>list-files</h3>
  1.1049  
  1.1050 -<p>List all files installed with a package (<tt>list-files</tt> or
  1.1051 -<tt>-lf</tt>). This command will simply read and display the <tt>files.list</tt>
  1.1052 -of each package which is automatically generated when the package is created and
  1.1053 -is also used to remove files when uninstalling a package.</p>
  1.1054 +<p>List all files installed with a package (<tt>list-files</tt> or <tt>-lf</tt>). This command will
  1.1055 +simply read and display the <tt>files.list</tt> of each package which is automatically generated
  1.1056 +when the package is created and is also used to remove files when uninstalling a package.</p>
  1.1057  
  1.1058  <pre>
  1.1059  $ tazpkg list-files <em>bc</em>
  1.1060  </pre>
  1.1061 +</article>
  1.1062  
  1.1063  
  1.1064 -<h3 id="block">block, unblock, chblock</h3>
  1.1065 +<article id="block"><h3>block, unblock, chblock</h3>
  1.1066  
  1.1067 -<p>The <tt>block</tt> (or <tt>-b</tt>) and <tt>unblock</tt> (or <tt>-u</tt>)
  1.1068 -commands permit you to block installed package versions so that they are not
  1.1069 -maintained by an <tt><a href="#upgrade">upgrade</a></tt>. Command
  1.1070 -<tt>chblock</tt> changes the blocking state of the package. The list of packages on
  1.1071 -hold are contained in the <tt>/var/lib/tazpkg/blocked-packages.list</tt>. This
  1.1072 -file can also be edited by hand.</p>
  1.1073 +<p>The <tt>block</tt> (or <tt>-b</tt>) and <tt>unblock</tt> (or <tt>-u</tt>) commands permit you to
  1.1074 +block installed package versions so that they are not maintained by an <tt><a
  1.1075 +href="#upgrade">upgrade</a></tt>. Command <tt>chblock</tt> changes the blocking state of the
  1.1076 +package. The list of packages on hold are contained in the
  1.1077 +<tt>/var/lib/tazpkg/blocked-packages.list</tt>. This file can also be edited by hand.</p>
  1.1078  
  1.1079  <pre>
  1.1080  # tazpkg block <em>grub</em>
  1.1081  # tazpkg unblock <em>grub</em>
  1.1082  # tazpkg chblock <em>grub</em>
  1.1083  </pre>
  1.1084 +</article>
  1.1085  
  1.1086  
  1.1087 -<h3 id="check">check</h3>
  1.1088 +<article id="check"><h3>check</h3>
  1.1089  
  1.1090 -<p>The <tt>check</tt> command can check dependencies on installed packages and
  1.1091 -determine whether all the files needed for the repacking of packages are
  1.1092 -present.</p>
  1.1093 +<p>Check dependencies on installed packages and determine whether all the files needed for the
  1.1094 +repacking of packages are present. You can specify package name to check or check all installed
  1.1095 +packages. Option <tt>--full</tt> makes few more checks and need more time.</p>
  1.1096  
  1.1097  <pre>
  1.1098  $ tazpkg check
  1.1099 @@ -725,167 +736,168 @@
  1.1100  $ tazpkg check <em>nano</em>
  1.1101  $ tazpkg check <em>sakura</em> --full
  1.1102  </pre>
  1.1103 +</article>
  1.1104  
  1.1105  
  1.1106 -<h3 id="bugs">bugs</h3>
  1.1107 +<article id="bugs"><h3>bugs</h3>
  1.1108  
  1.1109 -<p>Generates a list of known bugs in the packages. You can specify a single
  1.1110 -package to show bugs.</p>
  1.1111 +<p>Generates a list of known bugs in the packages. You can specify a single package to show
  1.1112 +bugs.</p>
  1.1113  
  1.1114  <pre>
  1.1115  $ tazpkg bugs
  1.1116 -$ tazpkg bugs <em>my_package</em>
  1.1117 +$ tazpkg bugs <em>nano</em>
  1.1118  </pre>
  1.1119 +</article>
  1.1120  
  1.1121  
  1.1122 -<h3 id="depends">depends, rdepends</h3>
  1.1123 +<article id="depends"><h3>depends, rdepends</h3>
  1.1124  
  1.1125  <p>Displays a dependency tree or reverse dependency tree for a package.</p>
  1.1126  
  1.1127 -<p>For <code>depends</code> command: option <tt>--mark</tt> marks installed
  1.1128 -packages with plus sign and not installed with a minus/dash. Option
  1.1129 -<tt>--total</tt> calculates the number of displayed packages and their size. Also,
  1.1130 -with both options at a time you'll get the number and size of packages to be
  1.1131 -installed.</p>
  1.1132 +<p>For <code>depends</code> command: option <tt>--mark</tt> marks installed packages with plus sign
  1.1133 +and not installed with a minus/dash. Option <tt>--total</tt> calculates the number of displayed
  1.1134 +packages and their size. Also, with both options at a time you'll get the number and size of
  1.1135 +packages to be installed.</p>
  1.1136  
  1.1137 -<p>For <code>rdepends</code> command: without the <tt>--all</tt> option you'll get
  1.1138 -the list of only installed reverse dependency packages, with this option — a list
  1.1139 -of all available packages. Option <tt>--mark</tt> marks packages as in the
  1.1140 -<code>depends</code> command.</p>
  1.1141 +<p>For <code>rdepends</code> command: <em>without</em> the <tt>--all</tt> option you'll get the list
  1.1142 +of only installed reverse dependency packages, <em>with</em> this option — a list of all available
  1.1143 +packages. Option <tt>--mark</tt> marks packages as in the <code>depends</code> command.</p>
  1.1144  
  1.1145  <pre>
  1.1146 -# tazpkg depends <em>mpd</em>
  1.1147 -# tazpkg rdepends <em>mpd</em>
  1.1148 +$ tazpkg depends <em>mpd</em>
  1.1149 +$ tazpkg rdepends <em>mpd</em>
  1.1150  </pre>
  1.1151 +</article>
  1.1152  
  1.1153  
  1.1154 -<h3 id="extract">extract</h3>
  1.1155 +<article id="extract"><h3>extract</h3>
  1.1156  
  1.1157 -<p>Extract a package into a directory (<tt>extract</tt> or <tt>-e</tt>). If you
  1.1158 -do not specify the destination directory, the package will be extracted in the
  1.1159 -current directory using the name <tt><em>package-version</em></tt>.</p>
  1.1160 +<p>Extract a package into a directory (<tt>extract</tt> or <tt>-e</tt>). If you do not specify the
  1.1161 +destination directory, the package will be extracted in the current directory using the name
  1.1162 +<tt><em>package-version</em></tt>.</p>
  1.1163  
  1.1164  <pre>
  1.1165  $ tazpkg extract <em>package.tazpkg</em>
  1.1166  $ tazpkg extract <em>package.tazpkg target/dir</em>
  1.1167  </pre>
  1.1168 +</article>
  1.1169  
  1.1170  
  1.1171 -<h3 id="pack">pack</h3>
  1.1172 +<article id="pack"><h3>pack</h3>
  1.1173  
  1.1174 -<p>The <tt>pack</tt> command will create a package from a directory prepared in
  1.1175 -advance or from an unpacked package. It can also manually create a .tazpkg
  1.1176 -package (see the Cookutils documentation for the automatic creation of
  1.1177 -packages).</p>
  1.1178 +<p>Create a package from a directory prepared in advance or from an unpacked package. It can also
  1.1179 +manually create a <tt>.tazpkg</tt> package (see the <a href="../cookutils/cookutils.en.html"
  1.1180 +target="_blank">Cookutils</a> documentation for the automatic creation of packages).</p>
  1.1181  
  1.1182  <pre>
  1.1183  # tazpkg pack <em>package-version</em>
  1.1184  </pre>
  1.1185 +</article>
  1.1186  
  1.1187  
  1.1188 -<h3 id="repack">repack</h3>
  1.1189 +<article id="repack"><h3>repack</h3>
  1.1190  
  1.1191 -<p>The <tt>repack</tt> command allows you to recreate a package from the files
  1.1192 -on a system where it was previously installed.</p>
  1.1193 +<p>Recreate a package from the files on a system where it was previously installed.</p>
  1.1194  
  1.1195  <pre>
  1.1196 -$ tazpkg repack <em>package</em>
  1.1197 +# tazpkg repack <em>package</em>
  1.1198  </pre>
  1.1199 +</article>
  1.1200  
  1.1201  
  1.1202 -<h3 id="repack-config">repack-config</h3>
  1.1203 +<article id="repack-config"><h3>repack-config</h3>
  1.1204  
  1.1205 -<p>The <tt>repack-config</tt> command recreates a package of the system
  1.1206 -configuration files (see <tt><a href="#list-config">list-config</a></tt>). It is
  1.1207 -enough to install the package to find the current configuration.</p>
  1.1208 +<p>Recreate a package of the system configuration files (see <tt><a
  1.1209 +href="#list-config">list-config</a></tt>). It is enough to install the package to find the current
  1.1210 +configuration.</p>
  1.1211  
  1.1212  <pre>
  1.1213  # tazpkg repack-config
  1.1214  </pre>
  1.1215 +</article>
  1.1216  
  1.1217  
  1.1218 -<h3 id="recompress">recompress</h3>
  1.1219 +<article id="recompress"><h3>recompress</h3>
  1.1220  
  1.1221 -<p>Recompress .tazpkg cpio archive with lzma.</p>
  1.1222 +<p>Recompress <tt>.tazpkg</tt> cpio archive with lzma.</p>
  1.1223  
  1.1224  <pre>
  1.1225 -$ tazpkg recompress <em>package.tazpkg</em>
  1.1226 +# tazpkg recompress <em>package.tazpkg</em>
  1.1227  </pre>
  1.1228 +</article>
  1.1229  
  1.1230  
  1.1231 -<h3 id="convert">convert</h3>
  1.1232 +<article id="convert"><h3>convert</h3>
  1.1233  
  1.1234 -<p>Converts an "alien" package into a SliTaz package (.tazpkg) (<tt>convert</tt>
  1.1235 -or <tt>-c</tt>).</p>
  1.1236 +<p>Converts an “alien” package into a SliTaz package (<tt>.tazpkg</tt>) (<tt>convert</tt> or
  1.1237 +<tt>-c</tt>).</p>
  1.1238  
  1.1239  <p>Supported packages formats:</p>
  1.1240  
  1.1241  <ul>
  1.1242 -	<li><a href="https://packages.debian.org/search" target="_blank">Debian
  1.1243 -		packages</a> (<tt>*.deb</tt>, <tt>*.udeb</tt>)</li>
  1.1244 -	<li><a href="http://rpmfind.net/linux/rpm2html/search.php"
  1.1245 -		target="_blank">RPM packages</a> (<tt>*.rpm</tt>)</li>
  1.1246 +	<li><a href="https://packages.debian.org/search" target="_blank">Debian packages</a>
  1.1247 +		(<tt>*.deb</tt>, <tt>*.udeb</tt>)</li>
  1.1248 +	<li><a href="http://rpmfind.net/linux/rpm2html/search.php" target="_blank">RPM packages</a>
  1.1249 +		(<tt>*.rpm</tt>)</li>
  1.1250  	<li><a href="http://www.slax.org/" target="_blank">Slax packages</a>
  1.1251  		(<tt>*.sb</tt>)</li>
  1.1252  	<li><a href="http://puppylinux.org/" target="_blank">Puppy packages</a>
  1.1253  		(<tt>*.sfs</tt>, <tt>*.pet</tt>)</li>
  1.1254 -	<li><a href="http://www.slackware.com/packages/" target="_blank">Slackware
  1.1255 -		packages</a> (<tt>*.tgz</tt>)</li>
  1.1256 +	<li><a href="http://www.slackware.com/packages/" target="_blank">Slackware packages</a>
  1.1257 +		(<tt>*.tgz</tt>)</li>
  1.1258  	<li><a href="http://www.nutyx.org/" target="_blank">NuTyX packages</a>
  1.1259  		(<tt>*.cards.tar.xz</tt>)</li>
  1.1260 -	<li><a href="https://www.archlinux.org/packages/" target="_blank">Arch
  1.1261 -		Linux</a> / <a href="http://pkgs.alpinelinux.org/packages"
  1.1262 -		target="_blank">Alpine Linux packages</a> (<tt>*.apk</tt>,
  1.1263 -		<tt>*.pkg.tar.gz</tt>, <tt>*.pkg.tar.xz</tt>)</li>
  1.1264 -	<li><a href="http://wiki.openwrt.org/doc/packages" target="_blank">OpenWrt
  1.1265 -		packages</a> (<tt>*.ipk</tt>, <tt>*.opk</tt>)</li>
  1.1266 -	<li><a href="http://0.tuxfamily.org/doku.php/paquets/start"
  1.1267 -		target="_blank">0Linux packages</a> (<tt>*.spack</tt>)</li>
  1.1268 -	<li><a href="http://www.paldo.org/index-section-packages.html"
  1.1269 -		target="_blank">paldo packages</a> (<tt>*.tar.bz2</tt>)</li>
  1.1270 -	<li><a href="http://www.voidlinux.eu/packages/" target="_blank">Void
  1.1271 -		packages</a> (<tt>*.xbps</tt>)</li>
  1.1272 -	<li><a href="http://tinycorelinux.net/" target="_blank">Tinycore
  1.1273 -		packages</a> (<tt>*.tce</tt>, <tt>*.tcel</tt>, <tt>*.tcem</tt>,
  1.1274 -		<tt>*.tcz</tt>)</li>
  1.1275 +	<li><a href="https://www.archlinux.org/packages/" target="_blank">Arch Linux</a> /
  1.1276 +		<a href="http://pkgs.alpinelinux.org/packages" target="_blank">Alpine Linux packages</a>
  1.1277 +		(<tt>*.apk</tt>, <tt>*.pkg.tar.gz</tt>, <tt>*.pkg.tar.xz</tt>)</li>
  1.1278 +	<li><a href="http://wiki.openwrt.org/doc/packages" target="_blank">OpenWrt packages</a>
  1.1279 +		(<tt>*.ipk</tt>, <tt>*.opk</tt>)</li>
  1.1280 +	<li><a href="http://0.tuxfamily.org/doku.php/paquets/start" target="_blank">0Linux packages</a>
  1.1281 +		(<tt>*.spack</tt>)</li>
  1.1282 +	<li><a href="http://www.paldo.org/index-section-packages.html" target="_blank">paldo packages</a>
  1.1283 +		(<tt>*.tar.bz2</tt>)</li>
  1.1284 +	<li><a href="http://www.voidlinux.eu/packages/" target="_blank">Void packages</a>
  1.1285 +		(<tt>*.xbps</tt>)</li>
  1.1286 +	<li><a href="http://tinycorelinux.net/" target="_blank">Tinycore packages</a>
  1.1287 +		(<tt>*.tce</tt>, <tt>*.tcel</tt>, <tt>*.tcem</tt>, <tt>*.tcz</tt>)</li>
  1.1288  </ul>
  1.1289  
  1.1290  <pre>
  1.1291  # tazpkg convert <em>alien-package-file</em>
  1.1292  </pre>
  1.1293 +</article>
  1.1294  
  1.1295  
  1.1296 -<h3 id="list-suggested">list-suggested</h3>
  1.1297 +<article id="list-suggested"><h3>list-suggested</h3>
  1.1298  
  1.1299 -<p>List suggested packages for each of your installed packages. With option
  1.1300 -<tt>--all</tt> it shows all suggested packages, and without option it shows only
  1.1301 -non installed suggested packages.</p>
  1.1302 +<p>List suggested packages for each of your installed packages. With option <tt>--all</tt> it shows
  1.1303 +all suggested packages, and without option it shows only non installed suggested packages.</p>
  1.1304  
  1.1305  <pre>
  1.1306  $ tazpkg list-suggested
  1.1307  $ tazpkg list-suggested --all
  1.1308  </pre>
  1.1309 +</article>
  1.1310 +</section>
  1.1311  
  1.1312  
  1.1313  
  1.1314  
  1.1315 -<h2>Working with repositories</h2>
  1.1316 +<section><header>Working with repositories</header>
  1.1317  
  1.1318  
  1.1319 -<h3 id="recharge">recharge</h3>
  1.1320 +<article id="recharge"><h3>recharge</h3>
  1.1321  
  1.1322 -<p>Recharge the list of available packages on the mirror. This command will
  1.1323 -download the most recent packages database of installable packages on the mirror
  1.1324 -and before starting will save the old database. Once the DB is updated, you can
  1.1325 -then use the <tt><a href="#list">list</a></tt> and
  1.1326 -<tt><a href="#search">search</a></tt> commands. To view and list the
  1.1327 -differences, you can use <code>list-mirror --diff</code>; and to view and update
  1.1328 -packages, you can simply <tt><a href="#upgrade">upgrade</a></tt>.</p>
  1.1329 +<p>Recharge the list of available packages on the mirror. This command will download the most recent
  1.1330 +packages database of installable packages on the mirror and before starting will save the old
  1.1331 +database. Once the DB is updated, you can then use the <tt><a href="#list">list</a></tt> and
  1.1332 +<tt><a href="#search">search</a></tt> commands. To view and list the differences, you can use
  1.1333 +<code>list-mirror --diff</code>; and to view and update packages, you can simply
  1.1334 +<tt><a href="#upgrade">upgrade</a></tt>.</p>
  1.1335  
  1.1336 -<p>Command without options will recharge databases of all your repositories. You
  1.1337 -can specify the repository to be recharged: "main" for main repo, or undigest
  1.1338 -repository name. Option <tt>--root=</tt> allows you to specify the root of the filesystem
  1.1339 -where you want to recharge DB.</p>
  1.1340 +<p>Command without options will recharge databases of all your repositories. You can specify the
  1.1341 +repository to be recharged: “main” for main repo, or undigest repository name.</p>
  1.1342  
  1.1343  <pre>
  1.1344  # tazpkg recharge
  1.1345 @@ -893,91 +905,94 @@
  1.1346  # tazpkg recharge <em>My_Undigest</em>
  1.1347  # tazpkg recharge --root=<em>/mnt/sda6</em>
  1.1348  </pre>
  1.1349 +</article>
  1.1350  
  1.1351  
  1.1352 -<h3 id="upgrade">upgrade</h3>
  1.1353 +<article id="upgrade"><h3>upgrade</h3>
  1.1354  
  1.1355 -<p>Upgrade allows you to update all installed packages available on the current
  1.1356 -mirror (<tt>upgrade</tt> or <tt>up</tt>). Upgrading packages is an important
  1.1357 -part of system security, it helps to keep you secure with the latest updates and
  1.1358 -fixes. The SliTaz project, although tiny, provides regular updates on security
  1.1359 -and generally offers the latest versions of software. Note that this function is
  1.1360 -aimed at people with SliTaz installed on a hard drive. Updated packages in
  1.1361 -Live CD mode will be lost on system shutdown.</p>
  1.1362 +<p>Upgrade allows you to update all installed packages available on the current mirror
  1.1363 +(<tt>upgrade</tt> or <tt>up</tt>). Upgrading packages is an important part of system security, it
  1.1364 +helps to keep you secure with the latest updates and fixes. The SliTaz project, although tiny,
  1.1365 +provides regular updates on security and generally offers the latest versions of software. Note that
  1.1366 +this function is aimed at people with SliTaz installed on a hard drive. Updated packages in Live CD
  1.1367 +mode will be lost on system shutdown.</p>
  1.1368  
  1.1369  <p>At the beginning the packages database is updated automatically (<tt><a
  1.1370 -href="#recharge">recharge</a></tt>) in order to provide you with the current
  1.1371 -list of packages that you can update.</p>
  1.1372 +href="#recharge">recharge</a></tt>) in order to provide you with the current list of packages that
  1.1373 +you can update.</p>
  1.1374  
  1.1375 -<p>Without options it runs in interactive mode and asks before install. You can
  1.1376 -specify one of the next options: <tt>-c</tt> or <tt>--check</tt> to check only
  1.1377 -for available upgrades; <tt>-i</tt> or <tt>--install</tt> to check for upgrades
  1.1378 -and install them all.</p>
  1.1379 +<p>Without options it runs in interactive mode and asks before install. You can specify one of the
  1.1380 +next options: <tt>-c</tt> or <tt>--check</tt> to check only for available upgrades; <tt>-i</tt> or
  1.1381 +<tt>--install</tt> to check for upgrades and install them all.</p>
  1.1382  
  1.1383  <pre>
  1.1384  # tazpkg upgrade
  1.1385  # tazpkg up --check
  1.1386  # tazpkg up -i
  1.1387  </pre>
  1.1388 +</article>
  1.1389  
  1.1390  
  1.1391 -<h3 id="setup-mirror">setup-mirror</h3>
  1.1392 +<article id="setup-mirror"><h3>setup-mirror</h3>
  1.1393  
  1.1394 -<p>Setup the URL for the mirror. The <tt>setup-mirror</tt> (or <tt>-sm</tt>)
  1.1395 -command will ask for the URL of the new mirror. Note that you can also modify
  1.1396 -the main <tt>/var/lib/tazpkg/mirror</tt> file. The URL must point to the
  1.1397 -directory containing the <tt>packages.info</tt> and packages.</p>
  1.1398 +<p>Setup the URL for the mirror (<tt>setup-mirror</tt> or <tt>-sm</tt>). Command will ask for the
  1.1399 +URL of the new mirror. Note that you can also modify the main <tt>/var/lib/tazpkg/mirror</tt> file.
  1.1400 +The URL must point to the directory containing the <tt>packages.info</tt> and packages.</p>
  1.1401  
  1.1402  <pre>
  1.1403  # tazpkg setup-mirror
  1.1404  </pre>
  1.1405 +</article>
  1.1406  
  1.1407  
  1.1408 -<h3 id="add-undigest">add-undigest, setup-undigest</h3>
  1.1409 +<article id="add-undigest"><h3>add-undigest, setup-undigest</h3>
  1.1410  
  1.1411 -<p>Set the URL of an additional unofficial mirror to test packages that are not
  1.1412 -yet present on the official mirrors. Note, you can also manually edit the file
  1.1413 -in <tt>/var/lib/tazpkg/undigest/<em>repository</em></tt>. The URL must point to
  1.1414 -the directory containing the packages and <tt>packages.info</tt>.</p>
  1.1415 +<p>Set the URL of an additional unofficial mirror to test packages that are not yet present on the
  1.1416 +official mirrors. Note, you can also manually edit the file in
  1.1417 +<tt>/var/lib/tazpkg/undigest/<em>repository</em></tt>. The URL must point to the directory
  1.1418 +containing the packages and <tt>packages.info</tt>.</p>
  1.1419  
  1.1420  <pre>
  1.1421  # tazpkg add-undigest <em>public-repository http://my.home.org/slitaz</em>
  1.1422  # tazpkg setup-undigest <em>local-repository /home/slitaz/packages</em>
  1.1423  </pre>
  1.1424 +</article>
  1.1425  
  1.1426  
  1.1427 -<h3 id="list-undigest">list-undigest</h3>
  1.1428 +<article id="list-undigest"><h3>list-undigest</h3>
  1.1429  
  1.1430 -<p>Lists additional undigest mirrors. Option <tt>--box</tt> will output list in
  1.1431 -the table form.</p>
  1.1432 +<p>Lists additional undigest mirrors. Option <tt>--box</tt> will output list in the table form.</p>
  1.1433  
  1.1434  <pre>
  1.1435 -# tazpkg list-undigest
  1.1436 -# tazpkg list-undigest --box
  1.1437 +$ tazpkg list-undigest
  1.1438 +$ tazpkg list-undigest --box
  1.1439  </pre>
  1.1440 +</article>
  1.1441  
  1.1442  
  1.1443 -<h3 id="remove-undigest">remove-undigest</h3>
  1.1444 +<article id="remove-undigest"><h3>remove-undigest</h3>
  1.1445  
  1.1446 -<p>Removes the URL of an undigest mirror. You will be asked for
  1.1447 -confirmation.</p>
  1.1448 +<p>Removes the URL of an undigest mirror. You will be asked for confirmation.</p>
  1.1449  
  1.1450  <pre>
  1.1451  # tazpkg remove-undigest <em>my-repository</em>
  1.1452  </pre>
  1.1453 +</article>
  1.1454 +</section>
  1.1455  
  1.1456  
  1.1457  
  1.1458  
  1.1459 -<h2>Maintainer</h2>
  1.1460 +<section><header>Maintainer</header>
  1.1461  
  1.1462  <p>Christophe Lincoln &lt;pankso at slitaz.org&gt;</p>
  1.1463 +</section>
  1.1464  
  1.1465 -</div>
  1.1466 -<!-- End content -->
  1.1467 +
  1.1468 +
  1.1469  
  1.1470  <footer>
  1.1471 -	Copyright © 2015 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
  1.1472 +	Copyright © 2015 <a href="http://www.slitaz.org/en/">SliTaz GNU/Linux</a>
  1.1473  </footer>
  1.1474  
  1.1475  </body>
     2.1 --- a/doc/tazpkg.es.html	Sun Sep 06 12:48:04 2015 +0200
     2.2 +++ b/doc/tazpkg.es.html	Mon Oct 05 03:53:47 2015 +0300
     2.3 @@ -1,10 +1,11 @@
     2.4  <!DOCTYPE html>
     2.5  <html lang="es">
     2.6  <head>
     2.7 -	<meta charset="utf-8" />
     2.8 -	<title>Manual TazPkg (es)</title>
     2.9 -	<link rel="stylesheet" type="text/css" href="../slitaz-doc.css" />
    2.10 -	<script type="text/javascript" src="../slitaz-doc.js"></script>
    2.11 +	<meta charset="UTF-8">
    2.12 +	<title>Manual TazPkg</title>
    2.13 +	<meta name="viewport" content="width=device-width,initial-scale=1">
    2.14 +	<link rel="stylesheet" href="../slitaz-doc.css">
    2.15 +	<script src="../slitaz-doc.js"></script>
    2.16  </head>
    2.17  <body>
    2.18  
    2.19 @@ -12,162 +13,348 @@
    2.20  	<h1>Manual TazPkg</h1>
    2.21  </header>
    2.22  
    2.23 -<!-- Start content -->
    2.24 -<div id="content">
    2.25  
    2.26 +<section><header>Nombre</header>
    2.27  
    2.28 -<h2>NOMBRE</h2>
    2.29 +<p>TazPkg — Pequeño administrador autónomo de paquetes y espejos de paquetes.</p>
    2.30 +</section>
    2.31  
    2.32 -<p>	TazPkg — Pequeño administrador autónomo de paquetes y espejos de
    2.33 -paquetes.</p>
    2.34  
    2.35  
    2.36 -<h2>SINTAXIS</h2>
    2.37 +
    2.38 +<section><header>Sintaxis</header>
    2.39  
    2.40  <pre>
    2.41 -tazpkg [comando] [package|dir|pattern|list|cat|--opt] [dir|--opt]
    2.42 +tazpkg [comando] [parámetros...]
    2.43 +</pre>
    2.44 +</section>
    2.45 +
    2.46 +
    2.47 +
    2.48 +
    2.49 +<section><header>Descripción</header>
    2.50 +
    2.51 +<p>TazPkg es un administrador de paquetes ligero para instalar, catalogar, descargar, actualizar o
    2.52 +desinstalar paquetes precompilados en un sistema GNU/Linux. TazPkg ofrece comandos para la búsqueda
    2.53 +y creación de paquetes y fue creado independientemente para el proyecto. El formato de los paquetes
    2.54 +usando la extensión *.tazpkg es un fichero cpio que contiene un sistema de archivos comprimido con
    2.55 +lzma, un fichero de recibo y una descripción opcional. TazPkg también administra dependencias
    2.56 +basadas en los ficheros de recibo de los paquetes. Cada archivo de recibo contiene toda la
    2.57 +información sobre un paquete y también puede incluir funciones para antes y después de la
    2.58 +instalación. El mismo fichero de recibo es usado por <a href="../cookutils/cookutils.en.html"
    2.59 +target="_blank">Cookutils</a> para compilar desde el código fuente y generar un paquete .tazpkg.</p>
    2.60 +
    2.61 +<p>TazPkg está construido completamente desde cero usando shell script, compatible con Bash, se
    2.62 +ejecuta bajo Ash (que forma parte de BusyBox). TazPkg es distribuido bajo la licencia libre de GNU
    2.63 +<a href="file:///usr/share/licenses/gpl.txt" target="_blank">GPL V3</a>.</p>
    2.64 +</section>
    2.65 +
    2.66 +
    2.67 +
    2.68 +
    2.69 +<section><header>Environment</header>
    2.70 +
    2.71 +<p>TazPkg uses some environment variables:</p>
    2.72 +
    2.73 +<ul>
    2.74 +	<li><tt>LANGUAGE</tt>: defines the language of output and user confirmations.
    2.75 +		<x-details>Note, <tt>LANG</tt> and <tt>LC_ALL</tt> environment variables also affect output
    2.76 +		language</x-details></li>
    2.77 +	<li><tt>LC_TIME</tt>: defines the date format in the <a href="#activity">activity</a>
    2.78 +		command</li>
    2.79 +	<li><tt>root</tt>: if defined it points to the root of file system where TazPkg should work.
    2.80 +		Note, value defined using <tt>--root=</tt> option has precedence over this environment
    2.81 +		variable</li>
    2.82 +</ul>
    2.83 +</section>
    2.84 +
    2.85 +
    2.86 +
    2.87 +
    2.88 +<section><header>Files</header>
    2.89 +
    2.90 +
    2.91 +<article><header>Configuration files</header>
    2.92 +
    2.93 +<ul>
    2.94 +	<li><tt><a href="file:///etc/slitaz/slitaz.conf"
    2.95 +		target="_blank">/etc/slitaz/slitaz.conf</a></tt></li>
    2.96 +	<li><tt><a href="file:///etc/slitaz/tazpkg.conf"
    2.97 +		target="_blank">/etc/slitaz/tazpkg.conf</a></tt></li>
    2.98 +</ul>
    2.99 +</article>
   2.100 +
   2.101 +
   2.102 +<article><header>Package database files</header>
   2.103 +
   2.104 +<p>Default placement of the package database is <tt>/var/lib/tazpkg</tt>.</p>
   2.105 +
   2.106 +<ul>
   2.107 +	<li><tt><a href="file:///var/lib/tazpkg/ID" target="_blank">ID</a></tt> (deprecated):
   2.108 +		identifier of the current SliTaz repository state.
   2.109 +		<x-details>The value changes when new or updated packages appear in the
   2.110 +		repository.</x-details></li>
   2.111 +	<li><tt><a href="file:///var/lib/tazpkg/IDs" target="_blank">IDs</a></tt>: identifier of the
   2.112 +		current SliTaz repository state and the UNIX time stamp.
   2.113 +		<x-details>The ID value changes when new or updated packages appear in the repository. Time
   2.114 +		stamp allows you to track how long a change is made in the repository and to track the
   2.115 +		freshness of repository mirrors. (To convert UNIX time stamp to the date:
   2.116 +		<code>date -d@<em>timestamp</em></code>)</x-details></li>
   2.117 +	<li><tt><a href="file:///var/lib/tazpkg/mirror" target="_blank">mirror</a></tt>: URL of the
   2.118 +		current repository mirror in use.
   2.119 +		<x-details>URL points to the remote folder containing packages and database
   2.120 +		files.</x-details></li>
   2.121 +	<li><tt><a href="file:///var/lib/tazpkg/mirrors" target="_blank">mirrors</a></tt>: list of URLs
   2.122 +		of available repository mirrors.
   2.123 +		<x-details>Note the difference between URLs from these two files; you should append URL from
   2.124 +		this file by <tt>packages/<em>cooking</em>/</tt> (for <tt><em>cooking</em></tt>-based Slitaz
   2.125 +		version).</x-details></li>
   2.126 +	<li><tt><a href="file:///var/lib/tazpkg/packages.list" target="_blank">packages.list</a></tt>
   2.127 +		(deprecated): list of package names with version numbers available in the repository.</li>
   2.128 +	<li><tt><a href="file:///var/lib/tazpkg/packages.desc" target="_blank">packages.desc</a></tt>
   2.129 +		(deprecated): list contained package name, version, short description, category and upstream
   2.130 +		URL.</li>
   2.131 +	<li><tt><a href="file:///var/lib/tazpkg/packages.txt" target="_blank">packages.txt</a></tt>
   2.132 +		(deprecated): list containing package name, version, short description and two package sizes
   2.133 +		<x-details>(first — traffic to download package, second — HDD size for installed
   2.134 +		package)</x-details>.</li>
   2.135 +	<li><tt><a href="file:///var/lib/tazpkg/packages.md5" target="_blank">packages.md5</a></tt>
   2.136 +		(deprecated): list containing MD5 checksum with package file name.</li>
   2.137 +	<li><tt><a href="file:///var/lib/tazpkg/packages.info" target="_blank">packages.info</a></tt>:
   2.138 +		list was built to replace and extend above lists.
   2.139 +		<x-details>For every package available in the repository it contains: package name, version,
   2.140 +		category, short description, upstream URL, tags, package sizes, depends and MD5 checksum.
   2.141 +		Development continues, and the list can be extended by other fields, if
   2.142 +		necessary.</x-details></li>
   2.143 +	<li><tt><a href="file:///var/lib/tazpkg/packages.equiv" target="_blank">packages.equiv</a></tt>:
   2.144 +		list of equivalent packages available in the repository.
   2.145 +		<x-details>Format of the list item: <tt><em>package</em>=<em>rule rule…</em></tt>.<br>
   2.146 +		Format of the rule: <tt><em>alternative:newname</em></tt> — if <tt><em>alternative</em></tt>
   2.147 +		is installed then <tt><em>newname</em></tt> will be installed instead of the
   2.148 +		<tt><em>package</em></tt>.<br>
   2.149 +		In the second format of the rule <tt><em>alternative:</em></tt> part is omitted — in this
   2.150 +		case <tt><em>newname</em></tt> <em>can be</em> installed instead of the
   2.151 +		<tt><em>package</em></tt> (in the user choice).</x-details></li>
   2.152 +	<li><tt><a href="file:///var/lib/tazpkg/packages.diff" target="_blank">packages.diff</a></tt>:
   2.153 +		list created when you run <tt><a href="#recharge">recharge</a></tt> command.
   2.154 +		<x-details>List contains package names with versions of the new packages available in the
   2.155 +		repository with the last recharge.</x-details></li>
   2.156 +	<li><tt><a href="file:///var/lib/tazpkg/packages.up" target="_blank">packages.up</a></tt>: list
   2.157 +		created when you run <tt><a href="#upgrade">upgrade</a></tt> command.
   2.158 +		<x-details>List contains package names you can upgrade with the last
   2.159 +		recharge.</x-details></li>
   2.160 +	<li><tt><a href="file:///var/lib/tazpkg/descriptions.txt"
   2.161 +		target="_blank">descriptions.txt</a></tt>: list of the “long” descriptions of the all
   2.162 +		packages available on the repository.</li>
   2.163 +	<li><tt>packages-desc.<em>language</em></tt> — optional list of the packages translated short
   2.164 +		descriptions
   2.165 +		<x-details>(see the package tazpkg-desc-ru)</x-details>.</li>
   2.166 +	<li><tt>descriptions.<em>language</em>.txt</tt> — optional list of the packages translated
   2.167 +		“long” descriptions
   2.168 +		<x-details>(see the package tazpkg-desc-ru)</x-details>.</li>
   2.169 +	<li><tt>packages.icons</tt> — optional list of the packages icons for TazPanel.</li>
   2.170 +	<li><tt><a href="file:///var/lib/tazpkg/blocked-packages.list"
   2.171 +		target="_blank">blocked-packages.list</a></tt>: optional list of the packages blocked for
   2.172 +		update.</li>
   2.173 +	<li><tt><a href="file:///var/lib/tazpkg/extra.list" target="_blank">extra.list</a></tt>: list of
   2.174 +		the extra packages
   2.175 +		<x-details>(non-free packages; free packages but not compiled from sources). List contains
   2.176 +		package name, short description, upstream URL, category, version, license.</x-details></li>
   2.177 +	<li><tt>files.list.lzma</tt>: very large compressed list which contains all the files of all the
   2.178 +		packages available in the repository
   2.179 +		<x-details>(nearly 5,000 packages and nearly 0.7 million files now)</x-details>.</li>
   2.180 +	<li><tt>files-list.md5</tt>: MD5 checksum of the <tt>files.list.lzma</tt>.</li>
   2.181 +	<li><tt><a href="file:///var/lib/tazpkg/installed.info" target="_blank">installed.info</a></tt>:
   2.182 +		list of the installed packages with the exact format of the <tt>packages.info</tt> list.
   2.183 +		<x-details>Idea is just to copy list item from <tt>packages.info</tt> to the
   2.184 +		<tt>installed.info</tt> during package installation.</x-details></li>
   2.185 +	<li><tt><a href="file:///var/lib/tazpkg/installed.md5" target="_blank">installed.md5</a></tt>
   2.186 +		(deprecated): list containing MD5 checksum with file names of all installed packages.</li>
   2.187 +	<li><tt><a href="file:///var/lib/tazpkg/priority" target="_blank">priority</a></tt>: optional
   2.188 +		list of the repositories priority.
   2.189 +		<x-details>One repository name per line. Undigest repositories are called by their names and
   2.190 +		main repository by “main”. If priority list absent, then default priority is: main
   2.191 +		repository and all existing undigest repositories in the alphabetical
   2.192 +		order.</x-details></li>
   2.193 +</ul>
   2.194 +
   2.195 +<p>All the deprecated files will be deleted after we verify that the programs do not use them (and
   2.196 +modify the programs as necessary).</p>
   2.197 +
   2.198 +<p>In addition to the common package database files there is also individual folders for all
   2.199 +installed packages placed by default in the <tt>/var/lib/tazpkg/installed/<em>package</em></tt>.
   2.200 +Every folder here may contain the following files:</p>
   2.201 +
   2.202 +<ul>
   2.203 +	<li><tt>receipt</tt> (mandatory) — the package recipe</li>
   2.204 +	<li><tt>files.list</tt> (mandatory) — list of package files</li>
   2.205 +	<li><tt>md5sum</tt> (mandatory) — checksums of package files (other checksum files can be
   2.206 +		specified in the settings: <tt>cksum</tt> (CRC32), <tt>md5sum</tt> (MD5), <tt>sha1sum</tt>
   2.207 +		(SHA1), <tt>sha256sum</tt> (SHA256), <tt>sha512sum</tt> (SHA512), <tt>sha3sum</tt>
   2.208 +		(SHA3-512))</li>
   2.209 +	<li><tt>description.txt</tt> (optional) — “long” description</li>
   2.210 +	<li><tt>modifiers</tt> (optional) — list of packages that have replaced some of the files of
   2.211 +		this package</li>
   2.212 +	<li><tt>volatile.cpio.gz</tt> (optional) — archive of “official” configuration files</li>
   2.213 +</ul>
   2.214 +</article>
   2.215 +
   2.216 +
   2.217 +<article><header>Cache</header>
   2.218 +
   2.219 +<p>Default placement of the packages cache is <tt>/var/cache/tazpkg</tt> with sub-folders for the
   2.220 +different repositories.
   2.221 +<x-details>It is exactly <tt>/var/cache/tazpkg/<em>cooking</em>/packages</tt> for the
   2.222 +<tt><em>cooking</em></tt>-based SliTaz version.</x-details></p>
   2.223 +</article>
   2.224 +
   2.225 +
   2.226 +<article><header>Misc files</header>
   2.227 +
   2.228 +<p>File with default placement <tt><a href="file:///var/log/slitaz/tazpkg.log"
   2.229 +target="_blank">/var/log/slitaz/tazpkg.log</a></tt> stores TazPkg activity log.
   2.230 +<x-details>Log stores five types of actions: installing, uninstalling, blocking, unblocking,
   2.231 +reconfiguring packages.</x-details></p>
   2.232 +
   2.233 +<p>Shared MIME information which allows to “guess” SliTaz package files, package receipts and SliTaz
   2.234 +flavor files.
   2.235 +<x-details>File placed here: <tt><a href="file:///usr/share/mime/packages/tazpkg.xml"
   2.236 +target="_blank">/usr/share/mime/packages/tazpkg.xml</a></tt>.</x-details></p>
   2.237 +
   2.238 +<p>Plug-in for the TazPanel (SliTaz administration and configuration panel)
   2.239 +<tt>/var/www/tazpanel/pkgs.cgi</tt> allows you to manage SliTaz packages in the
   2.240 +<a href="http://127.0.0.1:82/pkgs.cgi" target="_blank">web application</a>.</p>
   2.241 +
   2.242 +<p>TazPkg documentation is placed in the <tt>/usr/share/doc/tazpkg</tt> folder.</p>
   2.243 +</article>
   2.244 +</section>
   2.245 +
   2.246 +
   2.247 +
   2.248 +
   2.249 +<section><header>Comandos</header>
   2.250 +
   2.251 +<p>The first <tt>tazpkg</tt> parameter is a command followed by other mandatory and optional
   2.252 +parameters as will be described hereinafter. Options begin with double dashes, you can arrange them
   2.253 +in any order and in any place, even before the command. Unknown and inappropriate options are
   2.254 +ignored. The following commands are equivalent:</p>
   2.255 +
   2.256 +<pre>
   2.257 +$ tazpkg info nano --root=<em>/mnt/sda6</em>
   2.258 +$ tazpkg --root=<em>/mnt/sda6</em> info nano
   2.259 +$ tazpkg info --root=<em>/mnt/sda6</em> nano <em>--color</em>
   2.260  </pre>
   2.261  
   2.262 +<p>You can add global option <tt>--root=…</tt> to any TazPkg command. This option allows to work
   2.263 +with other SliTaz installations. Option points to the root of mounted file system from other SliTaz
   2.264 +installation.
   2.265 +<x-details>By the way, using this option allows to install SliTaz to the other file system “from
   2.266 +scratch”, and upgrade SliTaz packages remotely.</x-details></p>
   2.267  
   2.268 -<h2>DESCRIPCIÓN</h2>
   2.269  
   2.270 -<p>TazPkg es un administrador de paquetes ligero para instalar, catalogar,
   2.271 -descargar, actualizar o desinstalar paquetes precompilados en un sistema
   2.272 -GNU/Linux. TazPkg ofrece comandos para la búsqueda y creación de paquetes y fue
   2.273 -creado independientemente para el proyecto. El formato de los paquetes usando la
   2.274 -extensión *.tazpkg es un fichero cpio que contiene un sistema de archivos
   2.275 -comprimido con gzip, un fichero de recibo y una descripción opcional. TazPkg 
   2.276 -también administra dependencias basadas en los ficheros de recibo de los
   2.277 -paquetes. Cada archivo de recibo contiene toda la información sobre un paquete y
   2.278 -también puede incluir funciones para antes y después de la instalación. El mismo
   2.279 -fichero de recibo es usado por Cookutils para compilar desde el código fuente y
   2.280 -generar un paquete .tazpkg.</p>
   2.281 -
   2.282 -<p>TazPkg está construido completamente desde cero usando shell script,
   2.283 -compatible con Bash, se ejecuta bajo Ash (que forma parte de BusyBox). TazPkg es
   2.284 -distribuido bajo la licencia libre de GNU GPL V3.</p>
   2.285 -
   2.286 -
   2.287 -<h2>COMANDOS</h2>
   2.288 -
   2.289 -
   2.290 -<h3>Service commands</h3>
   2.291 +<article><header>Service commands</header>
   2.292  
   2.293  <ul>
   2.294  	<li><a href="#usage">usage</a>: imprime este uso corto</li>
   2.295  	<li><a href="#help">help</a>: show help on the TazPkg commands</li>
   2.296  	<li><a href="#activity">activity</a>: show TazPkg activity log</li>
   2.297 -	<li><a href="#clean-cache">clean-cache</a>: clean all packages downloaded in
   2.298 -		cache directory</li>
   2.299 +	<li><a href="#clean-cache">clean-cache</a>: clean all packages downloaded in cache
   2.300 +		directory</li>
   2.301  	<li><a href="#shell">shell</a>: run interactive TazPkg shell</li>
   2.302  </ul>
   2.303 +</article>
   2.304  
   2.305  
   2.306 -<h3>Working with lists</h3>
   2.307 +<article><header>Working with lists</header>
   2.308  
   2.309  <ul>
   2.310 -	<li><a href="#list">list</a>: lista de paquetes instalados en el
   2.311 -		sistema</li>
   2.312 -	<li><a href="#list-mirror">list-mirror</a>: Lista de todos los paquetes
   2.313 -		disponibles en el espejo</li>
   2.314 -	<li><a href="#list-config">list-config</a>: lista de archivos de
   2.315 -		configuración</li>
   2.316 +	<li><a href="#list">list</a>: lista de paquetes instalados en el sistema</li>
   2.317 +	<li><a href="#list-mirror">list-mirror</a>: Lista de todos los paquetes disponibles en el
   2.318 +		espejo</li>
   2.319 +	<li><a href="#list-config">list-config</a>: lista de archivos de configuración</li>
   2.320  </ul>
   2.321 +</article>
   2.322  
   2.323  
   2.324 -<h3>Search</h3>
   2.325 +<article><header>Search</header>
   2.326  
   2.327  <ul>
   2.328 -	<li><a href="#search">search</a>: búsqueda de paquetes por patrón o
   2.329 -		nombre</li>
   2.330 -	<li><a href="#search-pkgname">search-pkgname</a>: buscar en el espejo un
   2.331 -		paquete que tenga un archivo particular</li>
   2.332 -	<li><a href="#search-file">search-file</a>: búsqueda de archivos en los
   2.333 -		archivos de todos los paquetes instalados</li>
   2.334 +	<li><a href="#search">search</a>: búsqueda de paquetes por patrón o nombre</li>
   2.335 +	<li><a href="#search-pkgname">search-pkgname</a>: buscar en el espejo un paquete que tenga un
   2.336 +		archivo particular</li>
   2.337 +	<li><a href="#search-file">search-file</a>: búsqueda de archivos en los archivos de todos los
   2.338 +		paquetes instalados</li>
   2.339  </ul>
   2.340 +</article>
   2.341  
   2.342  
   2.343 -<h3>Installing and removing packages</h3>
   2.344 +<article><header>Installing and removing packages</header>
   2.345  
   2.346  <ul>
   2.347 -	<li><a href="#get">get</a>: download a package into the current
   2.348 -		directory</li>
   2.349 +	<li><a href="#get">get</a>: download a package into the current directory</li>
   2.350  	<li><a href="#install">install</a>: instala un local paquete</li>
   2.351 -	<li><a href="#get-install">get-install</a>: download and install a package
   2.352 -		from the mirror</li>
   2.353 -	<li><a href="#install-list">install-list</a>: install all packages from a
   2.354 -		list of packages</li>
   2.355 -	<li><a href="#install-list">get-install-list</a>: download and install a
   2.356 -		list of packages from the mirror</li>
   2.357 -	<li><a href="#remove">remove</a>: remover los paquetes especificados y todos
   2.358 -		los archivos instalados</li>
   2.359 -	<li><a href="#reconfigure">reconfigure</a>: replay post install script from
   2.360 -		package</li>
   2.361 -	<li><a href="#link">link</a>: link a package from another SliTaz
   2.362 -		installation</li>
   2.363 -	<li><a href="#set-release">set-release</a>: change release and update
   2.364 -		packages</li>
   2.365 -	<li><a href="#add-flavor">add-flavor</a>: install the flavor list of
   2.366 -		packages</li>
   2.367 -	<li><a href="#add-flavor">install-flavor</a>: install the flavor list of
   2.368 -		packages and remove other ones</li>
   2.369 +	<li><a href="#get-install">get-install</a>: download and install a package from the mirror</li>
   2.370 +	<li><a href="#install-list">install-list</a>: install all packages from a list of packages</li>
   2.371 +	<li><a href="#install-list">get-install-list</a>: download and install a list of packages from
   2.372 +		the mirror</li>
   2.373 +	<li><a href="#remove">remove</a>: remover los paquetes especificados y todos los archivos
   2.374 +		instalados</li>
   2.375 +	<li><a href="#reconfigure">reconfigure</a>: replay post install script from package</li>
   2.376 +	<li><a href="#link">link</a>: link a package from another SliTaz installation</li>
   2.377 +	<li><a href="#set-release">set-release</a>: change release and update packages</li>
   2.378 +	<li><a href="#add-flavor">add-flavor</a>: install the flavor list of packages</li>
   2.379 +	<li><a href="#add-flavor">install-flavor</a>: install the flavor list of packages and remove
   2.380 +		other ones</li>
   2.381  </ul>
   2.382 +</article>
   2.383  
   2.384  
   2.385 -<h3>Working with packages</h3>
   2.386 +<article><header>Working with packages</header>
   2.387  
   2.388  <ul>
   2.389  	<li><a href="#info">info</a>: imprima información sobre el paquete</li>
   2.390  	<li><a href="#desc">desc</a>: imprima la descripción del paquete</li>
   2.391 -	<li><a href="#list-files">list-files</a>: lista de archivos instalados con
   2.392 -		un paquete</li>
   2.393 -	<li><a href="#block">block, unblock</a>: block an installed package version
   2.394 -		or unblock it for upgrade</li>
   2.395 -	<li><a href="#check">check</a>: verify consistency of installed
   2.396 -		packages</li>
   2.397 +	<li><a href="#list-files">list-files</a>: lista de archivos instalados con un paquete</li>
   2.398 +	<li><a href="#block">block, unblock</a>: block an installed package version or unblock it for
   2.399 +		upgrade</li>
   2.400 +	<li><a href="#check">check</a>: verify consistency of installed packages</li>
   2.401  	<li><a href="#bugs">bugs</a>: muestra conocidos bugs en paquetes</li>
   2.402  	<li><a href="#depends">depends</a>: display dependencies tree</li>
   2.403  	<li><a href="#depends">rdepends</a>: display reverse dependencies tree</li>
   2.404 -	<li><a href="#extract">extract</a>: extrae un (*.tazpkg) paquete en el
   2.405 -		directorio</li>
   2.406 -	<li><a href="#pack">pack</a>: empaquetar una desempaquetado o preparar un
   2.407 -		árbol de paquetes</li>
   2.408 -	<li><a href="#repack">repack</a>: create a package archive from an installed
   2.409 -		package</li>
   2.410 -	<li><a href="#repack-config">repack-config</a>: create a package archive
   2.411 -		with configuration files</li>
   2.412 -	<li><a href="#recompress">recompress</a>: rebuild a package with a better
   2.413 -		compression ratio</li>
   2.414 +	<li><a href="#extract">extract</a>: extrae un (*.tazpkg) paquete en el directorio</li>
   2.415 +	<li><a href="#pack">pack</a>: empaquetar una desempaquetado o preparar un árbol de paquetes</li>
   2.416 +	<li><a href="#repack">repack</a>: create a package archive from an installed package</li>
   2.417 +	<li><a href="#repack-config">repack-config</a>: create a package archive with configuration
   2.418 +		files</li>
   2.419 +	<li><a href="#recompress">recompress</a>: rebuild a package with a better compression ratio</li>
   2.420  	<li><a href="#convert">convert</a>: convert alien package to tazpkg</li>
   2.421 -	<li><a href="#list-suggested">list-suggested</a>: print list of suggested
   2.422 -		packages</li>
   2.423 +	<li><a href="#list-suggested">list-suggested</a>: print list of suggested packages</li>
   2.424  </ul>
   2.425 +</article>
   2.426  
   2.427  
   2.428 -<h3>Working with repositories</h3>
   2.429 +<article><header>Working with repositories</header>
   2.430  
   2.431  <ul>
   2.432 -	<li><a href="#recharge">recharge</a>: recharge your packages database from
   2.433 -		the mirror</li>
   2.434 -	<li><a href="#upgrade">upgrade</a>: comprobar paquetes md5sum para listar e
   2.435 -		instalar las últimas mejoras</li>
   2.436 -	<li><a href="#setup-mirror">setup-mirror</a>: change the mirror URL
   2.437 -		configuration</li>
   2.438 -	<li><a href="#add-undigest">setup-undigest</a>: update an undigest
   2.439 -		mirror</li>
   2.440 +	<li><a href="#recharge">recharge</a>: recharge your packages database from the mirror</li>
   2.441 +	<li><a href="#upgrade">upgrade</a>: comprobar paquetes md5sum para listar e instalar las últimas
   2.442 +		mejoras</li>
   2.443 +	<li><a href="#setup-mirror">setup-mirror</a>: change the mirror URL configuration</li>
   2.444 +	<li><a href="#add-undigest">setup-undigest</a>: update an undigest mirror</li>
   2.445  	<li><a href="#list-undigest">list-undigest</a>: list undigest mirrors</li>
   2.446  	<li><a href="#add-undigest">add-undigest</a>: add an undigest mirror</li>
   2.447 -	<li><a href="#remove-undigest">remove-undigest</a>: remove an undigest
   2.448 -		mirror</li>
   2.449 +	<li><a href="#remove-undigest">remove-undigest</a>: remove an undigest mirror</li>
   2.450  </ul>
   2.451 +</article>
   2.452 +</section>
   2.453  
   2.454  
   2.455  
   2.456  
   2.457 -<h2>Service commands</h2>
   2.458 +<section><header>Service commands</header>
   2.459  
   2.460  
   2.461 -<h3 id="usage">usage</h3>
   2.462 +<article id="usage"><h3>usage</h3>
   2.463  
   2.464  <p>Show the full list of the TazPkg commands with a brief description.</p>
   2.465  
   2.466 @@ -175,70 +362,74 @@
   2.467  $ tazpkg usage
   2.468  $ tazpkg
   2.469  </pre>
   2.470 +</article>
   2.471  
   2.472  
   2.473 -<h3 id="help">help</h3>
   2.474 +<article id="help"><h3>help</h3>
   2.475  
   2.476 -<p>Display help for the selected command (<tt>help</tt> or <tt>-h</tt>). You can
   2.477 -enter a short name of the command, the full name or a part of the full name. You
   2.478 -can ignore hyphens at the beginning of the short name. If the requested part of
   2.479 -the full name match the several commands, you will be asked to clarify the
   2.480 -request.</p>
   2.481 +<p>Display help for the selected command (<tt>help</tt> or <tt>-h</tt>). You can enter a short name
   2.482 +of the command, the full name or a part of the full name. You can ignore hyphens at the beginning of
   2.483 +the short name. If the requested part of the full name match the several commands, you will be asked
   2.484 +to clarify the request.</p>
   2.485  
   2.486  <pre>
   2.487  $ tazpkg help <em>-gi</em>
   2.488  $ tazpkg -h <em>us</em>
   2.489  </pre>
   2.490 +</article>
   2.491  
   2.492  
   2.493 -<h3 id="activity">activity</h3>
   2.494 +<article id="activity"><h3>activity</h3>
   2.495  
   2.496 -<p>Display TazPkg activity log (<tt>activity</tt> or <tt>log</tt> or
   2.497 -<tt>-a</tt>). Optional parameter <tt>--nb=</tt> lets you set number of displayed
   2.498 -lines.</p>
   2.499 +<p>Display TazPkg activity log (<tt>activity</tt> or <tt>log</tt> or <tt>-a</tt>). Optional
   2.500 +parameter <tt>--nb=</tt> lets you set number of displayed lines.</p>
   2.501  
   2.502  <pre>
   2.503  $ tazpkg activity
   2.504  $ tazpkg -a --nb=<em>20</em>
   2.505  </pre>
   2.506 +</article>
   2.507  
   2.508  
   2.509 -<h3 id="clean-cache">clean-cache</h3>
   2.510 +<article id="clean-cache"><h3>clean-cache</h3>
   2.511  
   2.512 -<p>Borra los paquetes *.tazpkg descargados en la cache. Durante la instalación,
   2.513 -TazPkg guarda una copia de paquetes descargados desde la web. Esto se hace para
   2.514 -ahorrar ancho de banda en caso de reinstalación, pero también puedes querer
   2.515 -liberar espacio en el disco duro o recargar los paquetes.</p>
   2.516 +<p>Borra los paquetes *.tazpkg descargados en la cache (<tt>clean-cache</tt> o <tt>-cc</tt>).
   2.517 +Durante la instalación, TazPkg guarda una copia de paquetes descargados desde la web. Esto se hace
   2.518 +para ahorrar ancho de banda en caso de reinstalación, pero también puedes querer liberar espacio en
   2.519 +el disco duro o recargar los paquetes.</p>
   2.520  
   2.521  <pre>
   2.522  # tazpkg clean-cache
   2.523  # tazpkg -cc
   2.524  </pre>
   2.525 +</article>
   2.526  
   2.527  
   2.528 -<h3 id="shell">shell</h3>
   2.529 +<article id="shell"><h3>shell</h3>
   2.530  
   2.531 -<p>Run interactive TazPkg shell. Here you can enter all the TazPkg commands
   2.532 -listed above.</p>
   2.533 +<p>Run interactive TazPkg shell. Here you can enter all the TazPkg commands listed above.</p>
   2.534  
   2.535  <pre>
   2.536  $ tazpkg shell
   2.537  # tazpkg shell
   2.538  </pre>
   2.539 +</article>
   2.540 +</section>
   2.541  
   2.542  
   2.543  
   2.544  
   2.545 -<h2>Working with lists</h2>
   2.546 +<section><header>Working with lists</header>
   2.547  
   2.548  
   2.549 -<h3 id="list">list</h3>
   2.550 +<article id="list"><h3>list</h3>
   2.551  
   2.552 -<p>Lista los paquetes instalados en el sistema. Este comando muestra la lista de
   2.553 -todos los paquetes instalados. También permite mostrar la lista de categorías,
   2.554 -los paquetes correspondientes a una categoría y los paquetes bloqueados. Además
   2.555 -puedes usar el comando <tt><a href="#search">search</a></tt> para mostrar una
   2.556 -lista basada en un término o en el nombre de un paquete.</p>
   2.557 +<p>Lista los paquetes instalados en el sistema (<tt>list</tt> o <tt>-l</tt>). Este comando muestra
   2.558 +la lista de todos los paquetes instalados. También permite mostrar la lista de categorías
   2.559 +(<tt>c</tt> o <tt>cat</tt> o <tt>categories</tt>), los paquetes correspondientes a una categoría y
   2.560 +los paquetes bloqueados (<tt>b</tt> o <tt>blocked</tt>). Además puedes usar el comando <tt><a
   2.561 +href="#search">search</a></tt> para mostrar una lista basada en un término o en el nombre de un
   2.562 +paquete.</p>
   2.563  
   2.564  <pre>
   2.565  $ tazpkg list
   2.566 @@ -247,154 +438,171 @@
   2.567  $ tazpkg list <em>juegos</em>
   2.568  $ tazpkg list blocked
   2.569  </pre>
   2.570 +</article>
   2.571  
   2.572  
   2.573 -<h3 id="list-mirror">list-mirror</h3>
   2.574 +<article id="list-mirror"><h3>list-mirror</h3>
   2.575  
   2.576 -<p>Lista los paquetes disponibles en el espejo. Este comando mostrara el archivo
   2.577 -<tt>packages.list</tt> recargado desde el espejo. Si este no existe, se te
   2.578 -requerirá ejecutar <code>tazpkg <a href="#recharge">recharge</a></code> como
   2.579 -administrador (root) para ver la lista de paquetes disponibles. La opción 
   2.580 -<tt>--diff</tt> se usa para mostrar las diferencias entre la ultima lista de
   2.581 -paquetes y la actual.</p>
   2.582 +<p>Lista los paquetes disponibles en el espejo (<tt>list-mirror</tt> o <tt>-lm</tt>). Este comando
   2.583 +mostrara el paquetes lista recargado desde el espejo. Si este no existe, se te requerirá ejecutar
   2.584 +<code>tazpkg <a href="#recharge">recharge</a></code> como administrador (root) para ver la lista de
   2.585 +paquetes disponibles. La opción <tt>--diff</tt> se usa para mostrar las diferencias entre la ultima
   2.586 +lista de paquetes y la actual.</p>
   2.587  
   2.588  <pre>
   2.589  $ tazpkg list-mirror
   2.590  $ tazpkg -lm --diff
   2.591  </pre>
   2.592 +</article>
   2.593  
   2.594  
   2.595 -<h3 id="list-config">list-config</h3>
   2.596 +<article id="list-config"><h3>list-config</h3>
   2.597  
   2.598 -<p>Lista los archivos de configuración del sistema. La opción <tt>--box</tt>
   2.599 -muestra la lista en formato tabla.</p>
   2.600 +<p>Lista los archivos de configuración del sistema. La opción <tt>--box</tt> muestra la lista en
   2.601 +formato tabla. You can specify package name to display configuration files only for this
   2.602 +package.</p>
   2.603  
   2.604  <pre>
   2.605  $ tazpkg list-config
   2.606  $ tazpkg list-config --box
   2.607  $ tazpkg list-config <em>slim</em>
   2.608 -$ tazpkg list-config --box <em>slim</em>
   2.609 +$ tazpkg list-config <em>slim</em> --box
   2.610  </pre>
   2.611 +</article>
   2.612 +</section>
   2.613  
   2.614  
   2.615  
   2.616  
   2.617 -<h2>Search</h2>
   2.618 +<section><header>Search</header>
   2.619  
   2.620  
   2.621 -<h3 id="search">search</h3>
   2.622 +<article id="search"><h3>search</h3>
   2.623  
   2.624 -<p>Busca paquetes por propietario o por el nombre del paquete. Este comando
   2.625 -buscará el termino requerido en los paquetes instalados y en la lista de
   2.626 -paquetes disponibles en el espejo. Para obtener la última lista de paquetes
   2.627 -instalables en el espejo, solo hay que ejecutar <code>tazpkg recharge</code>
   2.628 -antes de la realización de la búsqueda.</p>
   2.629 +<p>Busca paquetes por propietario o por el nombre del paquete (<tt>search</tt> o <tt>-s</tt>). Este
   2.630 +comando buscará el termino requerido en los paquetes instalados (<tt>-i</tt> o <tt>--installed</tt>)
   2.631 +y en la lista de paquetes disponibles en el espejo (<tt>-l</tt> o <tt>--list</tt>).</p>
   2.632 +
   2.633 +<p>Para obtener la última lista de paquetes instalables en el espejo, solo hay que ejecutar
   2.634 +<code>tazpkg recharge</code> antes de la realización de la búsqueda.</p>
   2.635  
   2.636  <pre>
   2.637  $ tazpkg search <em>gcc</em>
   2.638  $ tazpkg search <em>mt</em> -i
   2.639  $ tazpkg search <em>bit</em> -l
   2.640  </pre>
   2.641 +</article>
   2.642  
   2.643  
   2.644 -<h3 id="search-pkgname">search-pkgname</h3>
   2.645 +<article id="search-pkgname"><h3>search-pkgname</h3>
   2.646  
   2.647 -<p>Search for a file on mirror and output only the packages names
   2.648 -(<tt>search-pkgname</tt> or <tt>-sp</tt>).</p>
   2.649 +<p>Search for a file on mirror and output only the packages names (<tt>search-pkgname</tt> or
   2.650 +<tt>-sp</tt>).</p>
   2.651  
   2.652  <pre>
   2.653  $ tazpkg search-pkgname <em>libnss</em>
   2.654  $ tazpkg -sp <em>/usr/share/fonts</em>
   2.655  </pre>
   2.656 +</article>
   2.657  
   2.658  
   2.659 -<h3 id="search-file">search-file</h3>
   2.660 +<article id="search-file"><h3>search-file</h3>
   2.661  
   2.662 -<p>El comando <tt>search-file</tt> te permite buscar un archivo entre los
   2.663 -archivos instalados por los paquetes. Este comando es muy útil para saber la
   2.664 -ruta completa de un archivo y determinar si un archivo esta presente en el
   2.665 -sistema.</p>
   2.666 +<p>Buscar un archivo entre los archivos instalados por los paquetes (<tt>search-file</tt> o
   2.667 +<tt>-sf</tt>). Este comando es muy útil para saber la ruta completa de un archivo y determinar si un
   2.668 +archivo esta presente en el sistema. Option <tt>--mirror</tt> allows to search for a file among all
   2.669 +the files available on the mirror.</p>
   2.670  
   2.671  <pre>
   2.672  $ tazpkg search-file <em>libnss</em>
   2.673  $ tazpkg -sf <em>/usr/share/fonts</em> --mirror
   2.674  </pre>
   2.675 +</article>
   2.676 +</section>
   2.677  
   2.678  
   2.679  
   2.680  
   2.681 -<h2>Installing and removing packages</h2>
   2.682 +<section><header>Installing and removing packages</header>
   2.683  
   2.684  
   2.685 -<h3 id="get">get</h3>
   2.686 +<article id="get"><h3>get</h3>
   2.687  
   2.688 -<p>Descargar un paquete desde el espejo (si existe). El paquete descargado es
   2.689 -almacenado en el directorio actual. Para encontrar la ruta puedes usar
   2.690 -<code>pwd</code>.</p>
   2.691 +<p>Descargar un paquete desde el espejo (<tt>get</tt> o <tt>-g</tt>). El paquete descargado es
   2.692 +almacenado en el directorio actual. Para encontrar la ruta puedes usar <code>pwd</code>.</p>
   2.693  
   2.694  <pre>
   2.695  # tazpkg get <em>grub</em>
   2.696  # tazpkg get <em>nano</em> --root=<em>/mnt/sda6</em>
   2.697  </pre>
   2.698 +</article>
   2.699  
   2.700  
   2.701 -<h3 id="install">install</h3>
   2.702 +<article id="install"><h3>install</h3>
   2.703  
   2.704 -<p>Este comando te permite instalar un paquete local con la extensión
   2.705 -<tt>.tazpkg</tt>. Ver <tt><a href="#get-install">get-install</a></tt> para
   2.706 -instalar un paquete desde internet. Tenga en cuenta que puede forzar la
   2.707 -instalación con las opciones <tt>--forced</tt>, <tt>uninstall</tt> y
   2.708 -<tt>reinstall</tt> o especificar la raíz del sistema donde quiere instalar los
   2.709 -paquetes con la opción <tt>--root</tt>.</p>
   2.710 +<p>Este comando te permite instalar un paquete local con la extensión <tt>.tazpkg</tt>
   2.711 +(<tt>install</tt> o <tt>-i</tt>). Ver <tt><a href="#get-install">get-install</a></tt> para instalar
   2.712 +un paquete desde internet. Tenga en cuenta que puede forzar la instalación con las opciones
   2.713 +<tt>--forced</tt>. Option <tt>--newconf</tt> allows you to rewrite all user configuration files
   2.714 +using the new files from package. Option <tt>--nodeps</tt> allows you to install only a specified
   2.715 +package without its dependencies.</p>
   2.716  
   2.717  <pre>
   2.718  # tazpkg install <em>paquete-1.0.tazpkg</em>
   2.719 -# tazpkg install <em>path/to/paquete-1.0.tazpkg</em> --forced
   2.720 -# tazpkg install <em>path/to/paquete-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em>
   2.721 +# tazpkg install <em>ruta/al/paquete-1.0.tazpkg</em> --forced
   2.722 +# tazpkg install <em>ruta/al/paquete-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em>
   2.723  </pre>
   2.724 +</article>
   2.725  
   2.726  
   2.727 -<h3 id="get-install">get-install</h3>
   2.728 +<article id="get-install"><h3>get-install</h3>
   2.729  
   2.730 -<p>Descargar e instalar un paquete desde un espejo en internet. El comando
   2.731 -<tt>get-install</tt> empieza comprobando si el paquete existe en el espejo y si
   2.732 -ya ha sido descargado. Para ver la lista de paquetes en el espejo, tenemos que
   2.733 -usar el comando <tt><a href="#list-mirror">list-mirror</a></tt>.</p>
   2.734 +<p>Descargar e instalar un paquete desde un espejo en internet (<tt>get-install</tt> o
   2.735 +<tt>-gi</tt>). El comando empieza comprobando si el paquete existe en el espejo y si ya ha sido
   2.736 +descargado. Para ver la lista de paquetes en el espejo, tenemos que usar el comando <tt><a
   2.737 +href="#list-mirror">list-mirror</a></tt>. Note that you can force the installation via the
   2.738 +<tt>--forced</tt> option. Option <tt>--newconf</tt> allows you to rewrite all user configuration
   2.739 +files using the new files from a package. Option <tt>--nodeps</tt> allows you to install only a
   2.740 +specified package without its dependencies.</p>
   2.741  
   2.742  <pre>
   2.743  # tazpkg get-install <em>grub</em>
   2.744  # tazpkg -gi <em>grub</em> --forced
   2.745  # tazpkg -gi <em>nano</em> --root=<em>/mnt/sda6</em>
   2.746  </pre>
   2.747 +</article>
   2.748  
   2.749  
   2.750 -<h3 id="install-list">install-list, get-install-list</h3>
   2.751 +<article id="install-list"><h3>install-list, get-install-list</h3>
   2.752  
   2.753 -<p>Instala un conjunto de paquetes listados en un archivo. Este comando te
   2.754 -permite (descargar e) instalar varios paquetes con un solo comando y también
   2.755 -puede ser forzado.</p>
   2.756 +<p>Instala un conjunto de paquetes listados en un archivo. Este comando te permite (descargar e)
   2.757 +instalar varios paquetes con un solo comando y también puede ser forzado.</p>
   2.758  
   2.759  <pre>
   2.760 -# tazpkg install-list <em>my-paquetes.list</em>
   2.761 -# tazpkg get-install-list <em>my-paquetes.list</em> --forced
   2.762 +# tazpkg install-list <em>mis-paquetes.lista</em>
   2.763 +# tazpkg get-install-list <em>mis-paquetes.lista</em> --forced
   2.764  </pre>
   2.765 +</article>
   2.766  
   2.767  
   2.768 -<h3 id="remove">remove</h3>
   2.769 +<article id="remove"><h3>remove</h3>
   2.770  
   2.771 -<p>Borra un paquete. Se te preguntará para confirmar (s/N). Este comando borrará
   2.772 -todos los archivos instalados con el paquete. Para ver la lista de archivos,
   2.773 -usar el comando <tt><a href="#list-files">list-files</a></tt> seguido del nombre
   2.774 -del paquete.</p>
   2.775 +<p>Borra un paquete (<tt>remove</tt> o <tt>-r</tt>). Se te preguntará para confirmar (s/N) of
   2.776 +removing the package, as well as for removing packages depending on this package, and for
   2.777 +reinstalling packages modified by this package. Este comando borrará todos los archivos instalados
   2.778 +con el paquete.</p>
   2.779 +
   2.780 +<p>Option <tt>--auto</tt> removes and reinstalls packages without your confirmation.</p>
   2.781  
   2.782  <pre>
   2.783  # tazpkg remove <em>bc</em>
   2.784  # tazpkg -r <em>gtk+-3</em> --root=<em>/mnt/sda6</em>
   2.785  # tazpkg -r <em>nano</em> --auto
   2.786  </pre>
   2.787 +</article>
   2.788  
   2.789  
   2.790 -<h3 id="reconfigure">reconfigure</h3>
   2.791 +<article id="reconfigure"><h3>reconfigure</h3>
   2.792  
   2.793  <p>Vuelve a reproducir el script de post-instalación del paquete.</p>
   2.794  
   2.795 @@ -402,100 +610,106 @@
   2.796  # tazpkg reconfigure <em>gcc</em>
   2.797  # tazpkg reconfigure <em>gcc</em> --root=<em>/mnt/sda6</em>
   2.798  </pre>
   2.799 +</article>
   2.800  
   2.801  
   2.802 -<h3 id="link">link</h3>
   2.803 +<article id="link"><h3>link</h3>
   2.804  
   2.805 -<p>Este comando te permite la instalación de un paquete desde otro dispositivo.
   2.806 -La instalación se hace por medio de enlaces simbólicos y consume muy poca
   2.807 -memoria. Es generalmente usada dentro del sistema RAM para instalar add-ons
   2.808 -(extensiones) desde USB.</p>
   2.809 +<p>Este comando te permite la instalación de un paquete desde otro dispositivo. La instalación se
   2.810 +hace por medio de enlaces simbólicos y consume muy poca memoria. Es generalmente usada dentro del
   2.811 +sistema RAM para instalar add-ons (extensiones) desde USB.</p>
   2.812  
   2.813  <pre>
   2.814  # tazpkg link <em>openoffice /media/usbdisk</em>
   2.815  </pre>
   2.816 +</article>
   2.817  
   2.818  
   2.819 -<h3 id="set-release">set-release</h3>
   2.820 +<article id="set-release"><h3>set-release</h3>
   2.821  
   2.822 -<p>El comando <tt>set-release</tt> cambia la versión actual y actualiza todos
   2.823 -los paquetes a la última versión.</p>
   2.824 +<p>El comando cambia la versión actual y actualiza todos los paquetes a la última versión.</p>
   2.825  
   2.826  <pre>
   2.827  # tazpkg set-release <em>cooking</em>
   2.828  </pre>
   2.829 +</article>
   2.830  
   2.831  
   2.832 -<h3 id="add-flavor">add-flavor, install-flavor</h3>
   2.833 +<article id="add-flavor"><h3>add-flavor, install-flavor</h3>
   2.834  
   2.835 -<p>Install a set of packages from a flavor. In addition, <tt>install-flavor</tt>
   2.836 -purges other installed packages.</p>
   2.837 +<p>Install a set of packages from a flavor. In addition, <tt>install-flavor</tt> purges other
   2.838 +installed packages.</p>
   2.839  
   2.840  <pre>
   2.841  # tazpkg add-flavor <em>gtkonly</em>
   2.842  # tazpkg install-flavor <em>justx</em>
   2.843  </pre>
   2.844 +</article>
   2.845 +</section>
   2.846  
   2.847  
   2.848  
   2.849  
   2.850 -<h2>Working with packages</h2>
   2.851 +<section><header>Working with packages</header>
   2.852  
   2.853  
   2.854 -<h3 id="info">info</h3>
   2.855 +<article id="info"><h3>info</h3>
   2.856  
   2.857 -<p>Muestra cualquier información disponible en el fichero de recibo del paquete
   2.858 -en cuestión, como su versión, categoría, mantenedor, página web y dependencias
   2.859 -(véase también Cookutils para más información sobre los ficheros de recibo).</p>
   2.860 +<p>Muestra cualquier información disponible en el fichero de recibo del paquete en cuestión, como su
   2.861 +versión, categoría, mantenedor, página web y dependencias (véase también <a
   2.862 +href="../cookutils/cookutils.en.html" target="_blank">Cookutils</a> para más información sobre los
   2.863 +ficheros de recibo).</p>
   2.864  
   2.865  <pre>
   2.866  $ tazpkg info <em>busybox</em>
   2.867  </pre>
   2.868 +</article>
   2.869  
   2.870  
   2.871 -<h3 id="desc">desc</h3>
   2.872 +<article id="desc"><h3>desc</h3>
   2.873  
   2.874 -<p>Descripción del paquete (si existe). Este comando muestra el archivo
   2.875 -<tt>description.txt</tt> de cada paquete (un simple archivo de texto,
   2.876 -justificado a 80 caracteres para caber en una terminal estándar).</p>
   2.877 +<p>Descripción del paquete (<tt>desc</tt> or <tt>-d</tt>).</p>
   2.878  
   2.879  <pre>
   2.880  $ tazpkg desc <em>busybox</em>
   2.881  </pre>
   2.882 +</article>
   2.883  
   2.884  
   2.885 -<h3 id="list-files">list-files</h3>
   2.886 +<article id="list-files"><h3>list-files</h3>
   2.887  
   2.888 -<p>Lista todos los archivos instalados con un paquete. Este comando simplemente
   2.889 -lee y muestra el archivo <tt>files.list</tt> de cada paquete que se genera
   2.890 -automáticamente cuando el paquete es creado y también se usa para borrar los
   2.891 -archivos cuando se desinstala un paquete.</p>
   2.892 +<p>Lista todos los archivos instalados con un paquete (<tt>list-files</tt> o <tt>-lf</tt>). Este
   2.893 +comando simplemente lee y muestra el archivo <tt>files.list</tt> de cada paquete que se genera
   2.894 +automáticamente cuando el paquete es creado y también se usa para borrar los archivos cuando se
   2.895 +desinstala un paquete.</p>
   2.896  
   2.897  <pre>
   2.898  $ tazpkg list-files <em>bc</em>
   2.899  </pre>
   2.900 +</article>
   2.901  
   2.902  
   2.903 -<h3 id="block">block, unblock</h3>
   2.904 +<article id="block"><h3>block, unblock, chblock</h3>
   2.905  
   2.906 -<p>Los comandos <tt>block</tt> y <tt>unblock</tt> te permiten bloquear versiones
   2.907 -de paquetes instalados asi ya no estarán mantenidos por <tt><a
   2.908 -href="#upgrade">upgrade</a></tt>. La lista de paquetes en espera se encuentra en
   2.909 -<tt>/var/lib/tazpkg/blocked-packages.list</tt>. Este archivo puede ser editado
   2.910 -manualmente.</p>
   2.911 +<p>Los comandos <tt>block</tt> (o <tt>-b</tt>) y <tt>unblock</tt> (o <tt>-u</tt>) te permiten
   2.912 +bloquear versiones de paquetes instalados asi ya no estarán mantenidos por
   2.913 +<tt><a href="#upgrade">upgrade</a></tt>. Command <tt>chblock</tt> changes the blocking state of the
   2.914 +package. La lista de paquetes en espera se encuentra en
   2.915 +<tt>/var/lib/tazpkg/blocked-packages.list</tt>. Este archivo puede ser editado manualmente.</p>
   2.916  
   2.917  <pre>
   2.918  # tazpkg block <em>grub</em>
   2.919  # tazpkg unblock <em>grub</em>
   2.920  # tazpkg chblock <em>grub</em>
   2.921  </pre>
   2.922 +</article>
   2.923  
   2.924  
   2.925 -<h3 id="check">check</h3>
   2.926 +<article id="check"><h3>check</h3>
   2.927  
   2.928 -<p>El comando <tt>check</tt> puede comprobar las dependencias en paquetes
   2.929 -instalados y determinar si todos los archivos necesarios para reempacar paquetes
   2.930 -están presentes.</p>
   2.931 +<p>Comprobar las dependencias en paquetes instalados y determinar si todos los archivos necesarios
   2.932 +para reempacar paquetes están presentes. You can specify package name to check or check all
   2.933 +installed packages. Option <tt>--full</tt> makes few more checks and need more time.</p>
   2.934  
   2.935  <pre>
   2.936  $ tazpkg check
   2.937 @@ -503,151 +717,168 @@
   2.938  $ tazpkg check <em>nano</em>
   2.939  $ tazpkg check <em>sakura</em> --full
   2.940  </pre>
   2.941 +</article>
   2.942  
   2.943  
   2.944 -<h3 id="bugs">bugs</h3>
   2.945 +<article id="bugs"><h3>bugs</h3>
   2.946  
   2.947 -<p>Genera una lista de los errores (bugs) conocidos de los paquetes.</p>
   2.948 +<p>Genera una lista de los errores (bugs) conocidos de los paquetes. You can specify a single
   2.949 +package to show bugs.</p>
   2.950  
   2.951  <pre>
   2.952  $ tazpkg bugs
   2.953 -$ tazpkg bugs <em>my_paquete</em>
   2.954 +$ tazpkg bugs <em>nano</em>
   2.955  </pre>
   2.956 +</article>
   2.957  
   2.958  
   2.959 -<h3 id="depends">depends, rdepends</h3>
   2.960 +<article id="depends"><h3>depends, rdepends</h3>
   2.961  
   2.962 -<p>Muestra un árbol de dependencias o un árbol de dependencias invertido para un
   2.963 -paquete.</p>
   2.964 +<p>Muestra un árbol de dependencias o un árbol de dependencias invertido para un paquete.</p>
   2.965 +
   2.966 +<p>For <code>depends</code> command: option <tt>--mark</tt> marks installed packages with plus sign
   2.967 +and not installed with a minus/dash. Option <tt>--total</tt> calculates the number of displayed
   2.968 +packages and their size. Also, with both options at a time you'll get the number and size of
   2.969 +packages to be installed.</p>
   2.970 +
   2.971 +<p>For <code>rdepends</code> command: without the <tt>--all</tt> option you'll get the list of only
   2.972 +installed reverse dependency packages, with this option — a list of all available packages. Option
   2.973 +<tt>--mark</tt> marks packages as in the <code>depends</code> command.</p>
   2.974  
   2.975  <pre>
   2.976  # tazpkg depends <em>mpd</em>
   2.977  # tazpkg rdepends <em>mpd</em>
   2.978  </pre>
   2.979 +</article>
   2.980  
   2.981  
   2.982 -<h3 id="extract">extract</h3>
   2.983 +<article id="extract"><h3>extract</h3>
   2.984  
   2.985 -<p>Extrae un paquete en un directorio. Si no especificas el directorio de
   2.986 -destino, el paquete se extraerá en el directorio actual usando el nombre
   2.987 -<tt><em>package-version</em></tt>.</p>
   2.988 +<p>Extrae un paquete en un directorio (<tt>extract</tt> or <tt>-e</tt>). Si no especificas el
   2.989 +directorio de destino, el paquete se extraerá en el directorio actual usando el nombre
   2.990 +<tt><em>paquete-version</em></tt>.</p>
   2.991  
   2.992  <pre>
   2.993  $ tazpkg extract <em>paquete.tazpkg</em>
   2.994  $ tazpkg extract <em>paquete.tazpkg target/dir</em>
   2.995  </pre>
   2.996 +</article>
   2.997  
   2.998  
   2.999 -<h3 id="pack">pack</h3>
  2.1000 +<article id="pack"><h3>pack</h3>
  2.1001  
  2.1002 -<p>El comando <tt>pack</tt> crea un paquete desde un directorio preparado de
  2.1003 -antemano o desde un paquete desempaquetado. También puede crear manualmente un
  2.1004 -paquete .tazpkg (ver la documentación de Cookutils para la creación automática
  2.1005 -de paquetes).</p>
  2.1006 +<p>Crea un paquete desde un directorio preparado de antemano o desde un paquete desempaquetado.
  2.1007 +También puede crear manualmente un paquete <tt>.tazpkg</tt> (ver la documentación de <a
  2.1008 +href="../cookutils/cookutils.en.html" target="_blank">Cookutils</a> para la creación automática de
  2.1009 +paquetes).</p>
  2.1010  
  2.1011  <pre>
  2.1012  # tazpkg pack <em>paquete-version</em>
  2.1013  </pre>
  2.1014 +</article>
  2.1015  
  2.1016  
  2.1017 -<h3 id="repack">repack</h3>
  2.1018 +<article id="repack"><h3>repack</h3>
  2.1019  
  2.1020 -<p>El comando <tt>repack</tt> te permite recrear un paquete desde los archivos
  2.1021 -en el sistema donde fue previamente instalado.</p>
  2.1022 +<p>Recrear un paquete desde los archivos en el sistema donde fue previamente instalado.</p>
  2.1023  
  2.1024  <pre>
  2.1025 -$ tazpkg repack <tt>paquete</tt>
  2.1026 +# tazpkg repack <tt>paquete</tt>
  2.1027  </pre>
  2.1028 +</article>
  2.1029  
  2.1030  
  2.1031 -<h3 id="repack-config">repack-config</h3>
  2.1032 +<article id="repack-config"><h3>repack-config</h3>
  2.1033  
  2.1034 -<p>El comando <tt>repack-config</tt> recrea un paquete de archivos de
  2.1035 -configuración del sistema (ver <tt><a href="#list-config">list-config</a></tt>).
  2.1036 -Es suficiente instalar el paquete para encontrar la configuración actual.</p>
  2.1037 +<p>Recrea un paquete de archivos de configuración del sistema (ver <tt><a
  2.1038 +href="#list-config">list-config</a></tt>). Es suficiente instalar el paquete para encontrar la
  2.1039 +configuración actual.</p>
  2.1040  
  2.1041  <pre>
  2.1042  # tazpkg repack-config
  2.1043  </pre>
  2.1044 +</article>
  2.1045  
  2.1046  
  2.1047 -<h3 id="recompress">recompress</h3>
  2.1048 +<article id="recompress"><h3>recompress</h3>
  2.1049  
  2.1050  <p>Recompress .tazpkg cpio archive with lzma.</p>
  2.1051  
  2.1052  <pre>
  2.1053  $ tazpkg recompress <em>paquete.tazpkg</em>
  2.1054  </pre>
  2.1055 +</article>
  2.1056  
  2.1057  
  2.1058 -<h3 id="convert">convert</h3>
  2.1059 +<article id="convert"><h3>convert</h3>
  2.1060  
  2.1061 -<p>Convierte los paquetes en paquetes Slitaz (.tazpkg).</p>
  2.1062 +<p>Convierte los paquetes en paquetes Slitaz (<tt>.tazpkg</tt>) (<tt>convert</tt> o
  2.1063 +<tt>-c</tt>).</p>
  2.1064  
  2.1065  <p>Supported packages formats:</p>
  2.1066  
  2.1067  <ul>
  2.1068 -	<li><a href="https://packages.debian.org/search" target="_blank">paquetes
  2.1069 -		Debian</a> (<tt>*.deb</tt>, <tt>*.udeb</tt>)</li>
  2.1070 -	<li><a href="http://rpmfind.net/linux/rpm2html/search.php"
  2.1071 -		target="_blank">paquetes RPM</a> (<tt>*.rpm</tt>)</li>
  2.1072 -	<li><a href="http://www.slax.org/" target="_blank">paquetes Slax</a>
  2.1073 -		(<tt>*.sb</tt>)</li>
  2.1074 -	<li><a href="http://puppylinux.org/" target="_blank">paquetes Puppy</a>
  2.1075 -		(<tt>*.sfs</tt>, <tt>*.pet</tt>)</li>
  2.1076 -	<li><a href="http://www.slackware.com/packages/" target="_blank">paquetes
  2.1077 -		Slackware</a> (<tt>*.tgz</tt>)</li>
  2.1078 +	<li><a href="https://packages.debian.org/search" target="_blank">paquetes Debian</a>
  2.1079 +		(<tt>*.deb</tt>, <tt>*.udeb</tt>)</li>
  2.1080 +	<li><a href="http://rpmfind.net/linux/rpm2html/search.php" target="_blank">paquetes RPM</a>
  2.1081 +		(<tt>*.rpm</tt>)</li>
  2.1082 +	<li><a href="http://www.slax.org/" target="_blank">paquetes Slax</a> (<tt>*.sb</tt>)</li>
  2.1083 +	<li><a href="http://puppylinux.org/" target="_blank">paquetes Puppy</a> (<tt>*.sfs</tt>,
  2.1084 +		<tt>*.pet</tt>)</li>
  2.1085 +	<li><a href="http://www.slackware.com/packages/" target="_blank">paquetes Slackware</a>
  2.1086 +		(<tt>*.tgz</tt>)</li>
  2.1087  	<li><a href="http://www.nutyx.org/" target="_blank">paquetes NuTyX</a>
  2.1088  		(<tt>*.cards.tar.xz</tt>)</li>
  2.1089 -	<li><a href="https://www.archlinux.org/packages/" target="_blank">paquetes
  2.1090 -		Arch Linux</a> / <a href="http://pkgs.alpinelinux.org/packages"
  2.1091 -		target="_blank">Alpine Linux</a> (<tt>*.apk</tt>, <tt>*.pkg.tar.gz</tt>,
  2.1092 -		<tt>*.pkg.tar.xz</tt>)</li>
  2.1093 -	<li><a href="http://wiki.openwrt.org/doc/packages" target="_blank">paquetes
  2.1094 -		OpenWrt</a> (<tt>*.ipk</tt>, <tt>*.opk</tt>)</li>
  2.1095 -	<li><a href="http://0.tuxfamily.org/doku.php/paquets/start"
  2.1096 -		target="_blank">paquetes 0Linux</a> (<tt>*.spack</tt>)</li>
  2.1097 -	<li><a href="http://www.paldo.org/index-section-packages.html"
  2.1098 -		target="_blank">paquetes paldo</a> (<tt>*.tar.bz2</tt>)</li>
  2.1099 -	<li><a href="http://www.voidlinux.eu/packages/" target="_blank">paquetes
  2.1100 -		Void</a> (<tt>*.xbps</tt>)</li>
  2.1101 -	<li><a href="http://tinycorelinux.net/" target="_blank">paquetes
  2.1102 -		Tinycore</a> (<tt>*.tce</tt>, <tt>*.tcel</tt>, <tt>*.tcem</tt>,
  2.1103 -		<tt>*.tcz</tt>)</li>
  2.1104 +	<li><a href="https://www.archlinux.org/packages/" target="_blank">paquetes Arch Linux</a> / <a
  2.1105 +		href="http://pkgs.alpinelinux.org/packages" target="_blank">Alpine Linux</a>
  2.1106 +		(<tt>*.apk</tt>, <tt>*.pkg.tar.gz</tt>, <tt>*.pkg.tar.xz</tt>)</li>
  2.1107 +	<li><a href="http://wiki.openwrt.org/doc/packages" target="_blank">paquetes OpenWrt</a>
  2.1108 +		(<tt>*.ipk</tt>, <tt>*.opk</tt>)</li>
  2.1109 +	<li><a href="http://0.tuxfamily.org/doku.php/paquets/start" target="_blank">paquetes 0Linux</a>
  2.1110 +		(<tt>*.spack</tt>)</li>
  2.1111 +	<li><a href="http://www.paldo.org/index-section-packages.html" target="_blank">paquetes
  2.1112 +		paldo</a> (<tt>*.tar.bz2</tt>)</li>
  2.1113 +	<li><a href="http://www.voidlinux.eu/packages/" target="_blank">paquetes Void</a>
  2.1114 +		(<tt>*.xbps</tt>)</li>
  2.1115 +	<li><a href="http://tinycorelinux.net/" target="_blank">paquetes Tinycore</a> (<tt>*.tce</tt>,
  2.1116 +		<tt>*.tcel</tt>, <tt>*.tcem</tt>, <tt>*.tcz</tt>)</li>
  2.1117  </ul>
  2.1118  
  2.1119  <pre>
  2.1120  # tazpkg convert <em>alien-paquete</em>
  2.1121  </pre>
  2.1122 +</article>
  2.1123  
  2.1124  
  2.1125 -<h3 id="list-suggested">list-suggested</h3>
  2.1126 +<article id="list-suggested"><h3>list-suggested</h3>
  2.1127  
  2.1128 -<p>List suggested packages for each of your installed packages. With option
  2.1129 -<tt>--all</tt> it shows all suggested packages, and without option it shows only
  2.1130 -not installed suggested packages.</p>
  2.1131 +<p>List suggested packages for each of your installed packages. With option <tt>--all</tt> it shows
  2.1132 +all suggested packages, and without option it shows only not installed suggested packages.</p>
  2.1133  
  2.1134  <pre>
  2.1135  $ tazpkg list-suggested
  2.1136  $ tazpkg list-suggested --all
  2.1137  </pre>
  2.1138 +</article>
  2.1139 +</section>
  2.1140  
  2.1141  
  2.1142  
  2.1143  
  2.1144 -<h2>Working with repositories</h2>
  2.1145 +<section><header>Working with repositories</header>
  2.1146  
  2.1147  
  2.1148 -<h3 id="recharge">recharge</h3>
  2.1149 +<article id="recharge"><h3>recharge</h3>
  2.1150  
  2.1151 -<p>Recarga la lista de los paquetes disponibles en el espejo. Este comando
  2.1152 -descargará el archivo <tt>packages.list</tt> más reciente con la lista de
  2.1153 -paquetes disponibles en el espejo y antes de empezar guardará una copia de la
  2.1154 -lista antigua. Una vez actualizada la lista, puedes usar los comandos <tt><a
  2.1155 -href="#list">list</a></tt> y <tt><a href="#search">search</a></tt>. Para ver y
  2.1156 -listar las diferencias, puedes usar <code>list-mirror --diff</code>; y para ver
  2.1157 -y actualizar paquetes, puedes usar el comando <tt><a
  2.1158 -href="#upgrade">upgrade</a></tt>.</p>
  2.1159 +<p>Recarga la lista de los paquetes disponibles en el espejo. Este comando descargará el packages
  2.1160 +database más reciente con la lista de paquetes disponibles en el espejo y antes de empezar guardará
  2.1161 +una copia de la database antigua. Una vez actualizada la DB, puedes usar los comandos <tt><a
  2.1162 +href="#list">list</a></tt> y <tt><a href="#search">search</a></tt>. Para ver y listar las
  2.1163 +diferencias, puedes usar <code>list-mirror --diff</code>; y para ver y actualizar paquetes, puedes
  2.1164 +usar el comando <tt><a href="#upgrade">upgrade</a></tt>.</p>
  2.1165 +
  2.1166 +<p>Command without options will recharge databases of all your repositories. You can specify the
  2.1167 +repository to be recharged: “main” for main repo, or undigest repository name.</p>
  2.1168  
  2.1169  <pre>
  2.1170  # tazpkg recharge
  2.1171 @@ -655,82 +886,98 @@
  2.1172  # tazpkg recharge <em>My_Undigest</em>
  2.1173  # tazpkg recharge --root=<em>/mnt/sda6</em>
  2.1174  </pre>
  2.1175 +</article>
  2.1176  
  2.1177  
  2.1178 -<h3 id="upgrade">up o upgrade</h3>
  2.1179 +<article id="upgrade"><h3>upgrade</h3>
  2.1180  
  2.1181 -<p>Upgrade te permite actualizar todos los paquetes instalados disponibles en el
  2.1182 -espejo actual. Actualizar paquetes es una parte importante de la seguridad del
  2.1183 -sistema, ayuda a mantenerte seguro con las ultimas actualizaciones y
  2.1184 -correcciones. El proyecto SliTaz, aunque sea pequeño, proporciona
  2.1185 -actualizaciones regulares de seguridad y en general ofrece las ultimas versiones
  2.1186 -de software. Tenga en cuenta que esta función esta dirigida a la gente con
  2.1187 -SliTaz instalado en su disco duro. Los paquetes actualizados en el modo Live CD
  2.1188 -se perderán al apagar el sistema. Para actualizar o mostrar todas las opciones
  2.1189 -de <tt>up</tt>:</p>
  2.1190 +<p>Upgrade te permite actualizar todos los paquetes instalados disponibles en el espejo actual
  2.1191 +(<tt>upgrade</tt> or <tt>up</tt>). Actualizar paquetes es una parte importante de la seguridad del
  2.1192 +sistema, ayuda a mantenerte seguro con las ultimas actualizaciones y correcciones. El proyecto
  2.1193 +SliTaz, aunque sea pequeño, proporciona actualizaciones regulares de seguridad y en general ofrece
  2.1194 +las ultimas versiones de software. Tenga en cuenta que esta función esta dirigida a la gente con
  2.1195 +SliTaz instalado en su disco duro. Los paquetes actualizados en el modo Live CD se perderán al
  2.1196 +apagar el sistema.</p>
  2.1197 +
  2.1198 +<p>At the beginning the packages database is updated automatically (<tt><a
  2.1199 +href="#recharge">recharge</a></tt>) in order to provide you with the current list of packages that
  2.1200 +you can update.</p>
  2.1201 +
  2.1202 +<p>Without options it runs in interactive mode and asks before install. You can specify one of the
  2.1203 +next options: <tt>-c</tt> or <tt>--check</tt> to check only for available upgrades; <tt>-i</tt> or
  2.1204 +<tt>--install</tt> to check for upgrades and install them all.</p>
  2.1205  
  2.1206  <pre>
  2.1207  # tazpkg upgrade
  2.1208 -# tazpkg up --recharge --install
  2.1209 -# tazpkg up -r -i
  2.1210 +# tazpkg up --check
  2.1211 +# tazpkg up -i
  2.1212  </pre>
  2.1213 +</article>
  2.1214  
  2.1215  
  2.1216 -<h3 id="setup-mirror">setup-mirror</h3>
  2.1217 +<article id="setup-mirror"><h3>setup-mirror</h3>
  2.1218  
  2.1219 -<p>Configura la dirección URL del espejo. El comando <tt>setup-mirror</tt> te
  2.1220 -preguntará la dirección URL del nuevo espejo. Puedes especificar múltiples
  2.1221 -direcciones URL separadas por espacios. Tenga en cuenta que también puede
  2.1222 -modificar el archivo principal <tt>/var/lib/tazpkg/mirror</tt>. La dirección URL
  2.1223 -tiene que indicar el directorio que contiene el archivo <tt>packages.list</tt> y
  2.1224 -los paquetes:</p>
  2.1225 +<p>Configura la dirección URL del espejo (<tt>setup-mirror</tt> o <tt>-sm</tt>). El comando te
  2.1226 +preguntará la dirección URL del nuevo espejo. Tenga en cuenta que también puede modificar el archivo
  2.1227 +principal <tt>/var/lib/tazpkg/mirror</tt>. La dirección URL tiene que indicar el directorio que
  2.1228 +contiene el archivo <tt>packages.info</tt> y los paquetes.</p>
  2.1229  
  2.1230  <pre>
  2.1231  # tazpkg setup-mirror
  2.1232  </pre>
  2.1233 +</article>
  2.1234  
  2.1235  
  2.1236 -<h3 id="add-undigest">add-undigest, setup-undigest</h3>
  2.1237 +<article id="add-undigest"><h3>add-undigest, setup-undigest</h3>
  2.1238  
  2.1239 -<p>Establece la dirección URL de un espejo adicional no oficial para probar
  2.1240 -paquetes que todavía no están presentes en los espejos oficiales. Tenga en
  2.1241 -cuenta que también puede editar manualmente el archivo en
  2.1242 -<tt>/var/lib/tazpkg/undigest/<em>repository</em></tt>. La dirección URL tiene
  2.1243 -que indicar el directorio que contiene los paquetes y el archivo
  2.1244 -<tt>packages.list</tt>:</p>
  2.1245 +<p>Establece la dirección URL de un espejo adicional no oficial para probar paquetes que todavía no
  2.1246 +están presentes en los espejos oficiales. Tenga en cuenta que también puede editar manualmente el
  2.1247 +archivo en <tt>/var/lib/tazpkg/undigest/<em>repository</em></tt>. La dirección URL tiene que indicar
  2.1248 +el directorio que contiene los paquetes y el archivo <tt>packages.info</tt>.</p>
  2.1249  
  2.1250  <pre>
  2.1251  # tazpkg add-undigest <em>public-repository http://my.home.org/slitaz</em>
  2.1252  # tazpkg setup-undigest <em>local-repository /home/slitaz/packages</em>
  2.1253  </pre>
  2.1254 +</article>
  2.1255  
  2.1256  
  2.1257 -<h3 id="list-undigest">list-undigest</h3>
  2.1258 +<article id="list-undigest"><h3>list-undigest</h3>
  2.1259  
  2.1260 -<p>Lista espejos no oficiales (undigest) adicionales.</p>
  2.1261 +<p>Lista espejos no oficiales (undigest) adicionales. Option <tt>--box</tt> will output list in the
  2.1262 +table form.</p>
  2.1263  
  2.1264  <pre>
  2.1265  # tazpkg list-undigest
  2.1266  # tazpkg list-undigest --box
  2.1267  </pre>
  2.1268 +</article>
  2.1269  
  2.1270  
  2.1271 -<h3 id="remove-undigest">remove-undigest</h3>
  2.1272 +<article id="remove-undigest"><h3>remove-undigest</h3>
  2.1273  
  2.1274 -<p>Borra la dirección de un espejo no oficial (undigest).</p>
  2.1275 +<p>Borra la dirección de un espejo no oficial (undigest). You will be asked for confirmation.</p>
  2.1276  
  2.1277  <pre>
  2.1278  # tazpkg remove-undigest <em>my-repository</em>
  2.1279  </pre>
  2.1280 +</article>
  2.1281 +</section>
  2.1282  
  2.1283  
  2.1284  
  2.1285  
  2.1286 -<h2>ENCARGADO DE MANTENIMIENTO</h2>
  2.1287 +<section><header>Encargado de mantenimiento</header>
  2.1288  
  2.1289  <p>Christophe Lincoln &lt;pankso en slitaz.org&gt;</p>
  2.1290 +</section>
  2.1291  
  2.1292 -</div>
  2.1293 -<!-- End content -->
  2.1294 +
  2.1295 +
  2.1296 +
  2.1297 +<footer>
  2.1298 +	Copyright © 2015 <a href="http://www.slitaz.org/es/">SliTaz GNU/Linux</a>
  2.1299 +</footer>
  2.1300 +
  2.1301  </body>
  2.1302  </html>
     3.1 --- a/doc/tazpkg.fr.html	Sun Sep 06 12:48:04 2015 +0200
     3.2 +++ b/doc/tazpkg.fr.html	Mon Oct 05 03:53:47 2015 +0300
     3.3 @@ -1,11 +1,11 @@
     3.4  <!DOCTYPE html>
     3.5  <html lang="fr">
     3.6  <head>
     3.7 -	<meta charset="utf-8" />
     3.8 -	<title>Manuel de TazPkg (fr)</title>
     3.9 -	<link rel="stylesheet" type="text/css" href="../slitaz-doc.css" />
    3.10 -	<meta name="viewport" content="width=device-width,initial-scale=1"/>
    3.11 -	<script type="text/javascript" src="../slitaz-doc.js"></script>
    3.12 +	<meta charset="UTF-8">
    3.13 +	<title>Manuel de TazPkg</title>
    3.14 +	<meta name="viewport" content="width=device-width,initial-scale=1">
    3.15 +	<link rel="stylesheet" href="../slitaz-doc.css">
    3.16 +	<script src="../slitaz-doc.js"></script>
    3.17  </head>
    3.18  <body>
    3.19  
    3.20 @@ -13,166 +13,156 @@
    3.21  	<h1>Manuel de TazPkg</h1>
    3.22  </header>
    3.23  
    3.24 -<!-- Start content -->
    3.25 -<div id="content">
    3.26  
    3.27  
    3.28 -<h2>NOM</h2>
    3.29  
    3.30 -<p>	TazPkg — Tiny autonomous zone package manager</p>
    3.31 +<section><header>Nom</header>
    3.32  
    3.33 +<p>TazPkg — Tiny autonomous zone package manager.</p>
    3.34 +</section>
    3.35  
    3.36 -<h2>SYNTAXE</h2>
    3.37 +
    3.38 +
    3.39 +
    3.40 +<section><header>Syntaxe</header>
    3.41  
    3.42  <pre>
    3.43  tazpkg [command] [package|dir|pattern|list|cat|--opt] [dir|--opt]
    3.44  tazpkg shell
    3.45  </pre>
    3.46 +</section>
    3.47  
    3.48  
    3.49 -<h2>DESCRIPTION</h2>
    3.50  
    3.51 -<p>TazPkg est un gestionnaire de paquets léger permettant d'installer, lister,
    3.52 -télécharger, mettre à jour ou enlever des paquets précompilés sur un système
    3.53 -GNU/Linux. TazPkg propose aussi une commande de recherche et une commande pour
    3.54 -la création de paquets. Il a été créé pour les besoins de SliTaz GNU/Linux, mini
    3.55 -distribution autonome. Le format des paquets utilise l'extension *.tazpkg, c'est
    3.56 -une archive cpio contenant un système de fichiers (fs) compressé avec gzip, la
    3.57 -recette et une éventuelle description. TazPkg fournit aussi un système de
    3.58 -gestion des dépendances basé sur les recettes des paquets. La recette contient
    3.59 -toutes les informations au sujet du paquet, elle peut aussi contenir les
    3.60 -fonctions de pre et post installation. Cette même recette est par ailleurs
    3.61 -utilisée par Cookutils pour compiler les sources et créer un paquet tazpkg.</p>
    3.62  
    3.63 -<p>TazPkg est écrit en script shell depuis rien (from scratch), compatible Bash,
    3.64 -et fonctionne avec Ash du projet Busybox. TazPkg est distribué sous license
    3.65 -libre GNU gpl v3.</p>
    3.66 +<section><header>Description</header>
    3.67  
    3.68 +<p>TazPkg est un gestionnaire de paquets léger permettant d'installer, lister, télécharger, mettre à
    3.69 +jour ou enlever des paquets précompilés sur un système GNU/Linux. TazPkg propose aussi une commande
    3.70 +de recherche et une commande pour la création de paquets. Il a été créé pour les besoins de SliTaz
    3.71 +GNU/Linux, mini distribution autonome. Le format des paquets utilise l'extension *.tazpkg, c'est une
    3.72 +archive cpio contenant un système de fichiers (fs) compressé avec lzma, la recette et une éventuelle
    3.73 +description. TazPkg fournit aussi un système de gestion des dépendances basé sur les recettes des
    3.74 +paquets. La recette contient toutes les informations au sujet du paquet, elle peut aussi contenir
    3.75 +les fonctions de pre et post installation. Cette même recette est par ailleurs utilisée par <a
    3.76 +href="../cookutils/cookutils.en.html" target="_blank">Cookutils</a> pour compiler les sources et
    3.77 +créer un paquet tazpkg.</p>
    3.78  
    3.79 +<p>TazPkg est écrit en script shell depuis rien (from scratch), compatible Bash, et fonctionne avec
    3.80 +Ash du projet Busybox. TazPkg est distribué sous license libre GNU gpl v3.</p>
    3.81 +</section>
    3.82  
    3.83 -<h2>COMMANDES</h2>
    3.84  
    3.85  
    3.86 -<h3>Service commands</h3>
    3.87 +
    3.88 +<section><header>Commandes</header>
    3.89 +
    3.90 +
    3.91 +<article><header>Service commands</header>
    3.92  
    3.93  <ul>
    3.94  	<li><a href="#usage">usage</a> : affiche cette notice d'utilisation</li>
    3.95  	<li><a href="#help">help</a> : show help on the TazPkg commands</li>
    3.96 -	<li><a href="#activity">activity</a> : affiche les denières actions de
    3.97 -		TazPkg</li>
    3.98 -	<li><a href="#clean-cache">clean-cache</a> : efface tous les paquets
    3.99 -		téléchargés dans le répertoire cache</li>
   3.100 +	<li><a href="#activity">activity</a> : affiche les denières actions de TazPkg</li>
   3.101 +	<li><a href="#clean-cache">clean-cache</a> : efface tous les paquets téléchargés dans le
   3.102 +		répertoire cache</li>
   3.103  	<li><a href="#shell">shell</a> : run interactive TazPkg shell</li>
   3.104  </ul>
   3.105 +</article>
   3.106  
   3.107  
   3.108 -<h3>Working with lists</h3>
   3.109 +<article><header>Working with lists</header>
   3.110  
   3.111  <ul>
   3.112  	<li><a href="#list">list</a> : liste les paquets installés</li>
   3.113 -	<li><a href="#list-mirror">list-mirror</a> : liste les paquets
   3.114 -		disponibles</li>
   3.115 -	<li><a href="#list-config">list-config</a> : liste les fichiers de
   3.116 -		configuration</li>
   3.117 +	<li><a href="#list-mirror">list-mirror</a> : liste les paquets disponibles</li>
   3.118 +	<li><a href="#list-config">list-config</a> : liste les fichiers de configuration</li>
   3.119  </ul>
   3.120 +</article>
   3.121  
   3.122  
   3.123 -<h3>Cherche</h3>
   3.124 +<article><header>Cherche</header>
   3.125  
   3.126  <ul>
   3.127  	<li><a href="#search">search</a> : cherche un paquet avec un motif/nom</li>
   3.128 -	<li><a href="#search-pkgname">search-pkgname</a> : cherche un paquet
   3.129 -		contenant un fichier particulier</li>
   3.130 -	<li><a href="#search-file">search-file</a> : cherche le fichier parmi les
   3.131 -		paquets installés</li>
   3.132 +	<li><a href="#search-pkgname">search-pkgname</a> : cherche un paquet contenant un fichier
   3.133 +		particulier</li>
   3.134 +	<li><a href="#search-file">search-file</a> : cherche le fichier parmi les paquets installés</li>
   3.135  </ul>
   3.136 +</article>
   3.137  
   3.138  
   3.139 -<h3>Installing and removing packages</h3>
   3.140 +<article><header>Installing and removing packages</header>
   3.141  
   3.142  <ul>
   3.143 -	<li><a href="#get">get</a> : télécharge un paquet dans le répertoire
   3.144 -		courrant</li>
   3.145 +	<li><a href="#get">get</a> : télécharge un paquet dans le répertoire courrant</li>
   3.146  	<li><a href="#install">install</a> : installe un paquet local</li>
   3.147 -	<li><a href="#get-install">get-install</a> : télécharge et installe un
   3.148 -		paquet depuis le miroir</li>
   3.149 -	<li><a href="#install-list">install-list</a> : installe tous les paquets
   3.150 -		d'une liste</li>
   3.151 -	<li><a href="#install-list">get-install-list</a> : télécharge et installe
   3.152 -		une liste de paquets</li>
   3.153 -	<li><a href="#remove">remove</a> : retire le paquet spécifié et tous ses
   3.154 -		fichiers</li>
   3.155 -	<li><a href="#reconfigure">reconfigure</a> : ré-exécute le script
   3.156 -		post-installation d'un paquet</li>
   3.157 -	<li><a href="#link">link</a> : lie un paquet depuis une autre installation
   3.158 -		SliTaz</li>
   3.159 -	<li><a href="#set-release">set-release</a> : change de version et met à jour
   3.160 -		les paquets</li>
   3.161 -	<li><a href="#add-flavor">add-flavor</a> : installe les paquets d'une
   3.162 -		saveur</li>
   3.163 -	<li><a href="#add-flavor">install-flavor</a> : installe les paquets d'une
   3.164 -		saveur et retire les autres</li>
   3.165 +	<li><a href="#get-install">get-install</a> : télécharge et installe un paquet depuis le
   3.166 +		miroir</li>
   3.167 +	<li><a href="#install-list">install-list</a> : installe tous les paquets d'une liste</li>
   3.168 +	<li><a href="#install-list">get-install-list</a> : télécharge et installe une liste de
   3.169 +		paquets</li>
   3.170 +	<li><a href="#remove">remove</a> : retire le paquet spécifié et tous ses fichiers</li>
   3.171 +	<li><a href="#reconfigure">reconfigure</a> : ré-exécute le script post-installation d'un
   3.172 +		paquet</li>
   3.173 +	<li><a href="#link">link</a> : lie un paquet depuis une autre installation SliTaz</li>
   3.174 +	<li><a href="#set-release">set-release</a> : change de version et met à jour les paquets</li>
   3.175 +	<li><a href="#add-flavor">add-flavor</a> : installe les paquets d'une saveur</li>
   3.176 +	<li><a href="#add-flavor">install-flavor</a> : installe les paquets d'une saveur et retire les
   3.177 +		autres</li>
   3.178  </ul>
   3.179 +</article>
   3.180  
   3.181  
   3.182 -<h3>Working with packages</h3>
   3.183 +<article><header>Working with packages</header>
   3.184  
   3.185  <ul>
   3.186 -	<li><a href="#info">info</a> : affiche les informations à propos d'un
   3.187 -		paquet</li>
   3.188 +	<li><a href="#info">info</a> : affiche les informations à propos d'un paquet</li>
   3.189  	<li><a href="#desc">desc</a> : affiche la description d'un paquet</li>
   3.190 -	<li><a href="#list-files">list-files</a> : liste les fichiers installés par
   3.191 -		un paquet</li>
   3.192 -	<li><a href="#block">block, unblock</a> : bloque/débloque un paquet installé
   3.193 -		pour la mise à jour</li>
   3.194 -	<li><a href="#check">check</a> : vérifie la consistance des paquets
   3.195 -		installés</li>
   3.196 +	<li><a href="#list-files">list-files</a> : liste les fichiers installés par un paquet</li>
   3.197 +	<li><a href="#block">block, unblock</a> : bloque/débloque un paquet installé pour la mise à
   3.198 +		jour</li>
   3.199 +	<li><a href="#check">check</a> : vérifie la consistance des paquets installés</li>
   3.200  	<li><a href="#bugs">bugs</a> : affiche les bugs connus des paquets</li>
   3.201  	<li><a href="#depends">depends</a> : affiche l'arbre des dépendances</li>
   3.202 -	<li><a href="#depends">rdepends</a> : affiche l'arbre des dépendances
   3.203 -		inverses</li>
   3.204 -	<li><a href="#extract">extract</a> : extrait un paquet (*.tazpkg) dans un
   3.205 -		répertoire</li>
   3.206 -	<li><a href="#pack">pack</a> : empaqueter un paquet décompressé ou préparer
   3.207 -		l'arborescence de celui-ci</li>
   3.208 -	<li><a href="#repack">repack</a> : re-créé un paquet depuis le paquet
   3.209 -		installé</li>
   3.210 -	<li><a href="#repack-config">repack-config</a> : créé un paquet avec les
   3.211 -		fichiers de configuration système</li>
   3.212 -	<li><a href="#recompress">recompress</a> : reconstruit un paquet avec le
   3.213 -		meilleur ratio de compression</li>
   3.214 -	<li><a href="#convert">convert</a> : convertit un paquet d'une autre
   3.215 -		distribution vers SliTaz</li>
   3.216 -	<li><a href="#list-suggested">list-suggested</a> : print list of suggested
   3.217 -		packages</li>
   3.218 +	<li><a href="#depends">rdepends</a> : affiche l'arbre des dépendances inverses</li>
   3.219 +	<li><a href="#extract">extract</a> : extrait un paquet (*.tazpkg) dans un répertoire</li>
   3.220 +	<li><a href="#pack">pack</a> : empaqueter un paquet décompressé ou préparer l'arborescence de
   3.221 +		celui-ci</li>
   3.222 +	<li><a href="#repack">repack</a> : re-créé un paquet depuis le paquet installé</li>
   3.223 +	<li><a href="#repack-config">repack-config</a> : créé un paquet avec les fichiers de
   3.224 +		configuration système</li>
   3.225 +	<li><a href="#recompress">recompress</a> : reconstruit un paquet avec le meilleur ratio de
   3.226 +		compression</li>
   3.227 +	<li><a href="#convert">convert</a> : convertit un paquet d'une autre distribution vers
   3.228 +		SliTaz</li>
   3.229 +	<li><a href="#list-suggested">list-suggested</a> : print list of suggested packages</li>
   3.230  </ul>
   3.231 +</article>
   3.232  
   3.233  
   3.234 -<h3>Working with repositories</h3>
   3.235 +<article><header>Working with repositories</header>
   3.236  
   3.237  <ul>
   3.238 -	<li><a href="#recharge">recharge</a> : recharge votre packages.info depuis
   3.239 -		un miroir</li>
   3.240 -	<li><a href="#upgrade">upgrade</a> : vérifiez le paquet à la liste et
   3.241 -		installer la dernière mise à jour</li>
   3.242 +	<li><a href="#recharge">recharge</a> : recharge votre packages.info depuis un miroir</li>
   3.243 +	<li><a href="#upgrade">upgrade</a> : vérifiez le paquet à la liste et installer la dernière mise
   3.244 +		à jour</li>
   3.245  	<li><a href="#setup-mirror">setup-mirror</a> : change l'URL du miroir</li>
   3.246 -	<li><a href="#add-undigest">setup-undigest</a> : met à jour un miroir
   3.247 -		indigeste</li>
   3.248 -	<li><a href="#list-undigest">list-undigest</a> : liste les miroirs
   3.249 -		indigestes</li>
   3.250 -	<li><a href="#add-undigest">add-undigest</a> : ajoute un miroir
   3.251 -		indigeste</li>
   3.252 -	<li><a href="#remove-undigest">remove-undigest</a> : retire un miroir
   3.253 -		indigeste</li>
   3.254 +	<li><a href="#add-undigest">setup-undigest</a> : met à jour un miroir indigeste</li>
   3.255 +	<li><a href="#list-undigest">list-undigest</a> : liste les miroirs indigestes</li>
   3.256 +	<li><a href="#add-undigest">add-undigest</a> : ajoute un miroir indigeste</li>
   3.257 +	<li><a href="#remove-undigest">remove-undigest</a> : retire un miroir indigeste</li>
   3.258  </ul>
   3.259 +</article>
   3.260 +</section>
   3.261  
   3.262  
   3.263  
   3.264  
   3.265 -<h2>Service commands</h2>
   3.266 +<section><header>Service commands</header>
   3.267  
   3.268  
   3.269 -<h3 id="usage">usage</h3>
   3.270 +<article id="usage"><h3>usage</h3>
   3.271  
   3.272  <p>Show the full list of the TazPkg commands with a brief description.</p>
   3.273  
   3.274 @@ -180,74 +170,75 @@
   3.275  $ tazpkg usage
   3.276  $ tazpkg
   3.277  </pre>
   3.278 +</article>
   3.279  
   3.280  
   3.281 -<h3 id="help">help</h3>
   3.282 +<article id="help"><h3>help</h3>
   3.283  
   3.284 -<p>Display help for the selected command (<tt>help</tt> or <tt>-h</tt>). You can
   3.285 -enter a short name of the command, the full name or a part of the full name. You
   3.286 -can ignore hyphens at the beginning of the short name. If the requested part of
   3.287 -the full name match the several commands, you will be asked to clarify the
   3.288 -request.</p>
   3.289 +<p>Display help for the selected command (<tt>help</tt> or <tt>-h</tt>). You can enter a short name
   3.290 +of the command, the full name or a part of the full name. You can ignore hyphens at the beginning of
   3.291 +the short name. If the requested part of the full name match the several commands, you will be asked
   3.292 +to clarify the request.</p>
   3.293  
   3.294  <pre>
   3.295  $ tazpkg help <em>-gi</em>
   3.296  $ tazpkg -h <em>us</em>
   3.297  </pre>
   3.298 +</article>
   3.299  
   3.300  
   3.301 -<h3 id="activity">activity</h3>
   3.302 +<article id="activity"><h3>activity</h3>
   3.303  
   3.304 -<p>Display TazPkg activity log (<tt>activity</tt> or <tt>log</tt> or
   3.305 -<tt>-a</tt>). Optional parameter <tt>--nb=</tt> lets you set number of displayed
   3.306 -lines.</p>
   3.307 +<p>Display TazPkg activity log (<tt>activity</tt> or <tt>log</tt> or <tt>-a</tt>). Optional
   3.308 +parameter <tt>--nb=</tt> lets you set number of displayed lines.</p>
   3.309  
   3.310  <pre>
   3.311  $ tazpkg activity
   3.312  $ tazpkg -a --nb=<em>20</em>
   3.313  </pre>
   3.314 +</article>
   3.315  
   3.316  
   3.317 -<h3 id="clean-cache">clean-cache</h3>
   3.318 +<article id="clean-cache"><h3>clean-cache</h3>
   3.319  
   3.320 -<p>Supprimer les paquets TazPkg téléchargés dans le cache. Lors de
   3.321 -l'installation de paquets via le Web, TazPkg garde une copie du paquet, cela est
   3.322 -fait pour gagner de la bande passante en cas de réinstallation, mais il se peut
   3.323 -que vous vouliez libérer de la place sur le disque dur ou que vous désiriez
   3.324 -retélécharger des paquets :</p>
   3.325 +<p>Supprimer les paquets TazPkg téléchargés dans le cache. Lors de l'installation de paquets via le
   3.326 +Web, TazPkg garde une copie du paquet, cela est fait pour gagner de la bande passante en cas de
   3.327 +réinstallation, mais il se peut que vous vouliez libérer de la place sur le disque dur ou que vous
   3.328 +désiriez retélécharger des paquets :</p>
   3.329  
   3.330  <pre>
   3.331  # tazpkg clean-cache
   3.332  # tazpkg -cc
   3.333  </pre>
   3.334 +</article>
   3.335  
   3.336  
   3.337 -<h3 id="shell">shell</h3>
   3.338 +<article id="shell"><h3>shell</h3>
   3.339  
   3.340 -<p>TazPkg fourni un mode SHell permettant de directement passer les commandes au
   3.341 -gestionnaire de paquets. Ce mode est utile pour lancer quelques commandes comme
   3.342 -la mise à jour du système, il support 'su' pour devenir admnistrateur mais ne
   3.343 -propose pas le rappel des commandes. Pour utiliser TazPkg en mode SHell :</p>
   3.344 +<p>TazPkg fourni un mode SHell permettant de directement passer les commandes au gestionnaire de
   3.345 +paquets. Ce mode est utile pour lancer quelques commandes comme la mise à jour du système, il
   3.346 +support « su » pour devenir admnistrateur mais ne propose pas le rappel des commandes. Pour utiliser
   3.347 +TazPkg en mode SHell :</p>
   3.348  
   3.349  <pre>
   3.350  $ tazpkg shell
   3.351  # tazpkg shell
   3.352  </pre>
   3.353 +</article>
   3.354 +</section>
   3.355  
   3.356  
   3.357  
   3.358  
   3.359 -<h2>Working with lists</h2>
   3.360 +<section><header>Working with lists</header>
   3.361  
   3.362  
   3.363 -<h3 id="list">list</h3>
   3.364 +<article id="list"><h3>list</h3>
   3.365  
   3.366 -<p>Liste et compte les paquets installés sur le système. Cette commande permet
   3.367 -d'afficher sur une colonne la liste tous les paquets installés, vous pouvez
   3.368 -aussi utiliser la commande de recherche (search) pour avoir une liste en
   3.369 -fonction d'un nom (exemple xorg). Cette commande vous permet aussi de lister les
   3.370 -catégories, les paquets en fonction de leur catégorie et les paquets
   3.371 -bloqués :</p>
   3.372 +<p>Liste et compte les paquets installés sur le système. Cette commande permet d'afficher sur une
   3.373 +colonne la liste tous les paquets installés, vous pouvez aussi utiliser la commande de recherche
   3.374 +(search) pour avoir une liste en fonction d'un nom (exemple xorg). Cette commande vous permet aussi
   3.375 +de lister les catégories, les paquets en fonction de leur catégorie et les paquets bloqués :</p>
   3.376  <pre>
   3.377  $ tazpkg list
   3.378  $ tazpkg list cat
   3.379 @@ -255,9 +246,10 @@
   3.380  $ tazpkg list <em>jeux</em>
   3.381  $ tazpkg list blocked
   3.382  </pre>
   3.383 +</article>
   3.384  
   3.385  
   3.386 -<h3 id="list-mirror">list-mirror</h3>
   3.387 +<article id="list-mirror"><h3>list-mirror</h3>
   3.388  
   3.389  <p>Liste et compte les paquets disponnibles sur le miroir. Cette commande va
   3.390  afficher le dernier fichier packages.list rechargé depuis le miroir, si la liste
   3.391 @@ -271,9 +263,10 @@
   3.392  $ tazpkg list-mirror
   3.393  $ tazpkg -lm --diff
   3.394  </pre>
   3.395 +</article>
   3.396  
   3.397  
   3.398 -<h3 id="list-config">list-config</h3>
   3.399 +<article id="list-config"><h3>list-config</h3>
   3.400  
   3.401  <p>Lists the system configuration files. The <tt>--box</tt> option displays in
   3.402  table form. You can specify package name to display configuration files only for
   3.403 @@ -285,14 +278,16 @@
   3.404  $ tazpkg list-config <em>slim</em>
   3.405  $ tazpkg list-config --box <em>slim</em>
   3.406  </pre>
   3.407 +</article>
   3.408 +</section>
   3.409  
   3.410  
   3.411  
   3.412  
   3.413 -<h2>Search</h2>
   3.414 +<section><header>Search</header>
   3.415  
   3.416  
   3.417 -<h3 id="search">search</h3>
   3.418 +<article id="search"><h3>search</h3>
   3.419  
   3.420  <p>Recherche de paquets par patron ou nom de paquet. La commande va chercher le
   3.421  terme voulu dans les paquets installés et dans les listes des paquets
   3.422 @@ -307,9 +302,10 @@
   3.423  $ tazpkg search <em>mt</em> -i
   3.424  $ tazpkg search <em>bit</em> -l
   3.425  </pre>
   3.426 +</article>
   3.427  
   3.428  
   3.429 -<h3 id="search-pkgname">search-pkgname</h3>
   3.430 +<article id="search-pkgname"><h3>search-pkgname</h3>
   3.431  
   3.432  <p>Search for a file on mirror and output only the packages names
   3.433  (<tt>search-pkgname</tt> or <tt>-sp</tt>).</p>
   3.434 @@ -318,9 +314,10 @@
   3.435  $ tazpkg search-pkgname <em>libnss</em>
   3.436  $ tazpkg -sp <em>/usr/share/fonts</em>
   3.437  </pre>
   3.438 +</article>
   3.439  
   3.440  
   3.441 -<h3 id="search-file">search-file</h3>
   3.442 +<article id="search-file"><h3>search-file</h3>
   3.443  
   3.444  <p>La commande <tt>search-file</tt> permet de rechercher un fichier parmi tous
   3.445  les fichiers installés par tous les paquets. Cette commande est très utile pour
   3.446 @@ -331,14 +328,16 @@
   3.447  $ tazpkg search-file <em>libnss</em>
   3.448  $ tazpkg -sf <em>/usr/share/fonts</em> --mirror
   3.449  </pre>
   3.450 +</article>
   3.451 +</section>
   3.452  
   3.453  
   3.454  
   3.455  
   3.456 -<h2>Installing and removing packages</h2>
   3.457 +<section><header>Installing and removing packages</header>
   3.458  
   3.459  
   3.460 -<h3 id="get">get</h3>
   3.461 +<article id="get"><h3>get</h3>
   3.462  
   3.463  <p>Télécharge un paquet depuis le miroir (si il existe). Le paquet téléchargé
   3.464  est stocké dans le répertoire courant, pour connaître le chemin vous pouvez
   3.465 @@ -348,9 +347,10 @@
   3.466  # tazpkg get <em>grub</em>
   3.467  # tazpkg get <em>nano</em> --root=<em>/mnt/sda6</em>
   3.468  </pre>
   3.469 +</article>
   3.470  
   3.471  
   3.472 -<h3 id="install">install</h3>
   3.473 +<article id="install"><h3>install</h3>
   3.474  
   3.475  <p>Cette commande permet l'installation d'un paquet local avec l'extension
   3.476  <tt>.tazpkg</tt>. Voir la commande <tt>get-install</tt> pour installer un paquet
   3.477 @@ -364,9 +364,10 @@
   3.478  # tazpkg -i <em>path/to/package-1.0.tazpkg</em> --forced
   3.479  # tazpkg -i <em>path/to/package-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em>
   3.480  </pre>
   3.481 +</article>
   3.482  
   3.483  
   3.484 -<h3 id="get-install">get-install</h3>
   3.485 +<article id="get-install"><h3>get-install</h3>
   3.486  
   3.487  <p>Installer un paquet depuis un mirroir sur internet. La commande
   3.488  <tt>get-install</tt> commence par vérifier si le paquet existe bien sur le
   3.489 @@ -379,9 +380,10 @@
   3.490  # tazpkg -gi <em>grub</em> --forced
   3.491  # tazpkg -gi <em>nano</em> --root=<em>/mnt/sda6</em>
   3.492  </pre>
   3.493 +</article>
   3.494  
   3.495  
   3.496 -<h3 id="install-list">install-list, get-install-list</h3>
   3.497 +<article id="install-list"><h3>install-list, get-install-list</h3>
   3.498  
   3.499  <p>Installation d'un set de paquets listés dans un fichier. Cette commande
   3.500  permet d'installer plusieurs paquets en une seule commande et peut aussi être
   3.501 @@ -391,9 +393,10 @@
   3.502  # tazpkg install-list <em>my-packages.list</em>
   3.503  # tazpkg get-install-list <em>my-packages.list</em> --forced
   3.504  </pre>
   3.505 +</article>
   3.506  
   3.507  
   3.508 -<h3 id="remove">remove</h3>
   3.509 +<article id="remove"><h3>remove</h3>
   3.510  
   3.511  <p>Désinstallation d'un paquet, il vous sera demandé confirmation (y/N). Cette
   3.512  commande va supprimer tous les fichiers installés avec le paquet, pour afficher
   3.513 @@ -405,9 +408,10 @@
   3.514  # tazpkg -r <em>gtk+-3</em> --root=<em>/mnt/sda6</em>
   3.515  # tazpkg -r <em>nano</em> --auto
   3.516  </pre>
   3.517 +</article>
   3.518  
   3.519  
   3.520 -<h3 id="reconfigure">reconfigure</h3>
   3.521 +<article id="reconfigure"><h3>reconfigure</h3>
   3.522  
   3.523  <p>La commande <tt>reconfigure</tt> permet de relancer les commande de post et
   3.524  pre-installation d'un paquet afin de le reconfigurer si besoin est :</p>
   3.525 @@ -416,9 +420,10 @@
   3.526  # tazpkg reconfigure <em>gcc</em>
   3.527  # tazpkg reconfigure <em>gcc</em> --root=<em>/mnt/sda6</em>
   3.528  </pre>
   3.529 +</article>
   3.530  
   3.531  
   3.532 -<h3 id="link">link</h3>
   3.533 +<article id="link"><h3>link</h3>
   3.534  
   3.535  <p>Cette commande permet l'installation d'un paquet déjà installé sur un autre
   3.536  media. Cette installation s'effectue par des liens symboliques et consomme très
   3.537 @@ -428,9 +433,10 @@
   3.538  <pre>
   3.539  # tazpkg link <em>openoffice /media/usbdisk</em>
   3.540  </pre>
   3.541 +</article>
   3.542  
   3.543  
   3.544 -<h3 id="set-release">set-release</h3>
   3.545 +<article id="set-release"><h3>set-release</h3>
   3.546  
   3.547  <p>La commande <tt>set-release</tt> permet de changer la version de SliTaz et de
   3.548  mettre à jour tous les paquets. Attention cette commande peut être dangereuse
   3.549 @@ -440,9 +446,10 @@
   3.550  <pre>
   3.551  # tazpkg set-release <em>cooking</em>
   3.552  </pre>
   3.553 +</article>
   3.554  
   3.555  
   3.556 -<h3 id="add-flavor">add-flavor, install-flavor</h3>
   3.557 +<article id="add-flavor"><h3>add-flavor, install-flavor</h3>
   3.558  
   3.559  <p>Installation d'un set de paquets listés dans une saveur. Cette commande
   3.560  permet d'installer tous les paquets d'une saveur en une seule commande sans
   3.561 @@ -452,6 +459,7 @@
   3.562  # tazpkg add-flavor <em>gtkonly</em>
   3.563  # tazpkg install-flavor <em>justx</em>
   3.564  </pre>
   3.565 +</article>
   3.566  
   3.567  
   3.568  <!--h3 id="install-flavor">install-flavor</h3>
   3.569 @@ -464,25 +472,27 @@
   3.570  # tazpkg install-flavor office.flavor
   3.571  </pre-->
   3.572  
   3.573 +</section>
   3.574  
   3.575  
   3.576  
   3.577 -<h2>Working with packages</h2>
   3.578  
   3.579 +<section><header>Working with packages</header>
   3.580  
   3.581 -<h3 id="info">info</h3>
   3.582  
   3.583 -<p>Donne les informations disponibles dans la recette du paquet en question, sa
   3.584 -version, sa catégorie, le mainteneur, son site Web et ses éventuelles
   3.585 -dépendances (voir aussi Cookutils pour plus d'informations sur les
   3.586 -recettes) :</p>
   3.587 +<article id="info"><h3>info</h3>
   3.588 +
   3.589 +<p>Donne les informations disponibles dans la recette du paquet en question, sa version, sa
   3.590 +catégorie, le mainteneur, son site Web et ses éventuelles dépendances (voir aussi <a href="../cookutils/cookutils.en.html" target="_blank">Cookutils</a> pour
   3.591 +plus d'informations sur les recettes) :</p>
   3.592  
   3.593  <pre>
   3.594  $ tazpkg info <em>busybox</em>
   3.595  </pre>
   3.596 +</article>
   3.597  
   3.598  
   3.599 -<h3 id="desc">desc</h3>
   3.600 +<article id="desc"><h3>desc</h3>
   3.601  
   3.602  <p>Description du paquet (si elle existe). Cette commande affiche le fichier
   3.603  <tt>description.txt</tt> propre à chaque paquet, la description est un simple
   3.604 @@ -493,9 +503,10 @@
   3.605  <pre>
   3.606  $ tazpkg desc <em>busybox</em>
   3.607  </pre>
   3.608 +</article>
   3.609  
   3.610  
   3.611 -<h3 id="list-files">list-files</h3>
   3.612 +<article id="list-files"><h3>list-files</h3>
   3.613  
   3.614  <p>Liste et compte les fichiers installés avec un paquet. Cette commande va
   3.615  simplement lire et classer le fichier <tt>files.list</tt> propre à chaque
   3.616 @@ -506,9 +517,10 @@
   3.617  <pre>
   3.618  $ tazpkg list-files <em>bc</em>
   3.619  </pre>
   3.620 +</article>
   3.621  
   3.622  
   3.623 -<h3 id="block">block, unblock</h3>
   3.624 +<article id="block"><h3>block, unblock</h3>
   3.625  
   3.626  <p>Les commandes <tt>block</tt> et <tt>unblock</tt> pemettent de bloquer la
   3.627  version du paquet installé pour qu'il ne soit pas mis à jour par la commande
   3.628 @@ -521,9 +533,10 @@
   3.629  # tazpkg unblock <em>grub</em>
   3.630  # tazpkg chblock <em>grub</em>
   3.631  </pre>
   3.632 +</article>
   3.633  
   3.634  
   3.635 -<h3 id="check">check</h3>
   3.636 +<article id="check"><h3>check</h3>
   3.637  
   3.638  <p>La commande <tt>check</tt> permet de vérifier les dépendances sur les paquets
   3.639  installés et de vérifier si tous les fichiers nécessaires à la reconstruction
   3.640 @@ -535,9 +548,10 @@
   3.641  $ tazpkg check <em>nano</em>
   3.642  $ tazpkg check <em>sakura</em> --full
   3.643  </pre>
   3.644 +</article>
   3.645  
   3.646  
   3.647 -<h3 id="bugs">bugs</h3>
   3.648 +<article id="bugs"><h3>bugs</h3>
   3.649  
   3.650  <p>Affiche les bugs connus :</p>
   3.651  
   3.652 @@ -545,9 +559,10 @@
   3.653  $ tazpkg bugs
   3.654  $ tazpkg bugs <em>my_package</em>
   3.655  </pre>
   3.656 +</article>
   3.657  
   3.658  
   3.659 -<h3 id="depends">depends, rdepends</h3>
   3.660 +<article id="depends"><h3>depends, rdepends</h3>
   3.661  
   3.662  <p>Affiche l'arbre des dépendances d'un paquet, c'est à dire tous les paquets
   3.663  qui devront être installés en plus :</p>
   3.664 @@ -556,6 +571,7 @@
   3.665  # tazpkg depends <em>mpd</em>
   3.666  # tazpkg rdepends <em>mpd</em>
   3.667  </pre>
   3.668 +</article>
   3.669  
   3.670  
   3.671  <!--h3 id="rdepend">rdepend</h3>
   3.672 @@ -568,7 +584,7 @@
   3.673  </pre-->
   3.674  
   3.675  
   3.676 -<h3 id="extract">extract</h3>
   3.677 +<article id="extract"><h3>extract</h3>
   3.678  
   3.679  <p>Extraire un paquet dans un répertoire donné. Si vous ne spécifiez pas le
   3.680  répertoire de destination, le paquet sera extrait dans le répertoire courant en
   3.681 @@ -578,21 +594,23 @@
   3.682  $ tazpkg extract <em>paquet.tazpkg</em>
   3.683  $ tazpkg extract <em>paquet.tazpkg target/dir</em>
   3.684  </pre>
   3.685 +</article>
   3.686  
   3.687  
   3.688 -<h3 id="pack">pack</h3>
   3.689 +<article id="pack"><h3>pack</h3>
   3.690  
   3.691  <p>La commande <tt>pack</tt> permet de créer un paquet depuis un répertoire
   3.692  préparé à l'avance ou depuis un paquet désarchivé. Cette commande permet aussi
   3.693  de créer manuellement un <tt>paquet.tazpkg</tt> (voir la documentation et
   3.694 -Cookutils pour la création automatique de paquets).</p>
   3.695 +<a href="../cookutils/cookutils.en.html" target="_blank">Cookutils</a> pour la création automatique de paquets).</p>
   3.696  
   3.697  <pre>
   3.698  # tazpkg pack <em>paquet-version</em>
   3.699  </pre>
   3.700 +</article>
   3.701  
   3.702  
   3.703 -<h3 id="repack">repack</h3>
   3.704 +<article id="repack"><h3>repack</h3>
   3.705  
   3.706  <p>La commande <tt>repack</tt> permet de recréer un paquet depuis les fichiers
   3.707  présents sur le système où il a été précédemment installé.</p>
   3.708 @@ -600,9 +618,10 @@
   3.709  <pre>
   3.710  $ tazpkg repack <em>paquet</em>
   3.711  </pre>
   3.712 +</article>
   3.713  
   3.714  
   3.715 -<h3 id="repack-config">repack-config</h3>
   3.716 +<article id="repack-config"><h3>repack-config</h3>
   3.717  
   3.718  <p>The <tt>repack-config</tt> command recreates a package of the system
   3.719  configuration files (see <tt><a href="#list-config">list-config</a></tt>). It is
   3.720 @@ -611,18 +630,20 @@
   3.721  <pre>
   3.722  # tazpkg repack-config
   3.723  </pre>
   3.724 +</article>
   3.725  
   3.726  
   3.727 -<h3 id="recompress">recompress</h3>
   3.728 +<article id="recompress"><h3>recompress</h3>
   3.729  
   3.730  <p>Recompress .tazpkg cpio archive with lzma.</p>
   3.731  
   3.732  <pre>
   3.733  $ tazpkg recompress <em>package.tazpkg</em>
   3.734  </pre>
   3.735 +</article>
   3.736  
   3.737  
   3.738 -<h3 id="convert">convert</h3>
   3.739 +<article id="convert"><h3>convert</h3>
   3.740  
   3.741  <p>Convertir un paquet en paquet Slitaz (.tazpkg) :</p>
   3.742  
   3.743 @@ -661,9 +682,10 @@
   3.744  <pre>
   3.745  # tazpkg convert <em>alien-paquet-file</em>
   3.746  </pre>
   3.747 +</article>
   3.748  
   3.749  
   3.750 -<h3 id="list-suggested">list-suggested</h3>
   3.751 +<article id="list-suggested"><h3>list-suggested</h3>
   3.752  
   3.753  <p>List suggested packages for each of your installed packages. With option
   3.754  <tt>--all</tt> it shows all suggested packages, and without option it shows only
   3.755 @@ -673,14 +695,16 @@
   3.756  $ tazpkg list-suggested
   3.757  $ tazpkg list-suggested --all
   3.758  </pre>
   3.759 +</article>
   3.760 +</section>
   3.761  
   3.762  
   3.763  
   3.764  
   3.765 -<h2>Working with repositories</h2>
   3.766 +<section><header>Working with repositories</header>
   3.767  
   3.768  
   3.769 -<h3 id="recharge">recharge</h3>
   3.770 +<article id="recharge"><h3>recharge</h3>
   3.771  
   3.772  <p>Recharge la liste des paquets disponibles sur le miroir. Cette commande va
   3.773  télécharger la plus récente liste des paquets installables depuis le miroir, à
   3.774 @@ -697,9 +721,10 @@
   3.775  # tazpkg recharge <em>My_Undigest</em>
   3.776  # tazpkg recharge --root=<em>/mnt/sda6</em>
   3.777  </pre>
   3.778 +</article>
   3.779  
   3.780  
   3.781 -<h3 id="upgrade">up ou upgrade</h3>
   3.782 +<article id="upgrade"><h3>up ou upgrade</h3>
   3.783  
   3.784  <p>La commande <tt>upgrade</tt> permet de mettre à jour tous les paquets
   3.785  installés et disponibles sur le miroir courant. La mise à jour des paquets est
   3.786 @@ -720,9 +745,10 @@
   3.787  # tazpkg up --recharge --install
   3.788  # tazpkg up -r -i
   3.789  </pre>
   3.790 +</article>
   3.791  
   3.792  
   3.793 -<h3 id="setup-mirror">setup-mirror</h3>
   3.794 +<article id="setup-mirror"><h3>setup-mirror</h3>
   3.795  
   3.796  <p>Configurer l'URL du miroir, la commande <tt>setup-mirror</tt> vous demandera
   3.797  alors l'URL du nouveau miroir. Vous pouvez spécifier plusieurs URLs en les
   3.798 @@ -733,9 +759,10 @@
   3.799  <pre>
   3.800  # tazpkg setup-mirror
   3.801  </pre>
   3.802 +</article>
   3.803  
   3.804  
   3.805 -<h3 id="add-undigest">add-undigest, setup-undigest</h3>
   3.806 +<article id="add-undigest"><h3>add-undigest, setup-undigest</h3>
   3.807  
   3.808  <p>Configurer l'URL d'un miroir complémentaire non officiel pour tester des
   3.809  paquets non encore présents sur les miroirs. A noter que vous pouvez aussi
   3.810 @@ -748,9 +775,10 @@
   3.811  # tazpkg add-undigest <em>public-repository http://my.home.org/slitaz</em>
   3.812  # tazpkg setup-undigest <em>local-repository /home/slitaz/packages</em>
   3.813  </pre>
   3.814 +</article>
   3.815  
   3.816  
   3.817 -<h3 id="list-undigest">list-undigest</h3>
   3.818 +<article id="list-undigest"><h3>list-undigest</h3>
   3.819  
   3.820  <p>Affiche les miroirs complémentaires.</p>
   3.821  
   3.822 @@ -758,25 +786,33 @@
   3.823  # tazpkg list-undigest
   3.824  # tazpkg list-undigest --box
   3.825  </pre>
   3.826 +</article>
   3.827  
   3.828  
   3.829 -<h3 id="remove-undigest">remove-undigest</h3>
   3.830 +<article id="remove-undigest"><h3>remove-undigest</h3>
   3.831  
   3.832  <p>Supprime l'URL un miroir complémentaire non officiel.</p>
   3.833  
   3.834  <pre>
   3.835  # tazpkg remove-undigest <em>my-repository</em>
   3.836  </pre>
   3.837 +</article>
   3.838 +</section>
   3.839  
   3.840  
   3.841  
   3.842  
   3.843 -<h2>MAINTENEUR</h2>
   3.844 +<section><header>Mainteneur</header>
   3.845  
   3.846  <p>Christophe Lincoln &lt;pankso at slitaz.org&gt;</p>
   3.847 +</section>
   3.848  
   3.849 -<!-- End content -->
   3.850 -</div>
   3.851 +
   3.852 +
   3.853 +
   3.854 +<footer>
   3.855 +	Copyright © 2015 <a href="http://www.slitaz.org/fr/">SliTaz GNU/Linux</a>
   3.856 +</footer>
   3.857  
   3.858  </body>
   3.859  </html>
     4.1 --- a/doc/tazpkg.pt.html	Sun Sep 06 12:48:04 2015 +0200
     4.2 +++ b/doc/tazpkg.pt.html	Mon Oct 05 03:53:47 2015 +0300
     4.3 @@ -1,11 +1,11 @@
     4.4  <!DOCTYPE html>
     4.5  <html lang="pt">
     4.6  <head>
     4.7 -	<meta charset="utf-8"/>
     4.8 -	<title>Manual TazPkg (pt)</title>
     4.9 -	<link rel="stylesheet" type="text/css" href="../slitaz-doc.css"/>
    4.10 -	<meta name="viewport" content="width=device-width,initial-scale=1"/>
    4.11 -	<script type="text/javascript" src="../slitaz-doc.js"></script>
    4.12 +	<meta charset="UTF-8">
    4.13 +	<title>Manual TazPkg</title>
    4.14 +	<meta name="viewport" content="width=device-width,initial-scale=1">
    4.15 +	<link rel="stylesheet" href="../slitaz-doc.css">
    4.16 +	<script src="../slitaz-doc.js"></script>
    4.17  </head>
    4.18  <body>
    4.19  
    4.20 @@ -13,158 +13,151 @@
    4.21  	<h1>Manual TazPkg</h1>
    4.22  </header>
    4.23  
    4.24 -<!-- Start content -->
    4.25 -<div id="content">
    4.26  
    4.27  
    4.28 -<h2>NOME</h2>
    4.29 +
    4.30 +<section><header>Nome</header>
    4.31  
    4.32  <p>TazPkg — Tiny autonomous zone package manager</p>
    4.33 +</section>
    4.34  
    4.35  
    4.36 -<h2>SINTAXE</h2>
    4.37 +
    4.38 +
    4.39 +<section><header>Sintaxe</header>
    4.40  
    4.41  <pre>
    4.42  tazpkg [command] [package|dir|pattern|list|cat|--opt] [dir|--opt]
    4.43  </pre>
    4.44 +</section>
    4.45  
    4.46  
    4.47 -<h2>DESCRIÇÃO</h2>
    4.48  
    4.49 -<p>TazPkg é um gerenciador de pacotes leve que instala, lista, baixa, atualiza
    4.50 -ou remove pacotes precompilados em um sistema GNU/Linux. TazPkg fornece comandos
    4.51 -para busca e criação de pacotes e foi criado independentemente. Os pacotes
    4.52 -usando a extensão *.tazpkg são constituidos de arquivos cpio que contém um
    4.53 -sistema de arquivos comprimido com o gzip, uma receita e uma descrição opcional.
    4.54 -O TazPkg também gerencia dependências baseado nas receitas de pacote: cada
    4.55 -receita contém todas as informações sobre um pacote e também pode incluir
    4.56 -funções de pré e pós-instalação. A mesma receita é usada pelo Cookutils para
    4.57 -compilar fontes e gerar um pacote .tazpkg.</p>
    4.58  
    4.59 -<p>O TazPkg é inteiramente construído a partir do zero usando SHell Script.
    4.60 -Compatível com o Bash, roda sobre o Ash — parte do projeto Busybox. O TazPkg é
    4.61 -distribuído sob a licença livre GNU GPL V3.</p>
    4.62 +<section><header>Descrição</header>
    4.63  
    4.64 +<p>TazPkg é um gerenciador de pacotes leve que instala, lista, baixa, atualiza ou remove pacotes
    4.65 +precompilados em um sistema GNU/Linux. TazPkg fornece comandos para busca e criação de pacotes e foi
    4.66 +criado independentemente. Os pacotes usando a extensão *.tazpkg são constituidos de arquivos cpio
    4.67 +que contém um sistema de arquivos comprimido com o lzma, uma receita e uma descrição opcional. O
    4.68 +TazPkg também gerencia dependências baseado nas receitas de pacote: cada receita contém todas as
    4.69 +informações sobre um pacote e também pode incluir funções de pré e pós-instalação. A mesma receita é
    4.70 +usada pelo <a href="../cookutils/cookutils.pt.html" target="_blank">Cookutils</a> para compilar
    4.71 +fontes e gerar um pacote .tazpkg.</p>
    4.72  
    4.73 -<h2>COMANDOS</h2>
    4.74 +<p>O TazPkg é inteiramente construído a partir do zero usando SHell Script. Compatível com o Bash,
    4.75 +roda sobre o Ash — parte do projeto Busybox. O TazPkg é distribuído sob a licença livre GNU GPL
    4.76 +V3.</p>
    4.77 +</section>
    4.78  
    4.79  
    4.80 -<h3>Service commands</h3>
    4.81 +
    4.82 +
    4.83 +<section><header>Comandos</header>
    4.84 +
    4.85 +
    4.86 +<article><header>Service commands</header>
    4.87  
    4.88  <ul>
    4.89  	<li><a href="#usage">usage</a>: mostra esta utilização</li>
    4.90  	<li><a href="#help">help</a>: show help on the TazPkg commands</li>
    4.91 -	<li><a href="#activity">activity</a>: mostra o log de atividade do
    4.92 -		TazPkg</li>
    4.93 -	<li><a href="#clean-cache">clean-cache</a>: limpa todos os pacotes baixados
    4.94 -		do diretório de cache</li>
    4.95 +	<li><a href="#activity">activity</a>: mostra o log de atividade do TazPkg</li>
    4.96 +	<li><a href="#clean-cache">clean-cache</a>: limpa todos os pacotes baixados do diretório de
    4.97 +		cache</li>
    4.98  	<li><a href="#shell">shell</a>: run interactive TazPkg shell</li>
    4.99  </ul>
   4.100 +</article>
   4.101  
   4.102  
   4.103 -<h3>Working with lists</h3>
   4.104 +<article><header>Working with lists</header>
   4.105  
   4.106  <ul>
   4.107  	<li><a href="#list">list</a>: lista pacotes instalados no sistema</li>
   4.108 -	<li><a href="#list-mirror">list-mirror</a>: lista os pacotes disponíveis no
   4.109 -		mirror</li>
   4.110 -	<li><a href="#list-config">list-config</a>: lista arquivos de
   4.111 -		configuração</li>
   4.112 +	<li><a href="#list-mirror">list-mirror</a>: lista os pacotes disponíveis no mirror</li>
   4.113 +	<li><a href="#list-config">list-config</a>: lista arquivos de configuração</li>
   4.114  </ul>
   4.115 +</article>
   4.116  
   4.117  
   4.118 -<h3>Busca</h3>
   4.119 +<article><header>Busca</header>
   4.120  
   4.121  <ul>
   4.122  	<li><a href="#search">search</a>: busca pacote por padrão ou nome</li>
   4.123 -	<li><a href="#search-pkgname">search-pkgname</a>: busca no mirror pacote que
   4.124 -		possui um arquivo em particular</li>
   4.125 -	<li><a href="#search-file">search-file</a>: busca por arquivo em todos os
   4.126 -		pacotes instalados</li>
   4.127 +	<li><a href="#search-pkgname">search-pkgname</a>: busca no mirror pacote que possui um arquivo
   4.128 +		em particular</li>
   4.129 +	<li><a href="#search-file">search-file</a>: busca por arquivo em todos os pacotes
   4.130 +		instalados</li>
   4.131  </ul>
   4.132 +</article>
   4.133  
   4.134  
   4.135 -<h3>Installing and removing packages</h3>
   4.136 +<article><header>Installing and removing packages</header>
   4.137  
   4.138  <ul>
   4.139  	<li><a href="#get">get</a>: baixa um pacote para o diretório atual</li>
   4.140  	<li><a href="#install">install</a>: instala um pacote local</li>
   4.141 -	<li><a href="#get-install">get-install</a>: baixa e instala um pacote a
   4.142 -		partir mirror</li>
   4.143 -	<li><a href="#install-list">install-list</a>: install all packages from a
   4.144 -		list of packages</li>
   4.145 -	<li><a href="#install-list">get-install-list</a>: baixa e instala uma lista
   4.146 -		de pacotes a partir mirror</li>
   4.147 -	<li><a href="#remove">remove</a>: remove o pacote especificado e todos os
   4.148 -		arquivos instalados</li>
   4.149 -	<li><a href="#reconfigure">reconfigure</a>: executa novamente funções de pós
   4.150 -		instalação do pacote</li>
   4.151 -	<li><a href="#link">link</a>: liga um pacote a partir de outra instalação do
   4.152 -		SliTaz</li>
   4.153 -	<li><a href="#set-release">set-release</a>: muda a versão de lançamento e
   4.154 -		atualiza pacotes</li>
   4.155 -	<li><a href="#add-flavor">add-flavor</a>: instala uma lista de pacotes de
   4.156 -		variantes</li>
   4.157 -	<li><a href="#add-flavor">install-flavor</a>: instala uma lista de pacotes
   4.158 -		de variantes e remove outros</li>
   4.159 +	<li><a href="#get-install">get-install</a>: baixa e instala um pacote a partir mirror</li>
   4.160 +	<li><a href="#install-list">install-list</a>: install all packages from a list of packages</li>
   4.161 +	<li><a href="#install-list">get-install-list</a>: baixa e instala uma lista de pacotes a partir
   4.162 +		mirror</li>
   4.163 +	<li><a href="#remove">remove</a>: remove o pacote especificado e todos os arquivos
   4.164 +		instalados</li>
   4.165 +	<li><a href="#reconfigure">reconfigure</a>: executa novamente funções de pós instalação do
   4.166 +		pacote</li>
   4.167 +	<li><a href="#link">link</a>: liga um pacote a partir de outra instalação do SliTaz</li>
   4.168 +	<li><a href="#set-release">set-release</a>: muda a versão de lançamento e atualiza pacotes</li>
   4.169 +	<li><a href="#add-flavor">add-flavor</a>: instala uma lista de pacotes de variantes</li>
   4.170 +	<li><a href="#add-flavor">install-flavor</a>: instala uma lista de pacotes de variantes e remove
   4.171 +		outros</li>
   4.172  </ul>
   4.173 +</article>
   4.174  
   4.175  
   4.176 -<h3>Working with packages</h3>
   4.177 +<article><header>Working with packages</header>
   4.178  
   4.179  <ul>
   4.180  	<li><a href="#info">info</a>: mostra informação sobre o pacote</li>
   4.181  	<li><a href="#desc">desc</a>: mostra a descrição do pacote</li>
   4.182 -	<li><a href="#list-files">list-files</a>: lista arquivos instalados pelo
   4.183 -		pacote</li>
   4.184 -	<li><a href="#block">block, unblock</a>: bloqueia pacote instalado ou
   4.185 -		desbloqueia para atualização</li>
   4.186 -	<li><a href="#check">check</a>: verifica a consistência de pacotes
   4.187 -		instalados</li>
   4.188 +	<li><a href="#list-files">list-files</a>: lista arquivos instalados pelo pacote</li>
   4.189 +	<li><a href="#block">block, unblock</a>: bloqueia pacote instalado ou desbloqueia para
   4.190 +		atualização</li>
   4.191 +	<li><a href="#check">check</a>: verifica a consistência de pacotes instalados</li>
   4.192  	<li><a href="#bugs">bugs</a>: mostra bugs conhecidos dos pacotes</li>
   4.193  	<li><a href="#depends">depends</a>: mostra árvore de dependências</li>
   4.194 -	<li><a href="#depends">rdepends</a>: mostra árvore de dependências
   4.195 -		reversa</li>
   4.196 -	<li><a href="#extract">extract</a>: extrai um pacote (*.tazpkg) em um
   4.197 -		diretório</li>
   4.198 -	<li><a href="#pack">pack</a>: empacota ou prerara uma árvore de diretórios
   4.199 -		para pacote</li>
   4.200 +	<li><a href="#depends">rdepends</a>: mostra árvore de dependências reversa</li>
   4.201 +	<li><a href="#extract">extract</a>: extrai um pacote (*.tazpkg) em um diretório</li>
   4.202 +	<li><a href="#pack">pack</a>: empacota ou prerara uma árvore de diretórios para pacote</li>
   4.203  	<li><a href="#repack">repack</a>: cria um arquivo de pacote instalado</li>
   4.204 -	<li><a href="#repack-config">repack-config</a>: cria um pacote dos arquivos
   4.205 -		de configuração</li>
   4.206 -	<li><a href="#recompress">recompress</a>: reconstrói um pacote com melhor
   4.207 -		compressão</li>
   4.208 +	<li><a href="#repack-config">repack-config</a>: cria um pacote dos arquivos de configuração</li>
   4.209 +	<li><a href="#recompress">recompress</a>: reconstrói um pacote com melhor compressão</li>
   4.210  	<li><a href="#convert">convert</a>: converte um pacote para tazpkg</li>
   4.211 -	<li><a href="#list-suggested">list-suggested</a>: print list of suggested
   4.212 -		packages</li>
   4.213 +	<li><a href="#list-suggested">list-suggested</a>: print list of suggested packages</li>
   4.214  </ul>
   4.215 +</article>
   4.216  
   4.217  
   4.218 -<h3>Working with repositories</h3>
   4.219 +<article><header>Working with repositories</header>
   4.220  
   4.221  <ul>
   4.222 -	<li><a href="#recharge">recharge</a>: recarrega o pacotes DB a partir do
   4.223 -		mirror</li>
   4.224 -	<li><a href="#upgrade">upgrade</a>: verifica o pacotes, listados e instala a
   4.225 -		última atualização</li>
   4.226 -	<li><a href="#setup-mirror">setup-mirror</a>: muda a configuração de URL do
   4.227 -		mirror</li>
   4.228 -	<li><a href="#add-undigest">setup-undigest</a>: atualiza um mirror
   4.229 -		undigest</li>
   4.230 +	<li><a href="#recharge">recharge</a>: recarrega o pacotes DB a partir do mirror</li>
   4.231 +	<li><a href="#upgrade">upgrade</a>: verifica o pacotes, listados e instala a última
   4.232 +		atualização</li>
   4.233 +	<li><a href="#setup-mirror">setup-mirror</a>: muda a configuração de URL do mirror</li>
   4.234 +	<li><a href="#add-undigest">setup-undigest</a>: atualiza um mirror undigest</li>
   4.235  	<li><a href="#list-undigest">list-undigest</a>: lista mirrors undigest</li>
   4.236 -	<li><a href="#add-undigest">add-undigest</a>: adiciona um mirror
   4.237 -		undigest</li>
   4.238 -	<li><a href="#remove-undigest">remove-undigest</a>: remove um mirror
   4.239 -		undigest</li>
   4.240 +	<li><a href="#add-undigest">add-undigest</a>: adiciona um mirror undigest</li>
   4.241 +	<li><a href="#remove-undigest">remove-undigest</a>: remove um mirror undigest</li>
   4.242  </ul>
   4.243 +</article>
   4.244 +</section>
   4.245  
   4.246  
   4.247  
   4.248  
   4.249 -<h2>Service commands</h2>
   4.250 +<section><header>Service commands</header>
   4.251  
   4.252  
   4.253 -<h3 id="usage">usage</h3>
   4.254 +<article id="usage"><h3>usage</h3>
   4.255  
   4.256  <p>Show the full list of the TazPkg commands with a brief description.</p>
   4.257  
   4.258 @@ -172,70 +165,72 @@
   4.259  $ tazpkg usage
   4.260  $ tazpkg
   4.261  </pre>
   4.262 +</article>
   4.263  
   4.264  
   4.265 -<h3 id="help">help</h3>
   4.266 +<article id="help"><h3>help</h3>
   4.267  
   4.268 -<p>Display help for the selected command (<tt>help</tt> or <tt>-h</tt>). You can
   4.269 -enter a short name of the command, the full name or a part of the full name. You
   4.270 -can ignore hyphens at the beginning of the short name. If the requested part of
   4.271 -the full name match the several commands, you will be asked to clarify the
   4.272 -request.</p>
   4.273 +<p>Display help for the selected command (<tt>help</tt> or <tt>-h</tt>). You can enter a short name
   4.274 +of the command, the full name or a part of the full name. You can ignore hyphens at the beginning of
   4.275 +the short name. If the requested part of the full name match the several commands, you will be asked
   4.276 +to clarify the request.</p>
   4.277  
   4.278  <pre>
   4.279  $ tazpkg help <em>-gi</em>
   4.280  $ tazpkg -h <em>us</em>
   4.281  </pre>
   4.282 +</article>
   4.283  
   4.284  
   4.285 -<h3 id="activity">activity</h3>
   4.286 +<article id="activity"><h3>activity</h3>
   4.287  
   4.288 -<p>Display TazPkg activity log (<tt>activity</tt> or <tt>log</tt> or
   4.289 -<tt>-a</tt>). Optional parameter <tt>--nb=</tt> lets you set number of displayed
   4.290 -lines.</p>
   4.291 +<p>Display TazPkg activity log (<tt>activity</tt> or <tt>log</tt> or <tt>-a</tt>). Optional
   4.292 +parameter <tt>--nb=</tt> lets you set number of displayed lines.</p>
   4.293  
   4.294  <pre>
   4.295  $ tazpkg activity
   4.296  $ tazpkg -a --nb=<em>20</em>
   4.297  </pre>
   4.298 +</article>
   4.299  
   4.300  
   4.301 -<h3 id="clean-cache">clean-cache</h3>
   4.302 +<article id="clean-cache"><h3>clean-cache</h3>
   4.303  
   4.304 -<p>Remove pacotes *.tazpkg baixados que se encontram no cache. Durante a
   4.305 -instalação, o TazPkg mantém uma cópia dos pacotes baixados da internet. Isto é
   4.306 -feito para economizar banda no caso de uma reinstalação, mas pode ser que você
   4.307 -queira ter mais espaço no disco rígido ou baixar os pacotes novamente:</p>
   4.308 +<p>Remove pacotes *.tazpkg baixados que se encontram no cache. Durante a instalação, o TazPkg mantém
   4.309 +uma cópia dos pacotes baixados da internet. Isto é feito para economizar banda no caso de uma
   4.310 +reinstalação, mas pode ser que você queira ter mais espaço no disco rígido ou baixar os pacotes
   4.311 +novamente:</p>
   4.312  
   4.313  <pre>
   4.314  # tazpkg clean-cache
   4.315  # tazpkg -cc
   4.316  </pre>
   4.317 +</article>
   4.318  
   4.319  
   4.320 -<h3 id="shell">shell</h3>
   4.321 +<article id="shell"><h3>shell</h3>
   4.322  
   4.323 -<p>Run interactive TazPkg shell. Here you can enter all the TazPkg commands
   4.324 -listed above.</p>
   4.325 +<p>Run interactive TazPkg shell. Here you can enter all the TazPkg commands listed above.</p>
   4.326  
   4.327  <pre>
   4.328  $ tazpkg shell
   4.329  # tazpkg shell
   4.330  </pre>
   4.331 +</article>
   4.332 +</section>
   4.333  
   4.334  
   4.335  
   4.336  
   4.337 -<h2>Working with lists</h2>
   4.338 +<section><header>Working with lists</header>
   4.339  
   4.340  
   4.341 -<h3 id="list">list</h3>
   4.342 +<article id="list"><h3>list</h3>
   4.343  
   4.344 -<p>Lista pacotes instalados no sistema. Este comando mostra uma lista em formato
   4.345 -de coluna com todos os pacotes instalados, e também permite listar categorias,
   4.346 -pacotes baseados em categorias e pacotes bloqueados para instalação. Você também
   4.347 -pode usar o comando <tt><a href="#search">search</a></tt> (buscar) para uma
   4.348 -lista baseada em um termo ou em um nome de pacote:</p>
   4.349 +<p>Lista pacotes instalados no sistema. Este comando mostra uma lista em formato de coluna com todos
   4.350 +os pacotes instalados, e também permite listar categorias, pacotes baseados em categorias e pacotes
   4.351 +bloqueados para instalação. Você também pode usar o comando <tt><a href="#search">search</a></tt>
   4.352 +(buscar) para uma lista baseada em um termo ou em um nome de pacote:</p>
   4.353  
   4.354  <pre>
   4.355  $ tazpkg list
   4.356 @@ -243,27 +238,28 @@
   4.357  $ tazpkg list <em>games</em>
   4.358  $ tazpkg list blocked
   4.359  </pre>
   4.360 +</article>
   4.361  
   4.362  
   4.363 -<h3 id="list-mirror">list-mirror</h3>
   4.364 +<article id="list-mirror"><h3>list-mirror</h3>
   4.365  
   4.366 -<p>Lista pacotes disponíveis no mirror. Este comando mostra o arquivo
   4.367 -<tt>packages-list</tt> recarregado a partir do mirror. Se este arquivo não
   4.368 -existir, será pedido a você que rode o comando <code>tazpkg <a
   4.369 -href="#recharge">recharge</a></code> como usuário root para listar os pacotes
   4.370 -disponíveis. A opção <tt>--diff</tt> é usada para mostrar as diferenças entre a
   4.371 -última e a atual lista de pacotes:</p>
   4.372 +<p>Lista pacotes disponíveis no mirror. Este comando mostra o arquivo <tt>packages-list</tt>
   4.373 +recarregado a partir do mirror. Se este arquivo não existir, será pedido a você que rode o comando
   4.374 +<code>tazpkg <a href="#recharge">recharge</a></code> como usuário root para listar os pacotes
   4.375 +disponíveis. A opção <tt>--diff</tt> é usada para mostrar as diferenças entre a última e a atual
   4.376 +lista de pacotes:</p>
   4.377  
   4.378  <pre>
   4.379  $ tazpkg list-mirror
   4.380  $ tazpkg -lm --diff
   4.381  </pre>
   4.382 +</article>
   4.383  
   4.384  
   4.385 -<h3 id="list-config">list-config</h3>
   4.386 +<article id="list-config"><h3>list-config</h3>
   4.387  
   4.388 -<p>Lista os arquivos de configuração do sistema. A opção <tt>--box</tt> mostra
   4.389 -estas informações em formato de tabela.</p>
   4.390 +<p>Lista os arquivos de configuração do sistema. A opção <tt>--box</tt> mostra estas informações em
   4.391 +formato de tabela.</p>
   4.392  
   4.393  <pre>
   4.394  $ tazpkg list-config
   4.395 @@ -271,75 +267,78 @@
   4.396  $ tazpkg list-config <em>slim</em>
   4.397  $ tazpkg list-config --box <em>slim</em>
   4.398  </pre>
   4.399 +</article>
   4.400 +</section>
   4.401  
   4.402  
   4.403  
   4.404  
   4.405 -<h2>Search</h2>
   4.406 +<section><header>Search</header>
   4.407  
   4.408  
   4.409 -<h3 id="search">search</h3>
   4.410 +<article id="search"><h3>search</h3>
   4.411  
   4.412 -<p>Busca por pacotes por proprietário ou nome do pacote. Este comando busca pelo
   4.413 -termo informado nos pacotes instalados e na lista de pacotes disponíveis no
   4.414 -mirror. Para obter a mais recente lista de pacotes disponíveis, rode
   4.415 -<code>tazkpg recharge</code> antes de iniciar uma busca:</p>
   4.416 +<p>Busca por pacotes por proprietário ou nome do pacote. Este comando busca pelo termo informado nos
   4.417 +pacotes instalados e na lista de pacotes disponíveis no mirror. Para obter a mais recente lista de
   4.418 +pacotes disponíveis, rode <code>tazkpg recharge</code> antes de iniciar uma busca:</p>
   4.419  
   4.420  <pre>
   4.421  $ tazpkg search <em>gcc</em>
   4.422  $ tazpkg search <em>mt</em> -i
   4.423  $ tazpkg search <em>bit</em> -l
   4.424  </pre>
   4.425 +</article>
   4.426  
   4.427  
   4.428 -<h3 id="search-pkgname">search-pkgname</h3>
   4.429 +<article id="search-pkgname"><h3>search-pkgname</h3>
   4.430  
   4.431 -<p>Search for a file on mirror and output only the packages names
   4.432 -(<tt>search-pkgname</tt> or <tt>-sp</tt>).</p>
   4.433 +<p>Search for a file on mirror and output only the packages names (<tt>search-pkgname</tt> or
   4.434 +<tt>-sp</tt>).</p>
   4.435  
   4.436  <pre>
   4.437  $ tazpkg search-pkgname <em>libnss</em>
   4.438  $ tazpkg -sp <em>/usr/share/fonts</em>
   4.439  </pre>
   4.440 +</article>
   4.441  
   4.442  
   4.443 -<h3 id="search-file">search-file</h3>
   4.444 +<article id="search-file"><h3>search-file</h3>
   4.445  
   4.446 -<p>O comando <tt>search-file</tt> permite a busca por um arquivo entre os
   4.447 -instalados pelos pacotes. Este comando é muito útil para achar o caminho
   4.448 -completo para um arquivo e determinar se um arquivo está presente no
   4.449 -sistema.</p>
   4.450 +<p>O comando <tt>search-file</tt> permite a busca por um arquivo entre os instalados pelos pacotes.
   4.451 +Este comando é muito útil para achar o caminho completo para um arquivo e determinar se um arquivo
   4.452 +está presente no sistema.</p>
   4.453  
   4.454  <pre>
   4.455  $ tazpkg search-file <em>libnss</em>
   4.456  $ tazpkg -sf <em>/usr/share/fonts</em> --mirror
   4.457  </pre>
   4.458 +</article>
   4.459 +</section>
   4.460  
   4.461  
   4.462  
   4.463  
   4.464 -<h2>Installing and removing packages</h2>
   4.465 +<section><header>Installing and removing packages</header>
   4.466  
   4.467  
   4.468 -<h3 id="get">get</h3>
   4.469 +<article id="get"><h3>get</h3>
   4.470  
   4.471 -<p>Baixa um pacote do mirror (se existir). O arquivo baixado é arquivado no
   4.472 -diretório atual. Para descobrir qual o diretório atual utilize o comando
   4.473 -<code>pwd</code>.</p>
   4.474 +<p>Baixa um pacote do mirror (se existir). O arquivo baixado é arquivado no diretório atual. Para
   4.475 +descobrir qual o diretório atual utilize o comando <code>pwd</code>.</p>
   4.476  
   4.477  <pre>
   4.478  # tazpkg get <em>grub</em>
   4.479  # tazpkg get <em>nano</em> --root=<em>/mnt/sda6</em>
   4.480  </pre>
   4.481 +</article>
   4.482  
   4.483  
   4.484 -<h3 id="install">install</h3>
   4.485 +<article id="install"><h3>install</h3>
   4.486  
   4.487 -<p>Este comando instala um pacote disponível localmente que possui a extensão
   4.488 -<tt>.tazpkg</tt>. Veja <tt>get-install</tt> para instalar pacotes disponíves na
   4.489 -internet. Note que você pode forçar a instalação com a opção <tt>--force</tt>.
   4.490 -Você também dispõe de opções para desinstalação e reinstalação ou para
   4.491 -especificar o sistema root no qual você deseja instalar o pacote com a opção
   4.492 +<p>Este comando instala um pacote disponível localmente que possui a extensão <tt>.tazpkg</tt>. Veja
   4.493 +<tt>get-install</tt> para instalar pacotes disponíves na internet. Note que você pode forçar a
   4.494 +instalação com a opção <tt>--force</tt>. Você também dispõe de opções para desinstalação e
   4.495 +reinstalação ou para especificar o sistema root no qual você deseja instalar o pacote com a opção
   4.496  <tt>--root=</tt>:</p>
   4.497  
   4.498  <pre>
   4.499 @@ -347,48 +346,50 @@
   4.500  # tazpkg -i <em>path/to/package-1.0.tazpkg</em> --forced
   4.501  # tazpkg -i <em>path/to/package-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em>
   4.502  </pre>
   4.503 +</article>
   4.504  
   4.505  
   4.506 -<h3 id="get-install">get-install</h3>
   4.507 +<article id="get-install"><h3>get-install</h3>
   4.508  
   4.509 -<p>Baixa e instala um pacote de um mirror na internet. O comando
   4.510 -<tt>get-install</tt> inicia checando se o pacote requerido existe no mirror e se
   4.511 -já foi baixado. Para uma lista de pacotes do mirror, usa-se o comando
   4.512 -<tt>list-mirror</tt>.</p>
   4.513 +<p>Baixa e instala um pacote de um mirror na internet. O comando <tt>get-install</tt> inicia
   4.514 +checando se o pacote requerido existe no mirror e se já foi baixado. Para uma lista de pacotes do
   4.515 +mirror, usa-se o comando <tt>list-mirror</tt>.</p>
   4.516  
   4.517  <pre>
   4.518  # tazpkg get-install <em>grub</em>
   4.519  # tazpkg -gi <em>grub</em> --forced
   4.520  # tazpkg -gi <em>nano</em> --root=<em>/mnt/sda6</em>
   4.521  </pre>
   4.522 +</article>
   4.523  
   4.524  
   4.525 -<h3 id="install-list">install-list, get-install-list</h3>
   4.526 +<article id="install-list"><h3>install-list, get-install-list</h3>
   4.527  
   4.528 -<p>Instala uma seleção de pacotes listados em um arquivo. Este comando permite a
   4.529 -você instalar vários pacotes com um único comando, e também oferece a opção
   4.530 -<tt>--forced</tt>:</p>
   4.531 +<p>Instala uma seleção de pacotes listados em um arquivo. Este comando permite a você instalar
   4.532 +vários pacotes com um único comando, e também oferece a opção <tt>--forced</tt>:</p>
   4.533  
   4.534  <pre>
   4.535  # tazpkg install-list <em>my-packages.list</em>
   4.536  # tazpkg get-install-list <em>my-packages.list</em> --forced
   4.537  </pre>
   4.538 +</article>
   4.539  
   4.540  
   4.541 -<h3 id="remove">remove</h3>
   4.542 +<article id="remove"><h3>remove</h3>
   4.543  
   4.544 -<p>Remove um pacote. Será pedido que você confirme a ação (y/N). Este comando
   4.545 -deleta todos os arquivos instalados pelo pacote. Para ver a lista de arquivos,
   4.546 -use o comando <tt>list-files</tt> seguido do nome do pacote.</p>
   4.547 +<p>Remove um pacote. Será pedido que você confirme a ação (y/N). Este comando deleta todos os
   4.548 +arquivos instalados pelo pacote. Para ver a lista de arquivos, use o comando <tt>list-files</tt>
   4.549 +seguido do nome do pacote.</p>
   4.550  
   4.551  <pre>
   4.552  # tazpkg remove <em>bc</em>
   4.553  # tazpkg -r <em>gtk+-3</em> --root=<em>/mnt/sda6</em>
   4.554  # tazpkg -r <em>nano</em> --auto
   4.555  </pre>
   4.556 +</article>
   4.557  
   4.558  
   4.559 -<h3 id="reconfigure">reconfigure</h3>
   4.560 +<article id="reconfigure"><h3>reconfigure</h3>
   4.561  
   4.562  <p>Executa novamente o script de pós instalação de um pacote.</p>
   4.563  
   4.564 @@ -396,86 +397,92 @@
   4.565  # tazpkg reconfigure <em>gcc</em>
   4.566  # tazpkg reconfigure <em>gcc</em> --root=<em>/mnt/sda6</em>
   4.567  </pre>
   4.568 +</article>
   4.569  
   4.570  
   4.571 -<h3 id="link">link</h3>
   4.572 +<article id="link"><h3>link</h3>
   4.573  
   4.574 -<p>Permite a instalação de um pacote a partir de uma mídia qualquer. A
   4.575 -configuração é feita criando links simbólicos e consome pouca memória.
   4.576 -Geralmente é usado em sistemas Live CD para instalar pacotes encontrados numa
   4.577 -mídia USB:</p>
   4.578 +<p>Permite a instalação de um pacote a partir de uma mídia qualquer. A configuração é feita criando
   4.579 +links simbólicos e consome pouca memória. Geralmente é usado em sistemas Live CD para instalar
   4.580 +pacotes encontrados numa mídia USB:</p>
   4.581  
   4.582  <pre>
   4.583  # tazpkg link <em>openoffice /media/usbdisk</em>
   4.584  </pre>
   4.585 +</article>
   4.586  
   4.587  
   4.588 -<h3 id="set-release">set-release</h3>
   4.589 +<article id="set-release"><h3>set-release</h3>
   4.590  
   4.591 -<p>Este comando muda a versão atual e faz a atualização de pacotes para o
   4.592 -lançamento mais recente:</p>
   4.593 +<p>Este comando muda a versão atual e faz a atualização de pacotes para o lançamento mais
   4.594 +recente:</p>
   4.595  
   4.596  <pre>
   4.597  # tazpkg set-release <em>cooking</em>
   4.598  </pre>
   4.599 +</article>
   4.600  
   4.601  
   4.602 -<h3 id="add-flavor">add-flavor, install-flavor</h3>
   4.603 +<article id="add-flavor"><h3>add-flavor, install-flavor</h3>
   4.604  
   4.605 -<p>Install a set of packages from a flavor. In addition, <tt>install-flavor</tt>
   4.606 -purges other installed packages.</p>
   4.607 +<p>Install a set of packages from a flavor. In addition, <tt>install-flavor</tt> purges other
   4.608 +installed packages.</p>
   4.609  
   4.610  <pre>
   4.611  # tazpkg add-flavor <em>gtkonly</em>
   4.612  # tazpkg install-flavor <em>justx</em>
   4.613  </pre>
   4.614 +</article>
   4.615 +</section>
   4.616  
   4.617  
   4.618  
   4.619  
   4.620 -<h2>Working with packages</h2>
   4.621 +<section><header>Working with packages</header>
   4.622  
   4.623  
   4.624 -<h3 id="info">info</h3>
   4.625 +<article id="info"><h3>info</h3>
   4.626  
   4.627 -<p>Mostra qualquer informação disponível na receita para o pacote em questão —
   4.628 -sua versão, categoria, mantenedor, website e quaisquer dependências (veja também
   4.629 -Cookutils para mais informações sobre receitas):</p>
   4.630 +<p>Mostra qualquer informação disponível na receita para o pacote em questão — sua versão,
   4.631 +categoria, mantenedor, website e quaisquer dependências (veja também <a
   4.632 +href="../cookutils/cookutils.pt.html" target="_blank">Cookutils</a> para mais informações sobre
   4.633 +receitas):</p>
   4.634  
   4.635  <pre>
   4.636  $ tazpkg info <em>busybox</em>
   4.637  </pre>
   4.638 +</article>
   4.639  
   4.640  
   4.641 -<h3 id="desc">desc</h3>
   4.642 +<article id="desc"><h3>desc</h3>
   4.643  
   4.644 -<p>Descrição do pacote (se existir). Este comando mostra o arquivo
   4.645 -<tt>description.txt</tt> de cada pacote (um arquivo de texto simples,
   4.646 -justificado em 80 caracteres para caber num terminal padrão).</p>
   4.647 +<p>Descrição do pacote (se existir). Este comando mostra o arquivo <tt>description.txt</tt> de cada
   4.648 +pacote (um arquivo de texto simples, justificado em 80 caracteres para caber num terminal
   4.649 +padrão).</p>
   4.650  
   4.651  <pre>
   4.652  $ tazpkg desc <em>busybox</em>
   4.653  </pre>
   4.654 +</article>
   4.655  
   4.656  
   4.657 -<h3 id="list-files">list-files</h3>
   4.658 +<article id="list-files"><h3>list-files</h3>
   4.659  
   4.660 -<p>Lista todos os arquivos instalados pelo pacote. Este comando lê e mostra o
   4.661 -conteúdo do arquivo <tt>files.list</tt> de cada pacote, o qual é automaticamente
   4.662 -gerado quando um pacote é criado e também é usado para remover arquivos quando
   4.663 -se desinstala um pacote.</p>
   4.664 +<p>Lista todos os arquivos instalados pelo pacote. Este comando lê e mostra o conteúdo do arquivo
   4.665 +<tt>files.list</tt> de cada pacote, o qual é automaticamente gerado quando um pacote é criado e
   4.666 +também é usado para remover arquivos quando se desinstala um pacote.</p>
   4.667  
   4.668  <pre>
   4.669  $ tazpkg list-files <em>bc</em>
   4.670  </pre>
   4.671 +</article>
   4.672  
   4.673  
   4.674 -<h3 id="block">block, unblock</h3>
   4.675 +<article id="block"><h3>block, unblock</h3>
   4.676  
   4.677 -<p>Os comandos <tt>block</tt> e <tt>unblock</tt> permitem o bloqueio de pacotes
   4.678 -instalados para que estes não possam ser atualizados com o comando
   4.679 -<tt>upgrade</tt>. A lista de pacotes bloqueados está contida no arquivo
   4.680 -<tt>/var/lib/tazpkg/blocked-packages.list</tt>, que também pode ser editado
   4.681 +<p>Os comandos <tt>block</tt> e <tt>unblock</tt> permitem o bloqueio de pacotes instalados para que
   4.682 +estes não possam ser atualizados com o comando <tt>upgrade</tt>. A lista de pacotes bloqueados está
   4.683 +contida no arquivo <tt>/var/lib/tazpkg/blocked-packages.list</tt>, que também pode ser editado
   4.684  manualmente.</p>
   4.685  
   4.686  <pre>
   4.687 @@ -483,13 +490,13 @@
   4.688  # tazpkg unblock <em>grub</em>
   4.689  # tazpkg chblock <em>grub</em>
   4.690  </pre>
   4.691 +</article>
   4.692  
   4.693  
   4.694 -<h3 id="check">check</h3>
   4.695 +<article id="check"><h3>check</h3>
   4.696  
   4.697 -<p>O comando <tt>check</tt> checa por dependências em pacotes instalados e
   4.698 -determina se todos os arquivos necessários para o re-empacotamento de um pacote
   4.699 -estão presentes.</p>
   4.700 +<p>O comando <tt>check</tt> checa por dependências em pacotes instalados e determina se todos os
   4.701 +arquivos necessários para o re-empacotamento de um pacote estão presentes.</p>
   4.702  
   4.703  <pre>
   4.704  $ tazpkg check
   4.705 @@ -497,9 +504,10 @@
   4.706  $ tazpkg check <em>nano</em>
   4.707  $ tazpkg check <em>sakura</em> --full
   4.708  </pre>
   4.709 +</article>
   4.710  
   4.711  
   4.712 -<h3 id="bugs">bugs</h3>
   4.713 +<article id="bugs"><h3>bugs</h3>
   4.714  
   4.715  <p>Mostra uma lista de bugs conhecidos dos pacotes.</p>
   4.716  
   4.717 @@ -507,9 +515,10 @@
   4.718  $ tazpkg bugs
   4.719  $ tazpkg bugs <em>my_package</em>
   4.720  </pre>
   4.721 +</article>
   4.722  
   4.723  
   4.724 -<h3 id="depends">depends, rdepends</h3>
   4.725 +<article id="depends"><h3>depends, rdepends</h3>
   4.726  
   4.727  <p>Mostra a árvore de dependências (direta ou inversamente) para um pacote.</p>
   4.728  
   4.729 @@ -517,127 +526,131 @@
   4.730  # tazpkg depends <em>mpd</em>
   4.731  # tazpkg rdepends <em>mpd</em>
   4.732  </pre>
   4.733 +</article>
   4.734  
   4.735  
   4.736 -<h3 id="extract">extract</h3>
   4.737 +<article id="extract"><h3>extract</h3>
   4.738  
   4.739 -<p>Extrai um pacote em um diretório. Se você não especificar o diretório de
   4.740 -destino, o pacote será extraido no diretório atual usando o formato nome do
   4.741 -<tt>pacote-versão</tt>.</p>
   4.742 +<p>Extrai um pacote em um diretório. Se você não especificar o diretório de destino, o pacote será
   4.743 +extraido no diretório atual usando o formato nome do <tt>pacote-versão</tt>.</p>
   4.744  
   4.745  <pre>
   4.746  $ tazpkg extract <em>pacote.tazpkg</em>
   4.747  $ tazpkg extract <em>pacote.tazpkg target/dir</em>
   4.748  </pre>
   4.749 +</article>
   4.750  
   4.751  
   4.752 -<h3 id="pack">pack</h3>
   4.753 +<article id="pack"><h3>pack</h3>
   4.754  
   4.755 -<p>O comando <tt>pack</tt> cria um pacote a partir de um diretório preparado
   4.756 -previamente ou a partir de um pacote extraido localmente. Pode também criar
   4.757 -manualmente um pacote .tazpkg (veja a documentação do Cookutils para a criação
   4.758 -automática de pacotes).</p>
   4.759 +<p>O comando <tt>pack</tt> cria um pacote a partir de um diretório preparado previamente ou a partir
   4.760 +de um pacote extraido localmente. Pode também criar manualmente um pacote .tazpkg (veja a
   4.761 +documentação do <a href="../cookutils/cookutils.pt.html" target="_blank">Cookutils</a> para a
   4.762 +criação automática de pacotes).</p>
   4.763  
   4.764  <pre>
   4.765  # tazpkg pack <em>pacote-versão</em>
   4.766  </pre>
   4.767 +</article>
   4.768  
   4.769  
   4.770 -<h3 id="repack">repack</h3>
   4.771 +<article id="repack"><h3>repack</h3>
   4.772  
   4.773 -<p>O comando <tt>repack</tt> permite a recriação de um pacote a partir dos
   4.774 -arquivos instalados no sistema em que este pacote foi instalado.</p>
   4.775 +<p>O comando <tt>repack</tt> permite a recriação de um pacote a partir dos arquivos instalados no
   4.776 +sistema em que este pacote foi instalado.</p>
   4.777  
   4.778  <pre>
   4.779  $ tazpkg repack <em>pacote</em>
   4.780  </pre>
   4.781 +</article>
   4.782  
   4.783  
   4.784 -<h3 id="repack-config">repack-config</h3>
   4.785 +<article id="repack-config"><h3>repack-config</h3>
   4.786  
   4.787 -<p>O comando <tt>repack-config</tt> recria um pacote a partir dos arquivos de
   4.788 -configuração do sistema (veja <tt><a href="#list-config">list-config</a></tt>).
   4.789 -É suficiente para instalar um pacote para encontrar a configuração atual.</p>
   4.790 +<p>O comando <tt>repack-config</tt> recria um pacote a partir dos arquivos de configuração do
   4.791 +sistema (veja <tt><a href="#list-config">list-config</a></tt>). É suficiente para instalar um pacote
   4.792 +para encontrar a configuração atual.</p>
   4.793  
   4.794  <pre>
   4.795  # tazpkg repack-config
   4.796  </pre>
   4.797 +</article>
   4.798  
   4.799  
   4.800 -<h3 id="recompress">recompress</h3>
   4.801 +<article id="recompress"><h3>recompress</h3>
   4.802  
   4.803  <p>Recompress .tazpkg cpio archive with lzma.</p>
   4.804  
   4.805  <pre>
   4.806  $ tazpkg recompress <em>package.tazpkg</em>
   4.807  </pre>
   4.808 +</article>
   4.809  
   4.810  
   4.811 -<h3 id="convert">convert</h3>
   4.812 +<article id="convert"><h3>convert</h3>
   4.813  
   4.814  <p>Converte pacotes em pacotes .tazpkg (SliTaz).</p>
   4.815  
   4.816  <p>Supported packages formats:</p>
   4.817  
   4.818  <ul>
   4.819 -	<li><a href="https://packages.debian.org/search" target="_blank">pacotes
   4.820 -		Debian</a> (<tt>*.deb</tt>, <tt>*.udeb</tt>)</li>
   4.821 -	<li><a href="http://rpmfind.net/linux/rpm2html/search.php"
   4.822 -		target="_blank">pacotes RPM</a> (<tt>*.rpm</tt>)</li>
   4.823 -	<li><a href="http://www.slax.org/" target="_blank">pacotes Slax</a>
   4.824 -		(<tt>*.sb</tt>)</li>
   4.825 -	<li><a href="http://puppylinux.org/" target="_blank">pacotes Puppy</a>
   4.826 -		(<tt>*.sfs</tt>, <tt>*.pet</tt>)</li>
   4.827 -	<li><a href="http://www.slackware.com/packages/" target="_blank">pacotes
   4.828 -		Slackware</a> (<tt>*.tgz</tt>)</li>
   4.829 +	<li><a href="https://packages.debian.org/search" target="_blank">pacotes Debian</a>
   4.830 +		(<tt>*.deb</tt>, <tt>*.udeb</tt>)</li>
   4.831 +	<li><a href="http://rpmfind.net/linux/rpm2html/search.php" target="_blank">pacotes RPM</a>
   4.832 +		(<tt>*.rpm</tt>)</li>
   4.833 +	<li><a href="http://www.slax.org/" target="_blank">pacotes Slax</a> (<tt>*.sb</tt>)</li>
   4.834 +	<li><a href="http://puppylinux.org/" target="_blank">pacotes Puppy</a> (<tt>*.sfs</tt>,
   4.835 +		<tt>*.pet</tt>)</li>
   4.836 +	<li><a href="http://www.slackware.com/packages/" target="_blank">pacotes Slackware</a>
   4.837 +		(<tt>*.tgz</tt>)</li>
   4.838  	<li><a href="http://www.nutyx.org/" target="_blank">pacotes NuTyX</a>
   4.839  		(<tt>*.cards.tar.xz</tt>)</li>
   4.840 -	<li><a href="https://www.archlinux.org/packages/" target="_blank">pacotes
   4.841 -		Arch Linux</a> / <a href="http://pkgs.alpinelinux.org/packages"
   4.842 -		target="_blank">Alpine Linux</a> (<tt>*.apk</tt>, <tt>*.pkg.tar.gz</tt>,
   4.843 -		<tt>*.pkg.tar.xz</tt>)</li>
   4.844 -	<li><a href="http://wiki.openwrt.org/doc/packages" target="_blank">pacotes
   4.845 -		OpenWrt</a> (<tt>*.ipk</tt>, <tt>*.opk</tt>)</li>
   4.846 -	<li><a href="http://0.tuxfamily.org/doku.php/paquets/start"
   4.847 -		target="_blank">pacotes 0Linux</a> (<tt>*.spack</tt>)</li>
   4.848 -	<li><a href="http://www.paldo.org/index-section-packages.html"
   4.849 -		target="_blank">pacotes paldo</a> (<tt>*.tar.bz2</tt>)</li>
   4.850 -	<li><a href="http://www.voidlinux.eu/packages/" target="_blank">pacotes
   4.851 -		Void</a> (<tt>*.xbps</tt>)</li>
   4.852 -	<li><a href="http://tinycorelinux.net/" target="_blank">pacotes Tinycore</a>
   4.853 -		(<tt>*.tce</tt>, <tt>*.tcel</tt>, <tt>*.tcem</tt>, <tt>*.tcz</tt>)</li>
   4.854 +	<li><a href="https://www.archlinux.org/packages/" target="_blank">pacotes Arch Linux</a> / <a
   4.855 +		href="http://pkgs.alpinelinux.org/packages" target="_blank">Alpine Linux</a>
   4.856 +		(<tt>*.apk</tt>, <tt>*.pkg.tar.gz</tt>, <tt>*.pkg.tar.xz</tt>)</li>
   4.857 +	<li><a href="http://wiki.openwrt.org/doc/packages" target="_blank">pacotes OpenWrt</a>
   4.858 +		(<tt>*.ipk</tt>, <tt>*.opk</tt>)</li>
   4.859 +	<li><a href="http://0.tuxfamily.org/doku.php/paquets/start" target="_blank">pacotes 0Linux</a>
   4.860 +		(<tt>*.spack</tt>)</li>
   4.861 +	<li><a href="http://www.paldo.org/index-section-packages.html" target="_blank">pacotes paldo</a>
   4.862 +		(<tt>*.tar.bz2</tt>)</li>
   4.863 +	<li><a href="http://www.voidlinux.eu/packages/" target="_blank">pacotes Void</a>
   4.864 +		(<tt>*.xbps</tt>)</li>
   4.865 +	<li><a href="http://tinycorelinux.net/" target="_blank">pacotes Tinycore</a> (<tt>*.tce</tt>,
   4.866 +		<tt>*.tcel</tt>, <tt>*.tcem</tt>, <tt>*.tcz</tt>)</li>
   4.867  </ul>
   4.868  
   4.869  <pre>
   4.870  # tazpkg convert <em>alien-pacote-file</em>
   4.871  </pre>
   4.872 +</article>
   4.873  
   4.874  
   4.875 -<h3 id="list-suggested">list-suggested</h3>
   4.876 +<article id="list-suggested"><h3>list-suggested</h3>
   4.877  
   4.878 -<p>List suggested packages for each of your installed packages. With option
   4.879 -<tt>--all</tt> it shows all suggested packages, and without option it shows only
   4.880 -not installed suggested packages.</p>
   4.881 +<p>List suggested packages for each of your installed packages. With option <tt>--all</tt> it shows
   4.882 +all suggested packages, and without option it shows only not installed suggested packages.</p>
   4.883  
   4.884  <pre>
   4.885  $ tazpkg list-suggested
   4.886  $ tazpkg list-suggested --all
   4.887  </pre>
   4.888 +</article>
   4.889 +</section>
   4.890  
   4.891  
   4.892  
   4.893  
   4.894 -<h2>Working with repositories</h2>
   4.895 +<section><header>Working with repositories</header>
   4.896  
   4.897  
   4.898 -<h3 id="recharge">recharge</h3>
   4.899 +<article id="recharge"><h3>recharge</h3>
   4.900  
   4.901 -<p>Recarrega a lista de pacotes disponíves no mirror. Este comando baixa o
   4.902 -arquivo <tt>packages.list</tt> (lista de pacotes instaláveis) mais recente e
   4.903 -salva a antiga. Uma vez que a lista está atualizada, você pode usar os comandos
   4.904 -<tt>list</tt> e <tt>search</tt>. Para ver uma relação com as diferenças entre a
   4.905 -lista atual e a antiga, use o comando <tt>list-mirror --diff</tt> e para ver e
   4.906 -atualizar pacotes, use o comando <tt>upgrade</tt>.</p>
   4.907 +<p>Recarrega a lista de pacotes disponíves no mirror. Este comando baixa o arquivo
   4.908 +<tt>packages.list</tt> (lista de pacotes instaláveis) mais recente e salva a antiga. Uma vez que a
   4.909 +lista está atualizada, você pode usar os comandos <tt>list</tt> e <tt>search</tt>. Para ver uma
   4.910 +relação com as diferenças entre a lista atual e a antiga, use o comando <tt>list-mirror --diff</tt>
   4.911 +e para ver e atualizar pacotes, use o comando <tt>upgrade</tt>.</p>
   4.912  
   4.913  <pre>
   4.914  # tazpkg recharge
   4.915 @@ -645,54 +658,55 @@
   4.916  # tazpkg recharge <em>My_Undigest</em>
   4.917  # tazpkg recharge --root=<em>/mnt/sda6</em>
   4.918  </pre>
   4.919 +</article>
   4.920  
   4.921  
   4.922 -<h3 id="upgrade">up ou upgrade</h3>
   4.923 +<article id="upgrade"><h3>up ou upgrade</h3>
   4.924  
   4.925 -<p>O comando <tt>upgrade</tt> permite a atualização de todos os pacotes
   4.926 -disponíveis no mirror. Atualizar pacotes é uma parte importante da manutenção da
   4.927 -segurança do sistema, permitindo o acesso às últimas atualizações e correções. O
   4.928 -projeto SliTaz, embora leve, fornece atualizações de segurança regulares e
   4.929 -geralmente oferece as últimas versões dos programas. Note que esta função é
   4.930 -direcionada àquelas pessoas que possuem o SliTaz instalado no seu disco rígido.
   4.931 -Pacotes atualizados a partir do Live CD serão perdidos no desligamento do
   4.932 -sistema. Para atualizar ou mostrar as opções para o comando:</p>
   4.933 +<p>O comando <tt>upgrade</tt> permite a atualização de todos os pacotes disponíveis no mirror.
   4.934 +Atualizar pacotes é uma parte importante da manutenção da segurança do sistema, permitindo o acesso
   4.935 +às últimas atualizações e correções. O projeto SliTaz, embora leve, fornece atualizações de
   4.936 +segurança regulares e geralmente oferece as últimas versões dos programas. Note que esta função é
   4.937 +direcionada àquelas pessoas que possuem o SliTaz instalado no seu disco rígido. Pacotes atualizados
   4.938 +a partir do Live CD serão perdidos no desligamento do sistema. Para atualizar ou mostrar as opções
   4.939 +para o comando:</p>
   4.940  
   4.941  <pre>
   4.942  # tazpkg upgrade
   4.943  # tazpkg up --recharge --install
   4.944  # tazpkg up -r -i
   4.945  </pre>
   4.946 +</article>
   4.947  
   4.948  
   4.949 -<h3 id="setup-mirror">setup-mirror</h3>
   4.950 +<article id="setup-mirror"><h3>setup-mirror</h3>
   4.951  
   4.952 -<p>Configura a URL do mirror. O comando <tt>setup-mirror</tt> pedirá a URL do
   4.953 -novo mirror. Você pode especificar várias URLs separadas por espaços. Note que
   4.954 -você também pode modificar manualmente o arquivo
   4.955 -<tt>/var/lib/tazpkg/mirror</tt>. A URL deve apontar para um diretório contendo
   4.956 -um arquivo <tt>packages.list</tt> e os pacotes.</p>
   4.957 +<p>Configura a URL do mirror. O comando <tt>setup-mirror</tt> pedirá a URL do novo mirror. Você pode
   4.958 +especificar várias URLs separadas por espaços. Note que você também pode modificar manualmente o
   4.959 +arquivo <tt>/var/lib/tazpkg/mirror</tt>. A URL deve apontar para um diretório contendo um arquivo
   4.960 +<tt>packages.list</tt> e os pacotes.</p>
   4.961  
   4.962  <pre>
   4.963  # tazpkg setup-mirror
   4.964  </pre>
   4.965 +</article>
   4.966  
   4.967  
   4.968 -<h3 id="add-undigest">add-undigest ou setup-undigest</h3>
   4.969 +<article id="add-undigest"><h3>add-undigest ou setup-undigest</h3>
   4.970  
   4.971 -<p>Define a URL de um mirror não oficial para testar ou usar pacotes que não
   4.972 -estão disponíveis no mirror oficial (chamados 'undigest'). Note que em vez de
   4.973 -rodar este comando você pode editar diretamente o arquivo
   4.974 -<tt>/var/lib/tazpkg/undigest/<em>repositorio</em></tt>. A URL deve apontar para
   4.975 -um diretório na web que contenha um arquivo <tt>packages.list</tt>:</p>
   4.976 +<p>Define a URL de um mirror não oficial para testar ou usar pacotes que não estão disponíveis no
   4.977 +mirror oficial (chamados 'undigest'). Note que em vez de rodar este comando você pode editar
   4.978 +diretamente o arquivo <tt>/var/lib/tazpkg/undigest/<em>repositorio</em></tt>. A URL deve apontar
   4.979 +para um diretório na web que contenha um arquivo <tt>packages.list</tt>:</p>
   4.980  
   4.981  <pre>
   4.982  # tazpkg add-undigest <em>public-repository http://my.home.org/slitaz</em>
   4.983  # tazpkg setup-undigest <em>local-repository /home/slitaz/packages</em>
   4.984  </pre>
   4.985 +</article>
   4.986  
   4.987  
   4.988 -<h3 id="list-undigest">list-undigest</h3>
   4.989 +<article id="list-undigest"><h3>list-undigest</h3>
   4.990  
   4.991  <p>Lista os mirrors undigest adicionados.</p>
   4.992  
   4.993 @@ -700,25 +714,33 @@
   4.994  # tazpkg list-undigest
   4.995  # tazpkg list-undigest --box
   4.996  </pre>
   4.997 +</article>
   4.998  
   4.999  
  4.1000 -<h3 id="remove-undigest">remove-undigest</h3>
  4.1001 +<article id="remove-undigest"><h3>remove-undigest</h3>
  4.1002  
  4.1003  <p>Remove a URL de um mirror undigest.</p>
  4.1004  
  4.1005  <pre>
  4.1006  # tazpkg remove-undigest <em>my-repository</em>
  4.1007  </pre>
  4.1008 +</article>
  4.1009 +</section>
  4.1010  
  4.1011  
  4.1012  
  4.1013  
  4.1014 -<h2>MANTENEDOR</h2>
  4.1015 +<section><header>MANTENEDOR</header>
  4.1016  
  4.1017  <p>Christophe Lincoln &lt;pankso at slitaz.org&gt;</p>
  4.1018 +</section>
  4.1019  
  4.1020 -<!-- End content -->
  4.1021 -</div>
  4.1022 +
  4.1023 +
  4.1024 +
  4.1025 +<footer>
  4.1026 +	Copyright © 2015 <a href="http://www.slitaz.org/pt/">SliTaz GNU/Linux</a>
  4.1027 +</footer>
  4.1028  
  4.1029  </body>
  4.1030  </html>
     5.1 --- a/doc/tazpkg.ru.html	Sun Sep 06 12:48:04 2015 +0200
     5.2 +++ b/doc/tazpkg.ru.html	Mon Oct 05 03:53:47 2015 +0300
     5.3 @@ -1,11 +1,11 @@
     5.4  <!DOCTYPE html>
     5.5  <html lang="ru">
     5.6  <head>
     5.7 -	<meta charset="utf-8" />
     5.8 +	<meta charset="UTF-8">
     5.9  	<title>Руководство TazPkg</title>
    5.10 -	<meta name="viewport" content="width=device-width,initial-scale=1"/>
    5.11 -	<link rel="stylesheet" type="text/css" href="../slitaz-doc.css" />
    5.12 -	<script type="text/javascript" src="../slitaz-doc.js"></script>
    5.13 +	<meta name="viewport" content="width=device-width,initial-scale=1">
    5.14 +	<link rel="stylesheet" href="../slitaz-doc.css">
    5.15 +	<script src="../slitaz-doc.js"></script>
    5.16  </head>
    5.17  <body>
    5.18  
    5.19 @@ -13,38 +13,43 @@
    5.20  	<h1>Руководство TazPkg</h1>
    5.21  </header>
    5.22  
    5.23 -<!-- Start content -->
    5.24 -<div id="content">
    5.25  
    5.26 -
    5.27 -<h2>Название</h2>
    5.28 +<section>
    5.29 +<header>Название</header>
    5.30  
    5.31  <p>TazPkg — менеджер пакетов в системе SliTaz GNU/Linux.</p>
    5.32 +</section>
    5.33  
    5.34  
    5.35 -<h2>Синтаксис</h2>
    5.36 +<section>
    5.37 +<header>Синтаксис</header>
    5.38  
    5.39  <pre>
    5.40  tazpkg [команда] [параметры...]
    5.41  </pre>
    5.42 +</section>
    5.43  
    5.44  
    5.45 -<h2>Описание</h2>
    5.46 +<section>
    5.47 +<header>Описание</header>
    5.48  
    5.49  <p>TazPkg — это легковесный менеджер пакетов, позволяющий устанавливать, выдавать списки, загружать,
    5.50  обновлять и удалять бинарные пакеты в системе GNU/Linux. TazPkg предоставляет команды для поиска
    5.51  и создания пакетов, он был создан независимо для проекта. Пакеты с расширением *.tazpkg — это архивы
    5.52 -CPIO, содержащие сжатую при помощи GZip файловую систему, рецепт и дополнительное описание. TazPkg
    5.53 +CPIO, содержащие сжатую при помощи LZMA файловую систему, рецепт и дополнительное описание. TazPkg
    5.54  также управляет зависимостями на основе рецептов, находящихся в пакетах. Каждый рецепт содержит
    5.55  полную информацию о пакете, а также может содержать пре- и пост-установочные функции. Тот же самый
    5.56 -рецепт использует Cookutils для компиляции исходников и создания пакетов <tt>.tazpkg</tt>.</p>
    5.57 +рецепт использует <a href="../cookutils/cookutils.ru.html" target="_blank">Cookutils</a> для
    5.58 +компиляции исходников и создания пакетов <tt>.tazpkg</tt>.</p>
    5.59  
    5.60  <p>TazPkg разработан полностью с нуля, он написан на скрипте, совместимом с Bash. TazPkg работает
    5.61  под управлением Ash, который входит в состав проекта BusyBox. TazPkg распространяется под свободной
    5.62  лицензией GNU GPL v3.</p>
    5.63 +</section>
    5.64  
    5.65  
    5.66 -<h2>Окружение</h2>
    5.67 +<section>
    5.68 +<header>Окружение</header>
    5.69  
    5.70  <p>TazPkg использует некоторые переменные окружения:</p>
    5.71  
    5.72 @@ -53,16 +58,19 @@
    5.73  		внимание, переменные окружения <tt>LANG</tt> и <tt>LC_ALL</tt> также оказывают влияние на
    5.74  		язык вывода</x-details></li>
    5.75  	<li><tt>LC_TIME</tt>: определяет формат даты в команде <a href="#activity">activity</a></li>
    5.76 -	<!-- li><tt>TAZPKG_ROOT</tt>: если определено, то указывает на корень файловой системы, в которой
    5.77 +	<li><tt>root</tt>: если определено, то указывает на корень файловой системы, в которой
    5.78  		должен работать TazPkg. Имейте в виду, значение, указанное при помощи параметра
    5.79 -		<tt>--root=</tt> имеет приоритет над этой переменной окружения</li -->
    5.80 +		<tt>--root=</tt> имеет приоритет над этой переменной окружения</li>
    5.81  </ul>
    5.82 +</section>
    5.83  
    5.84  
    5.85 -<h2>Файлы</h2>
    5.86 +<section>
    5.87 +<header>Файлы</header>
    5.88  
    5.89  
    5.90 -<h3>Конфигурационные файлы</h3>
    5.91 +<article>
    5.92 +<header>Конфигурационные файлы</header>
    5.93  
    5.94  <ul>
    5.95  	<li><tt><a href="file:///etc/slitaz/slitaz.conf"
    5.96 @@ -70,22 +78,25 @@
    5.97  	<li><tt><a href="file:///etc/slitaz/tazpkg.conf"
    5.98  		target="_blank">/etc/slitaz/tazpkg.conf</a></tt></li>
    5.99  </ul>
   5.100 +</article>
   5.101  
   5.102  
   5.103 -<h3>Файлы базы данных пакетов</h3>
   5.104 +<article>
   5.105 +<header>Файлы базы данных пакетов</header>
   5.106  
   5.107  <p>База данных пакетов по умолчанию располагается в папке <tt>/var/lib/tazpkg</tt>.</p>
   5.108  
   5.109  <ul>
   5.110  	<li><tt><a href="file:///var/lib/tazpkg/ID" target="_blank">ID</a></tt> (устарел): идентификатор
   5.111 -		текущего состояния репозитория SliTaz. <x-details>Значение изменяется, когда новые или
   5.112 -		обновленные пакеты появляются в репозитории.</x-details></li>
   5.113 +		текущего состояния репозитория SliTaz.
   5.114 +		<x-details>Значение изменяется, когда новые или обновленные пакеты появляются
   5.115 +		в репозитории.</x-details></li>
   5.116  	<li><tt><a href="file:///var/lib/tazpkg/IDs" target="_blank">IDs</a></tt>: идентификатор
   5.117 -		текущего состояния репозитория SliTaz и отпечаток времени UNIX. <x-details>Значение
   5.118 -		идентификатора изменяется, когда новые или обновленные пакеты появляются в репозитории.
   5.119 -		Отпечаток времени позволяет отследить как давно были внесены изменения в репозиторий,
   5.120 -		а также позволяет отследить степень «свежести» зеркал репозитория. (Перевести отпечаток
   5.121 -		времени UNIX в дату: <code>date -d@<em>timestamp</em></code>)</x-details></li>
   5.122 +		текущего состояния репозитория SliTaz и отпечаток времени UNIX.
   5.123 +		<x-details>Значение идентификатора изменяется, когда новые или обновленные пакеты появляются
   5.124 +		в репозитории. Отпечаток времени позволяет отследить как давно были внесены изменения
   5.125 +		в репозиторий, а также позволяет отследить степень «свежести» зеркал репозитория. (Перевести
   5.126 +		отпечаток времени UNIX в дату: <code>date -d@<em>timestamp</em></code>)</x-details></li>
   5.127  	<li><tt><a href="file:///var/lib/tazpkg/mirror" target="_blank">mirror</a></tt>: URL текущего
   5.128  		используемого зеркала репозитория.
   5.129  		<x-details>URL указывает на удаленную папку, содержащую пакеты и файлы базы данных
   5.130 @@ -112,8 +123,8 @@
   5.131  		Разработка продолжается, поэтому список может быть дополнен прочими полями при
   5.132  		необходимости.</x-details></li>
   5.133  	<li><tt><a href="file:///var/lib/tazpkg/packages.equiv" target="_blank">packages.equiv</a></tt>:
   5.134 -		список равнозначных пакетов, доступных в репозитории. <x-details>Формат элемента списка:
   5.135 -		<tt><em>пакет</em>=<em>правило правило…</em></tt>.<br>
   5.136 +		список равнозначных пакетов, доступных в репозитории.
   5.137 +		<x-details>Формат элемента списка: <tt><em>пакет</em>=<em>правило правило…</em></tt>.<br>
   5.138  		Формат правила: <tt><em>альтернатива:новое_имя</em></tt> — если
   5.139  		<tt><em>альтернатива</em></tt> установлена, тогда будет установлен пакет под названием
   5.140  		<tt><em>новое_имя</em></tt> вместо <tt><em>пакет</em>а</tt>.<br>
   5.141 @@ -128,20 +139,23 @@
   5.142  		список создается при выполнении команды <tt><a href="#upgrade">upgrade</a></tt>.
   5.143  		<x-details>Список содержит названия пакетов, которые вы сможете обновить.</x-details></li>
   5.144  	<li><tt><a href="file:///var/lib/tazpkg/descriptions.txt"
   5.145 -		target="_blank">descriptions.txt</a></tt>: список «длинных» описаний всех пакетов, доступных
   5.146 -		в репозитории.</li>
   5.147 +		target="_blank">descriptions.txt</a></tt>: список «длинных» описаний всех пакетов,
   5.148 +		доступных в репозитории.</li>
   5.149  	<li><tt>packages-desc.<em>язык</em></tt> — необязательный список переведенных кратких описаний
   5.150 -		пакетов <x-details>(см. пакет tazpkg-desc-ru)</x-details>.</li>
   5.151 -	<li><tt>descriptions.<em>язык</em>.txt</tt> — необязательный список «длинных» описаний пакетов
   5.152 +		пакетов
   5.153 +		<x-details>(см. пакет tazpkg-desc-ru)</x-details>.</li>
   5.154 +	<li><tt>descriptions.<em>язык</em>.txt</tt> — необязательный список «длинных» описаний
   5.155 +		пакетов
   5.156  		<x-details>(см. пакет tazpkg-desc-ru)</x-details>.</li>
   5.157  	<li><tt>packages.icons</tt> — необязательный список значков пакетов для TazPanel.</li>
   5.158  	<li><tt><a href="file:///var/lib/tazpkg/blocked-packages.list"
   5.159  		target="_blank">blocked-packages.list</a></tt>: необязательный список пакетов,
   5.160  		заблокированных от обновления.</li>
   5.161  	<li><tt><a href="file:///var/lib/tazpkg/extra.list" target="_blank">extra.list</a></tt>: список
   5.162 -		экстра-пакетов <x-details>(несвободные пакеты; свободные пакеты, но не скомпилированные из
   5.163 -		исходников). Список содержит название пакета, короткое описание, URL разработчиков,
   5.164 -		категорию, версию, лицензию.</x-details></li>
   5.165 +		экстра-пакетов
   5.166 +		<x-details>(несвободные пакеты; свободные пакеты, но не скомпилированные из исходников).
   5.167 +		Список содержит название пакета, короткое описание, URL разработчиков, категорию, версию,
   5.168 +		лицензию.</x-details></li>
   5.169  	<li><tt>files.list.lzma</tt>: очень большой сжатый список, который содержит названия всех файлов
   5.170  		всех пакетов, доступных в репозитории <x-details>(сейчас это — около 5 тыс. пакетов и около
   5.171  		0,7 млн. файлов)</x-details>.</li>
   5.172 @@ -153,6 +167,12 @@
   5.173  	<li><tt><a href="file:///var/lib/tazpkg/installed.md5" target="_blank">installed.md5</a></tt>
   5.174  		(устарел): список, содержащий контрольные суммы MD5 с названиями файлов для всех
   5.175  		установленных пакетов.</li>
   5.176 +	<li><tt><a href="file:///var/lib/tazpkg/priority" target="_blank">priority</a></tt>:
   5.177 +		необязательный список приоритета репозиториев.
   5.178 +		<x-details>По одному репозиторию на строке. Для неофициальных репозиториев укажите их имя, а
   5.179 +		для главного репозитория укажите «main». В случае отсутствия списка приоритетов, по
   5.180 +		умолчанию принимается следующий порядок: главный репозиторий, а затем все имеющиеся
   5.181 +		неофициальные репозитории в алфавитном порядке.</x-details></li>
   5.182  </ul>
   5.183  
   5.184  <p>Все устаревшие файлы будут удалены как только мы убедимся, что ни одна программа их более не
   5.185 @@ -175,17 +195,21 @@
   5.186  	<li><tt>volatile.cpio.gz</tt> (необязательный) — архив «официальных» конфигурационных
   5.187  		файлов</li>
   5.188  </ul>
   5.189 +</article>
   5.190  
   5.191  
   5.192 -<h3>Кеш</h3>
   5.193 +<article>
   5.194 +<header>Кеш</header>
   5.195  
   5.196  <p>Кеш пакетов по умолчанию располагается в папке <tt>/var/cache/tazpkg</tt> с подпапками для разных
   5.197  репозиториев. <x-details>Если быть точным, то используется папка
   5.198  <tt>/var/cache/tazpkg/<em>cooking</em>/packages</tt> для версий SliTaz, основанных на
   5.199  <tt><em>cooking</em></tt>.</x-details></p>
   5.200 +</article>
   5.201  
   5.202  
   5.203 -<h3>Прочие файлы</h3>
   5.204 +<article>
   5.205 +<header>Прочие файлы</header>
   5.206  
   5.207  <p>Файл по умолчанию <tt><a href="file:///var/log/slitaz/tazpkg.log"
   5.208  target="_blank">/var/log/slitaz/tazpkg.log</a></tt> хранит журнал действий TazPkg.
   5.209 @@ -193,7 +217,7 @@
   5.210  разблокирование, переконфигурирование пакетов.</x-details></p>
   5.211  
   5.212  <p>Разделяемая информация MIME, которая позволяет «угадать» файлы пакетов SliTaz, рецепты пакетов и
   5.213 -файлы редакций SliTaz (flavor). <x-details>Файл располагаетсяздесь: <tt><a
   5.214 +файлы редакций SliTaz (flavor). <x-details>Файл располагается здесь: <tt><a
   5.215  href="file:///usr/share/mime/packages/tazpkg.xml"
   5.216  target="_blank">/usr/share/mime/packages/tazpkg.xml</a></tt>.</x-details></p>
   5.217  
   5.218 @@ -203,11 +227,14 @@
   5.219  
   5.220  <p>Документация TazPkg, которую вы читаете, располагается в папке
   5.221  <tt><a href="file:///usr/share/doc/tazpkg" target="_blank">/usr/share/doc/tazpkg</a></tt>.</p>
   5.222 +</article>
   5.223 +</section>
   5.224  
   5.225  
   5.226  
   5.227  
   5.228 -<h2>Команды</h2>
   5.229 +<section>
   5.230 +<header>Команды</header>
   5.231  
   5.232  <p>Первый параметр <tt>tazpkg</tt> — это команда, за которой следуют обязательные и необязательные
   5.233  параметры как будет описано далее. Опции начинаются с двух дефисов, вы можете располагать в любом
   5.234 @@ -220,13 +247,14 @@
   5.235  $ tazpkg info --root=<em>/mnt/sda6</em> nano <em>--color</em>
   5.236  </pre>
   5.237  
   5.238 -<!-- p>Вы можете добавить глобальную опцию <tt>--root=…</tt> к любой команде TazPkg. Эта опция позволяет
   5.239 +<p>Вы можете добавить глобальную опцию <tt>--root=…</tt> к любой команде TazPkg. Эта опция позволяет
   5.240  работать с другими установками SliTaz. Опция указывает на корень примонтированной файловой системы
   5.241 -другой установки SliTaz. <x-details>Кстати, используя эту опцию, можно установить SliTaz «с нуля»
   5.242 -и удаленно обновлять пакеты.</x-details></p -->
   5.243 +другой установки SliTaz. <x-details>Кстати, используя эту опцию, можно установить SliTaz
   5.244 +«с нуля» и удаленно обновлять пакеты.</x-details></p>
   5.245  
   5.246  
   5.247 -<h3>Служебные команды</h3>
   5.248 +<article>
   5.249 +<header>Служебные команды</header>
   5.250  
   5.251  <ul>
   5.252  	<li><a href="#usage">usage</a>: краткая справка по командам</li>
   5.253 @@ -235,18 +263,22 @@
   5.254  	<li><a href="#clean-cache">clean-cache</a>: очистить кэш загруженных пакетов</li>
   5.255  	<li><a href="#shell">shell</a>: запустить интерактивную оболочку TazPkg</li>
   5.256  </ul>
   5.257 +</article>
   5.258  
   5.259  
   5.260 -<h3>Работа со списками</h3>
   5.261 +<article>
   5.262 +<header>Работа со списками</header>
   5.263  
   5.264  <ul>
   5.265  	<li><a href="#list">list</a>: список установленных пакетов</li>
   5.266  	<li><a href="#list-mirror">list-mirror</a>: список всех доступных в репозитории пакетов</li>
   5.267  	<li><a href="#list-config">list-config</a>: список всех конфигурационных файлов</li>
   5.268  </ul>
   5.269 +</article>
   5.270  
   5.271  
   5.272 -<h3>Поиск</h3>
   5.273 +<article>
   5.274 +<header>Поиск</header>
   5.275  
   5.276  <ul>
   5.277  	<li><a href="#search">search</a>: поиск пакета по шаблону или названию</li>
   5.278 @@ -255,9 +287,11 @@
   5.279  	<li><a href="#search-file">search-file</a>: поиск файла среди файлов всех установленных
   5.280  		пакетов</li>
   5.281  </ul>
   5.282 +</article>
   5.283  
   5.284  
   5.285 -<h3>Установка и удаление пакетов</h3>
   5.286 +<article>
   5.287 +<header>Установка и удаление пакетов</header>
   5.288  
   5.289  <ul>
   5.290  	<li><a href="#get">get</a>: загрузить пакет в текущую папку</li>
   5.291 @@ -275,9 +309,11 @@
   5.292  	<li><a href="#add-flavor">install-flavor</a>: установить список пакетов flavor и удалить
   5.293  		прочие</li>
   5.294  </ul>
   5.295 +</article>
   5.296  
   5.297  
   5.298 -<h3>Работа с пакетами</h3>
   5.299 +<article>
   5.300 +<header>Работа с пакетами</header>
   5.301  
   5.302  <ul>
   5.303  	<li><a href="#info">info</a>: информация о пакете</li>
   5.304 @@ -298,9 +334,11 @@
   5.305  	<li><a href="#convert">convert</a>: конвертировать «чужой» пакет в формат tazpkg</li>
   5.306  	<li><a href="#list-suggested">list-suggested</a>: список предлагаемых пакетов</li>
   5.307  </ul>
   5.308 +</article>
   5.309  
   5.310  
   5.311 -<h3>Работа с репозиториями</h3>
   5.312 +<article>
   5.313 +<header>Работа с репозиториями</header>
   5.314  
   5.315  <ul>
   5.316  	<li><a href="#recharge">recharge</a>: получить свежий список пакетов репозитория</li>
   5.317 @@ -311,14 +349,17 @@
   5.318  	<li><a href="#add-undigest">add-undigest</a>: добавить неофициальный репозиторий</li>
   5.319  	<li><a href="#remove-undigest">remove-undigest</a>: удалить неофициальный репозиторий</li>
   5.320  </ul>
   5.321 +</article>
   5.322 +</section>
   5.323  
   5.324  
   5.325  
   5.326  
   5.327 -<h2>Служебные команды</h2>
   5.328 +<section>
   5.329 +<header>Служебные команды</header>
   5.330  
   5.331  
   5.332 -<h3 id="usage">usage</h3>
   5.333 +<article id="usage"><h3>usage</h3>
   5.334  
   5.335  <p>Отобразить полный список команд TazPkg с кратким описанием.</p>
   5.336  
   5.337 @@ -326,9 +367,10 @@
   5.338  $ tazpkg usage
   5.339  $ tazpkg
   5.340  </pre>
   5.341 +</article>
   5.342  
   5.343  
   5.344 -<h3 id="help">help</h3>
   5.345 +<article id="help"><h3>help</h3>
   5.346  
   5.347  <p>Отобразить справку по выбранной команде (<tt>help</tt> или <tt>-h</tt>). Можно вводить краткое
   5.348  имя команды, полное имя, либо часть полного имени. Можно игнорировать дефисы в начале краткого
   5.349 @@ -339,9 +381,10 @@
   5.350  $ tazpkg help <em>-gi</em>
   5.351  $ tazpkg -h <em>us</em>
   5.352  </pre>
   5.353 +</article>
   5.354  
   5.355  
   5.356 -<h3 id="activity">activity</h3>
   5.357 +<article id="activity"><h3>activity</h3>
   5.358  
   5.359  <p>Показать журнал действий TazPkg (<tt>activity</tt> или <tt>log</tt> или <tt>-a</tt>). При помощи
   5.360  параметра <tt>--nb=</tt> можно указать количество отображаемых строк журнала.</p>
   5.361 @@ -349,9 +392,10 @@
   5.362  $ tazpkg activity
   5.363  $ tazpkg -a --nb=<em>20</em>
   5.364  </pre>
   5.365 +</article>
   5.366  
   5.367  
   5.368 -<h3 id="clean-cache">clean-cache</h3>
   5.369 +<article id="clean-cache"><h3>clean-cache</h3>
   5.370  
   5.371  <p>Удалить пакеты *.tazpkg, загруженные в кэш (<tt>clean-cache</tt> или <tt>-cc</tt>). Во время
   5.372  установки TazPkg сохраняет копии пакетов, загруженных из интернета. Это сделано для того, чтобы
   5.373 @@ -362,9 +406,10 @@
   5.374  # tazpkg clean-cache
   5.375  # tazpkg -cc
   5.376  </pre>
   5.377 +</article>
   5.378  
   5.379  
   5.380 -<h3 id="shell">shell</h3>
   5.381 +<article id="shell"><h3>shell</h3>
   5.382  
   5.383  <p>Запустить интерактивную оболочку TazPkg. Здесь вы можете ввести все команды TazPkg, описанные
   5.384  выше.</p>
   5.385 @@ -372,14 +417,17 @@
   5.386  $ tazpkg shell
   5.387  # tazpkg shell
   5.388  </pre>
   5.389 +</article>
   5.390 +</section>
   5.391  
   5.392  
   5.393  
   5.394  
   5.395 -<h2>Работа со списками</h2>
   5.396 +<section>
   5.397 +<header>Работа со списками</header>
   5.398  
   5.399  
   5.400 -<h3 id="list">list</h3>
   5.401 +<article id="list"><h3>list</h3>
   5.402  
   5.403  <p>Список пакетов, установленных в системе (<tt>list</tt> или <tt>-l</tt>). Эта команда может
   5.404  выводить список всех установленных пакетов, список категорий (<tt>c</tt> или <tt>cat</tt> или
   5.405 @@ -388,15 +436,16 @@
   5.406  <tt><a href="#search">search</a></tt> для вывода списка на основе условия или названия пакета.</p>
   5.407  
   5.408  <pre>
   5.409 -# tazpkg list
   5.410 -# tazpkg -lc
   5.411 -# tazpkg -l <em>games</em>
   5.412 -# tazpkg -l <em>игры</em>
   5.413 -# tazpkg -lb
   5.414 +$ tazpkg list
   5.415 +$ tazpkg -lc
   5.416 +$ tazpkg -l <em>games</em>
   5.417 +$ tazpkg -l <em>игры</em>
   5.418 +$ tazpkg -lb
   5.419  </pre>
   5.420 +</article>
   5.421  
   5.422  
   5.423 -<h3 id="list-mirror">list-mirror</h3>
   5.424 +<article id="list-mirror"><h3>list-mirror</h3>
   5.425  
   5.426  <p>Список пакетов, доступных в <a href="http://mirror.slitaz.org/">репозитории</a>
   5.427  (<tt>list-mirror</tt> или <tt>-lm</tt>). Эта команда покажет список пакетов, загруженный из
   5.428 @@ -406,15 +455,16 @@
   5.429  текущим списками пакетов.</p>
   5.430  
   5.431  <pre>
   5.432 -# tazpkg list-mirror
   5.433 -# tazpkg -lm --diff
   5.434 +$ tazpkg list-mirror
   5.435 +$ tazpkg -lm --diff
   5.436  </pre>
   5.437 +</article>
   5.438  
   5.439  
   5.440 -<h3 id="list-config">list-config</h3>
   5.441 +<article id="list-config"><h3>list-config</h3>
   5.442  
   5.443  <p>Список конфигурационных системных файлов. Параметр <tt>--box</tt> отображает список в виде
   5.444 -таблицы. Вы можете указать имя пакета, чтобы отобразить конфигурацинные файлы только для этого
   5.445 +таблицы. Вы можете указать имя пакета, чтобы отобразить конфигурационные файлы только для этого
   5.446  пакета.</p>
   5.447  
   5.448  <pre>
   5.449 @@ -423,14 +473,17 @@
   5.450  $ tazpkg list-config <em>slim</em>
   5.451  $ tazpkg list-config --box <em>slim</em>
   5.452  </pre>
   5.453 +</article>
   5.454 +</section>
   5.455  
   5.456  
   5.457  
   5.458  
   5.459 -<h2>Поиск</h2>
   5.460 +<section>
   5.461 +<header>Поиск</header>
   5.462  
   5.463  
   5.464 -<h3 id="search">search</h3>
   5.465 +<article id="search"><h3>search</h3>
   5.466  
   5.467  <p>Поиск пакета по имени владельца или названию пакета (<tt>search</tt> или <tt>-s</tt>). Эта
   5.468  команда будет искать в списке установленных пакетов (<tt>-i</tt> или <tt>--installed</tt>) и
   5.469 @@ -443,9 +496,10 @@
   5.470  $ tazpkg search <em>mt</em> -i
   5.471  $ tazpkg search <em>bit</em> -l
   5.472  </pre>
   5.473 +</article>
   5.474  
   5.475  
   5.476 -<h3 id="search-pkgname">search-pkgname</h3>
   5.477 +<article id="search-pkgname"><h3>search-pkgname</h3>
   5.478  
   5.479  <p>Поиск файла среди всех файлов, доступных в репозитории с выводом только названий соответствующих
   5.480  пакетов (<tt>search-pkgname</tt> или <tt>-sp</tt>).</p>
   5.481 @@ -454,9 +508,10 @@
   5.482  $ tazpkg search-pkgname <em>libnss</em>
   5.483  $ tazpkg -sp <em>/usr/share/fonts</em>
   5.484  </pre>
   5.485 +</article>
   5.486  
   5.487  
   5.488 -<h3 id="search-file">search-file</h3>
   5.489 +<article id="search-file"><h3>search-file</h3>
   5.490  
   5.491  <p>Поиск файла среди всех файлов, которые были установлены с пакетами (<tt>search-file</tt> или
   5.492  <tt>-sf</tt>). Это бывает очень полезно, когда нужно найти полный путь к файлу или определить,
   5.493 @@ -467,25 +522,28 @@
   5.494  $ tazpkg search-file <em>libnss</em>
   5.495  $ tazpkg -sf <em>/usr/share/fonts</em> --mirror
   5.496  </pre>
   5.497 +</article>
   5.498 +</section>
   5.499  
   5.500  
   5.501  
   5.502  
   5.503 -<h2>Установка и удаление пакетов</h2>
   5.504 +<section><header>Установка и удаление пакетов</header>
   5.505  
   5.506  
   5.507 -<h3 id="get">get</h3>
   5.508 +<article id="get"><h3>get</h3>
   5.509  
   5.510  <p>Загрузить пакет из репозитория (если он существует). Загруженный пакет сохраняется в текущей
   5.511  папке. Чтобы узнать текущий путь, вы можете использовать команду <code>pwd</code>.</p>
   5.512  
   5.513  <pre>
   5.514 -# tazpkg get <em>grub</em>
   5.515 -# tazpkg get <em>nano</em> --root=<em>/mnt/sda6</em>
   5.516 +$ tazpkg get <em>grub</em>
   5.517 +$ tazpkg get <em>nano</em> --root=<em>/mnt/sda6</em>
   5.518  </pre>
   5.519 +</article>
   5.520  
   5.521  
   5.522 -<h3 id="install">install</h3>
   5.523 +<article id="install"><h3>install</h3>
   5.524  
   5.525  <p>Эта команда позволяет устанавливать ранее загруженный пакет с расширением <tt>.tazpkg</tt>
   5.526  (<tt>install</tt> или <tt>-i</tt>). См. <tt><a href="#get-install">get-install</a></tt>, если вы
   5.527 @@ -499,9 +557,10 @@
   5.528  # tazpkg -i <em>путь/к/пакету-1.0.tazpkg</em> --forced
   5.529  # tazpkg -i <em>путь/к/пакету-1.0.tazpkg</em> --root=<em>/mnt/rootfs</em>
   5.530  </pre>
   5.531 +</article>
   5.532  
   5.533  
   5.534 -<h3 id="get-install">get-install</h3>
   5.535 +<article id="get-install"><h3>get-install</h3>
   5.536  
   5.537  <p>Загрузить и установить пакет из репозитория в интернете. Эта команда (<tt>get-install</tt> или
   5.538  <tt>-gi</tt>) сначала проверяет, существует ли пакет в репозитории и был ли он уже загружен. Для
   5.539 @@ -518,9 +577,10 @@
   5.540  # tazpkg -gi <em>grub</em> --forced
   5.541  # tazpkg -gi <em>nano</em> --root=<em>/mnt/sda6</em>
   5.542  </pre>
   5.543 +</article>
   5.544  
   5.545  
   5.546 -<h3 id="install-list">install-list, get-install-list</h3>
   5.547 +<article id="install-list"><h3>install-list, get-install-list</h3>
   5.548  
   5.549  <p>Установить набор пакетов, перечисленных в файле. Команда <tt>install-list</tt> позволяет вам
   5.550  установить за один раз несколько ранее загруженных пакетов, а команда <tt>get-install-list</tt>
   5.551 @@ -531,9 +591,10 @@
   5.552  # tazpkg install-list <em>мои-пакеты.list</em>
   5.553  # tazpkg get-install-list <em>мои-пакеты.list</em> --forced
   5.554  </pre>
   5.555 +</article>
   5.556  
   5.557  
   5.558 -<h3 id="remove">remove</h3>
   5.559 +<article id="remove"><h3>remove</h3>
   5.560  
   5.561  <p>Удалить пакет (<tt>remove</tt> или <tt>-r</tt>). Вас спросят о подтверждении (y/N) удаления
   5.562  пакета, а также об удалении пакетов, зависящих от этого пакета, и о переустановке пакетов, которые
   5.563 @@ -547,9 +608,10 @@
   5.564  # tazpkg -r <em>gtk+-3</em> --root=<em>/mnt/sda6</em>
   5.565  # tazpkg -r <em>nano</em> --auto
   5.566  </pre>
   5.567 +</article>
   5.568  
   5.569  
   5.570 -<h3 id="reconfigure">reconfigure</h3>
   5.571 +<article id="reconfigure"><h3>reconfigure</h3>
   5.572  
   5.573  <p>Повторяет пост-установочный скрипт из пакета.</p>
   5.574  
   5.575 @@ -557,9 +619,10 @@
   5.576  # tazpkg reconfigure <em>gcc</em>
   5.577  # tazpkg reconfigure <em>gcc</em> --root=<em>/mnt/sda6</em>
   5.578  </pre>
   5.579 +</article>
   5.580  
   5.581  
   5.582 -<h3 id="link">link</h3>
   5.583 +<article id="link"><h3>link</h3>
   5.584  
   5.585  <p>Эта команда позволяет установить пакет, уже установленный на другом носителе. Установка
   5.586  заключается в создании символьных ссылок и требует очень мало памяти. Обычно это применяется, когда
   5.587 @@ -568,9 +631,10 @@
   5.588  <pre>
   5.589  # tazpkg link <em>openoffice /media/usbdisk</em>
   5.590  </pre>
   5.591 +</article>
   5.592  
   5.593  
   5.594 -<h3 id="set-release">set-release</h3>
   5.595 +<article id="set-release"><h3>set-release</h3>
   5.596  
   5.597  <p>Эта команда меняет текущую версию и обновляет все пакеты до последнего релиза выбранной
   5.598  версии.</p>
   5.599 @@ -578,9 +642,10 @@
   5.600  <pre>
   5.601  # tazpkg set-release <em>cooking</em>
   5.602  </pre>
   5.603 +</article>
   5.604  
   5.605  
   5.606 -<h3 id="add-flavor">add-flavor, install-flavor</h3>
   5.607 +<article id="add-flavor"><h3>add-flavor, install-flavor</h3>
   5.608  
   5.609  <p>Установить набор пакетов указанной редакции (flavor). Дополнительно, команда
   5.610  <tt>install-flavor</tt> удаляет все прочие установленные пакеты, не входящие в эту редакцию.</p>
   5.611 @@ -589,41 +654,43 @@
   5.612  # tazpkg add-flavor <em>gtkonly</em>
   5.613  # tazpkg install-flavor <em>justx</em>
   5.614  </pre>
   5.615 +</article>
   5.616 +</section>
   5.617  
   5.618  
   5.619  
   5.620  
   5.621 -<h2>Работа с пакетами</h2>
   5.622 +<section><header>Работа с пакетами</header>
   5.623  
   5.624  
   5.625 -<h3 id="info">info</h3>
   5.626 +<article id="info"><h3>info</h3>
   5.627  
   5.628  <p>Показать всю доступную информацию по интересующему вас пакету. Можно указать название
   5.629  установленного пакета или пакета, который еще не установлен, но доступен в репозитории. Также можно
   5.630  получить информацию о локальном файле пакета, введя абсолютный или относительный путь к этому файлу
   5.631  <tt>.tazpkg</tt>. Информация содержится в базе данных TazPkg и в рецепте пакета — его версия,
   5.632 -категория, разработчик, сайт и все зависимости (см. также Cookutils для получения дополнительной
   5.633 -информации по рецептам).</p>
   5.634 +категория, разработчик, сайт и все зависимости (см. также <a href="../cookutils/cookutils.ru.html"
   5.635 +target="_blank">Cookutils</a> для получения дополнительной информации по рецептам).</p>
   5.636  
   5.637  <pre>
   5.638  $ tazpkg info <em>busybox</em>
   5.639  $ tazpkg info <em>minitube</em>
   5.640  $ tazpkg info <em>packages/comix-4.0.4.tazpkg</em>
   5.641  </pre>
   5.642 +</article>
   5.643  
   5.644  
   5.645 -<h3 id="desc">desc</h3>
   5.646 +<article id="desc"><h3>desc</h3>
   5.647  
   5.648 -<p>Описание пакета (если оно существует) (<tt>desc</tt> или <tt>-d</tt>). Эта команда выводит файл
   5.649 -<tt>description.txt</tt> из каждого пакета (простой текстовый файл, шириной до 80 символов, чтобы
   5.650 -поместиться в стандартном терминале):</p>
   5.651 +<p>Описание пакета (<tt>desc</tt> или <tt>-d</tt>).</p>
   5.652  
   5.653  <pre>
   5.654  $ tazpkg desc <em>busybox</em>
   5.655  </pre>
   5.656 +</article>
   5.657  
   5.658  
   5.659 -<h3 id="list-files">list-files</h3>
   5.660 +<article id="list-files"><h3>list-files</h3>
   5.661  
   5.662  <p>Список всех файлов, которые устанавливаются при установке пакета (<tt>list-files</tt> или
   5.663  <tt>-lf</tt>). Эта команда просто читает и отображает файл <tt>files.list</tt> каждого пакета (он
   5.664 @@ -631,11 +698,12 @@
   5.665  пакета).</p>
   5.666  
   5.667  <pre>
   5.668 -# tazpkg list-files <em>bc</em>
   5.669 +$ tazpkg list-files <em>bc</em>
   5.670  </pre>
   5.671 +</article>
   5.672  
   5.673  
   5.674 -<h3 id="block">block, unblock, chblock</h3>
   5.675 +<article id="block"><h3>block, unblock, chblock</h3>
   5.676  
   5.677  <p>Команды позволяют вам блокировать (<tt>block</tt> или <tt>-b</tt>) и разблокировать
   5.678  (<tt>unblock</tt> или <tt>-u</tt>) установленную версию пакета. Команда <tt>chblock</tt> меняет
   5.679 @@ -648,9 +716,10 @@
   5.680  # tazpkg unblock <em>grub</em>
   5.681  # tazpkg chblock <em>grub</em>
   5.682  </pre>
   5.683 +</article>
   5.684  
   5.685  
   5.686 -<h3 id="check">check</h3>
   5.687 +<article id="check"><h3>check</h3>
   5.688  
   5.689  <p>Эта команда может проверить зависимости установленных пакетов и определить, все ли файлы,
   5.690  необходимые для переупаковки пакета присутствуют:</p>
   5.691 @@ -661,9 +730,10 @@
   5.692  $ tazpkg check <em>nano</em>
   5.693  $ tazpkg check <em>sakura</em> --full
   5.694  </pre>
   5.695 +</article>
   5.696  
   5.697  
   5.698 -<h3 id="bugs">bugs</h3>
   5.699 +<article id="bugs"><h3>bugs</h3>
   5.700  
   5.701  <p>Показывает список известных ошибок в пакетах. Вы можете указать название единственного пакета,
   5.702  для которого нужно показать список ошибок.</p>
   5.703 @@ -672,9 +742,10 @@
   5.704  $ tazpkg bugs
   5.705  $ tazpkg bugs <em>мой_пакет</em>
   5.706  </pre>
   5.707 +</article>
   5.708  
   5.709  
   5.710 -<h3 id="depends">depends, rdepends</h3>
   5.711 +<article id="depends"><h3>depends, rdepends</h3>
   5.712  
   5.713  <p>Отображает дерево зависимостей и обратное дерево зависимостей пакета, соответственно.</p>
   5.714  
   5.715 @@ -689,12 +760,13 @@
   5.716  <code>depends</code>.</p>
   5.717  
   5.718  <pre>
   5.719 -# tazpkg depends <em>mpd</em>
   5.720 -# tazpkg rdepends <em>mpd</em>
   5.721 +$ tazpkg depends <em>mpd</em>
   5.722 +$ tazpkg rdepends <em>mpd</em>
   5.723  </pre>
   5.724 +</article>
   5.725  
   5.726  
   5.727 -<h3 id="extract">extract</h3>
   5.728 +<article id="extract"><h3>extract</h3>
   5.729  
   5.730  <p>Распаковать пакет в папку (<tt>extract</tt> или <tt>-e</tt>). Если вы не укажете папку
   5.731  назначения, то пакет будет распакован в папку с именем <tt><em>пакет-версия</em></tt>, которая будет
   5.732 @@ -704,29 +776,33 @@
   5.733  $ tazpkg extract <em>пакет.tazpkg</em>
   5.734  $ tazpkg extract <em>пакет.tazpkg папка/назначения</em>
   5.735  </pre>
   5.736 +</article>
   5.737  
   5.738  
   5.739 -<h3 id="pack">pack</h3>
   5.740 +<article id="pack"><h3>pack</h3>
   5.741  
   5.742  <p>Эта команда создаст пакет из заранее подготовленной папки или из распакованного пакета. Используя
   5.743 -эту команду вы можете создать пакет .tazpkg вручную (см. документацию Cookutils по вопросу
   5.744 -автоматического создания пакетов).</p>
   5.745 +эту команду вы можете создать пакет .tazpkg вручную (см. документацию <a
   5.746 +href="../cookutils/cookutils.ru.html" target="_blank">Cookutils</a> по вопросу автоматического
   5.747 +создания пакетов).</p>
   5.748  
   5.749  <pre>
   5.750  # tazpkg pack <em>пакет-версия</em>
   5.751  </pre>
   5.752 +</article>
   5.753  
   5.754  
   5.755 -<h3 id="repack">repack</h3>
   5.756 +<article id="repack"><h3>repack</h3>
   5.757  
   5.758  <p>Эта команда позволяет восстановить пакет из файлов в системе, где он был ранее установлен.</p>
   5.759  
   5.760  <pre>
   5.761 -$ tazpkg repack <em>пакет</em>
   5.762 +# tazpkg repack <em>пакет</em>
   5.763  </pre>
   5.764 +</article>
   5.765  
   5.766  
   5.767 -<h3 id="repack-config">repack-config</h3>
   5.768 +<article id="repack-config"><h3>repack-config</h3>
   5.769  
   5.770  <p>Эта команда воссоздает пакет с конфигурационными системными файлами (см.
   5.771  <tt><a href="#list-config">list-config</a></tt>). Для того, чтобы восстановить текущую конфигурацию,
   5.772 @@ -735,19 +811,21 @@
   5.773  <pre>
   5.774  # tazpkg repack-config
   5.775  </pre>
   5.776 +</article>
   5.777  
   5.778  
   5.779 -<h3 id="recompress">recompress</h3>
   5.780 +<article id="recompress"><h3>recompress</h3>
   5.781  
   5.782  <p>Перепаковать CPIO-архив .tazpkg с помощью LZMA. Эта команда нужна только для того, чтобы
   5.783  уменьшить размер имеющихся старых пакетов, созданных для SliTaz 2.0.</p>
   5.784  
   5.785  <pre>
   5.786 -$ tazpkg recompress <em>пакет.tazpkg</em>
   5.787 +# tazpkg recompress <em>пакет.tazpkg</em>
   5.788  </pre>
   5.789 +</article>
   5.790  
   5.791  
   5.792 -<h3 id="convert">convert</h3>
   5.793 +<article id="convert"><h3>convert</h3>
   5.794  
   5.795  <p>Преобразует пакеты «чужих» дистрибутивов в пакеты SliTaz (.tazpkg).</p>
   5.796  
   5.797 @@ -783,9 +861,10 @@
   5.798  <pre>
   5.799  # tazpkg convert <em>файл-чужого-пакета</em>
   5.800  </pre>
   5.801 +</article>
   5.802  
   5.803  
   5.804 -<h3 id="list-suggested">list-suggested</h3>
   5.805 +<article id="list-suggested"><h3>list-suggested</h3>
   5.806  
   5.807  <p>Список предложенных пакетов для каждого из ваших установленных пакетов. С параметром
   5.808  <tt>--all</tt> будет отображен полный список предложенных пакетов, а без параметра — только список
   5.809 @@ -795,14 +874,16 @@
   5.810  $ tazpkg list-suggested
   5.811  $ tazpkg list-suggested --all
   5.812  </pre>
   5.813 +</article>
   5.814 +</section>
   5.815  
   5.816  
   5.817  
   5.818  
   5.819 -<h2>Работа с репозиториями</h2>
   5.820 +<section><header>Работа с репозиториями</header>
   5.821  
   5.822  
   5.823 -<h3 id="recharge">recharge</h3>
   5.824 +<article id="recharge"><h3>recharge</h3>
   5.825  
   5.826  <p>Обновление списка пакетов, доступных в репозитории. Эта команда загрузит из репозитория самую
   5.827  последнюю базу данных устанавливаемых пакетов и, прежде чем продолжить, сохранит старую базу. После
   5.828 @@ -822,9 +903,10 @@
   5.829  # tazpkg recharge <em>Мой_неофициальный</em>
   5.830  # tazpkg recharge --root=<em>/mnt/sda6</em>
   5.831  </pre>
   5.832 +</article>
   5.833  
   5.834  
   5.835 -<h3 id="upgrade">upgrade</h3>
   5.836 +<article id="upgrade"><h3>upgrade</h3>
   5.837  
   5.838  <p>Команда позволяет обновить все установленные пакеты, доступные в текущем репозитории
   5.839  (<tt>upgrade</tt> или <tt>up</tt>). Обновление пакетов — важная составляющая безопасности системы, и
   5.840 @@ -847,9 +929,10 @@
   5.841  # tazpkg up --check
   5.842  # tazpkg up -i
   5.843  </pre>
   5.844 +</article>
   5.845  
   5.846  
   5.847 -<h3 id="setup-mirror">setup-mirror</h3>
   5.848 +<article id="setup-mirror"><h3>setup-mirror</h3>
   5.849  
   5.850  <p>Установка адреса репозитория (<tt>setup-mirror</tt> или <tt>-sm</tt>). Эта команда запросит URL
   5.851  нового репозитория. Обратите внимание, что вы также можете изменить основной файл
   5.852 @@ -859,9 +942,10 @@
   5.853  <pre>
   5.854  # tazpkg setup-mirror
   5.855  </pre>
   5.856 +</article>
   5.857  
   5.858  
   5.859 -<h3 id="add-undigest">add-undigest, setup-undigest</h3>
   5.860 +<article id="add-undigest"><h3>add-undigest, setup-undigest</h3>
   5.861  
   5.862  <p>Устанавливает адрес дополнительного неофициального репозитория для тестирования пакетов, которые
   5.863  еще не присутствуют в официальных репозиториях. Обратите внимание, вы можете также вручную
   5.864 @@ -872,37 +956,44 @@
   5.865  # tazpkg add-undigest <em>public-repository http://my.home.org/slitaz</em>
   5.866  # tazpkg setup-undigest <em>local-repository /home/slitaz/packages</em>
   5.867  </pre>
   5.868 +</article>
   5.869  
   5.870  
   5.871 -<h3 id="list-undigest">list-undigest</h3>
   5.872 +<article id="list-undigest"><h3>list-undigest</h3>
   5.873  
   5.874  <p>Список дополнительных неофициальных репозиториев. Параметр <tt>--box</tt> выведет список в форме
   5.875  таблицы.</p>
   5.876  
   5.877  <pre>
   5.878 -# tazpkg list-undigest
   5.879 -# tazpkg list-undigest --box
   5.880 +$ tazpkg list-undigest
   5.881 +$ tazpkg list-undigest --box
   5.882  </pre>
   5.883 +</article>
   5.884  
   5.885  
   5.886 -<h3 id="remove-undigest">remove-undigest</h3>
   5.887 +<article id="remove-undigest"><h3>remove-undigest</h3>
   5.888  
   5.889  <p>Удаляет адрес неофициального репозитория. Перед удалением вас спросят о подтверждении.</p>
   5.890  
   5.891  <pre>
   5.892  # tazpkg remove-undigest <em>my-repository</em>
   5.893  </pre>
   5.894 +</article>
   5.895 +</section>
   5.896  
   5.897  
   5.898 -<h2>Мэйнтейнер</h2>
   5.899 +
   5.900 +
   5.901 +<section><header>Мэйнтейнер</header>
   5.902  
   5.903  <p>Christophe Lincoln &lt;pankso at slitaz.org&gt;</p>
   5.904 +</section>
   5.905  
   5.906 -</div>
   5.907 -<!-- End content -->
   5.908 +
   5.909 +
   5.910  
   5.911  <footer>
   5.912 -	Copyright © 2015 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
   5.913 +	Copyright © 2015 <a href="http://www.slitaz.org/ru/">SliTaz GNU/Linux</a>
   5.914  </footer>
   5.915  
   5.916  </body>
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/modules/bugs	Mon Oct 05 03:53:47 2015 +0300
     6.3 @@ -0,0 +1,37 @@
     6.4 +#!/bin/sh
     6.5 +# TazPkg - Tiny autonomous zone packages manager, hg.slitaz.org/tazpkg
     6.6 +# bugs - TazPkg module
     6.7 +# Show known bugs in package(s)
     6.8 +
     6.9 +
    6.10 +# Connect function libraries
    6.11 +. /lib/libtaz.sh
    6.12 +
    6.13 +# Get TazPkg working environment
    6.14 +. @@MODULES@@/getenv
    6.15 +
    6.16 +
    6.17 +
    6.18 +
    6.19 +cd "$INSTALLED"
    6.20 +
    6.21 +LIST=$@
    6.22 +[ -z "$LIST" ] && LIST=$(ls)
    6.23 +
    6.24 +MSG=$(_n 'No known bugs.')
    6.25 +
    6.26 +title 'Known bugs in packages'
    6.27 +
    6.28 +for pkg in $LIST; do
    6.29 +	unset BUGS EXTRAVERSION
    6.30 +	. "$pkg/receipt"
    6.31 +
    6.32 +	if [ -n "$BUGS" ]; then
    6.33 +		MSG=$(_n 'Bug list completed')
    6.34 +		newline
    6.35 +		_ 'Bugs in package "%s" version %s:' "$PACKAGE" "$VERSION$EXTRAVERSION"
    6.36 +		echo -e "  $BUGS\n"
    6.37 +	fi
    6.38 +done
    6.39 +
    6.40 +footer "$MSG"
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/modules/cache	Mon Oct 05 03:53:47 2015 +0300
     7.3 @@ -0,0 +1,32 @@
     7.4 +#!/bin/sh
     7.5 +# TazPkg - Tiny autonomous zone packages manager, hg.slitaz.org/tazpkg
     7.6 +# cache - TazPkg module
     7.7 +# Work with package cache
     7.8 +
     7.9 +
    7.10 +# Connect function libraries
    7.11 +. /lib/libtaz.sh
    7.12 +
    7.13 +# Get TazPkg working environment
    7.14 +. @@MODULES@@/getenv
    7.15 +
    7.16 +
    7.17 +
    7.18 +
    7.19 +case $1 in
    7.20 +	clean)
    7.21 +		num=$(find "$CACHE_DIR" -name *.tazpkg | wc -l)
    7.22 +		size=$(du -hs "$CACHE_DIR" | cut -f1 | sed 's|\.0||')
    7.23 +		[ "$num" -eq 0 ] && size="0K"
    7.24 +
    7.25 +		title 'Cleaning cache directory...'
    7.26 +		action 'Path: %s' "$CACHE_DIR"
    7.27 +		find "$CACHE_DIR" -name '*.tazpkg' -delete
    7.28 +		status
    7.29 +
    7.30 +		footer "$(_p \
    7.31 +			'%s file removed from cache (%s).' \
    7.32 +			'%s files removed from cache (%s).' "$num" \
    7.33 +			"$(colorize 32 "$num")" "$size")"
    7.34 +		;;
    7.35 +esac
    7.36 \ No newline at end of file
     8.1 --- a/modules/check	Sun Sep 06 12:48:04 2015 +0200
     8.2 +++ b/modules/check	Mon Oct 05 03:53:47 2015 +0300
     8.3 @@ -85,9 +85,6 @@
     8.4  
     8.5  
     8.6  
     8.7 -# Get repositories priority list.
     8.8 -priority=$(tazpkg call look_for_priority)
     8.9 -
    8.10  cd "$INSTALLED"
    8.11  if [ -z "$2" -o -n "$full" ]; then PACKAGES="$(ls)"; else PACKAGES="$2"; fi
    8.12  PACKAGE_PRINTED=''
     9.1 --- a/modules/description	Sun Sep 06 12:48:04 2015 +0200
     9.2 +++ b/modules/description	Mon Oct 05 03:53:47 2015 +0300
     9.3 @@ -23,11 +23,11 @@
     9.4  unset desc
     9.5  
     9.6  # 1) Localized description
     9.7 -for LC in $LANG ${LANG%_*}; do
     9.8 -	[ -e "$PKGS_DB/descriptions.$LC.txt" ] &&
     9.9 +for lang in $LANG ${LANG%_*}; do
    9.10 +	[ -e "$PKGS_DB/descriptions.$lang.txt" ] || continue
    9.11  	desc="$(awk -vRS='' -vFS='\n' -vOFS='\n' -vp="$1" '
    9.12  		$1 == p { $1 = ""; print $0; exit; }
    9.13 -		' "$PKGS_DB/descriptions.$LC.txt" | sed '1d')"
    9.14 +		' "$PKGS_DB/descriptions.$lang.txt" | sed '1d')"
    9.15  done
    9.16  
    9.17  # 2) Installed description
    9.18 @@ -44,9 +44,9 @@
    9.19  
    9.20  # 4) Short description only in interactive terminal
    9.21  if [ -z "$desc" ] && im; then
    9.22 -	for LC in $LANG ${LANG%_*}; do
    9.23 -		[ -e "$PKGS_DB/packages-desc.$LC" ] &&
    9.24 -			desc=$(awk -F$'\t' -vp="$1" '$1==p {print $2; exit}' "$PKGS_DB/packages-desc.$LC")
    9.25 +	for lang in $LANG ${LANG%_*}; do
    9.26 +		[ -e "$PKGS_DB/packages-desc.$lang" ] || continue
    9.27 +		desc=$(awk -F$'\t' -vp="$1" '$1==p {print $2; exit}' "$PKGS_DB/packages-desc.$lang")
    9.28  	done
    9.29  
    9.30  	[ -z "$desc" -a -s "$PKGS_DB/packages.info" ] &&
    9.31 @@ -54,10 +54,30 @@
    9.32  fi
    9.33  
    9.34  if [ -n "$desc" ]; then
    9.35 -	# Title and footer only in interactive terminal
    9.36 -	im && title 'Description of package "%s"' "$1"
    9.37 -	longline "$desc"
    9.38 -	im && footer
    9.39 +	case $output in
    9.40 +		html)
    9.41 +			# Description for TazPanel in html format
    9.42 +			if [ -n "$(which sundown)" ]; then
    9.43 +				# Parse description as markdown
    9.44 +				echo "$desc" | sundown
    9.45 +			else
    9.46 +				# Dump description within <pre> tag
    9.47 +				echo '<pre class="pre-wrap">'
    9.48 +				echo "$desc" | sed -e 's|\&|\&amp;|g; s|<|\&lt;|g; s|>|\&gt;|g'
    9.49 +				echo '</pre>'
    9.50 +			fi
    9.51 +			;;
    9.52 +		*)
    9.53 +			# Description for terminal tazpkg in plain text
    9.54 +			# Title and footer only in interactive terminal
    9.55 +			im && title 'Description of package "%s"' "$1"
    9.56 +			echo "$desc"
    9.57 +			im && footer
    9.58 +			;;
    9.59 +	esac
    9.60 +
    9.61  else
    9.62  	im && _ 'Description absent.'
    9.63  fi
    9.64 +
    9.65 +exit 0
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/modules/extract	Mon Oct 05 03:53:47 2015 +0300
    10.3 @@ -0,0 +1,54 @@
    10.4 +#!/bin/sh
    10.5 +# TazPkg - Tiny autonomous zone packages manager, hg.slitaz.org/tazpkg
    10.6 +# extract - TazPkg module
    10.7 +# Extract .tazpkg cpio archive into a directory
    10.8 +
    10.9 +
   10.10 +# Connect function libraries
   10.11 +. /lib/libtaz.sh
   10.12 +
   10.13 +# Get TazPkg working environment
   10.14 +. @@MODULES@@/getenv
   10.15 +
   10.16 +
   10.17 +
   10.18 +
   10.19 +# Extract a package with cpio and gzip/lzma.
   10.20 +
   10.21 +extract_package() {
   10.22 +	action 'Extracting package...'
   10.23 +	cpio -idm --quiet < "$1" && rm -f "$1"
   10.24 +	if [ -f fs.cpio.lzma ]; then
   10.25 +		unlzma < fs.cpio.lzma | cpio -idm --quiet && rm fs.cpio.lzma
   10.26 +	elif [ -f fs.cpio.gz ]; then
   10.27 +		zcat fs.cpio.gz | cpio -idm --quiet && rm fs.cpio.gz
   10.28 +	fi
   10.29 +	status
   10.30 +}
   10.31 +
   10.32 +
   10.33 +
   10.34 +
   10.35 +PACKAGE_FILE="$1"
   10.36 +TARGET_DIR="$2"
   10.37 +PACKAGE="$(basename "$PACKAGE_FILE" .tazpkg)"
   10.38 +
   10.39 +title 'Extracting package "%s"' "$PACKAGE"
   10.40 +
   10.41 +# If no directory destination is found on the cmdline
   10.42 +# we create one in the current dir using the package name.
   10.43 +if [ -n "$TARGET_DIR" ]; then
   10.44 +	DESTDIR="$TARGET_DIR/$PACKAGE"
   10.45 +else
   10.46 +	DESTDIR="$PACKAGE"
   10.47 +fi
   10.48 +mkdir -p "$DESTDIR"
   10.49 +
   10.50 +action 'Copying original package...'
   10.51 +cp "$PACKAGE_FILE" "$DESTDIR"
   10.52 +status
   10.53 +
   10.54 +cd "$DESTDIR"
   10.55 +extract_package "${PACKAGE_FILE##*/}"
   10.56 +
   10.57 +[ -e "receipt" ] && footer "$(_ 'Package "%s" is extracted to "%s"' "$PACKAGE" "$DESTDIR")"
    11.1 --- a/modules/find-depends	Sun Sep 06 12:48:04 2015 +0200
    11.2 +++ b/modules/find-depends	Mon Oct 05 03:53:47 2015 +0300
    11.3 @@ -4,48 +4,31 @@
    11.4  # Functions that are common to tazpkg and tazpkg-convert, and sourced by them.
    11.5  
    11.6  
    11.7 -# Need by check_depends
    11.8 -unset TMPLOCALSTATE
    11.9 -
   11.10 -
   11.11 -# Check for ELF file
   11.12 -
   11.13 -is_elf() {
   11.14 -	[ "$(dd if="$1" bs=1 skip=1 count=3 2>/dev/null)" == 'ELF' ]
   11.15 -}
   11.16 -
   11.17 -
   11.18 -# Print shared library dependencies
   11.19 -
   11.20 -ldd() {
   11.21 -	LD_TRACE_LOADED_OBJECTS=1 /lib/ld*.so "$1" 2>/dev/null
   11.22 -}
   11.23 -
   11.24 -
   11.25  # search dependencies for files in $TMP_DIR/$file/fs
   11.26  
   11.27  find_depends() {
   11.28  	DEFAULT_DEPENDS='glibc-base gcc-lib-base'
   11.29  
   11.30 -	[ -z "$TMPLOCALSTATE" ] && TMPLOCALSTATE="$PKGS_DB"
   11.31 -	[ ! -f "$TMPLOCALSTATE/files.list.lzma" ] && tazpkg recharge >/dev/null
   11.32 -	for i in "$TMPLOCALSTATE/files.list.lzma" \
   11.33 -		"$TMPLOCALSTATE/undigest/"*"/files.list.lzma"; do
   11.34 +	[ ! -f "$PKGS_DB/files.list.lzma" ] && tazpkg recharge >/dev/null
   11.35 +
   11.36 +	for i in "$PKGS_DB/files.list.lzma" \
   11.37 +		"$PKGS_DB/undigest/"*"/files.list.lzma"; do
   11.38  		[ -f "$i" ] && lzma d "$i" -so >> "$TMP_DIR/files.list"
   11.39  	done
   11.40  
   11.41  	_ 'Find depends...' 1>&2
   11.42  	libs_found=''
   11.43 -	find "${1:-$TMP_DIR/$file/fs}" -type f | \
   11.44 +	find "$1" -type f | \
   11.45  	while read chkfile; do
   11.46 -		is_elf "$chkfile" || continue
   11.47 +		[ "$(dd bs=1 skip=1 count=3 < "$chkfile" 2>/dev/null)" != 'ELF' ] && continue
   11.48 +
   11.49  		case "$chkfile" in
   11.50  			*.o|*.ko|*.ko.gz|*.ko.xz) continue;;
   11.51  		esac
   11.52  
   11.53 -		for lib in $(ldd "$chkfile" | sed '/=>/!d;s/ =>.*//'); do
   11.54 +		for lib in $(LD_TRACE_LOADED_OBJECTS=1 /lib/ld*.so "$chkfile" 2>/dev/null | sed '/=>/!d;s/ =>.*//'); do
   11.55  			case " $libs_found " in
   11.56 -				*\ $lib\ *) continue
   11.57 +				*\ $lib\ *) continue;;
   11.58  			esac
   11.59  			libs_found="$libs_found $lib"
   11.60  			case "$lib" in
   11.61 @@ -54,9 +37,9 @@
   11.62  			find "${1:-$TMP_DIR/$file/fs}" | grep -q /$lib$ && continue
   11.63  
   11.64  			_n 'for %s' "$lib" 1>&2
   11.65 -			echo -ne "                   \r" 1>&2
   11.66 +			echo -ne '                   \r' 1>&2
   11.67  
   11.68 -			for dep in $(fgrep $lib files.list | cut -d: -f1); do
   11.69 +			for dep in $(fgrep "$lib" "$TMP_DIR/files.list" | cut -d: -f1); do
   11.70  				case " $DEFAULT_DEPENDS " in
   11.71  					*\ $dep\ *) continue 2;;
   11.72  				esac
    12.1 --- a/modules/flavor	Sun Sep 06 12:48:04 2015 +0200
    12.2 +++ b/modules/flavor	Mon Oct 05 03:53:47 2015 +0300
    12.3 @@ -10,8 +10,6 @@
    12.4  # Get TazPkg working environment
    12.5  . @@MODULES@@/getenv
    12.6  
    12.7 -alias cpio='busybox cpio'
    12.8 -
    12.9  
   12.10  
   12.11  
   12.12 @@ -35,7 +33,7 @@
   12.13  	local i
   12.14  	case "$1" in
   12.15  		*.tazpkg)
   12.16 -			for i in $priority; do
   12.17 +			for i in $PRIORITY; do
   12.18  				if [ -n "$(awk -F$'\t' -vp="$1" 'p==$1"-"$2".tazpkg"{print $1}' \
   12.19  					"$i/packages.info")" ]; then
   12.20  					download_from "$(cat $i/mirror)" "$@" && return
   12.21 @@ -44,7 +42,7 @@
   12.22  			;;
   12.23  	esac
   12.24  
   12.25 -	for i in $(cat $(for rep in $priority; do echo $rep/mirror; done) 2>/dev/null); do
   12.26 +	for i in $(cat $(for rep in $PRIORITY; do echo $rep/mirror; done) 2>/dev/null); do
   12.27  		download_from "$i" "$@" && break
   12.28  	done
   12.29  }
   12.30 @@ -52,9 +50,6 @@
   12.31  
   12.32  
   12.33  
   12.34 -# Get repositories priority list.
   12.35 -priority=$(tazpkg call look_for_priority)
   12.36 -
   12.37  FLAVOR="$1"
   12.38  TMP_DIR=$(mktemp -d)
   12.39  
   12.40 @@ -64,16 +59,17 @@
   12.41  if [ -f "$FLAVOR.flavor" ] || download "$FLAVOR.flavor"; then
   12.42  	zcat < "$FLAVOR.flavor" | cpio --quiet -i >/dev/null
   12.43  
   12.44 -	while read file; do
   12.45 -		# 'file' here in form 'package-version'
   12.46 -		is_installed=$(awk -F$'\t' -vf="$file" '$1 "-" $2 == f {print 1}' "$PKGS_DB/installed.info")
   12.47 -		[ -n "$is_installed" ] && continue
   12.48 +	while read pkgver; do
   12.49 +		# 'pkgver' here in form 'package-version'
   12.50 +		awk -F$'\t' -vf="$pkgver" '$1 "-" $2 == f {exit 1}' "$PKGS_DB/installed.info"
   12.51 +		# Continue if package already installed
   12.52 +		[ "$?" -eq 1 ] && continue
   12.53  
   12.54  		# Install package if it not installed or has a different version
   12.55  		cd "$CACHE_DIR"
   12.56 -		download "$file.tazpkg"
   12.57 +		download "$pkgver.tazpkg"
   12.58  		cd "$TMP_DIR"
   12.59 -		tazpkg install "$CACHE_DIR/$file.tazpkg" --forced
   12.60 +		tazpkg install "$CACHE_DIR/$pkgver.tazpkg" --forced
   12.61  	done < "$FLAVOR.pkglist"
   12.62  
   12.63  	[ -f "$FLAVOR.nonfree" ] && \
   12.64 @@ -84,6 +80,7 @@
   12.65  	done < "$FLAVOR.nonfree"
   12.66  
   12.67  	# Option "--purge"
   12.68 +	# FIXME: respect all the installed dependencies of the flavored packages
   12.69  	[ -n "$purge" ] && \
   12.70  	for pkg in $(awk -F$'\t' '{printf "%s:%s ", $1, $2}' "$PKGS_DB/installed.info"); do
   12.71  		# If installed 'package-version' listed in 'pkglist'
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/modules/get	Mon Oct 05 03:53:47 2015 +0300
    13.3 @@ -0,0 +1,369 @@
    13.4 +#!/bin/sh
    13.5 +# TazPkg - Tiny autonomous zone packages manager, hg.slitaz.org/tazpkg
    13.6 +# get - TazPkg module
    13.7 +# Get package to the cache directory
    13.8 +
    13.9 +
   13.10 +# 1. "Plain packages" - compiled and packed on cook.slitaz.org using receipts.
   13.11 +#
   13.12 +# Recently added other type of packages: packages that can't be compiled due to the closed sources
   13.13 +# or due to the giant size of that sources. In this case special script: a) downloads package
   13.14 +# compiled for other Linux from official web site, b) converts this package to the TazPkg format,
   13.15 +# c) installs this package as "plain" package.
   13.16 +#
   13.17 +# 2. "Get-packages" - package contains only one special script for downloading/converting.
   13.18 +# Sometimes get-package can get some specified version of the package, sometimes - different
   13.19 +# (latest) version.
   13.20 +#
   13.21 +# Packages 1. and 2. can be found in the wok repository: http://hg.slitaz.org/wok/
   13.22 +#
   13.23 +# 3. "Extra" get-scripts. Next addition - only script, without packaging.
   13.24 +# Extra get-scripts repository: http://hg.slitaz.org/get-scripts/
   13.25 +# Extra get-scripts mirror:     http://mirror.slitaz.org/packages/get/
   13.26 +#
   13.27 +# 4. Converted "extra" packages. Next addition - some packages like LibreOffice / OpenOffice are
   13.28 +# big to compile them like _1. "Plain packages"_ as well as big to convert them on the user side
   13.29 +# (you need a lot of time, CPU, and RAM) and sometimes it is unable on the weak user machines.
   13.30 +# So, some selected and free packages are converted on the SliTaz server side, packaged and
   13.31 +# are ready to download by any user: http://mirror.slitaz.org/packages/extra/
   13.32 +#
   13.33 +#
   13.34 +# Algorithm to get package:
   13.35 +#  - search package in question in the mirrored packages list, download if exists;
   13.36 +#  - search "get-package" in the mirrored packages list, download if exists;
   13.37 +#  - search package in the "extra" get-scripts list, download if exists and run it, get the package.
   13.38 +#
   13.39 +# Note, here doubling. Imagine, you may wanted "palemoon" package.
   13.40 +# 1. No "plain package";
   13.41 +# 2. Existing "get-palemoon" package;
   13.42 +# 3. Existing "palemoon" extra get-script;
   13.43 +# 4. Existing "palemoon" extra converted package.
   13.44 +# User will get 2. He can specify "--extra" option to get 3.
   13.45 +# FIXME: do something with doubling.
   13.46 +
   13.47 +
   13.48 +
   13.49 +
   13.50 +# Connect function libraries
   13.51 +. /lib/libtaz.sh
   13.52 +. /usr/lib/slitaz/libpkg.sh
   13.53 +
   13.54 +# Get TazPkg working environment
   13.55 +. @@MODULES@@/getenv
   13.56 +
   13.57 +. @@MODULES@@/find-depends
   13.58 +
   13.59 +
   13.60 +
   13.61 +
   13.62 +# Get cache directory path
   13.63 +
   13.64 +get_cache_path() {
   13.65 +	# input:  $1 = DB folder such as "$PKGS_DB" or "$PKGS_DB/undigest/*"
   13.66 +	#         $2 (optional): 'extra' for cache for extra-package scripts
   13.67 +	# output: path to cache directory
   13.68 +
   13.69 +	local cache_dir
   13.70 +
   13.71 +	if [ "$2" == 'extra' ]; then
   13.72 +		cache_dir="$SAVE_CACHE_DIR/extra/packages"
   13.73 +	elif [ "$1" == "$PKGS_DB" ]; then
   13.74 +		# Main repository
   13.75 +		cache_dir="$SAVE_CACHE_DIR/$SLITAZ_RELEASE/packages"
   13.76 +	else
   13.77 +		# Undigest repository
   13.78 +		cache_dir="$SAVE_CACHE_DIR/${1##*/}/packages"
   13.79 +	fi
   13.80 +
   13.81 +	# Make cache directory if absent
   13.82 +	mkdir -p "$cache_dir"
   13.83 +	chmod a+w "$cache_dir"
   13.84 +
   13.85 +	echo "$cache_dir"
   13.86 +}
   13.87 +
   13.88 +
   13.89 +# Download a file from mirror
   13.90 +
   13.91 +download_from() {
   13.92 +	# input: "<mirror_url>" "<package_name>-<version>.tazpkg"
   13.93 +
   13.94 +	debug "\ndownload_from('$1', '$2')"
   13.95 +
   13.96 +	case "$1" in
   13.97 +		# Mirror URL can have a trailing slash or not.
   13.98 +		http://* | https://* | ftp://*)
   13.99 +			debug "  busybox wget -c -q -T 30 -U $UA ${1%/}/$2"
  13.100 +			# TODO: display abridged wget status
  13.101 +			busybox wget -c -q -T 30 -U $UA ${1%/}/$2
  13.102 +			;;
  13.103 +		*)
  13.104 +			debug "  ln -sf ${1%/}/$2 ."
  13.105 +			ln -sf ${1%/}/$2 .;;
  13.106 +	esac
  13.107 +}
  13.108 +
  13.109 +
  13.110 +# This function may be called by a get script.
  13.111 +
  13.112 +abort_package() {
  13.113 +	cd "$CUR_DIR"
  13.114 +	rm -rf "$tmp_dir"
  13.115 +	echo "${1:-Abort $PACKAGE.}"
  13.116 +	exit 1
  13.117 +}
  13.118 +
  13.119 +
  13.120 +# Get extra-package file to the cache
  13.121 +
  13.122 +get_pkg_extra() {
  13.123 +	# input:  $1 extra-package name (like 'dropbox')
  13.124 +	#         $2 (internal): empty or 'redo' (when recursive calling)
  13.125 +	# action: download stuff and make package
  13.126 +	# output: full path to created package
  13.127 +
  13.128 +	debug "\nget_pkg_extra('$1', '$2')"
  13.129 +
  13.130 +	local mirror extra_cache converted tmp_dir script
  13.131 +
  13.132 +	# Check extra.list
  13.133 +	if [ ! -s "$PKGS_DB/extra.list" ]; then
  13.134 +		# Empty extra.list
  13.135 +		if [ "$2" != 'redo' ]; then
  13.136 +			tazpkg recharge >&2
  13.137 +			get_pkg_extra "$1" 'redo'; exit 0
  13.138 +		else
  13.139 +			# Give up
  13.140 +			_ 'File "%s" empty.' 'extra.list' >&2
  13.141 +			die 'Unable to find package "%s" in the extra packages list.' "$(boldify $1)"
  13.142 +		fi
  13.143 +	fi
  13.144 +
  13.145 +	# Extra.list exists and not empty
  13.146 +	if ! grep -q "^$1|" "$PKGS_DB/extra.list"; then
  13.147 +		die 'Unable to find package "%s" in the extra packages list.' "$(boldify $1)"
  13.148 +	fi
  13.149 +
  13.150 +	# Extra-package found in extra.list
  13.151 +
  13.152 +	if [ -z "$nocache" ]; then
  13.153 +		# Go to cache for "get-install" command; don't move for "get" command
  13.154 +		extra_cache="$(get_cache_path "$PKGS_DB" 'extra')"
  13.155 +		debug "cd '$extra_cache'"
  13.156 +		cd "$extra_cache"
  13.157 +
  13.158 +		# Extra-cache should contain packages DB files (packages.info, etc.)
  13.159 +		# to list extra-packages contained in the extra-cache
  13.160 +		[ ! -f 'packages.info' ] && tazpkg mkdb "$extra_cache" --root='' --forced >/dev/null
  13.161 +
  13.162 +		if [ -f 'packages.info' ]; then
  13.163 +			awk -F$'\t' -vp="$1" '$1==p{exit 1}' packages.info
  13.164 +			if [ "$?" -eq 1 ]; then
  13.165 +				_ 'Package "%s" already in the cache' "$1" >&2
  13.166 +				echo -n "$(pwd)/"
  13.167 +				awk -F$'\t' -vp="$1" '$1==p{printf "%s-%s.tazpkg\n", $1, $2; exit}' packages.info
  13.168 +				exit 0
  13.169 +			fi
  13.170 +		fi
  13.171 +	fi
  13.172 +
  13.173 +	mirror="$(cat "$PKGS_DB/mirror")"
  13.174 +	debug "mirror='$mirror'"
  13.175 +
  13.176 +
  13.177 +	# Try converted extra-packages first
  13.178 +	# FIXME: Workaround to get packages filenames (even better to have names and versions separate)
  13.179 +	converted="$(busybox wget -O - http://mirror1.slitaz.org/packages/extra/ 2>/dev/null | \
  13.180 +		tr \'\" $'\n' | grep "$1-.*\.tazpkg$" | sort -u)"
  13.181 +	debug "converted='$converted'"
  13.182 +	if [ -n "$converted" ]; then
  13.183 +		case "$mirror" in
  13.184 +			http://*|https://*|ftp://*)
  13.185 +				# Default 'http://mirror.slitaz.org/packages/cooking/'
  13.186 +				#      -> 'http://mirror.slitaz.org/packages/extra/'
  13.187 +				debug "busybox wget -q -T 30 -U '$UA' '${mirror%packages/*}packages/extra/$converted'"
  13.188 +				busybox wget -q -T 30 -U "$UA" "${mirror%packages/*}packages/extra/$converted";;
  13.189 +		esac
  13.190 +		if [ -f "$converted" ]; then
  13.191 +			echo "$extra_cache/$converted"; exit 0
  13.192 +		fi
  13.193 +	fi
  13.194 +
  13.195 +
  13.196 +	# Fails to download converted extra-package; now try to download and execute get-script
  13.197 +	cd ..
  13.198 +	case "$mirror" in
  13.199 +		http://*|https://*|ftp://*)
  13.200 +			# Default 'http://mirror.slitaz.org/packages/cooking/'
  13.201 +			#      -> 'http://mirror.slitaz.org/packages/get/'
  13.202 +			debug "busybox wget -q -T 30 -U '$UA' '${mirror%packages/*}packages/get/$1'"
  13.203 +			busybox wget -q -T 30 -U "$UA" "${mirror%packages/*}packages/get/$1";;
  13.204 +	esac
  13.205 +
  13.206 +	if [ ! -f "$1" ]; then
  13.207 +		# TODO: extra package or extra package script? :) Too complicated...
  13.208 +		die 'Unable to download extra package "%s".' "$(boldify $1)"
  13.209 +	fi
  13.210 +
  13.211 +	# Extra-package script downloaded in the /var/cache/tazpkg/extra/
  13.212 +
  13.213 +	unset_receipt
  13.214 +	PACKAGE="$1"
  13.215 +	script="$(realpath $1)"
  13.216 +	tmp_dir="$(mktemp -d)"; cd "$tmp_dir"
  13.217 +	# Run script
  13.218 +	set -e
  13.219 +	. "$script"
  13.220 +	set +e
  13.221 +
  13.222 +	if [ ! -d "$PACKAGE-$VERSION" ]; then
  13.223 +		abort_package 'Could not download "%s" from "%s". Exiting.' "${TARBALL:-$PACKAGE}" "${WGET_URL:-$WEB_SITE}"
  13.224 +	fi
  13.225 +
  13.226 +	if [ ! -s "$PACKAGE-$VERSION/receipt" ]; then
  13.227 +		# Create receipt (if script not created it early) using variables from script
  13.228 +		cat > "$PACKAGE-$VERSION/receipt" <<EOT
  13.229 +# SliTaz package receipt.
  13.230 +
  13.231 +PACKAGE="$PACKAGE"
  13.232 +VERSION="${VERSION:-unknown}"
  13.233 +CATEGORY="${CATEGORY:-non-free}"
  13.234 +WEB_SITE="$WEB_SITE"
  13.235 +SHORT_DESC="${SHORT_DESC:-$PACKAGE}"
  13.236 +MAINTAINER="${MAINTAINER:-nobody@slitaz.org}"
  13.237 +LICENSE="$LICENSE"
  13.238 +TARBALL="$TARBALL"
  13.239 +WGET_URL="$WGET_URL"
  13.240 +CONFIG_FILES="$CONFIG_FILES"
  13.241 +SUGGESTED="$SUGGESTED"
  13.242 +PROVIDE="$PROVIDE"
  13.243 +DEPENDS="$DEPENDS"
  13.244 +HOST_ARCH="$HOST_ARCH"
  13.245 +TAGS="$TAGS"
  13.246 +EXTRA_SOURCE_FILES="$EXTRA_SOURCE_FILES"
  13.247 +EOT
  13.248 +	fi
  13.249 +
  13.250 +	# Add dependencies which was found to already defined dependencies
  13.251 +	DEPENDS="$(unset DEPENDS; . "$PACKAGE-$VERSION/receipt"; echo $DEPENDS)"
  13.252 +	for i in $(find_depends "$PACKAGE-$VERSION/fs"); do
  13.253 +		case " $DEPENDS " in
  13.254 +			*\ $i\ *) continue;;
  13.255 +		esac
  13.256 +		sed -i "s/^DEPENDS=\"/&$i /" "$PACKAGE-$VERSION/receipt"
  13.257 +	done
  13.258 +
  13.259 +	# Remove empty variables
  13.260 +	sed -i '/=""$/d' "$PACKAGE-$VERSION/receipt"
  13.261 +
  13.262 +	tazpkg pack "$PACKAGE-$VERSION" gzip >&2
  13.263 +
  13.264 +	if [ -z "nocache" ]; then
  13.265 +		# move package to the extra-cache for "get-install" command
  13.266 +		mv -f "$tmp_dir/$PACKAGE-$VERSION.tazpkg" "$extra_cache"
  13.267 +		# Re-make extra packages database
  13.268 +		tazpkg mkdb "$extra_cache" --root='' --forced >/dev/null
  13.269 +	else
  13.270 +		# move package to directory where "tazpkg get" command invoked
  13.271 +		mv -f "$tmp_dir/$PACKAGE-$VERSION.tazpkg" "$CUR_DIR"
  13.272 +	fi
  13.273 +
  13.274 +	# Clean
  13.275 +	rm -rf "$tmp_dir"
  13.276 +
  13.277 +	# Function output: path to package
  13.278 +	echo "$CUR_DIR/$PACKAGE-$VERSION.tazpkg"
  13.279 +}
  13.280 +
  13.281 +
  13.282 +# Download package file to the cache
  13.283 +
  13.284 +get_pkg() {
  13.285 +	# input:  $1 package name either "name" or "name-version"
  13.286 +	#         $2 (internal): empty or 'redo' (when recursive calling)
  13.287 +	# action: download package from mirror to the cache directory
  13.288 +	# output: full path to the downloaded package
  13.289 +
  13.290 +	debug "\nget_pkg('$1', '$2')"
  13.291 +	local repo line namever pkgsum
  13.292 +
  13.293 +	IFS=$'\n'
  13.294 +	for rep in $PRIORITY; do
  13.295 +		[ ! -f "$rep/packages.info" ] && continue
  13.296 +		# If found, output string "<name>-<ver>:<sum>"
  13.297 +		line=$(awk -F$'\t' -vpkg="$1" \
  13.298 +			'$1==pkg || $1"-"$2==pkg {printf "%s-%s:%s", $1, $2, $9; exit}' "$rep/packages.info")
  13.299 +		if [ -n "$line" ]; then
  13.300 +			namever=${line%:*}; pkgsum=${line#*:}
  13.301 +			break
  13.302 +		fi
  13.303 +	done
  13.304 +	unset IFS
  13.305 +
  13.306 +	debug "  rep='$rep'\n  namever='$namever'\n  pkgsum='$pkgsum'"
  13.307 +
  13.308 +	if [ -z "$line" ]; then
  13.309 +		_ 'Unable to find package "%s" in the mirrored packages list.' "$(boldify $1)" >&2
  13.310 +		# Retry with "get-package"; prevent looping with 'redo'
  13.311 +		if [ "$2" != 'redo' ]; then
  13.312 +			get_pkg "get-$1" 'redo'; exit 0
  13.313 +		else
  13.314 +			# Retry with extra-package
  13.315 +			get_pkg_extra "${1#get-}"
  13.316 +			exit 0
  13.317 +		fi
  13.318 +	fi
  13.319 +
  13.320 +	# We need package "$namever.tazpkg" from "$rep" with "$pkgsum"
  13.321 +
  13.322 +	if [ -z "$nocache" ]; then
  13.323 +		# Go to cache for "get-install" command; don't move for "get" command
  13.324 +		debug "cd '$(get_cache_path "$rep")'"
  13.325 +		cd "$(get_cache_path "$rep")"
  13.326 +	fi
  13.327 +
  13.328 +	# Check if package already downloaded
  13.329 +	if [ -f "$namever.tazpkg" ]; then
  13.330 +		[ -z "$nocache" ] && _ 'Package "%s" already in the cache' "$namever" >&2
  13.331 +
  13.332 +		# Check if downloading complete, resume it not complete
  13.333 +		if ! tail -c 2k "$namever.tazpkg" | fgrep -q '00000000TRAILER'; then
  13.334 +			_ 'Continuing package "%s" download' "$namever" >&2
  13.335 +			download_from "$(cat "$rep/mirror")" "$namever.tazpkg"
  13.336 +		fi
  13.337 +	else
  13.338 +		# Package absent in the cache, "cold" downloading
  13.339 +		download_from "$(cat "$rep/mirror")" "$namever.tazpkg"
  13.340 +	fi
  13.341 +
  13.342 +	# Make sure we downloaded what we want with checksum
  13.343 +
  13.344 +	if [ "$($CHECKSUM "$namever.tazpkg" | cut -d' ' -f1)" != "$pkgsum" ]; then
  13.345 +		_ 'Checksum error for "%s"' "$namever.tazpkg"
  13.346 +		rm "$namever.tazpkg"
  13.347 +
  13.348 +		# Recharge DBs and try again; prevent looping with 'redo'
  13.349 +		if [ "$2" != 'redo' ]; then
  13.350 +			tazpkg recharge >&2
  13.351 +			get_pkg "$1" 'redo'; exit 0
  13.352 +		else
  13.353 +			# Give up
  13.354 +			# TODO: try another mirror?
  13.355 +			die 'Please wait until the mirror synchronization is complete and try again.'
  13.356 +		fi
  13.357 +	fi
  13.358 +
  13.359 +	# Output: path to downloaded package
  13.360 +	printf '%s/%s.tazpkg\n' "$(pwd)" "$namever"
  13.361 +}
  13.362 +
  13.363 +
  13.364 +
  13.365 +
  13.366 +if [ -n "$extra" ]; then
  13.367 +	# When '--extra' option given, extra-package has priority over 'regular' packages
  13.368 +	get_pkg_extra "$1"
  13.369 +else
  13.370 +	# Try to get 'package', then 'get-package', then extra 'package'
  13.371 +	get_pkg "$1"
  13.372 +fi
    14.1 --- a/modules/getenv	Sun Sep 06 12:48:04 2015 +0200
    14.2 +++ b/modules/getenv	Mon Oct 05 03:53:47 2015 +0300
    14.3 @@ -4,26 +4,45 @@
    14.4  # Get TazPkg working environment
    14.5  
    14.6  
    14.7 +# Set up the aliases to guaranteed to work with Busybox applets rather with the GNU Coreutils ones
    14.8 +# due to some incompatibilities.
    14.9 +# Please don't hesitate to expand or shrink this list (with justification).
   14.10 +for i in awk basename bzcat cat chmod chroot clear cmp cp cpio cut date dd diff dirname dpkg-deb \
   14.11 +	du egrep fgrep find grep gzip head httpd id ln ls lzcat md5sum mkdir mktemp mv readlink \
   14.12 +	realpath rm rmdir rpm rpm2cpio sed sort stat su tac tail tar tee touch tr tty uniq unlzma wc \
   14.13 +	wget which xzcat zcat; do
   14.14 +	alias $i="busybox $i"
   14.15 +done
   14.16 +
   14.17 +
   14.18 +. /lib/libtaz.sh
   14.19 +
   14.20 +# Report error and finish work
   14.21 +die() { longline "$(_ "$@")" >&2; exit 1; }
   14.22 +
   14.23 +# Show debug messages
   14.24 +debug() { if [ -n "$debug" ]; then colorize 036 "$@" >&2; fi; }
   14.25 +
   14.26 +debug "\n========\n$0 '$1' '$2' '$3' '$4'"
   14.27 +
   14.28  # Check and re-create files and folders (if permissions enough)
   14.29 -missing() {
   14.30 -	case $1 in
   14.31 -		file)
   14.32 -			if [ ! -f "$2" ]; then
   14.33 -				case $(id -u) in
   14.34 -					0)  mkdir -p "$(dirname "$2")"; touch "$2"
   14.35 -						[ -n "$3" ] && cp -a "$3" "$(dirname "$2")"
   14.36 -						;;
   14.37 -					*) _ 'Missing: %s' "$2"; _ 'Please run tazpkg as root.'; exit 1;;
   14.38 -				esac
   14.39 -			fi;;
   14.40 -		dir)
   14.41 -			if [ ! -d "$2" ]; then
   14.42 -				case $(id -u) in
   14.43 -					0) mkdir -p "$2";;
   14.44 -					*) _ 'Missing: %s' "$2"; _ 'Please run tazpkg as root.'; exit 1;;
   14.45 -				esac
   14.46 -			fi;;
   14.47 -	esac
   14.48 +missing_file() {
   14.49 +	if [ ! -f "$1" ]; then
   14.50 +		case $(id -u) in
   14.51 +			0)  mkdir -p "$(dirname "$1")"; touch "$1"
   14.52 +				[ -n "$2" ] && cp -a "$2" "$(dirname "$1")"
   14.53 +				;;
   14.54 +			*) _ 'Missing: %s' "$1" >&2; die 'Please run tazpkg as root.';;
   14.55 +		esac
   14.56 +	fi
   14.57 +}
   14.58 +missing_dir() {
   14.59 +	if [ ! -d "$1" ]; then
   14.60 +		case $(id -u) in
   14.61 +			0) mkdir -p "$1";;
   14.62 +			*) _ 'Missing: %s' "$1" >&2; die 'Please run tazpkg as root.';;
   14.63 +		esac
   14.64 +	fi
   14.65  }
   14.66  
   14.67  # Fill empty file with value
   14.68 @@ -31,7 +50,7 @@
   14.69  	if [ ! -s "$1" ]; then
   14.70  		case $(id -u) in
   14.71  			0) echo "$2" > "$1";;
   14.72 -			*) _ 'File "%s" empty.' "$1"; _ 'Please run tazpkg as root.'; exit 1;;
   14.73 +			*) _ 'File "%s" empty.' "$1" >&2; die 'Please run tazpkg as root.';;
   14.74  		esac
   14.75  	fi
   14.76  }
   14.77 @@ -39,11 +58,15 @@
   14.78  
   14.79  
   14.80  
   14.81 +# Normalize $root
   14.82 +root="${root%/}"
   14.83 +debug "root        = '$root'"
   14.84 +
   14.85  # Setup main config files
   14.86 -missing dir  "$root/etc/slitaz/"
   14.87 -missing file "$root/etc/slitaz/slitaz.conf" '/etc/slitaz/slitaz.conf'
   14.88 -missing file "$root/etc/slitaz/tazpkg.conf" '/etc/slitaz/tazpkg.conf'
   14.89 -missing file "$root/etc/slitaz-release"; fill "$root/etc/slitaz-release" 'cooking'
   14.90 +missing_dir  "$root/etc/slitaz/"
   14.91 +missing_file "$root/etc/slitaz/slitaz.conf" '/etc/slitaz/slitaz.conf'
   14.92 +missing_file "$root/etc/slitaz/tazpkg.conf" '/etc/slitaz/tazpkg.conf'
   14.93 +missing_file "$root/etc/slitaz-release"; fill "$root/etc/slitaz-release" 'cooking'
   14.94  
   14.95  # Read configuration
   14.96  if [ -n "$root" ]; then
   14.97 @@ -57,41 +80,55 @@
   14.98  	. /etc/slitaz/slitaz.conf; . /etc/slitaz/tazpkg.conf
   14.99  fi
  14.100  
  14.101 +debug "PKGS_DB     = '$PKGS_DB'"
  14.102 +debug "INSTALLED   = '$INSTALLED'"
  14.103 +debug "SLITAZ_LOGS = '$SLITAZ_LOGS'"
  14.104 +debug "LOG         = '$LOG'"
  14.105 +
  14.106  BLOCKED="$PKGS_DB/blocked-packages.list"
  14.107 +debug "BLOCKED     = '$BLOCKED'"
  14.108  UP_LIST="$PKGS_DB/packages.up"
  14.109 +debug "UP_LIST     = '$UP_LIST'"
  14.110 +debug "CACHE_DIR   = '$CACHE_DIR'"
  14.111 +SAVE_CACHE_DIR="$CACHE_DIR"
  14.112 +
  14.113  
  14.114  # Re-create TazPkg working folders and files
  14.115  for dir in "$PKGS_DB" "$CACHE_DIR" "$INSTALLED" "$SLITAZ_LOGS"; do
  14.116 -	missing dir "$dir"
  14.117 +	missing_dir "$dir"
  14.118  done
  14.119  for file in "$BLOCKED" "$UP_LIST" "$LOG" "$PKGS_DB/packages.info" "$PKGS_DB/mirror"; do
  14.120 -	missing file "$file"
  14.121 +	missing_file "$file"
  14.122  done
  14.123  fill "$PKGS_DB/mirror" "${ONLINE_PKGS%/}/"
  14.124  
  14.125 +
  14.126  # Check for installed.info
  14.127  info_path="$PKGS_DB/installed.info"
  14.128 -missing file "$info_path"
  14.129 +missing_file "$info_path"
  14.130  if [ ! -s "$info_path" ]; then
  14.131  	# Empty installed.info
  14.132 -	if [ "$(id -u)" -eq 0 ]; then
  14.133 -		# Root can re-create installed.info
  14.134 -		_ 'File "%s" generated. Please wait...' 'installed.info'
  14.135 -		for pkg in $(find "$INSTALLED" -name receipt); do
  14.136 -			unset PACKAGE VERSION EXTRAVERSION CATEGORY SHORT_DESC WEB_SITE \
  14.137 -				TAGS PACKED_SIZE UNPACKED_SIZE DEPENDS
  14.138 -			. $pkg
  14.139 -			SIZES=$(echo $PACKED_SIZE $UNPACKED_SIZE | sed 's|\.0||g')
  14.140 -			# remove newlines from some receipts
  14.141 -			DEPENDS=$(echo $DEPENDS)
  14.142 -			MD5="$(fgrep " $PACKAGE-$VERSION$EXTRAVERSION.tazpkg" "$PKGS_DB/installed.md5" | awk '{print $1}')"
  14.143 -			cat >> "$info_path" << EOT
  14.144 +	if [ -n "$(ls "$INSTALLED")" ]; then
  14.145 +		# Some packages are installed
  14.146 +		if [ "$(id -u)" -eq 0 ]; then
  14.147 +			# Root can re-create installed.info
  14.148 +			_ 'File "%s" generated. Please wait...' 'installed.info' >&2
  14.149 +			for pkg in $(find "$INSTALLED" -name receipt); do
  14.150 +				unset PACKAGE VERSION EXTRAVERSION CATEGORY SHORT_DESC WEB_SITE \
  14.151 +					TAGS PACKED_SIZE UNPACKED_SIZE DEPENDS
  14.152 +				. $pkg
  14.153 +				SIZES=$(echo $PACKED_SIZE $UNPACKED_SIZE | sed 's|\.0||g')
  14.154 +				# remove newlines from some receipts
  14.155 +				DEPENDS=$(echo $DEPENDS)
  14.156 +				MD5="$(fgrep " $PACKAGE-$VERSION$EXTRAVERSION.tazpkg" "$PKGS_DB/installed.md5" | awk '{print $1}')"
  14.157 +				cat >> "$info_path" << EOT
  14.158  $PACKAGE	$VERSION$EXTRAVERSION	$CATEGORY	$SHORT_DESC	$WEB_SITE	$TAGS	$SIZES	$DEPENDS	$MD5
  14.159  EOT
  14.160 -		done
  14.161 -	else
  14.162 -		# User can't re-create installed.info
  14.163 -		fill "$info_path"
  14.164 +			done
  14.165 +		else
  14.166 +			# User can't re-create installed.info
  14.167 +			fill "$info_path"
  14.168 +		fi
  14.169  	fi
  14.170  else
  14.171  	# Non-empty installed.info
  14.172 @@ -100,7 +137,7 @@
  14.173  	if [ -n "$(awk -F$'\t' 'BEGIN{ n = "" } { if(NF != 9){ n = "o"; } } END{ print n }' $info_path)" ]; then
  14.174  		if [ "$(id -u)" -eq 0 ]; then
  14.175  			# Root can re-create it
  14.176 -			_n 'File "%s" generated. Please wait...' 'installed.info.new'
  14.177 +			_n 'File "%s" generated. Please wait...' 'installed.info.new' >&2
  14.178  			awk -F$'\t' -vm="$PKGS_DB/installed.md5" 'BEGIN{OFS="\t"}
  14.179  			{
  14.180  				if (NF != 9) {
  14.181 @@ -114,23 +151,39 @@
  14.182  			status
  14.183  		else
  14.184  			# User can't re-create it
  14.185 -			_ 'Old "%s".' 'installed.info'
  14.186 -			_ 'Please run tazpkg as root.'
  14.187 -			exit 1
  14.188 +			_ 'Old "%s".' 'installed.info' >&2; die 'Please run tazpkg as root.'
  14.189  		fi
  14.190  	fi
  14.191  fi
  14.192  
  14.193  
  14.194 -if [ -n "$debug" ]; then
  14.195 -	cat <<EOT
  14.196 -root        = "$root"
  14.197 -PKGS_DB     = "$PKGS_DB"
  14.198 -CACHE_DIR   = "$CACHE_DIR"
  14.199 -INSTALLED   = "$INSTALLED"
  14.200 -BLOCKED     = "$BLOCKED"
  14.201 -UP_LIST     = "$UP_LIST"
  14.202 -SLITAZ_LOGS = "$SLITAZ_LOGS"
  14.203 -LOG         = "$LOG"
  14.204 -EOT
  14.205 +# Check for packages.info
  14.206 +if [ ! -s "$PKGS_DB/packages.info" -a "$(id -u)" -eq 0 -a "$0" != '@@MODULES@@/recharge' ]; then
  14.207 +	@@MODULES@@/recharge >&2
  14.208  fi
  14.209 +
  14.210 +
  14.211 +
  14.212 +# Get repositories priority using $PKGS_DB/priority.
  14.213 +# In this file undigest repos are called by their names and main mirror by 'main'
  14.214 +
  14.215 +PRIORITY="$(
  14.216 +{
  14.217 +	[ -s "$PKGS_DB/priority" ] && cat "$PKGS_DB/priority"
  14.218 +	echo 'main'
  14.219 +	[ -d "$PKGS_DB/undigest" ] && ls "$PKGS_DB/undigest"
  14.220 +} | awk -vv="$PKGS_DB/undigest/" '{
  14.221 +	if(arr[$0] != 1) { arr[$0]=1; print v $0; }
  14.222 +}' | sed 's|/undigest/main||')"
  14.223 +debug "PRIORITY    = '$PRIORITY'"
  14.224 +
  14.225 +
  14.226 +# TazPkg version
  14.227 +export VERSION=$(awk -F$'\t' '$1=="tazpkg"{print $2;exit}' "$PKGS_DB/installed.info")
  14.228 +# User Agent
  14.229 +export UA="TazPkg-${VERSION:-Unknown}"
  14.230 +debug "UA          = '$UA'"
  14.231 +
  14.232 +CUR_DIR="$(pwd)"
  14.233 +
  14.234 +debug '-- end getenv --'
    15.1 --- a/modules/help	Sun Sep 06 12:48:04 2015 +0200
    15.2 +++ b/modules/help	Mon Oct 05 03:53:47 2015 +0300
    15.3 @@ -127,12 +127,8 @@
    15.4  title=$(echo $commands | grep -oe ":$T\(,[^:]*\)*:" | tr -d : | sed 's|,|, |g')
    15.5  
    15.6  
    15.7 -# style: <h3 id="TOPIC">
    15.8 -HLP=$(sed "/id=\"$T\"/,/<h3/!d; /<h3/d; /<\/h3/d; /<h2/,\$d" $DOC)
    15.9 -if [ -z "$HLP" ]; then
   15.10 -	# style: <a name="TOPIC"></a>
   15.11 -	HLP=$(sed "/name=\"$T\"/,/name=/!d; /name=/d; /<h3/d; /<h2/,\$d" $DOC)
   15.12 -fi
   15.13 +# style: <article id="TOPIC">
   15.14 +HLP=$(sed "/article id=\"$T\"/,/<\/article/!d; /<article/d; /<\/article/d" $DOC)
   15.15  
   15.16  if [ -z "$HLP" ]; then
   15.17  	_ 'Sorry, no help for "%s"' "$QUERY"
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/modules/install	Mon Oct 05 03:53:47 2015 +0300
    16.3 @@ -0,0 +1,583 @@
    16.4 +#!/bin/sh
    16.5 +# TazPkg - Tiny autonomous zone packages manager, hg.slitaz.org/tazpkg
    16.6 +# install - TazPkg module
    16.7 +# Install packages
    16.8 +
    16.9 +
   16.10 +# Connect function libraries
   16.11 +. /lib/libtaz.sh
   16.12 +. /usr/lib/slitaz/libpkg.sh
   16.13 +
   16.14 +
   16.15 +# Get TazPkg working environment
   16.16 +. @@MODULES@@/getenv
   16.17 +# $CACHE_DIR will change, it based on unchanged value of $SAVE_CACHE_DIR
   16.18 +SAVE_CACHE_DIR="$CACHE_DIR"
   16.19 +
   16.20 +
   16.21 +. @@MODULES@@/find-depends
   16.22 +
   16.23 +
   16.24 +
   16.25 +
   16.26 +# Log TazPkg activity
   16.27 +
   16.28 +log_pkg() {
   16.29 +	debug "\nlog_pkg('$1')\n  PACKAGE='$PACKAGE'\n  VERSION='$VERSION'\n  EXTRAVERSION='$EXTRAVERSION'"
   16.30 +
   16.31 +	local extra
   16.32 +
   16.33 +	[ "$1" == 'Installed' ] && \
   16.34 +	extra=" - $(fgrep " $PACKAGE-$VERSION" "$PKGS_DB/installed.$SUM" | awk '{print $1}')"
   16.35 +	debug "  extra='$extra'"
   16.36 +
   16.37 +	[ -w "$LOG" ] &&
   16.38 +	echo "$(date +'%F %T') - $1 - $PACKAGE ($VERSION$EXTRAVERSION)$extra" >> $LOG
   16.39 +}
   16.40 +
   16.41 +
   16.42 +# get an already installed package from packages.equiv
   16.43 +
   16.44 +equivalent_pkg() {
   16.45 +	# input: $1 = package name (like "nano")
   16.46 +	local i rep rules rule out
   16.47 +
   16.48 +	rules=$(for rep in $PRIORITY; do
   16.49 +			grep -hs "^$1=" "$rep/packages.equiv"
   16.50 +		done | sed "s|^$1=||")
   16.51 +	debug "  >rules='$rules'"
   16.52 +
   16.53 +	for rule in $rules; do
   16.54 +		debug "  >rule='$rule'"
   16.55 +		case $rule in
   16.56 +			*:*)
   16.57 +				debug '-- x:x'
   16.58 +				# format 'alternative:newname'
   16.59 +				# if alternative is installed then substitute newname
   16.60 +				out="${rule#*:}"
   16.61 +				awk -F$'\t' -vp="${rule%:*}" '$1==p{exit 1}' "$PKGS_DB/installed.info" || break
   16.62 +				debug '-- x:x /'
   16.63 +				;;
   16.64 +			*)
   16.65 +				debug '-- x'
   16.66 +				# unconditional substitution
   16.67 +				out="$rule"
   16.68 +				awk -F$'\t' -vp="$rule" '$1==p{exit 1}' "$PKGS_DB/installed.info" || break
   16.69 +				debug '-- x /'
   16.70 +				;;
   16.71 +		esac
   16.72 +		unset out
   16.73 +	done
   16.74 +	debug '--'
   16.75 +	# if not found in packages.equiv then no substitution
   16.76 +	echo "${out:-$1}"
   16.77 +}
   16.78 +
   16.79 +
   16.80 +# Check and install all missing deps.
   16.81 +# Auto install or ask user then install all missing deps from local dir, CD-ROM,
   16.82 +# media or from the mirror.
   16.83 +
   16.84 +install_all_deps() {				# READY!!!
   16.85 +	# input: $1 = package file to check/install missing dependencies
   16.86 +	# ROOT READY
   16.87 +	# dep: equivalent_pkg.
   16.88 +
   16.89 +	debug "\ninstall_all_deps('$1')"
   16.90 +
   16.91 +	local TMP_DIR DEPENDS num missing_packages equiv pkg answer dir found pkgfile
   16.92 +
   16.93 +	# Check for missing deps listed in a receipt packages.
   16.94 +
   16.95 +	# Get the receipt's variable DEPENDS
   16.96 +	DEPENDS=$(
   16.97 +		TMP_DIR=$(mktemp -d); cd "$TMP_DIR"
   16.98 +		cpio --quiet -i receipt >/dev/null 2>&1
   16.99 +		. receipt; echo $DEPENDS
  16.100 +		rm -rf "$TMP_DIR"
  16.101 +	) < "$1"
  16.102 +
  16.103 +	unset num missing_packages
  16.104 +	for depend in $DEPENDS; do
  16.105 +		debug "  depend='$depend'"
  16.106 +		equiv=$(equivalent_pkg $depend)
  16.107 +		debug "  equiv='$equiv'\n"
  16.108 +		if [ ! -d "$INSTALLED/$equiv" ]; then
  16.109 +			missing_packages="$missing_packages $equiv"
  16.110 +			num=$((num+1))
  16.111 +		elif [ ! -f "$INSTALLED/$equiv/receipt" ]; then
  16.112 +			_ 'WARNING! Dependency loop between "%s" and "%s".' "$PACKAGE" "$equiv"
  16.113 +		fi
  16.114 +	done
  16.115 +
  16.116 +	# Nothing to install, exit function
  16.117 +	[ -z "$num" ] && return
  16.118 +
  16.119 +
  16.120 +	title "$(_ 'Tracking dependencies for package "%s"' "$PACKAGE")"
  16.121 +
  16.122 +	# Individual messages for each missing package
  16.123 +	for pkg in $missing_packages; do
  16.124 +		_ 'Missing package "%s"' "$pkg"
  16.125 +	done
  16.126 +
  16.127 +	footer "$(_p \
  16.128 +		'%s missing package to install.' \
  16.129 +		'%s missing packages to install.' "$num" \
  16.130 +		"$num")"
  16.131 +
  16.132 +
  16.133 +	if [ "$AUTO_INSTALL_DEPS" == 'yes' ]; then
  16.134 +		answer=0
  16.135 +	else
  16.136 +		newline
  16.137 +		confirm "$(_ 'Install all missing dependencies? (y/N)')"
  16.138 +		answer=$?
  16.139 +		newline
  16.140 +	fi
  16.141 +	debug "  answer='$answer'"
  16.142 +
  16.143 +	dir="$(dirname "$1")"
  16.144 +	debug "  dir='$dir'"
  16.145 +
  16.146 +	# We can install packages from /home/boot/packages at a boot time
  16.147 +	# Also we can prefer local packages over mirrored/cached using '--local' option
  16.148 +	[ "$dir" == '/home/boot/packages' ] && local='yes'
  16.149 +	debug "  local='$local'"
  16.150 +	[ -n "$local" ] && tazpkg mkdb "$dir" --forced >/dev/null
  16.151 +
  16.152 +
  16.153 +	# "--nodeps" option prevents to install dependencies
  16.154 +	if [ "$answer" -eq 0 -a -z "$nodeps" ]; then
  16.155 +		debug "  let's install missing packages"
  16.156 +		for pkg in $missing_packages; do
  16.157 +			debug "  pkg='$pkg'"
  16.158 +			if [ ! -d "$INSTALLED/$pkg" ]; then
  16.159 +				# Package not installed
  16.160 +
  16.161 +				found='0'
  16.162 +				# Prefer local packages
  16.163 +				if [ -n "$local" ]; then
  16.164 +					_ 'Checking if package "%s" exists in local list...' "$pkg"
  16.165 +					pkgfile=$(awk -F$'\t' -vp="$pkg" '
  16.166 +						$1==p{printf "%s-%s.tazpkg", $1, $2; exit 1}
  16.167 +						' "$dir/packages.info")
  16.168 +					if [ -n "$pkgfile" ]; then
  16.169 +						found='1'
  16.170 +						tazpkg install "$dir/$pkgfile"
  16.171 +					fi
  16.172 +				fi
  16.173 +				debug "    found='$found'"
  16.174 +
  16.175 +				# Install package from the mirror
  16.176 +				[ "$found" -eq 0 ] && tazpkg get-install "$pkg"
  16.177 +			fi
  16.178 +		done
  16.179 +	else
  16.180 +		# Answered 'No' to install dependencies, or '--nodeps' option given
  16.181 +		newline
  16.182 +		_ 'Leaving dependencies for package "%s" unresolved.' "$PACKAGE"
  16.183 +		_ 'The package is installed but will probably not work.'
  16.184 +		newline
  16.185 +	fi
  16.186 +}
  16.187 +
  16.188 +
  16.189 +# Extract a package with cpio and gzip/lzma.
  16.190 +
  16.191 +extract_package() {
  16.192 +	# input: $1 - path to package to be extracted; package should be in the current dir
  16.193 +	# ROOT INDEPENDENT
  16.194 +	action 'Extracting package...'
  16.195 +
  16.196 +	# Extract "outer layer": cpio; remove the original package file
  16.197 +	cpio -idm --quiet < "$1" && rm -f "$1"
  16.198 +
  16.199 +	# "Inner layer" may vary
  16.200 +	if [ -f fs.cpio.lzma ]; then
  16.201 +		# "Plain" cpio.lzma
  16.202 +		unlzma < fs.cpio.lzma | cpio -idm --quiet && rm fs.cpio.lzma
  16.203 +	elif [ -f fs.cpio.gz ]; then
  16.204 +		# "Fast" cpio.gz (used to pack-then-install process in most of get-packages)
  16.205 +		zcat fs.cpio.gz | cpio -idm --quiet && rm fs.cpio.gz
  16.206 +	fi
  16.207 +
  16.208 +	status
  16.209 +}
  16.210 +
  16.211 +
  16.212 +# Print short package description
  16.213 +
  16.214 +print_short_description() {
  16.215 +	# TODO: undigest repo support? priority...
  16.216 +	# ROOT READY
  16.217 +	local short_desc=''
  16.218 +
  16.219 +	# Try to find localized short description
  16.220 +	for LC in $LANG ${LANG%_*}; do
  16.221 +		[ -e "$PKGS_DB/packages-desc.$LC" ] &&
  16.222 +			short_desc=$(awk -F$'\t' -vp="$1" '$1==p{print $2; exit}' "$PKGS_DB/packages-desc.$LC")
  16.223 +	done
  16.224 +
  16.225 +	# Try to find short description for mirrored package
  16.226 +	[ -z "$short_desc" -a -s "$PKGS_DB/packages.info" ] &&
  16.227 +		short_desc=$(awk -F$'\t' -vp="$1" '$1==p{print $4; exit}' "$PKGS_DB/packages.info")
  16.228 +
  16.229 +	[ -z "$short_desc" ] && short_desc="$SHORT_DESC"
  16.230 +
  16.231 +	longline "$short_desc"
  16.232 +}
  16.233 +
  16.234 +
  16.235 +grepesc() {
  16.236 +	sed 's/\[/\\[/g'
  16.237 +}
  16.238 +
  16.239 +
  16.240 +
  16.241 +
  16.242 +#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*
  16.243 +
  16.244 +# Block of receipt function callers
  16.245 +# Why? "Bad" receipt sourcing can redefine some vital TazPkg variables.
  16.246 +# Few receipts function should be patched now.
  16.247 +
  16.248 +# Input: $1 = path to the receipt to be processed
  16.249 +
  16.250 +# Pre-install commands
  16.251 +call_pre_install() {
  16.252 +	local tmp
  16.253 +	if grep -q '^pre_install()' "$1"; then
  16.254 +		action 'Execute pre-install commands...'
  16.255 +		tmp="$(mktemp)"
  16.256 +		cp "$1" "$tmp"
  16.257 +		sed -i 's|$1/*$INSTALLED|$INSTALLED|g' "$tmp"
  16.258 +		( . "$tmp"; pre_install "$root" )
  16.259 +		status
  16.260 +		rm "$tmp"
  16.261 +	fi
  16.262 +
  16.263 +}
  16.264 +
  16.265 +call_post_install() {
  16.266 +	local tmp
  16.267 +	if grep -q '^post_install()' "$1"; then
  16.268 +		action 'Execute post-install commands...'
  16.269 +		tmp="$(mktemp)"
  16.270 +		cp "$1" "$tmp"
  16.271 +		sed -i 's|$1/*$INSTALLED|$INSTALLED|g' "$tmp"
  16.272 +		( . "$tmp"; post_install "$root" )
  16.273 +		status
  16.274 +		rm "$tmp"
  16.275 +	fi
  16.276 +}
  16.277 +
  16.278 +
  16.279 +#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*
  16.280 +
  16.281 +
  16.282 +# This function installs a package in the rootfs.
  16.283 +
  16.284 +install_package() {
  16.285 +	# input: $1 = path to package to be installed
  16.286 +	# dep: install_all_deps, print_short_description, extract_package, grepesc.
  16.287 +
  16.288 +	debug "\ninstall_package('$1')"
  16.289 +	local dir
  16.290 +
  16.291 +	PACKAGE_FILE="$1"
  16.292 +	TMP_DIR="$(mktemp -d)"
  16.293 +
  16.294 +	# Get receipt's variables and functions
  16.295 +	{ cd "$TMP_DIR"; cpio --quiet -i receipt >/dev/null 2>&1; } < "$PACKAGE_FILE"
  16.296 +	# Why next code? "Bad" receipt sourcing can redefine some vital TazPkg variables.
  16.297 +	(
  16.298 +		. "$TMP_DIR/receipt"
  16.299 +		cat > "$TMP_DIR/receipt.var" <<EOT
  16.300 +PACKAGE="$PACKAGE"
  16.301 +VERSION="$VERSION"
  16.302 +EXTRAVERSION="$EXTRAVERSION"
  16.303 +CATEGORY="$CATEGORY"
  16.304 +SHORT_DESC="$SHORT_DESC"
  16.305 +WEB_SITE="$WEB_SITE"
  16.306 +TAGS="$TAGS"
  16.307 +DEPENDS="$DEPENDS"
  16.308 +CONFIG_FILES="$CONFIG_FILES"
  16.309 +PACKED_SIZE="$PACKED_SIZE"
  16.310 +UNPACKED_SIZE="$UNPACKED_SIZE"
  16.311 +EOT
  16.312 +		rm "$TMP_DIR/receipt"
  16.313 +	)
  16.314 +	. "$TMP_DIR/receipt.var"
  16.315 +
  16.316 +
  16.317 +	# Make sure folder exists on new installs or upgrades
  16.318 +	mkdir -p "$INSTALLED/$PACKAGE"
  16.319 +
  16.320 +	# Keep "modifiers" and "files.list" on upgrade
  16.321 +	find "$INSTALLED/$PACKAGE" -type f \( ! -name modifiers ! -name files.list \) -delete
  16.322 +
  16.323 +	# Update "installed.md5"
  16.324 +	# TODO: discontinue using 'installed.md5'
  16.325 +	touch "$PKGS_DB/installed.$SUM"
  16.326 +	sed -i "/ $(basename "$PACKAGE_FILE")$/d" "$PKGS_DB/installed.$SUM" 2>/dev/null
  16.327 +	cd "$(dirname "$PACKAGE_FILE")"
  16.328 +	$CHECKSUM "$(basename "$PACKAGE_FILE")" >> "$PKGS_DB/installed.$SUM"
  16.329 +
  16.330 +	# Resolve package dependencies before package installation
  16.331 +	install_all_deps "$PACKAGE_FILE"
  16.332 +
  16.333 +
  16.334 +	# TODO: why this list-processed in the $PKGS_DB?
  16.335 +	#[ -n "$INSTALL_LIST" ] && echo "$PACKAGE_FILE" >> "$PKGS_DB/$INSTALL_LIST-processed"
  16.336 +
  16.337 +	if [ -n "$sequence" ]; then
  16.338 +		title 'Installation of package "%s" (%s)' "$PACKAGE" "$sequence"
  16.339 +	else
  16.340 +		title 'Installation of package "%s"' "$PACKAGE"
  16.341 +	fi
  16.342 +
  16.343 +	print_short_description "$PACKAGE"
  16.344 +	separator '-'
  16.345 +
  16.346 +	action 'Copying package...'
  16.347 +	cp "$PACKAGE_FILE" "$TMP_DIR"
  16.348 +	status
  16.349 +
  16.350 +	cd "$TMP_DIR"
  16.351 +	extract_package "$(basename "$PACKAGE_FILE")"
  16.352 +
  16.353 +	# Include temporary receipt to get the right variables
  16.354 +	. "$TMP_DIR/receipt.var"
  16.355 +
  16.356 +	cd "$INSTALLED"
  16.357 +
  16.358 +
  16.359 +	# Get files to remove if upgrading
  16.360 +	# IFS here modified temporarily for processing filenames with spaces
  16.361 +	IFS=$'\n'
  16.362 +	if [ -f "$PACKAGE/files.list" ]; then
  16.363 +		while read file; do
  16.364 +			grep -q "^$(echo "$file" | grepesc)$" "$TMP_DIR/files.list" && continue
  16.365 +			for i in $(cat "$PACKAGE/modifiers" 2>/dev/null;
  16.366 +				fgrep -sl "$PACKAGE" */modifiers | cut -d/ -f1); do
  16.367 +				grep -qs "^$(echo "$file" | grepesc)$" "$i/files.list" && continue 2
  16.368 +			done
  16.369 +			echo "$file"
  16.370 +		done < "$PACKAGE/files.list" > "$TMP_DIR/files2remove.list"
  16.371 +	fi
  16.372 +	unset IFS
  16.373 +
  16.374 +
  16.375 +	# Remember modified packages
  16.376 +	action 'Remember modified packages...'
  16.377 +	{
  16.378 +		check=false
  16.379 +		# TODO: why '[' the special?
  16.380 +		# FIXME: we have files with spaces in our packages!
  16.381 +		for i in $(fgrep -v [ $TMP_DIR/files.list); do
  16.382 +			[ -e "$root$i" ] || continue
  16.383 +			[ -d "$root$i" ] && continue
  16.384 +			echo "- $i"
  16.385 +			check=true
  16.386 +		done ;
  16.387 +		$check && \
  16.388 +		for i in *; do
  16.389 +			[ "$i" == "$PACKAGE" ] && continue
  16.390 +			[ -s "$i/files.list" ] || continue
  16.391 +			awk "{ printf \"$i %s\\n\",\$1 }" < "$i/files.list"
  16.392 +		done;
  16.393 +	} | awk '
  16.394 +{
  16.395 +	if ($1 == "-" || file[$2] != "") {
  16.396 +		file[$2] = file[$2] " " $1
  16.397 +		if ($1 != "-") {
  16.398 +			if (pkg[$1] == "") all = all " " $1
  16.399 +			pkg[$1] = pkg[$1] " " $2
  16.400 +		}
  16.401 +	}
  16.402 +}
  16.403 +END {
  16.404 +	for (i = split(all, p, " "); i > 0; i--)
  16.405 +		for (j = split(pkg[p[i]], f, " "); j > 0; j--)
  16.406 +			printf "%s %s\n",p[i],f[j];
  16.407 +}
  16.408 +		' | while read dir file; do
  16.409 +		if grep -qs "^$dir$" "$PACKAGE/modifiers"; then
  16.410 +			# Do not overload an overloaded file !
  16.411 +			rm "$TMP_DIR/$file" 2>/dev/null
  16.412 +			continue
  16.413 +		fi
  16.414 +		grep -qs "^$PACKAGE$" "$dir/modifiers" && continue
  16.415 +		if [ -s "$dir/volatile.cpio.gz" ]; then
  16.416 +			# We can modify backed up files without notice
  16.417 +			zcat "$dir/volatile.cpio.gz" | cpio -t --quiet | \
  16.418 +				grep -q "^${file#/}$" && continue
  16.419 +		fi
  16.420 +		echo "$PACKAGE" >> "$dir/modifiers"
  16.421 +	done
  16.422 +	status
  16.423 +
  16.424 +
  16.425 +	cd "$TMP_DIR"
  16.426 +	# Copy receipt, etc.
  16.427 +	for file in receipt files.list description.txt $CHECKSUM; do
  16.428 +		[ -f "$file" ] && cp "$file" "$INSTALLED/$PACKAGE"
  16.429 +	done
  16.430 +
  16.431 +
  16.432 +	# Pre-install commands
  16.433 +	call_pre_install "$INSTALLED/$PACKAGE/receipt"
  16.434 +
  16.435 +
  16.436 +	if [ -n "$CONFIG_FILES" ]; then
  16.437 +		# Save "official" configuration files
  16.438 +		action 'Saving configuration files...'
  16.439 +		debug "\n"
  16.440 +
  16.441 +		cd fs
  16.442 +		local config_file
  16.443 +		for config_file in $CONFIG_FILES; do
  16.444 +			debug "  config_file: '$config_file'"
  16.445 +			find ${config_file#/} -type f 2>/dev/null
  16.446 +		done | cpio -o -H newc --quiet | gzip -9 > "$INSTALLED/$PACKAGE/volatile.cpio.gz"
  16.447 +		cd ..
  16.448 +
  16.449 +		if [ -z "$newconf" ]; then
  16.450 +			debug "  no '--newconf': clean official config files"
  16.451 +			# Keep user configuration files: remove "official" from fs tree
  16.452 +			for config_file in $CONFIG_FILES; do
  16.453 +				debug "    remove '$config_file'"
  16.454 +				[ -d "fs$config_file" ] && rm -r "fs$config_file"
  16.455 +				[ -e "fs$config_file" ] && rm    "fs$config_file"
  16.456 +			done
  16.457 +		fi
  16.458 +		# always '[ Done ]' status, unless '--newconf' is passed or not
  16.459 +		:; status
  16.460 +	fi
  16.461 +
  16.462 +
  16.463 +	action 'Installing package...'
  16.464 +	[ -n "$(busybox ls fs/* 2>/dev/null)" ] && cp -aLf fs/* "$root/"
  16.465 +	status
  16.466 +
  16.467 +
  16.468 +	if [ -s files2remove.list ]; then
  16.469 +		action 'Removing old files...'
  16.470 +		while read file; do
  16.471 +			dir="$root$file"
  16.472 +			# Remove specified file
  16.473 +			rm -f "$dir"
  16.474 +			# Recursive remove non-empty up-dirs
  16.475 +			while [ "$dir" != "$root/" ]; do
  16.476 +				dir=$(dirname "$dir")
  16.477 +				rmdir "$dir" 2>/dev/null || break
  16.478 +			done
  16.479 +		done < files2remove.list
  16.480 +		true
  16.481 +		status
  16.482 +	fi
  16.483 +
  16.484 +
  16.485 +	# Remove the temporary random directory.
  16.486 +	action "Removing all tmp files..."
  16.487 +	cd ..; rm -rf "$TMP_DIR"
  16.488 +	status
  16.489 +
  16.490 +
  16.491 +	# Post install commands
  16.492 +	call_post_install "$INSTALLED/$PACKAGE/receipt"
  16.493 +
  16.494 +
  16.495 +
  16.496 +
  16.497 +	# Update system databases
  16.498 +	# Updating DBs is important process, so not to hide such errors (localized):
  16.499 +	# chroot: can't execute '/usr/bin/***': No such file or directory
  16.500 +
  16.501 +	local fl="$INSTALLED/$PACKAGE/files.list" upd=0 ud um ui us uk
  16.502 +
  16.503 +	fgrep    /usr/share/applications/ "$fl" | fgrep -q .desktop && udesk='yes'
  16.504 +	fgrep -q /usr/share/mime "$fl" && umime='yes'
  16.505 +	fgrep -q /usr/share/icon/hicolor "$fl" && uicon='yes'
  16.506 +	fgrep -q /usr/share/glib-2.0/schemas "$fl" && uschm='yes'
  16.507 +	fgrep    /usr/lib/gdk-pixbuf "$fl" | fgrep -q .so && upixb='yes'
  16.508 +	fgrep -q /lib/modules "$fl" && ukrnl='yes'
  16.509 +
  16.510 +	if [ -n "$udesk$umime$uicon$uschm$upixb$ukrnl" ]; then
  16.511 +		action 'Update system databases...'
  16.512 +		upd=1
  16.513 +	fi
  16.514 +
  16.515 +	# package 'desktop-file-utils'
  16.516 +	[ -n "$udesk" ] && chroot "$root/" /usr/bin/update-desktop-database /usr/share/applications
  16.517 +	# package 'shared-mime-info'
  16.518 +	[ -n "$umime" ] && chroot "$root/" /usr/bin/update-mime-database /usr/share/mime
  16.519 +	# packages 'gtk+', 'gtk+3'
  16.520 +	[ -n "$uicon" ] && chroot "$root/" /usr/bin/gtk-update-icon-cache /usr/share/icons/hicolor
  16.521 +	# package 'glib'
  16.522 +	[ -n "$uschm" ] && chroot "$root/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
  16.523 +	# package 'gdk-pixbuf'
  16.524 +	[ -n "$upixb" ] && chroot "$root/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
  16.525 +	# packages 'busybox', 'kmod', 'depmod'
  16.526 +	[ -n "$ukrnl" ] && chroot "$root/" /sbin/depmod -a
  16.527 +
  16.528 +	[ "$upd" -eq 1 ] && status
  16.529 +
  16.530 +
  16.531 +
  16.532 +
  16.533 +	# Update installed.info
  16.534 +	SIZES=$(echo $PACKED_SIZE $UNPACKED_SIZE | sed 's|\.0||g')
  16.535 +	# Remove newlines from some receipts
  16.536 +	DEPENDS=$(echo $DEPENDS)
  16.537 +	PKG_SUM="$(fgrep " $PACKAGE-$VERSION$EXTRAVERSION.tazpkg" "$PKGS_DB/installed.$SUM" | cut -d' ' -f1)"
  16.538 +	ii="$PKGS_DB/installed.info"
  16.539 +	# Remove old entry
  16.540 +	sed -i "/^$PACKAGE	/d" "$ii"
  16.541 +	cat >> "$ii" <<EOT
  16.542 +$PACKAGE	$VERSION$EXTRAVERSION	$CATEGORY	$SHORT_DESC	$WEB_SITE	$TAGS	$SIZES	$DEPENDS	$PKG_SUM
  16.543 +EOT
  16.544 +	#awk -F$'\t' -vp="$PACKAGE" '$1==p' "$PKGS_DB/packages.info" > $ii
  16.545 +	TEMP_FILE="$(mktemp)"
  16.546 +	sort "$ii" > "$TEMP_FILE"; mv -f "$TEMP_FILE" "$ii"; chmod a+r "$ii"; unset ii
  16.547 +
  16.548 +	cd "$CUR_DIR"
  16.549 +	footer "$(_ 'Package "%s" (%s) is installed.' "$PACKAGE" "$VERSION$EXTRAVERSION")"
  16.550 +
  16.551 +	# Log this activity
  16.552 +	log_pkg Installed
  16.553 +
  16.554 +	# Remove package from upgrade list
  16.555 +	[ -s "$UP_LIST" ] && sed -i "/^$PACKAGE\$/d" "$UP_LIST"
  16.556 +}
  16.557 +
  16.558 +
  16.559 +
  16.560 +
  16.561 +#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*
  16.562 +
  16.563 +
  16.564 +PACKAGE=$(
  16.565 +	tmp_dir=$(mktemp -d); cd "$tmp_dir"
  16.566 +	cpio --quiet -i receipt >/dev/null 2>&1
  16.567 +	. receipt; echo $PACKAGE
  16.568 +	rm -rf "$tmp_dir"
  16.569 +) < "$1"
  16.570 +
  16.571 +if [ -z "$forced" ]; then
  16.572 +	# Check if a package is already installed
  16.573 +	debug "\ncheck for installed package '$PACKAGE'"
  16.574 +
  16.575 +	awk -F$'\t' -vpv="$PACKAGE" '$1==pv { exit 1 }' "$PKGS_DB/installed.info"
  16.576 +
  16.577 +	if [ "$?" -eq 1 ]; then
  16.578 +		newline
  16.579 +		_ '"%s" package is already installed.' "$(colorize 34 "$PACKAGE")"
  16.580 +		longline "$(_ 'You can use the --forced option to force installation.')"
  16.581 +		newline
  16.582 +		exit 1
  16.583 +	fi
  16.584 +fi
  16.585 +
  16.586 +install_package "$(realpath "$1")"
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/modules/link	Mon Oct 05 03:53:47 2015 +0300
    17.3 @@ -0,0 +1,68 @@
    17.4 +#!/bin/sh
    17.5 +# TazPkg - Tiny autonomous zone packages manager, hg.slitaz.org/tazpkg
    17.6 +# link - TazPkg module
    17.7 +# Link a package from another SliTaz installation
    17.8 +
    17.9 +
   17.10 +# Connect function libraries
   17.11 +. /lib/libtaz.sh
   17.12 +
   17.13 +# Get TazPkg working environment
   17.14 +. @@MODULES@@/getenv
   17.15 +
   17.16 +
   17.17 +
   17.18 +
   17.19 +PACKAGE="$2"
   17.20 +TARGET_DIR="$3"
   17.21 +
   17.22 +if [ -e "$INSTALLED/$PACKAGE" ]; then
   17.23 +	_ 'Package "%s" is already installed.' "$PACKAGE"
   17.24 +	exit 1
   17.25 +fi
   17.26 +
   17.27 +ln -s "$TARGET_DIR$INSTALLED/$PACKAGE" $INSTALLED
   17.28 +DEPENDS="$(. "$INSTALLED/$PACKAGE/receipt"; echo $DEPENDS)"
   17.29 +MISSING=''
   17.30 +
   17.31 +for i in $DEPENDS; do
   17.32 +	[ -e $INSTALLED/$i ] && continue
   17.33 +	MISSING="$MISSING$i "
   17.34 +	_ 'Missing: %s' $i
   17.35 +done
   17.36 +
   17.37 +if [ -n "$MISSING" ]; then
   17.38 +	newline
   17.39 +	confirm "$(_ 'Link all missing dependencies? (y/N)')"
   17.40 +	answer=$?
   17.41 +	newline
   17.42 +	if [ "$answer" -eq 0 ]; then
   17.43 +		for i in $MISSING; do
   17.44 +			tazpkg link $i $TARGET_DIR
   17.45 +		done
   17.46 +	else
   17.47 +		newline
   17.48 +		_ 'Leaving dependencies unresolved for package "%s"' "$PACKAGE"
   17.49 +		_ 'The package is installed but probably will not work.'
   17.50 +		newline
   17.51 +	fi
   17.52 +fi
   17.53 +
   17.54 +. "$INSTALLED/$PACKAGE/receipt"
   17.55 +if grep -q ^pre_install "$INSTALLED/$PACKAGE/receipt"; then
   17.56 +	pre_install
   17.57 +fi
   17.58 +
   17.59 +while read path; do
   17.60 +	[ -e "$path" ] && continue
   17.61 +	while true; do
   17.62 +		dir="$(dirname "$path")"
   17.63 +		[ -e "$dir" ] && break
   17.64 +		path="$dir"
   17.65 +	done
   17.66 +	ln -s "$TARGET_DIR$path" "$dir"
   17.67 +done < "$INSTALLED/$PACKAGE/files.list"
   17.68 +
   17.69 +if grep -q ^post_install "$INSTALLED/$PACKAGE/receipt"; then
   17.70 +	post_install
   17.71 +fi
    18.1 --- a/modules/mkdb	Sun Sep 06 12:48:04 2015 +0200
    18.2 +++ b/modules/mkdb	Mon Oct 05 03:53:47 2015 +0300
    18.3 @@ -61,22 +61,20 @@
    18.4  # There are DB records for all files installed with the package.
    18.5  
    18.6  
    18.7 -# Preparations
    18.8 -# Get config values (CHECKSUM)
    18.9 -. /etc/slitaz/slitaz.conf
   18.10 -# Connect functions library
   18.11 +# Connect function libraries
   18.12  . /lib/libtaz.sh
   18.13  
   18.14 +# Get TazPkg working environment
   18.15 +. @@MODULES@@/getenv
   18.16  
   18.17 -# Report error and finish work
   18.18 -die() { longline "$(_ "$@")" >&2; exit 1; }
   18.19 +
   18.20  
   18.21  
   18.22  # Exit if input folder not specified
   18.23  [ -z "$1" ] && die 'Input folder not specified'
   18.24  
   18.25  # Exit if input folder not exists
   18.26 -folder=$(realpath "$1") || exit 1
   18.27 +folder=$(realpath "$root$1") || exit 1
   18.28  
   18.29  # Exit if folder is not writable
   18.30  [ ! -w "$folder" ] && die 'You are not allowed to write to the folder "%s"' "$folder"
    19.1 --- a/modules/pack	Sun Sep 06 12:48:04 2015 +0200
    19.2 +++ b/modules/pack	Mon Oct 05 03:53:47 2015 +0300
    19.3 @@ -14,7 +14,10 @@
    19.4  
    19.5  
    19.6  PACKAGE="$1"
    19.7 +TAZPKG_PACK="$2"
    19.8 +
    19.9  cd "$PACKAGE"
   19.10 +
   19.11  if [ ! -f 'receipt' ]; then
   19.12  	_ 'Receipt is missing. Please read the documentation.'
   19.13  	exit 0
   19.14 @@ -65,9 +68,14 @@
   19.15  status
   19.16  
   19.17  action 'Restoring original package tree...'
   19.18 -unlzma < fs.cpio.lzma | cpio -idm --quiet
   19.19 +case "$TAZPKG_PACK" in
   19.20 +	gzip) gzip -d < fs.cpio.gz;;
   19.21 +	*) unlzma < fs.cpio.lzma;;
   19.22 +esac | cpio -idm --quiet
   19.23  status
   19.24 +rm fs.cpio.*
   19.25  
   19.26 -rm fs.cpio.lzma && cd ..
   19.27 +cd ..
   19.28 +
   19.29  footer "$(_ 'Package "%s" compressed successfully.' "$PACKAGE")"
   19.30  _ 'Size: %s' "$(ls -lh "$PACKAGE.tazpkg" | awk '{print $5}')"
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/modules/recompress	Mon Oct 05 03:53:47 2015 +0300
    20.3 @@ -0,0 +1,52 @@
    20.4 +#!/bin/sh
    20.5 +# TazPkg - Tiny autonomous zone packages manager, hg.slitaz.org/tazpkg
    20.6 +# recompress - TazPkg module
    20.7 +# Recompress .tazpkg cpio archive with lzma
    20.8 +
    20.9 +
   20.10 +# Connect function libraries
   20.11 +. /lib/libtaz.sh
   20.12 +
   20.13 +# Get TazPkg working environment
   20.14 +. @@MODULES@@/getenv
   20.15 +
   20.16 +
   20.17 +
   20.18 +
   20.19 +# Extract a package with cpio and gzip/lzma.
   20.20 +
   20.21 +extract_package() {
   20.22 +	action 'Extracting package...'
   20.23 +	cpio -idm --quiet < "${PACKAGE_FILE##*/}" && rm -f "${PACKAGE_FILE##*/}"
   20.24 +	if [ -f fs.cpio.lzma ]; then
   20.25 +		unlzma < fs.cpio.lzma | cpio -idm --quiet && rm fs.cpio.lzma
   20.26 +	elif [ -f fs.cpio.gz ]; then
   20.27 +		zcat fs.cpio.gz | cpio -idm --quiet && rm fs.cpio.gz
   20.28 +	fi
   20.29 +	status
   20.30 +}
   20.31 +
   20.32 +
   20.33 +PACKAGE_FILE="$1"
   20.34 +
   20.35 +title 'Recompressing package "%s"' "$(basename "$PACKAGE_FILE" .tazpkg)"
   20.36 +TMP_DIR="$(mktemp -d)"
   20.37 +
   20.38 +action "Copying original package..."
   20.39 +cp "$PACKAGE_FILE" "$TMP_DIR"
   20.40 +status
   20.41 +
   20.42 +cd "$TMP_DIR"
   20.43 +extract_package
   20.44 +
   20.45 +action "Recompressing the FS..."
   20.46 +find fs | busybox cpio -o -H newc --quiet | lzma e fs.cpio.lzma -si
   20.47 +rm -rf fs
   20.48 +status
   20.49 +
   20.50 +action "Creating new package..."
   20.51 +find | busybox cpio -o -H newc --quiet > "$PACKAGE_FILE"
   20.52 +status
   20.53 +
   20.54 +rm -rf "$TMP_DIR"
   20.55 +separator; newline
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/modules/reconfigure	Mon Oct 05 03:53:47 2015 +0300
    21.3 @@ -0,0 +1,27 @@
    21.4 +#!/bin/sh
    21.5 +# TazPkg - Tiny autonomous zone packages manager, hg.slitaz.org/tazpkg
    21.6 +# reconfigure - TazPkg module
    21.7 +# Replay post_install from receipt
    21.8 +
    21.9 +
   21.10 +# Connect function libraries
   21.11 +. /lib/libtaz.sh
   21.12 +
   21.13 +# Get TazPkg working environment
   21.14 +. @@MODULES@@/getenv
   21.15 +
   21.16 +
   21.17 +
   21.18 +
   21.19 +PACKAGE="$1"
   21.20 +
   21.21 +# Check for post_install
   21.22 +if grep -q ^post_install "$INSTALLED/$PACKAGE/receipt"; then
   21.23 +	. "$INSTALLED/$PACKAGE/receipt"
   21.24 +	post_install "$root"
   21.25 +	# Log this activity
   21.26 +	tazpkg call log_pkg Reconfigured
   21.27 +else
   21.28 +	newline
   21.29 +	_ 'Nothing to do for package "%s".' "$PACKAGE"
   21.30 +fi
    22.1 --- a/modules/remove	Sun Sep 06 12:48:04 2015 +0200
    22.2 +++ b/modules/remove	Mon Oct 05 03:53:47 2015 +0300
    22.3 @@ -45,6 +45,39 @@
    22.4  im() { tty -s; }
    22.5  
    22.6  
    22.7 +# Block of receipt function callers
    22.8 +# Why? "Bad" receipt sourcing can redefine some vital TazPkg variables.
    22.9 +# Few receipts function should be patched now.
   22.10 +
   22.11 +# Input: $1 = path to the receipt to be processed
   22.12 +
   22.13 +call_pre_remove() {
   22.14 +	local tmp
   22.15 +	if grep -q '^pre_remove()' "$1"; then
   22.16 +		action 'Execute pre-remove commands...'
   22.17 +		tmp="$(mktemp)"
   22.18 +		cp "$1" "$tmp"
   22.19 +		sed -i 's|$1/*$INSTALLED|$INSTALLED|g' "$tmp"
   22.20 +		( . "$tmp"; pre_remove "$root" )
   22.21 +		status
   22.22 +		rm "$tmp"
   22.23 +	fi
   22.24 +}
   22.25 +
   22.26 +call_post_remove() {
   22.27 +	local tmp
   22.28 +	if grep -q '^post_remove()' "$1"; then
   22.29 +		action 'Execute post-remove commands...'
   22.30 +		tmp="$(mktemp)"
   22.31 +		cp "$1" "$tmp"
   22.32 +		sed -i 's|$1/*$INSTALLED|$INSTALLED|g' "$tmp"
   22.33 +		( . "$tmp"; post_remove "$root" )
   22.34 +		status
   22.35 +		rm "$tmp"
   22.36 +	fi
   22.37 +}
   22.38 +
   22.39 +
   22.40  
   22.41  
   22.42  PACKAGE="$1"
   22.43 @@ -88,11 +121,8 @@
   22.44  title 'Removing package "%s"' "$PACKAGE"
   22.45  
   22.46  # [1/4] Pre-remove commands
   22.47 -if grep -q ^pre_remove "$INSTALLED/$PACKAGE/receipt"; then
   22.48 -	action 'Execution of pre-remove commands...'
   22.49 -	pre_remove
   22.50 -	status
   22.51 -fi
   22.52 +call_pre_remove "$INSTALLED/$PACKAGE/receipt"
   22.53 +
   22.54  
   22.55  # [2/4] Removing files
   22.56  action 'Removing all files installed...'
   22.57 @@ -115,11 +145,7 @@
   22.58  status
   22.59  
   22.60  # [3/4] Post-remove commands
   22.61 -if grep -q ^post_remove "$INSTALLED/$PACKAGE/receipt"; then
   22.62 -	action 'Execution of post-remove commands...'
   22.63 -	post_remove
   22.64 -	status
   22.65 -fi
   22.66 +call_post_remove "$INSTALLED/$PACKAGE/receipt"
   22.67  
   22.68  # [4/4] Remove package receipt and remove it from databases
   22.69  action 'Removing package receipt...'
    23.1 --- a/modules/repack	Sun Sep 06 12:48:04 2015 +0200
    23.2 +++ b/modules/repack	Mon Oct 05 03:53:47 2015 +0300
    23.3 @@ -10,8 +10,6 @@
    23.4  # Get TazPkg working environment
    23.5  . @@MODULES@@/getenv
    23.6  
    23.7 -alias cpio='busybox cpio'
    23.8 -
    23.9  
   23.10  unset EXTRAVERSION; . "$INSTALLED/$1/receipt"
   23.11  
    24.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.2 +++ b/modules/repack-config	Mon Oct 05 03:53:47 2015 +0300
    24.3 @@ -0,0 +1,52 @@
    24.4 +#!/bin/sh
    24.5 +# TazPkg - Tiny autonomous zone packages manager, hg.slitaz.org/tazpkg
    24.6 +# repack-config - TazPkg module
    24.7 +# Create SliTaz package archive from configuration files
    24.8 +
    24.9 +
   24.10 +# Connect function libraries
   24.11 +. /lib/libtaz.sh
   24.12 +
   24.13 +# Get TazPkg working environment
   24.14 +. @@MODULES@@/getenv
   24.15 +
   24.16 +
   24.17 +
   24.18 +
   24.19 +TMP_DIR="$(mktemp -d)"
   24.20 +cd "$TMP_DIR"
   24.21 +
   24.22 +CONFIG_VERSION='1.0'
   24.23 +
   24.24 +mkdir "config-$CONFIG_VERSION"
   24.25 +cd "config-$CONFIG_VERSION"
   24.26 +
   24.27 +for i in $INSTALLED/*/volatile.cpio.gz; do
   24.28 +	zcat "$i" | cpio -t --quiet
   24.29 +done > files.list
   24.30 +
   24.31 +mkdir fs
   24.32 +cd fs
   24.33 +
   24.34 +( cd / ; cpio -o -H newc --quiet ) < ../files.list | cpio -idm --quiet > /dev/null
   24.35 +
   24.36 +mkdir -p etc/tazlito
   24.37 +awk -F$'\t' '{print $1"-"$2}' "$PKGS_DB/installed.info" > etc/tazlito/config-packages.list
   24.38 +cd ..
   24.39 +echo "etc/tazlito/config-packages.list" >> files.list
   24.40 +
   24.41 +cat > receipt <<EOT
   24.42 +# SliTaz package receipt.
   24.43 +
   24.44 +PACKAGE="config"
   24.45 +VERSION="$CONFIG_VERSION"
   24.46 +CATEGORY="base-system"
   24.47 +SHORT_DESC="$(_n 'User configuration backup on date %s' "$(date +"%x %X")")"
   24.48 +DEPENDS="$(ls $INSTALLED)"
   24.49 +EOT
   24.50 +
   24.51 +cd ..
   24.52 +tazpkg pack "config-$CONFIG_VERSION"
   24.53 +cp "config-$CONFIG_VERSION.tazpkg" "$TOP_DIR"
   24.54 +cd "$TOP_DIR"
   24.55 +rm -rf "$TMP_DIR"
    25.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.2 +++ b/modules/set-release	Mon Oct 05 03:53:47 2015 +0300
    25.3 @@ -0,0 +1,27 @@
    25.4 +#!/bin/sh
    25.5 +# TazPkg - Tiny autonomous zone packages manager, hg.slitaz.org/tazpkg
    25.6 +# set-release - TazPkg module
    25.7 +# Change current release and upgrade packages
    25.8 +
    25.9 +
   25.10 +# Connect function libraries
   25.11 +. /lib/libtaz.sh
   25.12 +
   25.13 +# Get TazPkg working environment
   25.14 +. @@MODULES@@/getenv
   25.15 +
   25.16 +
   25.17 +
   25.18 +
   25.19 +echo "$1" > "$root/etc/slitaz-release"
   25.20 +
   25.21 +rm "$PKGS_DB/mirror"
   25.22 +
   25.23 +tazpkg recharge && tazpkg upgrade
   25.24 +
   25.25 +# Install missing depends
   25.26 +cd "$INSTALLED"
   25.27 +
   25.28 +for dep in $(awk -F$'\t' '{print $8}' $PKGS_DB/installed.info | tr ' ' '\n' | sort -u); do
   25.29 +	[ ! -d "$dep" ] && tazpkg get-install "$dep"
   25.30 +done
    26.1 --- a/modules/upgrade	Sun Sep 06 12:48:04 2015 +0200
    26.2 +++ b/modules/upgrade	Mon Oct 05 03:53:47 2015 +0300
    26.3 @@ -27,7 +27,7 @@
    26.4  tmp_up_list=$(mktemp)
    26.5  
    26.6  repo_number=1
    26.7 -for repo in $(tazpkg call look_for_priority); do
    26.8 +for repo in $PRIORITY; do
    26.9  	if [ "$repo" == "$PKGS_DB" ]; then
   26.10  		repo_name='Main'
   26.11  	else
    27.1 --- a/po/el.po	Sun Sep 06 12:48:04 2015 +0200
    27.2 +++ b/po/el.po	Mon Oct 05 03:53:47 2015 +0300
    27.3 @@ -6,7 +6,7 @@
    27.4  msgstr ""
    27.5  "Project-Id-Version: TazPkg 5.3\n"
    27.6  "Report-Msgid-Bugs-To: \n"
    27.7 -"POT-Creation-Date: 2015-08-28 16:04+0300\n"
    27.8 +"POT-Creation-Date: 2015-10-05 03:48+0300\n"
    27.9  "PO-Revision-Date: 2012-12-23 14:08+0200\n"
   27.10  "Last-Translator: Constantine Mousafiris <kvisitor@gnugr.org>\n"
   27.11  "Language-Team: Kostis Mousafiris\n"
   27.12 @@ -17,433 +17,245 @@
   27.13  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
   27.14  "X-Generator: Virtaal 0.5.2\n"
   27.15  
   27.16 -#: tazpkg:40 modules/list:44 modules/search:19
   27.17 +#: tazpkg:100
   27.18 +msgid "Creating folder \"%s\"..."
   27.19 +msgstr "Γίνεται δημιουργία του \"%s\"..."
   27.20 +
   27.21 +#: tazpkg:136
   27.22 +msgid "Please specify a package name on the command line."
   27.23 +msgstr "Παρακαλώ δώστε ένα όνομα πακέτου στη γραμμή εντολών."
   27.24 +
   27.25 +#: tazpkg:139
   27.26 +#, fuzzy
   27.27 +msgid "Please specify a list name on the command line."
   27.28 +msgstr "Παρακαλώ δώστε ένα όνομα πακέτου στη γραμμή εντολών."
   27.29 +
   27.30 +#: tazpkg:142
   27.31 +#, fuzzy
   27.32 +msgid "Please specify a flavor name on the command line."
   27.33 +msgstr "Παρακαλώ δώστε ένα όνομα πακέτου στη γραμμή εντολών."
   27.34 +
   27.35 +#: tazpkg:145
   27.36 +#, fuzzy
   27.37 +msgid "Please specify a release name on the command line."
   27.38 +msgstr "Παρακαλώ δώστε ένα όνομα πακέτου στη γραμμή εντολών."
   27.39 +
   27.40 +#: tazpkg:148
   27.41 +msgid "Unable to find file \"%s\""
   27.42 +msgstr "Αδύνατη η εύρεση του: %s"
   27.43 +
   27.44 +#: tazpkg:151
   27.45 +#, fuzzy
   27.46 +msgid "Please specify an existing folder name on the command line."
   27.47 +msgstr "Παρακαλώ δώστε ένα όνομα πακέτου στη γραμμή εντολών."
   27.48 +
   27.49 +#: tazpkg:154
   27.50 +#, fuzzy
   27.51 +msgid "Please specify a pattern to search for."
   27.52 +msgstr ""
   27.53 +"Παρακαλώ καθορίστε ένα pattern ή ένα όνομα αρχείου για να γίνει αναζήτηση."
   27.54 +
   27.55 +#: tazpkg:157
   27.56 +msgid "Unable to find the receipt \"%s\""
   27.57 +msgstr "Αδύνατη η εύρεση της απόδειξης: %s"
   27.58 +
   27.59 +#: tazpkg:225 modules/extract:19 modules/install:191 modules/recompress:19
   27.60 +msgid "Extracting package..."
   27.61 +msgstr "Γίνεται εξαγωγή..."
   27.62 +
   27.63 +#: tazpkg:239 modules/list:44
   27.64  msgid "base-system"
   27.65  msgstr "βασικό-σύστημα"
   27.66  
   27.67 -#: tazpkg:40 modules/list:44 modules/search:19
   27.68 +#: tazpkg:239 modules/list:44
   27.69  msgid "x-window"
   27.70  msgstr "x-window"
   27.71  
   27.72 -#: tazpkg:41 modules/list:45 modules/search:20
   27.73 +#: tazpkg:240 modules/list:45
   27.74  msgid "utilities"
   27.75  msgstr "Βοηθήματα"
   27.76  
   27.77 -#: tazpkg:41 modules/list:45 modules/search:20
   27.78 +#: tazpkg:240 modules/list:45
   27.79  msgid "network"
   27.80  msgstr "δίκτυο"
   27.81  
   27.82 -#: tazpkg:42 modules/list:46 modules/search:21
   27.83 +#: tazpkg:241 modules/list:46
   27.84  msgid "graphics"
   27.85  msgstr "γραφικά"
   27.86  
   27.87 -#: tazpkg:42 modules/list:46 modules/search:21
   27.88 +#: tazpkg:241 modules/list:46
   27.89  msgid "multimedia"
   27.90  msgstr "πολυμέσα"
   27.91  
   27.92 -#: tazpkg:43 modules/list:47 modules/search:22
   27.93 +#: tazpkg:242 modules/list:47
   27.94  msgid "office"
   27.95  msgstr "γραφείο"
   27.96  
   27.97 -#: tazpkg:43 modules/list:47 modules/search:22
   27.98 +#: tazpkg:242 modules/list:47
   27.99  msgid "development"
  27.100  msgstr "προγραμματισμός"
  27.101  
  27.102 -#: tazpkg:44 modules/list:48 modules/search:23
  27.103 +#: tazpkg:243 modules/list:48
  27.104  msgid "system-tools"
  27.105  msgstr "εργαλεία-συστήματος"
  27.106  
  27.107 -#: tazpkg:44 modules/list:48 modules/search:23
  27.108 +#: tazpkg:243 modules/list:48
  27.109  msgid "security"
  27.110  msgstr "ασφάλεια"
  27.111  
  27.112 -#: tazpkg:45 modules/list:49 modules/search:24
  27.113 +#: tazpkg:244 modules/list:49
  27.114  msgid "games"
  27.115  msgstr "παιγνίδια"
  27.116  
  27.117 -#: tazpkg:45 modules/list:49 modules/search:24
  27.118 +#: tazpkg:244 modules/list:49
  27.119  msgid "misc"
  27.120  msgstr "διάφορα"
  27.121  
  27.122 -#: tazpkg:45 modules/list:49 modules/search:24
  27.123 +#: tazpkg:244 modules/list:49
  27.124  msgid "meta"
  27.125  msgstr "μετα"
  27.126  
  27.127 -#: tazpkg:46 modules/list:50 modules/search:25
  27.128 +#: tazpkg:245 modules/list:50
  27.129  msgid "non-free"
  27.130  msgstr "μη-ελεύθερα"
  27.131  
  27.132 -#: tazpkg:46 modules/list:50 modules/search:25
  27.133 +#: tazpkg:430
  27.134  #, fuzzy
  27.135 -msgid "all"
  27.136 -msgstr "Όλα"
  27.137 -
  27.138 -#: tazpkg:46 modules/list:50 modules/search:25
  27.139 -#, fuzzy
  27.140 -msgid "extra"
  27.141 -msgstr "Εξαγωγή"
  27.142 -
  27.143 -#: tazpkg:107
  27.144 -msgid "Creating folder \"%s\"..."
  27.145 -msgstr "Γίνεται δημιουργία του \"%s\"..."
  27.146 -
  27.147 -#: tazpkg:137
  27.148 -msgid "Please specify a package name on the command line."
  27.149 -msgstr "Παρακαλώ δώστε ένα όνομα πακέτου στη γραμμή εντολών."
  27.150 -
  27.151 -#: tazpkg:149 tazpkg:265
  27.152 -msgid "Unable to find file \"%s\""
  27.153 -msgstr "Αδύνατη η εύρεση του: %s"
  27.154 -
  27.155 -#: tazpkg:161
  27.156 -msgid "Unable to find the receipt \"%s\""
  27.157 -msgstr "Αδύνατη η εύρεση της απόδειξης: %s"
  27.158 -
  27.159 -#: tazpkg:218
  27.160 -msgid "\"%s\" package is already installed."
  27.161 -msgstr "Το πακέτο \"%s\" είναι ήδη εγκατεστημένο."
  27.162 -
  27.163 -#: tazpkg:219
  27.164 -msgid "You can use the --forced option to force installation."
  27.165 -msgstr ""
  27.166 -"Μπορείτε να χρησιμοποιήσετε την επιλογή --forced για να κάνετε υποχρεωτική\n"
  27.167 -"εγκατάσταση, ή κάντε πρώτα διαγραφή και, μετά, επανεγκατάσταση."
  27.168 -
  27.169 -#: tazpkg:235
  27.170 -msgid "Unable to find the list \"%s\""
  27.171 -msgstr "Αδύνατη ανεύρεση της λίστας: %s"
  27.172 -
  27.173 -#: tazpkg:236
  27.174 -msgid ""
  27.175 -"You must probably run '%s' as root to get the latest list of packages "
  27.176 -"available on the mirror."
  27.177 -msgstr ""
  27.178 -"Μάλλον πρέπει να εκτελέσετε το '%s' ως διαχειριστής συστήματος, για να "
  27.179 -"λάβετε την πιο πρόσφατη λίστα πακέτων που είναι διαθέσιμη στον mirror."
  27.180 -
  27.181 -#: tazpkg:252 tazpkg:273 modules/getenv:79 modules/getenv:103
  27.182 -msgid "File \"%s\" generated. Please wait..."
  27.183 -msgstr ""
  27.184 -
  27.185 -#: tazpkg:266 modules/getenv:16 modules/getenv:23 modules/getenv:34
  27.186 -#: modules/getenv:118
  27.187 -msgid "Please run tazpkg as root."
  27.188 -msgstr ""
  27.189 -
  27.190 -#: tazpkg:393
  27.191 -msgid "Unable to find package \"%s\" in the mirrored packages list."
  27.192 -msgstr ""
  27.193 -"Αδύνατη η ανεύρεση του: %s στη λίστα πακέτων που βρίσκονται στον mirror."
  27.194 -
  27.195 -#: tazpkg:476
  27.196 -msgid "Extracting package..."
  27.197 -msgstr "Γίνεται εξαγωγή..."
  27.198 -
  27.199 -#: tazpkg:562
  27.200 -msgid "Installation of package \"%s\""
  27.201 -msgstr "Εγκατάσταση του: %s"
  27.202 -
  27.203 -#: tazpkg:567
  27.204 -msgid "Copying package..."
  27.205 -msgstr "Γίνεται αντιγραφή του..."
  27.206 -
  27.207 -#: tazpkg:583
  27.208 -msgid "Checking post install dependencies..."
  27.209 -msgstr ""
  27.210 -"Μετά την ολοκλήρωση της εγκατάστασης, γίνεται έλεγχος για τις εξαρτήσεις..."
  27.211 -
  27.212 -#: tazpkg:586
  27.213 -msgid "Please run \"%s\" in / and retry."
  27.214 -msgstr ""
  27.215 -"Παρακαλώ εκτελέστε την εντολή '%s'\n"
  27.216 -"στον αρχικό κατάλογο συστήματος / και, κατόπιν, ξαναπροσπαθήστε."
  27.217 -
  27.218 -#: tazpkg:669
  27.219 -msgid "Saving configuration files..."
  27.220 -msgstr "Γίνεται αποθήκευση των αρχείων ρυθμίσεως..."
  27.221 -
  27.222 -#: tazpkg:687
  27.223 -msgid "Installing package..."
  27.224 -msgstr "Γίνεται εγκατάσταση..."
  27.225 -
  27.226 -#: tazpkg:692
  27.227 -msgid "Removing old package..."
  27.228 -msgstr "Γίνεται απομάκρυνση του παλιού..."
  27.229 -
  27.230 -#: tazpkg:701
  27.231 -msgid "Removing all tmp files..."
  27.232 -msgstr "Γίνεται απομάκρυνση όλων των προσωρινών αρχείων temp..."
  27.233 -
  27.234 -#: tazpkg:707
  27.235 -#, fuzzy
  27.236 -msgid "Execute post-install commands..."
  27.237 -msgstr ""
  27.238 -"Μετά την ολοκλήρωση της εγκατάστασης, γίνεται έλεγχος για τις εξαρτήσεις..."
  27.239 -
  27.240 -#: tazpkg:752
  27.241 -msgid "Package \"%s\" (%s) is installed."
  27.242 -msgstr "Το πακέτο %s (%s) δεν έχει εγκατασταθεί."
  27.243 -
  27.244 -#: tazpkg:792
  27.245 -msgid "Could not download \"%s\" from \"%s\". Exiting."
  27.246 -msgstr ""
  27.247 -
  27.248 -#: tazpkg:859
  27.249 -msgid "WARNING! Dependency loop between \"%s\" and \"%s\"."
  27.250 -msgstr ""
  27.251 -"ΠΡΟΕΙΔΟΠΟΙΗΣΗ Υπάρχει βρόχος (loop) εξάρτησης ανάμεσα στο %s και το %s."
  27.252 -
  27.253 -#: tazpkg:864
  27.254 -msgid "Tracking dependencies for package \"%s\""
  27.255 -msgstr "Γίνεται εντοπισμός εξαρτήσεων για το: %s"
  27.256 -
  27.257 -#: tazpkg:869
  27.258 -msgid "Missing package \"%s\""
  27.259 -msgstr "Λείπει το: %s"
  27.260 -
  27.261 -#: tazpkg:873
  27.262 -msgid "%s missing package to install."
  27.263 -msgid_plural "%s missing packages to install."
  27.264 -msgstr[0] "%s λείπει πακέτο για εγκατάσταση"
  27.265 -msgstr[1] "%s λείπουν πακέτα για εγκατάσταση"
  27.266 -
  27.267 -#: tazpkg:892
  27.268 -msgid "Install all missing dependencies? (y/N)"
  27.269 -msgstr "Να εγκατασταθούν όλες οι εξαρτήσεις που λείπουν? (y/N)"
  27.270 -
  27.271 -#: tazpkg:907
  27.272 -msgid "Checking if package \"%s\" exists in local list..."
  27.273 -msgstr "Γίνεται έλεγχος αν το %s συμπεριλαμβάνεται στην τοπική λίστα..."
  27.274 -
  27.275 -#: tazpkg:933
  27.276 -msgid "Leaving dependencies for package \"%s\" unresolved."
  27.277 -msgstr "Κάποιες εξαρτήσεις για το %s έμειναν ανεπίλυτες."
  27.278 -
  27.279 -#: tazpkg:934
  27.280 -msgid "The package is installed but will probably not work."
  27.281 -msgstr "Το πακέτο εγκαταστάθηκε, αλλά μάλλον δε θα δουλέψει."
  27.282 -
  27.283 -#: tazpkg:1086
  27.284 -msgid "Unable to find list \"%s\""
  27.285 -msgstr "Αδύνατη η ανεύρεση του: %s"
  27.286 -
  27.287 -#: tazpkg:1106
  27.288 -msgid "Adding implicit depends \"%s\"..."
  27.289 -msgstr "Γίνεται προσθήκη δεδηλωμένων εξαρτήσεων στο %s..."
  27.290 -
  27.291 -#: tazpkg:1163
  27.292 -msgid "Extracting package \"%s\""
  27.293 -msgstr "Γίνεται εξαγωγή του: %s"
  27.294 -
  27.295 -#: tazpkg:1174 tazpkg:1192
  27.296 -msgid "Copying original package..."
  27.297 -msgstr "Γίνεται αντιγραφή του πρωτότυπου πακέτου..."
  27.298 -
  27.299 -#: tazpkg:1181
  27.300 -msgid "Package \"%s\" is extracted to \"%s\""
  27.301 -msgstr "Γίνεται εξαγωγή του %s στο: %s"
  27.302 -
  27.303 -#: tazpkg:1189
  27.304 -msgid "Recompressing package \"%s\""
  27.305 -msgstr "Γίνεται επανασυμπίεση του: %s"
  27.306 -
  27.307 -#: tazpkg:1199
  27.308 -msgid "Recompressing the FS..."
  27.309 -msgstr "Γίνεται επανασυμπίεση του fs..."
  27.310 -
  27.311 -#: tazpkg:1204
  27.312 -msgid "Creating new package..."
  27.313 -msgstr "Δημιουργείται νέο πακέτο..."
  27.314 -
  27.315 -#: tazpkg:1245
  27.316 -msgid "User configuration backup on date %s"
  27.317 -msgstr "Ανττίγραφο ασφαλείας με τις ρυθμίσεις χρήστη στο %s"
  27.318 -
  27.319 -#: tazpkg:1308
  27.320 -msgid "No known bugs."
  27.321 -msgstr "Δεν υπάρχουν γνωστά σφάλματα."
  27.322 -
  27.323 -#: tazpkg:1310
  27.324 -#, fuzzy
  27.325 -msgid "Known bugs in packages"
  27.326 -msgstr "Εμφάνιση των γνωστών σφαλμάτων στα πακέτα"
  27.327 -
  27.328 -#: tazpkg:1316
  27.329 -msgid "Bug list completed"
  27.330 -msgstr "Ο κατάλογος σφαλμάτων ολοκληρώθηκε"
  27.331 -
  27.332 -#: tazpkg:1318
  27.333 -msgid "Bugs in package \"%s\" version %s:"
  27.334 -msgstr "Υπάρχουν σφάλματα στην %s έκδοση %s:"
  27.335 -
  27.336 -#: tazpkg:1355
  27.337 -msgid "rootconfig needs --root= option used."
  27.338 -msgstr "Το rootconfig πρέπει να χρησιμοποιήσει την επιλογή --root= option"
  27.339 -
  27.340 -#: tazpkg:1368 tazpkg:1434
  27.341 -msgid "Package \"%s\" already in the cache"
  27.342 -msgstr "%s βρίκεται ήδη στη μνήμη cache"
  27.343 -
  27.344 -#: tazpkg:1371 tazpkg:1437
  27.345 -msgid "Continuing package \"%s\" download"
  27.346 -msgstr "Συνεχίζεται η μεταφόρτωση του %s"
  27.347 -
  27.348 -#: tazpkg:1462
  27.349 -msgid "Cleaning cache directory..."
  27.350 -msgstr "Γίνεται καθαρισμός του καταλόγου της μνήμης cache..."
  27.351 -
  27.352 -#: tazpkg:1463
  27.353 -#, fuzzy
  27.354 -msgid "Path: %s"
  27.355 -msgstr "Διαδρομή:"
  27.356 -
  27.357 -#: tazpkg:1468
  27.358 -msgid "%s file removed from cache (%s)."
  27.359 -msgid_plural "%s files removed from cache (%s)."
  27.360 -msgstr[0] "%s το αρχείο έχει διαγραφεί από τη μνήμη cache (%s)."
  27.361 -msgstr[1] "%s το αρχείο έχει διαγραφεί από τη μνήμη cache (%s)."
  27.362 -
  27.363 -#: tazpkg:1511
  27.364 -msgid "Nothing to do for package \"%s\"."
  27.365 -msgstr "Δεν μπορεί να γίνει τίποτε για το %s."
  27.366 -
  27.367 -#: tazpkg:1515 modules/block:32 modules/block:51 modules/block:70
  27.368 -#: modules/remove:53
  27.369 -msgid "Package \"%s\" is not installed."
  27.370 -msgstr "Το %s δεν εγκαταστάθηκε."
  27.371 -
  27.372 -#: tazpkg:1516
  27.373 -msgid "Install package with \"%s\" or \"%s\""
  27.374 -msgstr "Εγκαταστήστε το πακέτο με το '%s' ή το '%s'"
  27.375 -
  27.376 -#: tazpkg:1531
  27.377 +msgid "Done: %s"
  27.378 +msgstr "Μέγεθος: %s"
  27.379 +
  27.380 +#: tazpkg:502
  27.381  #, fuzzy
  27.382  msgid "TazPkg SHell."
  27.383  msgstr "Κέλυφος του TazPkg"
  27.384  
  27.385 -#: tazpkg:1532
  27.386 +#: tazpkg:503
  27.387  msgid "Type 'usage' to list all available commands or 'quit' or 'q' to exit."
  27.388  msgstr ""
  27.389  "Πληκτρολογήστε την εντολή 'usage' για να εμφανισθεί ένας κατάλογος με όλες "
  27.390  "τις\n"
  27.391  "διαθέσιμες εντολές, ή δώστε την εντολή 'quit', ή απλώς 'q' για να βγείτε."
  27.392  
  27.393 -#: tazpkg:1541
  27.394 +#: tazpkg:512
  27.395  #, fuzzy
  27.396  msgid "You are already running a TazPkg SHell."
  27.397  msgstr "Τρέχετε ήδη ένα κέλυφος TazPkg"
  27.398  
  27.399 -#: tazpkg:1574
  27.400 -msgid "Usage: tazpkg link package_name slitaz_root"
  27.401 -msgstr "χρήση: tazpkg link όνομα_πακέτου καταλόγου_συστήματος_του_slitaz"
  27.402 -
  27.403 -#: tazpkg:1576
  27.404 -msgid "Example:"
  27.405 -msgstr "Παράδειγμα:"
  27.406 -
  27.407 -#: tazpkg:1578
  27.408 -msgid "\"%s\" will use less than 100k in your running system RAM."
  27.409 -msgstr "Το '%s' θα χρησιμοποιήσει λιγώτερα από 100KB στο σύστημα που τρέχετε."
  27.410 -
  27.411 -#: tazpkg:1583
  27.412 -msgid "Package \"%s\" is already installed."
  27.413 -msgstr "Το %s είναι ήδη εγκατεστημένο."
  27.414 -
  27.415 -#: tazpkg:1592 modules/getenv:16 modules/getenv:23
  27.416 -msgid "Missing: %s"
  27.417 -msgstr "Λείπουν: %s"
  27.418 -
  27.419 -#: tazpkg:1596
  27.420 -msgid "Link all missing dependencies? (y/N)"
  27.421 -msgstr "Σύνδεση όλων των εξαρτήσεων που λείπουν? (y/N)"
  27.422 -
  27.423 -#: tazpkg:1605
  27.424 -msgid "Leaving dependencies unresolved for package \"%s\""
  27.425 -msgstr "Έχουν μείνει ανεπίλυτες εξαρτήσεις για το: %s"
  27.426 -
  27.427 -#: tazpkg:1606
  27.428 -msgid "The package is installed but probably will not work."
  27.429 -msgstr "Το πακέτο εγκαταστάθηκε, αλλά μάλλον δε θα δουλέψει."
  27.430 -
  27.431 -#: modules/block:36
  27.432 +#: modules/block:18 modules/remove:86
  27.433 +msgid "Package \"%s\" is not installed."
  27.434 +msgstr "Το %s δεν εγκαταστάθηκε."
  27.435 +
  27.436 +#: modules/block:27
  27.437  #, fuzzy
  27.438  msgid "Package \"%s\" is already blocked."
  27.439  msgstr "Το %s είναι ήδη εγκατεστημένο."
  27.440  
  27.441 -#: modules/block:41 modules/block:82
  27.442 +#: modules/block:32 modules/block:61
  27.443  #, fuzzy
  27.444  msgid "Package \"%s\" blocked."
  27.445  msgstr "Το %s δεν εγκαταστάθηκε."
  27.446  
  27.447 -#: modules/block:58 modules/block:77
  27.448 +#: modules/block:43 modules/block:56
  27.449  #, fuzzy
  27.450  msgid "Package \"%s\" unblocked."
  27.451  msgstr "Το %s δεν εγκαταστάθηκε."
  27.452  
  27.453 -#: modules/block:60
  27.454 +#: modules/block:45
  27.455  #, fuzzy
  27.456  msgid "Package \"%s\" is not blocked."
  27.457  msgstr "Το %s δεν εγκαταστάθηκε."
  27.458  
  27.459 -#: modules/check:43 tazpanel/pkgs.cgi:951
  27.460 +#: modules/bugs:21
  27.461 +msgid "No known bugs."
  27.462 +msgstr "Δεν υπάρχουν γνωστά σφάλματα."
  27.463 +
  27.464 +#: modules/bugs:23
  27.465 +#, fuzzy
  27.466 +msgid "Known bugs in packages"
  27.467 +msgstr "Εμφάνιση των γνωστών σφαλμάτων στα πακέτα"
  27.468 +
  27.469 +#: modules/bugs:30
  27.470 +msgid "Bug list completed"
  27.471 +msgstr "Ο κατάλογος σφαλμάτων ολοκληρώθηκε"
  27.472 +
  27.473 +#: modules/bugs:32
  27.474 +msgid "Bugs in package \"%s\" version %s:"
  27.475 +msgstr "Υπάρχουν σφάλματα στην %s έκδοση %s:"
  27.476 +
  27.477 +#: modules/cache:22
  27.478 +msgid "Cleaning cache directory..."
  27.479 +msgstr "Γίνεται καθαρισμός του καταλόγου της μνήμης cache..."
  27.480 +
  27.481 +#: modules/cache:23
  27.482 +#, fuzzy
  27.483 +msgid "Path: %s"
  27.484 +msgstr "Διαδρομή:"
  27.485 +
  27.486 +#: modules/cache:28
  27.487 +msgid "%s file removed from cache (%s)."
  27.488 +msgid_plural "%s files removed from cache (%s)."
  27.489 +msgstr[0] "%s το αρχείο έχει διαγραφεί από τη μνήμη cache (%s)."
  27.490 +msgstr[1] "%s το αρχείο έχει διαγραφεί από τη μνήμη cache (%s)."
  27.491 +
  27.492 +#: modules/check:20 tazpanel/pkgs.cgi:948
  27.493  msgid "Package %s"
  27.494  msgstr "Πακέτο %s"
  27.495  
  27.496 -#: modules/check:122
  27.497 +#: modules/check:96
  27.498  msgid "The package installation has not completed"
  27.499  msgstr "Η εγκατάσταση του πακέτου δεν ολοκληρώθηκε"
  27.500  
  27.501 -#: modules/check:130
  27.502 +#: modules/check:104
  27.503  msgid "The package has been modified by:"
  27.504  msgstr "Το πακέτο τροποποιήθηκε από:"
  27.505  
  27.506 -#: modules/check:134
  27.507 +#: modules/check:108
  27.508  msgid "Files lost from package:"
  27.509  msgstr "Χάθηκαν αρχεία από το:"
  27.510  
  27.511 -#: modules/check:138
  27.512 +#: modules/check:112
  27.513  msgid "target of symlink"
  27.514  msgstr "στόχος του συμβολικού δεσμού symlink"
  27.515  
  27.516 -#: modules/check:145
  27.517 +#: modules/check:119
  27.518  msgid "Missing dependencies for package:"
  27.519  msgstr "Εξαρτήσεις που λείπουν για το:"
  27.520  
  27.521 -#: modules/check:154
  27.522 +#: modules/check:128
  27.523  msgid "Dependencies loop between package and:"
  27.524  msgstr "Υπάρχει βρόχος (loop) εξαρτήσεων ανάμεσα στο πακέτο και το:"
  27.525  
  27.526 -#: modules/check:160
  27.527 +#: modules/check:134
  27.528  msgid "Looking for known bugs..."
  27.529  msgstr "Γίνεται αναζήτηση για γνωστά σφάλματα..."
  27.530  
  27.531 -#: modules/check:167
  27.532 +#: modules/check:141
  27.533  msgid "Mismatch checksum of installed files:"
  27.534  msgstr ""
  27.535  
  27.536 -#: modules/check:186
  27.537 +#: modules/check:160
  27.538  #, fuzzy
  27.539  msgid "Check file providers:"
  27.540  msgstr "Έλεγχος αναβαθμίσεων"
  27.541  
  27.542 -#: modules/check:197
  27.543 +#: modules/check:171
  27.544  msgid "The following packages provide file \"%s\":"
  27.545  msgstr "Τα ακόλουθα πακέτα παρέχουν το %s:"
  27.546  
  27.547 -#: modules/check:202
  27.548 +#: modules/check:176
  27.549  msgid "(overridden by %s)"
  27.550  msgstr "(παρακάμπτεται απο το %s)"
  27.551  
  27.552 -#: modules/check:214
  27.553 +#: modules/check:188
  27.554  #, fuzzy
  27.555  msgid "Alien files:"
  27.556  msgstr "Εγκατεστημένα αρχεία:"
  27.557  
  27.558 -#: modules/check:215
  27.559 +#: modules/check:189
  27.560  msgid "No package has installed the following files:"
  27.561  msgstr "Κανένα πακεο δεν εγκατέστησε τα εξής αρχεία:"
  27.562  
  27.563 -#: modules/check:226
  27.564 +#: modules/check:200
  27.565  msgid "Check completed."
  27.566  msgstr "Ο έλεγχος ολοκληρώθηκε."
  27.567  
  27.568 @@ -496,32 +308,78 @@
  27.569  msgstr[0] "%s εγκατεστημένο πακέτο"
  27.570  msgstr[1] "%s εγκατεστημένο πακέτο"
  27.571  
  27.572 -#: modules/description:58
  27.573 +#: modules/description:73
  27.574  msgid "Description of package \"%s\""
  27.575  msgstr "Περιγραφή του: %s"
  27.576  
  27.577 -#: modules/description:62
  27.578 +#: modules/description:80
  27.579  #, fuzzy
  27.580  msgid "Description absent."
  27.581  msgstr "Περιγραφή"
  27.582  
  27.583 -#: modules/find-depends:37
  27.584 +#: modules/extract:36
  27.585 +msgid "Extracting package \"%s\""
  27.586 +msgstr "Γίνεται εξαγωγή του: %s"
  27.587 +
  27.588 +#: modules/extract:47 modules/recompress:35
  27.589 +msgid "Copying original package..."
  27.590 +msgstr "Γίνεται αντιγραφή του πρωτότυπου πακέτου..."
  27.591 +
  27.592 +#: modules/extract:54
  27.593 +msgid "Package \"%s\" is extracted to \"%s\""
  27.594 +msgstr "Γίνεται εξαγωγή του %s στο: %s"
  27.595 +
  27.596 +#: modules/find-depends:19
  27.597  msgid "Find depends..."
  27.598  msgstr ""
  27.599  
  27.600 -#: modules/find-depends:56
  27.601 +#: modules/find-depends:39
  27.602  msgid "for %s"
  27.603  msgstr ""
  27.604  
  27.605 -#: modules/flavor:120
  27.606 +#: modules/flavor:94
  27.607  msgid "Can't find flavor \"%s\". Abort."
  27.608  msgstr "Αδύνατη η ανεύρεση του flavor %s. Ακύρωση."
  27.609  
  27.610 -#: modules/getenv:34
  27.611 +#: modules/get:137 modules/getenv:53
  27.612  msgid "File \"%s\" empty."
  27.613  msgstr ""
  27.614  
  27.615 -#: modules/getenv:117
  27.616 +#: modules/get:138 modules/get:144
  27.617 +#, fuzzy
  27.618 +msgid "Unable to find package \"%s\" in the extra packages list."
  27.619 +msgstr ""
  27.620 +"Αδύνατη η ανεύρεση του: %s στη λίστα πακέτων που βρίσκονται στον mirror."
  27.621 +
  27.622 +#: modules/get:162 modules/get:327
  27.623 +msgid "Package \"%s\" already in the cache"
  27.624 +msgstr "%s βρίκεται ήδη στη μνήμη cache"
  27.625 +
  27.626 +#: modules/get:331
  27.627 +msgid "Continuing package \"%s\" download"
  27.628 +msgstr "Συνεχίζεται η μεταφόρτωση του %s"
  27.629 +
  27.630 +#: modules/get:342
  27.631 +msgid "Checksum error for \"%s\""
  27.632 +msgstr ""
  27.633 +
  27.634 +#: modules/get:352
  27.635 +msgid "Please wait until the mirror synchronization is complete and try again."
  27.636 +msgstr ""
  27.637 +
  27.638 +#: modules/getenv:35 modules/getenv:43 modules/link:31
  27.639 +msgid "Missing: %s"
  27.640 +msgstr "Λείπουν: %s"
  27.641 +
  27.642 +#: modules/getenv:35 modules/getenv:43 modules/getenv:53 modules/getenv:154
  27.643 +msgid "Please run tazpkg as root."
  27.644 +msgstr ""
  27.645 +
  27.646 +#: modules/getenv:115 modules/getenv:140
  27.647 +msgid "File \"%s\" generated. Please wait..."
  27.648 +msgstr ""
  27.649 +
  27.650 +#: modules/getenv:154
  27.651  msgid "Old \"%s\"."
  27.652  msgstr ""
  27.653  
  27.654 @@ -732,7 +590,7 @@
  27.655  msgid "Remove an undigest mirror"
  27.656  msgstr "Διαγραφή όλων των undigest mirrors"
  27.657  
  27.658 -#: modules/help:103 modules/help:138
  27.659 +#: modules/help:103 modules/help:134
  27.660  #, fuzzy
  27.661  msgid "Sorry, no help for \"%s\""
  27.662  msgstr "Να γίνει αναζήτηση για το: %s"
  27.663 @@ -743,7 +601,7 @@
  27.664  msgstr[0] ""
  27.665  msgstr[1] ""
  27.666  
  27.667 -#: modules/help:168
  27.668 +#: modules/help:164
  27.669  msgid "%s"
  27.670  msgstr ""
  27.671  
  27.672 @@ -752,7 +610,7 @@
  27.673  msgid "local package"
  27.674  msgstr "Διαθέσιμα πακέτα"
  27.675  
  27.676 -#: modules/info:39 tazpanel/pkgs.cgi:930
  27.677 +#: modules/info:39 tazpanel/pkgs.cgi:927
  27.678  #, fuzzy
  27.679  msgid "installed package"
  27.680  msgstr "%s εγκατεστημένο πακέτο"
  27.681 @@ -766,17 +624,17 @@
  27.682  msgid "(new build available)"
  27.683  msgstr ""
  27.684  
  27.685 -#: modules/info:74 tazpanel/pkgs.cgi:933
  27.686 +#: modules/info:74 tazpanel/pkgs.cgi:930
  27.687  #, fuzzy
  27.688  msgid "mirrored package"
  27.689  msgstr "Καθρεπτιζόμενα πακέτα:"
  27.690  
  27.691 -#: modules/info:77 modules/list:217 tazpanel/pkgs.cgi:935
  27.692 +#: modules/info:77 modules/list:217 tazpanel/pkgs.cgi:932
  27.693  #, fuzzy
  27.694  msgid "Package \"%s\" not available."
  27.695  msgstr "Το %s δεν εγκαταστάθηκε."
  27.696  
  27.697 -#: modules/info:84 modules/search:79 modules/search:113
  27.698 +#: modules/info:84 modules/search:66 modules/search:100
  27.699  msgid ""
  27.700  "No \"%s\" found to check for mirrored packages. For more results, please run "
  27.701  "\"%s\" once as root before searching."
  27.702 @@ -857,11 +715,138 @@
  27.703  msgid "Tags       : %s"
  27.704  msgstr ""
  27.705  
  27.706 +#: modules/install:109
  27.707 +msgid "WARNING! Dependency loop between \"%s\" and \"%s\"."
  27.708 +msgstr ""
  27.709 +"ΠΡΟΕΙΔΟΠΟΙΗΣΗ Υπάρχει βρόχος (loop) εξάρτησης ανάμεσα στο %s και το %s."
  27.710 +
  27.711 +#: modules/install:117
  27.712 +msgid "Tracking dependencies for package \"%s\""
  27.713 +msgstr "Γίνεται εντοπισμός εξαρτήσεων για το: %s"
  27.714 +
  27.715 +#: modules/install:121
  27.716 +msgid "Missing package \"%s\""
  27.717 +msgstr "Λείπει το: %s"
  27.718 +
  27.719 +#: modules/install:125
  27.720 +msgid "%s missing package to install."
  27.721 +msgid_plural "%s missing packages to install."
  27.722 +msgstr[0] "%s λείπει πακέτο για εγκατάσταση"
  27.723 +msgstr[1] "%s λείπουν πακέτα για εγκατάσταση"
  27.724 +
  27.725 +#: modules/install:134
  27.726 +msgid "Install all missing dependencies? (y/N)"
  27.727 +msgstr "Να εγκατασταθούν όλες οι εξαρτήσεις που λείπουν? (y/N)"
  27.728 +
  27.729 +#: modules/install:161
  27.730 +msgid "Checking if package \"%s\" exists in local list..."
  27.731 +msgstr "Γίνεται έλεγχος αν το %s συμπεριλαμβάνεται στην τοπική λίστα..."
  27.732 +
  27.733 +#: modules/install:179
  27.734 +msgid "Leaving dependencies for package \"%s\" unresolved."
  27.735 +msgstr "Κάποιες εξαρτήσεις για το %s έμειναν ανεπίλυτες."
  27.736 +
  27.737 +#: modules/install:180
  27.738 +msgid "The package is installed but will probably not work."
  27.739 +msgstr "Το πακέτο εγκαταστάθηκε, αλλά μάλλον δε θα δουλέψει."
  27.740 +
  27.741 +#: modules/install:251
  27.742 +#, fuzzy
  27.743 +msgid "Execute pre-install commands..."
  27.744 +msgstr ""
  27.745 +"Μετά την ολοκλήρωση της εγκατάστασης, γίνεται έλεγχος για τις εξαρτήσεις..."
  27.746 +
  27.747 +#: modules/install:265
  27.748 +#, fuzzy
  27.749 +msgid "Execute post-install commands..."
  27.750 +msgstr ""
  27.751 +"Μετά την ολοκλήρωση της εγκατάστασης, γίνεται έλεγχος για τις εξαρτήσεις..."
  27.752 +
  27.753 +#: modules/install:335
  27.754 +#, fuzzy
  27.755 +msgid "Installation of package \"%s\" (%s)"
  27.756 +msgstr "Εγκατάσταση του: %s"
  27.757 +
  27.758 +#: modules/install:337
  27.759 +msgid "Installation of package \"%s\""
  27.760 +msgstr "Εγκατάσταση του: %s"
  27.761 +
  27.762 +#: modules/install:343
  27.763 +msgid "Copying package..."
  27.764 +msgstr "Γίνεται αντιγραφή του..."
  27.765 +
  27.766 +#: modules/install:373
  27.767 +#, fuzzy
  27.768 +msgid "Remember modified packages..."
  27.769 +msgstr "Γίνεται απομάκρυνση του παλιού..."
  27.770 +
  27.771 +#: modules/install:435
  27.772 +msgid "Saving configuration files..."
  27.773 +msgstr "Γίνεται αποθήκευση των αρχείων ρυθμίσεως..."
  27.774 +
  27.775 +#: modules/install:460
  27.776 +msgid "Installing package..."
  27.777 +msgstr "Γίνεται εγκατάσταση..."
  27.778 +
  27.779 +#: modules/install:466
  27.780 +#, fuzzy
  27.781 +msgid "Removing old files..."
  27.782 +msgstr "Γίνεται απομάκρυνση όλων των προσωρινών αρχείων temp..."
  27.783 +
  27.784 +#: modules/install:483
  27.785 +msgid "Removing all tmp files..."
  27.786 +msgstr "Γίνεται απομάκρυνση όλων των προσωρινών αρχείων temp..."
  27.787 +
  27.788 +#: modules/install:508
  27.789 +#, fuzzy
  27.790 +msgid "Update system databases..."
  27.791 +msgstr "Γίνεται απομάκρυνση όλων των προσωρινών αρχείων temp..."
  27.792 +
  27.793 +#: modules/install:546
  27.794 +msgid "Package \"%s\" (%s) is installed."
  27.795 +msgstr "Το πακέτο %s (%s) δεν έχει εγκατασταθεί."
  27.796 +
  27.797 +#: modules/install:576
  27.798 +msgid "\"%s\" package is already installed."
  27.799 +msgstr "Το πακέτο \"%s\" είναι ήδη εγκατεστημένο."
  27.800 +
  27.801 +#: modules/install:577
  27.802 +msgid "You can use the --forced option to force installation."
  27.803 +msgstr ""
  27.804 +"Μπορείτε να χρησιμοποιήσετε την επιλογή --forced για να κάνετε υποχρεωτική\n"
  27.805 +"εγκατάσταση, ή κάντε πρώτα διαγραφή και, μετά, επανεγκατάσταση."
  27.806 +
  27.807 +#: modules/link:20
  27.808 +msgid "Package \"%s\" is already installed."
  27.809 +msgstr "Το %s είναι ήδη εγκατεστημένο."
  27.810 +
  27.811 +#: modules/link:36
  27.812 +msgid "Link all missing dependencies? (y/N)"
  27.813 +msgstr "Σύνδεση όλων των εξαρτήσεων που λείπουν? (y/N)"
  27.814 +
  27.815 +#: modules/link:45
  27.816 +msgid "Leaving dependencies unresolved for package \"%s\""
  27.817 +msgstr "Έχουν μείνει ανεπίλυτες εξαρτήσεις για το: %s"
  27.818 +
  27.819 +#: modules/link:46
  27.820 +msgid "The package is installed but probably will not work."
  27.821 +msgstr "Το πακέτο εγκαταστάθηκε, αλλά μάλλον δε θα δουλέψει."
  27.822 +
  27.823 +#: modules/list:50
  27.824 +#, fuzzy
  27.825 +msgid "all"
  27.826 +msgstr "Όλα"
  27.827 +
  27.828 +#: modules/list:50
  27.829 +#, fuzzy
  27.830 +msgid "extra"
  27.831 +msgstr "Εξαγωγή"
  27.832 +
  27.833  #: modules/list:82
  27.834  msgid "Blocked packages"
  27.835  msgstr "Μπλοκαρισμένα πακέτα"
  27.836  
  27.837 -#: modules/list:87 modules/list:121 modules/search:235
  27.838 +#: modules/list:87 modules/list:121 modules/search:223
  27.839  msgid "%s package"
  27.840  msgid_plural "%s packages"
  27.841  msgstr[0] "%s πακέτο"
  27.842 @@ -901,7 +886,7 @@
  27.843  msgstr[0] "%s εγκατεστημένο πακέτο."
  27.844  msgstr[1] "%s εγκατεστημένα πακέτα."
  27.845  
  27.846 -#: modules/list:147 tazpanel/pkgs.cgi:671
  27.847 +#: modules/list:147 tazpanel/pkgs.cgi:670
  27.848  msgid "Installed packages of category \"%s\""
  27.849  msgstr "Εγκατεστημένα πακέτα στην κατηγορία: %s"
  27.850  
  27.851 @@ -944,7 +929,7 @@
  27.852  msgid "Installed files by \"%s\""
  27.853  msgstr "Εγκατεστηνμένα αρχεία από το: %s"
  27.854  
  27.855 -#: modules/list:203 modules/list:213 modules/search:206 tazpanel/pkgs.cgi:71
  27.856 +#: modules/list:203 modules/list:213 modules/search:194 tazpanel/pkgs.cgi:72
  27.857  msgid "%s file"
  27.858  msgid_plural "%s files"
  27.859  msgstr[0] "%s αρχείο"
  27.860 @@ -958,7 +943,7 @@
  27.861  msgid "File lost"
  27.862  msgstr "Το αρχείο χάθηκε"
  27.863  
  27.864 -#: modules/list:273 tazpanel/pkgs.cgi:1054 tazpanel/pkgs.cgi:1144
  27.865 +#: modules/list:273 tazpanel/pkgs.cgi:1051 tazpanel/pkgs.cgi:1141
  27.866  msgid "Configuration files"
  27.867  msgstr "Αρχεία ρυθμίσεων"
  27.868  
  27.869 @@ -1012,65 +997,65 @@
  27.870  msgid "Creating new undigest \"%s\"."
  27.871  msgstr "Δημιουργείται νέο πειραματικό (undigest) %s."
  27.872  
  27.873 -#: modules/mkdb:76
  27.874 +#: modules/mkdb:74
  27.875  msgid "Input folder not specified"
  27.876  msgstr ""
  27.877  
  27.878 -#: modules/mkdb:82
  27.879 +#: modules/mkdb:80
  27.880  msgid "You are not allowed to write to the folder \"%s\""
  27.881  msgstr ""
  27.882  
  27.883 -#: modules/mkdb:86
  27.884 +#: modules/mkdb:84
  27.885  #, fuzzy
  27.886  msgid "Folder \"%s\" does not contain packages"
  27.887  msgstr "Το %s δεν μοιάζει να είναι ένα πακέτο του %s!"
  27.888  
  27.889 -#: modules/mkdb:104
  27.890 +#: modules/mkdb:102
  27.891  #, fuzzy
  27.892  msgid "Packages DB already exists."
  27.893  msgstr "Το %s είναι ήδη εγκατεστημένο."
  27.894  
  27.895 -#: modules/mkdb:112
  27.896 +#: modules/mkdb:110
  27.897  msgid "Calculate %s..."
  27.898  msgstr ""
  27.899  
  27.900 -#: modules/pack:19
  27.901 +#: modules/pack:22
  27.902  msgid "Receipt is missing. Please read the documentation."
  27.903  msgstr "Λείπει η απόδειξη. Παρακαλώ διαβάστε την τεκμηρίωση."
  27.904  
  27.905 -#: modules/pack:23
  27.906 +#: modules/pack:26
  27.907  msgid "Packing package \"%s\""
  27.908  msgstr "Γίνεται πακετάρισμα: %s"
  27.909  
  27.910 -#: modules/pack:26
  27.911 +#: modules/pack:29
  27.912  msgid "Creating the list of files..."
  27.913  msgstr "Δημιουργείται ο κατάλογος αρχείων..."
  27.914  
  27.915 -#: modules/pack:33
  27.916 +#: modules/pack:36
  27.917  msgid "Creating %s of files..."
  27.918  msgstr "Δημιουργείται το %s των αρχείων..."
  27.919  
  27.920 -#: modules/pack:47
  27.921 +#: modules/pack:50
  27.922  msgid "Compressing the FS..."
  27.923  msgstr "Γίνεται συμπίεση του fs..."
  27.924  
  27.925 -#: modules/pack:57
  27.926 +#: modules/pack:60
  27.927  msgid "Updating receipt sizes..."
  27.928  msgstr "Γίνεται ενημέρωση του μεγέθους των αποδείξεων..."
  27.929  
  27.930 -#: modules/pack:63
  27.931 +#: modules/pack:66
  27.932  msgid "Creating full cpio archive..."
  27.933  msgstr "Δημιουργείται ένα πλήρες αρχείο cpio..."
  27.934  
  27.935 -#: modules/pack:67
  27.936 +#: modules/pack:70
  27.937  msgid "Restoring original package tree..."
  27.938  msgstr "Γίνεται ανάκτηση του αρχικού δένδρου πακέτων..."
  27.939  
  27.940 -#: modules/pack:72
  27.941 +#: modules/pack:80
  27.942  msgid "Package \"%s\" compressed successfully."
  27.943  msgstr "Το πακέτο %s συμπιέσθηκε επιτυχώς."
  27.944  
  27.945 -#: modules/pack:73 modules/repack:83
  27.946 +#: modules/pack:81 modules/repack:81
  27.947  msgid "Size: %s"
  27.948  msgstr "Μέγεθος: %s"
  27.949  
  27.950 @@ -1140,121 +1125,145 @@
  27.951  "εμφανιστεί μια λίστα με διαφορές, για να δείξει τα νέα και ενημερώσιμα "
  27.952  "πακέτα."
  27.953  
  27.954 -#: modules/remove:63
  27.955 +#: modules/recompress:32
  27.956 +msgid "Recompressing package \"%s\""
  27.957 +msgstr "Γίνεται επανασυμπίεση του: %s"
  27.958 +
  27.959 +#: modules/recompress:42
  27.960 +msgid "Recompressing the FS..."
  27.961 +msgstr "Γίνεται επανασυμπίεση του fs..."
  27.962 +
  27.963 +#: modules/recompress:47
  27.964 +msgid "Creating new package..."
  27.965 +msgstr "Δημιουργείται νέο πακέτο..."
  27.966 +
  27.967 +#: modules/reconfigure:26
  27.968 +msgid "Nothing to do for package \"%s\"."
  27.969 +msgstr "Δεν μπορεί να γίνει τίποτε για το %s."
  27.970 +
  27.971 +#: modules/remove:57
  27.972 +#, fuzzy
  27.973 +msgid "Execute pre-remove commands..."
  27.974 +msgstr ""
  27.975 +"Μετά την ολοκλήρωση της εγκατάστασης, γίνεται έλεγχος για τις εξαρτήσεις..."
  27.976 +
  27.977 +#: modules/remove:70
  27.978 +#, fuzzy
  27.979 +msgid "Execute post-remove commands..."
  27.980 +msgstr ""
  27.981 +"Μετά την ολοκλήρωση της εγκατάστασης, γίνεται έλεγχος για τις εξαρτήσεις..."
  27.982 +
  27.983 +#: modules/remove:96
  27.984  msgid "The following packages depend on package \"%s\":"
  27.985  msgstr "Τα ακόλουθα πακέτα εξαρτώνται από το %s:"
  27.986  
  27.987 -#: modules/remove:71
  27.988 +#: modules/remove:104
  27.989  msgid "The following packages have been modified by package \"%s\":"
  27.990  msgstr "Τα ακόλουθα πακέτα τροποποιήθηκαν από το %s:"
  27.991  
  27.992 -#: modules/remove:79
  27.993 +#: modules/remove:112
  27.994  msgid "Remove package \"%s\" (%s)? (y/N)"
  27.995  msgstr "Να γίνει απομάκρυνση του %s (%s)? (y/N)"
  27.996  
  27.997 -#: modules/remove:81
  27.998 +#: modules/remove:114
  27.999  msgid "Uninstallation of package \"%s\" cancelled."
 27.1000  msgstr "Απεγκατάσταση του %s έχει διαγραφεί."
 27.1001  
 27.1002 -#: modules/remove:88
 27.1003 +#: modules/remove:121
 27.1004  msgid "Removing package \"%s\""
 27.1005  msgstr "Γίνεται απομάκρυνση του: %s"
 27.1006  
 27.1007 -#: modules/remove:92
 27.1008 -msgid "Execution of pre-remove commands..."
 27.1009 -msgstr ""
 27.1010 -
 27.1011 -#: modules/remove:98
 27.1012 +#: modules/remove:128
 27.1013  msgid "Removing all files installed..."
 27.1014  msgstr "Γίνεται απομάκρυνση όλων των εγκατεστημένων πακέτων..."
 27.1015  
 27.1016 -#: modules/remove:119
 27.1017 -msgid "Execution of post-remove commands..."
 27.1018 -msgstr ""
 27.1019 -
 27.1020 -#: modules/remove:125
 27.1021 +#: modules/remove:151
 27.1022  msgid "Removing package receipt..."
 27.1023  msgstr "Γίνεται απομάκρυνση των αποδείξεων πακέτου..."
 27.1024  
 27.1025 -#: modules/remove:131
 27.1026 +#: modules/remove:157
 27.1027  #, fuzzy
 27.1028  msgid "Package \"%s\" (%s) removed."
 27.1029  msgstr "Το πακέτο %s (%s) δεν έχει εγκατασταθεί."
 27.1030  
 27.1031 -#: modules/remove:144
 27.1032 +#: modules/remove:170
 27.1033  msgid "Remove packages depending on package \"%s\"? (y/N)"
 27.1034  msgstr "Να γίνει απομάκρυνση των πακέτων που εξαρτώνται από το %s? (y/N)"
 27.1035  
 27.1036 -#: modules/remove:161
 27.1037 +#: modules/remove:187
 27.1038  msgid "Reinstall packages modified by package \"%s\"? (y/N)"
 27.1039  msgstr "Να επανεγκατασταθούν τα πακέτα που εξαρτώνται από το %s? (y/N)"
 27.1040  
 27.1041 -#: modules/remove:167
 27.1042 +#: modules/remove:193
 27.1043  msgid "Check %s for reinstallation"
 27.1044  msgstr "Ελέγξτε τα %s για επανεγκατάσταση"
 27.1045  
 27.1046 -#: modules/repack:18
 27.1047 +#: modules/repack:16
 27.1048  msgid "Repacking \"%s\""
 27.1049  msgstr "Γίνεται ξαναπακετάρισμα στο: %s"
 27.1050  
 27.1051 -#: modules/repack:21
 27.1052 +#: modules/repack:19
 27.1053  msgid "Can't repack package \"%s\""
 27.1054  msgstr "Αδύνατο το ξαναπακετάρισμα %s"
 27.1055  
 27.1056 -#: modules/repack:26
 27.1057 +#: modules/repack:24
 27.1058  msgid "Can't repack, \"%s\" files have been modified by:"
 27.1059  msgstr "Αδύνατο το ξαναπακετάρισμα, %s τα αρχεία τροποποιήθηκαν από:"
 27.1060  
 27.1061 -#: modules/repack:37
 27.1062 +#: modules/repack:35
 27.1063  msgid "Can't repack, the following files are lost:"
 27.1064  msgstr "Αδύνατο το ξαναπακετάρισμα, χάθηκαν τα εξής αρχεία:"
 27.1065  
 27.1066 -#: modules/repack:71
 27.1067 +#: modules/repack:69
 27.1068  msgid "Can't repack, %s error."
 27.1069  msgstr "Αδύνατο το ξαναπακετάρισμα, σφάλμα στο %s."
 27.1070  
 27.1071 -#: modules/repack:82
 27.1072 +#: modules/repack:80
 27.1073  msgid "Package \"%s\" repacked successfully."
 27.1074  msgstr "Το πακέτο %s ξαναπακεταρίστηκε επιτυχώς."
 27.1075  
 27.1076 -#: modules/search:32 tazpanel/pkgs.cgi:633
 27.1077 +#: modules/repack-config:44
 27.1078 +msgid "User configuration backup on date %s"
 27.1079 +msgstr "Ανττίγραφο ασφαλείας με τις ρυθμίσεις χρήστη στο %s"
 27.1080 +
 27.1081 +#: modules/search:19 tazpanel/pkgs.cgi:632
 27.1082  msgid "Installed packages"
 27.1083  msgstr "Εγκατεστημένα πακέτα"
 27.1084  
 27.1085 -#: modules/search:45
 27.1086 +#: modules/search:32
 27.1087  msgid "%s installed package found for \"%s\""
 27.1088  msgid_plural "%s installed packages found for \"%s\""
 27.1089  msgstr[0] "%s εγκατεστημένο πακέτο βρέθηκε για το: %s"
 27.1090  msgstr[1] "%s εγκατεστημένα πακέτα βρέθηκαν για το: %s"
 27.1091  
 27.1092 -#: modules/search:54 tazpanel/pkgs.cgi:632
 27.1093 +#: modules/search:41 tazpanel/pkgs.cgi:631
 27.1094  msgid "Available packages"
 27.1095  msgstr "Διαθέσιμα πακέτα"
 27.1096  
 27.1097 -#: modules/search:86 modules/search:120
 27.1098 +#: modules/search:73 modules/search:107
 27.1099  msgid "%s available package found for \"%s\""
 27.1100  msgid_plural "%s available packages found for \"%s\""
 27.1101  msgstr[0] "%s διαθέσιμο πακέτο βρέθηκε για το: %s"
 27.1102  msgstr[1] "%s διαθέσιμα πακέτα βρέθηκαν για το: %s"
 27.1103  
 27.1104 -#: modules/search:96
 27.1105 +#: modules/search:83
 27.1106  msgid "Matching packages name with version and desc"
 27.1107  msgstr "Ταίριασμα του ονόματος των πακέτων με την έκδοση και την περιγραφή"
 27.1108  
 27.1109 -#: modules/search:140
 27.1110 +#: modules/search:127
 27.1111  msgid "Search result for \"%s\""
 27.1112  msgstr "Να γίνει αναζήτηση για το: %s"
 27.1113  
 27.1114 -#: modules/search:157
 27.1115 +#: modules/search:144
 27.1116  msgid "Search result for file \"%s\""
 27.1117  msgstr "Να γίνει αναζήτηση για το αρχείο %s"
 27.1118  
 27.1119 -#: modules/search:177 modules/search:191
 27.1120 +#: modules/search:164 modules/search:179
 27.1121  #, fuzzy
 27.1122  msgid "Package %s:"
 27.1123  msgstr "Πακέτο"
 27.1124  
 27.1125 -#: modules/search:216
 27.1126 +#: modules/search:204
 27.1127  msgid "Search result for package \"%s\""
 27.1128  msgstr "Αναζήτηση για το πακέτο %s"
 27.1129  
 27.1130 @@ -1263,19 +1272,19 @@
 27.1131  msgid "Repository:"
 27.1132  msgstr "Αποθετήριο: %s"
 27.1133  
 27.1134 -#: modules/summary:38 tazpanel/pkgs.cgi:1678
 27.1135 +#: modules/summary:38 tazpanel/pkgs.cgi:1675
 27.1136  msgid "Last recharge:"
 27.1137  msgstr "Τελευταία ανανέωση:"
 27.1138  
 27.1139 -#: modules/summary:50 tazpanel/pkgs.cgi:1691
 27.1140 +#: modules/summary:50 tazpanel/pkgs.cgi:1688
 27.1141  msgid "Today at %s."
 27.1142  msgstr ""
 27.1143  
 27.1144 -#: modules/summary:51 tazpanel/pkgs.cgi:1692
 27.1145 +#: modules/summary:51 tazpanel/pkgs.cgi:1689
 27.1146  msgid "Yesterday at %s."
 27.1147  msgstr ""
 27.1148  
 27.1149 -#: modules/summary:52 tazpanel/pkgs.cgi:1689
 27.1150 +#: modules/summary:52 tazpanel/pkgs.cgi:1686
 27.1151  msgid "%d day ago."
 27.1152  msgid_plural "%d days ago."
 27.1153  msgstr[0] ""
 27.1154 @@ -1285,11 +1294,11 @@
 27.1155  msgid "Database timestamp:"
 27.1156  msgstr ""
 27.1157  
 27.1158 -#: modules/summary:58 tazpanel/pkgs.cgi:1699
 27.1159 +#: modules/summary:58 tazpanel/pkgs.cgi:1696
 27.1160  msgid "never."
 27.1161  msgstr ""
 27.1162  
 27.1163 -#: modules/summary:62 tazpanel/pkgs.cgi:1709
 27.1164 +#: modules/summary:62 tazpanel/pkgs.cgi:1706
 27.1165  msgid "Mirrored packages:"
 27.1166  msgstr "Καθρεπτιζόμενα πακέτα:"
 27.1167  
 27.1168 @@ -1298,75 +1307,75 @@
 27.1169  msgid "Linked packages:"
 27.1170  msgstr "Πακέτα με δυνατότητα διασυνδέσης (linkable)"
 27.1171  
 27.1172 -#: modules/summary:74 tazpanel/pkgs.cgi:1704
 27.1173 +#: modules/summary:74 tazpanel/pkgs.cgi:1701
 27.1174  msgid "Installed packages:"
 27.1175  msgstr "Εγκατεστημένα πακέτα:"
 27.1176  
 27.1177 -#: modules/summary:75 tazpanel/pkgs.cgi:1719
 27.1178 +#: modules/summary:75 tazpanel/pkgs.cgi:1716
 27.1179  msgid "Installed files:"
 27.1180  msgstr "Εγκατεστημένα αρχεία:"
 27.1181  
 27.1182 -#: modules/summary:76 tazpanel/pkgs.cgi:1722
 27.1183 +#: modules/summary:76 tazpanel/pkgs.cgi:1719
 27.1184  msgid "Blocked packages:"
 27.1185  msgstr "Μπλοκαρισμένα πακέτα:"
 27.1186  
 27.1187 -#: modules/summary:77 tazpanel/pkgs.cgi:1714
 27.1188 +#: modules/summary:77 tazpanel/pkgs.cgi:1711
 27.1189  msgid "Upgradeable packages:"
 27.1190  msgstr "Αναβαθμίσιμα πακέτα:"
 27.1191  
 27.1192 -#: modules/upgrade:74
 27.1193 +#: modules/upgrade:43
 27.1194  msgid "New build"
 27.1195  msgstr "Νέο build"
 27.1196  
 27.1197 -#: modules/upgrade:76
 27.1198 +#: modules/upgrade:45
 27.1199  msgid "Blocked"
 27.1200  msgstr "Μπλοκαρίστηκε"
 27.1201  
 27.1202 -#: modules/upgrade:119 modules/upgrade:135 tazpanel/pkgs.cgi:783
 27.1203 +#: modules/upgrade:88 modules/upgrade:104 tazpanel/pkgs.cgi:782
 27.1204  msgid "Package"
 27.1205  msgstr "Πακέτο"
 27.1206  
 27.1207 -#: modules/upgrade:119 modules/upgrade:135 tazpanel/pkgs.cgi:551
 27.1208 +#: modules/upgrade:88 modules/upgrade:104 tazpanel/pkgs.cgi:550
 27.1209  #, fuzzy
 27.1210  msgid "Repository"
 27.1211  msgstr "Αποθετήριο: %s"
 27.1212  
 27.1213 -#: modules/upgrade:119 modules/upgrade:135 tazpanel/pkgs.cgi:293
 27.1214 -#: tazpanel/pkgs.cgi:1014
 27.1215 +#: modules/upgrade:88 modules/upgrade:104 tazpanel/pkgs.cgi:292
 27.1216 +#: tazpanel/pkgs.cgi:1011
 27.1217  msgid "Version"
 27.1218  msgstr "Έκδοση"
 27.1219  
 27.1220 -#: modules/upgrade:119 modules/upgrade:135
 27.1221 +#: modules/upgrade:88 modules/upgrade:104
 27.1222  msgid "Status"
 27.1223  msgstr "Κατάσταση"
 27.1224  
 27.1225 -#: modules/upgrade:146
 27.1226 +#: modules/upgrade:115
 27.1227  msgid "System is up-to-date..."
 27.1228  msgstr "Το σύστημα είναι ενημερωμένο..."
 27.1229  
 27.1230 -#: modules/upgrade:151
 27.1231 +#: modules/upgrade:120
 27.1232  msgid "%s blocked"
 27.1233  msgid_plural "%s blocked"
 27.1234  msgstr[0] "%s μπλοκαρίστηκε"
 27.1235  msgstr[1] "%s μπλοκαρίστηκαν"
 27.1236  
 27.1237 -#: modules/upgrade:156
 27.1238 +#: modules/upgrade:125
 27.1239  msgid "You have %s available upgrade (%s)"
 27.1240  msgid_plural "You have %s available upgrades (%s)"
 27.1241  msgstr[0] "Έχετε %s διαθέσιμη ενημέρωσ (%s)"
 27.1242  msgstr[1] "Έχετε %s διαθέσιμες ενημερώσεις (%s)"
 27.1243  
 27.1244 -#: modules/upgrade:161
 27.1245 +#: modules/upgrade:130
 27.1246  msgid "%s installed package scanned in %ds"
 27.1247  msgid_plural "%s installed packages scanned in %ds"
 27.1248  msgstr[0] "%s το εγκατεστημένο πακέτο σαρώθηκε σε %d δευτερόλεπτα"
 27.1249  msgstr[1] "%s τα εγκατεστημένα πακέτα σαρώθηκαν σε %d δευτερόλεπτα"
 27.1250  
 27.1251 -#: modules/upgrade:176
 27.1252 +#: modules/upgrade:145
 27.1253  msgid "Do you wish to install them now? (y/N)"
 27.1254  msgstr "Θέλετε να τα εγκαταστήσετε τώρα? (y/N)"
 27.1255  
 27.1256 -#: modules/upgrade:188
 27.1257 +#: modules/upgrade:157
 27.1258  msgid "Leaving without any upgrades installed."
 27.1259  msgstr "Το αφήνετε χωρίς να έχουν εγκατασταθεί καθόλου ενημερώσεις."
 27.1260  
 27.1261 @@ -1380,7 +1389,7 @@
 27.1262  msgid "package"
 27.1263  msgstr "Πακέτο"
 27.1264  
 27.1265 -#: tazpkg-box:54 tazpanel/pkgs.cgi:254
 27.1266 +#: tazpkg-box:54 tazpanel/pkgs.cgi:253
 27.1267  msgid "Install"
 27.1268  msgstr "Εγκατάσταση"
 27.1269  
 27.1270 @@ -1403,8 +1412,8 @@
 27.1271  msgid "Checking packages lists - %s"
 27.1272  msgstr "Γίνεται έλεγχος στις λίστες πακέτων - %s"
 27.1273  
 27.1274 -#: tazpkg-notify:58 tazpanel/pkgs.cgi:41 tazpanel/pkgs.cgi:249
 27.1275 -#: tazpanel/pkgs.cgi:528
 27.1276 +#: tazpkg-notify:58 tazpanel/pkgs.cgi:41 tazpanel/pkgs.cgi:248
 27.1277 +#: tazpanel/pkgs.cgi:527
 27.1278  msgid "My packages"
 27.1279  msgstr "Τα πακέτα μου"
 27.1280  
 27.1281 @@ -1446,16 +1455,16 @@
 27.1282  msgid "System is up to date - %s"
 27.1283  msgstr "Το σύστημα είναι ενημερωμένο - %s"
 27.1284  
 27.1285 -#: tazpanel/pkgs.cgi:38 tazpanel/pkgs.cgi:195
 27.1286 +#: tazpanel/pkgs.cgi:38 tazpanel/pkgs.cgi:194
 27.1287  #, fuzzy
 27.1288  msgid "Packages"
 27.1289  msgstr "Πακέτο"
 27.1290  
 27.1291 -#: tazpanel/pkgs.cgi:40 tazpanel/pkgs.cgi:1674
 27.1292 +#: tazpanel/pkgs.cgi:40 tazpanel/pkgs.cgi:1671
 27.1293  msgid "Summary"
 27.1294  msgstr ""
 27.1295  
 27.1296 -#: tazpanel/pkgs.cgi:42 tazpanel/pkgs.cgi:247
 27.1297 +#: tazpanel/pkgs.cgi:42 tazpanel/pkgs.cgi:246
 27.1298  msgid "Recharge list"
 27.1299  msgstr "Ανανέωση λίστας"
 27.1300  
 27.1301 @@ -1464,407 +1473,407 @@
 27.1302  msgid "Check updates"
 27.1303  msgstr "Έλεγχος αναβαθμίσεων"
 27.1304  
 27.1305 -#: tazpanel/pkgs.cgi:44 tazpanel/pkgs.cgi:252 tazpanel/pkgs.cgi:1090
 27.1306 -#: tazpanel/pkgs.cgi:1334
 27.1307 +#: tazpanel/pkgs.cgi:44 tazpanel/pkgs.cgi:251 tazpanel/pkgs.cgi:1087
 27.1308 +#: tazpanel/pkgs.cgi:1331
 27.1309  msgid "Administration"
 27.1310  msgstr "Διαχείριση"
 27.1311  
 27.1312 -#: tazpanel/pkgs.cgi:181
 27.1313 +#: tazpanel/pkgs.cgi:180
 27.1314  msgid "Receipt for package %s unavailable"
 27.1315  msgstr ""
 27.1316  
 27.1317 -#: tazpanel/pkgs.cgi:248
 27.1318 +#: tazpanel/pkgs.cgi:247
 27.1319  msgid "Check upgrades"
 27.1320  msgstr "Έλεγχος αναβαθμίσεων"
 27.1321  
 27.1322 -#: tazpanel/pkgs.cgi:250 tazpanel/pkgs.cgi:1026
 27.1323 +#: tazpanel/pkgs.cgi:249 tazpanel/pkgs.cgi:1023
 27.1324  msgid "Tags"
 27.1325  msgstr "Ετικέτες"
 27.1326  
 27.1327 -#: tazpanel/pkgs.cgi:251 tazpanel/pkgs.cgi:587
 27.1328 +#: tazpanel/pkgs.cgi:250 tazpanel/pkgs.cgi:586
 27.1329  msgid "Linkable packages"
 27.1330  msgstr "Πακέτα με δυνατότητα διασυνδέσης (linkable)"
 27.1331  
 27.1332 -#: tazpanel/pkgs.cgi:253
 27.1333 +#: tazpanel/pkgs.cgi:252
 27.1334  msgid "Install (Non Free)"
 27.1335  msgstr "Εγκατάσταση (Μη ελεύθερο)"
 27.1336  
 27.1337 -#: tazpanel/pkgs.cgi:255
 27.1338 +#: tazpanel/pkgs.cgi:254
 27.1339  msgid "Remove"
 27.1340  msgstr "Απομάκρυνση"
 27.1341  
 27.1342 -#: tazpanel/pkgs.cgi:256
 27.1343 +#: tazpanel/pkgs.cgi:255
 27.1344  msgid "Link"
 27.1345  msgstr "Σύνδεσμος"
 27.1346  
 27.1347 -#: tazpanel/pkgs.cgi:257
 27.1348 +#: tazpanel/pkgs.cgi:256
 27.1349  msgid "Block"
 27.1350  msgstr "Μπλοκάρισμα"
 27.1351  
 27.1352 -#: tazpanel/pkgs.cgi:258
 27.1353 +#: tazpanel/pkgs.cgi:257
 27.1354  msgid "Unblock"
 27.1355  msgstr "Ξεμπλοκάρισμα"
 27.1356  
 27.1357 -#: tazpanel/pkgs.cgi:259
 27.1358 +#: tazpanel/pkgs.cgi:258
 27.1359  #, fuzzy
 27.1360  msgid "(Un)block"
 27.1361  msgstr "Ξεμπλοκάρισμα"
 27.1362  
 27.1363 -#: tazpanel/pkgs.cgi:260
 27.1364 +#: tazpanel/pkgs.cgi:259
 27.1365  msgid "Repack"
 27.1366  msgstr "Επανασυσκευασία"
 27.1367  
 27.1368 -#: tazpanel/pkgs.cgi:261
 27.1369 +#: tazpanel/pkgs.cgi:260
 27.1370  msgid "Save configuration"
 27.1371  msgstr "Αποθήκευση διαμόρφωσης"
 27.1372  
 27.1373 -#: tazpanel/pkgs.cgi:262
 27.1374 +#: tazpanel/pkgs.cgi:261
 27.1375  msgid "List configuration files"
 27.1376  msgstr "Εμφάνιση αρχείων διαμόρφωσης"
 27.1377  
 27.1378 -#: tazpanel/pkgs.cgi:263
 27.1379 +#: tazpanel/pkgs.cgi:262
 27.1380  msgid "Quick check"
 27.1381  msgstr "Γρήγορος έλεγχος"
 27.1382  
 27.1383 -#: tazpanel/pkgs.cgi:264
 27.1384 +#: tazpanel/pkgs.cgi:263
 27.1385  msgid "Full check"
 27.1386  msgstr "Ολοκληρωμένος έλεγχος"
 27.1387  
 27.1388 -#: tazpanel/pkgs.cgi:265
 27.1389 +#: tazpanel/pkgs.cgi:264
 27.1390  msgid "Clean"
 27.1391  msgstr ""
 27.1392  
 27.1393 -#: tazpanel/pkgs.cgi:266
 27.1394 +#: tazpanel/pkgs.cgi:265
 27.1395  msgid "Set link"
 27.1396  msgstr "Ορισμός συνδέσμου"
 27.1397  
 27.1398 -#: tazpanel/pkgs.cgi:267
 27.1399 +#: tazpanel/pkgs.cgi:266
 27.1400  msgid "Remove link"
 27.1401  msgstr "Απομάκρυνση συνδέσμου"
 27.1402  
 27.1403 -#: tazpanel/pkgs.cgi:268
 27.1404 +#: tazpanel/pkgs.cgi:267
 27.1405  #, fuzzy
 27.1406  msgid "Add mirror"
 27.1407  msgstr "καθρέπτης"
 27.1408  
 27.1409 -#: tazpanel/pkgs.cgi:269
 27.1410 +#: tazpanel/pkgs.cgi:268
 27.1411  #, fuzzy
 27.1412  msgid "Add repository"
 27.1413  msgstr "Αποθετήριο: %s"
 27.1414  
 27.1415 -#: tazpanel/pkgs.cgi:270
 27.1416 +#: tazpanel/pkgs.cgi:269
 27.1417  #, fuzzy
 27.1418  msgid "Toggle all"
 27.1419  msgstr "Εναλλαγή όλων"
 27.1420  
 27.1421 -#: tazpanel/pkgs.cgi:292 tazpanel/pkgs.cgi:1008 tazpanel/pkgs.cgi:1268
 27.1422 +#: tazpanel/pkgs.cgi:291 tazpanel/pkgs.cgi:1005 tazpanel/pkgs.cgi:1265
 27.1423  msgid "Name"
 27.1424  msgstr "Όνομα"
 27.1425  
 27.1426 -#: tazpanel/pkgs.cgi:294 tazpanel/pkgs.cgi:1018
 27.1427 +#: tazpanel/pkgs.cgi:293 tazpanel/pkgs.cgi:1015
 27.1428  msgid "Description"
 27.1429  msgstr "Περιγραφή"
 27.1430  
 27.1431 -#: tazpanel/pkgs.cgi:332 tazpanel/pkgs.cgi:1209
 27.1432 +#: tazpanel/pkgs.cgi:331 tazpanel/pkgs.cgi:1206
 27.1433  msgid "Repository: %s"
 27.1434  msgstr "Αποθετήριο: %s"
 27.1435  
 27.1436 -#: tazpanel/pkgs.cgi:342 tazpanel/pkgs.cgi:417
 27.1437 +#: tazpanel/pkgs.cgi:341 tazpanel/pkgs.cgi:416
 27.1438  #, fuzzy
 27.1439  msgid "Pages:"
 27.1440  msgstr "Πακέτο"
 27.1441  
 27.1442 -#: tazpanel/pkgs.cgi:493
 27.1443 +#: tazpanel/pkgs.cgi:492
 27.1444  msgid "Web search tool"
 27.1445  msgstr ""
 27.1446  
 27.1447 -#: tazpanel/pkgs.cgi:495
 27.1448 +#: tazpanel/pkgs.cgi:494
 27.1449  msgid "Search"
 27.1450  msgstr "Αναζήτηση"
 27.1451  
 27.1452 -#: tazpanel/pkgs.cgi:496
 27.1453 +#: tazpanel/pkgs.cgi:495
 27.1454  msgid "Files"
 27.1455  msgstr "Αρχεία"
 27.1456  
 27.1457 -#: tazpanel/pkgs.cgi:529
 27.1458 +#: tazpanel/pkgs.cgi:528
 27.1459  #, fuzzy
 27.1460  msgid "All packages"
 27.1461  msgstr "Διαθέσιμα πακέτα"
 27.1462  
 27.1463 -#: tazpanel/pkgs.cgi:533
 27.1464 +#: tazpanel/pkgs.cgi:532
 27.1465  msgid "Categories"
 27.1466  msgstr "Κατηγορίες"
 27.1467  
 27.1468 -#: tazpanel/pkgs.cgi:554
 27.1469 +#: tazpanel/pkgs.cgi:553
 27.1470  msgid "Public"
 27.1471  msgstr "Δημόσια"
 27.1472  
 27.1473 -#: tazpanel/pkgs.cgi:558
 27.1474 +#: tazpanel/pkgs.cgi:557
 27.1475  msgid "Any"
 27.1476  msgstr "Οποιοδήποτε"
 27.1477  
 27.1478 -#: tazpanel/pkgs.cgi:565
 27.1479 +#: tazpanel/pkgs.cgi:564
 27.1480  msgid "All tags..."
 27.1481  msgstr ""
 27.1482  
 27.1483 -#: tazpanel/pkgs.cgi:566
 27.1484 +#: tazpanel/pkgs.cgi:565
 27.1485  #, fuzzy
 27.1486  msgid "All categories..."
 27.1487  msgstr "Κατηγορίες"
 27.1488  
 27.1489 -#: tazpanel/pkgs.cgi:588
 27.1490 +#: tazpanel/pkgs.cgi:587
 27.1491  msgid "Listing linkable packages..."
 27.1492  msgstr "Καταγραφή πακέτων με δυνατότητα διασυνδέσης (linkable)..."
 27.1493  
 27.1494 -#: tazpanel/pkgs.cgi:592
 27.1495 +#: tazpanel/pkgs.cgi:591
 27.1496  #, fuzzy
 27.1497  msgid "Selection:"
 27.1498  msgstr "Περιγραφή:"
 27.1499  
 27.1500 -#: tazpanel/pkgs.cgi:622
 27.1501 +#: tazpanel/pkgs.cgi:621
 27.1502  #, fuzzy
 27.1503  msgid "Categories list"
 27.1504  msgstr "Κατηγορίες"
 27.1505  
 27.1506 -#: tazpanel/pkgs.cgi:631 tazpanel/pkgs.cgi:1016
 27.1507 +#: tazpanel/pkgs.cgi:630 tazpanel/pkgs.cgi:1013
 27.1508  msgid "Category"
 27.1509  msgstr "Κατηγορία"
 27.1510  
 27.1511 -#: tazpanel/pkgs.cgi:664 tazpanel/pkgs.cgi:718 tazpanel/pkgs.cgi:1314
 27.1512 +#: tazpanel/pkgs.cgi:663 tazpanel/pkgs.cgi:717 tazpanel/pkgs.cgi:1311
 27.1513  #, fuzzy
 27.1514  msgid "Packages list"
 27.1515  msgstr "Πακέτο %s"
 27.1516  
 27.1517 -#: tazpanel/pkgs.cgi:665 tazpanel/pkgs.cgi:719
 27.1518 +#: tazpanel/pkgs.cgi:664 tazpanel/pkgs.cgi:718
 27.1519  msgid "Listing packages..."
 27.1520  msgstr "Καταγραφή πακέτων..."
 27.1521  
 27.1522 -#: tazpanel/pkgs.cgi:672
 27.1523 +#: tazpanel/pkgs.cgi:671
 27.1524  #, fuzzy
 27.1525  msgid "All packages of category \"%s\""
 27.1526  msgstr "Εγκατεστημένα πακέτα στην κατηγορία: %s"
 27.1527  
 27.1528 -#: tazpanel/pkgs.cgi:676
 27.1529 +#: tazpanel/pkgs.cgi:675
 27.1530  #, fuzzy
 27.1531  msgid "Installed packages of category \"%s\" in repository \"%s\""
 27.1532  msgstr "Εγκατεστημένα πακέτα στην κατηγορία: %s"
 27.1533  
 27.1534 -#: tazpanel/pkgs.cgi:677
 27.1535 +#: tazpanel/pkgs.cgi:676
 27.1536  #, fuzzy
 27.1537  msgid "All packages of category \"%s\" in repository \"%s\""
 27.1538  msgstr "Εγκατεστημένα πακέτα στην κατηγορία: %s"
 27.1539  
 27.1540 -#: tazpanel/pkgs.cgi:686
 27.1541 +#: tazpanel/pkgs.cgi:685
 27.1542  msgid "You can not view a list of all packages until recharging lists."
 27.1543  msgstr ""
 27.1544  
 27.1545 -#: tazpanel/pkgs.cgi:690 tazpanel/pkgs.cgi:731 tazpanel/pkgs.cgi:769
 27.1546 -#: tazpanel/pkgs.cgi:852 tazpanel/pkgs.cgi:1446 tazpanel/pkgs.cgi:1474
 27.1547 +#: tazpanel/pkgs.cgi:689 tazpanel/pkgs.cgi:730 tazpanel/pkgs.cgi:768
 27.1548 +#: tazpanel/pkgs.cgi:851 tazpanel/pkgs.cgi:1443 tazpanel/pkgs.cgi:1471
 27.1549  #, fuzzy
 27.1550  msgid "Selected packages:"
 27.1551  msgstr "Μπλοκαρισμένα πακέτα:"
 27.1552  
 27.1553 -#: tazpanel/pkgs.cgi:726
 27.1554 +#: tazpanel/pkgs.cgi:725
 27.1555  #, fuzzy
 27.1556  msgid "Packages suggested by %s"
 27.1557  msgstr "Γίνεται εξαγωγή του %s στο: %s"
 27.1558  
 27.1559 -#: tazpanel/pkgs.cgi:761
 27.1560 +#: tazpanel/pkgs.cgi:760
 27.1561  msgid "Search packages"
 27.1562  msgstr "Αναζήτηση πακέτων"
 27.1563  
 27.1564 -#: tazpanel/pkgs.cgi:762
 27.1565 +#: tazpanel/pkgs.cgi:761
 27.1566  msgid "Searching packages..."
 27.1567  msgstr "Αναζήτηση πακέτων..."
 27.1568  
 27.1569 -#: tazpanel/pkgs.cgi:784
 27.1570 +#: tazpanel/pkgs.cgi:783
 27.1571  msgid "File"
 27.1572  msgstr "Αρχείο"
 27.1573  
 27.1574 -#: tazpanel/pkgs.cgi:822
 27.1575 +#: tazpanel/pkgs.cgi:821
 27.1576  msgid "Recharge"
 27.1577  msgstr "Ανανέωση"
 27.1578  
 27.1579 -#: tazpanel/pkgs.cgi:823
 27.1580 +#: tazpanel/pkgs.cgi:822
 27.1581  msgid "Recharging lists..."
 27.1582  msgstr "Ανανέωση λιστών..."
 27.1583  
 27.1584 -#: tazpanel/pkgs.cgi:826
 27.1585 +#: tazpanel/pkgs.cgi:825
 27.1586  msgid "Recharge checks for new or updated packages"
 27.1587  msgstr "Η ανανέωση ελέγχει για νέα ή αναβαθμισμένα πακέτα"
 27.1588  
 27.1589 -#: tazpanel/pkgs.cgi:830
 27.1590 +#: tazpanel/pkgs.cgi:829
 27.1591  #, fuzzy
 27.1592  msgid "Recharging log"
 27.1593  msgstr "Ανανέωση λιστών..."
 27.1594  
 27.1595 -#: tazpanel/pkgs.cgi:834
 27.1596 +#: tazpanel/pkgs.cgi:833
 27.1597  msgid "Recharging packages list"
 27.1598  msgstr "Ανανέωση λίστας πακέτων"
 27.1599  
 27.1600 -#: tazpanel/pkgs.cgi:837
 27.1601 +#: tazpanel/pkgs.cgi:836
 27.1602  msgid "Packages lists are up-to-date. You should check for upgrades now."
 27.1603  msgstr ""
 27.1604  "Οι λίστες πακέτων είναι ενημερωμένες. Τώρα θα πρέπει να ελέγξετε για "
 27.1605  "αναβαθμίσεις."
 27.1606  
 27.1607 -#: tazpanel/pkgs.cgi:847
 27.1608 +#: tazpanel/pkgs.cgi:846
 27.1609  msgid "Up packages"
 27.1610  msgstr "Αναβαθμίσιμα πακέτα"
 27.1611  
 27.1612 -#: tazpanel/pkgs.cgi:848
 27.1613 +#: tazpanel/pkgs.cgi:847
 27.1614  msgid "Checking for upgrades..."
 27.1615  msgstr "Έλεγχος για αναβαθμίσεις..."
 27.1616  
 27.1617 -#: tazpanel/pkgs.cgi:896
 27.1618 +#: tazpanel/pkgs.cgi:888
 27.1619  #, fuzzy
 27.1620  msgid "Installing: %s"
 27.1621  msgstr "Εγκατεστημένα αρχεία: %s"
 27.1622  
 27.1623 -#: tazpanel/pkgs.cgi:897
 27.1624 +#: tazpanel/pkgs.cgi:889
 27.1625  #, fuzzy
 27.1626  msgid "Removing: %s"
 27.1627  msgstr "Γίνεται απομάκρυνση του: %s"
 27.1628  
 27.1629 -#: tazpanel/pkgs.cgi:898
 27.1630 +#: tazpanel/pkgs.cgi:890
 27.1631  #, fuzzy
 27.1632  msgid "Linking: %s"
 27.1633  msgstr "Λείπουν: %s"
 27.1634  
 27.1635 -#: tazpanel/pkgs.cgi:899
 27.1636 +#: tazpanel/pkgs.cgi:891
 27.1637  #, fuzzy
 27.1638  msgid "Blocking: %s"
 27.1639  msgstr "Γίνεται μεταφόρτωση: $pkg"
 27.1640  
 27.1641 -#: tazpanel/pkgs.cgi:900
 27.1642 +#: tazpanel/pkgs.cgi:892
 27.1643  #, fuzzy
 27.1644  msgid "Unblocking: %s"
 27.1645  msgstr "Γίνεται μεταφόρτωση: $pkg"
 27.1646  
 27.1647 -#: tazpanel/pkgs.cgi:901
 27.1648 +#: tazpanel/pkgs.cgi:893
 27.1649  #, fuzzy
 27.1650  msgid "(Un)blocking: %s"
 27.1651  msgstr "Γίνεται μεταφόρτωση: $pkg"
 27.1652  
 27.1653 -#: tazpanel/pkgs.cgi:902
 27.1654 +#: tazpanel/pkgs.cgi:894
 27.1655  #, fuzzy
 27.1656  msgid "Repacking: %s"
 27.1657  msgstr "Γίνεται ξαναπακετάρισμα στο: %s"
 27.1658  
 27.1659 -#: tazpanel/pkgs.cgi:923
 27.1660 +#: tazpanel/pkgs.cgi:920
 27.1661  #, fuzzy
 27.1662  msgid "Package info"
 27.1663  msgstr "Πακέτο"
 27.1664  
 27.1665 -#: tazpanel/pkgs.cgi:924
 27.1666 +#: tazpanel/pkgs.cgi:921
 27.1667  msgid "Getting package info..."
 27.1668  msgstr "Συγκέντρωση πληροφοριών πακέτων..."
 27.1669  
 27.1670 -#: tazpanel/pkgs.cgi:1012
 27.1671 +#: tazpanel/pkgs.cgi:1009
 27.1672  #, fuzzy
 27.1673  msgid "State"
 27.1674  msgstr "Κατάσταση"
 27.1675  
 27.1676 -#: tazpanel/pkgs.cgi:1020
 27.1677 +#: tazpanel/pkgs.cgi:1017
 27.1678  msgid "Maintainer"
 27.1679  msgstr "Συντηρητής"
 27.1680  
 27.1681 -#: tazpanel/pkgs.cgi:1022
 27.1682 +#: tazpanel/pkgs.cgi:1019
 27.1683  msgid "License"
 27.1684  msgstr ""
 27.1685  
 27.1686 -#: tazpanel/pkgs.cgi:1024
 27.1687 +#: tazpanel/pkgs.cgi:1021
 27.1688  msgid "Website"
 27.1689  msgstr "Ιστοσελίδα"
 27.1690  
 27.1691 -#: tazpanel/pkgs.cgi:1028
 27.1692 +#: tazpanel/pkgs.cgi:1025
 27.1693  msgid "Sizes"
 27.1694  msgstr "Μέγεθος"
 27.1695  
 27.1696 -#: tazpanel/pkgs.cgi:1030
 27.1697 +#: tazpanel/pkgs.cgi:1027
 27.1698  #, fuzzy
 27.1699  msgid "Depends"
 27.1700  msgstr "Εξαρτήσεις:"
 27.1701  
 27.1702 -#: tazpanel/pkgs.cgi:1032
 27.1703 +#: tazpanel/pkgs.cgi:1029
 27.1704  #, fuzzy
 27.1705  msgid "Provide"
 27.1706  msgstr "Πακέτο           : %s"
 27.1707  
 27.1708 -#: tazpanel/pkgs.cgi:1034
 27.1709 +#: tazpanel/pkgs.cgi:1031
 27.1710  msgid "Suggested"
 27.1711  msgstr "Προτεινόμενα"
 27.1712  
 27.1713 -#: tazpanel/pkgs.cgi:1039
 27.1714 +#: tazpanel/pkgs.cgi:1036
 27.1715  msgid "View receipt"
 27.1716  msgstr ""
 27.1717  
 27.1718 -#: tazpanel/pkgs.cgi:1040
 27.1719 +#: tazpanel/pkgs.cgi:1037
 27.1720  #, fuzzy
 27.1721  msgid "Improve package"
 27.1722  msgstr "Αναβαθμίσιμα πακέτα"
 27.1723  
 27.1724 -#: tazpanel/pkgs.cgi:1063
 27.1725 +#: tazpanel/pkgs.cgi:1060
 27.1726  msgid "Installed files"
 27.1727  msgstr "Εγκατεστημένα αρχεία"
 27.1728  
 27.1729 -#: tazpanel/pkgs.cgi:1065
 27.1730 +#: tazpanel/pkgs.cgi:1062
 27.1731  msgid "Please wait"
 27.1732  msgstr ""
 27.1733  
 27.1734 -#: tazpanel/pkgs.cgi:1128
 27.1735 +#: tazpanel/pkgs.cgi:1125
 27.1736  msgid "TazPkg administration and settings"
 27.1737  msgstr "Διαχείριση και ρυθμίσεις TazPkg"
 27.1738  
 27.1739 -#: tazpanel/pkgs.cgi:1137
 27.1740 +#: tazpanel/pkgs.cgi:1134
 27.1741  msgid "Creating the package..."
 27.1742  msgstr "Δημιουργία του πακέτου..."
 27.1743  
 27.1744 -#: tazpanel/pkgs.cgi:1141
 27.1745 +#: tazpanel/pkgs.cgi:1138
 27.1746  msgid "Path:"
 27.1747  msgstr "Διαδρομή:"
 27.1748  
 27.1749 -#: tazpanel/pkgs.cgi:1155
 27.1750 +#: tazpanel/pkgs.cgi:1152
 27.1751  msgid "Checking packages consistency..."
 27.1752  msgstr "Έλεγχος συνοχής πακέτου..."
 27.1753  
 27.1754 -#: tazpanel/pkgs.cgi:1159
 27.1755 +#: tazpanel/pkgs.cgi:1156
 27.1756  msgid "Full packages check..."
 27.1757  msgstr "Πλήρης έλεγχος πακέτου..."
 27.1758  
 27.1759 -#: tazpanel/pkgs.cgi:1168 tazpanel/pkgs.cgi:1179
 27.1760 +#: tazpanel/pkgs.cgi:1165 tazpanel/pkgs.cgi:1176
 27.1761  msgid "%s is installed on /mnt/packages"
 27.1762  msgstr ""
 27.1763  
 27.1764 -#: tazpanel/pkgs.cgi:1192
 27.1765 +#: tazpanel/pkgs.cgi:1189
 27.1766  msgid "Packages cache"
 27.1767  msgstr "Προσωρινή μνήμη πακέτων"
 27.1768  
 27.1769 -#: tazpanel/pkgs.cgi:1194
 27.1770 +#: tazpanel/pkgs.cgi:1191
 27.1771  msgid "Packages in the cache: %s (%s)"
 27.1772  msgstr "Πακέτα στην προσωρινή μνήμη: %s (%s)"
 27.1773  
 27.1774 -#: tazpanel/pkgs.cgi:1201
 27.1775 +#: tazpanel/pkgs.cgi:1198
 27.1776  msgid "Current mirror list"
 27.1777  msgstr "Τρέχουσα λίστα καθρεπτών"
 27.1778  
 27.1779 -#: tazpanel/pkgs.cgi:1224 tazpanel/pkgs.cgi:1256
 27.1780 +#: tazpanel/pkgs.cgi:1221 tazpanel/pkgs.cgi:1253
 27.1781  msgid "Delete"
 27.1782  msgstr "Διαγραφή"
 27.1783  
 27.1784 -#: tazpanel/pkgs.cgi:1246
 27.1785 +#: tazpanel/pkgs.cgi:1243
 27.1786  msgid "Private repositories"
 27.1787  msgstr "Ιδιωτικά αποθετήρια"
 27.1788  
 27.1789 -#: tazpanel/pkgs.cgi:1269
 27.1790 +#: tazpanel/pkgs.cgi:1266
 27.1791  msgid "URL:"
 27.1792  msgstr ""
 27.1793  
 27.1794 -#: tazpanel/pkgs.cgi:1279
 27.1795 +#: tazpanel/pkgs.cgi:1276
 27.1796  msgid "Link to another SliTaz installation"
 27.1797  msgstr "Σύνδεσμος σε άλλη εγκατάσταση SliTaz"
 27.1798  
 27.1799 -#: tazpanel/pkgs.cgi:1282
 27.1800 +#: tazpanel/pkgs.cgi:1279
 27.1801  msgid ""
 27.1802  "This link points to the root of another SliTaz installation. You will be "
 27.1803  "able to install packages using soft links to it."
 27.1804 @@ -1872,11 +1881,11 @@
 27.1805  "Αυτός ο σύνδεσμος δείχνει στη ρίζα μιας άλλης εγκατάστασης του SliTaz. Θα "
 27.1806  "είστε σε θέση να εγκαταστήσει πακέτα χρησιμοποιόντας soft links σε αυτό."
 27.1807  
 27.1808 -#: tazpanel/pkgs.cgi:1293
 27.1809 +#: tazpanel/pkgs.cgi:1290
 27.1810  msgid "SliTaz packages DVD"
 27.1811  msgstr "DVD πακέτων SliTaz"
 27.1812  
 27.1813 -#: tazpanel/pkgs.cgi:1296
 27.1814 +#: tazpanel/pkgs.cgi:1293
 27.1815  msgid ""
 27.1816  "A bootable DVD image of all available packages for the %s version is "
 27.1817  "generated every day. It also contains a copy of the website and can be used "
 27.1818 @@ -1888,181 +1897,230 @@
 27.1819  "μπορεί να χρησιμοποιηθεί χωρίς σύνδεση στο internet. Αυτή η εικόνα μπορεί να "
 27.1820  "εγκατασταθεί σε ένα DVD ή ένα κλειδί USB."
 27.1821  
 27.1822 -#: tazpanel/pkgs.cgi:1299
 27.1823 +#: tazpanel/pkgs.cgi:1296
 27.1824  msgid "Install from ISO image:"
 27.1825  msgstr "Εγκατάσταση από εικόνα ISO:"
 27.1826  
 27.1827 -#: tazpanel/pkgs.cgi:1306
 27.1828 +#: tazpanel/pkgs.cgi:1303
 27.1829  msgid "Download DVD image"
 27.1830  msgstr "Κατέβασμα εικόνας DVD"
 27.1831  
 27.1832 -#: tazpanel/pkgs.cgi:1308
 27.1833 +#: tazpanel/pkgs.cgi:1305
 27.1834  msgid "Install from DVD/USB key"
 27.1835  msgstr "Εγκατάσταση από DVD/USB key"
 27.1836  
 27.1837 -#: tazpanel/pkgs.cgi:1317
 27.1838 +#: tazpanel/pkgs.cgi:1314
 27.1839  msgid ""
 27.1840  "Long list of packages is paginated. Here you can set the page size (default: "
 27.1841  "100, turning off the pager: 0)."
 27.1842  msgstr ""
 27.1843  
 27.1844 -#: tazpanel/pkgs.cgi:1322
 27.1845 +#: tazpanel/pkgs.cgi:1319
 27.1846  msgid "Set"
 27.1847  msgstr ""
 27.1848  
 27.1849 -#: tazpanel/pkgs.cgi:1348
 27.1850 +#: tazpanel/pkgs.cgi:1345
 27.1851  #, fuzzy
 27.1852  msgid "Licenses for package %s"
 27.1853  msgstr "Χάθηκαν αρχεία από το %s:"
 27.1854  
 27.1855 -#: tazpanel/pkgs.cgi:1369
 27.1856 +#: tazpanel/pkgs.cgi:1366
 27.1857  msgid "%s license on %s website"
 27.1858  msgstr ""
 27.1859  
 27.1860 -#: tazpanel/pkgs.cgi:1370
 27.1861 +#: tazpanel/pkgs.cgi:1367
 27.1862  msgid "Read online:"
 27.1863  msgstr ""
 27.1864  
 27.1865 -#: tazpanel/pkgs.cgi:1370
 27.1866 +#: tazpanel/pkgs.cgi:1367
 27.1867  msgid "Read local:"
 27.1868  msgstr ""
 27.1869  
 27.1870 -#: tazpanel/pkgs.cgi:1411
 27.1871 +#: tazpanel/pkgs.cgi:1408
 27.1872  #, fuzzy
 27.1873  msgid "Tags list"
 27.1874  msgstr "Ανανέωση λίστας"
 27.1875  
 27.1876 -#: tazpanel/pkgs.cgi:1415
 27.1877 +#: tazpanel/pkgs.cgi:1412
 27.1878  #, fuzzy
 27.1879  msgid "List of tags in all repositories"
 27.1880  msgstr "Λίστα όλων των εγκατεστημένων πακέτων"
 27.1881  
 27.1882 -#: tazpanel/pkgs.cgi:1416
 27.1883 +#: tazpanel/pkgs.cgi:1413
 27.1884  msgid "List of tags in repository \"%s\""
 27.1885  msgstr ""
 27.1886  
 27.1887 -#: tazpanel/pkgs.cgi:1442
 27.1888 +#: tazpanel/pkgs.cgi:1439
 27.1889  #, fuzzy
 27.1890  msgid "Tag \"%s\""
 27.1891  msgstr "Γίνεται ξαναπακετάρισμα στο: %s"
 27.1892  
 27.1893 -#: tazpanel/pkgs.cgi:1470
 27.1894 +#: tazpanel/pkgs.cgi:1467
 27.1895  #, fuzzy
 27.1896  msgid "Blocked packages list"
 27.1897  msgstr "Μπλοκαρισμένα πακέτα"
 27.1898  
 27.1899 -#: tazpanel/pkgs.cgi:1508 tazpanel/pkgs.cgi:1585
 27.1900 +#: tazpanel/pkgs.cgi:1505 tazpanel/pkgs.cgi:1582
 27.1901  #, fuzzy
 27.1902  msgid "Improve package \"%s\""
 27.1903  msgstr "Γίνεται απομάκρυνση του: %s"
 27.1904  
 27.1905 -#: tazpanel/pkgs.cgi:1543
 27.1906 +#: tazpanel/pkgs.cgi:1540
 27.1907  msgid "Please log in using your TazBug account."
 27.1908  msgstr ""
 27.1909  
 27.1910 -#: tazpanel/pkgs.cgi:1547
 27.1911 +#: tazpanel/pkgs.cgi:1544
 27.1912  msgid "Login:"
 27.1913  msgstr ""
 27.1914  
 27.1915 -#: tazpanel/pkgs.cgi:1549
 27.1916 +#: tazpanel/pkgs.cgi:1546
 27.1917  msgid "Password:"
 27.1918  msgstr ""
 27.1919  
 27.1920 -#: tazpanel/pkgs.cgi:1552
 27.1921 +#: tazpanel/pkgs.cgi:1549
 27.1922  msgid "Remember me"
 27.1923  msgstr ""
 27.1924  
 27.1925 -#: tazpanel/pkgs.cgi:1554
 27.1926 +#: tazpanel/pkgs.cgi:1551
 27.1927  msgid "Log in"
 27.1928  msgstr ""
 27.1929  
 27.1930 -#: tazpanel/pkgs.cgi:1558
 27.1931 +#: tazpanel/pkgs.cgi:1555
 27.1932  msgid "Create new account"
 27.1933  msgstr ""
 27.1934  
 27.1935 -#: tazpanel/pkgs.cgi:1586 tazpanel/pkgs.cgi:1643
 27.1936 +#: tazpanel/pkgs.cgi:1583 tazpanel/pkgs.cgi:1640
 27.1937  msgid "Back"
 27.1938  msgstr ""
 27.1939  
 27.1940 -#: tazpanel/pkgs.cgi:1609
 27.1941 +#: tazpanel/pkgs.cgi:1606
 27.1942  msgid "How can you help:"
 27.1943  msgstr ""
 27.1944  
 27.1945 -#: tazpanel/pkgs.cgi:1611
 27.1946 +#: tazpanel/pkgs.cgi:1608
 27.1947  msgid "Please select an action"
 27.1948  msgstr ""
 27.1949  
 27.1950 -#: tazpanel/pkgs.cgi:1612
 27.1951 +#: tazpanel/pkgs.cgi:1609
 27.1952  #, fuzzy
 27.1953  msgid "Report new version"
 27.1954  msgstr "Νέα έκδοση %s"
 27.1955  
 27.1956 -#: tazpanel/pkgs.cgi:1613
 27.1957 +#: tazpanel/pkgs.cgi:1610
 27.1958  msgid "Improve short description"
 27.1959  msgstr ""
 27.1960  
 27.1961 -#: tazpanel/pkgs.cgi:1614
 27.1962 +#: tazpanel/pkgs.cgi:1611
 27.1963  msgid "Translate short description"
 27.1964  msgstr ""
 27.1965  
 27.1966 -#: tazpanel/pkgs.cgi:1615
 27.1967 +#: tazpanel/pkgs.cgi:1612
 27.1968  msgid "Add or improve description"
 27.1969  msgstr ""
 27.1970  
 27.1971 -#: tazpanel/pkgs.cgi:1616
 27.1972 +#: tazpanel/pkgs.cgi:1613
 27.1973  #, fuzzy
 27.1974  msgid "Translate description"
 27.1975  msgstr "Περιγραφή"
 27.1976  
 27.1977 -#: tazpanel/pkgs.cgi:1617
 27.1978 +#: tazpanel/pkgs.cgi:1614
 27.1979  #, fuzzy
 27.1980  msgid "Improve category"
 27.1981  msgstr "%s κατηγορία"
 27.1982  
 27.1983 -#: tazpanel/pkgs.cgi:1618
 27.1984 +#: tazpanel/pkgs.cgi:1615
 27.1985  msgid "Add or improve tags"
 27.1986  msgstr ""
 27.1987  
 27.1988 -#: tazpanel/pkgs.cgi:1619
 27.1989 +#: tazpanel/pkgs.cgi:1616
 27.1990  msgid "Add application icon"
 27.1991  msgstr ""
 27.1992  
 27.1993 -#: tazpanel/pkgs.cgi:1620
 27.1994 +#: tazpanel/pkgs.cgi:1617
 27.1995  msgid "Add application screenshot"
 27.1996  msgstr ""
 27.1997  
 27.1998 -#: tazpanel/pkgs.cgi:1621
 27.1999 +#: tazpanel/pkgs.cgi:1618
 27.2000  msgid "Improve receipt"
 27.2001  msgstr ""
 27.2002  
 27.2003 -#: tazpanel/pkgs.cgi:1622
 27.2004 +#: tazpanel/pkgs.cgi:1619
 27.2005  msgid "Other"
 27.2006  msgstr ""
 27.2007  
 27.2008 -#: tazpanel/pkgs.cgi:1633
 27.2009 +#: tazpanel/pkgs.cgi:1630
 27.2010  msgid "Send"
 27.2011  msgstr ""
 27.2012  
 27.2013 -#: tazpanel/pkgs.cgi:1642
 27.2014 +#: tazpanel/pkgs.cgi:1639
 27.2015  msgid "Thank you!"
 27.2016  msgstr ""
 27.2017  
 27.2018 -#: tazpanel/pkgs.cgi:1695
 27.2019 +#: tazpanel/pkgs.cgi:1692
 27.2020  msgid "It is recommended to [recharge] the lists."
 27.2021  msgstr ""
 27.2022  
 27.2023 -#: tazpanel/pkgs.cgi:1700
 27.2024 +#: tazpanel/pkgs.cgi:1697
 27.2025  msgid "You need to [download] the lists for further work."
 27.2026  msgstr ""
 27.2027  
 27.2028 -#: tazpanel/pkgs.cgi:1732
 27.2029 +#: tazpanel/pkgs.cgi:1729
 27.2030  msgid "Latest log entries"
 27.2031  msgstr "Τελευταίες καταχωρήσεις καταγραφής"
 27.2032  
 27.2033 -#: tazpanel/pkgs.cgi:1734
 27.2034 +#: tazpanel/pkgs.cgi:1731
 27.2035  msgid "Show"
 27.2036  msgstr ""
 27.2037  
 27.2038 +#~ msgid "Checking post install dependencies..."
 27.2039 +#~ msgstr ""
 27.2040 +#~ "Μετά την ολοκλήρωση της εγκατάστασης, γίνεται έλεγχος για τις "
 27.2041 +#~ "εξαρτήσεις..."
 27.2042 +
 27.2043 +#~ msgid "Please run \"%s\" in / and retry."
 27.2044 +#~ msgstr ""
 27.2045 +#~ "Παρακαλώ εκτελέστε την εντολή '%s'\n"
 27.2046 +#~ "στον αρχικό κατάλογο συστήματος / και, κατόπιν, ξαναπροσπαθήστε."
 27.2047 +
 27.2048 +#~ msgid "Removing old package..."
 27.2049 +#~ msgstr "Γίνεται απομάκρυνση του παλιού..."
 27.2050 +
 27.2051 +#~ msgid "Unable to find package \"%s\" in the mirrored packages list."
 27.2052 +#~ msgstr ""
 27.2053 +#~ "Αδύνατη η ανεύρεση του: %s στη λίστα πακέτων που βρίσκονται στον mirror."
 27.2054 +
 27.2055 +#~ msgid "Adding implicit depends \"%s\"..."
 27.2056 +#~ msgstr "Γίνεται προσθήκη δεδηλωμένων εξαρτήσεων στο %s..."
 27.2057 +
 27.2058 +#~ msgid "Unable to find the list \"%s\""
 27.2059 +#~ msgstr "Αδύνατη ανεύρεση της λίστας: %s"
 27.2060 +
 27.2061 +#~ msgid ""
 27.2062 +#~ "You must probably run '%s' as root to get the latest list of packages "
 27.2063 +#~ "available on the mirror."
 27.2064 +#~ msgstr ""
 27.2065 +#~ "Μάλλον πρέπει να εκτελέσετε το '%s' ως διαχειριστής συστήματος, για να "
 27.2066 +#~ "λάβετε την πιο πρόσφατη λίστα πακέτων που είναι διαθέσιμη στον mirror."
 27.2067 +
 27.2068 +#~ msgid "Unable to find list \"%s\""
 27.2069 +#~ msgstr "Αδύνατη η ανεύρεση του: %s"
 27.2070 +
 27.2071 +#~ msgid "rootconfig needs --root= option used."
 27.2072 +#~ msgstr "Το rootconfig πρέπει να χρησιμοποιήσει την επιλογή --root= option"
 27.2073 +
 27.2074 +#~ msgid "Install package with \"%s\" or \"%s\""
 27.2075 +#~ msgstr "Εγκαταστήστε το πακέτο με το '%s' ή το '%s'"
 27.2076 +
 27.2077 +#~ msgid "Usage: tazpkg link package_name slitaz_root"
 27.2078 +#~ msgstr "χρήση: tazpkg link όνομα_πακέτου καταλόγου_συστήματος_του_slitaz"
 27.2079 +
 27.2080 +#~ msgid "Example:"
 27.2081 +#~ msgstr "Παράδειγμα:"
 27.2082 +
 27.2083 +#~ msgid "\"%s\" will use less than 100k in your running system RAM."
 27.2084 +#~ msgstr ""
 27.2085 +#~ "Το '%s' θα χρησιμοποιήσει λιγώτερα από 100KB στο σύστημα που τρέχετε."
 27.2086 +
 27.2087  #~ msgid "Usage for command up:"
 27.2088  #~ msgstr "Χρήση του TazPkg για την εντολή up:"
 27.2089  
 27.2090 @@ -2102,10 +2160,6 @@
 27.2091  #~ "οποίο\n"
 27.2092  #~ "να γίνει αναζήτηση."
 27.2093  
 27.2094 -#~ msgid "Please specify a pattern or file name to search for."
 27.2095 -#~ msgstr ""
 27.2096 -#~ "Παρακαλώ καθορίστε ένα pattern ή ένα όνομα αρχείου για να γίνει αναζήτηση."
 27.2097 -
 27.2098  #~ msgid "List \"%s\" is older than one week... Recharging."
 27.2099  #~ msgstr ""
 27.2100  #~ "Ο κατάλογος %s είναι παλιότερος από μια εβδομάδα... γίνεται επαναφόρτωση"
    28.1 --- a/po/es.po	Sun Sep 06 12:48:04 2015 +0200
    28.2 +++ b/po/es.po	Mon Oct 05 03:53:47 2015 +0300
    28.3 @@ -8,7 +8,7 @@
    28.4  msgstr ""
    28.5  "Project-Id-Version: TazPkg 5.1\n"
    28.6  "Report-Msgid-Bugs-To: \n"
    28.7 -"POT-Creation-Date: 2015-08-28 16:04+0300\n"
    28.8 +"POT-Creation-Date: 2015-10-05 03:48+0300\n"
    28.9  "PO-Revision-Date: 2012-06-11 18:31-0000\n"
   28.10  "Last-Translator: Kevin Fabian Quintero <kefaquin@gmail.com>\n"
   28.11  "Language-Team: \n"
   28.12 @@ -19,438 +19,252 @@
   28.13  "X-Poedit-Language: Spanish\n"
   28.14  "X-Poedit-Country: ARGENTINA\n"
   28.15  
   28.16 -# ¿es un comando? si así es, descarte esta traducción.
   28.17 -#: tazpkg:40 modules/list:44 modules/search:19
   28.18 -msgid "base-system"
   28.19 -msgstr "sistema base"
   28.20 -
   28.21 -#: tazpkg:40 modules/list:44 modules/search:19
   28.22 -msgid "x-window"
   28.23 -msgstr "x-window"
   28.24 -
   28.25 -#: tazpkg:41 modules/list:45 modules/search:20
   28.26 -msgid "utilities"
   28.27 -msgstr "utilidades"
   28.28 -
   28.29 -#: tazpkg:41 modules/list:45 modules/search:20
   28.30 -msgid "network"
   28.31 -msgstr "red"
   28.32