diff options
54 files changed, 16155 insertions, 0 deletions
diff --git a/doinst.sh b/doinst.sh new file mode 100644 index 0000000..e04d744 --- /dev/null +++ b/doinst.sh @@ -0,0 +1,40 @@ +config() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +copy_mirror_file() { + ARCH=$(uname -m) + case $ARCH in + i386|i486|i586|i686) + SRCMIRROR=mirrors-x86.sample + ;; + x86-64|x86_64|X86-64|X86_64) + SRCMIRROR=mirrors-x86_64.sample + ;; + s390) + SRCMIRROR=mirrors-s390.sample + ;; + arm*) + SRCMIRROR=mirrors-arm.sample + ;; + *) + SRCMIRROR=mirrors-x86.sample + ;; + esac + cp usr/doc/slackpkg-@VERSION@/$SRCMIRROR etc/slackpkg/mirrors.new +} + +copy_mirror_file +config etc/slackpkg/mirrors.new +config etc/slackpkg/slackpkg.conf.new +config etc/slackpkg/blacklist.new +rm -f var/lib/slackpkg/ChangeLog.txt +rm -f var/lib/slackpkg/pkglist diff --git a/files/ChangeLog b/files/ChangeLog new file mode 100644 index 0000000..774be50 --- /dev/null +++ b/files/ChangeLog @@ -0,0 +1,1521 @@ + +Sun Oct 10 07:48:13 UTC 2017 +--------------- + - Updated mirrors-x86*.sample to remove dead mirrors and clarify + intent to use mirrors.slackware.com + - Updated mirrors-arm.sample to sync with mozes' copy + - Add /usr/share/vim/ and /var/yp/ to search path for .new files + - Minor tweaks to default blacklist file + - Minor tweaks to manual pages + - Released as 2.82.2 (rworkman) + +Wed May 11 04:23:52 UTC 2016 +--------------- + - Updated mirrors-x86*.sample for Slackware 14.2. + - Released as 2.82.1-1 (yet another unauthorized volkerdi release) + +2014 Thu Jul 10 +--------------- + - Patched to respect the $ROOT environment variable to point to the + location to update (like installpkg does), and also to use the + $CONF environment variable to point to the slackpkg config file. + Thanks to Matteo Bernardini. + - Released as 2.82.0-13 (yet another unauthorized volkerdi release) + +2013 Sun Oct 20 +--------------- + - Corrected some typos in the slackpkg man page. + Thanks to sycamorex. + - Released as 2.82.0-12 (yet another unauthorized volkerdi release) + +2013 Fri Oct 11 +--------------- + - Verified and corrected the mirrors lists for x86 and x86_64. + - Changed version numbers from 14.0 to 14.1 in preparation for + the upcoming Slackware 14.1 release. + - Corrected a manpage bug in the file-search section. + - Released as 2.82.0-11 (yet another unauthorized volkerdi release) + +2013 Tue Sep 17 +--------------- + - Patched core-functions.sh to fix searching for qt, phonon, + and other packages in cases where package names overlap. + Thanks to S�bastien Ballet. + - Released as 2.82.0-10 (yet another unauthorized volkerdi release) + +2013 Wed May 22 +--------------- + - Set DOWNLOAD_ALL=on by default. This avoids issues where + components that are needed by slackpkg requires library + updates in a different package. Without downloading all + packages first failures are all too common. + - Released as 2.82.0-9 (yet another unauthorized volkerdi release) + +2012 Thu Aug 30 +--------------- + - Merged a few fixes to the mirror lists for x86 and x86_64. + Thanks to Jordan Clarke for the help! + - Released as 2.82.0-8 (yet another unauthorized volkerdi release) + +2012 Fri Aug 24 +--------------- + - Updated mirrors for Slackware 14.0 release. + Thanks to Jordan Clarke for the help! + - Released as 2.82.0-7 (yet another unauthorized volkerdi release) + +2012 Sun Jul 22 +--------------- + - Added support for the XFCE series + - Released as 2.82.0-6 (Clandestine release by volkerdi ;-) + +2011 Tue Apr 05 +--------------- + - Fixed regex bugs (packages with 'asc' in the name ignored by + clean-system). (Thanks David Somero) + - Released as 2.82.0-5 + +2011 Wed Mar 30 +--------------- + - Updated mirrors for Indonesia and Servia + (Thanks Willy Sudiarto and Branko Grubic) + - Better explanation about regex blacklisting in blacklist sample + file. (Thanks crocket and rworkman) + - Last ChangeLog date fixed, was Mar 23 and the correct is Mar 24 + - Released as 2.82.0-4 + +2011 Thu Mar 24 +--------------- + - Fixed ARCH string for ARMedslack. + (report and fix by Niels Horn) + - Updated mirrors file to include slackware 13.37 mirrors + (thanks volkerdi) + - Updated blacklist sample file to include new usage examples + - Released as 2.82.0 + +2011 Thu Feb 17 +--------------- + - Fixed problem in "search" function: + If the package name string matches the end of a previous + package name it will not be in the "search" package list + (reported by David Lee) + - Removed old checkblacklist function and all references to it + +2010 Sun Dec 05 +--------------- + - Some fixes in blacklist new function. The old one have problems + when making the install list (all blacklisted packages appears + as installables). + +2010 Fri Sep 10 +--------------- + - Change in blacklist function. Using a fresh new one. + Now blacklist is applied in package lists and not package-by-package. + This speeds package list generation and allow the use of regexp + on blacklist file. + +2010 Thu May 13 +--------------- + - Include 2010 on Copyright notices + - Added slackware 13.1 on mirrors file (x86, x86_64 and arm) + - Released as 2.81.1 + +2010 Sat May 01 +--------------- + - Use $TMPDIR/pkglist instead $WORKDIR/tmplist on many places. + This avoids problems when slackpkg does self-upgrade. + - Change CHECKSIZE default to "off" + - Fix CHECKSIZE to only check mountpoints. This avoids problems when + the system have networked or DVD/CDs mounted + (Thanks alienbob and vbatts) + - Change version number to 2.81.1 + - Released as 2.81.1beta1. Happy Workers Day! + +2010 Wed Apr 28 +--------------- + - Fix blacklist checking on 'slackpkg clean-system'. It was + checking if the package is blacklisted but didn't use this + information. + (Reported by Greg and Shuren) + - Change 2.81 release date on ChangeLog and README to 2010 *Fri* + Apr 23, not 2010 *Thu* Apr 23. + (Thanks gui_ap) + +2010 Fri Apr 23 +--------------- + - Fixed some typos in 'slackpkg help' + - Fixed 'update gpg' to use the unified getfile function + - Released as 2.81 + +2010 Tue Apr 20 +--------------- + - Unified download code. Function getfile is the only place + with download instructions and getpkg uses it. + - Added DOWNLOADER variable. You can choose between "curl" and "wget" + downloaders. + +2010 Mon Apr 19 +--------------- + - Now we can, before install or upgrade a package, verify + if the system have enough available space in its filesystems. + This can slowdown the upgrade/install process but can save a lot + of problems. + . Added CHECKSIZE on slackpkg.conf + . Added CHECKSIZE on slackpkg.conf manpage + . Added -checksize on usr/sbin/slackpkg + . Added havespace and checksize functions on core-functions.sh + - Released as slackpkg-2.81beta2 + +2010 Sun Apr 18 +--------------- + - Added DIALOG_MAXARGS variable. This is to set the max number of + characters that dialog can handle. If DIALOG_MAXARGS is unset we + use the traditional 19500 characters. Removing hints when + we reach DIALOG_MAXARGS *ISN'T A BUG* is a *FIX*. Without that, + upgrade from slackware-X to slackware-X+1 will be impossible. + . Added DIALOG_MAXARGS on slackpkg.conf + . Added DIALOG_MAXARGS on slackpkg.conf manpage + . Added -dialog_maxargs on usr/sbin/slackpkg + +2010 Tue Feb 16 +--------------- + - Fix x86 32bits regexp to not catch x86_64 packages + - Applied more patches from Grissiom: + . uniq in listpkgname function + . tell the user the ignored arguments + . respect only .sh functions on functions.d + - Split mirrors file by architecture. doinst.sh copy the + right file to right place. + - Change references to <piterpk@terra.com.br> to + <piterpunk@slackware.com> + +2009 Sat Dec 12 +--------------- + - Fix link problem with non-existent files + - Fix pkglist.awk to be compatible with new awk + (reported by rworkman) + - Now users can run "help" function + - Update man-pages with file-search, help and search + - Applied a lot of patches from Grissiom: + . Change mktemp creation test to be more "standard" + . Use parameter expansion instead "echo STRING | cut" in + some places + . Use MORECMD to show blacklist if needed + . Change all `command` to $(command) + . Check if lilo is installed before trying to run it + . Some minor formating changes + - Other minor formating changes + - Update version on many places to 2.81 + +2009 Tue Nov 24 +--------------- + - Move search code from /sbin/slackpkg to core-functions.sh + - Use spinning bar on search and file-search + - Move existing "search" function to "file-search" and create a + new "search", that looks for package's name + - Update usage and full_usage to reflect "search" and "file-search" + changes + - Update a lot of system checks to take care of file-search. + +2009 Mon Nov 23 +--------------- + - Add listpkgname function to create spkg, lpkg and dpkg files + - Change upgrade-all to use listpkgname function + - Enhance clean-system performance using listpkgname function + to list packages + - Put comments on some functions to be more useful + - Change usage function to show only the slackpkg's syntax + Old usage is now "slackpkg help", with a short description + of each slackpkg command. + +2009 Sun Nov 22 +--------------- + - Applied patch to link local files instead copying + The old way was really stupid, why copy a file that + already is there? + (Thanks Grissiom) + - Changed the way that slackpkg make the upgrade-all list + Now the list is created very faster than before + (Thanks Grissiom) + - Added spinning bar to sanity-check function + Good to give some feedback to user + - Move awk code from cutpkg function to cutpkg.awk + Now we have cutpkg function, to handle a single package name + and batchcutpkg to read many package names from stdin + This speed sanity-check function + - Deactivate spinning bar when tput command is not found + - Force cursor back to normal mode in cleanup function + (Thanks NaCl) + +2009 Thu Jul 30 +--------------- + - Change version number in manpages + - Released as 2.80.2 + +2009 Mon Jul 27 +--------------- + - Bumped version number to 2.80.2 + +2009 Sun Jul 26 +--------------- + - Changed [[:digit:]] references to [^-] in usr/sbin/slackpkg + that makes some packages don't be found by slackpkg. + (Thanks Niels Horn and Grissiom) + - Removing leading spaces or tabs in mirrors file. + (Thanks Luke, Max, Cezar Rangel and + other guys on slack-users-br list) + - Fix slackpkg.conf comments about BATCH mode. + (Thanks Bruce Hill and AlienBob) + - Fix Indonesian mirrors. + (Thanks Willy Sudiarto Raharjo) + - Fix some Polish mirrors. + (Thanks Dexen deVries) + - Fix some UK mirrors. + (Thanks Andrew Fielder) + +2009 Tue Jul 14 +--------------- + - Added ARMedslack mirrors + (Thanks MoZes) + - Fix in generate-template to honor USE_INCLUDES option + - Released as 2.80.1 + +2009 Wed Jul 08 +--------------- + - Updated the Slackpkg's mirrors file. + (Thanks DagMoller) + +2009 Thu Jun 18 +--------------- + - Merged some patches from Daniel Levai to enhance the config + merge options. + - Released as 2.80 + +2009 Thu Jun 11 +--------------- + - Fixed a circular check: new-config needs update and update + needs new-config. + +2009 Sun Jun 07 +--------------- + - Change in doinst.sh to remove old pkglist at slackpkg's + install. (Thanks Klein) + - Change in slackpkg to use most of time ${TMPDIR}/pkglist instead + ${WORKDIR}/pkglist. + - Released as 2.80beta3 + +2009 Wed Jun 03 +--------------- + - Change "tput cub1" to "tput sc" and "tput rc". This give back to + us the option of multi-character "spinning bars". + - Create function showmenu to handle aligned options in post-functions.sh + - Released as 2.80beta2 + +2009 Mon Jun 01 +--------------- + - Use cub1 instead "cub N" in spinning bar. cub1 is + supported by "linux" terminal. + (Thanks KynDer) + - Honors $PAGER variable if set. + (Thanks Daniel Levai) + - Added interactive merge option to post-functions.sh this makes + very easier to manage .new files. + (Thanks Daniel Levai) + - Changes on post-functions.sh to show aligned options in "(P)rompt" + and "(M)erge" functions. + +2009 Fri May 29 +--------------- + - Eliminate ARCH test when new-config is called + - Use $PRIORITY in search command + (Thanks Supergrilo) + +2009 Thu May 28 +--------------- + - Released as 2.80beta1 + +2009 Thu May 21 +--------------- + - Fix usage message formatting + - new-config can run with outdated slackpkg.conf. With that + you can use new-config to update the slackpkg.conf -;) + +2009 Tue May 19 +--------------- + - Released Slackware64! Congratulations to everyone in + Slackware Team! + - Fix a problem with rpm2tgz package (again?!?!?) + Thanks Niels Horn + - Added Slackware key configuration to x86_64 architecture + - Added remove-template, install-template and generate-template + to usage function + +2009 Mon May 04 +--------------- + - Fixed .new detection. (Thanks Stuart Winter) + - Renamed the "CHECKPKG" variable to "CHECKMD5" (and changed the + relevant command line options; this is more appropriate for what + the function does (it checks md5 sums of the packages), and it's + easier to tell the difference between it and CHECKGPG at a glance. + (Thanks Robby Workman) + - Added check to see if slackpkg.conf version matches slackpkg + version. + - More changes in install-new's ChangeLog.txt parsing + +2009 Sun May 03 +--------------- + - Added generate-template, remove-template, and install-template + commands. The first one creates a template with all official + slackware packages installed in the machine. The template is saved + in /etc/slackpkg/templates. You can copy this template to other + machines and install it with install-template. + - Added a spinning bar to give visual feedback of slackpkg "thinking". + - SPINNING is added to slackpkg.conf. It can enable (on) and + disable (off) the spinning bar. + - Added USE_INCLUDES to manage whether template includes should be + processed by slackpkg. + - ARCH now needs to be in the same format of "uname -m". + slackpkg can change it automagically. If you need to override what + slackpkg detects, set the variable in slackpkg.conf. + - MAIN is now handled internally by slackpkg. You can no longer change + this variable using slackpkg.conf. + - PKGMAIN is set by slackpkg to the appropriate value for your + ARCH port. + - SLACKKEY now can be set in slackpkg.conf. Usually slackpkg will + handle this automagically. + - FIRST, SECOND, THIRD, FOURTH, and FIFTH are replaced by a single + array: PRIORITY. The contents of those five variables now are + inside PRIORITY array. + - Added support to Slackintosh with the inclusion of "mac" series. + - Some changes in install-new's ChangeLog.txt parsing + - slackpkg.conf bumped to version 2.8 + - updated slackpkg and slackpkg.conf manpages + +2009 Sat May 02 +--------------- + - Released as slackpkg 2.71.1 + +2009 Sat Apr 25 +--------------- + - Fixed parsing of .t[blxg]z extension in packages + with tgz, tlz, tbz or txz inside file name. + (Thanks Erik Jan Tromp) + +2009 Thu Apr 23 +--------------- + - Released 2.71! + +2009 Sat Apr 18 +--------------- + - Removing source files in md5 package search + (Thanks Alan Hicks) + - Fixed problem in search function and packages with + letters, _ or . in RELEASE field. + (Thanks mrgobling) + - Released as 2.71beta5 (i think last one) + +2009 Wed Apr 15 +--------------- + - Fix problem in checking md5 of some packages + - Fix pkglist.awk script. The changes to support + tbz, tlz and txz brokes the local package list. + - 2.71beta4!! Man, we don't stop! + +2009 Fri Apr 10 +--------------- + - Now use CHECKSUMS.md5 as primary source of package + names. + - Check if FILELIST.TXT is newer than last update. + That will prevents you to accidentaly downgrade + your machine using an outdated mirror. + - Added a lot of new security checks + - check CHECKSUMS.md5 against CHECKSUMS.md5.asc + - check FILELIST.TXT against CHECKSUMS.md5 + - check all downloaded .asc against CHECKSUMS.md5 + (CHECKSUMS.md5.asc is excluded of this check) + +2009 Tue Apr 07 +--------------- + - Added support to other package extensions. + Now slackpkg can handle tgz, tbz, tlz and txz. + Of course, this depends on pkgtools with the + same capabilities. + +2009 Mon Mar 23 +--------------- + - Put findutils to be upgraded before glibc-solibs. + I think this is wrong. But for some strange reason + findutils brokes if glibc is upgraded first. + - Packaged and relased as 2.71beta3 (hope last) + +2009 Wed Mar 18 +--------------- + - Non root users can use "check-updates" command in slackpkg + - Show to user if using FILELIST.TXT or CHECKSUMS.md5 as package + lista source. + - Added ONLY_NEW_DOTNEW variable to slackpkg configuration file + (and -only_new_dotnew to command line). With that, only the + latest .new files will be checked by post-install function. + - Added ONLY_NEW_DOTNEW and PKGMAIN description on slackpkg.conf + man-page. + - Added "check-updates" on slackpkg man-page. + - Random fixes in both man-pages. + - Fix "check-updates" to be used without Slackware Project GPG + Key imported. (thanks guax) + +2009 Sat Mar 14 +--------------- + - Change update and getpkg functions to create a slackware + tree inside /var/cache/packages. + +2009 Fri Mar 06 +--------------- + - If FILELIST.TXT isn't found, use CHECKSUMS.md5 to the + same thing + - Fix some problems in parsing MANIFEST.bz2 files + - Release as first 2.71beta1 + +2008 Mon Dec 22 +--------------- + - Include check-updates option + - Fix problem with MORE env variable. Now slackpkg uses + MORECMD internally + +2008 Thu Dec 04 +--------------- + - Change version in man-pages (ok, put the version in man-pages + probably was the most stupid idea that i had). + - Released 2.70.5 + +2008 Mon Dec 01 +--------------- + - Update mirrors file for Slackware 12.2 (Thanks rworkman!) + - Change version to 2.70.5 (Thanks rworkman!) + +2008 Tue Nov 25 +--------------- + - Fix install-new.awk file to catch the return of + bluez-libs and bluez-utils + +2008 Fri Nov 21 +--------------- + - We are in Slackware main-tree!!! Big Thanks Patrick! + Big thanks to all our users! + +2008 Fri May 02 +--------------- + - Fix regexp in slackpkg.conf to x86 arch. It was missing + kernel-headers package + - Released 2.70.4 + +2008 Wed Apr 30 +--------------- + - Fix regexps to catch "fw" packages + - Released 2.70.3 + +2008 Tue Apr 08 +--------------- + - Added xbacklight, ntfs-3g, wqy-zenhei-font-ttf, + xf86-video-geode and ghostscript packages to install-new + list. + - Released 2.70.2 + +2008 Sat Mar 15 +--------------- + - Released 2.70.1 + +2008 Fri Mar 14 +--------------- + - Compressed man-pages + - Fix problem with somo proxys adding ^M at FILELIST.TXT + +2008 Tue Jan 29 +--------------- + - Released slackpkg 2.70 + - Happy Birthday Marina! + +2008 Mon Jan 28 +--------------- + - Fix problem with duplicated packages in package list + (reported by gar0t0) + - Fixed pattern matching problems with g++ and other packages + with special characters. (reported by gar0t0) + +2008 Tue Jan 22 +--------------- + - Better error handling in update from wrong mirrors + (problem reported by redhate) + +2008 Mon Jan 21 +--------------- + - Fixed install-new ChangeLog parsing problem. + Some packages are missing from install-new list. + +2008 Sat Jan 19 +--------------- + - Not released. Bugs everywhere + - slackpkg info doesn't work (info was using deprecated + PATTERN variable) (reported by redhate) + - slackpkg update corrupts file lists and package + information. Now all the files are first in TMPDIR + before goes to WORKDIR. (reported by redhate) + - slackpkg download isn't in new command line parser. + (reported by redhate) + - Fix all commands to doesn't work without a configured + mirror + - Fixed some format errors in "usage" + +2008 Fri Jan 18 +--------------- + - Fixed an error when checking GPG key. This is caused + by the "backticks" enhancement, reported by many and + fixed by rworkman, many thanks! + - No more bug reports in a week, time to release + +2008 Wed Jan 10 +--------------- + - Updated "mirrors" file + - Fixed stall on "search" (reported by The-spiki) + - Fixed misbehavior of "update gpg" (The-spiki, again. Thanks!) + - Added local:// as the same of file:// and cdrom:// + in mirrors definitions. (thanks rworkman!) + - Removed backticks `commmand` and using now $(command) + (thanks rworkman!) + - Fixed many en_BR bugs in docs and configuration files + (thanks again rworkman!) + +2008 Wed Jan 09 +--------------- + - A new command line parser, much better than the older one. + Now you can override slackpkg.conf configurations from + command line: + + slackpkg -checkpkg=off upgrade-all + + Will disable the checkpkg feature. Many slackpkg.conf + can be overrided using that. You can also specify a + different mirror, using -mirror=URL/ + - Additional check to see if "which" is there + - Added "new-config" option, it will search for .new files + and ask to user what to do with them. (suggested by X-Gizmo) + +2008 Wed Jan 07 +--------------- + - Added BATCH and DEFAULT_ANSWER options in slackpkg.conf, + you can use those two to make automated upgrades without + human intervention. (suggested by Clayton and many others). + +2008 Wed Jan 04 +--------------- + - Fixes in install-new.awk to catch more new packages + +2007 Sat Jun 09 +--------------- + - Removed "httpd" from the hardcoded list. It isn't needed. + - Released the 2.61 + +2007 Tue Jun 05 +--------------- + - Fixes in almost all slackpkg messages and in README file + (Thanks Robby Workman!) + - Included (I) to ignore duplicated files... well, this can + burn your computer... but who am I to don't let you do that? + (Thanks Robby Workman, again) + - Included httpd in hardcoded install-new files. + - Bumped the version number to 2.61 + +2007 Sun May 27 +--------------- + - Back to the xargs combo in dialog-functions. --file doesn't + works in slackware 10.1. + - Fix some bugs in file list generation. Some declarations + like: + local VAR=`something` + doens't works well in older bash (in 10.1). This bug + generates a lot of "dialog" bugs. I hope they are fixed + now. + - Better error handling in dialog-functions. Now we can + detect when dialog fails and print one error message. + +2007 Tue May 15 +--------------- + - Added one / before ${NAMEPKG} in check md5sum. It prevents + a match with vim and vim-gvim (and possible other packages) + and subsequent m5sum errors. + (Reported by Diniz Bortolotto) + - Swap some "ls" uses by -e to check if one file exists + - Changed the way of error treatment. Now we have: + . One log of what package gives error + . What error happens in each package + . Not install one package if the GPG signature + is OK but md5sum isn't (maybe a corrupted + package?) + . Shows all logged errors when slackpkg + ends. + +2007 Tue May 08 +--------------- + - Correct the release date of 2.52 + - Change version number to 2.60 instead 2.60beta + - Added one tip in slackpkg's man page telling about + slackpkg upgrade slackware + - Released slackpkg 2.60!! + +2007 Wed May 02 +--------------- + - Added fontconfig in the hardcoded install-new packages + - Make install-new to search only in the main slackware + series. No more /extra and /pasture packages + - Changes in dialog functions. To prevent some strange + errors we use grep -m1 to use only the first match + and --file in dialog to prevent bizarre xargs + errors (reported by many) + - Fixes in sanity-check function to discover + duplicated packages. (Thanks Sasha Alexandr) + +2007 Sat Mar 17 +--------------- + - Change VERSION to 2.52 instead 2.52beta + - Added a test do detect old slackpkg.conf versions + - Added hardcoded dialog and aaa_terminfo in install-new + - Released slackpkg 2.52!! + +2007 Mon Mar 12 +--------------- + - Changing NOGPG to CHECKGPG. Is more coherent with the other + options. Thanks Robby to point that. + - Many update and grammar fixes in documentation. + (Thanks again Robby Workman!) + +2007 Mon Jan 05 +--------------- + - Fix many errors in "install-new". It didn't found any + package with [A-Z] or [0-9] in his names. + - Still in "install-new", now we can detect more new packages, + the awk script is a lot better now. + - Correct the .tgz parsing in pkglist.awk, using \.tgz instead. + - Newer (and i hope, good) man-pages. + +2006 Wed Nov 08 +--------------- + - Fixed the "upgrade" package parsing. It was going wrong + with nn and glib packages. + (Reported by Ralph Alvy) + - Fixed "reinstall" it was ignoring the blacklist and given + wrong packages to reinstall. + - Now blacklist can handle directories beginning with a / and not + with ./ (very better, and this is the needed behavior). + - Accept the list of packages from a file + (e.g.: slackpkg upgrade /etc/slackpkg/files) + We accept relative (./something, ../something) and absolute + paths (/something). + - Release 2.51beta + +2006 Sun Oct 29 +--------------- + - Fixes to install/upgrade (it was broked when i change the + tmplist). Now it's OK + - Fixes in remove and reinstall, they are showing duplicated + entries in the list. Now it's OK + - Fix in download... it was total crazy! Now it's OK + - Added install-new.awk and improve the ChangeLog.txt parser + now we don't have any package hardcoded. + - Fix in upgrade-all to remove the unused variable NAME now we can use + the data in pkglist. + - Minor fix in clean-system. + - Change the variable's scope to "local" in many functions + +2006 Sat Oct 28 +--------------- + - Change the tmplist format to be the same as pkglist + - New functions to make the package list with that we now can: + - Handle multiple files in the command line. + (e.g.: slackpkg upgrade kernel x11 lsof) + - Use the package series as the pattern, without the + trailing / hack. + (e.g.: slackpkg remove a) + - "download" don't use the blacklist. The user now can + download one blacklisted package. + - Release slackpkg 2.5beta + +2006 Fri Oct 27 +--------------- + - A lot of job rebuilding (again) the package parser. This + is the logic that search for apropriate packages and see if + that packages are or not in blacklist. This is the harder + piece of slackpkg development. For now we made: + . a new pkglist.awk that creates a really new and + more featureful pkglist. The new slackpkg can't work + anymore with the old pkglist. + . One blacklist function that can match: + . directories + . package-names + . package-names with version + . package-names with version and arch + . package-names with version, arch and release. + . This fix a problem with some packages being override + by others with "similar" names. + (e.g.: k3b being override by k3b-i18n) + +2006 Thu Oct 26 +--------------- + - Create the WORKDIR variable and put all package and file lists + there. Now ppl that wants to mount / read-only can do that. + (Thanks to Trevor Caira) + - Added a little bit of sanity in slackpkg.conf. Now all options + uses "on" to be activated and "off" to be deactivated. No more + "1", "0", "On", "ON" and all the chaos that we had before. + (Thanks to Robby Workman) + - Added one FIFTH directory. Now people can use /testing as a + repository, too (of course this will break a lot of things) + - Added one MAIN variable. This is used instead slackware to + identify the main distro directory. + - Move /etc/slackpkg/filelist.awk to /usr/libexec/slackpkg. This + is the correct place to a executable. + +2006 Mon Aug 28 +--------------- + - Fixed a problem with upgrade-all when try to upgrade directly + from 10.2 to 11rc3. xargs can only handle 20k lines. + - Changed version to 2.09 + - Released 2.09 + +2006 Sat Aug 26 +--------------- + - Fixed a typo in ChangeLog.txt message + (Thanks Cameron Willians) + - Fixed two problems in install-new: + bug0: install-new duplicates packages + bug1: install-new doesn't catch lm_sensors package we wasn't + ready to handle packages with a _. + +2006 Wed Aug 23 +--------------- + - Fixes in blacklist.new, nothing more. + - Released a repackaged 2.08-3 + +2006 Fri Aug 18 +--------------- + - Fixed typos in manpages + - Changed version to slackpkg 2.08 + - Released 2.08 + +2006 Thu Aug 17 +--------------- + - Revert the "typo fix" and now "Formating" is "Formatting" again. + - A little fix in install-new to better handler the newer packages + - Big fixes in new priority check + +2006 Mon Aug 14 +--------------- + - Released 2.07 + +2006 Sun Aug 13 +--------------- + - Added another test to solve problems with "install-new" + and no ARCH match. + (Thanks to Ralph Alvy) + - Removed some debug messages + +2006 Fri Aug 11 +--------------- + - Solves the problem with -upgraded-$TIMESTAMP + packages in /var/log/packages. + (Thanks to Ralph Alvy and Ing Nicolo Chiellini) + - Added l/mm in install-new + +2006 Wed Aug 09 +--------------- + - Change in search function, now it uses the priority to + sort packages. + - Some fix in changes from yesterday and move the blacklist + and check to a separate function. + - Non-root users now can see the slackpkg help + (Thanks to Thomas) + - Changed slackpkg's doinst.sh to use the config function from + doinst.sh from other packages + (Thanks Ernani (idea) and Patrick (the function itself)) + - Put the ChangeLog in reverse order. Is very easier to see the + news now. + - Changed the version number to 2.07 + +2006 Tue Aug 08 +--------------- + - Changed the function that give priority and check the + blacklist in install, upgrade, reinstall, download and + upgrade-all + - Blacklist now supports blacklist entire directories. + +2006 Wed Aug 02 +--------------- + - Fixed a typo in "Formatting". Now is "Formating" -;) + (Thanx Devin J. Pohly) + +2006 Fri Jul 28 +--------------- + - Added xfsdump (hardcoded) in install-new + - Change the list generation in install-new to handle Renamed + and Split files. + - Change copyright notices to include 2006 + - Released slackpkg 2.06 + +2006 Thu Jun 08 +--------------- + - Added acl, attr and dmapi (hardcoded) in install-new + - Changed the list generation in sanity_check. We had problems + with non-standard package names. + (Thanx Rolando Roman) + - Released slackpkg 2.05 + +2006 Tue Jun 06 +--------------- + - A better message in sanity_check + - Fixes in the grepping of packages in sanity_check function + (Thanx Rolando Roman) + - Changed version to 2.05 + +2006 Thu Jun 01 +--------------- + - More modularized functions. Now upgrade and upgrade-all, remove and + clean-system, install and install-new shares the same code + - makelist now work for all commands + - Some sanity_checks, to saw if the machine have some doubled packages + +2006 Thu May 25 +--------------- + - Create a manpage for slackpkg.conf (probably full of typos) + - Changed versions to 2.04 + +2006 Wed May 24 +--------------- + - Fix some problems in install-new. If the package are ugraded before + added in slackware, the install-new only finds the old package. + +2006 Sat May 20 +--------------- + - Put -- in many "grep" to prevent using grep options as a + package pattern. + - Added DOWNLOAD_ALL in slackpkg.conf, with that you can download + all packages and after that install/upgrade all. + +2006 Thu May 18 +--------------- + - Fix a mistype in install-new + - Put dialog functions disabled by default. If you want, you can + try it using: chmod +x /usr/libexec/slackpkg/functions.d/dialog* + - Fix permissions to root.root + - Released version 2.03 + +2006 Mon May 16 +--------------- + - Fix errors in install-new list. + (Reported by rick276 and gar0t0, thanx!) + - Put one version warning in dialog functions + (Thanx coqui) + - Included install-new on the man-page and in README + +2006 Fri May 12 +--------------- + - Added install-new, it searches for packages added in slackware + distribution and install them. + +2006 Thu May 11 +--------------- + - Upgrade the mirrors list to include slackware 11.0. Well, + it is in pre-order, probably we need to upgrade soon + - More two patches from Marek + - One to show the diff between "something" and "something.new". + This make the life more easier + - Another to include dialog lists when you need to choose packages. + If you want to disable this feature, you can remove the + executable permission from: + /usr/libexec/slackpkg/functions.d/dialog-functions.sh + - Set the PATH in the beginning of slackpkg script to prevent + problems with . in the PATH + - Fix in filelist.awk, the ARCH upgrade brokes "search" function + (Thanks gar0t0) + - Move syntax checking from slackpkg to core-functions.sh + - To minimize the downloads, now slackpkg first download the + ChangeLog and, only if something changes, it download the rest + of files. + +2006 Wed May 10 +--------------- + - A new variable in slackpkg.conf (ARCH), with that we can use + slackpkg with the unofficial slackware ports, like + slackintosh and slamd64. This is VERY experimental. + (Inspired by a Carlos C patch, thanx!) + - Fix a typo in slackpkg (Thanx Chess Griffin) + - Include "readline" in upgrade-all first upgrades + +2005 Thu Oct 06 +--------------- + - Applied patch from Marek Wodzinski + - Updating file list, md5 sums etc (in 'slackpkg update' part) are + moved from main scipt to core-functions.sh into function + updatefilelists(). + (Thanx Marek!) + - showlist() now return list of packages in $SHOWLIST variable. + This is preparation for dialog function to really choose + for which packages we want to say 'yes'. + (Thanx Marek!) + - Don't copy/download .asc files if $NOGPG=1 + (Thanx Marek!) + - slackpkg number bumped to 1.99beta -:) + +2005 Sun Sep 12 +--------------- + - Correct one mirror typo (Thanx Daniel de Kok) + - Repackaged (1.5.2-2) + +2005 Sun Sep 11 +--------------- + - Correct removing temporary dirs. + - Better error handling + - Fix post-functions to not show the question when the only .new files + are rc.inet1.conf.new, shadow.new, group.new, passwd.new and + gshadow.new. + - Change version number to 1.5.2 + - Released slackpkg 1.5.2 + +2005 Wed Aug 17 +--------------- + - Fix some blacklist problems (problems AGAIN with the + signal) + - Updated mirrors file + (Thanks fizban) + - Change version number to 1.5.1 + - Released slackpkg 1.5.1 + +2005 Tue Aug 02 +--------------- + - Fix copyright notices (to include 2004 and 2005) + - Fix mirrors file + (Thanks fizban and Ivan Kalvachev) + +2005 Fri Jul 29 +--------------- + - Fix some errors creating temporary dirs on slackware 10.0 and + earlier. + (Thanks Sasha Shipka) + +2005 Fri Jul 22 +--------------- + - Correct a little problem in clean-system. When clean-system + don't found any package to clen, it already shows the "question". + Now it exits the program. + (Thanks mrgoblin) + - New mirrors list. Now including the (not released yet) + slackware 10.2. Now we are ready to the next slackware release -:) + (Thanks fizban) + - Released slackpkg 1.5.0! + +2005 Thu Jul 21 +--------------- + - Correct many typos and spelling errors + (Thanks fizban, amrit and mrgoblin for this help!) + - Don't run post-install if the action is clean-system + - Now, if something goes wrong when slackpkg run, in the end of + operation we will show a BIG WARNING. And no more reports about + that -;) + (Thanks amrit to help me with the message) + - Another fix with the "+" signal, now in remove option. + - Fix the default action in: + "Do you wish to xxxxxx selected packages (Y/n)?" + The default should be "Y", but is "n". Now it's corrected and + the default is "Y". + (Thanks gar0t0) + +2005 Wed Jul 20 +--------------- + - Correct tabulation errors in usage + (Thanks Steven E. Woorlard) + - Some problems with the "+" signal in upgrade-all. Solved Now. + (Thanks Sulamita Garcia) + - Wrong version number in slackpkg's now is 1.5.0 (unreleased) + . Put correct version in /usr/sbin/slackpkg + . Put correct version in slackpkg's man page + - Put new options and correct some small things in man page + - Same thing, but now in README + +2005 Tue Jul 19 +--------------- + - Changed number version to 1.4.99 is a beta release to slackpkg 1.5 + - Included two new options: + . clean-system (suggested by Steven E. Woolard) + Removes from the machine all packages removed + from slackware. It removes packages external of + distro, too. Keep your house clean, man! + . upgrade-all (suggested by Jaroslav Imrich) + Look all installed packages and keep it synced + with the mirror. The "true" way to get all distro + upgraded. + - Changes in "post-install" features. Now they are more closer to + the script in slackware's UPGRADE.TXT + +2005 Wed Jun 22 +--------------- + - Changed small problem with some "trash" temporary files. + - Released slackpkg 1.4.1 + +2005 Tue Jun 21 +--------------- + - Change the "remove" behavior, now it's remove not only one package, + but all packs with the same "beginning" (slackpkg remove kde, + removes all kde* packs). + (Thanks web-knows) + - Using now secure temporary files, created by mktemp. + (Thanks Larhzu) + - Changed version to 1.4.1 (security and bug fixes) + +2005 Thu Jan 27 +--------------- + - OK, i released 1.4 yesterday, but mrgoblin send to me some patches + a few minutes after send 1.4 + . I don't change the version number (is almost the same pack) + . Fixed many and many grammar errors in slackpkg program files + . Correct a small error in post-install + - Released 1.4 (again) + +2005 Tue Jan 25 +--------------- + - Forgot some "echo" debug messages. Now they are all removed and + the post-install really works. (thanks toledo) + - Don't run post-install when update/remove/search/blacklist + (thanks toledo) + - Added blacklist list option (thanks toledo, again!) + - Changed version number to 1.4 + +2005 Mon Jan 24 +--------------- + - Added post-install functions! -;) After upgrade/reinstall/whatever + your packages, now slackpkg searchs for NEW configuration files + (.new) and checks if your kernel is updated (and runs lilo). + +2005 Wed Jan 26 +--------------- + - include "info" in post-install's don't runs. + - redirect some warning and md5sum errors to /dev/null. + (thanks phrag) + - correct some typos in slackpkg's description + (thanks phrag) + - Released 1.4 + +2005 Tue Jan 11 +--------------- + - Finally solved some gpg errors. Some users had telled that error + to me but i can't reproduce. Yesterday i saw one machine with the + stupid error and made a fix -:) gpg don't works without .gnupg dir + and not create that dir -:( + +2004 Wed Dec 29 +--------------- + - Changed /usr/doc dir from 1.3 to 1.3.1 + - Removed many vim's backup files + - Released 1.3.1 + +2004 Mon Dec 20 +--------------- + - change all "/etc/slackpkg" to ${CONF}. Now is safe change the + configuration dir of slackpkg. + (Thanx toledo) + - added "How many" packages in package list. Is a little cosmetic + change but don't hurt. + (Thanx toledo) + +2004 Wed Nov 24 +--------------- + - fixed regexp to support ./pasture/package.tgz + Fixed /usr/libexec/slackpkg/core-functions.sh to support packages in + both ./somedir/ (eg. ./pasture/proftpd-1.2.10-i486-1.tgz) and ./ + somedir/seconddir/ instead of only second one. + (Thanx Marek Wodzinski) + - Changed version number to 1.3.1 + +2004 Fri Nov 12 +--------------- + - Some mirrors from Ireland are in the wrong place (Italy). It's + fixed now. + (Thanx Marek Januszewski) + - Changed number version on /usr/sbin/slackpkg, now is 1.3, not 1.2.2 + +2004 Mon Nov 01 +--------------- + - Massive updates in /etc/slackpkg/mirrors. Many mirrors included and + many deleted. + - Added "dummy" support to 10.1 mirrors... if it had 10.0 and an + updated current, we put one 10.1 entry... now we only needs to wait + new slackware releases -;) + (Thanx Jorge Arellano Cid) + +2004 Fri Oct 29 +--------------- + - Don't use temporary files to uncompress MANIFEST.bz2, now we are + using pipes, that approach drastically reduces the amount of disk + space needed to "slackpkg update" + (Thanx Maxim Krikun) + - Removed vi backup files from slackpkg package + - Changed version to 1.3 + +2004 Wed Oct 13 +--------------- + - Fixed error in install script. Removed de leading / in slackpkg's + configuration path. + (Thanx Valter Douglas Lisb�a J�nior) + - Fixed some problems when two (or more) packages had the same name, + version, etc... now slackpkg picks only the first pack. + (Thanx to Alexandre Pinaffi Andrucioli) + +2004 Mon Jun 21 +--------------- + - Updated "mirrors" file. Now we are ready to slackware 10.0!! + (Thanx Lorn!) + +2004 Tue Jun 15 +--------------- + - Changed version to 1.2.2 + +2004 Mon Jun 14 +--------------- + - Exclude "testing". Testing packages aren't to be installed + through automated tools. Testing needs more care from sysadmin + - Removed aaa_base from default blacklist (aaa_elflibs will stay + here). + +2004 Wed May 19 +--------------- + - Changed version to 1.2.1 + +2004 Thu May 06 +--------------- + - Fixed CRLF in slackpkg.conf.new and blacklist.new. + - Changed "usage" message. Now we have more information about + slackpkg use + +2004 Wed Apr 14 +--------------- + - Fixed another bug in regex. Problems with "+" again... + (reported by gar0t0, thanx!) + - Fixed typing and grammar errors in slackpkg.conf and blacklist. + (Thanx mRgOBLIN) + +2004 Tue Apr 13 +--------------- + - Fixed a bug in "parser". GPG checking now are better. + (Thanx mRgOBLIN) + - Added aaa_elflibs in default blacklist. + from volkerdi@slackware.com: + > A word of advice: you should ***NEVER*** upgradepkg aaa_elflibs. + > It's well-known that it can downgrade some shared libraries and + > lead to bugs + - Added aaa_base too... + +2004 Mon Apr 05 +--------------- + - Non-root can (again) use info and search. Changes in other places + change the behavior of slackpkg "parser"... + - Fixed a bug with "." and "+" in filenames. + +2004 Wed Mar 31 +--------------- + - Fixed one bug in "search" (yes, another bug!) (Thanx toledo, again) + - Change (again) the behavior of "Do you want to...". Now it's much + more logic, Y or y or <nothing> continues, any other key, quit. + +2004 Tue Mar 30 +--------------- + - Revert behavior of "Do you want to foobar those packages (Y/n)" back + to original. N or n quits, any other key continue + +2004 Fri Mar 26 +--------------- + - One more "error" message (isn't a error... it's more a info) + - Some cosmetic changes in other messages + - Another fix in "search" bug. (Thanx toledo) + +2004 Thu Mar 25 +--------------- + - Fixed some bugs added by the regex changes. + - Added a test to "first time running". Now slackpkg give some + tips to the user... + - Change the GPG download behavior. Now, if doesn't have the slackware + GPG key, the key will be downloaded in "slackpkg update" + +2004 Wed Mar 24 +--------------- + - Fixed many regex bugs and changes a lot of "greps". + - Fixed ls bugs -- changed to "ls -1" to stop multi column lists + - Added sed substitutions to fix problems with + in packagenames + - Altered awk script in info case statement to properly format output + when more than one result is returned + - Changed showlist function so that only Y/y will continue, any other + character will cleanup -- safeguards against a wrong key pressed + (all these fix cames from mRgOBLIN) + - Another feature to "non-root" users... now they can use "info" + +2004 Mon Mar 22 +--------------- + - Search function all overwrited by mRgOBLIN. The new function fixes + some bugs and add a feature, telling to the user what package needs + upgrade and the name of newer package version. + - Minor changes in some error messages + - Now "non-root" users can use "search" without install Slackware GPG + Key... + +2004 Thu Mar 18 +--------------- + - Put an error message when md5sum or gpg doesn't match. + (Thanx mRgOBLIN) + - Correct filelist.awk to fix some UGLY bugs in search function. + Now it's correct. + (Thanx mRgOBLIN, for the bug report and the tip of fix) + +2004 Mon Mar 01 +--------------- + - Added GPG function. Now slackpkg check all packages against its + .asc file. This option are enabled by default, if you doesn't like + that, you can change the configuration in /etc/slackpkg/slackpkg.conf + +2004 Thu Feb 26 +--------------- + - Fixed a bug with VIM package (yes, the bug affect only + vim package...) + - A little change in makelist function. Now we got our speed + back... when fixed duplicate packages the fix make slackpkg + more slow (4 minutes to make list for "slackpkg upgrade slackware"). + Now we doesn't have duplicated packages and have back our normal + speed (1 minute to "slackpkg upgrade slackware" list) + - Change version on all places to 1.03.1 + +2004 Tue Feb 18 +--------------- + - Now when we show a big package list, you can scroll with "more" + and can see all packages + - Bug fix! Something changed in FILELIST.TXT and slackpkg brokes + all package lists. Now it's ok. + (Thanx to chvt and Steven De Kock) + - New man-page provided by Rob. Thanx! + - Changed VERSION to 1.03 + +2004 Tue Feb 10 +--------------- + - We added a new system to make easy add new functions in slackpkg. + You only needs put your new function in a shell script and that + script under /usr/share/slackpkg/functions.d + + With that, if you want GPG checking (example), you only needs + add one checkgpg function and rewrite/change the getpkg. It's + a nice way of extend slackpkg. + + - Changed /usr/share to /usr/libexec. It makes more sense. + (Thanx thefallen) + - Fixed blacklist duplicate packages problem. Blacklist doesn't use + the default makelist function (now it uses). + (Thanx chvt for bug reports) + +2004 Thu Feb 06 +--------------- + - Corrected a little bug in makelist option. Some packages are + duplicated in the list. Now it's correct. + - Put "update" in "case-esac". It is the only option in a "if-fi" + +2004 Thu Feb 05 +--------------- + - Version are wrong in VERSION var. Now it's good. + - A lot of design changes. The "new" output style is a big mistake. + I am reverting slackpkg to the old one. + - We are splitting slackpkg in two parts. One with slackpkg functions + and other with the main program itself. It's really good. + - Put all options in a big "case-esac" instead multiple "if-fi" + +2004 Mon Feb 02 +--------------- + - A new "sleep" test to solve problems in Slackware 9.1 + - One tr -d "\r" to fix a bug in pkglist generation + (Thanx to Anatol) + - Added a new "clean" of tmp files in the slackpkg startup. It fixes + some ugly errors (slackpkg never-ends, slackpkg duplicate packages, + etc...) + (Thanx Lorn, toledo and gar0t0) + - Little changes in "info" now you will give an error if try to see + a "generic" info. "info" needs one package-name. + +2004 Fri Jan 30 +--------------- + - Put a spinning bar when making one slow action. Thanx to toledo!!! + The code for spinning bar works really fine, and now our users can + see: "something is happenning..." + - Edit a lot of small things in everywhere to use spinning bar. + - man-page, README and other docs are "updated". + - fixed some sleep problems in slackware 8.1/9.0, now our program call + an internal sleep function + +2004 Wed Jan 21 +--------------- + - Fixed "update" option. When we work with local dirs, the PACKAGES.TXT + are not "downloaded". + +2004 Mon Jan 19 +--------------- + - New option added! slackpkg info package can tell to you the + information about that package. + - Correct some small bugs in cutpkg (very small bugs... i can detect + they only now!!!) + - Changed update option to download PACKAGES.TXT too... + +2004 Fri Jan 17 +--------------- + - Changed the default wget to not show any info. Now we got a much more + cleaner output on screen. + - Corrected some bugs in new clean output system + +2004 Mon Jan 12 +--------------- + - Changed the ChangeLog file format. + - Corrected a bug in blacklist option. It's the same bug that happenned + in "download" option. The bug are reported by Toledo (again) + - Now slackpkg can "search" files in /extra and /pasture too + +Tue Nov 11 - Fixed a little problem with duplicated packages in reinstall + function. + - Corrected a bug in download option. It asks to "download" from + an empty line. Now it's fixed (bug report by Toledo) + +Mon Nov 10 - Changed version to 1.00 + . we have 1.00beta, 1.00beta1 and 1.00beta2 in internal tests + - Many, many changes in the backend... + . The package scan are completely rewroted. Now we can + make the package list 30% faster than old code. + . Now we have a lot of functions. The code are much more + flexible and readable + . Thanx to Jochem Kossen! + - New "download" function. + . Thanx to DaMouse! + - Some english typos corrected... (and some new introduced) + - Upgraded the man-page and README + +Thu Sep 25 - Updated man-page to show blacklist option + - Updated README to show blacklist option and to show the correct + release number. + - Correct the "usage" message to include blacklist option + - Ok, we remove kernel-* from blacklist and put in here a + message telling automated upgrade kernel-* isn't a good idea. + A lot of people tell me blacklist need to be empty... and i + approve that idea. + - Change the way of how detect packages that will be upgraded or + reinstalled. Old way thinks: package-1.2.3-i386-1 are the same + of package-1.2.3-i386-12345, now it's correct. + - Now slackpkg checks if the package is already in + /var/cache/packages before to download. If it's in cache, only + upgrade|install|reinstall, don't make a new download. + . Thanx Leandro Toledo + +Wed Sep 24 - Added "blacklist" command, to put packages in blacklist. + put all i18n packages manually is terrible. + + slackpkg blacklist kde-i18n + + will be help you (and me). + - Updated mirrors list. slackware 9.1 isn't out but we are + ready -:) (Thanx Cubano) + - Changed search function. Now, if we have one package installed + in your machine and one different in the MIRROR, the slackpkg + will tell to you to [ upgrade ]. Suggested by Nathan Morell + - Changed version to 0.99.1 + +Fri Sep 19 - Putting all kernel-packages in blacklist file. + It's a better idea upgrade kernel packages manually + Thanx to Buick_Sk. + +Mon Sep 15 - A warning telling to users DOESN'T USE ftp.slackware.com as your + default mirror. + - Merged a patch from pvg, making the package selection more + acurated, + - Changed version number to 0.99 + - Changed owner of some files and gzipped man-page. That makes + the package more "Slackware" compliant (Thanks Patrick) + - Leandro Toledo makes a patch with some fixes in CHECKSUMS.MD5 + download. + - Changed default package locations from /usr/local/packages to + /var/cache/packages. It's more compatible with FHS specifications + Thanx Patrick. + +Thu Aug 21 - Finally!!! One man page!!! Now slackpkg have a man-page and + you can type: man slackpkg to see more info. + . Thanx for William N. Zanatta for that manpage + - More syntax checkings... slackpkg have a lot of syntax checkings + +Wed Aug 20 - Changes in md5sum checking code. Original code are more + technical, but more complex. New code more clean. + +Tue Aug 19 - Changed version number to 0.98 + - Now we have md5sum check of packages. With that, is very + hard install a corrupt pack. + . Thanx for William N. Zanatta for that code + - Now we can install/upgrade/reinstall from a CD-ROM or other + dir in your HD. + - Some code cleanups using functions instead duplicate code. + - Corrected a bug in permissions check. Now, a normal user can + search for one (or more) files in packages. + +Fri Aug 01 - Updated mirrors file (now Slackware 9.0!!!) + . Thanx Cubano, Udontknow and gar0t0 + - Fixed problem with DELALL (old DELALL doesn't delete all, + delete only the last pack, now it works well and delete + really all) + . Thanx Isaque Galdino for the bug report and fix + - Deprecated MANIFEST.gz now the system only reads MANIFEST.bz2 + - Fixed a lot of typos (Udontknow) + - Check if the user is root before trying upgrade/install/remove + a package + +Thu Apr 10 - Added blacklist support with the packages that can't be + upgraded/installed/uninstalled. + . Thanx Gondim for that idea + - Changed version number to 0.96 + +Fri Apr 04 - Fix a bug with the kernel-sources package. Before that fix, + kernel-source are invisible to slackpkg + +Mon Mar 17 - Changed MANIFEST.gz to MANIFEST.bz2 (Patrick has changed that + and a lot of mirrors have changed too...) + - Fix a lock bug. + - Changed version number to 0.95 + +Wed Mar 12 - Changed FILELIST.TXT filter to exclude .asc files + - Changed version number to 0.94 + +Fri Feb 28 - Better "case" structure to select between + install|upgrade|reinstall + - Now we have an LOCK file. No more two slackpkg working at + same time. + - A trap and cleanup function to remove all garbage generated + by slackpkg. + +Fri Feb 14 - Change release number to 0.93 + - New install scripts, no more erased confs + - New option in slackpkg.conf, WGETFLAGS. Now you can specify + some wget confs with that option. + - New feature, reinstall. + install -> install new software + upgrade -> upgrade existing software with new version. + reinstall -> re-install already installed software + - Some upgrades in package lists generation. + +Wed Feb 5 - Change release number to 0.92 + - Correct search to know if other version (not in MANIFEST) of + software is installed. + - New tests to validate configuration files syntax + - No more default mirror. You really need to choice. + - Finally, a README file! + - Change slackpkg command location to /usr/sbin + +Thu Jan 23 - Change release number to 0.91 + - Add new function: search! Now you can search in slackware package + and find a "selected" file. + - More fixes in system messages... much more complete. + - New tests to validate command syntax before execution. + +Wed Jan 22 - Some feature fix in 0.90 + . Check if package can be installed/upgraded BEFORE download + . Cosmetic fix in some system messages. + +Tue Jan 21 - First public release 0.90 diff --git a/files/GPL b/files/GPL new file mode 100644 index 0000000..d60c31a --- /dev/null +++ b/files/GPL @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/files/README b/files/README new file mode 100644 index 0000000..9ae6234 --- /dev/null +++ b/files/README @@ -0,0 +1,74 @@ + slackpkg - Automated Tool for Management of Slackware Linux Packages + --------------------------------------------------------------------- + Authors: Piter PUNK aka Roberto F Batista + <piterpunk@slackware.com> + Evaldo Gardenali aka UdontKnow + <evaldo@fasternet.com.br> + Robby Workman aka rworkman + <rworkman@slackware.com> + (since 2.82.2) + + Version: 0.93 released at Fri Feb 14 2003 + 0.94 released at Wed Mar 12 2003 + 0.95 released at Mon Mar 17 2003 + 0.96 released at Thu Apr 10 2003 + 0.97 released at Fri Aug 01 2003 + 0.98 released at Tue Aug 19 2003 + 0.99 released at Mon Sep 15 2003 + 0.99.1 released at Wed Sep 24 2003 + 1.00 released at Mon Nov 10 2003 + 1.02 released at Fri Jan 30 2004 + 1.02.1 released at Mon Feb 02 2004 + 1.02.2 released at Mon Feb 02 2004 + 1.03 released at Wed Feb 18 2004 + 1.03.1 released at Thu Feb 26 2004 + 1.1 released at Mon Mar 01 2004 + 1.2 released at Tue Mar 30 2004 + 1.2.1 released at Wed May 19 2004 + 1.2.2 released at Tue Jun 15 2004 + 1.3 released at Mon Nov 01 2004 + 1.3.1 released at Wed Dec 29 2004 + 1.4 released at Wed Jan 26 2005 + 1.4.1 released at Tue Jun 22 2005 + 1.5.0 released at Fri Jul 22 2005 + 1.5.1 released at Wed Aug 17 2005 + 1.5.2 released at Sun Sep 11 2005 + 2.03 released at Thu May 18 2006 + 2.04 released at Fri May 26 2006 + 2.05 released at Thu Jun 08 2006 + 2.06 released at Fri Jul 28 2006 + 2.07 released at Sun Aug 13 2006 + 2.08 released at Fri Aug 18 2006 + 2.09 released at Mon Aug 28 2006 + 2.52 released at Sat Mar 17 2007 + 2.60 released at Tue May 08 2007 + 2.61 released at Sat Jun 09 2007 + 2.70 released at Tue Jan 29 2008 + 2.70.1 released at Sat Mar 15 2008 + 2.70.2 released at Tue Apr 08 2008 + 2.70.3 released at Wed Apr 30 2008 + 2.70.4 released at Fri May 01 2008 + 2.70.5 released at Thu Dec 04 2008 + 2.71 released at Thu Apr 23 2009 + 2.71.1 released at Sat May 02 2009 + 2.80 released at Thu Jun 18 2009 + 2.80.1 released at Tue Jul 14 2009 + 2.80.2 released at Thu Jul 30 2009 + 2.81 released at Fri Apr 23 2010 + 2.81.1 released at Thu May 13 2010 + 2.82.0 released at Thu Mar 24 2011 + 2.82.1 released at Wed May 11 2016 + 2.82.2 released at Sun Oct 08 2017 + + Slackpkg is a tool for those who want to easily install or upgrade packages + via the network. With slackpkg, you can have a minimal installation of + Slackware Linux and install/upgrade only those packages you need most. + + You don't need to setup NFS or make dozens of CDs for all your computers; + all you need to do is to type one command and all the latest official + Slackware packages will be at your fingertips. + + For more information about slackpkg, see its man pages: + man 8 slackpkg + man 5 slackpkg.conf + diff --git a/files/blacklist.new b/files/blacklist.new new file mode 100644 index 0000000..d59a470 --- /dev/null +++ b/files/blacklist.new @@ -0,0 +1,36 @@ +# This is a blacklist file. Any packages listed here won't be +# upgraded, removed, or installed by slackpkg. +# +# The correct syntax is: +# +# To blacklist the package xorg-server-1.19.4-x86_64-1 the line will be: +# xorg-server +# +# DON'T put any space(s) before or after the package name or regexp. +# If you do this, the blacklist will NOT work. + +# +# Automated upgrade of kernel packages aren't a good idea (and you need to +# run "lilo" after upgrade). If you think the same, uncomment the lines +# below +# +#kernel-generic +#kernel-generic-smp +#kernel-huge +#kernel-huge-smp +#kernel-modules +#kernel-modules-smp +#kernel-source + +# +# aaa_elflibs should NOT be blacklisted! +# + +# You can blacklist using regular expressions. +# +# Don't use *full* regex here, because all of the following +# will be checked for the regex: series, name, version, arch, +# build and fullname. +# +# This one will blacklist all SBo packages: +#[0-9]+_SBo diff --git a/files/core-functions.sh b/files/core-functions.sh new file mode 100644 index 0000000..919bf80 --- /dev/null +++ b/files/core-functions.sh @@ -0,0 +1,1351 @@ + +#======================================================================== +# +# PROGRAM FUNCTIONS +# + +# Clean-up tmp and lock files +# +function cleanup() { + [ "$SPINNING" = "off" ] || tput cnorm + if [ -e $TMPDIR/error.log ]; then + echo -e " +\n============================================================================== +WARNING! WARNING! WARNING! WARNING! WARNING! +============================================================================== +One or more errors occurred while slackpkg was running: +" + cat $TMPDIR/error.log + echo -e " +==============================================================================" + fi + echo + if [ "$DELALL" = "on" ] && [ "$NAMEPKG" != "" ]; then + rm $CACHEPATH/$NAMEPKG &>/dev/null + fi + ( rm -f /var/lock/slackpkg.$$ && rm -rf $TMPDIR ) &>/dev/null + exit +} +trap 'cleanup' 2 14 15 # trap CTRL+C and kill + +# This create an spinning bar +spinning() { + local WAITFILE + local SPININTERVAL + local COUNT + + if [ "$SPIN" = "" ]; then + SPIN=( "|" "/" "-" "\\" ) + fi + COUNT=${#SPIN[@]} + + [ -n "$1" ] && WAITFILE=$1 || WAITFILE=/tmp/waitfile + [ -n "$2" ] && SPININTERVAL=$2 || SPININTERVAL=0.1 + + count=0 + tput civis + while [ -e $WAITFILE ] ; do + count=$(( count + 1 )) + tput sc + echo -n ${SPIN[$(( count % COUNT ))]} + tput rc + sleep $SPININTERVAL + done + tput cnorm +} + +# System setup +# +function system_setup() { + + # Set LOCAL if mirror isn't through network + # If mirror is through network, select the command to fetch + # files and packages from there. + # + MEDIA=${SOURCE%%:*} + if [ "$MEDIA" = "cdrom" ] || [ "$MEDIA" = "file" ] || \ + [ "$MEDIA" = "local" ]; then + SOURCE=/${SOURCE#${MEDIA}://} + LOCAL=1 + else + LOCAL=0 + if [ "$DOWNLOADER" = "curl" ]; then + DOWNLOADER="curl ${CURLFLAGS} -o" + else + DOWNLOADER="wget ${WGETFLAGS} -O" + fi + fi + + # Set MORECMD, EDITCMD and check BATCH mode + # + if [ "$BATCH" = "on" ] || [ "$BATCH" = "ON" ]; then + DIALOG=off + SPINNING=off + MORECMD=cat + EDITCMD=vi + if [ "$DEFAULT_ANSWER" = "" ]; then + DEFAULT_ANSWER=n + fi + else + if [ "${PAGER}" ]; then + MORECMD="${PAGER}" + else + MORECMD=more + fi + if [ "${EDITOR}" ]; then + EDITCMD="${EDITOR}" + else + EDITCMD=vi + fi + fi + + # Set ARCH, SLACKKEY and others by slackware port + # + if [ "$ARCH" = "" ]; then + ARCH=$(uname -m) + fi + case $ARCH in + i386|i486|i586|i686) + ARCH=[i]*[3456x]86[^_]* + SLACKKEY=${SLACKKEY:-"Slackware Linux Project <security@slackware.com>"} + PKGMAIN=${PKGMAIN:-slackware} + ;; + x86-64|x86_64|X86-64|X86_64) + ARCH=x86[_64]* + SLACKKEY=${SLACKKEY:-"Slackware Linux Project <security@slackware.com>"} + PKGMAIN=${PKGMAIN:-slackware64} + ;; + s390) + ARCH=s390 + # Slack390 didn't have signed packages + CHECKGPG=off + PKGMAIN=${PKGMAIN:-slackware} + ;; + arm*) + ARCH=arm[v5tel]* + SLACKKEY=${SLACKKEY:-"ARMedslack Security (ARMedslack Linux Project Security) <security@armedslack.org>"} + PKGMAIN=${PKGMAIN:-slackware} + ;; + powerpc|ppc) + ARCH=powerpc + SLACKKEY=${SLACKKEY:-"Slackintosh-Project Sign <slackdev@workaround.ch>"} + PKGMAIN=${PKGMAIN:-slackintosh} + ;; + *) + ARCH=none + ;; + esac + + # Sub %PKGMAIN with the correct $PKGMAIN value + # + MAIN=$PKGMAIN + for i in 0 1 2 3 4 ; do + if [ "${PRIORITY[$i]}" = "%PKGMAIN" ]; then + PRIORITY[$i]=$PKGMAIN + fi + done + + TEMPLATEDIR=$CONF/templates + if [ ! -d $TEMPLATEDIR ]; then + mkdir $TEMPLATEDIR + fi + + SLACKCFVERSION=$(grep "# v[0-9.]\+" $CONF/slackpkg.conf | cut -f2 -dv) + CHECKSUMSFILE=$WORKDIR/CHECKSUMS.md5 + KERNELMD5=$(md5sum /boot/vmlinuz 2>/dev/null) + DIALOG_MAXARGS=${DIALOG_MAXARGS:-19500} + echo "$0 $VERSION - Slackware Linux $SLACKWARE_VERSION" > $TMPDIR/timestamp +} + +# Syntax Checking +# +function system_checkup() { + + # Check slackpkg.conf version + # + SLCKCFVL=$( expr length $SLACKCFVERSION ) + if [ "$SLACKCFVERSION" != "$( echo $VERSION |cut -c1-$SLCKCFVL)" ] &&\ + [ "$CMD" != "new-config" ]; then + echo -e "\ +\nYour slackpkg.conf is outdated. Please, edit it using slackpkg.conf.new\n\ +as example or overwrite it with slackpkg.conf.new.\n\ +\nYou can use 'slackpkg new-config' to do that.\n" + cleanup + fi + + # Check if ARCH is set + # + if [ "$ARCH" = "none" ] && [ "$CMD" != "new-config" ]; then + echo -e "\ +\nThe ARCH values in slackpkg.conf are now different. You can remove\n\ +ARCH from there, and slackpkg you use your current ARCH or you can look\n\ +at slackpkg.conf.new or slackpkg.conf manual page to see the new valid\n\ +ARCH values\n" + cleanup + fi + + # Check if the config files are updated to the new slackpkg version + # + if [ "$WORKDIR" = "" ]; then + echo -e "\ +\nYou need to upgrade your slackpkg.conf.\n\ +This is a new slackpkg version and many changes happened in config files.\n\ +In ${CONF}/slackpkg.conf.new, there is a sample of the new configuration.\n\ +\nAfter updating your configuration file, run: slackpkg update\n" + cleanup + fi + + # Checking if another instance of slackpkg is running + # + if [ "$(ls /var/lock/slackpkg.* 2>/dev/null)" ] && \ + [ "$CMD" != "search" ] && \ + [ "$CMD" != "help" ] && \ + [ "$CMD" != "file-search" ]; then + echo -e "\ +\nAnother instance of slackpkg is running. If this is not correct, you can\n\ +remove /var/lock/slackpkg.* files and run slackpkg again.\n" + cleanup + else + ls /var/lock/slackpkg.* &>/dev/null || \ + touch /var/lock/slackpkg.$$ + fi + + # Checking if the we can create TMPDIR + # + if [ "$TMPDIR" = "FAILED" ]; then + echo -e "\ +\nA problem was encountered writing to slackpkg's temporary dir in /tmp.\n\ +Check to ensure you have permissions to write in /tmp and make sure the\n\ +filesystem is not out of free space. Run slackpkg again after correcting\n\ +the problem.\n" + cleanup + fi + + # Checking if is the first time running slackpkg + # + if ! [ -f ${WORKDIR}/pkglist ] && [ "$CMD" != "update" ]; then + if [ "$SOURCE" = "" ]; then + echo -e "\ +\nThis appears to be the first time you have run slackpkg.\n\ +Before you install|upgrade|reinstall anything, you need to uncomment\n\ +ONE mirror in ${CONF}/mirrors and run:\n\n\ +\t# slackpkg update\n\n\ +You can see more information about slackpkg functions in slackpkg manpage." + cleanup + elif [ "$CMD" != "new-config" ]; then + echo -e "\ +\nThe package list is missing.\n\ +Before you install|upgrade|reinstall anything you need to run:\n\n\ +\t# slackpkg update\n" + cleanup + fi + fi + + + # Checking if /etc/slackpkg/mirrors are in correct syntax. + # + if [ "$SOURCE" = "" ] ; then + echo -e "\ +\nYou do not have any mirror selected in ${CONF}/mirrors\n\ +Please edit that file and uncomment ONE mirror. Slackpkg\n\ +only works with ONE mirror selected.\n" + cleanup + else + COUNT=$(echo $SOURCE | wc -w | tr -d " ") + if [ "$COUNT" != "1" ]; then + echo -e "\n\ +Slackpkg only works with ONE mirror selected. Please edit your\n\ +${CONF}/mirrors and comment all but one line - two or more\n\ +mirrors uncommented is not valid syntax.\n" + cleanup + fi + fi + + # It will check if the mirror selected are ftp.slackware.com + # if set to "ftp.slackware.com" tell the user to choose another + # + if echo ${SOURCE} | grep "^ftp://ftp.slackware.com" &>/dev/null ; then + echo -e "\n\ +Please use one of the mirrors.\n\ +ftp.slackware.com should be reserved so that the\n\ +official mirrors can be kept up-to-date.\n" + cleanup + fi + + # Also check if the mirror selected is ftp://mirrors.slackware.com + # if set to "ftp://mirrors.slackware.com" tell the user to choose another + # + if echo ${SOURCE} | grep "^ftp://mirrors.slackware.com" &>/dev/null ; then + echo -e "\n\ +Please use http://mirrors.slackware.com instead.\n\ +ftp://mirrors.slackware.com does not handle redirects \n\ +to the closest mirror and is very slow.\n" + cleanup + fi + + # Checking if the user has the permissions to install/upgrade/update + # + if [ "$(id -u)" != "0" ] && \ + [ "$CMD" != "search" ] && \ + [ "$CMD" != "file-search" ] && \ + [ "$CMD" != "check-updates" ] && \ + [ "$CMD" != "info" ]; then + echo -e "\n\ +Only root can install, upgrade, or remove packages.\n\ +Please log in as root or contact your system administrator.\n" + cleanup + fi + + # Check if the "which" command is there + if ! which which 1>/dev/null 2>/dev/null ; then + echo -e "\n\ +No 'which' command found, please install it if you want to\n\ +use slackpkg.\n" + cleanup + fi + + # Check if we have md5sum in the PATH. Without md5sum, disables + # md5sum checks + # + if ! [ $(which md5sum 2>/dev/null) ]; then + CHECKMD5=off + elif ! [ -f ${WORKDIR}/CHECKSUMS.md5 ] && \ + [ "$CMD" != "update" ] && \ + [ "$CHECKMD5" = "on" ]; then + echo -e "\n\ +No CHECKSUMS.md5 found! Please disable md5sums checking\n\ +on your ${CONF}/slackpkg.conf or run slackpkg update\n\ +to download a new CHECKSUMS.md5 file.\n" + cleanup + fi + + # Check if awk is installed + # + if ! [ "$(which awk 2>/dev/null)" ]; then + echo -e "\n\ +awk package not found! Please install awk before you run slackpkg,\n\ +as slackpkg cannot function without awk.\n" + cleanup + fi + + # Check if tput is there + # + if ! which tput 1>/dev/null 2>/dev/null ; then + SPINNING=off + fi + + # Check if gpg is enabled but no GPG command are found. + # + if ! [ "$(which gpg 2>/dev/null)" ] && [ "${CHECKGPG}" = "on" ]; then + CHECKGPG=off + echo -e "\n\ +gpg package not found! Please disable GPG in ${CONF}/slackpkg.conf or install\n\ +the gnupg package.\n\n\ +To disable GPG, edit slackpkg.conf and change the value of the CHECKGPG \n\ +variable to "off" - you can see an example in the original slackpkg.conf.new\n\ +file distributed with slackpkg.\n" + sleep 5 + fi + + # Check if the Slackware GPG key are found in the system + # + GPGFIRSTTIME="$(gpg --list-keys \"$SLACKKEY\" 2>/dev/null \ + | grep -c "$SLACKKEY")" + if [ "$GPGFIRSTTIME" = "0" ] && \ + [ "$CMD" != "search" ] && \ + [ "$CMD" != "file-search" ] && \ + [ "$CMD" != "info" ] && \ + [ "$CMD" != "new-config" ] && \ + [ "$CMD" != "update" ] && \ + [ "$CMD" != "check-updates" ] && \ + [ "$CHECKGPG" = "on" ]; then + echo -e "\n\ +You need the GPG key of $SLACKKEY.\n\ +To download and install that key, run:\n\n\ +\t# slackpkg update gpg\n\n\ +You can disable GPG checking too, but it is not a good idea.\n\ +To disable GPG, edit slackpkg.conf and change the value of the CHECKGPG\n\ +variable to "off" - you can see an example in the original slackpkg.conf.new\n\ +file distributed with slackpkg.\n" + cleanup + fi + echo +} + +# Got the name of a package, without version-arch-release data +# +function cutpkg() { + echo ${1/%.t[blxg]z/} | awk -F- -f /usr/libexec/slackpkg/cutpkg.awk +} + +# The same, but reading packages from stdin +# +function batchcutpkg() { + awk -F- -f /usr/libexec/slackpkg/cutpkg.awk +} + +# Show the slackpkg usage +# +function usage() { + echo -e "\ +slackpkg - version $VERSION\n\ +\nUsage:\n\ +\tslackpkg [OPTIONS] {install|remove|search|file-search| +\t\t\t upgrade|reinstall|blacklist} {PATTERN|FILE} +\tslackpkg [OPTIONS] {generate-template|install-template|remove-template} +\t\t\t TEMPLATENAME +\tslackpkg [OPTIONS] info PACKAGE +\tslackpkg [OPTIONS] update [gpg] +\tslackpkg [OPTIONS] {clean-system|upgrade-all|install-new} +\tslackpkg [OPTIONS] {new-config|check-updates|help} +\nIf you need more information try to use 'slackpkg help' or look the\n\ +slackpkg's manpage. +" + cleanup +} + +function full_usage() { + echo -e "\ +slackpkg - version $VERSION\n\ +\nUsage: \tslackpkg update [gpg]\t\tdownload and update files and +\t\t\t\t\tpackage indexes +\tslackpkg check-updates\t\tcheck if there is any news on +\t\t\t\t\tSlackware's ChangeLog.txt +\tslackpkg install package\tdownload and install packages +\tslackpkg upgrade package\tdownload and upgrade packages +\tslackpkg reinstall package\tsame as install, but for packages +\t\t\t\t\talready installed +\tslackpkg remove package\t\tremove installed packages +\tslackpkg clean-system\t\tremove all packages which are not +\t\t\t\t\tpresent in the official Slackware +\t\t\t\t\tpackage set. Good to keep the house +\t\t\t\t\tin order +\tslackpkg upgrade-all\t\tsync all packages installed in your +\t\t\t\t\tmachine with the selected mirror. This +\t\t\t\t\tis the "correct" way to upgrade all of +\t\t\t\t\tyour machine. +\tslackpkg install-new\t\tinstall packages which are added to +\t\t\t\t\tthe official Slackware package set. +\t\t\t\t\tRun this if you are upgrading to another +\t\t\t\t\tSlackware version or using "current". +\tslackpkg blacklist\t\tBlacklist a package. Blacklisted +\t\t\t\t\tpackages cannot be upgraded, installed, +\t\t\t\t\tor reinstalled by slackpkg +\tslackpkg download\t\tOnly download (do not install) a package +\tslackpkg info package\t\tShow package information +\t\t\t\t\t(works with only ONE package) +\tslackpkg search package\t\tSearch packages that have a +\t\t\t\t\tselected name +\tslackpkg file-search file\tSearch for a specific file in the +\t\t\t\t\tentire package collection +\tslackpkg new-config\t\tSearch for new configuration files and +\t\t\t\t\task to user what to do with them. +\tslackpkg generate-template\tCreate a template with all +\t\t\t\t\tofficial Slackware packages installed +\t\t\t\t\tin your machine. +\tslackpkg install-template\tInstall selected template. +\tslackpkg remove-template\tRemove selected template. Be careful. +\tslackpkg help\t\t\tShow this screen. +\nYou can see more information about slackpkg usage and some examples +in slackpkg's manpage. You can use partial package names (such as xorg +instead of xorg-server, xorg-docs, etc), or even Slackware series +(such as "n","ap","xap",etc) when searching for packages. +" + cleanup +} + +# Verify if we have enough disk space to install selected package +# +function havespace() { + local DSIZE + local ASIZE + DSIZE=$(grep "^${1}" ${TMPDIR}/tempsize | \ + awk 'BEGIN { tot=0 } { tot+=$2 } END { print int(tot/1024)+1}') + ASIZE=$(df ${1} | awk '/% \// { print 0+$(NF-2) }') + if [ ${DSIZE} -gt ${ASIZE} ] ; then + ISOK=0 + fi +} + +function checksize() { + local i + local ISOK=1 + tar -tvf ${1} | tr -s ' ' | grep -v '^[dl]' | cut -f6,3 -d\ | \ + sed 's,[^/]*$,,' | awk ' + { size[$2]+=$1 } + END { + for (i in size) { + print "/"i,size[i] + } + }' > ${TMPDIR}/tempsize + + for i in $(tac /proc/mounts | grep "^/dev" |cut -f2 -d\ ); do + if grep -q "^${i}" ${TMPDIR}/tempsize ; then + havespace ${i} + grep -v "^${i}/" ${TMPDIR}/tempsize > ${TMPDIR}/tempsize.tmp + mv ${TMPDIR}/tempsize.tmp ${TMPDIR}/tempsize + fi + done + echo ${ISOK} +} + +# Verify if the package was corrupted by checking md5sum +# +function checkmd5() { + local MD5ORIGINAL + local MD5DOWNLOAD + + MD5ORIGINAL=$( grep -v "/source/" ${CHECKSUMSFILE} |\ + grep -m1 "/$(basename $1)$" | cut -f1 -d \ ) + MD5DOWNLOAD=$(md5sum ${1} | cut -f1 -d \ ) + if [ "$MD5ORIGINAL" = "$MD5DOWNLOAD" ]; then + echo 1 + else + echo 0 + fi +} + +# Verify the GPG signature of files/packages +# +function checkgpg() { + gpg --verify ${1}.asc ${1} 2>/dev/null && echo "1" || echo "0" +} + +# Found packages in repository. +# This function selects the package from the higher priority +# repository directories. +# +function givepriority { + local DIR + local ARGUMENT=$1 + local PKGDATA + + unset NAME + unset FULLNAME + unset PKGDATA + + for DIR in ${PRIORITY[@]} ; do + [ "$PKGDATA" ] && break + PKGDATA=( $(grep "^${DIR} ${ARGUMENT} " ${TMPDIR}/pkglist) ) + if [ "$PKGDATA" ]; then + NAME=${PKGDATA[1]} + FULLNAME=$(echo "${PKGDATA[5]}.${PKGDATA[7]}") + fi + done +} + +# Creates files with mirror package names (spkg), local package +# names (lpkg) and packages unique to one or other file (dpkg) +# +function listpkgname() { + cut -f2 -d\ ${TMPDIR}/pkglist | sort > ${TMPDIR}/spkg + cut -f2 -d\ ${TMPDIR}/tmplist | sort > ${TMPDIR}/lpkg + cat ${TMPDIR}/pkglist ${TMPDIR}/tmplist | \ + cut -f2-6 -d\ |sort | uniq -u | \ + cut -f1 -d\ | uniq > ${TMPDIR}/dpkg +} + +function applyblacklist() { + grep -vEw -f ${TMPDIR}/blacklist +} + +# Function to make install/reinstall/upgrade lists +# +function makelist() { + local ARGUMENT + local i + local VRFY + + INPUTLIST=$@ + + grep -vE "(^#|^[[:blank:]]*$)" ${CONF}/blacklist > ${TMPDIR}/blacklist + if echo $CMD | grep -q install ; then + ls -1 $ROOT/var/log/packages/* | awk -f /usr/libexec/slackpkg/pkglist.awk > ${TMPDIR}/tmplist + else + ls -1 $ROOT/var/log/packages/* | awk -f /usr/libexec/slackpkg/pkglist.awk | applyblacklist > ${TMPDIR}/tmplist + fi + cat ${WORKDIR}/pkglist | applyblacklist > ${TMPDIR}/pkglist + + touch ${TMPDIR}/waiting + + case "$CMD" in + clean-system) + echo -n "Looking for packages to remove. Please wait... " + ;; + upgrade-all) + echo -n "Looking for packages to upgrade. Please wait... " + ;; + install-new) + echo -n "Looking for NEW packages to install. Please wait... " + ;; + *-template) + echo -n "Looking for packages in \"$ARG\" template to ${CMD/%-template/}. Please wait..." + ;; + *) + echo -n "Looking for $(echo $INPUTLIST | tr -d '\\') in package list. Please wait... " + ;; + esac + + [ "$SPINNING" = "off" ] || spinning ${TMPDIR}/waiting & + + case "$CMD" in + download) + for ARGUMENT in $(echo $INPUTLIST); do + for i in $(grep -w -- "${ARGUMENT}" ${TMPDIR}/pkglist | cut -f2 -d\ | sort -u); do + LIST="$LIST $(grep " ${i} " ${TMPDIR}/pkglist | cut -f6,8 -d\ --output-delimiter=.)" + done + LIST="$(echo -e $LIST | sort -u)" + done + ;; + blacklist) + for ARGUMENT in $(echo $INPUTLIST); do + for i in $(cat ${TMPDIR}/pkglist ${TMPDIR}/tmplist | \ + grep -w -- "${ARGUMENT}" | cut -f2 -d\ | sort -u); do + grep -qx "${i}" ${CONF}/blacklist || LIST="$LIST $i" + done + done + ;; + install|upgrade|reinstall) + for ARGUMENT in $(echo $INPUTLIST); do + for i in $(grep -w -- "${ARGUMENT}" ${TMPDIR}/pkglist | cut -f2 -d\ | sort -u); do + givepriority $i + [ ! "$FULLNAME" ] && continue + + case $CMD in + 'upgrade') + VRFY=$(cut -f6 -d\ ${TMPDIR}/tmplist | \ + grep -x "${NAME}-[^-]\+-\(noarch\|fw\|${ARCH}\)-[^-]\+") + [ "${FULLNAME/%.t[blxg]z/}" != "${VRFY}" ] && \ + [ "${VRFY}" ] && \ + LIST="$LIST ${FULLNAME}" + ;; + 'install') + grep -q " ${NAME} " ${TMPDIR}/tmplist || \ + LIST="$LIST ${FULLNAME}" + ;; + 'reinstall') + grep -q " ${FULLNAME/%.t[blxg]z} " ${TMPDIR}/tmplist && \ + LIST="$LIST ${FULLNAME}" + ;; + esac + done + done + ;; + remove) + for ARGUMENT in $(echo $INPUTLIST); do + for i in $(cat ${TMPDIR}/pkglist ${TMPDIR}/tmplist | \ + grep -w -- "${ARGUMENT}" | cut -f6 -d\ | sort -u); do + PKGDATA=( $(grep -w -- "$i" ${TMPDIR}/tmplist) ) + [ ! "$PKGDATA" ] && continue + LIST="$LIST ${PKGDATA[5]}" + unset PKGDATA + done + done + ;; + clean-system) + listpkgname + for i in $(comm -2 -3 ${TMPDIR}/lpkg ${TMPDIR}/spkg) ; do + PKGDATA=( $(grep -- "^local $i " ${TMPDIR}/tmplist) ) + [ ! "$PKGDATA" ] && continue + LIST="$LIST ${PKGDATA[5]}" + unset PKGDATA + done + ;; + upgrade-all) + listpkgname + for i in $(comm -1 -2 ${TMPDIR}/lpkg ${TMPDIR}/dpkg | \ + comm -1 -2 - ${TMPDIR}/spkg) ; do + + givepriority ${i} + [ ! "$FULLNAME" ] && continue + + VRFY=$(cut -f6 -d\ ${TMPDIR}/tmplist | grep -x "${NAME}-[^-]\+-\(noarch\|fw\|${ARCH}\)-[^-]\+") + [ "${FULLNAME/%.t[blxg]z}" != "${VRFY}" ] && \ + [ "${VRFY}" ] && \ + LIST="$LIST ${FULLNAME}" + done + ;; + install-new) + for i in $(awk -f /usr/libexec/slackpkg/install-new.awk ${WORKDIR}/ChangeLog.txt |\ + sort -u ) dialog aaa_terminfo fontconfig \ + ntfs-3g ghostscript wqy-zenhei-font-ttf \ + xbacklight xf86-video-geode ; do + + givepriority $i + [ ! "$FULLNAME" ] && continue + + grep -q " ${NAME} " ${TMPDIR}/tmplist || \ + LIST="$LIST ${FULLNAME}" + done + ;; + install-template) + for i in $INPUTLIST ; do + givepriority $i + [ ! "$FULLNAME" ] && continue + grep -q " ${NAME} " ${TMPDIR}/tmplist || \ + LIST="$LIST ${FULLNAME}" + done + ;; + remove-template) + for i in $INPUTLIST ; do + givepriority $i + [ ! "$FULLNAME" ] && continue + grep -q " ${NAME} " ${TMPDIR}/tmplist && \ + LIST="$LIST ${FULLNAME}" + done + ;; + search|file-search) + # -- temporary file used to store the basename of selected + # packages. + + PKGNAMELIST=$(tempfile --directory=$TMPDIR) + + if [ "$CMD" = "file-search" ]; then + # Search filelist.gz for possible matches + for i in ${PRIORITY[@]}; do + if [ -e ${WORKDIR}/${i}-filelist.gz ]; then + PKGS="$(zegrep -w "${INPUTLIST}" ${WORKDIR}/${i}-filelist.gz | \ + cut -d\ -f 1 | awk -F'/' '{print $NF}')" + for FULLNAME in $PKGS ; do + NAME=$(cutpkg ${FULLNAME}) + grep -q "^${NAME}$" $PKGNAMELIST && continue + LIST="$LIST ${FULLNAME}" + echo "$NAME" >> $PKGNAMELIST + done + fi + done + else + for i in ${PRIORITY[@]}; do + PKGS=$(grep "^${i}.*${PATTERN}" \ + ${TMPDIR}/pkglist | cut -f6 -d\ ) + for FULLNAME in $PKGS ; do + NAME=$(cutpkg ${FULLNAME}) + + grep -q "^${NAME}$" $PKGNAMELIST && continue + LIST="$LIST ${FULLNAME}" + echo "$NAME" >> $PKGNAMELIST + done + done + fi + rm -f $PKGNAMELIST + ;; + esac + LIST=$(echo -e $LIST | tr \ "\n" | uniq ) + + rm ${TMPDIR}/waiting + + echo -e "DONE\n" +} + +# Function to count total of packages +# +function countpkg() { + local COUNTPKG=$(echo -e "$1" | wc -w) + + if [ "$COUNTPKG" != "0" ]; then + echo -e "Total package(s): $COUNTPKG\n" + fi +} + +function answer() { + if [ "$BATCH" = "on" ]; then + ANSWER="$DEFAULT_ANSWER" + echo $DEFAULT_ANSWER + else + read ANSWER + fi +} + +function searchlist() { + local i + local BASENAME + local RAWNAME + local STATUS + local INSTPKG + + for i in $1; do + if [ "$BASENAME" = "$(cutpkg ${i})" ]; then + continue + fi + # BASENAME is base package name + BASENAME="$(cutpkg ${i})" + + # RAWNAME is Latest available version + RAWNAME="${i/%.t[blxg]z/}" + + # Default is uninstalled + STATUS="uninstalled" + + # First is the package already installed? + # Amazing what a little sleep will do + # exclusion is so much nicer :) + INSTPKG=$(ls -1 $ROOT/var/log/packages | \ + grep -e "^${BASENAME}-[^-]\+-\(${ARCH}\|fw\|noarch\)-[^-]\+") + + # INSTPKG is local version + if [ ! "${INSTPKG}" = "" ]; then + + # If installed is it uptodate? + if [ "${INSTPKG}" = "${RAWNAME}" ]; then + STATUS=" installed " + echo "[${STATUS}] - ${INSTPKG}" + else + STATUS=" upgrade " + echo "[${STATUS}] - ${INSTPKG} --> ${RAWNAME}" + fi + else + echo "[${STATUS}] - ${RAWNAME}" + fi + done +} + +# Show the lists and asks if the user want to proceed with that action +# Return accepted list in $SHOWLIST +# +function showlist() { + local ANSWER + local i + + for i in $1; do echo $i; done | $MORECMD + echo + countpkg "$1" + echo -e "Do you wish to $2 selected packages (Y/n)? \c" + answer + if [ "$ANSWER" = "N" -o "$ANSWER" = "n" ]; then + cleanup + else + SHOWLIST="$1" + continue + fi +} + +function getfile() { + if [ "$LOCAL" = "1" ]; then + echo -e "\t\t\tLinking $1..." + if [ -e $1 ]; then + ln -s $1 $2 2>/dev/null + else + return 1 + fi + else + echo -e "\t\t\tDownloading $1..." + $DOWNLOADER $2 $1 + fi +} + +# Function to download the correct package and many "checks" +# +function getpkg() { + local ISOK="1" + local ERROR="" + local PKGNAME + local FULLPATH + local NAMEPKG + local CACHEPATH + + PKGNAME=( $(grep -m 1 -- "[[:space:]]${1/%.t[blxg]z/}[[:space:]]" ${TMPDIR}/pkglist) ) + NAMEPKG=${PKGNAME[5]}.${PKGNAME[7]} + FULLPATH=${PKGNAME[6]} + CACHEPATH=${TEMP}/${FULLPATH} + + # Create destination dir if it isn't there + if ! [ -d $CACHEPATH ]; then + mkdir -p $CACHEPATH + fi + + if ! [ -e ${CACHEPATH}/${NAMEPKG} ]; then + echo -e "\nPackage: $1" + # Check if the mirror are local, if is local, copy files + # to CACHEPATH else, download packages from remote host and + # put then in CACHEPATH + # + getfile ${SOURCE}${FULLPATH}/${NAMEPKG} \ + ${CACHEPATH}/${NAMEPKG} + if [ "$CHECKGPG" = "on" ]; then + getfile ${SOURCE}${FULLPATH}/${NAMEPKG}.asc \ + ${CACHEPATH}/${NAMEPKG}.asc + fi + + if ! [ -e ${CACHEPATH}/$1 ]; then + ERROR="Not found" + ISOK="0" + echo -e "${NAMEPKG}:\t$ERROR" >> $TMPDIR/error.log + fi + else + echo -e "\tPackage $1 is already in cache - not downloading" + fi + + # Check if we have sufficient disk space to install selected package + if [ "$CHECKSIZE" = "on" ] && [ "$ISOK" = "1" ]; then + ISOK=$(checksize ${CACHEPATH}/$1) + if [ "$ISOK" = "0" ]; then + ERROR="Insufficient disk space" + echo -e "${NAMEPKG}:\t$ERROR" >> $TMPDIR/error.log + fi + fi + + # If MD5SUM checks are enabled in slackpkg.conf, check the + # packages md5sum to detect if they are corrupt or not + # + if [ "$CHECKMD5" = "on" ] && [ "$ISOK" = "1" ]; then + ISOK=$(checkmd5 ${CACHEPATH}/$1) + if [ "$ISOK" = "0" ]; then + ERROR="md5sum" + echo -e "${NAMEPKG}:\t$ERROR" >> $TMPDIR/error.log + fi + if [ "$CHECKGPG" = "on" ] && [ "$ISOK" = "1" ]; then + ISOK=$(checkmd5 ${CACHEPATH}/$1.asc) + if [ "$ISOK" = "0" ]; then + ERROR="md5sum" + echo -e "${NAMEPKG}.asc:\t$ERROR" >> \ + $TMPDIR/error.log + fi + fi + fi + + # Check the package against its .asc. If you don't like this + # disable GPG checking in /etc/slackpkg/slackpkg.conf + # + if [ "$CHECKGPG" = "on" ] && [ "$ISOK" = "1" ]; then + ISOK=$(checkgpg ${CACHEPATH}/$1) + if [ "$ISOK" = "0" ]; then + ERROR="gpg" + echo -e "${NAMEPKG}:\t$ERROR" >> $TMPDIR/error.log + fi + fi + + if [ "$ISOK" = "1" ]; then + case $2 in + installpkg) + echo -e "\tInstalling ${1/%.t[blxg]z/}..." + ;; + upgradepkg) + echo -e "\tUpgrading ${1/%.t[blxg]z/}..." + ;; + *) + echo -e "\c" + ;; + esac + ( cd $CACHEPATH && $2 $1 ) + else + rm $CACHEPATH/$1 2>/dev/null + echo -e "\tERROR - Package not installed! $ERROR error!" + fi + + # If DELALL is checked, all downloaded files will be erased + # after installed/upgraded/reinstalled + # + if [ "$DELALL" = "on" ]; then + rm $CACHEPATH/$1 $CACHEPATH/${1}.asc 2>/dev/null + fi +} + +# Main logic to download and format package list, md5 etc. +# +function checkchangelog() +{ + if ! [ -e ${WORKDIR}/ChangeLog.txt ]; then + touch ${WORKDIR}/ChangeLog.txt + fi + + echo -e "\tDownloading..." + # + # Download ChangeLog.txt first of all and test if it's equal + # or different from our already existent ChangeLog.txt + # + getfile ${SOURCE}ChangeLog.txt $TMPDIR/ChangeLog.txt + if ! grep -q "[a-z]" $TMPDIR/ChangeLog.txt ; then + echo -e "\ +\nError downloading from $SOURCE.\n\ +Please check your mirror and try again." + cleanup + fi + + if diff --brief ${WORKDIR}/ChangeLog.txt $TMPDIR/ChangeLog.txt ; then + return 0 + else + return 1 + fi +} + +function updatefilelists() +{ + if checkchangelog ; then + echo -e "\ +\n\t\tNo changes in ChangeLog.txt between your last update and now.\n\ +\t\tDo you really want to download all other files (y/N)? \c" + answer + if [ "$ANSWER" != "Y" ] && [ "$ANSWER" != "y" ]; then + cleanup + fi + fi + echo + cp ${TMPDIR}/ChangeLog.txt ${WORKDIR}/ChangeLog.txt + + # + # Download MANIFEST, FILELIST.TXT and CHECKSUMS.md5 + # + + # That will be download MANIFEST.bz2 files + # + echo -e "\t\tList of all files" + for i in ${PRIORITY[@]} ; do + getfile ${SOURCE}${i}/MANIFEST.bz2 $TMPDIR/${i}-MANIFEST.bz2 && \ + DIRS="$DIRS $i" + done + + ISOK="1" + echo -e "\t\tChecksums" + getfile ${SOURCE}CHECKSUMS.md5 ${TMPDIR}/CHECKSUMS.md5 + getfile ${SOURCE}CHECKSUMS.md5.asc ${TMPDIR}/CHECKSUMS.md5.asc + if ! [ -e "${TMPDIR}/CHECKSUMS.md5" ]; then + echo -e "\ +\n\t\tWARNING: Your mirror appears incomplete and is missing the\n\ +\t\t CHECKSUMS.md5 file. We recommend you change your mirror\n\ +\t\t so that package integrity can be verified against \n\ +\t\t CHECKSUMS.md5.\n" + sleep 10 + else + if [ "$CHECKGPG" = "on" ]; then + ISOK=$(checkgpg ${TMPDIR}/CHECKSUMS.md5) + if [ "$ISOK" = "0" ]; then + rm $TMPDIR/CHECKSUMS.md5 + rm $TMPDIR/CHECKSUMS.md5.asc + echo -e "\ +\n\t\tERROR: Verification of the gpg signature on CHECKSUMS.md5\n\ +\t\t failed! This could mean that the file is out of date\n\ +\t\t or has been tampered with.\n" + cleanup + fi + elif [ "$SLACKKEY" != "" ]; then + echo -e "\ +\n\t\tWARNING: Without CHECKGPG, we can't check if this file is\n\ +\t\t signed by:\n\ +\n\t\t $SLACKKEY.\n\ +\n\t\t Enabling CHECKGPG is highly recommended for best\n\ +\t\t security.\n" + sleep 10 + fi + fi + + ISOK="1" + echo -e "\t\tPackage List" + getfile ${SOURCE}FILELIST.TXT ${TMPDIR}/FILELIST.TXT + if [ "$CHECKMD5" = "on" ]; then + CHECKSUMSFILE=${TMPDIR}/CHECKSUMS.md5 + ISOK=$(checkmd5 ${TMPDIR}/FILELIST.TXT) + fi + if [ "$ISOK" = "1" ]; then + if ! [ -e $WORKDIR/LASTUPDATE ]; then + echo "742868196" > $WORKDIR/LASTUPDATE + fi + LASTUPDATE=$(cat $WORKDIR/LASTUPDATE) + ACTUALDATE=$(date -d "$(head -1 $TMPDIR/FILELIST.TXT)" "+%s") + if [ $ACTUALDATE -lt $LASTUPDATE ]; then + echo -e "\ +\n\t\tFILELIST.TXT seems to be older than the last one.\n\ +\t\tDo you really want to continue (y/N)? \c" + answer + if [ "$ANSWER" != "Y" ] && [ "$ANSWER" != "y" ]; then + cleanup + fi + echo + fi + echo $ACTUALDATE > $WORKDIR/LASTUPDATE + else + rm $TMPDIR/FILELIST.TXT + fi + + if [ -e $TMPDIR/CHECKSUMS.md5 ]; then + FILELIST="$TMPDIR/CHECKSUMS.md5" + elif [ -e $TMPDIR/FILELIST.TXT ]; then + if [ "$ISOK" = "0" ]; then + echo -e "\ +\n\t\tERROR: CHECKSUMS.md5 signature doesn't match!\n\ +\t\t We strongly recommend that you change your mirror\n\ +\t\t to prevent security problems.\n" + cleanup + fi + sleep 10 + FILELIST="$TMPDIR/FILELIST.TXT" + else + echo -e "\ +\n\t\tERROR: No CHECKSUMS.md5 and no FILELIST.TXT.\n\ +\t\t We strongly recommend that you change your mirror\n\ +\t\t to prevent security problems.\n" + cleanup + fi + + # Download all PACKAGES.TXT files + # + echo -e "\t\tPackage descriptions" + for i in $DIRS; do + getfile ${SOURCE}${i}/PACKAGES.TXT $TMPDIR/${i}-PACKAGES.TXT + done + + # Format FILELIST.TXT + # + echo -e "\tFormatting lists to slackpkg style..." + echo -e "\t\tPackage List: using $( basename $FILELIST ) as source" + grep "\.t[blxg]z$" $FILELIST| \ + awk -f /usr/libexec/slackpkg/pkglist.awk |\ + sed -e 's/^M//g' > ${TMPDIR}/pkglist + cp ${TMPDIR}/pkglist ${WORKDIR}/pkglist + + # Create the slackware tree under TEMP directory + for i in $( cut -f7 -d\ ${WORKDIR}/pkglist | sort -u ) ; do + if ! [ -d ${TEMP}/${i} ]; then + mkdir -p ${TEMP}/${i} + fi + done + + # Format MANIFEST + # + + # bunzip and concatenate all MANIFEST files + # + MANFILES="" + for i in $DIRS; do + bunzip2 -c $TMPDIR/${i}-MANIFEST.bz2 | awk -f /usr/libexec/slackpkg/filelist.awk | \ + gzip > ${TMPDIR}/${i}-filelist.gz + done + cp ${TMPDIR}/*-filelist.gz ${WORKDIR}/ + + if [ -r ${WORKDIR}/filelist.gz ]; then + rm ${WORKDIR}/filelist.gz + ln -s ${WORKDIR}/${MAIN}-filelist.gz ${WORKDIR}/filelist.gz + fi + + # Concatenate PACKAGE.TXT files + # + echo -e "\t\tPackage descriptions" + for i in $DIRS; do + cat $TMPDIR/${i}-PACKAGES.TXT >> $TMPDIR/PACKAGES.TXT + done + cp $TMPDIR/PACKAGES.TXT ${WORKDIR}/PACKAGES.TXT + + if [ -e $TMPDIR/CHECKSUMS.md5 ]; then + cp $TMPDIR/CHECKSUMS.md5 $WORKDIR/CHECKSUMS.md5 2>/dev/null + fi + + if [ -e $TMPDIR/CHECKSUMS.md5.asc ]; then + cp $TMPDIR/CHECKSUMS.md5.asc \ + $WORKDIR/CHECKSUMS.md5.asc 2>/dev/null + fi +} + +function sanity_check() { + local REVNAME + local i + local FILES + local DOUBLEFILES + local ANSWER + + touch ${TMPDIR}/waiting + echo -e "Checking local integrity... \c" + + [ "$SPINNING" = "off" ] || spinning ${TMPDIR}/waiting & + + for i in $(ls -1 $ROOT/var/log/packages | \ + egrep -- "^.*-(${ARCH}|fw|noarch)-[^-]+-upgraded"); do + REVNAME=$(echo ${i} | awk -F'-upgraded' '{ print $1 }') + mv $ROOT/var/log/packages/${i} $ROOT/var/log/packages/${REVNAME} + mv $ROOT/var/log/scripts/${i} $ROOT/var/log/scripts/${REVNAME} + done + + ls -1 $ROOT/var/log/packages | egrep "^.*-(${ARCH}|fw|noarch)-[^-]+$" | \ + batchcutpkg | sort > $TMPDIR/list1 + cat $TMPDIR/list1 | uniq > $TMPDIR/list2 + FILES="$(diff $TMPDIR/list1 $TMPDIR/list2 | grep '<' | cut -f2 -d\ )" + if [ "$FILES" != "" ]; then + for i in $FILES ; do + grep -qx "${i}" ${CONF}/blacklist && continue + DOUBLEFILES="$DOUBLEFILES $i" + done + unset FILES + fi + + rm ${TMPDIR}/waiting + echo -e "DONE" + + if [ "$DOUBLEFILES" != "" ]; then + echo -e "\ +You have a broken $ROOT/var/log/packages - with two versions of the same package.\n\ +The list of packages duplicated in your machine are shown below, but don't\n\ +worry about this list - when you select your action, slackpkg will show a\n\ +better list:\n" + for i in $DOUBLEFILES ; do + ls -1 $ROOT/var/log/packages |\ + egrep -i -- "^${i}-[^-]+-(${ARCH}|fw|noarch)-" + done + echo -ne "\n\ +You can (B)lacklist, (R)emove, or (I)gnore these packages.\n\ +Select your action (B/R/I): " + read ANSWER + echo + case "$ANSWER" in + B|b) + showlist "$DOUBLEFILES" blacklist + blacklist_pkg + ;; + R|r) + for i in $DOUBLEFILES ; do + FILE=$(ls -1 $ROOT/var/log/packages |\ + egrep -i -- "^${i}-[^-]+-(${ARCH}|fw|noarch)-") + FILES="$FILES $FILE" + done + showlist "$FILES" remove + remove_pkg + ;; + *) + echo -e "\n\ +Okay - slackpkg won't do anything now, but please, do something to fix it.\n" + cleanup + ;; + esac + fi +} + +function blacklist_pkg() { + echo $SHOWLIST | tr ' ' "\n" >> ${CONF}/blacklist + + echo -e "\nPackages added to your blacklist.\n\ +If you want to remove those packages, edit ${CONF}/blacklist.\n" +} + +function remove_pkg() { + local i + + for i in $SHOWLIST; do + echo -e "\nPackage: $i" + echo -e "\tRemoving... " + removepkg $i + done +} + +function upgrade_pkg() { + local i + + if [ "$DOWNLOAD_ALL" = "on" ]; then + OLDDEL="$DELALL" + DELALL="off" + for i in $SHOWLIST; do + getpkg $i true + done + DELALL="$OLDDEL" + fi + for i in $SHOWLIST; do + getpkg $i upgradepkg Upgrading + done +} + +function install_pkg() { + local i + + if [ "$DOWNLOAD_ALL" = "on" ]; then + OLDDEL="$DELALL" + DELALL="off" + for i in $SHOWLIST; do + getpkg $i true + done + DELALL="$OLDDEL" + fi + for i in $SHOWLIST; do + getpkg $i installpkg Installing + done +} + +# +# Template related functions +# +include_includes() { + TEMPLATEFILE=$1 + COUNT=$((COUNT + 1)) + TMPFILE=$TMPDIR/$(basename $( echo $TEMPLATEFILE | cut -f1,2 -d. )).$COUNT.tmp + INCLUDELIST="$( grep "^#include" $TEMPLATEFILE | cut -d\ -f2 )" + if [ "$INCLUDELIST" != "" ]; then + for INCLUDE in $INCLUDELIST ; do + echo "#include $INCLUDE" \ + >> ${TMPFILE/.$COUNT/}.header + cat $INCLUDE > $TMPFILE + grep -v "^$" $TEMPLATEFILE | grep -v "^#" >> $TMPFILE + include_includes $TMPFILE + done + else + echo $TEMPLATEFILE + return + fi +} + +parse_template() { + if [ "$USE_INCLUDES" = "off" ]; then + touch $TMPDIR/$1.header + grep -v "^$" $1 | grep -v "^#" | sort -u > $TMPDIR/$1.tmp + else + TMPFILE=$(include_includes $1) + sort -u $TMPFILE > $TMPDIR/$1.tmp + if [ -e $TMPDIR/$1.tmp.header ]; then + sort -u $TMPDIR/$1.tmp.header > $TMPDIR/$1.header + fi + rm $TMPDIR/$1.[0-9]*.tmp $TMPDIR/$1.tmp.header 2>/dev/null + fi +} + +generate_template() { + if [ "$USE_INCLUDES" = "on" ]; then + ( + cd $TEMPLATEDIR + if [ "$(ls *.template 2>/dev/null)" != "" ]; then + echo -e "\tParsing actual template files:" + for i in *.template ; do + echo -e "\t\t$i" + parse_template $i + done + fi + ) + fi + + touch $TMPDIR/allheaders + + touch $TMPDIR/waiting + echo -e "\tGenerating slackware installed package list (this may take a while) \c" + [ "$SPINNING" = "off" ] || spinning ${TMPDIR}/waiting & + for i in $ROOT/var/log/packages/* ; do + PKGNAME=$( cutpkg $(basename $i)) + grep -q " $PKGNAME " ${WORKDIR}/pkglist && \ + echo $PKGNAME >> $TMPDIR/$TEMPLATE.work + done + rm $TMPDIR/waiting + echo " " + + echo -e "\tGenerating $TEMPLATE " + for TMPLATE in $( wc -l $TMPDIR/* | sort -r | \ + awk -F/ '/template.tmp/ { print $NF }'); do + if ! $( grep -q "^#include.*${TMPLATE/.tmp/}" \ + $TMPDIR/allheaders) ; then + diff -y $TMPDIR/$TEMPLATE.work $TMPDIR/$TMPLATE | \ + awk -vTMPDIR=$TMPDIR \ + '!/</ { print $1 > TMPDIR"/same" } + /</ { print $1 > TMPDIR"/notsame" }' + if $( diff -q $TMPDIR/$TMPLATE \ + $TMPDIR/same &>/dev/null ); then + echo "#include ${TMPLATE/.tmp/}" \ + >> $TMPDIR/$TEMPLATE.header + cat $TMPDIR/${TMPLATE/.tmp/}.header \ + >> $TMPDIR/allheaders 2>/dev/null + cat $TMPDIR/same >> $TMPDIR/allfiles + fi + fi + done + + if [ -e $TMPDIR/allfiles ]; then + sort -u $TMPDIR/allfiles > $TMPDIR/alluniqfiles + else + touch $TMPDIR/alluniqfiles + fi + if [ -e $TMPDIR/$TEMPLATE.header ]; then + cat $TMPDIR/$TEMPLATE.header > $TEMPLATEDIR/$TEMPLATE + fi + diff $TMPDIR/alluniqfiles $TMPDIR/$TEMPLATE.work |\ + awk '/>/ { print $2 }' >> $TEMPLATEDIR/$TEMPLATE +} diff --git a/files/cutpkg.awk b/files/cutpkg.awk new file mode 100644 index 0000000..62aaad7 --- /dev/null +++ b/files/cutpkg.awk @@ -0,0 +1,8 @@ +OFS="-" { + if ( NF > 3 ) { + NF=NF-3 + print $0 + } else { + print $0 + } +} diff --git a/files/dialog-functions.sh b/files/dialog-functions.sh new file mode 100644 index 0000000..042906c --- /dev/null +++ b/files/dialog-functions.sh @@ -0,0 +1,75 @@ +# Dialog functions +# Original functions from slackpkg modified by Marek Wodzinski (majek@mamy.to) +# +export DIALOG_CANCEL="1" +export DIALOG_ERROR="126" +export DIALOG_ESC="1" +export DIALOG_EXTRA="3" +export DIALOG_HELP="2" +export DIALOG_ITEM_HELP="2" +export DIALOG_OK="0" + +# Show the lists and asks if the user want to proceed with that action +# Return accepted list in $SHOWLIST +# +if [ "$DIALOG" = "on" ] || [ "$DIALOG" = "ON" ]; then + function showlist() { + if [ "$ONOFF" != "off" ]; then + ONOFF=on + fi + rm -f $TMPDIR/dialog.tmp + + if [ "$2" = "upgrade" ]; then + ls -1 $ROOT/var/log/packages > $TMPDIR/tmplist + for i in $1; do + BASENAME=$(cutpkg $i) + PKGFOUND=$(grep -m1 -e "^${BASENAME}-[^-]\+-\(noarch\|fw\|${ARCH}\)" $TMPDIR/tmplist) + echo "$i \"\" $ONOFF \"currently installed: $PKGFOUND\"" >>$TMPDIR/dialog.tmp + done + HINT="--item-help" + else + for i in $1; do + echo "$i \"\" $ONOFF" >>$TMPDIR/dialog.tmp + done + HINT="" + fi + + # This is needed because dialog have a limit of arguments. + # This limit is around 20k characters in slackware 10.x + # Empiric tests on slackware 13.0 got a limit around 139k. + # If we exceed this limit, dialog got a terrible error, to + # avoid that, if the number of arguments is bigger than + # DIALOG_MAXARGS we remove the hints. If even without hints + # we can't got less characters than DIALOG_MAXARGS we give an + # error message to the user ask him to not use dialog + if [ $(wc -c $TMPDIR/dialog.tmp | cut -f1 -d\ ) -ge $DIALOG_MAXARGS ]; then + mv $TMPDIR/dialog.tmp $TMPDIR/dialog2.tmp + awk '{ NF=3 ; print $0 }' $TMPDIR/dialog2.tmp > $TMPDIR/dialog.tmp + HINT="" + fi + cat $TMPDIR/dialog.tmp|xargs dialog --title $2 --backtitle "slackpkg $VERSION" $HINT --checklist "Choose packages to $2:" 19 70 13 2>$TMPDIR/dialog.out + case "$?" in + 0|123) + dialog --clear + ;; + 1|124|125|126|127) + dialog --clear + echo -e "DIALOG ERROR:\n-------------" >> $TMPDIR/error.log + cat $TMPDIR/dialog.out >> $TMPDIR/error.log + echo -e "------------- +If you want to continue using slackpkg, disable the DIALOG option in +/etc/slackpkg/slackpkg.conf and try again. + +Help us to make slackpkg a better tool - report bugs to the slackpkg +developers" >> $TMPDIR/error.log + cleanup + ;; + esac + SHOWLIST=$(cat $TMPDIR/dialog.out | tr -d \") + rm -f $TMPDIR/dialog.* + if [ -z "$SHOWLIST" ]; then + echo "No packages selected for $2, exiting." + cleanup + fi + } +fi diff --git a/files/filelist.awk b/files/filelist.awk new file mode 100644 index 0000000..291624b --- /dev/null +++ b/files/filelist.awk @@ -0,0 +1,28 @@ +BEGIN { + starting = 1 +} + +/^\|\|[[:blank:]]+Package:[[:blank:]]+.*-[[:alnum:]_]+-[[:alnum:]_.]+\.t[blxg]z$/ { + if( starting == 1 ) + starting = 0 + else + printf( "\n" ) + printf( "%s ", $3 ) + show = 1 +} + +/^\|\|[[:blank:]]+Package:[[:blank:]]+/ && !/t[blxg]z/ { + show = 0 +} + +/^[-bcdlps][-r][-w][-xsS][-r][-w][-xsS][-r][-w][-xtT][[:space:]]/ { + if( show == 1 ) { + printf( "%s ", $6 ) + } +} + + + +END { + printf( "\n" ) +} diff --git a/files/install-new.awk b/files/install-new.awk new file mode 100644 index 0000000..d2fd4ee --- /dev/null +++ b/files/install-new.awk @@ -0,0 +1,45 @@ +/^(a|ap|d|e|f|k|kde|kdei|l|mac|n|t|tcl|x|xap|xfce|y)\/([a-zA-Z0-9_\+.\-]+):.* ([Aa]dded|[Ss]plit|[Rr]enamed|[Mm]oved|[Nn]ame [Cc]hange|NAME CHANGE|[Ss]witched).*/ { + INPUT=$1 + fs=FS + FS="/" ; OFS="/" + $0=INPUT + FULLPACK=$NF + FS="-" ; OFS="-" + $0=FULLPACK + if ( NF > 3 ) { + NF=NF-3 + } else { + FS=":" ; OFS=":" + $0=$0 + $0=$1 + } + FS=fs + CONTINUE=no + print $0 +} + +/^(a|ap|d|e|f|k|kde|kdei|l|mac|n|t|tcl|x|xap|xfce|y)\/([a-zA-Z0-9_\+.\-]+): *$/ { + INPUT=$1 + fs=FS + FS="/" ; OFS="/" + $0=INPUT + FULLPACK=$NF + FS="-" ; OFS="-" + $0=FULLPACK + if ( NF > 3 ) { + NF=NF-3 + } else { + FS=":" + $0=$1 + } + FS=fs + CONTINUE=yes + NAME=$0 +} + +/^ *([Aa]dded|[Ss]plit|[Rr]enamed|[Mm]oved|[Nn]ame [Cc]hange|NAME CHANGE|[Ss]witched).*/ { + if ( CONTINUE==yes ) { + print NAME + } + CONTINUE=no +} diff --git a/files/mirrors-arm.sample b/files/mirrors-arm.sample new file mode 100644 index 0000000..8a42d7b --- /dev/null +++ b/files/mirrors-arm.sample @@ -0,0 +1,78 @@ +# mirrors - List of Slackware Linux mirrors. +# +# SlackPkg - An Automated packaging tool for Slackware Linux +# Copyright (C) 2003-2011 Roberto F. Batista, Evaldo Gardenali +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Project Page: http://slackpkg.org/ +# Roberto F. Batista (aka PiterPunk) piterpunk@slackware.com +# Evaldo Gardenali (aka UdontKnow) evaldogardenali@fasternet.com.br +# +# END OF LEGAL NOTICE +# +# +# You only need to select one mirror and uncomment it. +# ONLY ONE mirror can be uncommented. +# +# You can use a mirror not included in this file. Many people have mirrors +# in their local networks. +# +# Slackpkg only needs to point to the directory that contains +# "ChangeLog.txt", and don't forget the trailing slash. +# +#---------------------------------------------------------------- +# Local CD/DVD drive +#---------------------------------------------------------------- +#cdrom://media/cdrom/ +# +#---------------------------------------------------------------- +# Local Directory +#---------------------------------------------------------------- +#file://path/to/some/directory/ +# +#---------------------------------------------------------------- +# Local CD/DVD drive +#---------------------------------------------------------------- +#cdrom://media/cdrom/ +# +#---------------------------------------------------------------- +# Local Directory +#---------------------------------------------------------------- +#file://path/to/some/directory/ +# +#---------------------------------------------------------------- +# Slackware ARM x.x (for an assumed release of the hard float port) +#---------------------------------------------------------------- +#ftp://slackware.uk/slackwarearm/slackwarearm-x.x/ +#ftp://ftp.halifax.rwth-aachen.de/slackwarearm/slackwarearm-x.x/ +#ftp://ftp.slackware.pl/pub/slackwarearm/slackwarearm-x.x/ +#ftp://mirrors.vbi.vt.edu/linux/slackwarearm/slackwarearm-x.x/ +#ftp://mirror.slackbuilds.org/pub/slackwarearm/slackwarearm-x.x/ +# +#ftp://ftp.arm.slackware.com/slackwarearm/slackwarearm-x.x/ +# + +#---------------------------------------------------------------- +# Slackware ARM current +#---------------------------------------------------------------- +#ftp://slackware.uk/slackwarearm/slackwarearm-current/ +#ftp://ftp.halifax.rwth-aachen.de/slackwarearm/slackwarearm-current/ +#ftp://ftp.slackware.pl/pub/slackwarearm/slackwarearm-current/ +#ftp://mirrors.vbi.vt.edu/linux/slackwarearm/slackwarearm-current/ +#ftp://mirror.slackbuilds.org/pub/slackwarearm/slackwarearm-current/ +# +#ftp://ftp.arm.slackware.com/slackwarearm/slackwarearm-current/ + diff --git a/files/mirrors-s390.sample b/files/mirrors-s390.sample new file mode 100644 index 0000000..03cad82 --- /dev/null +++ b/files/mirrors-s390.sample @@ -0,0 +1,43 @@ +# mirrors - List of Slackware Linux mirrors. +# +# SlackPkg - An Automated packaging tool for Slackware Linux +# Copyright (C) 2003-2011 Roberto F. Batista, Evaldo Gardenali +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Project Page: http://slackpkg.org/ +# Roberto F. Batista (aka PiterPunk) piterpunk@slackware.com +# Evaldo Gardenali (aka UdontKnow) evaldogardenali@fasternet.com.br +# +# END OF LEGAL NOTICE +# +# +# You only need to select one mirror and uncomment them. Please, +# ONLY ONE mirror can be uncommented each time. +# +# You can include new mirrors in this file. Many people have mirrors +# in their local networks. Slackpkg only needs to point to the +# directory that contains "ChangeLog.txt", and don't forget the +# trailling slash. +# +#---------------------------------------------------------------- +# Local CD/DVD drive +#---------------------------------------------------------------- +#cdrom://media/cdrom/ +# +#---------------------------------------------------------------- +# Local Directory +#---------------------------------------------------------------- +#file://path/to/some/directory/ diff --git a/files/mirrors-x86.sample b/files/mirrors-x86.sample new file mode 100644 index 0000000..922bc17 --- /dev/null +++ b/files/mirrors-x86.sample @@ -0,0 +1,370 @@ +# mirrors - List of Slackware Linux mirrors. +# +# SlackPkg - An Automated packaging tool for Slackware Linux +# Copyright (C) 2003-2011 Roberto F. Batista, Evaldo Gardenali +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Project Page: http://slackpkg.org/ +# Roberto F. Batista (aka PiterPunk) piterpunk@slackware.com +# Evaldo Gardenali (aka UdontKnow) evaldogardenali@fasternet.com.br +# +# END OF LEGAL NOTICE +# +# +# You only need to select one mirror and uncomment it. +# ONLY ONE mirror can be uncommented. +# +# You can use a mirror not included in this file. Many people have mirrors +# in their local networks. A list of all official Slackware mirrors +# (not version-specific, so some mirrors may not have all files) is here: +# https://mirrors.slackware.com/mirrorlist/ +# +# Slackpkg only needs to point to the directory that contains +# "ChangeLog.txt", and don't forget the trailing slash. +# +#---------------------------------------------------------------- +# Local CD/DVD drive +#---------------------------------------------------------------- +# cdrom://media/cdrom/ +# +#---------------------------------------------------------------- +# Local Directory +#---------------------------------------------------------------- +# file://path/to/some/directory/ +# +#---------------------------------------------------------------- +# Slackware-14.2 +#---------------------------------------------------------------- +# USE MIRRORS.SLACKWARE.COM (DO NOT USE FTP - ONLY HTTP FINDS A NEARBY MIRROR) +# https://mirrors.slackware.com/slackware/slackware-14.2/ +# +# +# Here are some individual mirrors that can be used instead of the +# redirector at mirrors.slackware.com if necessary ; note that this +# list is not guaranteed to be up-to-date +# +# AUSTRALIA (AU) +# ftp://ftp.cc.swin.edu.au/slackware/slackware-14.2/ +# http://ftp.cc.swin.edu.au/slackware/slackware-14.2/ +# ftp://ftp.iinet.net.au/pub/slackware/slackware-14.2/ +# http://ftp.iinet.net.au/pub/slackware/slackware-14.2/ +# ftp://mirror.as24220.net/pub/slackware/slackware-14.2/ +# http://mirror.as24220.net/pub/slackware/slackware-14.2/ +# ftp://mirror.internode.on.net/.pub2/slackware/slackware-14.2/ +# http://mirror.internode.on.net/pub/slackware/slackware-14.2/ +# AUSTRIA (AT) +# http://gd.tuwien.ac.at/opsys/linux/freesoftware.com/slackware-14.2/ +# BELARUS (BY) +# ftp://mirror.datacenter.by/pub/slackware/slackware-14.2/ +# http://mirror.datacenter.by/pub/slackware/slackware-14.2/ +# BRAZIL (BR) +# ftp://ftp.slackware-brasil.com.br/slackware-14.2/ +# http://ftp.slackware-brasil.com.br/slackware-14.2/ +# BULGARIA (BG) +# ftp://mirrors.unixsol.org/slackware/slackware-14.2/ +# http://mirrors.unixsol.org/slackware/slackware-14.2/ +# CANADA (CA) +# ftp://mirror.csclub.uwaterloo.ca/slackware/slackware-14.2/ +# http://mirror.csclub.uwaterloo.ca/slackware/slackware-14.2/ +# ftp://mirror.its.dal.ca/slackware/slackware-14.2/ +# http://mirror.its.dal.ca/slackware/slackware-14.2/ +# CHINA (CN) +# http://mirrors.163.com/slackware/slackware-14.2/ +# http://mirrors.ustc.edu.cn/slackware/slackware-14.2/ +# COSTA RICA (CR) +# ftp://mirrors.ucr.ac.cr/slackware/pub/slackware/slackware-14.2/ +# http://mirrors.ucr.ac.cr/slackware/pub/slackware/slackware-14.2/ +# CZECH REPUBLIC (CZ) +# ftp://odysseus.linux.cz/pub/linux/slackware/slackware-14.2/ +# http://odysseus.linux.cz/pub/linux/slackware/slackware-14.2/ +# DENMARK (DK) +# ftp://mirrors.dotsrc.org/slackware/slackware-14.2/ +# https://mirrors.dotsrc.org/slackware/slackware-14.2/ +# FINLAND (FI) +# ftp://elektroni.phys.tut.fi/slackware-14.2/ +# FRANCE (FR) +# ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware-14.2/ +# http://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware-14.2/ +# GERMANY (DE) +# ftp://ftp.gwdg.de/pub/linux/slackware/slackware-13.2/ +# http://ftp.gwdg.de/pub/linux/slackware/slackware-14.2/ +# ftp://ftp.tu-chemnitz.de/pub/linux/slackware/slackware-14.2/ +# http://ftp.tu-chemnitz.de/pub/linux/slackware/slackware-14.2/ +# ftp://ftp.zimt.uni-siegen.de/pub/slackware/slackware-14.2/ +# http://ftp.zimt.uni-siegen.de/slackware/slackware-14.2/ +# ftp://sunsite.informatik.rwth-aachen.de/pub/comp/Linux/slackware/slackware-14.2/ +# http://sunsite.informatik.rwth-aachen.de/ftp/pub/comp/Linux/slackware/slackware-14.2/ +# GREECE (GR) +# ftp://ftp.cc.uoc.gr/mirrors/linux/slackware/slackware-14.2/ +# http://ftp.cc.uoc.gr/mirrors/linux/slackware/slackware-14.2/ +# ftp://ftp.otenet.gr/pub/linux/slackware/slackware-14.2/ +# http://ftp.otenet.gr/linux/slackware/slackware-14.2/ +# ftp://patroklos.noc.ntua.gr/pub/linux/slackware/slackware-14.2/ +# http://patroklos.noc.ntua.gr/pub/linux/slackware/slackware-14.2/ +# INDONESIA (ID) +# http://kambing.ui.ac.id/slackware/slackware-14.2/ +# https://repo.ukdw.ac.id/slackware/slackware-14.2/ +# IRELAND (IE) +# ftp://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware-14.2/ +# http://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware-14.2/ +# ITALY (IT) +# ftp://ba.mirror.garr.it/mirrors/Slackware/slackware-14.2/ +# http://ba.mirror.garr.it/mirrors/Slackware/slackware-14.2/ +# JAPAN (JP) +# ftp://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware-14.2/ +# http://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware-14.2/ +# ftp://ftp.kddilabs.jp/Linux/distributions/Slackware/slackware-14.2/ +# http://ftp.kddilabs.jp/Linux/distributions/Slackware/slackware-14.2/ +# ftp://riksun.riken.go.jp/Linux/slackware/slackware-14.2/ +# http://riksun.riken.go.jp/Linux/slackware/slackware-14.2/ +# NETHERLANDS (NL) +# ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-14.2/ +# http://ftp.nluug.nl/os/Linux/distr/slackware/slackware-14.2/ +# ftp://mirror.nl.leaseweb.net/slackware/slackware-14.2/ +# http://mirror.nl.leaseweb.net/slackware/slackware-14.2/ +# NORWAY (NO) +# ftp://ftp.slackware.no/slackware/slackware-14.2/ +# http://ftp.slackware.no/slackware/slackware-14.2/ +# POLAND (PL) +# ftp://ftp.pwr.wroc.pl/pub/linux/slackware/slackware-14.2/ +# http://ftp.pwr.wroc.pl/pub/linux/slackware/slackware-14.2/ +# ftp://ftp.slackware.pl/pub/slackware/slackware-14.2/ +# http://ftp.slackware.pl/pub/slackware/slackware-14.2/ +# ftp://sunsite.icm.edu.pl/vol/rzm1/linux-slackware/slackware-14.2/ +# http://sunsite.icm.edu.pl/packages/linux-slackware/slackware-14.2/ +# ftp://z-ftp.wcss.wroc.pl/pub/linux/slackware/slackware-14.2/ +# http://z-ftp.wcss.wroc.pl/pub/linux/slackware/slackware-14.2/ +# RUSSIA (RU) +# http://mirror.rol.ru/slackware/slackware-14.2/ +# ftp://mirror.yandex.ru/slackware/slackware-14.2/ +# http://mirror.yandex.ru/slackware/slackware-14.2/ +# SOUTH AFRICA (ZA) +# ftp://ftp.is.co.za/mirror/ftp.slackware.com/pub/slackware-14.2/ +# http://ftp.is.co.za/mirror/ftp.slackware.com/pub/slackware-14.2/ +# ftp://ftp.wa.co.za/pub/slackware/slackware-14.2/ +# http://ftp.wa.co.za/pub/slackware/slackware-14.2/ +# ftp://slackware.mirror.ac.za/slackware-14.2/ +# http://slackware.mirror.ac.za/slackware-14.2/ +# SWEDEN (SE) +# ftp://ftp.sunet.se/mirror/slackware.com/slackware-14.2/ +# http://ftp.sunet.se/mirror/slackware.com/slackware-14.2/ +# SWITZERLAND (CH) +# ftp://mirror.switch.ch/mirror/slackware/slackware-14.2/ +# http://mirror.switch.ch/ftp/mirror/slackware/slackware-14.2/ +# TAIWAN (TW) +# ftp://ftp.isu.edu.tw/pub/Linux/Slackware/slackware-14.2/ +# http://ftp.isu.edu.tw/pub/Linux/Slackware/slackware-14.2/ +# ftp://ftp.twaren.net/pub/Linux/Slackware/slackware-14.2/ +# http://ftp.twaren.net/Linux/Slackware/slackware-14.2/ +# TURKEY (TR) +# ftp://ftp.linux.org.tr/slackware/slackware-14.2/ +# http://ftp.linux.org.tr/slackware/slackware-14.2/ +# UKRAINE (UA) +# ftp://mirrors.mithril.org.ua/linux/slackware/slackware-14.2/ +# http://mirrors.mithril.org.ua/linux/slackware/slackware-14.2/ +# UNITED KINGDOM (UK) +# ftp://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware-14.2/ +# http://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware-14.2/ +# ftp://mirror.bytemark.co.uk/slackware/slackware-14.2/ +# http://mirror.bytemark.co.uk/slackware/slackware-14.2/ +# UNITED STATES (US) +# ftp://ftp.gtlib.gatech.edu/nv/ao2/lxmirror/ftp.slackware.com/slackware-14.2/ +# ftp://mirror.cs.princeton.edu/pub/mirrors/slackware/slackware-14.2/ +# ftp://mirrors.easynews.com/linux/slackware/slackware-14.2/ +# http://mirrors.easynews.com/linux/slackware/slackware-14.2/ +# ftp://mirrors.us.kernel.org/slackware/slackware-14.2/ +# http://mirrors.us.kernel.org/slackware/slackware-14.2/ +# ftp://mirrors.xmission.com/slackware/slackware-14.2/ +# http://mirrors.xmission.com/slackware/slackware-14.2/ +# https://mirror.slackbuilds.org/slackware/slackware-14.2/ +# http://slackware.cs.utah.edu/pub/slackware/slackware-14.2/ +# http://slackware.mirrors.pair.com/slackware-14.2/ +# ftp://slackware.mirrors.tds.net/pub/slackware/slackware-14.2/ +# http://slackware.mirrors.tds.net/pub/slackware/slackware-14.2/ +# ftp://spout.ussg.indiana.edu/linux/slackware/slackware-14.2/ +# http://spout.ussg.indiana.edu/linux/slackware/slackware-14.2/ +# ftp://teewurst.cc.columbia.edu/pub/linux/slackware/slackware-14.2/ +# http://teewurst.cc.columbia.edu/pub/linux/slackware/slackware-14.2/ +# +#---------------------------------------------------------------- +# Slackware-current +#---------------------------------------------------------------- +# USE MIRRORS.SLACKWARE.COM (DO NOT USE FTP - ONLY HTTP FINDS A NEARBY MIRROR) +# https://mirrors.slackware.com/slackware/slackware-current/ +# +# +# Here are some individual mirrors that can be used instead of the +# redirector at mirrors.slackware.com if necessary ; note that this +# list is not guaranteed to be up-to-date +# +# AUSTRALIA (AU) +# ftp://ftp.cc.swin.edu.au/slackware/slackware-current/ +# http://ftp.cc.swin.edu.au/slackware/slackware-current/ +# ftp://ftp.iinet.net.au/pub/slackware/slackware-current/ +# http://ftp.iinet.net.au/pub/slackware/slackware-current/ +# ftp://mirror.aarnet.edu.au/pub/slackware/slackware-current/ +# http://mirror.aarnet.edu.au/pub/slackware/slackware-current/ +# ftp://mirror.as24220.net/pub/slackware/slackware-current/ +# http://mirror.as24220.net/pub/slackware/slackware-current/ +# ftp://mirror.internode.on.net/.pub2/slackware/slackware-current/ +# http://mirror.internode.on.net/pub/slackware/slackware-current/ +# http://mirror.primusdatacentre.com.au/slackware/slackware-current/ +# AUSTRIA (AT) +# ftp://ftp.slackware.at/slackware-current/ +# http://ftp.slackware.at/data/slackware-current/ +# ftp://gd.tuwien.ac.at/opsys/linux/freesoftware.com/slackware-current/ +# http://gd.tuwien.ac.at/opsys/linux/freesoftware.com/slackware-current/ +# BELARUS (BY) +# ftp://mirror.datacenter.by/pub/slackware/slackware-current/ +# http://mirror.datacenter.by/pub/slackware/slackware-current/ +# BRAZIL (BR) +# ftp://ftp.slackware-brasil.com.br/slackware-current/ +# http://ftp.slackware-brasil.com.br/slackware-current/ +# BULGARIA (BG) +# ftp://mirrors.unixsol.org/slackware/slackware-current/ +# http://mirrors.unixsol.org/slackware/slackware-current/ +# CANADA (CA) +# ftp://mirror.csclub.uwaterloo.ca/slackware/slackware-current/ +# http://mirror.csclub.uwaterloo.ca/slackware/slackware-current/ +# ftp://mirror.its.dal.ca/slackware/slackware-current/ +# http://mirror.its.dal.ca/slackware/slackware-current/ +# CHINA (CN) +# http://mirror.bjtu.edu.cn/slackware/slackware-current/ +# http://mirrors.163.com/slackware/slackware-current/ +# http://mirrors.ustc.edu.cn/slackware/slackware-current/ +# COSTA RICA (CR) +# ftp://mirrors.ucr.ac.cr/slackware/pub/slackware/slackware-current/ +# http://mirrors.ucr.ac.cr/slackware/pub/slackware/slackware-current/ +# CZECH REPUBLIC (CZ) +# ftp://odysseus.linux.cz/pub/linux/slackware/slackware-current/ +# http://odysseus.linux.cz/pub/linux/slackware/slackware-current/ +# DENMARK (DK) +# ftp://mirrors.dotsrc.org/slackware/slackware-current/ +# https://mirrors.dotsrc.org/slackware/slackware-current/ +# FINLAND (FI) +# ftp://elektroni.phys.tut.fi/slackware-current/ +# FRANCE (FR) +# ftp://mirror.ovh.net/mirrors/ftp.slackware.com/slackware-current/ +# http://mirror.ovh.net/mirrors/ftp.slackware.com/slackware-current/ +# ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware-current/ +# http://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware-current/ +# GERMANY (DE) +# ftp://ftp.fu-berlin.de/unix/linux/slackware/slackware-current/ +# ftp://ftp.gwdg.de/pub/linux/slackware/slackware-current/ +# http://ftp.gwdg.de/pub/linux/slackware/slackware-current/ +# ftp://ftp.tu-chemnitz.de/pub/linux/slackware/slackware-current/ +# http://ftp.tu-chemnitz.de/pub/linux/slackware/slackware-current/ +# ftp://ftp.zimt.uni-siegen.de/pub/slackware/slackware-current/ +# http://ftp.zimt.uni-siegen.de/slackware/slackware-current/ +# ftp://sunsite.informatik.rwth-aachen.de/pub/comp/Linux/slackware/slackware-current/ +# http://sunsite.informatik.rwth-aachen.de/ftp/pub/comp/Linux/slackware/slackware-current/ +# ftp://wrz1013.rz.uni-wuerzburg.de/pub/MIRROR/slackware/slackware-current/ +# http://wrz1013.rz.uni-wuerzburg.de/pub/MIRROR/slackware/slackware-current/ +# GREECE (GR) +# ftp://ftp.cc.uoc.gr/mirrors/linux/slackware/slackware-current/ +# http://ftp.cc.uoc.gr/mirrors/linux/slackware/slackware-current/ +# ftp://ftp.otenet.gr/pub/linux/slackware/slackware-current/ +# http://ftp.otenet.gr/linux/slackware/slackware-current/ +# ftp://patroklos.noc.ntua.gr/pub/linux/slackware/slackware-current/ +# http://patroklos.noc.ntua.gr/pub/linux/slackware/slackware-current/ +# INDONESIA (ID) +# http://kambing.ui.ac.id/slackware/slackware-current/ +# https://repo.ukdw.ac.id/slackware/slackware-current/ +# IRELAND (IE) +# ftp://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware-current/ +# http://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware-current/ +# ITALY (IT) +# ftp://ba.mirror.garr.it/mirrors/Slackware/slackware-current/ +# http://ba.mirror.garr.it/mirrors/Slackware/slackware-current/ +# JAPAN (JP) +# ftp://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware-current/ +# http://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware-current/ +# ftp://ftp.kddilabs.jp/Linux/distributions/Slackware/slackware-current/ +# http://ftp.kddilabs.jp/Linux/distributions/Slackware/slackware-current/ +# ftp://riksun.riken.go.jp/Linux/slackware/slackware-current/ +# http://riksun.riken.go.jp/Linux/slackware/slackware-current/ +# NETHERLANDS (NL) +# ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-current/ +# http://ftp.nluug.nl/os/Linux/distr/slackware/slackware-current/ +# ftp://mirror.nl.leaseweb.net/slackware/slackware-current/ +# http://mirror.nl.leaseweb.net/slackware/slackware-current/ +# NORWAY (NO) +# ftp://ftp.slackware.no/slackware/slackware-current/ +# http://ftp.slackware.no/slackware/slackware-current/ +# POLAND (PL) +# ftp://ftp.pwr.wroc.pl/pub/linux/slackware/slackware-current/ +# http://ftp.pwr.wroc.pl/pub/linux/slackware/slackware-current/ +# ftp://ftp.slackware.pl/pub/slackware/slackware-current/ +# http://ftp.slackware.pl/pub/slackware/slackware-current/ +# ftp://sunsite.icm.edu.pl/vol/rzm1/linux-slackware/slackware-current/ +# http://sunsite.icm.edu.pl/packages/linux-slackware/slackware-current/ +# ftp://z-ftp.wcss.wroc.pl/pub/linux/slackware/slackware-current/ +# http://z-ftp.wcss.wroc.pl/pub/linux/slackware/slackware-current/ +# RUSSIA (RU) +# http://mirror.rol.ru/slackware/slackware-current/ +# ftp://mirror.yandex.ru/slackware/slackware-current/ +# http://mirror.yandex.ru/slackware/slackware-current/ +# SOUTH AFRICA (ZA) +# ftp://ftp.is.co.za/mirror/ftp.slackware.com/pub/slackware-current/ +# http://ftp.is.co.za/mirror/ftp.slackware.com/pub/slackware-current/ +# ftp://ftp.wa.co.za/pub/slackware/slackware-current/ +# http://ftp.wa.co.za/pub/slackware/slackware-current/ +# ftp://slackware.mirror.ac.za/slackware-current/ +# http://slackware.mirror.ac.za/slackware-current/ +# SWEDEN (SE) +# ftp://ftp.sunet.se/mirror/slackware.com/slackware-current/ +# http://ftp.sunet.se/mirror/slackware.com/slackware-current/ +# SWITZERLAND (CH) +# ftp://mirror.switch.ch/mirror/slackware/slackware-current/ +# http://mirror.switch.ch/ftp/mirror/slackware/slackware-current/ +# TAIWAN (TW) +# ftp://ftp.isu.edu.tw/pub/Linux/Slackware/slackware-current/ +# http://ftp.isu.edu.tw/pub/Linux/Slackware/slackware-current/ +# ftp://ftp.twaren.net/pub/Linux/Slackware/slackware-current/ +# http://ftp.twaren.net/Linux/Slackware/slackware-current/ +# TURKEY (TR) +# ftp://ftp.linux.org.tr/slackware/slackware-current/ +# http://ftp.linux.org.tr/slackware/slackware-current/ +# UKRAINE (UA) +# ftp://ftp.linux.kiev.ua/pub/Linux/Slackware/slackware-current/ +# http://ftp.linux.kiev.ua/pub/Linux/Slackware/slackware-current/ +# ftp://mirrors.mithril.org.ua/linux/slackware/slackware-current/ +# http://mirrors.mithril.org.ua/linux/slackware/slackware-current/ +# UNITED KINGDOM (UK) +# ftp://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware-current/ +# http://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware-current/ +# ftp://mirror.bytemark.co.uk/slackware/slackware-current/ +# http://mirror.bytemark.co.uk/slackware/slackware-current/ +# ftp://slackware.mirrors.uk2.net/pub/slackware/slackware-current/ +# http://slackware.mirrors.uk2.net/slackware-current/ +# UNITED STATES (US) +# ftp://ftp.gtlib.gatech.edu/nv/ao2/lxmirror/ftp.slackware.com/slackware-current/ +# ftp://mirror.cs.princeton.edu/pub/mirrors/slackware/slackware-current/ +# ftp://mirrors.easynews.com/linux/slackware/slackware-current/ +# http://mirrors.easynews.com/linux/slackware/slackware-current/ +# ftp://mirrors.us.kernel.org/slackware/slackware-current/ +# http://mirrors.us.kernel.org/slackware/slackware-current/ +# ftp://mirrors.xmission.com/slackware/slackware-current/ +# http://mirrors.xmission.com/slackware/slackware-current/ +# https://mirror.slackbuilds.org/slackware/slackware-current/ +# http://slackware.cs.utah.edu/pub/slackware/slackware-current/ +# http://slackware.mirrors.pair.com/slackware-current/ +# ftp://slackware.mirrors.tds.net/pub/slackware/slackware-current/ +# http://slackware.mirrors.tds.net/pub/slackware/slackware-current/ +# ftp://spout.ussg.indiana.edu/linux/slackware/slackware-current/ +# http://spout.ussg.indiana.edu/linux/slackware/slackware-current/ +# ftp://teewurst.cc.columbia.edu/pub/linux/slackware/slackware-current/ +# http://teewurst.cc.columbia.edu/pub/linux/slackware/slackware-current/ diff --git a/files/mirrors-x86_64.sample b/files/mirrors-x86_64.sample new file mode 100644 index 0000000..aae06f1 --- /dev/null +++ b/files/mirrors-x86_64.sample @@ -0,0 +1,362 @@ +# mirrors - List of Slackware Linux mirrors. +# +# SlackPkg - An Automated packaging tool for Slackware Linux +# Copyright (C) 2003-2011 Roberto F. Batista, Evaldo Gardenali +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Project Page: http://slackpkg.org/ +# Roberto F. Batista (aka PiterPunk) piterpunk@slackware.com +# Evaldo Gardenali (aka UdontKnow) evaldogardenali@fasternet.com.br +# +# END OF LEGAL NOTICE +# +# +# You only need to select one mirror and uncomment it. +# ONLY ONE mirror can be uncommented. +# +# You can use a mirror not included in this file. Many people have mirrors +# in their local networks. A list of all official Slackware mirrors +# (not version-specific, so some mirrors may not have all files) is here: +# https://mirrors.slackware.com/mirrorlist/ +# +# Slackpkg only needs to point to the directory that contains +# "ChangeLog.txt", and don't forget the trailing slash. +# +#---------------------------------------------------------------- +# Local CD/DVD drive +#---------------------------------------------------------------- +# cdrom://media/cdrom/ +# +#---------------------------------------------------------------- +# Local Directory +#---------------------------------------------------------------- +# file://path/to/some/directory/ +# +#---------------------------------------------------------------- +# Slackware64-14.2 +#---------------------------------------------------------------- +# USE MIRRORS.SLACKWARE.COM (DO NOT USE FTP - ONLY HTTP FINDS A NEARBY MIRROR) +# https://mirrors.slackware.com/slackware/slackware64-14.2/ +# +# +# Here are some individual mirrors that can be used instead of the +# redirector at mirrors.slackware.com if necessary ; note that this +# list is not guaranteed to be up-to-date +# +# AUSTRALIA (AU) +# ftp://ftp.cc.swin.edu.au/slackware/slackware64-14.2/ +# http://ftp.cc.swin.edu.au/slackware/slackware64-14.2/ +# ftp://ftp.iinet.net.au/pub/slackware/slackware64-14.2/ +# http://ftp.iinet.net.au/pub/slackware/slackware64-14.2/ +# ftp://mirror.as24220.net/pub/slackware/slackware64-14.2/ +# http://mirror.as24220.net/pub/slackware/slackware64-14.2/ +# ftp://mirror.internode.on.net/.pub2/slackware/slackware64-14.2/ +# http://mirror.internode.on.net/pub/slackware/slackware64-14.2/ +# AUSTRIA (AT) +# http://gd.tuwien.ac.at/opsys/linux/freesoftware.com/slackware64-14.2/ +# BELARUS (BY) +# ftp://mirror.datacenter.by/pub/slackware/slackware64-14.2/ +# http://mirror.datacenter.by/pub/slackware/slackware64-14.2/ +# BRAZIL (BR) +# ftp://ftp.slackware-brasil.com.br/slackware64-14.2/ +# http://ftp.slackware-brasil.com.br/slackware64-14.2/ +# BULGARIA (BG) +# ftp://mirrors.unixsol.org/slackware/slackware64-14.2/ +# http://mirrors.unixsol.org/slackware/slackware64-14.2/ +# CANADA (CA) +# ftp://mirror.csclub.uwaterloo.ca/slackware/slackware64-14.2/ +# http://mirror.csclub.uwaterloo.ca/slackware/slackware64-14.2/ +# ftp://mirror.its.dal.ca/slackware/slackware64-14.2/ +# http://mirror.its.dal.ca/slackware/slackware64-14.2/ +# CHINA (CN) +# http://mirrors.163.com/slackware/slackware64-14.2/ +# http://mirrors.ustc.edu.cn/slackware/slackware64-14.2/ +# COSTA RICA (CR) +# ftp://mirrors.ucr.ac.cr/slackware/pub/slackware/slackware64-14.2/ +# http://mirrors.ucr.ac.cr/slackware/pub/slackware/slackware64-14.2/ +# CZECH REPUBLIC (CZ) +# ftp://odysseus.linux.cz/pub/linux/slackware/slackware64-14.2/ +# http://odysseus.linux.cz/pub/linux/slackware/slackware64-14.2/ +# DENMARK (DK) +# ftp://mirrors.dotsrc.org/slackware/slackware64-14.2/ +# https://mirrors.dotsrc.org/slackware/slackware64-14.2/ +# FINLAND (FI) +# ftp://elektroni.phys.tut.fi/slackware64-14.2/ +# FRANCE (FR) +# ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-14.2/ +# http://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-14.2/ +# GERMANY (DE) +# ftp://ftp.gwdg.de/pub/linux/slackware/slackware64-14.2/ +# http://ftp.gwdg.de/pub/linux/slackware/slackware64-14.2/ +# ftp://ftp.tu-chemnitz.de/pub/linux/slackware/slackware64-14.2/ +# http://ftp.tu-chemnitz.de/pub/linux/slackware/slackware64-14.2/ +# ftp://sunsite.informatik.rwth-aachen.de/pub/comp/Linux/slackware/slackware64-14.2/ +# http://sunsite.informatik.rwth-aachen.de/ftp/pub/comp/Linux/slackware/slackware64-14.2/ +# GREECE (GR) +# ftp://ftp.cc.uoc.gr/mirrors/linux/slackware/slackware64-14.2/ +# http://ftp.cc.uoc.gr/mirrors/linux/slackware/slackware64-14.2/ +# ftp://ftp.otenet.gr/pub/linux/slackware/slackware64-14.2/ +# http://ftp.otenet.gr/linux/slackware/slackware64-14.2/ +# ftp://patroklos.noc.ntua.gr/pub/linux/slackware/slackware64-14.2/ +# http://patroklos.noc.ntua.gr/pub/linux/slackware/slackware64-14.2/ +# INDONESIA (ID) +# http://kambing.ui.ac.id/slackware/slackware64-14.2/ +# https://repo.ukdw.ac.id/slackware/slackware64-14.2/ +# IRELAND (IE) +# ftp://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware64-14.2/ +# http://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware64-14.2/ +# ITALY (IT) +# ftp://ba.mirror.garr.it/mirrors/Slackware/slackware64-14.2/ +# http://ba.mirror.garr.it/mirrors/Slackware/slackware64-14.2/ +# JAPAN (JP) +# ftp://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware64-14.2/ +# http://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware64-14.2/ +# ftp://ftp.kddilabs.jp/Linux/distributions/Slackware/slackware64-14.2/ +# http://ftp.kddilabs.jp/Linux/distributions/Slackware/slackware64-14.2/ +# ftp://riksun.riken.go.jp/Linux/slackware/slackware64-14.2/ +# http://riksun.riken.go.jp/Linux/slackware/slackware64-14.2/ +# NETHERLANDS (NL) +# ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware64-14.2/ +# http://ftp.nluug.nl/os/Linux/distr/slackware/slackware64-14.2/ +# ftp://mirror.nl.leaseweb.net/slackware/slackware64-14.2/ +# http://mirror.nl.leaseweb.net/slackware/slackware64-14.2/ +# NORWAY (NO) +# ftp://ftp.slackware.no/slackware/slackware64-14.2/ +# http://ftp.slackware.no/slackware/slackware64-14.2/ +# POLAND (PL) +# ftp://ftp.pwr.wroc.pl/pub/linux/slackware/slackware64-14.2/ +# http://ftp.pwr.wroc.pl/pub/linux/slackware/slackware64-14.2/ +# ftp://ftp.slackware.pl/pub/slackware/slackware64-14.2/ +# http://ftp.slackware.pl/pub/slackware/slackware64-14.2/ +# ftp://sunsite.icm.edu.pl/vol/rzm1/linux-slackware/slackware64-14.2/ +# http://sunsite.icm.edu.pl/packages/linux-slackware/slackware64-14.2/ +# ftp://z-ftp.wcss.wroc.pl/pub/linux/slackware/slackware64-14.2/ +# http://z-ftp.wcss.wroc.pl/pub/linux/slackware/slackware64-14.2/ +# RUSSIA (RU) +# http://mirror.rol.ru/slackware/slackware64-14.2/ +# ftp://mirror.yandex.ru/slackware/slackware64-14.2/ +# http://mirror.yandex.ru/slackware/slackware64-14.2/ +# SOUTH AFRICA (ZA) +# ftp://ftp.is.co.za/mirror/ftp.slackware.com/pub/slackware64-14.2/ +# http://ftp.is.co.za/mirror/ftp.slackware.com/pub/slackware64-14.2/ +# ftp://ftp.wa.co.za/pub/slackware/slackware64-14.2/ +# http://ftp.wa.co.za/pub/slackware/slackware64-14.2/ +# ftp://slackware.mirror.ac.za/slackware64-14.2/ +# http://slackware.mirror.ac.za/slackware64-14.2/ +# SWEDEN (SE) +# ftp://ftp.sunet.se/mirror/slackware.com/slackware64-14.2/ +# http://ftp.sunet.se/mirror/slackware.com/slackware64-14.2/ +# SWITZERLAND (CH) +# ftp://mirror.switch.ch/mirror/slackware/slackware64-14.2/ +# http://mirror.switch.ch/ftp/mirror/slackware/slackware64-14.2/ +# TAIWAN (TW) +# ftp://ftp.isu.edu.tw/pub/Linux/Slackware/slackware64-14.2/ +# http://ftp.isu.edu.tw/pub/Linux/Slackware/slackware64-14.2/ +# ftp://ftp.twaren.net/pub/Linux/Slackware/slackware64-14.2/ +# http://ftp.twaren.net/Linux/Slackware/slackware64-14.2/ +# TURKEY (TR) +# ftp://ftp.linux.org.tr/slackware/slackware64-14.2/ +# http://ftp.linux.org.tr/slackware/slackware64-14.2/ +# UKRAINE (UA) +# ftp://mirrors.mithril.org.ua/linux/slackware/slackware64-14.2/ +# http://mirrors.mithril.org.ua/linux/slackware/slackware64-14.2/ +# UNITED KINGDOM (UK) +# ftp://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware64-14.2/ +# http://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware64-14.2/ +# ftp://mirror.bytemark.co.uk/slackware/slackware64-14.2/ +# http://mirror.bytemark.co.uk/slackware/slackware64-14.2/ +# UNITED STATES (US) +# ftp://ftp.gtlib.gatech.edu/nv/ao2/lxmirror/ftp.slackware.com/slackware64-14.2/ +# ftp://mirror.cs.princeton.edu/pub/mirrors/slackware/slackware64-14.2/ +# ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/ +# http://mirrors.easynews.com/linux/slackware/slackware64-14.2/ +# ftp://mirrors.us.kernel.org/slackware/slackware64-14.2/ +# http://mirrors.us.kernel.org/slackware/slackware64-14.2/ +# ftp://mirrors.xmission.com/slackware/slackware64-14.2/ +# http://mirrors.xmission.com/slackware/slackware64-14.2/ +# https://mirror.slackbuilds.org/slackware/slackware64-14.2/ +# http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/ +# http://slackware.mirrors.pair.com/slackware64-14.2/ +# ftp://slackware.mirrors.tds.net/pub/slackware/slackware64-14.2/ +# http://slackware.mirrors.tds.net/pub/slackware/slackware64-14.2/ +# ftp://spout.ussg.indiana.edu/linux/slackware/slackware64-14.2/ +# http://spout.ussg.indiana.edu/linux/slackware/slackware64-14.2/ +# ftp://teewurst.cc.columbia.edu/pub/linux/slackware/slackware64-14.2/ +# http://teewurst.cc.columbia.edu/pub/linux/slackware/slackware64-14.2/ +# +#---------------------------------------------------------------- +# Slackware64-current +#---------------------------------------------------------------- +# USE MIRRORS.SLACKWARE.COM (DO NOT USE FTP - ONLY HTTP FINDS A NEARBY MIRROR) +# https://mirrors.slackware.com/slackware/slackware64-current/ +# +# +# Here are some individual mirrors that can be used instead of the +# redirector at mirrors.slackware.com if necessary ; note that this +# list is not guaranteed to be up-to-date +# +# AUSTRALIA (AU) +# ftp://ftp.cc.swin.edu.au/slackware/slackware64-current/ +# http://ftp.cc.swin.edu.au/slackware/slackware64-current/ +# ftp://ftp.iinet.net.au/pub/slackware/slackware64-current/ +# http://ftp.iinet.net.au/pub/slackware/slackware64-current/ +# ftp://mirror.aarnet.edu.au/pub/slackware/slackware64-current/ +# http://mirror.aarnet.edu.au/pub/slackware/slackware64-current/ +# ftp://mirror.as24220.net/pub/slackware/slackware64-current/ +# http://mirror.as24220.net/pub/slackware/slackware64-current/ +# ftp://mirror.internode.on.net/.pub2/slackware/slackware64-current/ +# http://mirror.internode.on.net/pub/slackware/slackware64-current/ +# http://mirror.primusdatacentre.com.au/slackware/slackware64-current/ +# AUSTRIA (AT) +# ftp://ftp.slackware.at/slackware64-current/ +# http://ftp.slackware.at/data/slackware64-current/ +# ftp://gd.tuwien.ac.at/opsys/linux/freesoftware.com/slackware64-current/ +# http://gd.tuwien.ac.at/opsys/linux/freesoftware.com/slackware64-current/ +# BELARUS (BY) +# ftp://mirror.datacenter.by/pub/slackware/slackware64-current/ +# http://mirror.datacenter.by/pub/slackware/slackware64-current/ +# BRAZIL (BR) +# ftp://ftp.slackware-brasil.com.br/slackware64-current/ +# http://ftp.slackware-brasil.com.br/slackware64-current/ +# BULGARIA (BG) +# ftp://mirrors.unixsol.org/slackware/slackware64-current/ +# http://mirrors.unixsol.org/slackware/slackware64-current/ +# CANADA (CA) +# ftp://mirror.csclub.uwaterloo.ca/slackware/slackware64-current/ +# http://mirror.csclub.uwaterloo.ca/slackware/slackware64-current/ +# ftp://mirror.its.dal.ca/slackware/slackware64-current/ +# http://mirror.its.dal.ca/slackware/slackware64-current/ +# CHINA (CN) +# http://mirror.bjtu.edu.cn/slackware/slackware64-current/ +# http://mirrors.163.com/slackware/slackware64-current/ +# http://mirrors.ustc.edu.cn/slackware/slackware64-current/ +# COSTA RICA (CR) +# ftp://mirrors.ucr.ac.cr/slackware/pub/slackware/slackware64-current/ +# http://mirrors.ucr.ac.cr/slackware/pub/slackware/slackware64-current/ +# CZECH REPUBLIC (CZ) +# ftp://odysseus.linux.cz/pub/linux/slackware/slackware64-current/ +# http://odysseus.linux.cz/pub/linux/slackware/slackware64-current/ +# DENMARK (DK) +# ftp://mirrors.dotsrc.org/slackware/slackware64-current/ +# https://mirrors.dotsrc.org/slackware/slackware64-current/ +# FINLAND (FI) +# ftp://elektroni.phys.tut.fi/slackware64-current/ +# FRANCE (FR) +# ftp://mirror.ovh.net/mirrors/ftp.slackware.com/slackware64-current/ +# http://mirror.ovh.net/mirrors/ftp.slackware.com/slackware64-current/ +# ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-current/ +# http://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-current/ +# GERMANY (DE) +# ftp://ftp.fu-berlin.de/unix/linux/slackware/slackware64-current/ +# ftp://ftp.gwdg.de/pub/linux/slackware/slackware64-current/ +# http://ftp.gwdg.de/pub/linux/slackware/slackware64-current/ +# ftp://ftp.tu-chemnitz.de/pub/linux/slackware/slackware64-current/ +# http://ftp.tu-chemnitz.de/pub/linux/slackware/slackware64-current/ +# ftp://sunsite.informatik.rwth-aachen.de/pub/comp/Linux/slackware/slackware64-current/ +# http://sunsite.informatik.rwth-aachen.de/ftp/pub/comp/Linux/slackware/slackware64-current/ +# ftp://wrz1013.rz.uni-wuerzburg.de/pub/MIRROR/slackware/slackware64-current/ +# http://wrz1013.rz.uni-wuerzburg.de/pub/MIRROR/slackware/slackware64-current/ +# GREECE (GR) +# ftp://ftp.cc.uoc.gr/mirrors/linux/slackware/slackware64-current/ +# http://ftp.cc.uoc.gr/mirrors/linux/slackware/slackware64-current/ +# ftp://ftp.otenet.gr/pub/linux/slackware/slackware64-current/ +# http://ftp.otenet.gr/linux/slackware/slackware64-current/ +# ftp://patroklos.noc.ntua.gr/pub/linux/slackware/slackware64-current/ +# http://patroklos.noc.ntua.gr/pub/linux/slackware/slackware64-current/ +# INDONESIA (ID) +# http://kambing.ui.ac.id/slackware/slackware64-current/ +# https://repo.ukdw.ac.id/slackware/slackware64-current/ +# IRELAND (IE) +# ftp://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware64-current/ +# http://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware64-current/ +# ITALY (IT) +# ftp://ba.mirror.garr.it/mirrors/Slackware/slackware64-current/ +# http://ba.mirror.garr.it/mirrors/Slackware/slackware64-current/ +# JAPAN (JP) +# ftp://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware64-current/ +# http://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware64-current/ +# ftp://ftp.kddilabs.jp/Linux/distributions/Slackware/slackware64-current/ +# http://ftp.kddilabs.jp/Linux/distributions/Slackware/slackware64-current/ +# ftp://riksun.riken.go.jp/Linux/slackware/slackware64-current/ +# http://riksun.riken.go.jp/Linux/slackware/slackware64-current/ +# NETHERLANDS (NL) +# ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware64-current/ +# http://ftp.nluug.nl/os/Linux/distr/slackware/slackware64-current/ +# ftp://mirror.nl.leaseweb.net/slackware/slackware64-current/ +# http://mirror.nl.leaseweb.net/slackware/slackware64-current/ +# NORWAY (NO) +# ftp://ftp.slackware.no/slackware/slackware64-current/ +# http://ftp.slackware.no/slackware/slackware64-current/ +# POLAND (PL) +# ftp://ftp.pwr.wroc.pl/pub/linux/slackware/slackware64-current/ +# http://ftp.pwr.wroc.pl/pub/linux/slackware/slackware64-current/ +# ftp://ftp.slackware.pl/pub/slackware/slackware64-current/ +# http://ftp.slackware.pl/pub/slackware/slackware64-current/ +# ftp://sunsite.icm.edu.pl/vol/rzm1/linux-slackware/slackware64-current/ +# http://sunsite.icm.edu.pl/packages/linux-slackware/slackware64-current/ +# ftp://z-ftp.wcss.wroc.pl/pub/linux/slackware/slackware64-current/ +# http://z-ftp.wcss.wroc.pl/pub/linux/slackware/slackware64-current/ +# RUSSIA (RU) +# http://mirror.rol.ru/slackware/slackware64-current/ +# ftp://mirror.yandex.ru/slackware/slackware64-current/ +# http://mirror.yandex.ru/slackware/slackware64-current/ +# SOUTH AFRICA (ZA) +# ftp://ftp.is.co.za/mirror/ftp.slackware.com/pub/slackware64-current/ +# http://ftp.is.co.za/mirror/ftp.slackware.com/pub/slackware64-current/ +# ftp://ftp.wa.co.za/pub/slackware/slackware64-current/ +# http://ftp.wa.co.za/pub/slackware/slackware64-current/ +# ftp://slackware.mirror.ac.za/slackware64-current/ +# http://slackware.mirror.ac.za/slackware64-current/ +# SWEDEN (SE) +# ftp://ftp.sunet.se/mirror/slackware.com/slackware64-current/ +# http://ftp.sunet.se/mirror/slackware.com/slackware64-current/ +# SWITZERLAND (CH) +# ftp://mirror.switch.ch/mirror/slackware/slackware64-current/ +# http://mirror.switch.ch/ftp/mirror/slackware/slackware64-current/ +# TAIWAN (TW) +# ftp://ftp.isu.edu.tw/pub/Linux/Slackware/slackware64-current/ +# http://ftp.isu.edu.tw/pub/Linux/Slackware/slackware64-current/ +# ftp://ftp.twaren.net/pub/Linux/Slackware/slackware64-current/ +# http://ftp.twaren.net/Linux/Slackware/slackware64-current/ +# TURKEY (TR) +# ftp://ftp.linux.org.tr/slackware/slackware64-current/ +# http://ftp.linux.org.tr/slackware/slackware64-current/ +# UKRAINE (UA) +# ftp://mirrors.mithril.org.ua/linux/slackware/slackware64-current/ +# http://mirrors.mithril.org.ua/linux/slackware/slackware64-current/ +# UNITED KINGDOM (UK) +# ftp://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware64-current/ +# http://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware64-current/ +# ftp://mirror.bytemark.co.uk/slackware/slackware64-current/ +# http://mirror.bytemark.co.uk/slackware/slackware64-current/ +# UNITED STATES (US) +# ftp://ftp.gtlib.gatech.edu/nv/ao2/lxmirror/ftp.slackware.com/slackware64-current/ +# ftp://mirror.cs.princeton.edu/pub/mirrors/slackware/slackware64-current/ +# ftp://mirrors.easynews.com/linux/slackware/slackware64-current/ +# http://mirrors.easynews.com/linux/slackware/slackware64-current/ +# ftp://mirrors.us.kernel.org/slackware/slackware64-current/ +# http://mirrors.us.kernel.org/slackware/slackware64-current/ +# ftp://mirrors.xmission.com/slackware/slackware64-current/ +# http://mirrors.xmission.com/slackware/slackware64-current/ +# https://mirror.slackbuilds.org/slackware/slackware64-current/ +# http://slackware.cs.utah.edu/pub/slackware/slackware64-current/ +# http://slackware.mirrors.pair.com/slackware64-current/ +# ftp://slackware.mirrors.tds.net/pub/slackware/slackware64-current/ +# http://slackware.mirrors.tds.net/pub/slackware/slackware64-current/ +# ftp://spout.ussg.indiana.edu/linux/slackware/slackware64-current/ +# http://spout.ussg.indiana.edu/linux/slackware/slackware64-current/ +# ftp://teewurst.cc.columbia.edu/pub/linux/slackware/slackware64-current/ +# http://teewurst.cc.columbia.edu/pub/linux/slackware/slackware64-current/ diff --git a/files/pkglist.awk b/files/pkglist.awk new file mode 100644 index 0000000..5a0c18e --- /dev/null +++ b/files/pkglist.awk @@ -0,0 +1,35 @@ +!/source\// && !/\.asc$/ { + INPUT=$NF + fs=FS + FS="/" ; OFS="/" + $0=INPUT + if ( $2 != "var" ) { + DIR=$2 + FULLPACK=$NF + } else { + DIR="local" + FULLPACK=$NF".tgz" + } + NF=NF-1 + PATH=$0 + FS="-" ; OFS="-" + $0=FULLPACK + if ( NF > 3 ) { + SIZE=split($NF,RELEXT,".") + EXTENSION=RELEXT[SIZE] + LAST=length($NF)-4 + RELEASE=substr($NF,1,LAST) + ARCH=$(NF-1) + VERSION=$(NF-2) + NF=NF-3 + NAME=$0 + } else { + RELEASE=none + ARCH=none + VERSION=none + EXTENSION=tgz + NAME=$0 + } + FS=fs + print DIR" "NAME" "VERSION" "ARCH" "RELEASE" "NAME"-"VERSION"-"ARCH"-"RELEASE" "PATH" "EXTENSION +} diff --git a/files/post-functions.sh b/files/post-functions.sh new file mode 100644 index 0000000..c286e7a --- /dev/null +++ b/files/post-functions.sh @@ -0,0 +1,221 @@ +showdiff() { + BASENAME=$(basename $i .new) + FILEPATH=$(dirname $i) + FULLNAME="${FILEPATH}/${BASENAME}" + + if [ -e ${FULLNAME} ]; then + diff -u ${FULLNAME} ${FULLNAME}.new | $MORECMD + else + echo "file $FULLNAME doesn't exist" + fi +} + +showmenu() { + echo -e "$1 - \c" + tput sc + shift + while [ $# -gt 0 ]; do + echo -e "$1" + tput rc + shift + done +} + +mergenew() { + BASENAME=$(basename $i .new) + FILEPATH=$(dirname $i) + FULLNAME="${FILEPATH}/${BASENAME}" + + if [ -e "${FULLNAME}" ]; then + # in media res. we do the merging right away, but we later allow the user to redo it, if not satisfied with the results. + rm -f "${FULLNAME}.smerge" + echo "Enter '?' in the prompt (%) to display help." + cp -p "${FULLNAME}.new" "${FULLNAME}.smerge" # <- this is so that the installed merged file will have the same permissions as the .new file + sdiff -s -o "${FULLNAME}.smerge" "${FULLNAME}" "${FULLNAME}.new" + + GOEXM=0 + while [ $GOEXM -eq 0 ]; do + showmenu $i "(E)dit the merged file" "(I)nstall the merged file" "View a diff between the merged and the (N)ew file" "View a diff between the (O)ld and the merged file" "(R)edo the merge" "(V)iew the merged file" "(B)ack to previous menu, and delete the merged file" + read ANSWER + case "$ANSWER" in + E|e) + if [ -f "${FULLNAME}.smerge" ]; then + $EDITCMD "${FULLNAME}.smerge" + else + echo -e "Nothing was merged yet..." + fi + ;; + I|i) + if [ -f "${FULLNAME}.smerge" ]; then + if [ -e "${FULLNAME}" ]; then + mv "${FULLNAME}" "${FULLNAME}.orig" + fi + mv "${FULLNAME}.smerge" "${FULLNAME}" + rm -f "${FULLNAME}.new" + GOEXM=1 + GOEX=1 + else + echo -e "Nothing was merged yet..." + fi + ;; + N|n) + if [ -f "${FULLNAME}.smerge" ]; then + diff -u "${FULLNAME}.smerge" "${FULLNAME}.new" | $MORECMD + else + echo -e "Nothing was merged yet..." + fi + ;; + O|o) + if [ -f "${FULLNAME}.smerge" ]; then + diff -u "${FULLNAME}" "${FULLNAME}.smerge" | $MORECMD + else + echo -e "Nothing was merged yet..." + fi + ;; + R|r) + rm -f "${FULLNAME}.smerge" + echo "Enter '?' in the prompt (%) to display help." + cp -p "${FULLNAME}.new" "${FULLNAME}.smerge" # <- this is so that the installed merged file will have the same permissions as the .new file + sdiff -s -o "${FULLNAME}.smerge" "${FULLNAME}" "${FULLNAME}.new" + ;; + V|v) + if [ -f "${FULLNAME}.smerge" ]; then + $MORECMD "${FULLNAME}.smerge" + else + echo -e "Nothing was merged yet..." + fi + ;; + B|b) + rm -f "${FULLNAME}.smerge" + GOEXM=1 + ;; + esac + done + else + echo "file $FULLNAME doesn't exist" + fi +} + +overold() { + BASENAME=$(basename $i .new) + FILEPATH=$(dirname $i) + FULLNAME="${FILEPATH}/${BASENAME}" + + if [ -e ${FULLNAME} ]; then + mv ${FULLNAME} ${FULLNAME}.orig + fi + mv ${FULLNAME}.new ${FULLNAME} +} + +removeold() { + rm $i +} + +looknew() { + + # with ONLY_NEW_DOTNEW set, slackpkg will search only for + # .new files installed in actual slackpkg's execution + if [ "$ONLY_NEW_DOTNEW" = "on" ]; then + ONLY_NEW_DOTNEW="-cnewer $TMPDIR/timestamp" + else + ONLY_NEW_DOTNEW="" + fi + + echo -e "\nSearching for NEW configuration files" + FILES=$(find /etc /var/yp /usr/share/vim -name "*.new" ${ONLY_NEW_DOTNEW} \ + -not -name "rc.inet1.conf.new" \ + -not -name "group.new" \ + -not -name "passwd.new" \ + -not -name "shadow.new" \ + -not -name "gshadow.new" 2>/dev/null) + if [ "$FILES" != "" ]; then + echo -e "\n\ +Some packages had new configuration files installed. +You have four choices: + + (K)eep the old files and consider .new files later + + (O)verwrite all old files with the new ones. The + old files will be stored with the suffix .orig + + (R)emove all .new files + + (P)rompt K, O, R selection for every single file + +What do you want (K/O/R/P)?" + answer + case $ANSWER in + K|k) + break + ;; + O|o) + for i in $FILES; do + overold $i + done + break + ;; + R|r) + for i in $FILES; do + removeold $i + done + break + ;; + P|p) + echo "Select what you want file-by-file" + for i in $FILES; do + GOEX=0 + while [ $GOEX -eq 0 ]; do + echo + showmenu $i "(K)eep" "(O)verwrite" "(R)emove" "(D)iff" "(M)erge" + read ANSWER + case $ANSWER in + O|o) + overold $i + GOEX=1 + ;; + R|r) + removeold $i + GOEX=1 + ;; + D|d) + showdiff $1 + ;; + M|m) + mergenew $1 + ;; + K|k|*) + GOEX=1 + ;; + esac + done + done + break + ;; + *) + echo "OK! Your choice is nothing! slackpkg will Keep the old files for you to deal with later" + ;; + esac + else + echo -e "\t\tNo .new files found." + fi +} + +lookkernel() { + NEWKERNELMD5=$(md5sum /boot/vmlinuz 2>/dev/null) + if [ "$KERNELMD5" != "$NEWKERNELMD5" ]; then + if [ -x /sbin/lilo ]; then + echo -e "\n +Your kernel image was updated. We highly recommend you run: lilo +Do you want slackpkg to run lilo now? (Y/n)" + answer + if [ "$ANSWER" != "n" ] && [ "$ANSWER" != "N" ]; then + /sbin/lilo + fi + else + echo -e "\n +Your kernel image was updated and lilo is not found on your system. +You may need to adjust your boot manager (like GRUB) to boot appropriate +kernel." + fi + fi +} diff --git a/files/slackpkg b/files/slackpkg new file mode 100644 index 0000000..4fcdd61 --- /dev/null +++ b/files/slackpkg @@ -0,0 +1,574 @@ +#!/bin/sh +# +# SlackPkg - An Automated packaging tool for Slackware Linux +# Copyright (C) 2003-2011 Roberto F. Batista, Evaldo Gardenali +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Project Page: http://slackpkg.org/ +# Roberto F. Batista (aka PiterPunk) piterpunk@slackware.com +# Evaldo Gardenali (aka UdontKnow) evaldogardenali@fasternet.com.br +# + + +#======================================================================== +# +# LOAD CONFIGURATIONS +# + +# +# CONF = configuration directory +# SOURCE = A mirror of Slackware. Source can be sett by editing $CONF/mirrors +# +VERSION=@VERSION@ +PATH=/bin:/usr/bin:/sbin:/usr/sbin +SLACKWARE_VERSION=$(cat /etc/slackware-version | cut -f2 -d\ ) +CONF=${CONF:-/etc/slackpkg} +SOURCE=$(sed -e 's/^[[:blank:]]*//' $CONF/mirrors | grep -m1 -e "^\([a-z]\)") +. $CONF/slackpkg.conf +ERROR="" + +# Set temporary directory +# +TMPDIR=$(mktemp -p /tmp -d slackpkg.XXXXXX 2>/dev/null) +if [ $? -ne 0 ]; then + TMPDIR="/tmp/slackpkg.${RANDOM}" + mkdir -m 700 $TMPDIR || TMPDIR="FAILED" +fi + +# +# Load the slackpkg functions +# +. /usr/libexec/slackpkg/core-functions.sh + +#======================================================================== +# +# COMMAND LINE PARSING +# +if [ $# -eq 0 ]; then + usage +fi + +while [ -n "$1" ] ; do + case $1 in + -delall=on) + DELALL=on + shift + ;; + -delall=off) + DELALL=off + shift + ;; + -checkmd5=on) + CHECKMD5=on + shift + ;; + -checkmd5=off) + CHECKMD5=off + shift + ;; + -checkgpg=on) + CHECKGPG=on + shift + ;; + -checkgpg=off) + CHECKGPG=off + shift + ;; + -checksize=on) + CHECKSIZE=on + shift + ;; + -checksize=off) + CHECKSIZE=off + shift + ;; + -postinst=on) + POSTINST=on + shift + ;; + -postinst=off) + POSTINST=off + shift + ;; + -onoff=on) + ONOFF=on + shift + ;; + -onoff=off) + ONOFF=off + shift + ;; + -download_all=on) + DOWNLOAD_ALL=on + shift + ;; + -download_all=off) + DOWNLOAD_ALL=off + shift + ;; + -dialog=on) + DIALOG=on + shift + ;; + -dialog=off) + DIALOG=off + shift + ;; + -dialog_maxargs=*) + DIALOG_MAXARGS=$(echo $1 | cut -f2 -d=) + shift + ;; + -batch=on) + BATCH=on + shift + ;; + -batch=off) + BATCH=off + shift + ;; + -only_new_dotnew=on) + ONLY_NEW_DOTNEW=on + shift + ;; + -only_new_dotnew=off) + ONLY_NEW_DOTNEW=off + shift + ;; + -use_includes=on) + USE_INCLUDES=on + shift + ;; + -use_includes=off) + USE_INCLUDES=off + shift + ;; + -spinning=on) + SPINNING=on + shift + ;; + -spinning=off) + SPINNING=off + shift + ;; + -default_answer=y|-default_answer=yes) + DEFAULT_ANSWER=y + shift + ;; + -default_answer=n|-default_answer=no) + DEFAULT_ANSWER=n + shift + ;; + -mirror=*) + SOURCE=$(echo $1 | cut -f2 -d=) + shift + ;; + install|reinstall|upgrade|remove|blacklist|download) + CMD=$1 + shift + if [ -n "$1" ]; then + if echo $1 | egrep -q "^\.{0,2}/" ; then + if [ -e $1 ]; then + INPUTLIST=$(cat $1 | tr "\n" " ") + else + echo -e "The file $1 doesn't exist.\n" + cleanup + fi + else + # + # Sanitize the argument. We have some problems with dots + # and plus (.+) + # + #INPUTLIST="$(echo $@ | sed -e 's/\+/\\\+/g' -e 's/\./\\\./g')" + INPUTLIST="$@" + fi + elif [ "$CMD" != "blacklist" ]; then + usage + fi + shift $# + ;; + update) + CMD=$1 + shift + if [ "$1" = "gpg" ]; then + UPARG="$1" + shift + fi + ;; + install-new|upgrade-all|clean-system|new-config|check-updates|help) + CMD=$1 + shift + if [ -n "$1" ]; then + echo -e "\n$CMD: Ignoring extra arguments: $@" >&2 >&1 + shift $# + fi + ;; + generate-template|install-template|remove-template|search|file-search|info) + CMD=$1 + shift + if [ -n "$1" ]; then + ARG=$1 + shift + else + usage + fi + + if [ -n "$1" ]; then + echo -e "\n$CMD: Ignoring extra arguments: $@" >&2 >&1 + shift $# + fi + ;; + *) + echo -e "\n$1: Unknown option.\n" + usage + ;; + esac +done + +#======================================================================== +# +# SYSTEM SETUP +# +system_setup + +#======================================================================== +# +# SYNTAX CHECKING +# +system_checkup + +#======================================================================== +# +# READ EXTRA FUNCTIONS +# + +# If you want a new function or need a rewrite of an existing +# feature, you can put your new function in a shell script under +# /usr/libexec/slackpkg/functions.d/ +# +# Remember - the new function scripts need to be executable +# +for i in /usr/libexec/slackpkg/functions.d/*.sh; do + if [ -x $i ]; then + . $i + fi +done + +#======================================================================== +# +# MAIN PROGRAM +# + +# +# A *BIG* case with all slackpkg commands -:) +# +case "$CMD" in + help) + full_usage + ;; + check-updates) + if checkchangelog 1>/dev/null 2>/dev/null ; then + echo "No updated packages since last check." + else + echo "Updated packages are available since last check." + fi + ;; + update) + # If you are using "slackpkg update gpg" OR the system + # doesn't have Slackware GPG key, download and install + # the key + # + if [ "$UPARG" = "gpg" ] || [ "$GPGFIRSTTIME" = "0" ]; then + # + # Creates .gnupg directory if doesn't exist + # without this dir, gpg got an error. + # + if ! [ -e ~/.gnupg ]; then + mkdir ~/.gnupg + fi + getfile ${SOURCE}GPG-KEY $TMPDIR/gpgkey + gpg --yes --batch --delete-key "$SLACKKEY" &>/dev/null + gpg --import $TMPDIR/gpgkey &>/dev/null && \ + echo -e "\t\t\tSlackware Linux Project's GPG key added" + if [ "$UPARG" = "gpg" ]; then + cleanup + fi + fi + echo "Updating the package lists..." + updatefilelists + ;; + install) + makelist $INPUTLIST + if [ -n "$LIST" ]; then + showlist "$LIST" $CMD + install_pkg + else + echo -e "No packages match the pattern for install. Try:" + echo -e "\n\t$0 reinstall|upgrade $2\n" + POSTINST=off + fi + ;; + reinstall) + makelist $INPUTLIST + if [ -n "$LIST" ]; then + showlist "$LIST" $CMD + install_pkg + else + echo -e "No packages match the pattern for reinstall. Try:" + echo -e "\n\t$0 install|upgrade $2\n" + POSTINST=off + fi + ;; + upgrade) + sanity_check + makelist $INPUTLIST + if [ -n "$LIST" ]; then + showlist "$LIST" $CMD + upgrade_pkg + else + echo -e "No packages match the pattern for upgrade. Try:" + echo -e "\n\t$0 install|reinstall $2\n" + POSTINST=off + fi + ;; + download) + makelist $INPUTLIST + DELALL="off" + if ! [ "$LIST" = "" ]; then + showlist "$LIST" $CMD + for i in $SHOWLIST; do + getpkg $i true + done + else + echo -e "No packages match the pattern for download." + POSTINST=off + fi + ;; + remove) + makelist $INPUTLIST + if [ "$LIST" = "" ]; then + echo -e "The file(s) $INPUTLIST can't be removed - package not installed.\n" + cleanup + fi + showlist "$LIST" $CMD + remove_pkg + ;; + clean-system) + makelist $INPUTLIST + if [ -n "$LIST" ]; then + showlist "$LIST" remove + remove_pkg + else + echo -e "No packages match the pattern for clean-system\n" + POSTINST=off + fi + ;; + upgrade-all) + sanity_check + makelist $INPUTLIST + if ! [ -n "${LIST}" ]; then + echo -e "No packages match the pattern for upgrade. Try:" + echo -e "\n\t$0 install|reinstall $2\n" + POSTINST=off + else + showlist "$LIST" upgrade + if [ "$DOWNLOAD_ALL" = "on" ]; then + OLDDEL="$DELALL" + DELALL="off" + for i in $SHOWLIST; do + getpkg $i true + done + DELALL="$OLDDEL" + fi + FOUND="" + FOUND=$(echo $SHOWLIST | tr -s ' ' "\n" | grep "slackpkg-[0-9]") + if [ "$FOUND" != "" ]; then + getpkg $FOUND upgradepkg Upgrading + echo -e "slackpkg was upgraded - you will need start the upgrade process again...\n" + cleanup + exit 0 + fi + for i in pkgtools glibc-solibs aaa_elflibs readline sed; do + FOUND="" + FOUND=$(echo $SHOWLIST | tr -s ' ' "\n" | grep "${i}-[0-9]") + if [ "$FOUND" != "" ]; then + getpkg $FOUND upgradepkg Upgrading + fi + done + upgrade_pkg + fi + ;; + install-new) + makelist ${INPUTLIST} + if ! [ -n "${LIST}" ]; then + echo -e "No packages match the pattern for install. Try:" + echo -e "\n\t$0 upgrade|reinstall $2\n" + POSTINST=off + else + showlist "$LIST" install + install_pkg + fi + ;; + blacklist) + # + # If blacklist is called without package name, list + # all blacklisted packages + if [ "$INPUTLIST" = "" ]; then + echo -e "Packages in blacklist:\n" + grep -e "^\([a-z]\)" $CONF/blacklist | $MORECMD + cleanup + fi + + makelist ${INPUTLIST} + for i in $LIST; do + BASENAME=$(cutpkg $i) + BLACKLIST="$BLACKLIST $BASENAME" + done + BLACKLIST=$(echo $BLACKLIST | tr ' ' "\n") + if [ "$BLACKLIST" = "" ]; then + echo -e "No packages match the pattern." + cleanup + else + showlist "$BLACKLIST" $CMD + fi + + blacklist_pkg + ;; + file-search) + PATTERN=$(echo $ARG | sed -e 's/\+/\\\+/g' -e 's/\./\\\./g' -e 's/ /\|/g') + makelist $PATTERN + + if [ "$LIST" = "" ]; then + echo -e "No packages contains \"$PATTERN\" file." + else + echo -e "The list below shows the packages that contains \"$PATTERN\" file.\n" + searchlist "$LIST" + echo -e "\nYou can search specific packages using \"slackpkg search package\".\n" + fi + ;; + search) + PATTERN=$(echo $ARG | sed -e 's/\+/\\\+/g' -e 's/\./\\\./g' -e 's/ /\|/g') + makelist $PATTERN + + if [ "$LIST" = "" ]; then + echo -e "No package name matches the pattern." + else + echo -e "The list below shows all packages with name matching \"$PATTERN\".\n" + searchlist "$LIST" + echo -e "\nYou can search specific files using \"slackpkg file-search file\".\n" + fi + ;; + info) + PATTERN=$(echo $ARG | sed -e 's/\+/\\\+/g' -e 's/\./\\\./g') + NAME=$(cutpkg $PATTERN) + awk -F: "/PACKAGE NAME:.* ${NAME}-[^-]+-(${ARCH}|fw|noarch)-[^-]+/,/^$/ { + found=1 + if (\$1 ~ /"$NAME"/) { + print \$PATTERN + } else { + print \$0 + } + } + END { + if ( found != 1 ) { + print \"No packages found! Try:\n\n\tslackpkg search $PATTERN\n\nand choose one (and ONLY one package).\n\" + } + }" ${WORKDIR}/PACKAGES.TXT 2>/dev/null + ;; + new-config) + POSTINST=on + ;; + generate-template) + TEMPLATE=$ARG.template + if [ -e $TEMPLATEDIR/$TEMPLATE ]; then + echo -e "\ +\"$TEMPLATE\" already exists!\n\ +\nDo you want to overwrite $TEMPLATE (y/N)? \c" + answer + if [ "$ANSWER" = "Y" -o "$ANSWER" = "y" ]; then + rm $TEMPLATEDIR/$TEMPLATE + echo + else + cleanup + fi + fi + generate_template $ARG + ;; + install-template) + TEMPLATE=$ARG.template + if [ -e $TEMPLATEDIR/$TEMPLATE ]; then + ( cd $TEMPLATEDIR + parse_template $TEMPLATE + ) + INPUTLIST=$(cat ${TMPDIR}/${TEMPLATE}.tmp | tr "\n" " ") + else + echo -e "$ARG template not found!" + cleanup + fi + + makelist $INPUTLIST + if [ -n "$LIST" ]; then + showlist "$LIST" $CMD + install_pkg + else + echo -e "All packages from $ARG template are already installed" + POSTINST=off + fi + ;; + remove-template) + TEMPLATE=$ARG.template + if [ -e $TEMPLATEDIR/$TEMPLATE ]; then + ( cd $TEMPLATEDIR + parse_template $TEMPLATE + ) + INPUTLIST=$(cat ${TMPDIR}/${TEMPLATE}.tmp | tr "\n" " ") + else + echo -e "$ARG template not found!" + cleanup + fi + + makelist $INPUTLIST + if [ "$LIST" = "" ]; then + echo -e "The template $ARG can't be removed - it isn't installed.\n" + cleanup + fi + showlist "$LIST" $CMD + remove_pkg + ;; + *) + usage + ;; +esac + +# +# Executes the post-install. This is the default +# Before runs post-install, check if the slackpkg option is +# remove, search, update, blacklist, info or clean-system. +# That options don't change configurations files and, if +# someone remove the kernel, i hope he knows what is doing. +# +for i in check-updates remove search file-search update blacklist info \ + clean-system download generate-template remove-template; do + if [ "$CMD" = "$i" ]; then + POSTINST=off + fi +done + +if [ "$POSTINST" != "off" ]; then + lookkernel + looknew +fi + +cleanup diff --git a/files/slackpkg.8 b/files/slackpkg.8 new file mode 100644 index 0000000..16c463d --- /dev/null +++ b/files/slackpkg.8 @@ -0,0 +1,339 @@ +.TH SLACKPKG 8 "Oct 2017" slackpkg-2.82.2 "" +.SH NAME +.B slackpkg +\- Automated tool for managing Slackware Linux packages + +.SH SYNOPSIS +.B slackpkg +.B [OPTIONS] +.B {install|remove|search|upgrade|reinstall|blacklist} +.BI { PATTERN | FILE } + +.B slackpkg [OPTIONS] {clean-system|upgrade-all|install-new} + +.B slackpkg +.B [OPTIONS] +.B {search|file-search} +.BI { PATTERN | FILE } + +.B slackpkg +.B [OPTIONS] +.B {generate-template|install-template|remove-template} +.I TEMPLATENAME + +.B slackpkg [OPTIONS] info +.I PACKAGE + +.B slackpkg [OPTIONS] update [gpg] + +.B slackpkg [OPTIONS] {new-config|check-updates} + +.B slackpkg [OPTIONS] help + +.SH DESCRIPTION +Slackpkg is a tool for those who want to easily install or upgrade +packages via the network. With slackpkg, you can have a minimal +installation of Slackware Linux and install/upgrade only those packages +you need most. + +You don't need to setup NFS or make dozens of CDs for all your +computers; all you need to do is to type one command and all of +the latest official Slackware packages will be at your fingertips. + +.SH INSTRUCTIONS +Slackpkg has many features. It can search for specific files, remove +all third-party packages in your system, install packages added to +Slackware since your last update, show package descriptions, etc. + +Before you do anything, you will need to uncomment one mirror in +/etc/slackpkg/mirrors file and run: + +.in +5 +# slackpkg update +.in + +The "update" action will download and format the list of files and +packages in Slackware. Every time this list is changed, the update +needs to be run. + +The main features of Slackpkg are the ones directly related to +package management: install, upgrade, and remove packages. +To do any of these tasks, the Slackpkg syntax is: + +.in +5 +# slackpkg [OPTIONS] <action> {PATTERN|FILE} +.in + +.I OPTIONS +can be one or more of the many configuration options listed in +/etc/slackpkg/slackpkg.conf. There are equivalent command line options +for most of the configuration directives found in slackpkg.conf - see the +.B slackpkg.conf(5) +man-page to see what options are available. + +.I PATTERN +can be a package name or just part of package name. It can also +be a software series (like kde, a, ap, ...). +.br + +.I FILE +is a file with a list of +.I PATTERNs +inside: either one per line, +or several per line with spaces as separators. + +Slackpkg can be used to upgrade the whole distribution. +.br +The usual way is to do: + +.in +5 +# slackpkg update +.br +# slackpkg install-new +.br +# slackpkg upgrade-all +.br +# slackpkg clean-system +.in + +Another feature of Slackpkg is the ability to work with templates, which can +make it much easier to create different machines with the same contents of +packages. The basic steps are as follows: + +.RS +5 +.IP \(bu 2 +Install one machine +.IP \(bu 2 +Run "slackpkg generate-template TEMPLATENAME" +.IP \(bu 2 +Copy /etc/slackpkg/templates/TEMPLATENAME.template to the same directory on +the other machine +.IP \(bu 2 +Run "slackpkg install-template TEMPLATENAME" on the other machine +.RE + +.I TEMPLATENAME +is the name of your template. + +Following this manual page, you can find what each of these (and other) +actions does. + +.SH ACTIONS +.TP 5 +.B help +.br +Show slackpkg's actions and a short description of them. Useful if you need +to know a little about slackpkg. The information here, on man-page is much +more complete. + +.TP 5 +.B update +.br +update will download the latest package lists from a Slackware mirror +(or your CD). It's a good idea to run + +.in +5 +# slackpkg update +.in + +before attempting to upgrade, install, or search for packages. +.br +If you need to update Slackware's GPG key, run + +.in +5 +# slackpkg update gpg +.in + +The GPG key doesn't change. This should be a "one time" command - run it +once and forget it... + +.TP 5 +.B check-updates +.br +Verify if there is any update to ChangeLog.txt. This is good to be used from +cron to alert the sysadmin about updates. + +.TP 5 +.B file-search +.br +You can search the official Slackware packages for any file in the Slackware +distribution. Do you need a strange library? Use file-search to find it. + +.in +5 +# slackpkg file-search filename +.in + +All packages with matching "filename" will be shown, thus you can see whether +the packages are installed or not; if not, you can download and install them +with other slackpkg actions. + +.TP 5 +.B search +.br +You can search for any package distributed in Slackware. + +.in +5 +# slackpkg search pattern +.in + +All packages names that matches with "pattern" will be shown. +Like file-search, you can see whether the packages are installed or not; if +not, you can download and install them with other slackpkg actions. + +.TP 5 +.B install +.br +Installation of a package is very simple. Just use a command like this: + +.in +5 +# slackpkg install package +.in + +and the package will be downloaded and installed. +.br +You can't use the "install" option to install an already installed package, +but you may reinstall or upgrade it. + +.TP 5 +.B upgrade +.br +upgrade installs the most recent official version of the specified package(s). + +upgrade will not attempt to install new packages (use the install +function for that purpose; the latest official version of the package +will be installed). +.TP 5 +.B reinstall +.br +In case you mistakenly corrupt something, the reinstall option will allow +you to reinstall the same version of a package that is currently installed. + +.TP 5 +.B remove +.br +With remove, you can remove certain installed packages. As an example: + +.in +5 +# slackpkg remove kde +.in + +will remove all packages with "kde" in their name. + +.TP 5 +.B blacklist +.br +With this action, you can "blacklist" certain packages. +.br +Blacklisted packages will not be installed, upgraded, or removed by slackpkg. +If you want to remove some package from the black list, please edit +/etc/slackpkg/blacklist. + +.TP 5 +.B download +.br +This action tells slackpkg to download the packages, but not to install them. +They will be placed in /var/cache/packages, and you can +install/upgrade/reinstall them later (or burn them to CD). + +.TP 5 +.B info +.br +This action prints information about the package(s): compressed and +uncompressed size, description, etcetera... + +.TP 5 +.B clean-system +.br +This action removes all of the packages that don't belong to a standard +Slackware installation. With this option, you can clean up your system, +removing third-party packages as well as any packages that were removed +from the official Slackware package set. +.br +If you have some third party (or custom built) packages that you would like +to keep, you can temporarily add them to the list of blacklisted packages +before you run the 'clean-system' action. + +.TP 5 +.B upgrade-all +.br +This action upgrades every package installed on the system to the version in +the official Slackware tree; this is the "good" way to upgrade the entire +system. +.br +Remember to use the "install-new" action before you use "upgrade-all." + +.TP 5 +.B install-new +This action installs any new packages that are added to the official +Slackware package set. Run this if you are upgrading your system to +another Slackware version or if you are using -current. +.br +If you want to install all uninstalled Slackware packages onto your system, +use the following command instead of the install-new action: + +.in +5 +# slackpkg install slackware. +.in +.TP 5 +.B new-config +This action searches for .new configuration files and ask the user what to +do with those files. +.br +new-config is very useful when you perform an upgrade and leave the +configuration files to be reviewed later. Instead of a manual search, +diff, and replace; you can use the new-config action. +.br +new-config searches /etc and /usr/share/vim for new config files. +.TP 5 +.B generate-template +This action creates a new template with all official packages that are +installed in your system. The template is stored at /etc/slackpkg/templates +.TP 5 +.B install-template +This action install the required template in the system. The template must +be in /etc/slackpkg/templates. If the template "includes" other templates, +all of them need to be in /etc/slackpkg/templates. You can disable the +"includes" in slackpkg.conf or in command-line. +.TP 5 +.B remove-template +This action remove all packages that are part of selected template. Be +careful, this can put your machine in an unusable state. The "include" +handling can be activated/deactivated in slackpkg.conf or with the +appropriate option in command-line. + +.SH FILES +.TP 5 +.B /etc/slackpkg/mirrors +File to specify the location from which to download packages +.TP 5 +.B /etc/slackpkg/slackpkg.conf +General configuration of slackpkg +.TP 5 +.B /etc/slackpkg/blacklist +List of packages to skip +.TP 5 +.B /etc/slackpkg/templates +Contains all template files +.TP 5 +.B /usr/libexec/slackpkg +Contains slackpkg core and additional functions +.TP 5 +.B /var/lib/slackpkg +Slackpkg internal use - Formatted package lists, copy of +ChangeLog.txt, list of files, etcetera... + +.SH "SEE ALSO" +.BR slackpkg.conf (5), +.BR installpkg (8), +.BR upgradepkg (8), +.BR explodepkg (8), +.BR makepkg (8), +.BR pkgtool (8). + +.SH AUTHORS +.TP 5 +Piter PUNK aka Roberto F Batista +<piterpk AT terra DOT com DOT br> +.TP 5 +Evaldo Gardenali aka UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/files/slackpkg.conf.5 b/files/slackpkg.conf.5 new file mode 100644 index 0000000..5af259a --- /dev/null +++ b/files/slackpkg.conf.5 @@ -0,0 +1,338 @@ +.TH SLACKPKG.CONF 5 "Oct 2017" slackpkg-2.82.2 "" +.SH NAME +.B slackpkg.conf +\- Configuration data for slackpkg + +.SH DESCRIPTION + +The slackpkg.conf file contains information for +.B slackpkg +(8), an automated tool for managing Slackware Linux packages. + +The slackpkg.conf file is a sequence of shell script variables, and each +variable controls one aspect of slackpkg. Comments begin with the # +character and end at end of the line, and comments may appear anywhere +inside the slackpkg.conf file. If some variable appears more than once +in the file, slackpkg will use the value that was defined last. + +Many variables can be overridden by options passed to slackpkg on the command +line. If you need to override the value of +.B VARIABLE +, pass +.B -variable=value +on the command line just before the slackpkg action. Multiple variables may +be overridden. + +EXAMPLE: slackpkg -batch=on -default_answer=y upgrade-all + +For configuration options that have only two states, possible values are +either "on" or "off" unless otherwise indicated. + +The different configuration options are: + +.TP 5 +.B ARCH +.br +Chooses the system architecture. Usually Slackpkg can find the correct +value using "uname -m". The valid values are: + +.ds title MACHINE\t\tVALID ARCH VALUES +.ds arm ARM\t\t\tarm +.ds x86 x86 (32bits)\ti386, i486, i586 and i686 +.ds x86_64 x86 (64bits)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +.B \*[title] +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +The default value of +.B ARCH +depends on your architecture. + +.TP 5 +.B SLACKKEY +.br +Slackpkg checks the package signature file (.asc) against the GPG signature +of the project. Different ports of Slackware can have different signatures, +and Slackpkg tries to find the correct one based on the architecture of your +system. If the automatically-detected +.B SLACKKEY +isn't correct, you can change it using this option. + +The default value of +.B SLACKKEY +depends on your Slackware port. + +.TP 5 +.B TEMP +.br +Defines the location to which slackpkg will download the packages before +installing/upgrading them. + +The default value of +.B TEMP +is /var/cache/packages. + +.TP 5 +.B WORKDIR +.br +Defines the directory for package lists, file lists, and other information +used by slackpkg as it works. Do not change the value of this variable +unless you know what you are doing. + +The default value of +.B WORKDIR +is /var/lib/slackpkg. + +.TP 5 +.B WGETFLAGS +.br +Selects special options for wget. If you need to use multiple options, +remember to put them between double quotes. + +The default value of +.B WGETFLAGS +is "\--passive-ftp" + +.TP 5 +.B DELALL +.br +If set to "on", all downloaded files will be removed after slackpkg performs +install or upgrade (this does NOT have any impact when slackpkg is run with +"download"). If set to "off", the files will be kept in the directory +defined in +.B TEMP +(as described above). + +The default value of +.B DELALL +is "on". +.br +From command line, you can use -delall=value. + +.TP 5 +.B CHECKMD5 +.br +Enables (on) or disables (off) the checking of MD5 checksums of all downloaded +packages before installing or upgrading them. + +The default value of +.B CHECKMD5 +is "on". +.br +From command line, you can use -checkmd5=value. + +.TP 5 +.B CHECKGPG +.br +Enables (on) or disables (off) the check of GPG signature for each package +before install or upgrade. + +The default value of +.B CHECKGPG +is "on". +.br +From command line, you can use -checkgpg=value. + +.TP 5 +.B CHECKSIZE +.br +Enables (on) or disables (off) the check of available disk space for each +package before install or upgrade. + +The default value of +.B CHECKSIZE +is "off". +.br +From command line, you can use -checksize=value. + +.TP 5 +.B PKGMAIN +.br +Defines the main distribution directory. Usually, you don't need to worry +about this variable, as Slackpkg tries to find it based on your architecture. +However, if you need to change it, then include this variable in your +slackpkg.conf. This should always be the directory which contains the +Slackware package set series (A, AP, D, E, F, ...). + +Default: depends on Slackware port + +.TP 5 +.B PRIORITY +.br +This array selects the priority at which directories on the mirror will have +when slackpkg looks for packages. If a package is found in more than one +place, the package in first directory gets priority, then second, then third, +then fourth and finally, the package found in last listed directory. You can +use %PKGMAIN to use the contents of PKGMAIN variable. + +Default values (in order): patches %PKGMAIN extra pasture testing + +.TP 5 +.B POSTINST +.br +Enables (on) or disables (off) slackpkg's post-installation features, such +as checking for new (*.new) configuration files and new kernel images, and +prompts you for what it should do. + +The default value of +.B POSTINST +is "on". +.br +From command line, you can use -postinst=value. + +.TP 5 +.B ONLY_NEW_DOTNEW +.br +When +.B POSTINST +is set to "on", slackpkg will search for all .new files inside /etc and +prompt the user for what to do with them. However, some users prefer to +see only the .new files installed in slackpkg's last execution, so if +this applies to you, set +.B ONLY_NEW_DOTNEW +to "on". + +The default value of +.B ONLY_NEW_DOTNEW +is "off". Only change this if you know what are you doing... +.br +From command line, you can use -only_new_dotnew=value. + +.TP 5 +.B ONOFF +.br +The +.B ONOFF +variable sets the initial behavior of the dialog interface. +If you set this to "on" then all packages will be selected by default. +If you prefer the opposite option (all unchecked), then set this to "off". + +The default value of +.B ONOFF +is "on". +.br +From command line, you can use -onoff=value. + +.TP 5 +.B DOWNLOAD_ALL +.br +If this variable is set to "on", all files will be downloaded before the +requested operation (install or upgrade) is performed. If set to "off", +then the files will be downloaded and the operation (install/upgrade) performed +one by one. + +The default value of +.B DOWNLOAD_ALL +is "off". +.br +From command line, you can use -download_all=value. + +.TP 5 +.B DIALOG +.br +Enables (on) or disables (off) the dialog interface. + +The default value of +.B DIALOG +is "on". +.br +From command line, you can use -dialog=value. + +.TP 5 +.B DIALOG_MAXARGS +.br +Set the max number of characters that will be send to "dialog". If this number +is reached in upgrade, slackpkg removes the information about current installed +version of each package. If even without this information the number is reached +again, slackpkg returns an error to the user. + +If +.B DIALOG_MAXARGS +is unset, 19500 is the default value. +.br +From command line, you can use -dialog_maxargs=value. + +.TP 5 +.B BATCH +.br +Enables (on) or disables (off) the non-interactive mode. When run in batch +mode, slackpkg will not prompt the user for anything; instead, all questions +will get +.B DEFAULT_ANSWER +(see below). +.br +If you perform an upgrade using this mode, you will need to run +"slackpkg new-config" later to find and merge .new files. + +The default value of +.B BATCH +is "off". +.br +From command line, you can use -batch=value. + +.TP 5 +.B DEFAULT_ANSWER +.br +This is the default answer to questions when slackpkg prompts the user for +some information. This is used only in non-interactive mode (when +.B BATCH +is "yes" or the user turns batch mode on via the command line); otherwise, +this variable has no effect. +.br +Valid values are "y" or "n". + +The default value of +.B DEFAULT_ANSWER +is "n". +.br +From command line, you can use -default_answer=value. + +.TP 5 +.B USE_INCLUDES +.br +Slackpkg templates can include other templates. This reduces the package +duplication in many templates, but it can be a problem if you want to remove +only a specific template. You can disable the #include parsing by setting +this option to "off". + +The default value of +.B USE_INCLUDES +is "on". +.br +From command line, you can use -use_includes=value. + +.TP 5 +.B SPINNING +.br +When Slackpkg is doing an activity that takes some time, it gives visual +feedback with a spinning bar. If you don't like the spinning bar, it can be +disabled by setting this option to "off". + +The default value of +.B SPINNING +is "on". +.br +From command line, you can use -spinning=value. + +.SH FILES +.TP 5 +.B /etc/slackpkg/slacpkg.conf + +.SH "SEE ALSO" +.BR slackpkg (8) +.BR pkgtool (8) +.BR installpkg (8) +.BR upgradepkg (8) +.BR removepkg (8) diff --git a/files/slackpkg.conf.new b/files/slackpkg.conf.new new file mode 100644 index 0000000..9eae0ab --- /dev/null +++ b/files/slackpkg.conf.new @@ -0,0 +1,153 @@ +# +# slackpkg.conf - Configuration for SlackPkg +# v2.8 +# + +# +# SlackPkg - An Automated packaging tool for Slackware Linux +# Copyright (C) 2003-2011 Roberto F. Batista, Evaldo Gardenali +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Project Page: http://slackpkg.org/ +# Roberto F. Batista (aka PiterPunk) piterpunk@slackware.com +# Evaldo Gardenali (aka UdontKnow) evaldogardenali@fasternet.com.br +# + +# For configuration options that have only two states, possible values are +# either "on" or "off" + +# Remember, the only official Slackware ports are x86, s390 and arm, and +# slackpkg developers don't have s390 boxes for testing. If you are +# testing/using other architectures and have suggestions or patches, +# please let me know (piterpunk@slackware.com) +# +# Select the architecture of your system. Valid values are: +# i#86 (where # is 3, 4, 5 or 6) +# x86_64 +# s390 +# arm* (* can be v4, v5tejl, and other ARM versions) +# powerpc +# +# The line is commented because slackpkg will try to find your +# architecture automagically. If you want to override what slackpkg +# finds, put the value after the = and uncomment this line +#ARCH= + +# The default PKGMAIN is "slackware", but some derived distros use other +# names as the main directory. PKGMAIN is the place with the slackware +# package series (a, ap, n, ... ). +# +# Usually slackpkg can automagically discover this variable. If you want +# to override the discovered variable, then uncomment this line and change +# it to reflect the correct value of PKGMAIN +#PKGMAIN=slackware + +# Slackware packages are signed by project key. Slackpkg uses this key +# to check if the packages downloaded are valid, so remember to set +# CHECKGPG to "on". +# +# Usually slackpkg can automagically discover this variable. If you want +# to override the discovered variable, then uncomment this line and edit +# as needed +#SLACKKEY="Slackware Linux Project <security@slackware.com>" + +# Downloaded files will be in directory below: +TEMP=/var/cache/packages + +# Package lists, file lists, and others will be at WORKDIR: +WORKDIR=/var/lib/slackpkg + +# Special options for wget (default is WGETFLAGS="--passive-ftp") +WGETFLAGS="--passive-ftp" + +# If DELALL is "on", all downloaded files will be removed after install. +DELALL=on + +# If CHECKMD5 is "on", the system will check the md5sums of all packages before +# install/upgrade/reinstall is performed. +CHECKMD5=on + +# If CHECKGPG is "on", the system will verify the GPG signature of each package +# before install/upgrade/reinstall is performed. +CHECKGPG=on + +# If CHECKSIZE is "on", the system will check if we have sufficient disk +# space to install selected package. This make upgrade/install safer, but slow +# upgrade/install process. +CHECKSIZE=off + +# PRIORITY sets the download priority. slackpkg will try to found the +# package first in the first value, then the second one, through all +# values in list. +# +# Default value: patches %PKGMAIN extra pasture testing +PRIORITY=( patches %PKGMAIN extra pasture testing ) + +# Enables (on) or disables (off) slackpkg's post-installation features, such +# as checking for new (*.new) configuration files and new kernel images, and +# prompts you for what it should do. Default=on +POSTINST=on + +# Post-installation features, by default, search all of /etc for .new files. +# This is the safe option: with it, you won't have any unmerged .new files +# to cause problems. Even so, some people prefer that only the .new files +# installed by the current slackpkg session be checked. +# If this is your case, change ONLY_NEW_DOTNEW to "on". +# Default=off +ONLY_NEW_DOTNEW=off + +# The ONOFF variable sets the initial behavior of the dialog interface. +# If you set this to "on" then all packages will be selected by default. +# If you prefer the opposite option (all unchecked), then set this to "off". +ONOFF=on + +# If this variable is set to "on", all files will be downloaded before the +# requested operation (install or upgrade) is performed. If set to "off", +# then the files will be downloaded and the operation (install/upgrade) +# performed one by one. Default=on +DOWNLOAD_ALL=on + +# Enables (on) or disables (off) the dialog interface in slackpkg. Default=on +DIALOG=on + +# Enables (on) or disables (off) the non-interactive mode. If set to "on", +# slackpkg will run without asking the user anything, and answer all questions +# with DEFAULT_ANSWER. If you do any upgrades using this mode, you'll need to +# run "slackpkg new-config" later to find and merge any .new files. +BATCH=off + +# Default answer to slackpkg questions. Can be "y" or "n". +DEFAULT_ANSWER=n + +# Slackpkg allows a template to "include" the packages specified in another +# template. This option enables (on) or disables (off) the parsing of +# any "#include" directives in template files. Default=on +USE_INCLUDES=on + +# Enables a spinning bar as visual feedback when slackpkg is making its +# internal lists and some other operations. Default=on +SPINNING=on + +# Max number of characters that "dialog" command can handle. +# If unset, this variable will be 19500 (the number that works on +# Slackware 10.2) +DIALOG_MAXARGS=139000 + +# +# The MIRROR is set from /etc/slackpkg/mirrors +# You only need to uncomment the selected mirror. +# Uncomment one mirror only. +# diff --git a/manpages-l10n/de.slackpkg b/manpages-l10n/de.slackpkg new file mode 100644 index 0000000..f724dfd --- /dev/null +++ b/manpages-l10n/de.slackpkg @@ -0,0 +1,346 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG 8 "Mai 2010" slackpkg\-2.81.1 "" +.SH NAME +\fBslackpkg\fP \- Automatisiertes Werkzeug zum Verwalten von Slackware +Linuxpaketen + +.SH ZUSAMMENFASSUNG +\fBslackpkg\fP \fB[OPTIONEN]\fP +\fB{install|remove|search|upgrade|reinstall|blacklist}\fP +\fB{\fP\fIMUSTER\fP\fB|\fP\fIDATEI\fP\fB}\fP + +\fBslackpkg [OPTIONEN] {clean\-system|upgrade\-all|install\-new}\fP + +\fBslackpkg\fP \fB[OPTIONEN]\fP \fB{search|file\-search}\fP +\fB{\fP\fIMUSTER\fP\fB|\fP\fIDATEI\fP\fB}\fP + +\fBslackpkg\fP \fB[OPTIONEN]\fP +\fB{generate\-template|install\-template|remove\-template}\fP \fIVORLAGENNAME\fP + +\fBslackpkg [OPTIONEN] info\fP \fIPAKET\fP + +\fBslackpkg [OPTIONEN] update [gpg]\fP + +\fBslackpkg [OPTIONEN] {new\-config|check\-updates}\fP + +\fBslackpkg [OPTIONEN] help\fP + +.SH BESCHREIBUNG +Slackpkg ist ein Werkzeug für diejenigen, die einfach Pakete über das +Netzwerk installieren oder aktualisieren wollen. Mit Slackpkg kann man eine +minimale Installation von Slackware Linux haben und nur die am meisten +benötigten Pakete installieren/aktualisieren. + +Sie müsste nicht NFS einrichten oder Dutzende von CDs für alle Ihre Rechner +erstellen; alles was Sie tun müssen ist ein Kommando einzugeben und alle der +neuesten Slackware Pakete werden verfügbar sein. + +.SH ANLEITUNG +Slackpkg hat viele Funktionen. Es kann nach spezifischen Dateien suchen, +alle Dritt\-Partei Pakete in Ihrem System entfernen, Pakete zu Slackware nach +dem letzten Update hinzufügen, Paketbeschreibungen zeigen etc. + +Bevor Sie etwas tun, müssen Sie einen Spiegel in /etc/slackpkg/mirrors +auskommentieren und Folgendes starten: + +.in +5 +# slackpkg update +.in + +Die Aktion "update" (Aktualisierung) lädt und formatiert eine Liste von +Dateien und Slackwarepaketen. Nach jeder Änderung in dieser Liste muss eine +Aktualisierung durchgeführt werden. + +Die Hauptfunktionen von Slackpkg sind die, die in Verbindung mit der +Paketverwaltung stehen: Installieren, aktualisieren und entfernen von +Paketen. Für die Ausführung dieser Aktionen gilt folgende Syntax: + +.in +5 +# slackpkg [OPTIONEN] <Aktion> {MUSTER|DATEI} +.in + +\fIOPTIONEN\fP können eine oder mehrere Konfigurationsoptionen sein, die in +/etc/slackpkg/slackpkg.conf gelistet sind. Für die meisten Optionen gibt es +entsprechende Kommandozeilenparameter, zu finden in der slackpkg.conf \- +siehe Manpage (Handbuchseite) \fBslackpkg.conf(5)\fP für mögliche Parameter. + +\fIMUSTER\fP darf ein Paketname oder nur ein Teil des Paketnames sein. Es darf +aber auch eine Serie von Paketen sein (z.B. kde, a, ap, ...). +.br + +\fIDATEI\fP ist eine Datei mit dem Inhalt einer Liste von \fIMUSTER\fP: entweder +eine pro Zeile oder mehrere pro Zeile, getrennt durch Leerzeichen. + +Slackpkg kann verwendet werden, die ganze Distribution zu aktualisieren. +.br +Der übliche Weg dies zu tun ist: + +.in +5 +# slackpkg update +.br +# slackpkg install\-new +.br +# slackpkg upgrade\-all +.br +# slackpkg clean\-system +.in + +Ein weiteres Merkmal von Slackpkg ist die Fähigkeit, mit Vorlagen zu +arbeiten. Das macht es einfacher, verschiedene Rechner mit den gleichen +Paketen auszustatten. Die grundlegenden Schritte sind folgende: + +.RS +5 +.IP \(bu 2 +Installiere eine Maschine +.IP \(bu 2 +"slackpkg generate\-template VORLAGENNAME" ausführen +.IP \(bu 2 +/etc/slackpkg/templates/VORLAGENNAME.template in des gleiche Verzeichnis der +anderen Maschine kopieren +.IP \(bu 2 +"slackpkg install\-template VORLAGENNAME" auf der anderen Maschine ausführen +.RE + +\fIVORLAGENNAME\fP ist der Name Ihrer Vorlage. + +Beim Lesen dieser Anleitung erfahren Sie, was diese (oder eine andere) +Aktion macht. + +.SH AKTIONEN +.TP 5 +\fBhelp\fP +.br +Zeigt Aktionen von Slackpkg und eine kurze Beschreibung dazu. Hilfreich, +wenn Sie etwas mehr über Sackpkg erfahren müssen. Die Informationen hier im +Handbuch sind viel ausführlicher. + +.TP 5 +\fBupdate\fP +.br +Die Aktion "update" (aktualisieren) lädt die aktuellste Paketliste von einem +Slackware\-Spiegelserver (oder Ihrer CD/DVD). Es ist eine gute Idee, sie +auszuführen + +.in +5 +# slackpkg update +.in + +bevor versucht wird ein Upgrade zu machen, Pakete zu installieren oder zu +suchen. +.br +Wenn Sie Slackwares GPG\-Schlüssel aktualisieren müssen, führen Sie folgendes +aus + +.in +5 +# slackpkg update gpg +.in + +Der GPG\-Schlüssel ändert sich nicht. Dies sollte ein "einmaliger" Befehl ein +\- starten Sie ihn einmal und vergessen Sie ihn dann... + +.TP 5 +\fBcheck\-updates\fP +.br +Prüft ob die ChangeLog.txt aktualisiert wurde. Es kann vom Dienst "cron" +ausgeführt werden, um den Systemadministrator über Aktualisierungen zu +informieren. + +.TP 5 +\fBfile\-search\fP +.br +Sie können die offiziellen Slackware\-Pakete nach beliebigen Dateien in der +Slackware\-Distribution durchsuchen. Benötigen Sie eine fehlende Bibliothek? +Benutzen Sie file\-search, um sie zu suchen. + +.in +5 +# slackpkg file\-search dateiname +.in + +Alle Pakete, die mit "dateiname" übereinstimmen, werden angezeigt. Dadurch +können sie sehen, welche Pakete installiert sind. Fehlende Pakete können Sie +dann mit anderen Slackpkg\-Aktionen herunterladen und installieren. + +.TP 5 +\fBsearch\fP +.br +Sie können nach jedem in Slackware verteilten Paket suchen. + +.in +5 +# slackpkg search muster +.in + +Es werden alle Paketnamen angezeigt, die mit "muster" übereinstimmen. So wie +mit "file\-search", können Sie sehen, welche Pakete installiert +sind. Fehlende Pakete können Sie dann mit anderen Slackpkg\-Aktionen +herunterladen und installieren. + +.TP 5 +\fBinstall\fP +.br +Installation eines Paketes ist sehr einfach. Sie brauchen nur folgendes +einzugeben: + +.in +5 +# slackpkg install package +.in + +und das Paket wird heruntergeladen und installiert. +.br +Die Aktion "install" kann nicht auf bereits installierte Pakete angewandt +werden. Sie können sie jedoch mit der Aktion "reinstall" neu installieren +oder mit "upgrade" upgraden. + +.TP 5 +\fBupgrade\fP +.br +Die Aktion "upgrade" installiert die aktuellste offizielle Version eines +oder mehrerer Pakete. + +"upgrade" wird nicht versuchen neue Pakete zu installieren (nutzen Sie +stattdessen die Aktion "install", um die aktuellste offizielle Version eines +oder mehrerer Pakete zu installieren) . +.TP 5 +\fBreinstall\fP +.br +Falls Sie versehentlich ein Paket beschädigen, haben Sie mit der Aktion +"reinstall" die Möglichkeit, erneut dieselbe Version des Pakets zu +installieren, die bereits installiert ist. + +.TP 5 +\fBremove\fP +.br +Mit der Aktion "remove" können Sie installierte Pakete entfernen. Beispiel: + +.in +5 +# slackpkg remove kde +.in + +wird alle Pakete mit "kde" im Namen entfernen. + +.TP 5 +\fBblacklist\fP +.br +Mit dieser Aktion können Sie gewissen Pakete auf die "Blacklist" setzen. +.br +Pakete, die in der "Blacklist" sind, werden bei Aktionen wie "install", +"upgrade" oder "remove" ignoriert. Um Pakete auf die "Blacklist" zu setzten +oder sie von dieser zu entfernen, bearbeiten Sie bitte die Datei +/etc/slackpkg/blacklist. + +.TP 5 +\fBdownload\fP +.br +Mit dieser Aktion lädt Slackpkg Pakete herunter, installiert sie aber +nicht. Diese werden im Verzeichnis /var/cache/packages gespeichert und Sie +können sie später mit den Aktionen "install", "upgrade" oder "reinstall" +installieren (oder z.B. auf CD/DVD brennen). + +.TP 5 +\fBinfo\fP +.br +Diese Aktion liefert Informationen zu einem oder mehreren Paketen, wie +z.B. die komprimierte und unkomprimierte Größe oder die Beschreibung u.v.m.. + +.TP 5 +\fBclean\-system\fP +.br +Diese Aktion entfernt alle Pakete, die nicht zur Standard\-Installation von +Slackware gehören. Mit dieser Aktion können Sie Ihr System säubern, Pakete +Dritter entfernen, sowie Pakete, die aus der offiziellen +Slackware\-Paketliste entfernt wurden. +.br +Falls Sie Pakete Dritter (oder eigene Pakete) installiert haben, die nicht +entfernt werden dürfen, können Sie diese vorübergehend in die "Blacklist" +eintragen, bevor Sie die Aktion "clean\-system" ausführen. + +.TP 5 +\fBupgrade\-all\fP +.br +Diese Aktion upgradet jedes installierte Paket mit der aktuellen Version des +Pakets aus der offiziellen Slackware\-Paketliste. Das ist die "richtige" +Methode für ein komplettes System\-Upgrade. +.br +Vergessen Sie nicht, die Aktion "install\-new" auszuführen, bevor Sie +"upgrade\-all" starten. + +.TP 5 +\fBinstall\-new\fP +Diese Aktion installiert alle Pakete, die neu in die offizielle +Slackware\-Paketliste hinzugefügt wurden. Starten Sie diese, bevor Sie Ihr +System auf eine andere Slackware\-Version upgraden oder wenn Sie \-current +nutzen. +.br +Wenn Sie alle nicht installierten offiziellen Slackware\-Pakete auf Ihr +System installieren möchten, benutzen Sie folgendes Kommando, anstelle der +Aktion "install\-new": + +.in +5 +# slackpkg install slackware. +.in +.TP 5 +\fBnew\-config\fP +Diese Aktion sucht nach neuen Konfigurationsdateien mit der Endung ".new" +und fragt den Benutzer, wie mit diesen zu verfahren ist. +.br +"new\-config" ist sehr nützlich, wenn Sie ein Upgrade machen und die +Konfigurationsdateien für eine spätere Durchsicht belassen. Anstatt +Unterschiede in den Konfigurationsdateien manuell zu suchen und anzupassen, +können Sie "new\-config" nutzen. +.TP 5 +\fBgenerate\-template\fP +Diese Aktion erstellt eine neue Vorlage mit allen offiziellen Paketen, die +auf Ihrem System installiert sind. Diese wird im Verzeichnis +/etc/slackpkg/templates gespeichert. +.TP 5 +\fBinstall\-template\fP +Diese Aktion installiert eine Vorlage mit einer Liste von Paketen. Die +Vorlage muss im Verzeichnis /etc/slackpkg/templates gespeichert sein. Wenn +die Vorlage "includes" (Einbindungen) anderer Vorlagen hat, müssen diese +ebenfalls im Verzeichnis /etc/slackpkg/templates sein. Um "includes" zu +deaktivieren können Sie in der Datei /etc/slackpkg/slackpkg.conf die +entsprechnde Option eintragen oder den entsprechenden +Kommandozeilenparameter nutzen (siehe \fBslackpkg.conf(5)\fP). +.TP 5 +\fBremove\-template\fP +Diese Aktion entfernt alle Pakete, die in der gewählten Vorlage gelistet +sind. Seien Sie vorsichtig, dies kann Ihr System unstabil machen. Das +"include"\-Verhalten kann durch einen entsprechenden Eintrag in der +slackpkg.conf oder in der Kommandozeile beeinflusst werden (siehe +\fBslackpkg.conf(5)\fP). + +.SH DATEIEN +.TP 5 +\fB/etc/slackpkg/mirrors⇥\fP +Datei mit einer Liste von Quellen, aus welchen Pakete geladen werden. +.TP 5 +\fB/etc/slackpkg/slackpkg.conf⇥\fP +Generelle Konfiguration von slackpkg +.TP 5 +\fB/etc/slackpkg/blacklist\fP +Liste der zu überspringenden Pakete +.TP 5 +\fB/etc/slackpkg/templates\fP +Beinhaltet alle Template\-Dateien +.TP 5 +\fB/usr/libexec/slackpkg\fP +Enthält grundlegende und erweiterte Funktionen von Slackpkg. +.TP 5 +\fB/var/lib/slackpkg\fP +Nutzt Slackpkg intern \- Formatierte Paketlisten, Kopie der ChangeLog.txt, +Dateiliste, u.s.w... + +.SH "SIEHE AUCH" +\fBslackpkg.conf\fP(5), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), \fBexplodepkg\fP(8), +\fBmakepkg\fP(8), \fBpkgtool\fP(8). + +.SH AUTOREN +.TP 5 +Piter PUNK aka Roberto F Batista +<piterpk AT terra DOT com DOT br> +.TP 5 +Evaldo Gardenali aka UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/manpages-l10n/de.slackpkg.conf b/manpages-l10n/de.slackpkg.conf new file mode 100644 index 0000000..78bedc0 --- /dev/null +++ b/manpages-l10n/de.slackpkg.conf @@ -0,0 +1,297 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG.CONF 5 "Mai 2010" slackpkg\-2.81.1 "" +.SH NAME +\fBslackpkg.conf\fP \- Konfigurationsdatei für Slackpkg + +.SH BESCHREIBUNG + +Die Datei slackpkg.conf enthält Informationen für \fBslackpkg\fP (8), ein +automatisiertes Werkzeug zum Verwalten von Slackware Linuxpaketen. + +Die Datei slackpkg.conf enthält eine Folge von Shellskript\-Variablen und +jede Variable steuert einen Aspekt von Slackpkg. Kommentare beginnen mit den +Zeichen #, enden mit dem Zeilenende und dürfen überall in der Datei +slackpkg.conf vorkommen. Wenn eine Variable mehrmals definiert ist, wird die +letzte Definition von Slackpkg verwendet. + +Viele Variablen können durch Kommandozeilenparameter überschrieben +werden. Wenn Sie den Wert von \fBVARIABLE\fP überschreiben wollen, geben Sie in +der Kommandozeile, vor der Slackpkg\-Aktion, \fB\-variable=Wert\fP ein. Es dürfen +mehrere Variablen überschrieben werden. + +BEISPIEL: slackpkg \-batch=on \-default_answer=y upgrade\-all + +Für Variablen mit nur zwei Zuständen, sind die Werte "on" ("ein") oder "off" +("aus") erlaubt, sofern nicht anders definiert. + +Die verschiedenen Konfigurationsvariablen sind: + +.TP 5 +\fBARCH\fP +.br +Bestimmt die Prozessorarchitektur. Für gewöhnlich findet Slackpkg den +korrekten Wert durch Verwendung von "uname \-m". Erlaubte Werte sind: + +.ds title MASCHINE\t\tERLAUBTE WERTE FÜR ARCH +.ds arm ARM\t\t\tarm +.ds x86 x86 (32bits)\ti386, i486, i586 and i686 +.ds x86_64 x86 (64bits)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +\fB\*[title]\fP +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +Der Standardwert von \fBARCH\fP hängt von der Architektur Ihres Rechners ab. + +.TP 5 +\fBSLACKKEY\fP +.br +Slackpkg vergleicht den Inhalt der Datei mit der Paket\-Signatur (.asc) mit +der GPG\-Signatur des Projekts. Verschiedene Slackwareports können +verschiedene Signaturen haben, und Slackpkg versucht die korrekte zu finden, +basierend auf der Architektur Ihres Systems. Wenn der automatisch ermittelte +\fBSLACKKEY\fP nicht korrekt ist, können Sie ihn mit dieser Einstellung ändern. + +Der Standardwert von \fBSLACKKEY\fP hängt vom Slackwareport ab. + +.TP 5 +\fBTEMP\fP +.br +Definiert den Ort, in welchen Slackpkg die Pakete vor der Installation +bzw. dem Upgrade herunterlädt. + +Der Standardwert von \fBTEMP\fP ist /var/cache/packages. + +.TP 5 +\fBWORKDIR\fP +.br +Definiert das Verzeichnis für die Paketlisten, Dateilisten und andere +Informationen, die Slackpkg bei der Arbeit benötigt. Ändern Sie den Wert +dieser Variablen nicht, wenn Sie nicht sicher wissen was sie tun. + +Der Standardwert von \fBWORKDIR\fP ist /var/lib/slackpkg. + +.TP 5 +\fBWGETFLAGS\fP +.br +Spezielle Parameter für wget. Falls Sie mehrere Parameter nutzen, vergessen +Sie nicht, sie zwischen doppelte Anführungsstriche zu setzen. + +Der Standardwert von \fBWGETFLAGS\fP ist "\-\-passive\-ftp". + +.TP 5 +\fBDELALL\fP +.br +Wenn diese Variable den Wert "on" hat, werden alle heruntergeladenen Dateien +nach der Installation oder dem Upgrade gelöscht (dies gilt NICHT, wenn +Slackpkg mit der Aktion "download" aufgerufen wird). Wenn der Wert "off" +gesetzt ist, werden die Dateien im Verzeichnis \fBTEMP\fP gespeichert (wie oben +beschrieben). + +Der Standardwert von \fBDELALL\fP ist "on". +.br +Von der Kommandozeile können Sie den Parameter "\-delall=Wert" nutzen. + +.TP 5 +\fBCHECKMD5\fP +.br +Aktiviert (on) oder deaktiviert (off) den Vergleich von MD5\-Prüfsummen der +heruntergeladenen Dateien vor der Installation bzw. dem Upgrade + +Der Standardwert von \fBCHECKMD5\fP ist "on". +.br +Von der Kommandozeile können Sie den Parameter "\-checkmd5=Wert" nutzen. + +.TP 5 +\fBCHECKGPG\fP +.br +Aktiviert (on) oder deaktiviert (off) die Überprüfung der GPG\-Signatur von +Paketen vor der Installation bzw. dem Upgrade. + +Der Standardwert von \fBCHECKGPG\fP ist "on". +.br +Von der Kommandozeile können Sie den Parameter "\-checkgpg=Wert" nutzen. + +.TP 5 +\fBCHECKSIZE\fP +.br +Aktiviert (on) oder deaktiviert (off) die Überprüfung des freien +Festplattenspeichers für Pakete vor der Installation bzw. dem Upgrade. + +Der Standardwert von \fBCHECKSIZE\fP ist "off". +.br +Von der Kommandozeile können Sie den Parameter "\-checksize=Wert" nutzen. + +.TP 5 +\fBPKGMAIN\fP +.br +Definiert das Hauptverzeichnis der Distribution. Um diese Variable müssen +Sie sich in der Regel nicht kümmern, denn Slackpkg versucht diese anhand der +Prozessorarchitektur zu ermitteln. Falls Sie sie trotzdem ändern müssen, tun +Sie das in der slackpkg.conf. Der Wert sollte immer das Verzeichnis angeben, +in dem die Paketserie der Slackware\-Dirstribution liegt (A, AP, D, E, F, +\&...). + +Standard: hängt vom Slackwareport ab + +.TP 5 +\fBPRIORITY\fP +.br +Dieses Array (Datenreihe) bestimmt die Priorität der Verzeichnisse auf dem +Spiegelserver für die Suche nach Paketen. Wenn Slackpkg ein Paket an mehr +als einem Orten findet, bekommt das Paket des ersten Verzeichnisses dieser +Variablen oberste Priorität, dann das zweite, dann das dritte u.s.w. und als +letztes das Verzeichnis an letzter Stelle dieser Liste. Sie können den +Platzhalter %PKGMAIN nutzen, um den Inhalt der Variable PKGMAIN anzugeben. + +Standardwerte (geordnet): patches %PKGMAIN extra pasture testing + +.TP 5 +\fBPOSTINST\fP +.br +Aktiviert (on) oder deaktiviert (off) die Funktionen, die Slackpkg nach der +Installation bzw. dem Upgrade ausführt, wie z.B. die Suche nach neuen +Konfigurationsdateien (.new) und neuen Linuxkerneln, um Sie dann zu fragen, +was es tun soll. + +Der Standardwert von \fBPOSTINST\fP ist "on". +.br +Von der Kommandozeile können Sie den Parameter "\-postinst=Wert" nutzen. + +.TP 5 +\fBONLY_NEW_DOTNEW\fP +.br +Wenn \fBPOSTINST\fP den Wert "on" hat, sucht Slackpkg nach allen Dateien mit +der Endung .new im Verzeichnis /etc und fragt den Benutzer, was es mit +diesen tun soll. Manche Benutzer bevorzugen jedoch nur die .new\-Dateien zu +sehen, die Slackpkg bei der letzten Ausführung erstellt hat; falls das auf +Sie zutrifft, dann setzen Sie \fBONLY_NEW_DOTNEW\fP auf "on". + +Der Standardwert von \fBONLY_NEW_DOTNEW\fP ist "off". Ändern Sie den Wert nur +dann, wenn Sie wissen was Sie tun. +.br +Von der Kommandozeile können Sie den Parameter "\-only_new_dotnew=Wert" +nutzen. + +.TP 5 +\fBONOFF\fP +.br +Die Variable \fBONOFF\fP steuert das Startverhalten des Dialogfensters, +bezüglich der Markierung der gelisteten Pakete. Wenn der Wert "on" gesetzt +ist, werden alle Pakete ausgewählt. Wenn Sie das Gegenteil bevorzugen (kein +Paket auswählen), dann setzen Sie den Wert "off". + +Der Standardwert von \fBONOFF\fP ist "on". +.br +Von der Kommandozeile können Sie den Parameter "\-onoff=Wert" nutzen. + +.TP 5 +\fBDOWNLOAD_ALL\fP +.br +Wenn diese Variable auf "on" gesetzt ist, werden alle Dateien +heruntergeladen, bevor die Aktion (Installation oder Upgrade) gestartet +wird. Bei dem Wert "off" wird das Herunterladen und die Aktion für jedes +Paket einzeln ausgeführt. + +Der Standardwert von \fBDOWNLOAD_ALL\fP ist "off". +.br +Von der Kommandozeile können Sie den Parameter "\-download_all=Wert" nutzen. + +.TP 5 +\fBDIALOG\fP +.br +Aktiviert (on) oder deaktiviert (off) das Dialogfenster. + +Der Standardwert von \fBDIALOG\fP ist "on". +.br +Von der Kommandozeile können Sie den Parameter "\-dialog=Wert" nutzen. + +.TP 5 +\fBDIALOG_MAXARGS\fP +.br +Setzt die maximale Anzahl der Zeichen, die zum Programm "dialog" gesendet +werden. Wenn diese Anzahl beim Upgrade erreicht wird, entfernt Slackpkg die +Information über die aktuell installierte Version jedes Pakets. Wird die +Anzahl auch ohne diese Information erreicht, bringt Slackpkg eine +Fehlermeldung. + +Wenn \fBDIALOG_MAXARGS\fP nicht definiert ist, ist 19500 der Standardwert. +.br +Von der Kommandozeile können Sie den Parameter "\-dialog_maxargs=Wert" +nutzen. + +.TP 5 +\fBBATCH\fP +.br +Aktiviert (on) oder deaktiviert (off) den nicht\-interaktiven Modus. Beim +Starten des Batch\-Modus wird Slackpkg keine Fragen stellen; stattdessen +werden alle Fragen mit \fBDEFAULT_ANSWER\fP beantwortet (siehe unten). +.br +Wenn Sie beim Upgrade diesen Modus nutzen, werden Sie danach "slackpkg +new\-config" ausführen müssen, um .new\-Dateien zu finden und zu verarbeiten. + +Der Standardwert von \fBBATCH\fP ist "off". +.br +Von der Kommandozeile können Sie den Parameter "\-batch=Wert" nutzen. + +.TP 5 +\fBDEFAULT_ANSWER\fP +.br +Dies ist die Standard\-Antwort auf Fragen von Slackpkg. Sie wird nur im +nicht\-interaktiven Modus genutzt (wenn \fBBATCH\fP auf "on" gesetzt ist oder +wenn der Batch\-Modus per Kommandozeilenparameter aktiviert wurde); ansonsten +hat diese Variable keinen Effekt. +.br +Gültige Werte sind "y" oder "n". + +Der Standardwert von \fBDEFAULT_ANSWER\fP ist "n". +.br +Von der Kommandozeile können Sie den Parameter "\-default_answer=Wert" +nutzen. + +.TP 5 +\fBUSE_INCLUDES\fP +.br +In Vorlagen von Paketlisten für Slackpkg können andere Vorlagen eingebunden +werden. Dies reduziert die Duplikation von Paketen in vielen Vorlagen, kann +aber ein Problem sein, wenn Sie nur eine bestimmte Vorlagen entfernen +möchten. Sie können die Verarbeitung von #include deaktivieren, wenn dieser +Variable den Wert "off" geben. + +Der Standardwert von \fBUSE_INCLUDES\fP ist "on". +.br +Von der Kommandozeile können Sie den Parameter "\-use_includes=Wert" nutzen. + +.TP 5 +\fBSPINNING\fP +.br +Wenn Slackpkg eine Aktion ausführt, die einige Zeit braucht, liefert es +Rückmeldung über einen Fortschrittsbalken. Diesen können Sie deaktivieren, +indem Sie dieser Variable den Wert "off" geben. + +Der Standardwert von \fBSPINNING\fP ist "on". +.br +Von der Kommandozeile können Sie den Parameter "\-spinning=Wert" nutzen. + +.SH DATEIEN +.TP 5 +\fB/etc/slackpkg/slackpkg.conf\fP + +.SH "SIEHE AUCH" +\fBslackpkg\fP(8) \fBpkgtool\fP(8) \fBinstallpkg\fP(8) \fBupgradepkg\fP(8) +\fBremovepkg\fP(8) diff --git a/manpages-l10n/el.slackpkg b/manpages-l10n/el.slackpkg new file mode 100644 index 0000000..85355fe --- /dev/null +++ b/manpages-l10n/el.slackpkg @@ -0,0 +1,348 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG 8 "Μάιος 2010" slackpkg\-2.81.1 "" +.SH ΟΝΟΜΑ +\fBslackpkg\fP \- Αυτοματοποιημένο εργαλείο για τη διαχείριση πακέτων του +Slackware Linux + +.SH ΣΥΝΟΨΗ +\fBslackpkg\fP \fB[ΕΠΙΛΟΓΕΣ]\fP +\fB{install|remove|search|upgrade|reinstall|blacklist}\fP +\fB{\fP\fIΠΡΟΤΥΠΟ\fP\fB|\fP\fIΑΡΧΕΙΟ\fP\fB}\fP + +\fBslackpkg [ΕΠΙΛΟΓΕΣ] {clean\-system|upgrade\-all|install\-new}\fP + +\fBslackpkg\fP \fB[ΕΠΙΛΟΓΕΣ]\fP \fB{search|file\-search}\fP +\fB{\fP\fIΠΡΟΤΥΠΟ\fP\fB|\fP\fIΑΡΧΕΙΟ\fP\fB}\fP + +\fBslackpkg\fP \fB[ΕΠΙΛΟΓΕΣ]\fP +\fB{generate\-template|install\-template|remove\-template}\fP \fIΠΡΟΤΥΠΟΟΝΟΜΑ\fP + +\fBslackpkg [ΕΠΙΛΟΓΕΣ] info\fP \fIΠΑΚΕΤΟ\fP + +\fBslackpkg [ΕΠΙΛΟΓΕΣ] update [gpg]\fP + +\fBslackpkg [ΕΠΙΛΟΓΕΣ] {new\-config|check\-updates}\fP + +\fBslackpkg [ΕΠΙΛΟΓΕΣ] help\fP + +.SH ΠΕΡΙΓΡΑΦΗ +Το Slackpkg είναι ένα εργαλείο για όσους θέλουν εύκολα να εγκαταστήσουν ή να +αναβαθμίσουν πακέτα μέσω του δικτύου. Με το slackpkg, μπορείτε να έχετε μια +ελάχιστη εγκατάσταση του Slackware Linux και να εγκαταστήσετε/αναβαθμίσετε +μόνο τα πακέτα που χρειάζεστε περισσότερο. + +Δεν χρειάζεται να ρυθμίσετε το NFS ή να κάνετε δεκάδες CDs για όλους τους +υπολογιστές σας, το μόνο που χρειάζεται να κάνετε είναι να πληκτρολογήσετε +μία εντολή και όλα τα τελευταία επίσημα πακέτα του Slackware θα είναι στα +χέρια σας. + +.SH ΟΔΗΓΙΕΣ +Το Slackpkg έχει πολλές δυνατότητες. Μπορεί να ψάξει για συγκεκριμένα +αρχεία, να αφαιρέσει όλα τα πακέτα τρίτου κατασκευαστή από το σύστημά σας, +να εγκαταστήσει πακέτα που προστέθηκαν στο Slackware από την τελευταία +ενημέρωση σας, να δείτε τις περιγραφές συσκευασίας, κ.λπ. + +Πριν κάνετε οτιδήποτε, θα πρέπει να αποσχολιάσετε έναν καθρέφτη στο αρχείο +/etc/slackpkg/mirrors και να τρέξετε: + +.in +5 +# slackpkg update +.in + +Η ενέργεια "update" θα κατεβάσει και θα μορφοποιήσει τη λίστα των αρχείων +και των πακέτων στο Slackware. Κάθε φορά που αυτή η λίστα αλλάζει, η +ενημέρωση θα πρέπει να εκτελεστεί. + +Τα κύρια χαρακτηριστικά του Slackpkg είναι αυτά που σχετίζονται άμεσα με την +διαχείριση των πακέτων: εγκατάσταση, αναβάθμιση, και απεγκατάσταση +πακέτων. Για να κάνετε οποιαδήποτε από αυτές τις ενέργειες, η σύνταξη του +Slackpkg είναι: + +.in +5 +# slackpkg [ΕΠΙΛΟΓΕΣ] <action> {ΠΡΟΤΥΠΟ|ΑΡΧΕΙΟ} +.in + +\fIOPTIONS\fP μπορεί να είναι μία ή περισσότερες από τις πολλές επιλογές +ρυθμίσεων που αναφέρονται στο /etc/slackpkg/slackpkg.conf. Υπάρχουν +ισοδύναμες επιλογές γραμμής εντολών για την πλειονότητα των οδηγιών +ρυθμίσεων που βρίσκονται στο slackpkg.conf \- δείτε το \fBslackpkg.conf(5)\fP +man\-page για να δείτε τι επιλογές είναι διαθέσιμες. + +\fIΠΡΟΤΥΠΟ\fP μπορεί να είναι ένα όνομα πακέτου ή μόνο ένα μέρος του ονόματος +του πακέτου. Μπορεί επίσης να είναι μια σειρά λογισμικού (όπως kde, a, ap, +\&...). +.br + +\fIΑΡΧΕΙΟ\fP είναι ένα αρχείο με μια λίστα από \fIΠΡΟΤΥΠΟs\fP εντός: είτε μία ανά +γραμμή, ή περισσότερες ανά γραμμή με κενά ως διαχωριστικά. + +Το Slackpkg μπορεί να χρησιμοποιηθεί για την αναβάθμιση ολόλκληρης της +διανομής. +.br +Ο συνήθης τρόπος είναι να εκτελέσετε: + +.in +5 +# slackpkg update +.br +# slackpkg install\-new +.br +# slackpkg upgrade\-all +.br +# slackpkg clean\-system +.in + +Ένα άλλο χαρακτηριστικό της Slackpkg είναι η ικανότητα να εργάζεται με +πρότυπα, τα οποία μπορούν να κάνουν πολύ πιο εύκολο να δημιουργήσετε +διαφορετικά μηχανήματα με το ίδιο περιεχόμενο των πακέτων. Τα βασικά βήματα +είναι τα εξής: + +.RS +5 +.IP \(bu 2 +Εγκατάσταση σε ένα μηχάνημα +.IP \(bu 2 +Εκτελέστε "slackpkg generate\-template ΟΝΟΜΑ_ΠΡΟΤΥΠΟΥ" +.IP \(bu 2 +Αντιγράψτε το /etc/slackpkg/templates/ΟΝΟΜΑ_ΠΡΟΤΥΠΟΥ.template στον ίδιο +κατάλογο στο άλλο μηχάμημα +.IP \(bu 2 +Εκτελέστε "slackpkg install\-template ΟΝΟΜΑ_ΠΡΟΤΥΠΟΥ" στο άλλο μηχάνημα +.RE + +\fIΠΡΟΤΥΠΟΟΝΟΜΑ\fP είναι το όνομα του προτύπου σας. + +Με αυτό το εγχειρίδιο οδηγιών, μπορείτε να βρείτε τι κάθε μια από αυτές (και +άλλες) ενέργειες κάνουν. + +.SH ΔΡΑΣΕΙΣ +.TP 5 +\fBhelp\fP +.br +Εμφάνιση των δράσεων του slackpkg και μια σύντομη περιγραφή τους. Χρήσιμο αν +θέλετε να γνωρίζετε λίγα πράγματα για το slackpkg. Η πληροφορία εδώ, στη +man\-σελίδα είναι πολύ πιο ολοκληρωμένη. + +.TP 5 +\fBupdate\fP +.br +Το update θα κατεβάσει τις πιο πρόσφατες λίστες πακέτων από έναν καθρέφτη +Slackware (ή από το CD σας). Είναι μια καλή ιδέα να εκτελέσετε + +.in +5 +# slackpkg update +.in + +πριν επιχειρήσετε την αναβάθμιση, την εγκατάσταση, ή την αναζήτηση για τα +πακέτα. +.br +Αν χρειαστεί να ενημερώσετε το GPG κλειδί του Slackware, εκτελέστε + +.in +5 +# slackpkg update gpg +.in + +Το κλειδί GPG δεν αλλάζει. Αυτό πρέπει να είναι εντολή "μιας χρήσης" \- +εκτελέστε τη μόνο μια φορά και μετά να τη ξεχάσετε ... + +.TP 5 +\fBcheck\-updates\fP +.br +Βεβαιωθείτε αν υπάρχει κάποια ενημέρωση στο ChangeLog.txt. Αυτό είναι καλό +να χρησιμοποιηθεί από το cron να να προειδοποιήσει τον διαχειριστή του +συστήματος σχετικά με τις ενημερώσεις. + +.TP 5 +\fBfile\-search\fP +.br +Μπορείτε να αναζητήσετε τα επίσημα πακέτα Slackware για οποιοδήποτε αρχείο +στη διανομή Slackware. Μήπως χρειάζεστε μια παράξενη βιβλιοθήκη; +Χρησιμοποιήστε την αναζήτηση\-αρχείου για να το βρείτε. + +.in +5 +# slackpkg file\-search filename +.in + +Όλα τα πακέτα που ταιριάζουν με το "όνομα αρχείου" θα εμφανιστούν, έτσι +μπορείτε να δείτε αν τα πακέτα είναι εγκατεστημένα ή όχι; Αν όχι, μπορείτε +να τα κατεβάσετε και να τα εγκαταστήσετε χρησιμοποιώντας τις άλλες δράσεις +του slackpkg. + +.TP 5 +\fBsearch\fP +.br +Μπορείτε να κάνετε αναζήτηση για οποιοδήποτε πακέτο διανέμεται στο +Slackware. + +.in +5 +# slackpkg search πρότυπο +.in + +Όλα τα ονόματα πακέτων που ταιριάζουν με το "μοτίβο" θα εμφανιστούν. Όπως με +την αναζήτηση\-αρχείων, μπορείτε να δείτε αν τα πακέτα είναι εγκατεστημένα ή +όχι; Αν όχι, μπορείτε να τα κατεβάσετε και να τα εγκαταστήσετε +χρησιμοποιώντας τις άλλες δράσεις του slackpkg. + +.TP 5 +\fBinstall\fP +.br +Η εγκατάσταση ενός πακέτου είναι πολύ απλή. Χρειάζεται μόνο να +πληκτρολογήσετε: + +.in +5 +# slackpkg install όνομα\-πακέτου +.in + +και το πακέτο θα κατεβεί και θα εγκατασταθεί. +.br +Δεν μπορείτε να χρησιμοποιήσετε την επιλογή "install" για να εγκαταστήσετε +ένα ήδη εγκατεστημένο πακέτο, αλλά μπορείτε να το εγκαταστήσετε ξανά ή να το +αναβαθμίσετε. + +.TP 5 +\fBupgrade\fP +.br +Η upgrade εγκαθιστά την πιο πρόσφατη επίσημη έκδοση του καθορισμένου +πακέτου(ων). + +Η upgrade δεν θα επιχειρήσει να εγκαταστήσει νέα πακέτα (χρησιμοποιήστε τη +λειτουργία εγκατάστασης για το σκοπό αυτό, η τελευταία επίσημη έκδοση του +πακέτου θα εγκατασταθεί). +.TP 5 +\fBreinstall\fP +.br +Σε περίπτωση που κατά λάθος χαλάσατε κάτι, η επιλογή επανεγκατάσταση θα σας +επιτρέψει να εγκαταστήσετε ξανά την ίδια έκδοση ενός πακέτου που είναι ήδη +εγκατεστημένο. + +.TP 5 +\fBremove\fP +.br +Με την remove, μπορείτε να αφαιρέσετε ορισμένα εγκατεστημένα πακέτα. Για +παράδειγμα: + +.in +5 +# slackpkg remove kde +.in + +θα αφαιρέσει όλα τα πακέτα με το "kde" στο όνομά τους. + +.TP 5 +\fBblacklist\fP +.br +Με την ενέργεια αυτή, μπορείτε να βάλετε στη "μαύρη λίστα" ορισμένα πακέτα. +.br +Τα ανεπιθύμητα πακέτα δεν θα εγκατασταθούν, αναβαθμιστούν ή αφαιρεθούν από +το slackpkg. Εάν θέλετε να αφαιρέσετε κάποιο πακέτο από τη μαύρη λίστα, +παρακαλούμε να επεξεργαστείτε το /etc/slackpkg/blacklist. + +.TP 5 +\fBdownload\fP +.br +Η δράση αυτή λέει στο slackpkg να κατεβάσει τα πακέτα, αλλά όχι να τα +εγκαταστήσει. Θα τοποθετηθούν στον κατάλογο /var/cache/packages και μπορείτε +να τα εγκαταστήσετε/αναβαθμίσετε/επανεγκαταστήστε αργότερα (ή να τα κάψετε +σε CD). + +.TP 5 +\fBinfo\fP +.br +Η δράση αυτή εκτυπώνει πληροφορίες σχετικά με το πακέτο(α): συμπιεσμένο και +ασυμπίεστο μέγεθος, περιγραφή, και τα λοιπά... + +.TP 5 +\fBclean\-system\fP +.br +Η δράση αυτή αφαιρεί όλα τα πακέτα που δεν ανήκουν σε μια τυπική εγκατάσταση +Slackware. Με αυτή την επιλογή, μπορείτε να πραγματοποιήσετε εκκαθάριση του +συστήματός σας, αφαιρώντας πακέτα τρίτων πηγών όπως και πακέτα που έχουν +αφαιρεθεί από την επίσημη συλλογή πακέτων Slackware. +.br +Αν έχετε πακέτα από τρίτες πηγές (ή δικά σας) τα οποία επιθυμείτε να +διατηρήσετε, μπορείτε να τα προσθέσετε προσωρινά στη λίστα των αποκλειώμενων +πακέτων πριν τρέξετε την δράση 'clean\-system'. + +.TP 5 +\fBupgrade\-all\fP +.br +Αυτή η δράση αναβαθμίζει όλα τα πακέτα που είναι εγκατεστημένα στο σύστημα +στην έκδοση που βρίσκεται στα αποθετήρια του Slackware· αυτός είναι ο +"σωστός" τρόπος για την αναβάθμιση ολόκληρου του συστήματος. +.br +Θυμηθείτε να χρησιμοποιήσετε τη δράση "install\-new" πριν χρησιμοποιήστε το +"upgrade\-all." + +.TP 5 +\fBinstall\-new\fP +Αυτή η δράση εγκαθιστά όσα νέα πακέτα έχουν προστεθεί στα επισημα πακέτα του +Slackware. Εκτελέστε το αν αναβαθμίζετε το σύστημά σας σε μια άλλη έκδοση +του Slackware ή αν χρησιμοποιήτε το \-current. +.br +Αν επιθυμείτε να εγκαταστήσετε όσα πακέτα Slackware δεν έχετε εγκατεστημένα +ήδη, χρησιμοποιήστε την παρακάτω εντολή αντί της δράσης install\-new: + +.in +5 +# slackpkg install slackware. +.in +.TP 5 +\fBnew\-config\fP +Αυτή η δράση αναζητά αρχεία ρυθμίσεων .new και ρωτά το χρήστη τι να κάνει με +αυτά τα αρχεία. +.br +Η new\-config είναι πολύ χρήσιμη όταν αναβαθμίζετε το σύστημά σας και αφήνετε +τα νέα αρχεία ρυθμίσεων για έλεγχο αργότερα. Αντί να αναζητάτε αυτά τα +αρχεία χειροκίνητα, να βρίσκετε τις διαφορές και να αντικαθιστάτε, μπορείτε +να χρησιμοποιήσετε τη δράση new\-config. +.TP 5 +\fBgenerate\-template\fP +Η ενέργεια αυτή δημιουργεί ένα νέο πρότυπο με όλα τα επίσημα πακέτα που +είναι εγκατεστημένα στο σύστημά σας. Το πρότυπο αποθηκεύεται στο +/etc/slackpkg/templates +.TP 5 +\fBinstall\-template\fP +Η δράση αυτή εγκαθιστά το απαιτούμενο πρότυπο στο σύστημα. Το πρότυπο πρέπει +να είναι στο /etc/slackpkg/templates. Εάν το πρότυπο "περιλαμβάνει" άλλα +πρότυπα, όλα αυτά πρέπει να είναι στο /etc/slackpkg/templates. Μπορείτε να +απενεργοποιήσετε το "includes" στο slackpkg.conf ή στη γραμμής εντολών. +.TP 5 +\fBremove\-template\fP +Η δράση αυτή αφαιρεί όλα τα πακέτα που αποτελούν μέρος του επιλεγμένου +προτύπου. Να είστε προσεκτικοί, αυτό μπορεί να θέσει το μηχάνημα σε +κατάσταση αχρηστίας. Ο χειρισμός "include" μπορεί να +ενεργοποιηθεί/απενεργοποιηθεί στο slackpkg.conf ή με την κατάλληλη επιλογή +στη γραμμή εντολών. + +.SH ΑΡΧΕΙΑ +.TP 5 +\fB/etc/slackpkg/mirrors⇥\fP +Αρχείο για να καθορίσετε τη θέση από όπου μπορείτε να κατεβάσετε τα πακέτα +.TP 5 +\fB/etc/slackpkg/slackpkg.conf⇥\fP +Γενική διαμόρφωση του slackpkg +.TP 5 +\fB/etc/slackpkg/blacklist\fP +Κατάλογος των πακέτων που θα παρακάμψετε +.TP 5 +\fB/etc/slackpkg/templates\fP +Περιέχει όλα τα αρχεία προτύπων +.TP 5 +\fB/usr/libexec/slackpkg\fP +Περιέχει το πυρήνα slackpkg και πρόσθετες λειτουργίες +.TP 5 +\fB/var/lib/slackpkg\fP +Slackpkg εσωτερική χρήση \- σχηματοποιημένες λίστες των διαθέσιμων πακέτων, +αντίγραφο του ChangeLog.txt, λίστα με τα αρχεία, και τα λοιπά ... + +.SH "ΔΕΙΤΕ ΕΠΙΣΗΣ" +\fBslackpkg.conf\fP(5), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), \fBexplodepkg\fP(8), +\fBmakepkg\fP(8), \fBpkgtool\fP(8). + +.SH ΣΥΓΓΡΑΦΕΙΣ +.TP 5 +Piter PUNK aka Roberto F Batista +<piterpk AT terra DOT com DOT br> +.TP 5 +Evaldo Gardenali aka UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/manpages-l10n/el.slackpkg.conf b/manpages-l10n/el.slackpkg.conf new file mode 100644 index 0000000..cb09ee0 --- /dev/null +++ b/manpages-l10n/el.slackpkg.conf @@ -0,0 +1,303 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG.CONF 5 "Μάιος 2010" slackpkg\-2.81.1 "" +.SH ΟΝΟΜΑ +\fBslackpkg.conf\fP \- Στοιχεία διαμόρφωσης για το slackpkg + +.SH ΠΕΡΙΓΡΑΦΗ + +Το αρχείο slackpkg.conf περιέχει πληροφορίες για \fBslackpkg\fP (8), ένα +αυτοματοποιημένο εργαλείο για τη διαχείριση πακέτων του Slackware Linux. + +Το αρχείο slackpkg.conf είναι ένα σενάριο από μια ακολουθία μεταβλητών +κελύφους, και κάθε μεταβλητή ελέγχει μία πτυχή του slackpkg. Σχόλια αρχίζουν +με το χαρακτήρα # και το τελειώνουν στο τέλος της γραμμής, και τα σχόλια +μπορούν να εμφανιστούν οπουδήποτε στο εσωτερικό του αρχείου +slackpkg.conf. Αν κάποια μεταβλητή εμφανίζεται περισσότερες από μία φορά στο +αρχείο, το slackpkg θα χρησιμοποιήσει την τιμή που ορίστηκε τελευταία. + +Πολλές μεταβλητές μπορούν να παρακαμφθούν από παραμέτρους που ορίζονται στο +slackpkg στη γραμμή εντολών. Αν θέλετε να παρακάμψετε την τιμή της +\fBVARIABLE\fP, δώστε \fB\-variable=τιμή\fP στη γραμμή εντολών πριν τη δράση του +slackpkg. Μπορούν να παρακαμφθούν πολλαπλές μεταβλητές. + +ΠΑΡΑΔΕΙΓΜΑ: slackpkg \-batch=on \-default_answer=y upgrade\-all + +Για παραμέτρους με μόνο δύο καταστάσεις, πιθανές τιμές είναι "on" ή "off" +εκτός αν ορίζεται αλλιώς. + +Οι διάφορες παράμετροι ρύθμισης είναι οι: + +.TP 5 +\fBARCH\fP +.br +Επιλέγει την αρχιτεκτονική του συστήματος. Συνήθως το slackpkg μπορεί να +βρει τη σωστή τιμή χρησιμοποιώντας το "uname \-m". Έγκυρες τιμές είναι οι: + +.ds title ΜΗΧΑΝΗΜΑ\t\tΕΓΚΥΡΕΣ ΤΙΜΕΣ ΑΡΧΙΤΕΚΤΟΝΙΚΗΣ +.ds arm ARM\t\t\tarm +.ds x86 x86 (32bits)\ti386, i486, i586 and i686 +.ds x86_64 x86 (64bits)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +\fB\*[title]\fP +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +Οι εξ ορισμού τιμή της \fBARCH\fP εξαρτάται από την αρχιτεκτονική. + +.TP 5 +\fBSLACKKEY\fP +.br +Το slackpkg ελέγχει το αρχείο υπογραφής του πακέτου (.asc) με την υπογραφή +GPG του έργου. Διαφορετικές μεταφορές του Slackware μπορεί να έχουν +διαφορετικές υπογραφές και το slackpkg προσπαθεί να βρει τη σωστή βασιζόμενο +στην αρχιτεκτονική του συστήματος. Αν το \fBSLACKKEY\fP που έχει βρεθεί +αυτόματα δεν είναι σωστό, μπορείτε να το αλλάξετε χρησιμοποιώντας αυτή την +παράμετρο. + +Η εξ ορισμού τιμή του \fBSLACKKEY\fP εξαρτάται από τη μεταφορά του Slackware. + +.TP 5 +\fBTEMP\fP +.br +Ορίζει την τοποθεσία στην οποία το slackpkg θα κατεβάσει τα πακέτα προτού τα +εγκαταστήσει/αναβαθμίσει. + +Η εξ ορισμού τιμή του \fBTEMP\fP είναι η /var/cache/packages. + +.TP 5 +\fBWORKDIR\fP +.br +Ορίζει τον κατάλογο με τις λίστες πακέτων, λίστες αρχείων και άλλες +πληροφορίες που χρησιμοποιούνται από το slackpkg. Μην αλλάζετε την τιμή +αυτής της παραμέτρου αν δεν είστε σίγουροι για το τι κάνετε. + +Η εξ ορισμού τιμή της \fBWORKDIR\fP είναι /var/lib/slackpkg. + +.TP 5 +\fBWGETFLAGS\fP +.br +Χρήση ειδικών επιλογών για το wget. Αν χρειάζεστε πολλαπλές επιλογές, +θυμηθείτε να τις εισάγετε μέσα σε διπλά εισαγωγικά. + +Η εξ ορισμού τιμή της \fBWGETFLAGS\fP είναι "\-\-passive\-ftp" + +.TP 5 +\fBDELALL\fP +.br +Αν ορισθεί σε "on", όλα τα αρχεία που έχουν κατεβεί, θα αφαιρεθούν αφού το +slackpkg εκτελέσει την εγκατάσταση ή την αναβάθμιση (ΔΕΝ έχει καμία επίδραση +όταν το slackpkg εκτελείτε χρησιμοποιώντας το "download"). Αν ορισθεί σε +"off", τα αρχεία θα κρατούνται στον κατάλογο που ορίζεται στο \fBTEMP\fP (όπως +περιγράφεται παραπάνω). + +Η εξ ορισμού τιμή της \fBDELALL\fP είναι "on". +.br +Από τη γραμμή εντολών, μπορεί να χρησιμοποιήσετε το \-delall=τιμή. + +.TP 5 +\fBCHECKMD5\fP +.br +Ενεργοποιεί (on) ή απενεργοποιεί (off) τον έλεγχο των αθροισμάτων MD5 όλων +των πακέτων που κατεβαίνουν πριν την εγκατάσταση ή αναβάθμισή τους. + +Η εξ ορισμού τιμή της \fBCHECKMD5\fP είναι "on". +.br +Από τη γραμμή εντολών, μπορείτε να χρησιμοποιήσετε το \-checkmd5=τιμή. + +.TP 5 +\fBCHECKGPG\fP +.br +Ενεργοποιεί (on) ή απενεργοποιεί (off) τον έλεγχο της υπογραφής GPG για κάθε +πακέτο πριν την εγκατάσταση ή αναβάθμιση. + +Η εξ ορισμού τιμή της \fBCHECKGPG\fP είναι "on". +.br +Από τη γραμμή εντολών, μπορείτε να χρησιμοποιήσετε το \-checkgpg=τιμή. + +.TP 5 +\fBCHECKSIZE\fP +.br +Ενεργοποιεί (on) ή απενεργοποιεί (off) τον έλεγχο διαθέσιμου χώρου στο δίσκο +για κάθε πακέτο πριν την εγκατάσταση ή αναβάθμιση. + +Η εξ ορισμού τιμή της \fBCHECKSIZE\fP είναι "off". +.br +Από τη γραμμή εντολών, μπορείτε να χρησιμοποιήσετε το \-checksize=τιμή. + +.TP 5 +\fBPKGMAIN\fP +.br +Ορίζει τον κύριο κατάλογο της διανομής. Συνήθως, δεν χρειάζεται να +ανησυχείτε γι'αυτή τη μεταβλητή, καθώς το Slackpkg προσπαθεί να τον βρει, +βασιζόμενο στην αρχιτεκτονική του λειτουργικού συστήματος. Παρόλα αυτά, αν +χρειάζεται να το αλλάξετε, συμπεριλάβετε τη μεταβλητή αυτή στο +slackpkg.conf. Θα πρέπει να είναι πάντα ο κατάλογος που περιλαμβάνει τις +σειρές πακέτων του Slackware (A, AP, D, E, F, ...). + +Εξ ορισμού: εξαρτάται από τη μεταφορά του Slackware + +.TP 5 +\fBPRIORITY\fP +.br +Ο πίνακας αυτός επιλέγει την προτεραιότητα την οποία θα έχουν κατάλογοι στον +καθρέπτη του αποθετηρίου όταν το slackpkg ελέγχει για την ύπαρξη πακέτων. Αν +ένα πακέτο υπάρχει σε παραπάνω από μία τοποθεσίες, το πακέτο στον πρώτο +κατάλογο έχει προτεραιότητα, μετά το δεύτερο, το τρίτο, το τέταρτο και +τέλος, το πακέτο στον τελευταίο κατάλογο που ορίζεται. Μπορείτε να +χρησιμοποιήσετε το %PKGMAIN για τα έχετε πρόσβαση στα περιεχόμενα της +μεταβλητής PKGMAIN. + +Εξ ορισμού τιμές (σε σειρά κατάταξης): patches %PKGMAIN extra pasture +testing + +.TP 5 +\fBPOSTINST\fP +.br +Ενεργοποιεί (on) ή απενεργοποιεί (off) τις δυνατότητες διαχείρισης του +slackpkg για μετά την εγκατάσταση των πακέτων, όπως τον έλεγχο για νέα +(*.new) αρχεία ρυθμίσεων και νέους πυρήνες και δίνει μια προτροπή για τι θα +πρέπει να κάνει. + +Η εξ ορισμού τιμή του \fBPOSTINST\fP είναι "on". +.br +Από τη γραμμή εντολών, μπορείτε να χρησιμοποιήσετε το \-postinst=τιμή. + +.TP 5 +\fBONLY_NEW_DOTNEW\fP +.br +Όταν το \fBPOSTINST\fP είναι ρυθμισμένο στο "on", το slackpkg θα αναζητήσει όλα +τα αρχεία .new μέσα στο /etc και θα ενημερώσει τον χρήστη τι να κάνει με +αυτά. Σε κάθε περίπτωση, ορισμένοι χρήστες προτιμούν να βλέπουν μόνο τα +αρχεία .new που εγκαταστάθηκαν κατά την τελευταία εκτέλεση του slackpkg, +οπότε, αν αυτό ισχύει για εσάς, ρυθμίστε το \fBONLY_NEW_DOTNEW\fP στο "on". + +Η προεπιλεγμένη τιμή του \fBONLY_NEW_DOTNEW\fP είναι το "off". Αυτό αλλάξτε το +μόνον αν ξέρετε τι ακριβώς κάνετε... +.br +Από την γραμμή εντολών, μπορείτε να χρησιμοποιείτε το +\-only_new_dotnew=value. + +.TP 5 +\fBONOFF\fP +.br +Η μεταβλητή \fBONOFF\fP ορίζει την αρχική συμπεριφορά της διεπαφής διαλόγου. +Αν την ορίσετε στο "on" τότε όλα τα πακέτα θα επιλεχθούν από προεπιλογή. Αν +προτιμάτε την αντίθετη επιλογή (όλα ανεπίλεκτα), τότε καθορίστε την στο +"off". + +Η προεπιλεγμένη τιμή για το \fBONOFF\fP είναι το "on". +.br +Από την γραμμή εντολών, μπορείτε να χρησιμοποιείτε το \-onoff=value. + +.TP 5 +\fBDOWNLOAD_ALL\fP +.br +Αν αυτή η μεταβλητή ορισθεί στο "on", όλα τα αρχεία θα κατεβούν πριν την +εκτέλεση της αιτούμενης λειτουργίας (εγκατάσταση ή αναβάθμιση). Αν ορισθεί +στο "off", τότε θα κατεβούν όλα τα αρχεία και οι λειτουργίες (εγκατάσταση ή +αναβάθμιση) ένα\-ένα. + +Η προεπιλεγμένη τιμή για το \fBDOWNLOAD_ALL\fP είναι το "off". +.br +Από τη γραμμή εντολών, μπορεί να χρησιμοποιείτε το \-download_all=value. + +.TP 5 +\fBDIALOG\fP +.br +Ενεργοποιεί (on) ή απενεργοποιεί (off) την διεπαφή του διαλόγου. + +Η προεπιλεγμένη τιμή για το \fBDIALOG\fP είναι το "on". +.br +Από τη γραμμή εντολών, μπορεί να χρησιμοποιείτε το \-dialog=value. + +.TP 5 +\fBDIALOG_MAXARGS\fP +.br +Καθορίστε τον μέγιστο αριθμό χαρακτήρων που θα αποσταλούν στον "διάλογο". Αν +αυτός ο αριθμός υπερκερασθεί κατά την αναβάθμιση, το slackpkg θα διαγράψει +τις πληροφορίες σχετικές με την τρεχόντως εγκατεστημένη έκδοση του κάθε +πακέτου. Αν και πάλι ξεπερασθεί αυτός ο αριθμός, ακόμη και χωρίς αυτές τις +πληροφορίες, το slackpkg θα επιστρέψει στον χρήστη ένα σφάλμα. + +Αν το \fBDIALOG_MAXARGS\fP δεν έχει ρυθμισθεί, τότε η προεπιλεγμένη τιμή είναι +το 19500. +.br +Από τη γραμμή εντολών, μπορείτε να χρησιμοποιείτε το \-dialog_maxargs=value. + +.TP 5 +\fBBATCH\fP +.br +Ενεργοποιεί (on) ή απενεργοποιεί (off) τον μη\-διαδραστικό τρόπο. Όταν το +τρέξετε σε μαζική λειτουργία/ batch mode, το slackpkg δεν θα ενημερώσει τον +χρήστη για οτιδήποτε. Αντιθέτως, όλες οι ερωτήσεις θα λάβουν +\fBDEFAULT_ANSWER\fP (βλέπε πιο κάτω). +.br +Αν κάνετε μια αναβάθμιση χρησιμοποιώντας αυτή τη λειτουργία, θα πρέπει να +εκτελέσετε το "slackpkg new\-config" αργότερα, για να βρείτε και να +συμπτύξετε τα αρχεία .new + +Η προεπιλεγμένη τιμή για το \fBBATCH\fP είναι το "off". +.br +Από τη γραμμή εντολών, μπορείτε να χρησιμοποιείτε το \-batch=value. + +.TP 5 +\fBDEFAULT_ANSWER\fP +.br +Αυτή είναι η προεπιλεγμένη απάντηση στις ερωτήσεις όταν το slackpkg +ενημερώνει τον χρήστη για κάποιες πληροφορίες. Αυτή χρησιμοποιείται μόνο σε +μη\-διαδραστικό τρόπο (όταν το \fBBATCH\fP είναι "yes" ή όταν ο χρήστης +ενεργοποιεί τον μαζικό τρόπο/ batch mode μέσω της γραμμής εντολών). Αλλιώς, +αυτή η μεταβλητή δεν έχει κανένα αποτέλεσμα. +.br +Οι έγκυρες τιμές είναι το "y" ή το "n". + +Η προεπιλεγμένη τιμή για το \fBDEFAULT_ANSWER\fP είναι το "n". +.br +Από τη γραμμή εντολών, μπορείτε να χρησιμοποιείτε το \-default_answer=value. + +.TP 5 +\fBUSE_INCLUDES\fP +.br +Τα πρότυπα/templates του Slackpkg μπορεί να συμπεριλαμβάνουν άλλα +πρότυπα. Αυτό μειώνει τον αναδιπλασιασμό πακέτων σε πολλά πρότυπα/templates, +αλλά μπορεί να είναι ένα πρόβλημα αν θέλετε να διαγράψετε μόνον ένα +συγκεκριμένο πρότυπο/template. Μπορείτε να απενεργοποιήσετε το #include +parsing ορίζοντας την επιλογή στο "off". + +Η προεπιλεγμένη τιμή για το \fBUSE_INCLUDES\fP είναι το "on". +.br +Από τη γραμμή εντολών,, μπορείτε να χρησιμοποιείτε το \-use_includes=value. + +.TP 5 +\fBSPINNING\fP +.br +Όταν το Slackpkg κάνει μια δραστηριότητα που απαιτεί κάποιο χρόνο, προσφέρει +οπτικό feedback με μία spinning bar. Αν δεν σας αρέσει αυτή η spinning bar, +μπορείτε να την απενεργοποιήσετε καθορίζοντας την επιλογή στο "off". + +Η προεπιλεγμένη τιμή για το \fBSPINNING\fP είναι το "on". +.br +Από τη γραμμή εντολών, μπορείτε να χρησιμοποιείτε το \-spinning=value. + +.SH ΑΡΧΕΙΑ +.TP 5 +\fB/etc/slackpkg/slacpkg.conf\fP + +.SH "ΔΕΙΤΕ ΕΠΙΣΗΣ" +\fBslackpkg\fP(8) \fBpkgtool\fP(8) \fBinstallpkg\fP(8) \fBupgradepkg\fP(8) +\fBremovepkg\fP(8) diff --git a/manpages-l10n/es.slackpkg b/manpages-l10n/es.slackpkg new file mode 100644 index 0000000..98e24d0 --- /dev/null +++ b/manpages-l10n/es.slackpkg @@ -0,0 +1,333 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG 8 "May 2010" slackpkg\-2.81.1 "" +.SH NOMBRE +\fBslackpkg\fP \- Herramienta automatizada para el manejo de paquetes de +Slackware Linux + +.SH SINOPSIS +\fBslackpkg\fP \fB[OPCIONES]\fP +\fB{install|remove|search|upgrade|reinstall|blacklist}\fP +\fB{\fP\fIPATRÓN\fP\fB|\fP\fIARCHIVO\fP\fB}\fP + +\fBslackpkg [OPCIONES] {clean\-system|upgrade\-all|install\-new}\fP + +\fBslackpkg\fP \fB[OPCIONES]\fP \fB{search|file\-search}\fP +\fB{\fP\fIPATRÓN\fP\fB|\fP\fIARCHIVO\fP\fB}\fP + +\fBslackpkg\fP \fB[OPCIONES]\fP +\fB{generate\-template|install\-template|remove\-template}\fP \fINOMBREPLANTILLA\fP + +\fBslackpkg [OPCIONES] info\fP \fIPAQUETE\fP + +\fBslackpkg [OPCIONES] update [gpg]\fP + +\fBslackpkg [OPCIONES] {new\-config|check\-updates}\fP + +\fBslackpkg [OPCIONES] help\fP + +.SH DESCRIPCIÓN +Slackpkg es una herramienta para aquellos que desean instalar o actualizar +paquetes fácilmente a través de la red. Con slackpkg, es posible tener una +instalación mínima de Slackware Linux e instalar o actualizar solamente los +paquetes que más necesita. + +No necesita configurar NFS o hacer docenas de CDs para todas sus +computadoras; todo lo que necesita hacer es escribir un comando y todos los +más recientes paquetes oficiales de Slackware estarán en sus manos. + +.SH INSTRUCCIONES +Slackpkg tiene muchas funcionalidades. Puede buscar archivos específicos, +borrar todos los paquetes de terceros en su sistema, instalar paquetes +agregados a Slackware desde su última actualización, mostrar descripciones +de paquetes, etc. + +Antes que nada, es necesario habilitar un espejo en el archivo +/etc/slackpkg/mirrors y ejecutar: + +.in +5 +# slackpkg update +.in + +La acción "update" descargará y formateará la lista de archivos y paquetes +en Slackware. Cada vez que esta lista es cambiada, es necesario actualizar +de nuevo. + +Las características principales de Slackpkg son aquellas directamente +relacionadas con la administración de paquetes: instalar, actualizar, y +eliminar paquetes. Para hacer cualquiera de estas tareas, la sintaxis de +Slackpkg es: + +.in +5 +# slackpkg [OPCIONES] <acción> {PATRÓN|ARCHIVO} +.in + +Las \fIOPCIONES\fP pueden ser una o más de las diferentes opciones de +configuración listadas en /etc/slackpkg/slackpkg.conf. Hay opciones de +línea de comandos equivalentes a la mayoría de las directivas de +configuración presentes en slackpkg.conf \- vea la página de manual +\fBslackpkg.conf(5)\fP para ver cuáles opciones están disponibles. + +\fIPATRÓN\fP puede ser el nombre de un paquete o solo parte del nombre del +paquete. Puede también ser una serie de software (como kde, a, ap, ...). +.br + +\fIARCHIVO\fP es un archivo con una lista de \fIPATRONes\fP dentro: ya sea uno por +línea, o varios en una línea con espacios como separadores. + +Slackpkg puede ser usado para actualizar la distribución completa. +.br +La manera usual es hacer: + +.in +5 +# slackpkg update +.br +# slackpkg install\-new +.br +# slackpkg upgrade\-all +.br +# slackpkg clean\-system +.in + +Otra característica de Slackpkg es la habilidad de trabajar con plantillas, +las cuales pueden facilitar mucho la creación de diferentes máquinas con los +mismos paquetes. Los pasos básicos son los siguientes: + +.RS +5 +.IP \(bu 2 +Instalar una máquina +.IP \(bu 2 +Ejecute "slackpkg generate\-template NOMBREPLANTILLA" +.IP \(bu 2 +Copie /etc/slackpkg/templates/NOMBREPLANTILLA.template al mismo directorio +en la otra máquina +.IP \(bu 2 +Ejecute "slackpkg install\-template NOMBREPLANTILLA" en la otra máquina +.RE + +\fINOMBREPLANTILLA\fP es el nombre de su plantilla. + +Al seguir esta página de manual, puede encontrar qué hacen cada una de éstas +(y otras) acciones. + +.SH ACCIONES +.TP 5 +\fBhelp\fP +.br +Muestra las acciones de slackpkg y una breve descripción. Es útil si +necesita saber algo sobre slackpkg. La información aquí, en la página de +manual, es mucho más completa. + +.TP 5 +\fBupdate\fP +.br +Esta opción descargará la lista más reciente desde un espejo de Slackware (o +su CD). Es buena idea ejecutar + +.in +5 +# slackpkg update +.in + +antes de realizar una actualización, instalación o búsqueda de paquetes. +.br +Si necesita actualizar la llave GPG de Slackware, ejecute + +.in +5 +# slackpkg update gpg +.in + +La llave GPG no cambia. Este debería ser un comando ejecutado una sola vez \- +ejecútelo y luego olvídelo... + +.TP 5 +\fBcheck\-updates\fP +.br +Verifica si existe alguna actualización de ChangeLog.txt. Esto es bueno +usarlo desde cron para alertar al administrador sobre actualizaciones. + +.TP 5 +\fBfile\-search\fP +.br +Es posible buscar en los paquetes oficiales de Slackware cualquier archivo +en la distribución Slackware. ¿Necesita una librería extraña? Use +file\-search para encontrarla. + +.in +5 +# slackpkg file\-search archivo +.in + +Todos los paquetes que coincidan con "archivo" serán mostrados, de manera +que puede ver si los paquetes están instalados o no; si no lo están, puede +descargarlos e instalarlos con otras acciones de slackpkg. + +.TP 5 +\fBsearch\fP +.br +Puede buscar cualquier paquete distribuido con Slackware. + +.in +5 +# slackpkg search patrón +.in + +Todos los paquetes cuyo nombre coincida con "patrón" serán mostrados. Como +file\-search, puede ver si los paquetes están instalados o no; si no lo +están, puede descargarlos e instalarlos con otras acciones de slackpkg. + +.TP 5 +\fBinstall\fP +.br +La instalación de un paquete es muy simple. Solo necesita escribir: + +.in +5 +# slackpkg install paquete +.in + +y el paquete será descargado e instalado. +.br +No es posible utilizar la opción "install" para instalar un paquete que ya +está instalado, pero puede reinstalarlo o actualizarlo. + +.TP 5 +\fBupgrade\fP +.br +La acción "upgrade" instala la versión oficial más reciente del paquete o +paquetes especificados. + +"upgrade" no intentará instalar nuevos paquetes (use la función "install" +para ese propósito; la versión oficial más reciente del paquete será +instalada). +.TP 5 +\fBreinstall\fP +.br +En caso que por error algo se dañe, la opción "reinstall" le permite +reinstalar la misma versión de un paquete que está actualmente instalado. + +.TP 5 +\fBremove\fP +.br +Con "remove", es posible eliminar ciertos paquetes instalados. Por ejemplo: + +.in +5 +# slackpkg remove kde +.in + +eliminará todos los paquetes con "kde" en su nombre. + +.TP 5 +\fBblacklist\fP +.br +Con esta acción, se pueden agregar ciertos paquetes a una "lista negra". +.br +Los paquetes en la lista negra no serán instalados, actualizados o +eliminados por slackpkg. Si necesita eliminar algún paquete de la lista +negra, por favor edite /etc/slackpkg/blacklist. + +.TP 5 +\fBdownload\fP +.br +Esta acción hace que slackpkg descargue los paquetes, pero no los +instala. Serán puestos en /var/cache/packages, y puede instalarlos, +actualizarlos o reinstalarlos más adelante (o quemarlos en un CD). + +.TP 5 +\fBinfo\fP +.br +Esta acción despliega información sobre el paquete: tamaños con y sin +compresión, descripción, etcétera... + +.TP 5 +\fBclean\-system\fP +.br +Esta acción borra todos los paquetes que no pertenecen a una instalación +estándar de Slackware. Con esta opción, puede limpiar su sistema, eliminando +paquetes de terceros así como cualquier paquete que fue eliminado del grupo +de paquetes oficiales de Slackware. +.br +Si tiene algún paquete de terceros (o hecho por ud.) que le gustaría +mantener, puede agregarlo temporalmente a la lista negra de paquetes antes +de ejecutar la acción 'clean\-system'. + +.TP 5 +\fBupgrade\-all\fP +.br +Esta acción actualiza cada paquete instalado en el sistema a la versión en +la estructura de directorios oficial de Slackware; esta es la manera +"correcta" de actualizar el sistema completo. +.br +Recuerde usar la acción "install\-new" antes de usar "upgrade\-all". + +.TP 5 +\fBinstall\-new\fP +Esta acción instala cualquier paquete nuevo que ha sido agregado al grupo +oficial de paquetes de Slackware. Use esto si está actualizando su sistema a +otra versión de Slackware o si está utilizando \-current. +.br +Si desea instalar todos los paquetes desinstalados en su sistema, use el +siguiente comando en lugar de la acción "install\-new": + +.in +5 +# slackpkg install slackware. +.in +.TP 5 +\fBnew\-config\fP +Esta acción busca nuevos archivos de configuracion .new y pregunta al +usuario qué desea hacer con esos archivos. +.br +"new\-config" es muy útil cuando se realiza una actualización y se dejan los +archivos de configuración para ser revisados más adelante. En lugar de +buscarlos manualmente, buscar diferencias y reemplazarlos, puede utilizar la +acción "new\-config". +.TP 5 +\fBgenerate\-template\fP +Esta acción crea una nueva plantilla con todos los paquetes oficiales que +están instalados en su sistema. La plantilla se almacena en +/etc/slackpkg/templates +.TP 5 +\fBinstall\-template\fP +Esta acción instala la plantilla requerida en el sistema. La plantilla debe +estar en /etc/slackpkg/templates. Si la plantilla "incluye" otras +plantillas, todas ellas debe estar en /etc/slackpkg/templates. Puede +deshabilitar las inclusiones en slackpkg.conf o en la línea de comandos. +.TP 5 +\fBremove\-template\fP +Esta acción elimina todos los paquetes que son parte de una plantilla +seleccionada. Tenga cuidado, esto puede poner su máquina en un estado +inutilizable. El manejo de las inclusiones ("include") puede ser activado o +desactivado en slackpkg.conf, o con las opciones apropiadas en la línea de +comandos. + +.SH ARCHIVOS +.TP 5 +\fB/etc/slackpkg/mirrors \fP +Archivo donde se especifica la ubicación para descargar paquetes +.TP 5 +\fB/etc/slackpkg/slackpkg.conf \fP +Configuración general de slackpkg +.TP 5 +\fB/etc/slackpkg/blacklist\fP +Lista de paquetes a ignorar +.TP 5 +\fB/etc/slackpkg/templates\fP +Contiene todos los archivos de plantillas +.TP 5 +\fB/usr/libexec/slackpkg\fP +Contiene el núcleo de slackpkg y funciones adicionales +.TP 5 +\fB/var/lib/slackpkg\fP +Utilizado por slackpkg internamente \- Listas formateadas de paquetes, copia +de ChangeLog.txt, lista de archivos, etcétera... + +.SH "VER TAMBIÉN" +\fBslackpkg.conf\fP(5), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), \fBexplodepkg\fP(8), +\fBmakepkg\fP(8), \fBpkgtool\fP(8). + +.SH AUTORES +.TP 5 +Piter PUNK aka Roberto F Batista +<piterpk AT terra DOT com DOT br> +.TP 5 +Evaldo Gardenali aka UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/manpages-l10n/es.slackpkg.conf b/manpages-l10n/es.slackpkg.conf new file mode 100644 index 0000000..2be8440 --- /dev/null +++ b/manpages-l10n/es.slackpkg.conf @@ -0,0 +1,298 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG.CONF 5 "May 2010" slackpkg\-2.81.1 "" +.SH NOMBRE +\fBslackpkg.conf\fP \- Datos de configuración de slackpkg + +.SH DESCRIPCIÓN + +El archivo slackpkg.conf contiene información para \fBslackpkg\fP (8), una +herramienta automatizada para manejar paquetes de Slackware Linux. + +El archivo slackpkg.conf es una secuencia de variables de script de shell, y +cada variable controla un aspecto de slackpkg. Los comentarios inician con +el símbolo # y terminal hasta el final de la línea, y pueden aparecer en +cualquier lugar dentro del archivo slackpkg.conf. Si alguna variable aparece +más de una vez en el archivo, slackpkg utilizará el valor definido de +último. + +Muchas variables pueden ser reemplazadas por opciones dadas a slackpkg en la +línea de comandos. Si necesita cambiar el valor de \fBVARIABLE\fP , especifique +\fB\-variable=valor\fP en la línea de comandos justo antes de la acción de +slackpkg. Múltiples variables pueden ser cambiadas. + +EJEMPLO: slackpkg \-batch=on \-default_answer=y upgrade\-all + +Para opciones de configuración que solo tienen dos estados, los valores +posibles son "on" u "off" a menos que se indique lo contrario. + +Las diferentes opciones de configuración son: + +.TP 5 +\fBARCH\fP +.br +Selecciona la arquitectura del sistema. Usualmente Slackpkg puede encontrar +el valor correcto utilizando "uname \-m". Los valores aceptados son: + +.ds title MÁQUINA\t\tVALORES VÁLIDOS DE ARCH +.ds arm ARM\t\t\tarm +.ds x86 x86 (32bits)\ti386, i486, i586 y i686 +.ds x86_64 x86 (64bits)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +\fB\*[title]\fP +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +El valor estándar de \fBARCH\fP depende de su arquitectura. + +.TP 5 +\fBSLACKKEY\fP +.br +Slackpkg revisa el archivo de firma del paquete (.asc) con la firma GPG del +proyecto. Dado que versiones de Slackware para otras arquitecturas pueden +tener diferentes firmas, Slackpkg trata de encontrar la firma correcta +automáticamente, basándose en la arquitectura de su sistema. Si la firma +\fBSLACKKEY\fP detectada automáticamente no es correcta, puede cambiarla usando +esta opción. + +El valor estándar de \fBSLACKKEY\fP depende de la arquitectura de Slackware. + +.TP 5 +\fBTEMP\fP +.br +Define la ubicación en la cual slackpkg descargará los paquetes antes de +instalarlos o actualizarlos. + +El valor estándar de \fBTEMP\fP es /var/cache/packages. + +.TP 5 +\fBWORKDIR\fP +.br +Define el directorio para listas de paquetes, listas de archivos, y otra +información utilizada por slackpkg mientras que realiza su trabajo. No +cambie el valor de esta variable a menos que sepa lo que está haciendo. + +El valor estándar de \fBWORKDIR\fP es /var/lib/slackpkg. + +.TP 5 +\fBWGETFLAGS\fP +.br +Establece opciones especiales para wget. Si necesita usar opciones +múltiples, recuerde ponerlas entre comillas dobles. + +El valor estándar de \fBWGETFLAGS\fP es "\-\-passive\-ftp" + +.TP 5 +\fBDELALL\fP +.br +Si se define como "on", todos los archivos descargados serán borrados +después de que slackpkg realice una instalación o actualización (esto NO +tiene ningún efecto cuando slackpkg se ejecuta con la acción "download"). Si +se define como "off", los archivos serán guardados en el directorio definido +en \fBTEMP\fP (como se describió anteriormente). + +El valor estándar de \fBDELALL\fP es "on". +.br +Desde la línea de comandos, puede utilizar \-delall=valor. + +.TP 5 +\fBCHECKMD5\fP +.br +Habilita (on) o deshabilita (off) la revisión de la suma de verificación MD5 +(checksum) de todos los paquetes descargados antes de instalar o actualizar. + +El valor estándar de \fBCHECKMD5\fP es "on". +.br +Desde la línea de comandos, puede utilizar \-checkmd5=valor. + +.TP 5 +\fBCHECKGPG\fP +.br +Habilita (on) o deshabilita (off) la revisión de la firma GPG para cada +paquete antes de instalar o actualizar. + +El valor estándar de \fBCHECKGPG\fP es "on". +.br +Desde la línea de comandos, puede utilizar \-checkgpg=valor. + +.TP 5 +\fBCHECKSIZE\fP +.br +Habilita (on) o deshabilita (off) la revisión de espacio disponible en disco +para cada paquete antes de instalar o actualizar. + +El valor estándar de \fBCHECKSIZE\fP es "off". +.br +Desde la línea de comandos, puede utilizar \-checksize=valor. + +.TP 5 +\fBPKGMAIN\fP +.br +Define el directorio principal de la distribución. Usualmente, no es +necesario preocuparse por esta variable, ya que Slackpkg trata de +encontrarla basándose en su arquitectura. Sin embargo, si necesita +cambiarla, entonces incluya esta variable en su slackpkg.conf. Esta variable +debe ser siempre el directorio que contiene la serie de paquetes de +Slackware (A, AP, D, E, F, ...). + +Estándar: depende de la arquitectura de Slackware + +.TP 5 +\fBPRIORITY\fP +.br +Este arreglo establece la prioridad que tendrán los directorios en el espejo +cuando slackpkg busca paquetes. Si se encuentra un paquete en más de un +lugar, el paquete en el primer directorio tiene prioridad, luego el segundo, +luego el tercero, después el cuarto y finalmente, el paquete encontrado en +el último directorio listado. Puede utilizar %PKGMAIN para usar los +contenidos de la variable PKGMAIN. + +Valores estándar (en orden): patches %PKGMAIN extra pasture testing + +.TP 5 +\fBPOSTINST\fP +.br +Habilita (on) o deshabilita (off) las funcionalidades post\-instalación de +slackpkg, tales como buscar archivos de configuración nuevos (*.new), buscar +nuevas imágenes del kernel, y preguntarle qué se debe hacer en esos casos. + +El valor estándar de \fBPOSTINST\fP es "on". +.br +Desde la línea de comandos, puede utilizar \-postinst=valor. + +.TP 5 +\fBONLY_NEW_DOTNEW\fP +.br +Cuando \fBPOSTINST\fP se define como "on", slackpkg buscará todos los archivos +\&.new dentro de /etc y le preguntará al usuario qué hacer con ellos. Sin +embargo, algunos usuarios prefieren ver solamente los archivos .new +instalados en la última ejecución de slackpkg, así que si esto aplica para +ud., establezca \fBONLY_NEW_DOTNEW\fP en "on". + +El valor estándar de \fBONLY_NEW_DOTNEW\fP es "off". Cambie esto solamente si +sabe lo que está haciendo... +.br +Desde la línea de comandos, puede utilizar \-only_new_dotnew=valor. + +.TP 5 +\fBONOFF\fP +.br +La variable \fBONOFF\fP establece el comportamiento inicial de la interfaz de +diálogo. Si establece esto como "on" entonces todos los paquetes serán +seleccionados de forma predeterminada. Si prefiere la opción opuesta (todos +no seleccionados), entonces establezca esto como "off". + +El valor estándar de \fBONOFF\fP es "on". +.br +Desde la línea de comandos, puede utilizar \-onoff=valor. + +.TP 5 +\fBDOWNLOAD_ALL\fP +.br +Si esta variable se define como "on", todos los archivos serán descargados +antes de que la operación solicitada (instalar o actualizar) se realice. Si +se define como "off", entonces los archivos serán descargados y la operación +(instalar/actualizar) será realizada uno por uno. + +El valor estándar de \fBDOWNLOAD_ALL\fP es "off". +.br +Desde la línea de comandos, puede utilizar \-download_all=valor. + +.TP 5 +\fBDIALOG\fP +.br +Habilita (on) o deshabilita (off) la interfaz de diálogo. + +El valor estándar de \fBDIALOG\fP es "on". +.br +Desde la línea de comandos, puede utilizar \-dialog=valor. + +.TP 5 +\fBDIALOG_MAXARGS\fP +.br +Establece el número máximo de caracteres que serán enviados a "dialog". Si +se llega a este número en una actualización, slackpkg elimina la información +acerca de la versión actual instalada de cada paquete. Si después de +eliminar esta información el número se alcanza de nuevo, slackpkg muestra un +error al usuario. + +Si \fBDIALOG_MAXARGS\fP no está definido, 19500 es el valor predeterminado. +.br +Desde la línea de comandos, puede utilizar \-dialog_maxargs=valor. + +.TP 5 +\fBBATCH\fP +.br +Habilita (on) o deshabilita (off) el modo no\-interactivo. Cuando se ejecuta +en modo de proceso por lotes, slackpkg no preguntará nada al usuario; en +cambio, todas las preguntas serán contestadas con \fBDEFAULT_ANSWER\fP (vea más +abajo). +.br +Si realiza una actualización utilizando este modo, necesitará ejecutar +"slackpkg new\-config" más adelante para encontrar e incorporar archivos +\&.new. + +El valor estándar de \fBBATCH\fP es "off". +.br +Desde la línea de comandos, puede utilizar \-batch=valor. + +.TP 5 +\fBDEFAULT_ANSWER\fP +.br +Esta es la respuesta estándar a las preguntas cuando slackpkg le pide al +usuario alguna información. Esto se usa solamente en modo no\-interactivo +(cuando \fBBATCH\fP es "yes" o el usuario habilita el modo de procesamiento por +lotes desde la línea de comandos); de otra manera, esta variable no tiene +ningún efecto. +.br +Valores aceptados son "y" o "n". + +El valor estándar de \fBDEFAUL_ANSWER\fP es "n". +.br +Desde la línea de comandos, puede utilizar \-default_answer=valor. + +.TP 5 +\fBUSE_INCLUDES\fP +.br +Las plantillas de slackpkg pueden incluir otras plantillas. Esto reduce la +duplicación de paquetes en muchas plantillas, pero también puede ser un +problema si desea eliminar solo una plantilla especifica. Puede deshabilitar +el procesamiento de la instrucción #include al definir esta opción como +"off". + +El valor estándar de \fBUSE_INCLUDES\fP es "on". +.br +Desde la línea de comandos, puede utilizar \-use_includes=value. + +.TP 5 +\fBSPINNING\fP +.br +Cuando Slackpkg está haciendo alguna actividad que requiere cierto tiempo, +muestra un indicador visual con una barra giratoria. Si no le gusta la barra +giratoria, puede ser deshabilitada definiendo esta opción como "off". + +El valor estándar de \fBSPINNING\fP es "on". +.br +Desde la línea de comandos, puede utilizar \-spinning=valor. + +.SH ARCHIVOS +.TP 5 +\fB/etc/slackpkg/slacpkg.conf\fP + +.SH "VER TAMBIÉN" +\fBslackpkg\fP(8) \fBpkgtool\fP(8) \fBinstallpkg\fP(8) \fBupgradepkg\fP(8) +\fBremovepkg\fP(8) diff --git a/manpages-l10n/fa.slackpkg b/manpages-l10n/fa.slackpkg new file mode 100644 index 0000000..740da97 --- /dev/null +++ b/manpages-l10n/fa.slackpkg @@ -0,0 +1,322 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG 8 "می ۲۰۱۰" slackpkg\-2.81.1 "" +.SH نام +؛ \fBslackpkg\fP \- ابزار اتوماتیک برای مدیریت پکیج های اسلکور لینوکس ؛ + +.SH اختصار +\fBslackpkg\fP \fB[گزینه ها]\fP +\fB{install|remove|search|upgrade|reinstall|blacklist}\fP +\fB{\fP\fIفایل\fP\fB|\fP\fIالگو\fP\fB}\fP + +\fBslackpkg [گزینه ها] {clean\-system|upgrade\-all|install\-new}\fP + +\fBslackpkg\fP \fB[گزینه ها]\fP \fB{search|file\-search}\fP \fB{\fP\fIفایل\fP\fB|\fP\fIالگو\fP\fB}\fP + +\fBslackpkg\fP \fB[گزینه ها]\fP +\fB{generate\-template|install\-template|remove\-template}\fP \fIقالب\fP + +\fBslackpkg [گزینه ها] info\fP \fIپکیج\fP + +\fBslackpkg [گزینه ها] update [gpg]\fP + +\fBslackpkg [گزینه ها] {new\-config|check\-updates}\fP + +\fBslackpkg [گزینه ها] help\fP + +.SH توصیف +فرمان slackpkg یک ابزار برای کسانی است که می خواهند به راحتی از طریق شبکه +پکیج ها را نصب کنند و یا ارتقا دهند. با استفاده از این ابزار شما می توانید +اسلکور را به صورت حداقلی نصب کرده و صرفا پکیج هایی را نصب کرده و یا ارتقاء +دهید که به آنها بیشتر نیاز دارید. + +شما نیاز به تنظیم فایل سیستم شبکه (NFS) و یا ساخت تعداد زیادی CD برای تمام +کامپیوترهایتان ندارید. آنچه نیاز دارید تنها تایپ یک فرمان است تا آخرین نسخه +پکیج های رسمی اسلکور در اختیار شما باشد. + +.SH راهنما +ابزار Slackpkg امکانات زیادی دارد. می تواند فایل خاصی را جستجو کند، تمام +پکیج های غیررسمی را از سیستم شما حذف کند، تمام پکیج های اضافه شده به اسلکور +پس از آخرین بروزرسانی را روی سیستم نصب کند، توصیف پکیج را نمایش دهد و غیره. + +قبل از اینکه عملی انجام دهید, باید یکی از مخازن واقع در فایل موجود در مسیر +etc/slackpkg/mirrors/ بدون علامت کرده (علامت # را از جلوی آینه مورد نظرتان +حذف کرده) و فرمان زیر را اجرا کنید: + +.in +5 +# slackpkg update +.in + +عملیات "update" لیست فایلها و پکیج ها را در اسلکور دانلود و فرمت می کند. هر +زمانی که این لیست تغییر کند لازم است که update دوباره اجرا شود. + +مهمترین خصوصیات slackpkg آنهایی هستند که مستقیما به مدیریت پکیج ها مربوط +هستند: نصب، ارتقاء و حذف پکیج ها. برای انجام هرکدام از این موارد، فرمان +slackpkg به صورت زیر می باشد: + +.in +5 +# slackpkg [OPTIONS] <action> {PATTERN|FILE} +.in + +\fIگزینه ها\fP (OPTIONS) می تواند شامل یک یا چند گزینه پیکربندی لیست شده در +فایل موجود در مسیر etc/slackpkg/slackpkg.conf/ باشد. گزینه های خط فرمان +مشابهی برای فرمانهای پیکربندی در فایل slackpkg.conf یافت می شود. برای مشاهده +لیست گزینه های موحود به صفحه راهنمای \fBslackpkg.conf\fP مراجعه کنید. + +\fIالگو\fP (PATTERN) می تواند نام یک پکیج یا فقط بخشی از نام پکیج باشد. همچنین +می تواند نام سری نرم افزاری (نظیر kde ،a ،ap و غیره) باشد. +.br + +\fIفایل\fP (FILE) نام فایلی است که لیستی از \fIالگوها\fP در آن چه به صورت یک الگو +در هر سطر و چه به صورت چند الگو در هر سطر که بوسیله فاصله از هم جدا شده اند، +قرار دارد. + +ابزار Slackpkg می تواند برای ارتقاء تمام سیستم عامل مورد استفاده قرار گیرد. +.br +روش معمول عبارت است از: + +.in +5 +# slackpkg update +.br +# slackpkg install\-new +.br +# slackpkg upgrade\-all +.br +# slackpkg clean\-system +.in + +خصوصیت دیگر Slackpkg توانایی کار با قالب هاست که ایجاد سیستم هایی با پکیج +های یکسان را امکان پذیر می سازد. مراحل اصلی کار عبارتند از: + +.RS +5 +.IP \(bu 2 +نصب به روی یک سیستم +.IP \(bu 2 +اجرای فرمان "قالب slackpkg generate\-template" +.IP \(bu 2 +کپی کردن "template.قالب/etc/slackpkg/templates/" در همان دایرکتوری در سیستم +دیگر +.IP \(bu 2 +اجرای فرمان "قالب slackpkg install\-template" در سیستم دیگر +.RE + +\fIقالب\fP همان نام قالب مورد استفاده شماست. + +با استفاده از این صفحه راهنما، شما می توانید بفهمید که هر کدام از این (و +دیگر) گزینه ها چه عملی انجام می دهند. + +.SH عملیاتها +.TP 5 +\fBhelp\fP +.br +عملیاتهای slackpkg و توصیف کوتاهی از آنها را نمایش می دهد. اگر بخواهید +اطلاعات مختصری از slackpkg بدست آورید مفید است. اطلاعات ارائه شده در اینجا +(صفحه راهنما) بسیار کاملتر است. + +.TP 5 +\fBupdate\fP +.br +آخرین لیست پکیج ها را از یک مخزن اسلکور (یا CD شما) دانلود می کند. اجرای این +فرمان: + +.in +5 +# slackpkg update +.in + +قبل از تلاش برای ارتقاء، نصب و یا جستجوی پکیج ها ایده خوبیست. +.br +اگر نیاز دارید که کلید GPG اسلکور را بروزرسانی کنید فرمان زیر را اجرا کنید: + +.in +5 +# slackpkg update gpg +.in + +کلید GPG تغییر نمی کند. بنابراین این یک فرمان یکبار مصرف است. آن را یکبار +اجرا کرده و فراموش کنید... + +.TP 5 +\fBcheck\-updates\fP +.br +مشخص می کند که آیا بروزرسانی در Changelog.txt وجود دارد یا خیر. خوب است که +این فرمان از cron اجرا شود تا مدیر سیستم را درباره بروزرسانیها آگاه کند. + +.TP 5 +\fBfile\-search\fP +.br +شما می توانید پکیج های رسمی اسلکور را برای هر فایلی در توزیع اسلکور مورد +جستجو قرار دهید. آیا به دنبال یک کتابخانه ناآشنا هستید؟ از file\-search برای +پیدا کردن آن استفاده کنید. + +.in +5 +# slackpkg file\-search فایل +.in + +تمام پکیج هایی که با کلمه "فایل" مطابقت داشته باشند، نمایش داده خواهند +شد. بنابراین می توانید ببینید که آیا پکیج نصب شده یا خیر؛ در صورت عدم نصب، +شما می توانید با استفاده از دیگر عملیات slackpkg آنها را دانلود و نصب کنبد. + +.TP 5 +\fBsearch\fP +.br +شما می توانید تمام پکیج های توزیع شده در اسلکور را مورد جستجو قرار دهید. + +.in +5 +# slackpkg search الگو +.in + +تمام پکیج هایی که نام آنها با "الگو" مطابقت داشته باشد نمایش داده خواهند +شد. همانند file\-search شما می توانید مشاهده کنید که آیا پکیج نصب است و اگر +نصب نیست آن را بوسیله دیگر عملیات دانلود و نصب کنید. + +.TP 5 +\fBinstall\fP +.br +نصب یک پکیج بسیار ساده است. شما تنها نیاز به تایپ فرمان + +.in +5 +# slackpkg install پکیج +.in + +دارید که پکیج را دانلود و نصب می کند. +.br +شما نمی توانید از گزینه install برای نصب پکیجی که از قبل روی سیستم نصب شده +استفاده کنید، اما می توانید آن را بازنصب کرده و یا ارتقاء دهید. + +.TP 5 +\fBupgrade\fP +.br +جدیدترین نسخه پکیج یا پکیج های رسمی مشخص شده را نصب می کند + +فرمان upgrade برای نصب پکیج های جدید تلاش نمی کند (برای این منظور از دستور +install استفاده کنید که باعث نصب آخرین نسخه رسمی پکیج می شود). +.TP 5 +\fBreinstall\fP +.br +اگر به اشتباه چیزی را خراب کرده باشید، گزینه reinstall به شما اجازه می دهد +تا نسخه مشابه پکیجی که قبلا نصب شده است را بازنصب کنید. + +.TP 5 +\fBremove\fP +.br +با remove شما می توانید پکیج های نصب شده مشخصی را حذف کنید. در مثال زیر: + +.in +5 +# slackpkg remove kde +.in + +تمام پکیج هایی که عبارت "kde" در نام آنها وجود دارد، حذف خواهند شد. + +.TP 5 +\fBblacklist\fP +.br +با این عملیات، شما می توانید پکیج های خاصی را وارد لیست سیاه کنید. +.br +پکیج هایی که وارد لیست سیاه شده اند بوسیله slackpkg نصب، ارتقاء و حذف +نخواهند شد. اگر می خواهید برخی پکیج ها را از لیست سیاه خارج کنید، فایل واقع +در مسیر etc/slackpkg/blacklist/ را تدوین کنید. + +.TP 5 +\fBdownload\fP +.br +با استفاده از این گزینه slackpkg پکیج را دانلود می کند اما آن را نصب نمی +کند. پکیج های دانلود شده در مسیر var/cache/packages/ ذخیره می شوند و شما می +توانید آنها را بعدا نصب کنید، ارتقاء دهید و یا بازنصب نمایید (یا حتی روی CD +رایت کنید). + +.TP 5 +\fBinfo\fP +.br +این گزینه اطلاعاتی در مورد پکیج (ها) نظیر سایز معمولی و فشرده، توصیف و غیره +ارائه می کند. + +.TP 5 +\fBclean\-system\fP +.br +این عملیات تمام پکیج هایی که متعلق به نصب استاندارد اسلکور نیستند، حذف می +کند. با این گزینه، شما می توانید سیستم خود را پاکسازی کرده و پکیج های +غیررسمی را علاوه بر پکیج های حذف شده از سری رسمی پکیج های اسلکور (واقع در +مخزن اینترنی)، حذف کنید. +.br +اگر برخی پکیج های غیررسمی (با سفارشی شده) دارید که تمایل به نگاهداری آنها +دارید، می توانید موقتا آنها را قبل از اجرای این عملیات در لیست سیاه وارد +کنید. + +.TP 5 +\fBupgrade\-all\fP +.br +این عملیات تمام پکیج های نصب شده روی سیستم شما را به نسخه رسمی اسلکور ارتقاء +می دهد. استفاده از این گزینه یک روش خوب برای ارتقاء کلی سیستم می باشد. +.br +به یاد داشته باشید که قبل از upgrade\-all از install\-new استفاده کنید. + +.TP 5 +\fBinstall\-new\fP +این عملیات هر پکیج تازه ای که به سری رسمی پکیج های اسلکور اضافه شده باشد نصب +می کند. اگر می خواهید سیستم اسلکور خود را به نسخه جدیدتر ارتقاء دهید و یا +اگر از نسخه current\- استفاده می کنید، این عملیات را اجرا کنید. +.br +اگر می خواهید تمام پکیج های حذف شده اسلکور را روی سیستم نصب کنید، به جای +install\-new از فرمان زیر استفاده کنید: + +.in +5 +# slackpkg install slackware. +.in +.TP 5 +\fBnew\-config\fP +این عملیات فایل های پیکربندی "new." را جستجو کرده و از کاربر سئوال می کند که +می خواهد با آنها چه کند. +.br +new\-config برای زمانی که سیستم را ارتقاء داده و فایل های پیکربندی را برای +بازبینی های بعدی رها می کنید، گزینه مفیدی است. به جای جستجوی و جایگزینی دستی +می توانید از new\-config استفاده کنید. +.TP 5 +\fBgenerate\-template\fP +این عملیات قالب جدیدی شامل تمام پکیج های رسمی اسلکور نصب شده روی سیستم شما +ایجاد می کند. قالب در مسیر etc/slackpkg/templates/ ذخیره می شود. +.TP 5 +\fBinstall\-template\fP +این عملیات قالب درخواست شده را روی سیستم نصب می کند. قالب باید در مسیر +etc/slackpkg/templates/ باشد. اگر قالب حاوی (includes) قالب های دیگر بود +تمام آنها باید در مسیر etc/slackpkg/templates/ باشند. شما می توانید گزینه +"includes" را در slackpkg.conf یا در خط فرمان غیرفعال کنید. +.TP 5 +\fBremove\-template\fP +این گزینه تمام پکیج هایی که بخشی از قالب انتخاب شده هستند، حذف می کند. مراقب +باشید، این گزینه می تواند سیستم شما را بلااستفاده کند. مدیریت "include" می +تواند در slackpkg.conf یا بوسیله گزینه مناسب در خط فرمان فعال/غیرفعال شود. + +.SH فایلها +.TP 5 +\fB/etc/slackpkg/mirrors \fP +این فایل محلی که پکیج ها باید از آنجا دانلود شوند، مشخص می کند. +.TP 5 +\fB/etc/slackpkg/slackpkg.conf \fP +فایل پیکربندی عمومی slackpkg +.TP 5 +\fB/etc/slackpkg/blacklist\fP +فایل حاوی لیست پکیج هایی که باید نادیده گرفته شوند. +.TP 5 +\fB/etc/slackpkg/templates\fP +حاوی تمام فایلهای قالب ها می باشد. +.TP 5 +\fB/usr/libexec/slackpkg\fP +شامل هسته slackpkg و کارکردهای اضافی آن می باشد. +.TP 5 +\fB/var/lib/slackpkg\fP +شامل آیتم های مورد نیاز برای استفاده از slackpkg نظیر لیست پکیج ها، کپی فایل +"ChangeLog.txt" و لیست فایل ها و غیره می باشد. + +.SH "نگاه کنید به:" +\fBslackpkg.conf\fP(5), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), \fBexplodepkg\fP(8), +\fBmakepkg\fP(8), \fBpkgtool\fP(8). + +.SH نویسندگان +.TP 5 +Piter PUNK aka Roberto F Batista +<piterpk AT terra DOT com DOT br> +.TP 5 +Evaldo Gardenali aka UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/manpages-l10n/fa.slackpkg.conf b/manpages-l10n/fa.slackpkg.conf new file mode 100644 index 0000000..cf24384 --- /dev/null +++ b/manpages-l10n/fa.slackpkg.conf @@ -0,0 +1,292 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG.CONF 5 "می ۲۰۱۰" slackpkg\-2.81.1 "" +.SH نام +؛ \fBslackpkg.conf\fP فایل حاوی اطلاعات پیکربندی slackpkg ؛ + +.SH توصیف + +فایل slackpkg.conf حاوی اطلاعاتی برای \fBslackpkg\fP به عنوان ابزار اتوماتیک +پکیج های اسلکور لینوکس می باشد. + +فایل slackpkg.conf گروهی از اسکریپت های shell است که هر متغیر آن جنبه ای از +ابزار slackpkg را کنترل می کند. کامنت ها با کاراکتر # آغاز شده و با انتهای +هر خط پایان می یابند. کامنت ها ممکن است در هر جای فایل یافت شوند. اگر برخی +متغیرها در این فایل چندبار تکرار شوند، اسلکور از مقداری که آخر از همه تعیین +شده استفاده می کند. + +بسیاری از متغیرها با گزینه هایی که در خط فرمان برای slackpkg تعیین می'گردند، +بی اثر می شوند. اگر می خواهید مقدار یک \fBمتغیر\fP را بی اثر کنید، در خط فرمان +قبل از عملیات مورد نظر \fBمقدار=متغیر\fP را وارد کنید. همچنین چندین متغیر می +توانند به صورت همزمان بی اثر شوند. + +مثال: slackpkg \-batch=on \-default_answer=y upgrade\-all + +برای گزینه های پیکربندی که تنها دو وضعیت می توانند داشته باشند، مقادیر محتمل +on یا off هستند مگر اینکه مقادیر دیگری مشخص شده باشند. + +گزینه های مختلف پیکربندی عبارتند از: + +.TP 5 +\fBARCH\fP +.br +معماری سیستم را انتخاب می کند. معمولا slcakpkg می تواند مقدار درست را از +طریق "uname \-m" بفهمد. مقادیر معتبر عبارتند از: + +.ds title MACHINE\t\tVALID ARCH VALUES +.ds arm ARM\t\t\tarm +.ds x86 x86 (32bits)\ti386, i486, i586 and i686 +.ds x86_64 x86 (64bits)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +\fB\*[title]\fP +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +مقدار پیش فرض \fBARCH\fP بستگی به معماری سیستم شما دارد. + +.TP 5 +\fBSLACKKEY\fP +.br +ابزار slackpkg فایل امضاء پکیج (asc.) را با امضاء GPG پروژه مطابقت می +دهد. پورتهای مختلف اسلکور می توانند امضاء های مختلفی داشته باشند و slackpkg +تلاش می کند که امضاء درست را براساس معماری سیستم شما تشخیص دهد. اگر +\fBSLACKKEY\fP که به صورت اتوماتیک شناسایی شده درست نباشد. شما می توانید با +استفاده از این گزینه آن را تغییر دهید. + +مقدار پیش فرض \fBSLACKKEY\fP بستگی به پورت اسلکور شما دارد. + +.TP 5 +\fBTEMP\fP +.br +محلی که slackpkg پکیج ها را قبل از نصب/ارتقاء در آنجا دانلود می کند، تعیین +می نماید. + +مقدار پیش فرض \fBTEMP\fP مسیر var/cache/packages/ می باشد. + +.TP 5 +\fBWORKDIR\fP +.br +محل دایرکتوری لیست پکیج ها، فایلها و دیگر اطلاعات مورد نیاز برای ابزار +slackpkg را مشخص می کند. تا وقتی که کاملا از کاری که می کنید مطمئن نیستید، +مقدار پیش فرض این متغیر را تغییر ندهید. + +مقدار پیش فرض \fBWORKDIR\fP مسیر var/lib/slackpkg/ می باشد. + +.TP 5 +\fBWGETFLAGS\fP +.br +گزینه های ویژه برای wget را انتخاب می کند. اگر می خواهید که از چند گزینه +استفاده کنید، آنها را مابین " " قرار دهید. + +مقدار پیش فرض \fBWGETFLAGES\fP عبارت است از "passive\-ftp\-\-" + +.TP 5 +\fBDELALL\fP +.br +اگر روی "on" تنظیم شود، تمام فایلهای دانلود شده پس از نصب یا ارتقاء پکیج ها +بوسیله slackpkg حذف خواهند شد (این عمل تأثیری بر عملکرد slackpkg با گزینه +"download" نخواهد داشت). اگر روی "off" تنظیم شود، تمام فایلها را در مسیر +تعیین شده در متغیر \fBTEMP\fP نگاهداری خواهد کرد. + +مقدار پیش فرض \fBDELALL\fP عبارت است از "on" +.br +از طریق خط فرمان، شما می توانید این متغیر را به صورت "مقدار=delall\-" تنظیم +کنید. + +.TP 5 +\fBCHECKMD5\fP +.br +عملیات بررسی MD5 پکیج های دانلود شده قبل از نصب و ارتقاء آنها را فعال (on) +یا غیرفعال (off) می کند. + +مقدار پیش فرض \fBCHECKMD5\fP عبارت است از "on" +.br +با خط فرمان می توانید مقدار این متغیر را با استفاده از "مقدار=checkmd5\-" +تنظیم کنید. + +.TP 5 +\fBCHECKGPG\fP +.br +بررسی امضاء GPG پکیج ها را قبل از نصب یا ارتقاء آنها فعال (on) یا غیرفعال +(off) می کند. + +مقدار پیش فرض برای \fBCHECHGPG\fP عبارت است از "on" +.br +تنظیم این متغیر با خط فرمان بوسیله "مقدار=checkgpg\-" امکانپذیر است. + +.TP 5 +\fBCHECKSIZE\fP +.br +چک کردن فضای خالی موجود برای هر پکیج قبل از نصب یا ارتقاء آن را فعال (on) یا +غیرفعال (off) می کند. + +مقدار پیش فرض متغیر \fBCHECKSIZE\fP عبارت است از "off". +.br +برای تنظیم این متغیر از خط فرمان می توانید از "مقدار=checksize\-" استفاده +کنید. + +.TP 5 +\fBPKGMAIN\fP +.br +دایرکتوری اصلی توزیع را مشخص می کند. معمولا، شما نباید نگران این متغیر +باشید. چون slackpkg تلاش می کند که محل دایرکتوری را براساس معماری سیستم شما +بیابد. به هر حال اگر نیاز یه تغییر این دایرکتوری داشتید آن را در +slackpkg.conf وارد کنید. این دایرکتوری همواره باید حاوی سریهای پکیج های +اسکلور (مانند A, AP, D, E, F و غیره) باشد. + +مقدار پیش فرض بستگی به پورت اسلکور شما دارد. + +.TP 5 +\fBPRIORITY\fP +.br +این متغیر اولویت دایرکتوریهای موجود در لینک اینترنتی را به هنگام جستجوی پکیج +بوسیله slackpkg مشخص می کند. اگر یک پکیج در بیش از یک مکان یافت شد، اول پکیج +موجود در دایرکتوری اول، بعد دایرکتوری دوم، سوم، چهارم و نهایتا پکیج موجود در +آخرین دایرکتوری لیست شده دارای اولویت خواهند بود. شما می توانید از PKGMAIN% +برای استفاده از محتویات متغیر PKGMAIN استفاده کنید. + +مقادیر پیش فرض (به ترتیب) عبارتند از: + patches %PKGMAIN extra pasture testing + +.TP 5 +\fBPOSTINST\fP +.br +اقدامات پس از نصب پکیج ها توسط slackpkg نظیر جستجوی فایل پیکربندی و ایمیج +کرنل جدید را فعال (on) یا غیرفعال (off) کرده و در خصوص اقدامات بعدی از شما +سئوال می کند. + +مقدار پیش فرض متغیر \fBPOSTINST\fP عبارت است از "on" +.br +از طریق خط فرمان شما می توانید از "مقدار=postinst\-" استفاده کنید. + +.TP 5 +\fBONLY_NEW_DOTNEW\fP +.br +زمانی که \fBPOSTINST\fP روی "on" تنظیم شود، slackpkg تمام فایلهای "new." را در +مسیر etc/ جستجو کرده و به کاربر هشدار می دهد که با آنها چه کند. به هر حال، +برخی ترجیح می دهند که نصب فایلهای "new." را در آخرین مرحله اجرای slackpkg +انجام دهند، پس اگر شما هم تمایل به اینکار دارید، مقدار \fBONLY_NEW_DOTNEW\fP را +روی "on" تنظیم کنید. + +مقدار پیش فرض \fBONLY_NEW_DOTNEW\fP روی "off" تنظیم شده است. تنها زمانی آن را +تغییر دهید که بدانید چه دارید می کنید... +.br +از طریق خط فرمان، شما می توانید از "مقدار=only_new_dotnew\-" استفاده کنید. + +.TP 5 +\fBONOFF\fP +.br +متغیر \fBONOFF\fP رفتار ابتدایی رابط کاربری مبتنی بر دیالوگ را تنظیم می +کند. اگر روی "on" تنظیم شود، تمام پکیج ها به صورت پیش فرض انتخاب می +شوند. اگر تمایل به انتخاب مقدار مخالف دارید (هیچ پکیجی انتخاب شده نباشد)، آن +را روی "off" تنظیم کنید. + +مقدار پیش فرض \fBONOFF\fP روی "on" تنظیم شده است. +.br +برای خط فرمان می توانید از "مقدار=onoff\-" استفاده کنید. + +.TP 5 +\fBDOWNLOAD_ALL\fP +.br +اگر این متغیر روی "on" تنظیم شود، تمام فایلها قبل از اجرای عملیات مورد نیاز +(نصب یا ارتقاء) دانلود می شوند. اگر روی "off" تنظیم شود، فرایند دانلود و +نصب/ارتقاء هر فایل یکی پس از دیگری انجام می شود. + +مقدار پیش فرض \fBDOWNLOAD_ALL\fP عبارت است از "off" +.br +برای خط فرمان می توانید از "مقدار=download_all\-" استفاده کنید. + +.TP 5 +\fBDIALOG\fP +.br +رابط کاربری مبتنی بر دیالوگ را فعال (on) یا غیرفعال (off) می کند. + +مقدار پیش فرض متغیر \fBDIALOG\fP عبارت است از "on" +.br +برای خط فرمان می توانید از "مقدار=dialog\-" استفاده کنید. + +.TP 5 +\fBDIALOG_MAXARGS\fP +.br +تعداد حداکثر کاراکترهایی که به دیالوگ فرستاده خواهند شد تنظیم می کند. اگر +فرایند ارتقاء به این عدد برسد، slackpkg اطلاعات مربوط به پکیج هایی که در حال +حاضر روی سیستم نصب شده اند پاک می کند. حتی اگر بدون این اطلاعات این عدد +دوباره بدست آید، slackpkg یک پیغام خطا به کاربر نشان می دهد. + +اگر \fBDIALOG_MAXARGS\fP تنظیم نشود، مقدار پیش فرض آن "19500" می باشد. +.br +برای خط فرمان می توانید از "مقدار=dialog_maxargs\-" استفاده کنید. + +.TP 5 +\fBBATCH\fP +.br +حالت غیرتعاملی را فعال (on) یا غیرفعال (off) می کند. زمانیکه روی مقدار "on" +تنظیم شود، slackpkg هیچ هشداری به کاربر نداده و پاسخ تمام سئوالها را از +\fBDEFAULT_ANSWER\fP بدست می آورد (به پائین مراجعه کنید) +.br +اگر با استفاده از این حالت عملیات ارتقاء را انجام دهید، شما نیاز دارید بعدا +فرمان "slackpkg new\-config" را برای جستجو و ادغام فایلهای "new." اجرا کنید. + +مقدار پیش فرض \fBBATCH\fP عبارت است از "off" +.br +برای خط فرمان می توانید از "مقدار=batch\-" استفاده کنید. + +.TP 5 +\fBDEFAULT_ANSWER\fP +.br +این متغیر همان پاسخ پیش فرضی سئوالاتی است که slackpkg برای برخی اطلاعات از +کاربر می پرسد. این متغیر تنها زمانی که از حالت غیرتعاملی استفاده شود (زمانی +که \fBBATCH\fP روی مقدار "yes" تنظیم شود و یا حالت batch از طریق خط فرمان روشن +شود)، مورد استفاده قرار می گیرد. در غیر اینصورت این متغیر هیچ اثری نخواهد +داشت. +.br +مقادیر معتبر "y" یا "n" هستند. + +مقدار پیش فرض \fBDEFAULT_ANSWER\fP روی "n" تنظیم شده است +.br +برای خط فرمان می توانید از "مقدار=default_answer\-" استفاده کنید. + +.TP 5 +\fBUSE_INCLUDES\fP +.br +قالبهای slackpkg می توانند شامل قالبهای دیگر باشند. گرچه این عمل باعث عدم +تکرار پکیج در بسیاری از قالبها می شود، اما اگر بخواهید تنها یک قالب مخصوص را +حذف کنید. می تواند مشکل ساز شود. شما می توانید گزینه "include#" را با تنظیم +این متغیر روی "off" غیرفعال کنید. + +مقدار پیش فرض \fBUSE_INCLUDES\fP روی "on" تنظیم شده است. +.br +برای خط فرمان می توانید از "مقدار=use_includes\-" استفاده کنید. + +.TP 5 +\fBSPINNING\fP +.br +وقتی slackpkg یک کار زمانبر انجام می دهد، یک بازخورد تصویری به صورت یک میله +چرخان نمایش می دهد. اگر میله چرخان را دوست ندارید، می توانید آن را با تنظیم +این متغیر روی "off" غیرفعال کنید. + +مقدار پیش فرض \fBSPINNING\fP روی "on" تنظیم شده است. +.br +برای خط فرمان می توانید از "مقدار=spinning\-" استفاده کنید. + +.SH فایلها +.TP 5 +\fB/etc/slackpkg/slacpkg.conf\fP + +.SH "نگاه کنید به:" +\fBslackpkg\fP(8) \fBpkgtool\fP(8) \fBinstallpkg\fP(8) \fBupgradepkg\fP(8) +\fBremovepkg\fP(8) diff --git a/manpages-l10n/fr.slackpkg b/manpages-l10n/fr.slackpkg new file mode 100644 index 0000000..e7b11c8 --- /dev/null +++ b/manpages-l10n/fr.slackpkg @@ -0,0 +1,340 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG 8 "Mai 2010" slackpkg\-2.81.1 "" +.SH NOM +\fBslackpkg\fP \- Outil de gestion automatisée des paquets Slackware Linux + +.SH SYNOPSIS +\fBslackpkg\fP \fB[OPTIONS]\fP +\fB{install|remove|search|upgrade|reinstall|blacklist}\fP +\fB{\fP\fIMOTIF\fP\fB|\fP\fIFICHIER\fP\fB}\fP + +\fBslackpkg [OPTIONS] {clean\-system|upgrade\-all|install\-new}\fP + +\fBslackpkg\fP \fB[OPTIONS]\fP \fB{search|file\-search}\fP +\fB{\fP\fIMOTIF\fP\fB|\fP\fIFICHIER\fP\fB}\fP + +\fBslackpkg\fP \fB[OPTIONS]\fP +\fB{generate\-template|install\-template|remove\-template}\fP \fINOMDEPATRON\fP + +\fBslackpkg [OPTIONS] info\fP \fIPAQUET\fP + +\fBslackpkg [OPTIONS] update [gpg]\fP + +\fBslackpkg [OPTIONS] {new\-config|check\-updates}\fP + +\fBslackpkg [OPTIONS] help\fP + +.SH DESCRIPTION +Slackpkg est un outil pour ceux qui veulent installer ou mettre à niveau +facilement des paquets via le réseau. Avec slackpkg, vous pouvez avoir une +installation minimale de Slackware et installer/mettre à niveau seulement +les paquets dont vous avez le plus besoin. + +Vous n'avez pas besoin de configurer NFS ou de graver des douzaines de CDs +pour tous vos ordinateurs ; tout ce dont vous avez besoin est de taper une +commande et vous avez tous les plus récents paquets officiels au bout des +doigts. + +.SH INSTRUCTIONS +Slackpkg a beaucoup de fonctions. Il peut chercher des fichiers spécifiques, +enlever tous les paquets tiers de votre système, installer les paquets +ajoutés à Slackware depuis votre dernière mise à jour, afficher la +description de paquets, etc. + +Avant de faire quoi que ce soit, vous aurez besoin de dé\-commenter un miroir +dans le fichier /etc/slackpkg/mirrors et d'exécuter : + +.in +5 +# slackpkg update +.in + +L'action "update" (mise à jour) télé\-charge et met en forme la liste des +fichiers et paquets de Slackware. Chaque fois que cette liste change, la +mise à jour doit être effectuée. + +Les principales fonctions de Slackpkg sont celles directement liées à la +gestion des paquets : install (installer), upgrade (mettre à niveau) et +remove (enlever) des paquets. Pour effectuer l'une de ces tâches, la syntaxe +de Slackpkg est : + +.in +5 +# slackpkg [OPTIONS] <action> {MOTIF|FICHIER} +.in + +\fIOPTIONS\fP peut être une ou plusieurs des nombreuses options de +configuration listées dans /etc/slackpkg/slackpkg.conf. Il existe des +options en ligne de commande pour la plupart des directives de configuration +trouvées dans slackpkg.conf \- voir la page de manuel \fBslackpkg.conf(5)\fP +pour savoir quelles options sont disponibles. + +\fIMOTIF\fP peut être un nom de paquet ou juste une partie d'un nom de +paquet. Ce peut aussi être une série de logiciels (comme kde, a, ap, ...) +.br + +\fIFICHIER\fP est un fichier contenant une liste de \fIMOTIFs\fP : soit un par +ligne, soit plusieurs par ligne séparés par des espaces. + +Slackpkg peut être utilisé pour mettre à niveau toute la distribution. +.br +La manière habituelle de le faire est la suivante : + +.in +5 +# slackpkg update +.br +# slackpkg install\-new +.br +# slackpkg upgrade\-all +.br +# slackpkg clean\-system +.in + +Une autre caractéristique de Slackpkg est sa capacité à travailler avec des +patrons, ce qui peut rendre beaucoup plus aisé l'installation sur +différentes machines avec le même contenu en paquets. Les étapes de base +sont les suivantes: + +.RS +5 +.IP \(bu 2 +Installer sur une machine +.IP \(bu 2 +Exécuter "slackpkg generate\-template NOMDEPATRON" +.IP \(bu 2 +Copier /etc/slackpkg/templates/TEMPLATENAME.template vers le même répertoire +sur l'autre machine +.IP \(bu 2 +Exécuter "slackpkg install\-template NOMDEPATRON" sur l'autre machine +.RE + +\fINOMDEPATRON\fP est le nom de votre patron. + +En suivant cette page de manuel vous pourrez trouver ce que chacune de ces +actions (et des autres) fait. + +.SH ACTIONS +.TP 5 +\fBhelp\fP +.br +Montre les actions de slackpkg et une brève description de celles\-ci. Utile +pour s'initier à slackpkg. L'information fournie ici, sur cette page de +manuel, est beaucoup plus complète. + +.TP 5 +\fBupdate\fP +.br +update (mise à jour) télé\-charge la liste de paquets la plus récente à +partir d'un miroir Slackware (ou de votre CD). C'est une bonne idée de +l'exécuter + +.in +5 +# slackpkg update +.in + +avant de tenter upgrade (mettre à niveau), install (installer) ou search +(chercher des paquets). +.br +Si vous avez besoin de mettre à jour la clef GPG de Slackware, exécutez + +.in +5 +# slackpkg update gpg +.in + +La clef GPG ne change pas. C'est une commande à exécuter une seule fois \- +faites\-le, et n'y pensez plus. + +.TP 5 +\fBcheck\-updates\fP +.br +Vérifie si le fichier ChangeLog.txt a été mis à jour. C'est bien de la +lancer depuis une tâche cron pour alerter l'administrateur à propos des +mises à jour. + +.TP 5 +\fBfile\-search\fP +.br +Vous pouvez chercher parmi les paquets Slackware officiels lesquels +contiennent n'importe quel fichier de la distribution Slackware. Vous avez +besoin d'une bibliothèque étrange ? Utilisez file\-search pour la trouver. + +.in +5 +# slackpkg file\-search nomdefichier +.in + +Tous les paquets comportant "nomdefichier" seront affichés, ainsi vous +pourrez voir si ces paquets sont installés ou non ; s'ils ne le sont pas, +vous pourrez les télé\-charger et les installer en utilisant les autres +fonctions de slackpkg. + +.TP 5 +\fBsearch\fP +.br +vous pourrez rechercher ("search") tout paquet fourni par Slackware. + +.in +5 +# slackpkg search motif +.in + +Tous les paquets dont le nom correspond à "motif" seront affichés. Comme +pour file\-search vous pourrez voir si ces paquets sont installés ou non ; +s'ils ne le sont pas, vous pourrez les télé\-charger et les installer en +utilisant d'autres fonctions de slackpkg. + +.TP 5 +\fBinstall\fP +.br +L'installation d'un paquet est très simple. Il suffite de taper : + +.in +5 +# slackpkg install paquet +.in + +et le paquet sera télé\-chargé et installé. +.br +Vous ne pouvez pas utiliser l'option "install" pour installer un paquet déjà +installé, mais vous pouvez le ré\-installer ou le mettre à niveau. + +.TP 5 +\fBupgrade\fP +.br +"upgrade" (mettre à niveau) installe la plus récente version officielle du +ou des paquet(s) spécifié(s) + +"upgrade" ne tentera pas d'installer de nouveaux paquets (utilisez la +fonction "install" à cet effet ; la dernière version officielle du paquet +sera installée). +.TP 5 +\fBreinstall\fP +.br +Au cas ou vous auriez par erreur corrompu quelque chose, la fonction +"reinstall" vous permet de ré\-installer la version actuellement installée du +paquet. + +.TP 5 +\fBremove\fP +.br +Avec "remove" vous pouvez enlever des paquets installés. Par exemple : + +.in +5 +# slackpkg remove kde +.in + +enlèvera tous les paquets avec "kde" dans leur nom. + +.TP 5 +\fBblacklist\fP +.br +Avec cette fonction vous pouvez "blacklister" (mettre en liste noire) +certains paquets. +.br +Les paquets en liste noire ne seront pas installés, mis à niveau ou enlevés +par slackpkg. Si vous voulez enlever un paquet de la liste noire, merci +d'éditer le fichier /etc/slackpkg/blacklist à cet effet. + +.TP 5 +\fBdownload\fP +.br +Cette action indique à slackpkg de télé\-charger les paquets, mais de ne pas +les installer. Ils seront placés dans /var/cache/packages, et vous pouvez +les installer/mettre à niveau/ré\-installer plus tard (ou les graver sur CD). + +.TP 5 +\fBinfo\fP +.br +Cette action affiche des informations sur le ou les paquet(s) : taille +comprimé ou déballé, description, etc. + +.TP 5 +\fBclean\-system\fP +.br +Cette action enlève tous les paquets qui ne font pas partie d'une +installation standard de Slackware. Avec cette fonction, vous pouvez +nettoyer votre système, en enlevant tous les paquets tiers ainsi que ceux +qui ne sont plus des paquets officiels Slackware. +.br +Si vous avez des paquets tiers (ou personnalisés) que vous souhaitez +conserver, vous pouvez temporairement les ajouter à la liste noire ou +"blacklist" avant d'utiliser l'action "clean\-system". + +.TP 5 +\fBupgrade\-all\fP +.br +Cette action met à niveau tout paquet installé sur le système à la version +incluses dans l'arborescence officielle Slackware ; c'est la "bonne" manière +de mettre à niveau tout le système. +.br +Souvenez\-vous d'utiliser l'action "install\-new" avant "upgrade\-all". + +.TP 5 +\fBinstall\-new\fP +Cette action installe tout paquet nouvellement ajouté à la liste des paquets +officiels Slackware. Utilisez\-la si vous mettez à niveau votre système à une +autre version de Slackware ou si vous utilisez \-current. +.br +Si vous voulez installer tous les paquets Slackware dés\-installés, utilisez +la commande suivante au lieu de l'action "install\-new" : + +.in +5 +# slackpkg install slackware. +.in +.TP 5 +\fBnew\-config\fP +Cette action recherche les fichiers de configuration se terminant en .new et +demande à l'utilisateur quoi faire de ces fichiers. +.br +L'action "new\-config" est très utile quand vous effectuez une mise à niveau +et remettez à plus tard la révision des fichiers de configuration. Vous +pouvez utiliser l'action "new\-config" à la place de la recherche manuelle, +l'utilisation de "diff" et le remplacement. +.TP 5 +\fBgenerate\-template\fP +Cette action crée un nouveau patron comportant tous les paquets officiels +installés sur votre système. Le patron sera enregistré dans +/etc/slackpkg/templates +.TP 5 +\fBinstall\-template\fP +Cette action installe les paquets listés dans le patron demandé, qui doit se +trouver dans /etc/slackpkg/templates. Si le patron inclut d'autres patrons, +tous doivent se trouver dans /etc/slackpkg/templates. Vous pouvez désactiver +les "includes" (terme Anglais pour "inclus") dans la ligne de commande. +.TP 5 +\fBremove\-template\fP +Cette action enlève tous les paquets qui font partie du patron choisi. Soyez +prudent, cela peut rendre votre système inutilisable. le traitement des +"include" peut être activé ou désactivé dans slackpkg.conf ou grâce à +l'option appropriée en ligne de commande. + +.SH FICHIERS +.TP 5 +\fB/etc/slackpkg/mirrors \fP +Fichier pour spécifier l'endroit d'où télé\-charger les paquets +.TP 5 +\fB/etc/slackpkg/slackpkg.conf \fP +Ficher de configuration générale de slackpkg +.TP 5 +\fB/etc/slackpkg/blacklist\fP +Liste des paquets à sauter (liste noire) +.TP 5 +\fB/etc/slackpkg/templates\fP +Contient tous les fichiers patrons +.TP 5 +\fB/usr/libexec/slackpkg\fP +Contient les fonctions essentielles et supplémentaires de slackpkg +.TP 5 +\fB/var/lib/slackpkg\fP +À usage interne de slackpkg \- listes de paquets mises en forme, copie de +ChangeLog.txt, liste de fichiers, etc. + +.SH "VOIR AUSSI" +\fBslackpkg.conf\fP(5), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), \fBexplodepkg\fP(8), +\fBmakepkg\fP(8), \fBpkgtool\fP(8). + +.SH AUTEURS +.TP 5 +Piter PUNK également appelé Roberto F Batista +<piterpk AT terra DOT com DOT br> +.TP 5 +Evaldo Gardenali également appelé UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/manpages-l10n/fr.slackpkg.conf b/manpages-l10n/fr.slackpkg.conf new file mode 100644 index 0000000..5df853d --- /dev/null +++ b/manpages-l10n/fr.slackpkg.conf @@ -0,0 +1,301 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG.CONF 5 "Mai 2010" slackpkg\-2.81.1 "" +.SH NOM +\fBslackpkg.conf\fP \- Données de configuration pour slackpkg + +.SH DESCRIPTION + +Le fichier slackpkg.conf contient des informations pour \fBslackpkg(8)\fP, un +outil de gestion automatisée des paquets logiciels Slackware Linux. + +Le fichier slackpkg.conf est ue suite de paramètres de scripts shell, et +chaque paramètre commande un des aspects de slackpkg. les commentaires +commencent par le caractère # et peuvent apparaître n'importe où dans le +fichier slackpkg.conf. Si un paramètre apparaît plus d'une fois dans ce +fichier, slackpkg utilisera sa dernière valeur. + +Plusieurs paramètres peuvent être remplacés par des options passées à +slackpkg en ligne de commande. Si vous devez remplacer la valeur de +\fBPARAMETRE\fP, écrivez \fB\-paramètre=valeur\fP sur la ligne de commande juste +avant l'action de slackpkg. Plusieurs variables peuvent être remplacées. + +EXEMPLE: slackpkg \-batch=on \-default_answer=y upgrade\-all + +Pour les options de configuration qui peuvent prendre seulement deux états, +les valeurs possibles sont "on" ("oui", ou "en service") ou "off" ("non", ou +"hors service") sauf indication contraire. + +Les options de configuration sont les suivantes : + +.TP 5 +\fBARCH\fP +.br +Choisit l'architecture du système. Habituellement Slackpkg peut trouver la +bonne valeur avec la commande "uname \-m". Les valeurs acceptables sont : + +.ds title MACHINE\t\tVALEURS ACCEPTABLES DE ARCH +.ds arm ARM\t\t\tarm +.ds x86 x86 (32bits)\ti386, i486, i586 and i686 +.ds x86_64 x86 (64bits)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +\fB\*[title]\fP +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +La valeur par défaut de \fBARCH\fP dépend de votre architecture. + +.TP 5 +\fBSLACKKEY\fP +.br +Slackpkg vérifie le fichier de signature (.asc) par rapport à la signature +GPG du projet. Des portages de Slackware sur différentes architectures +peuvent avoir des signatures différentes et Slackpkg tente de trouver la +bonne en fonction de l'architecture de votre système. si celle +automatiquement détectée (\fBSLACKKEY\fP) n'est pas la bonne, vous pouvez +lachanger avec cette option. + +La valeur par défaut de \fBSLACKKEY\fP dépend de l'architecture de votre +système. + +.TP 5 +\fBTEMP\fP +.br +Définit l'endroit où slackpkg stockera les paquets télé\-chargés avant +installation ou mise à niveau. + +La valeur par défaut de \fBTEMP\fP est /var/cache/packages. + +.TP 5 +\fBWORKDIR\fP +.br +Définit le répertoire des listes de paquets, listes de fichiers et autres +informations utilisées pour le fonctionnement de slackpkg. Ne changez pas la +valeur de ce paramètre sans bien savoir ce que vous faites. + +La valeur par défaut de \fBWORKDIR\fP est /var/lib/slackpkg. + +.TP 5 +\fBWGETFLAGS\fP +.br +Sélectionne des options particulières pour le programme wget. Si vous en +avez besoin de plusieurs, souvenez\-vous d'en mettre la liste entre +guillemets (en Anglais : "double quotes"). + +La valeur par défaut de \fBWGETFLAGS\fP est "\-\-passive\-ftp" + +.TP 5 +\fBDELALL\fP +.br +Avec la valeur "on", tous les fichiers télé\-chargés seront effacés après +l'installation ou la mise à niveau (ceci n'a AUCUN impact quand l'option +"download" de slackpkg est utilisée). Avec la valeur "off", les fichiers +seront conservés dans le répertoire défini par \fBTEMP\fP (comme décrit plus +haut). + +La valeur par défaut de \fBDELALL\fP est "on". +.br +Depuis la ligne de commande, vous pouvez utiliser \-delall=valeur. + +.TP 5 +\fBCHECKMD5\fP +.br +Active (on) ou désactive (off) la vérification des sommes de contrôle MD5 de +tous les paquets télé\-chargés avant installation ou mise à niveau. + +La valeur par défaut de \fBCHECKMD5\fP est "on". +.br +Depuis la ligne de commande, vous pouvez utiliser \-checkmd5=value. + +.TP 5 +\fBCHECKGPG\fP +.br +Active(on) ou désactive (off) la vérification de la signature GPG pour +chaque paquet avant installation ou mise à niveau. + +La valeur par défaut de \fBCHECKPKG\fP est "on". +.br +Depuis la ligne de commande, vous pouvez utiliser \-checkgkg=valeur. + +.TP 5 +\fBCHECKSIZE\fP +.br +Active(on) ou désactive (off) la vérification de l'espace disponible pour +chaque paquet avant installation ou mise à niveau. + +La valeur par défaut de \fBCHECKSIZE\fP est "off". +.br +Depuis la ligne de commande, vous pouvez utiliser \-checksize=valeur. + +.TP 5 +\fBPKGMAIN\fP +.br +Définit le répertoire principal de la distribution. Habituellement vous +n'avez pas à vous en préoccuper, Slackware essayant de le trouver en se +basant sur l'architecture de votre système. Cependant, si vous avez besoin +de le changer, indiquez la valeur de ce paramètre dans votre fichier +slackpkg.conf. ce devrait toujours être le répertoire contenant les séries +de paquets (A, AP, D, E, F, ...). + +Valeur par défaut : dépend de l'architecture cible de la version de +Slackware + +.TP 5 +\fBPRIORITY\fP +.br +Cette liste définit les priorités dans le choix des répertoires sur le +miroir lors d'une recherche de paquets avec slackpkg. Si un paquet est +trouvé dans plus d'un des répertoire listés, c'est celui trouvé dans le +premier répertoire listé qui sera utilisé. Vous pouvez écrire %PKGMAIN pour +utiliser la valeur du paramètre PKGMAIN (voir plus haut) dans la liste. + +Valeur par défaut (dans l'ordre) : patches %PKGMAIN extra pasture testing + +.TP 5 +\fBPOSTINST\fP +.br +Active (on) ou désactive (off) les fonctionnalités post\-installation de +slackpkg, telles que la vérification des nouveaux (*.new) fichiers de +configuration et des nouveaux noyaux Linux, et vous invite à lui dire quoi +faire. + +La valeur par défaut de \fBPOSTINST\fP est "on". +.br +Depuis la ligne de commande, vous pouvez utiliser \-postinst=valeur. + +.TP 5 +\fBONLY_NEW_DOTNEW\fP +.br +Quand \fBPOSTINST\fP a la valeur "on", slackpkg recherche tous les fichiers +\&.new dans le répertoire /etc et invite l'utilisateur à lui dire quoi en +faire. Cependant, certains utilisateurs préfèrent voir seulement les +fichiers .new installés depuis la dernière exécution de slackpkg ; si c'est +votre cas, donnez la valeur "on" à \fBONLY_NEW_DOTNEW\fP. + +La valeur par défaut de \fBONLY_NEW_DOTNE\fP est "off". Ne la changez qu'en +sachant bien ce que vous faites ... +.br +Depuis la ligne de commande, vous pouvez utiliser \-only\-dot\-new=valeur. + +.TP 5 +\fBONOFF\fP +.br +Le paramètre \fBONOFF\fP définit le comportement initial de l'interface de +dialogue, lors de l'affichage d'une liste de paquets. Avec la valeur "on" +tous les paquets seront sélectionnés par défaut. Si vous préférez l'option +inverse (aucun paquet sélectionné) indiquez la valeur "off". + +La valeur par défaut de \fBONOFF\fP est "on". +.br +Depuis la ligne de commande, vous pouvez utiliser \-onoff=valeur. + +.TP 5 +\fBDOWNLOAD_ALL\fP +.br +Si ce paramètre est réglé à "on", tous les fichiers seront télé\-chargés +avant que l'opération demandée (installation ou mise à niveau) soit +effectuée. S'il est réglé à "off" les fichiers seront télé\-chargés ou mis à +niveau un par un. + +La valeur par défaut de \fBDOWNLOAD_ALL\fP est "off". +.br +Depuis la ligne de commande, vous pouvez utiliser \-download_all=valeur. + +.TP 5 +\fBDIALOG\fP +.br +Active (on) ou désactive (off) l'interface de dialogue (faisant appel au +programme de même nom : "dialog"). + +La valeur par défaut de \fBDIALOG\fP est "on". +.br +Depuis la ligne de commande, vous pouvez utiliser \-dialog=valeur. + +.TP 5 +\fBDIALOG_MAXARGS\fP +.br +Définit le nombre maximum de caractères envoyés au programme "dialog". Si ce +nombre est atteint lors d'une mise à niveau, slackpkg supprime l'information +"version actuellement installée de chaque paquet". Si même sans cette +information ce nombre est atteint, slackpkg émet un message d'erreur. + +Si le paramètre \fBDIALOG_MAXARGS\fP n'est pas explicitement fixé, il prend la +valeur par défaut 19500. +.br +Depuis la ligne de commande, vous pouvez utiliser \-dialog_maxargs=valeur. + +.TP 5 +\fBBATCH\fP +.br +Active (on) ou désactive (off) le mode non\-interactif. Exécuté en mode +batch, slackpkg ne posera aucune question à l'utilisateur ; à la place, +toutes les réponses qu'il aurait posées prendront la valeur +\fBDEFAULT_ANSWER\fP (voir ci\-dessous) +.br +Si vous effectuez une mise à niveau dans ce mode, vous aurez besoin +d'exécuter ensuite "slackpkg new\-config" pour trouver et traiter les +fichiers .new. + +La valeur par défaut de \fBBATCH\fP est "off". +.br +Depuis la ligne de commande, vous pouvez utiliser \-batch=valeur. + +.TP 5 +\fBDEFAULT_ANSWER\fP +.br +C'est la réponse par défaut aux questions que pose slackpkg pour recueillir +quelques informations. Cette valeur n'est utilisée qu'en mode non\-interactif +(quand la valeur de \fBBATCH\fP est "yes" ou que l'utilisateur choisit ce mode +via la ligne de commande) ; sinon, ce paramètre n'est pas utilisé. +.br +Les valeurs autorisées sont "y" (pour oui) ou "n" (pour non). + +La valeur par défaut de \fBDEFAULT_ANSWER\fP est "n". +.br +Depuis la ligne de commande, vous pouvez utiliser \-default_answer=valeur. + +.TP 5 +\fBUSE_INCLUDES\fP +.br +Les patrons de slackpkg peuvent inclure d'autres patrons. Ceci réduit la +duplication de paquets dans beaucoup de patrons, mais peut constituer un +problème si vous voulez enlever seulement un patron particulier. Vous pouvez +désactiver la prise en compte des #include en donnant fixant ce paramètreà +"off". + +La valeur par défaut de \fBUSE_INCLUDES\fP est "on". +.br +Depuis la ligne de commande, vous pouvez utiliser \-use\-includes=valeur. + +.TP 5 +\fBSPINNING\fP +.br +Quand Slackpkg effectue une action qui prend un certain temps, elle affiche +une barre tournante. Si vous n'aimez pas la barre tournante, vous pouvez +désactiver cette option à "off". + +La valeur par défaut de \fBSPINNING\fP est "on". +.br +Depuis la ligne de commande, vous pouvez utiliser \-spinning=valeur. + +.SH FICHIERS +.TP 5 +\fB/etc/slackpkg/slacpkg.conf\fP + +.SH "VOIR AUSSI" +\fBslackpkg\fP(8) \fBpkgtool\fP(8) \fBinstallpkg\fP(8) \fBupgradepkg\fP(8) +\fBremovepkg\fP(8) diff --git a/manpages-l10n/id.slackpkg b/manpages-l10n/id.slackpkg new file mode 100644 index 0000000..048af07 --- /dev/null +++ b/manpages-l10n/id.slackpkg @@ -0,0 +1,327 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG 8 "Mei 2010" slackpkg\-2.81.1 "" +.SH NAMA +\fBslackpkg\fP \- Perangkat otomatis untuk mengelola paket Slackware Linux + +.SH SINOPSIS +\fBslackpkg\fP \fB[OPTIONS]\fP +\fB{install|remove|search|upgrade|reinstall|blacklist}\fP +\fB{\fP\fIPOLA\fP\fB|\fP\fIFILE\fP\fB}\fP + +\fBslackpkg [OPTIONS] {clean\-system|upgrade\-all|install\-new}\fP + +\fBslackpkg\fP \fB[OPTIONS]\fP \fB{search|file\-search}\fP \fB{\fP\fIPOLA\fP\fB|\fP\fIFILE\fP\fB}\fP + +\fBslackpkg\fP \fB[OPSI]\fP +\fB{generate\-template|install\-template|remove\-template}\fP \fINAMATEMPLATE\fP + +\fBslackpkg [OPSI] info\fP \fIPAKET\fP + +\fBslackpkg [OPSI] update [gpg]\fP + +\fBslackpkg [OPSI] {new\-config|check\-updates}\fP + +\fBslackpkg [OPSI] help\fP + +.SH DESKRIPSI +Slackpkg adalah perangkat bagi mereka yang hendak menginstall atau +mengupgrade paket via jaringan. Dengan slackpkg, Anda bisa memiliki +installasi minimal Slackware Linux dan menginstall/upgrade hanya paket yang +Anda butuhkan. + +Anda tidak perlu mengkonfigurasi NFS atau membuat banyak CD untuk semua +komputer Anda; Anda cukup mengetikkan satu perintah dan semua paket resmi +Slackware terbaru akan berada dalam genggaman Anda. + +.SH INSTRUKSI +Slackpkg memiliki banyak fitur. Ia dapat mencari file yang spesifik, +menghapus paket pihak ketiga pada sistem Anda, menginstall paket yang +ditambahkan pada Slackware sejak update terakhir, menampilkan deskripsi +paket, dll. + +Sebelum Anda melakukan apapun, Anda harus menghapus komentar satu mirror +pada /etc/slackpkg/mirrors dan menjalankan: + +.in +5 +# slackpkg update +.in + +Perintah "update" akan mendownload dan memformat daftar file dan paket pada +Slackware. Setiap kali daftar ini berubah, perintah update harus dijalankan. + +Fitur utama dari Slackpkg adalah yang berhubungan dengan manajemen paket: +install, upgrade, dan menghapus paket. Untuk melakukan ini, sintaks Slackpkg +adalah: + +.in +5 +# slackpkg [OPSI] <action> {POLA|FILE} +.in + +\fIOPSI\fP bisa satu atau lebih opsi konfigurasi yang terdaftar pada +/etc/slackpkg/slackpkg.conf. Terdapat opsi perintah baris yang ekuivalen +untuk semua konfigurasi yang ada pada slackpkg.conf \- lihat halaman\-manual +\fBslackpkg.conf(5)\fP untuk melihat opsi yang tersedia. + +\fIPOLA\fP bisa berupa nama paket atau sebagian dari nama paket. Juga bisa seri +software (seperti kde, a, ap, ...). +.br + +\fIFILE\fP adalah file dengan daftar \fIPOLA\fP didalamnya: bisa satu per baris +atau beberapa baris dengan spasi sebagai pemisahnya. + +Slackpkg bisa digunakan untuk mengupgrade seluruh distribusi. +.br +Cara yang umum dilakukan: + +.in +5 +# slackpkg update +.br +# slackpkg install\-new +.br +# slackpkg upgrade\-all +.br +# slackpkg clean\-system +.in + +Fitur lain dari Slackpkg adalah kemampuan untuk bekerja dengan template, +yang mempermudah membuat banyak mesin dengan isi paket yang sama. Langkah +dasarnya seperti berikut: + +.RS +5 +.IP \(bu 2 +Install pada satu mesin +.IP \(bu 2 +Jalankan "slackpkg generate\-template NAMATEMPLATE" +.IP \(bu 2 +Salin /etc/slackpkg/templates/NAMATEMPLATE.template pada direktori yang sama +pada mesin lain +.IP \(bu 2 +Jalankan "slackpkg install\-template NAMATEMPLATE" pada mesin lain +.RE + +\fINAMATEMPLATE\fP adalah nama template Anda. + +Dengan mengikuti halaman manual ini, Anda bisa mencari apa fungsi +masing\-masing aksi berikut. + +.SH AKSI +.TP 5 +\fBhelp\fP +.br +Menampilkan aksi slackpkg dan deskripsi singkat. Berguna jika Anda perlu +mengetahui tentang slackpkg. Informasi disini, pada halaman manual lebih +lengkap. + +.TP 5 +\fBupdate\fP +.br +update akan mendownload daftar paket terbaru dari mirror Slackware (atau CD +Anda). Disarankan untuk dijalankan + +.in +5 +# slackpkg update +.in + +sebelum mencoba untuk mengupgrade, menginstall, atau mencari paket. +.br +Jika Anda perlu mengupdate kunci GPG Slackware, jalankan + +.in +5 +# slackpkg update gpg +.in + +Kunci GPG tidak berubah. Ini biasanya perintah "satu kali" \- jalankan satu +kali dan lupakan... + +.TP 5 +\fBcheck\-updates\fP +.br +Verifikasi apakah terdapat update pada ChangeLog.txt. Hal ini bagus untuk +digunakan dari cron untuk memberitahukan sysadmin tentang update. + +.TP 5 +\fBfile\-search\fP +.br +Anda bisa mencari paket resmi Slackware dari untuk sembarang file pada +distribusi Slackware. Apakah Anda memerlukan pustaka aneh? Gunakan +file\-search untuk mencarinya. + +.in +5 +# slackpkg file\-search namafile +.in + +Semua paket dengan "namafile" yang cocok akan ditampilkan, sehingga Anda +bisa melihat apakah paket sudah terinstall atau belum; jika belum, Anda bisa +mendownload dan menginstallnya dengan aksi slackpkg yang lain. + +.TP 5 +\fBsearch\fP +.br +Anda bisa mencari untuk sembarang paket yang didistribusikan pada Slackware. + +.in +5 +# slackpkg search pola +.in + +Semua nama paket yang cocok dengan "pola" akan ditampilkan. Seperti +file\-search, Anda bisa melihat apakah paket sudah terinstall atau belum; +jika belum, Anda bisa mendownload dan menginstallnya dengan aksi slackpkg +yang lain. + +.TP 5 +\fBinstall\fP +.br +Installasi sebuah paket sangat sederhana. Anda cukup mengetikkan: + +.in +5 +# slackpkg install paket +.in + +dan paket akan didownload dan diinstall. +.br +Anda tidak bisa menggunakan opsi "install" untuk menginstall paket yang +sudah terinstall, tetapi Anda bisa menginstall ulang atau mengupgradenya. + +.TP 5 +\fBupgrade\fP +.br +upgrade menginstall versi resmi terbaru dari paket yang ditentukan. + +upgrade tidak akan mencoba menginstall paket baru (gunakan fungsi install +untuk tujuan itu; versi resmi terbaru dari paket akan diinstall). +.TP 5 +\fBreinstall\fP +.br +Jika Anda secara tidak sengaja membuat korupsi paket, opsi reinstall +mengijinkan Anda untuk menginstall ulang versi paket yang sama yang sudah +terinstall. + +.TP 5 +\fBremove\fP +.br +Dengan remove, Anda bisa menghapus paket yang sudah terinstall. Sebagai +contoh: + +.in +5 +# slackpkg remove kde +.in + +akan menghapus semua paket dengan "kde" sebagai namanya. + +.TP 5 +\fBblacklist\fP +.br +Dengan aksi ini, Anda bisa mem\-"blacklist" paket tertentu. +.br +Paket yang di\-blacklist tidak akan diinstall, diupgrade, atau dihapus oleh +slackpkg. Jika Anda ingin menghapus beberapa paket dari daftar blacklist, +silahkan mengedit /etc/slackpkg/blacklist. + +.TP 5 +\fBdownload\fP +.br +Aksi ini memberitahu slackpkg untuk mendownload paket, tetapi tidak +menginstallnya. Mereka akan diletakkan pada /var/cache/packages dan Anda +bisa menginstall/upgrade/menginstall ulang dikemudian hari (atau membakarnya +pada CD). + +.TP 5 +\fBinfo\fP +.br +Aksi ini mencetak informasi tentang paket: ukuran terkompresi dan tanpa +kompresi, deskripsi, dll... + +.TP 5 +\fBclean\-system\fP +.br +Aksi ini menghapus semua paket yang bukan berasal dari installasi standar +Slackware. Dengan opsi ini, Anda bisa membersihkan sistem Anda, menghapus +paket pihak ketiga serta paket yang dihapus dari paket resmi Slackware. +.br +Jika Anda memilih paket pihak ketiga (atau paket modifikasi) yang hendak +Anda pertahankan, Anda bisa menambahkan pada paket yang di\-blacklist sebelum +menjalankan aksi 'clean\-system'. + +.TP 5 +\fBupgrade\-all\fP +.br +Aksi ini mengupgrade semua paket yang terinstall pada sistem ke versi resmi +dari Slackware; ini merupakan cara 'bagus untuk mengupgrade keseluruhan +sistem. +.br +Harap diingat untuk menggunakan "install\-new" sebelum menjalankan +"upgrade\-all." + +.TP 5 +\fBinstall\-new\fP +Aksi ini menginstall semua paket baru yang ditambahkan pada paket resmi +Slackware. Jalankan aksi ini jika Anda mengupgrade sistem Anda ke versi +Slackware yang lain atau jika Anda menjalankan \-current. +.br +Jika Anda hendak menginstall semua paket Slackware yang tidak terinstall +pada sistem Anda, gunakan perintah berikut dan bukan aksi install\-new: + +.in +5 +# slackpkg install slackware. +.in +.TP 5 +\fBnew\-config\fP +Aksi ini mencari file konfigurasi .new dan menanyakan pengguna apa yang +harus dilakukan dengan file tersebut. +.br +new\-config sangat berguna ketika Anda melakukan upgrade dan meninggalkan +file konfigurasi untuk direview dikemudian hari. Dibandingkan pencarian +manual, diff, dan mengganti; Anda bisa menggunakan aksi new\-config. +.TP 5 +\fBgenerate\-template\fP +Aksi ini menghasilkan template baru dengan semua paket resmi yang terinstall +pada sistem Anda. Template akan disimpan pada /etc/slackpkg/templates +.TP 5 +\fBinstall\-template\fP +Aksi ini menginstall template yang diperlukan pada sistem. Template harus +berada pada /etc/slackpkg/templates. Jika template "include" template lain, +semuanya harus berada pada /etc/slackpkg/templates. Anda bisa menonaktifkan +"include" pada slackpkg.conf atau pada perintah baris. +.TP 5 +\fBremove\-template\fP +Aksi ini akan menghapus semua paket yang termasuk dalam template yang +dipilih. Hati\-hati, hal ini bisa membuat mesin Anda menjadi tidak bisa +dipakai. Penanganan "include" bisa diaktifkan/dinonaktifkan pada +slackpkg.conf atau dengan opsi yang sesuai pada perintah baris. + +.SH FILE +.TP 5 +\fB/etc/slackpkg/mirrors⇥\fP +File untuk menentukan lokasi sumber untuk mendownload paket +.TP 5 +\fB/etc/slackpkg/slackpkg.conf⇥\fP +Konfigurasi umum slackpk +.TP 5 +\fB/etc/slackpkg/blacklist\fP +Daftar paket yang dilewati +.TP 5 +\fB/etc/slackpkg/templates\fP +Berisi semua file template +.TP 5 +\fB/usr/libexec/slackpkg\fP +Berisi fungsi utama dan tambahan dari slackpkg +.TP 5 +\fB/var/lib/slackpkg\fP +Penggunaan internal Slackpkg \- daftar paket terformat, salinan +ChangeLog.txt, daftar file, dll... + +.SH "LIHAT JUGA" +\fBslackpkg.conf\fP(5), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), \fBexplodepkg\fP(8), +\fBmakepkg\fP(8), \fBpkgtool\fP(8). + +.SH PEMBUAT +.TP 5 +Piter PUNK aka Roberto F Batista +<piterpk AT terra DOT com DOT br> +.TP 5 +Evaldo Gardenali aka UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/manpages-l10n/id.slackpkg.conf b/manpages-l10n/id.slackpkg.conf new file mode 100644 index 0000000..fa5e079 --- /dev/null +++ b/manpages-l10n/id.slackpkg.conf @@ -0,0 +1,289 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG.CONF 5 "Mei 2010" slackpkg\-2.81.1 "" +.SH NAMA +\fBslackpkg.conf\fP \- Data konfigurasi untuk slackpkg + +.SH DESKRIPSI + +File slackpkg.conf berisi informasi untuk \fBslackpkg\fP (8), perangkat +otomatis untuk mengelola paket Slackware Linux. + +File slackpkg.conf adalah sekumpulan variabel shell script, dan setiap +variabel mengendalikan satu aspek dari slackpkg. Komentar diawali dengan +karakter # dan berakhir pada akhir baris, dan komentar bisa muncul dimana +saja pada file slackpkg.conf. Jika beberapa variabel muncul lebih dari satu +kali pada file, slackpkg akan menggunakan nilai yang didefinisikan terakhir +kali. + +Banyak variabel bisa ditimpa oleh opsi yang dikirimkan pada slackpkg pada +perintah baris. Jika Anda perlu menimpa nilai dari \fBVARIABEL\fP , kirimkan +\fB\-variable=nilai\fP pada perintah baris sebelum aksi slackpkg. Berbagai +variabel dapat ditimpa. + +CONTOH: slackpkg \-batch=on \-default_answer=y upgrade\-all + +Untuk opsi konfigurasi yang hanya memiliki dua nilai, nilai yang mungkin +adalah "on" atau "off" kecuali sudah diindikasikan sebelumnya. + +Opsi konfigurasi yang ada: + +.TP 5 +\fBARCH\fP +.br +Memilih arsitektur sistem. Biasanya Slackpkg bisa menemukan nilai yang tepat +dengan "uname \-m". Nilai yang valid adalah: + +.ds title MESIN\t\tNILAI ARSITEKTUR YANG VALID +.ds arm ARM\t\t\tarm +.ds x86 x86 (32bit)\ti386, i486, i586 dan i686 +.ds x86_64 x86 (64bit)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +\fB\*[title]\fP +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +Nilai default dari \fBARCH\fP tergantung dari arsitektur Anda. + +.TP 5 +\fBSLACKKEY\fP +.br +Slackpkg menguji file tanda tangan paket (.asc) dengan tanda tangan GPG dari +proyek. Porting Slackware yang berbeda bisa memilih tanda tangan yang +berbeda, dan Slackpkg mencoba menemukan yang tepat berdasarkan arsitektur +Sistem Anda. Jika \fBSLACKKEY\fP yang terdeteksi tidak benar, Anda bisa +menggantinya dengan opsi ini. + +Nilai default dari \fBSLACKKEY\fP tergantung dari porting Slackware Anda. + +.TP 5 +\fBTEMP\fP +.br +Mendefinisikan lokasi dimana slackpkg akan mendownload paket sebelum +menginstall/mengupgradenya. + +Nilai default dari \fBTEMP\fP adalah /var/cache/packages. + +.TP 5 +\fBWORKDIR\fP +.br +Mendefinisikan direktori untuk daftar paket, dan informasi lain yang +digunakan oleh slackpkg. Jangan mengganti nilai variabel ini kecuali Anda +tahu apa yang Anda lakukan + +Nilai default dari \fBWORKDIR\fP adalah /var/lib/slackpkg. + +.TP 5 +\fBWGETFLAGS\fP +.br +Memilih opsi spesial untuk wget. Jika Anda perlu menggunakan banyak opsi, +letakkan didalam tanda kutip ganda. + +Nilai default dari \fBWGETFLAGS\fP adalah "\-\-passive\-ftp" + +.TP 5 +\fBDELALL\fP +.br +Jika diset ke "on", semua file yang didownload akan dihapus setelah slackpkg +melakukan installasi atau upgrade (hal ini TIDAK berefek ketika slackpkg +dijalankan dengan "download"). Jika diset ke "off", file akan disimpan pada +direktori yang didefinisikan pada \fBTEMP\fP (seperti dijelaskan diatas). + +Nilai default dari \fBDELALL\fP adalah "on". +.br +Dari perintah baris, Anda bisa menggunakan \-dellall=nilai. + +.TP 5 +\fBCHECKMD5\fP +.br +Mengaktifkan (on) atau menonaktifkan (off) pengujian checksum MD5 dari semua +paket yang didownload sebelum menginstall atau mengupgradenya. + +Nilai default dari \fBCHECKMD5\fP adalah "on". +.br +Dari perintah baris, Anda bisa menggunakan \-checkmd5=nilai. + +.TP 5 +\fBCHECKGPG\fP +.br +Mengaktifkan (on) atau menonaktifkan (off) pengujian tanda tangan GPG untuk +setiap paket sebelum menginstall atau mengupgrade. + +Nilai default dari \fBCHECKGPG\fP adalah "on". +.br +Dari perintah baris, Anda bisa menggunakan \-checkgpg=nilai. + +.TP 5 +\fBCHECKSIZE\fP +.br +Mengaktifkan (on) atau menonaktifkan (off) pengujian ruang disk yang +tersedia untuk setiap paket sebelum menginstall atau mengupgrade. + +Nilai default dari \fBCHECKSIZE\fP adalah "off". +.br +Dari perintah baris, Anda bisa menggunakan \-checksize=nilai. + +.TP 5 +\fBPKGMAIN\fP +.br +Menentukan direktori distribusi utama. Biasanya, Anda tidak perlu khawatir +dengan variabel ini, karena Slackpkg mencoba menemukannya berdasarkan +arsitektur Anda. Namun, jika Anda perlu mengubahnya, maka sertakan variabel +ini pada slackpkg.conf. Nilainya harus selalu direktori yang berisi set seri +paket Slackware (A, AP, D, E, F, ...). + +Default: tergantung dari porting Slackware + +.TP 5 +\fBPRIORITY\fP +.br +Array ini memilih prioritas dimana direktori dari mirror ketika slackpkg +mencari paket. Jika paket ditemukan pada lebih dari satu tempat, paket pada +direktori pertama mendapatkan prioritas, lalu kedua, lalu ketiga, dan +keempat, dan akhirnya, paket pada direktori yang terakhir. Anda bisa +menggunakan %PKGMAIN untuk menggunakan konten variabel PKGMAIN. + +Nilai default (secara urut): patches %PKGMAIN extra pasture testing + +.TP 5 +\fBPOSTINST\fP +.br +Mengaktifkan (on) atau menonaktifkan (off) fitur pasca\-installasi slackpkg, +seperti pengujian file konfigurasi baru (*.new) dan image kernel baru, dan +menanyakan apa yang harus dilakukan. + +Nilai default dari \fBPOSTINST\fP adalah "on". +.br +Dari perintah baris, Anda bisa menggunakan \-postinst=nilai + +.TP 5 +\fBONLY_NEW_DOTNEW\fP +.br +Ketika \fBPOSTINST\fP diset ke "on", slackpkg akan mencari semua file .new pada +/etc dan menanyakan pada pengguna apa yang harus dilakukan. Namun, beberapa +pengguna memilih untuk melihat file .new terinstall pada eksekusi terakhir +slackpkg, sehingga jika ini berlaku untuk Anda, set \fBONLY_NEW_DOTNEW\fP ke +"on". + +Nilai default dari \fBONLY_NEW_DOTNEW\fP adalah "off". Hanya ganti ini jika +Anda tahu apa yang Anda lakukan... +.br +Dari perintah baris, Anda bisa menggunakan \-only_new_dotnew=nilai. + +.TP 5 +\fBONOFF\fP +.br +Variabel \fBONOFF\fP menentukan perilaku awal dari antarmuka dialog. Jika Anda +menggantinya ke "on" maka semua paket akan dipilih secara default. Jika Anda +suka dengan opsi sebaliknya (semua tidak dipilih), maka pilih ke "off". + +Nilai default dari \fBONOFF\fP adalah "on". +.br +Dari perintah baris, Anda bisa menggunakan \-onoff=nilai. + +.TP 5 +\fBDOWNLOAD_ALL\fP +.br +Jika variabel ini ditentukan ke "on", semua file akan didownload sebelum +operasi yang diminta (install atau upgrade) dilakukan. Jika ditentukan ke +"off", maka file akan didownload dan operasi (install/upgrade) akan +dilakukan satu demi satu. + +Nilai default dari \fBDOWNLOAD_ALL\fP adalah "off". +.br +Dari perintah baris, Anda bisa menggunakan \-download_all=nilai. + +.TP 5 +\fBDIALOG\fP +.br +Mengaktifkan (on) atau menonaktifkan (off) antarmuka dialog. + +Nilai default dari \fBDIALOG\fP adalah "on". +.br +Dari perintah baris, Anda bisa menggunakan \-dialog=nilai. + +.TP 5 +\fBDIALOG_MAXARGS\fP +.br +Menentukan jumlah karakter maksimal yang akan dikirimkan pada "dialog". Jika +angka ini dicapai pada upgrade, slackpkg menghapus informasi tentang versi +terinstall pada setiap paket. Jika tanpa informasi ini, jumlah tercapai +kembali, slackpkg mengembalikan kesalahan pada pengguna. + +Jika \fBDIALOG_MAXARGS\fP tidak ditentukan, nilai defaultnya adalah 19500. +.br +Dari perintah baris, Anda bisa menggunakan \-dialog_maxargs=nilai. + +.TP 5 +\fBBATCH\fP +.br +Mengaktifkan (on) atau menonaktifkan (off) mode non\-interaktif. Ketika +berjalan pada mode batch, slackpkg tidak akan menanyakan apapun pada +pengguna; semua pertanyaan akan menggunakan \fBDEFAULT_ANSWER\fP (lihat +dibawah). +.br +JIka Anda menjalankan upgrade menggunakan mode ini, Anda harus menjalankan +"slackpkg new\-config" untuk mencari dan menggabungkan file .new. + +Nilai default dari \fBBATCH\fP adalah "off". +.br +Dari perintah baris, Anda bisa menggunakan \-batch=nilai. + +.TP 5 +\fBDEFAULT_ANSWER\fP +.br +Ini adalah jawaban default dari pertanyaan ketika slackpkg menanyakan +beberapa informasi. Variabel ini digunakan hanya pada mode non\-interaktif +(ketika \fBBATCH\fP bernilai "yes" atau penggunakan mengaktifkan mode batch via +perintah baris); selain itu, variabel ini tidak memiliki efek +.br +Nilai yang valid adalah "y" atau "n". + +Nilai default dari \fBDEFAULT_ANSWER\fP adalah "n". +.br +Dari perintah baris, Anda bisa menggunakan \-default_answer=nilai + +.TP 5 +\fBUSE_INCLUDES\fP +.br +Template Slackpkg bisa menyertakan template lain. Hal ini mengurangi +duplikasi paket pada banyak template, tetapi bisa menjadi masalah jika Anda +hendak menghapus template yang spesifik. Anda bisa menonaktifkan pemrosesan +#include dengan mengatur opsi ini menjadi "off". + +Nilai default dari \fBUSE_INCLUDES\fP adalah "on". +.br +Dari perintah baris, Anda bisa menggunakan \-use_includes=nilai. + +.TP 5 +\fBSPINNING\fP +.br +Ketika Slackpkg menjalankan aktivitas yang membutuhkan waktu, ia akan +memberikan tampilan visual dengan bar yang berputar. Jika Anda tidak suka, +Anda bisa menonaktifkannya dengan mengganti opsi ini menjadi "off". + +Nilai default dari \fBSPINNING\fP adalah "on". +.br +Dari perintah baris, Anda bisa menggunakan \-spinning=nilai. + +.SH FILE +.TP 5 +\fB/etc/slackpkg/slacpkg.conf\fP + +.SH "LIHAT JUGA" +\fBslackpkg\fP(8) \fBpkgtool\fP(8) \fBinstallpkg\fP(8) \fBupgradepkg\fP(8) +\fBremovepkg\fP(8) diff --git a/manpages-l10n/it.slackpkg b/manpages-l10n/it.slackpkg new file mode 100644 index 0000000..0d9db3f --- /dev/null +++ b/manpages-l10n/it.slackpkg @@ -0,0 +1,330 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG 8 "Maggio 2010" slackpkg\-2.81.1 "" +.SH NOME +\fBslackpkg\fP \- Strumento automatico per la gestione dei pacchetti di +Slackware Linux + +.SH SINOSSI +\fBslackpkg\fP \fB[OPZIONI]\fP +\fB{install|remove|search|upgrade|reinstall|blacklist}\fP +\fB{\fP\fISCHEMA\fP\fB|\fP\fIFILE\fP\fB}\fP + +\fBslackpkg [OPZIONI] {clean\-system|upgrade\-all|install\-new}\fP + +\fBslackpkg\fP \fB[OPZIONI]\fP \fB{search|file\-search}\fP +\fB{\fP\fISCHEMA\fP\fB|\fP\fIFILE\fP\fB}\fP + +\fBslackpkg\fP \fB[OPZIONI]\fP +\fB{generate\-template|install\-template|remove\-template}\fP \fINOMEMODELLO\fP + +\fBslackpkg [OPZIONI] info\fP \fIPACCHETTO\fP + +\fBslackpkg [OPZIONI] update [gpg]\fP + +\fBslackpkg [OPZIONI] {new\-config|check\-updates}\fP + +\fBslackpkg [OPZIONI] help\fP + +.SH DESCRIZIONE +Slackpkg è uno strumento per tutti quelli che vogliono installare e +aggiornare facilmente i pacchetti via rete. Con slackpkg, puoi avere +un'installazione minimale di Slackware Linux e installare/aggiornare solo +quei pacchetti di cui hai bisogno. + +Non è necessario configurare NFS o creare decine di CD per i tuoi computer; +quello che serve è scrivere un comando e tutti gli ultimi pacchetti di +Slackware saranno nelle tue dita. + +.SH ISTRUZIONI +Slackpkg ha molte funzionalità. Puo' cercare file specifici, rimuovere tutti +i pacchetti di terze parti dal tuo sistema, installare pacchetti aggiunti in +Slackware dal tuo ultimo aggiornamento, vedere la descrizione dei pacchetti, +ecc. + +Prima di iniziare, devi decommentare un archivio nel file +/etc/slackpkg/mirrors ed eseguire: + +.in +5 +# slackpkg update +.in + +Questa azione "update" scaricherà e formatterà la lista dei file e dei +pacchetti di Slackware. Ogni volta che la lista viene cambiata, il comando +deve essere eseguito. + +Le principali funzionalità di Slackpkg sono quelle che si collegano +direttamente alla gestione dei pacchetti: installare, aggiornare e rimuovere +pacchetti. Per fare questi compiti, la sintassi di Slackpkg è: + +.in +5 +# slackpkg [OPZIONI] <azione> {SCHEMA|FILE} +.in + +\fIOPZIONI\fP puo' essere una o piu' opzioni delle molte elencate dentro +/etc/slackpkg/slackpkg.conf. Ci sono comandi di linea equivalenti per la +maggior parte delle direttive di configurazione presenti nel file +slackpkg.conf \- guarda la pagina del manuale \fBslackpkg.conf(5)\fP per vedere +le opzioni disponibili. + +\fISCHEMA\fP puo' essere il nome del pacchetto o solo una parte. Puo' anche +essere una serie (come kde, a, ap, ...). +.br + +\fIFILE\fP è un file con una lista di \fISCHEMI\fP dentro: uno per linea, o +diversi per linea con lo spazio come separatore. + +Slackpkg puo' essere usato per aggiornare l'intera distribuzione. +.br +Il classico modo per farlo è': + +.in +5 +# slackpkg update +.br +# slackpkg install\-new +.br +# slackpkg upgrade\-all +.br +# slackpkg clean\-system +.in + +Un'altra funzionalità di Slackpkg è l'abilità di lavorare con i modelli, con +i quali è piu' facile installare gli stessi pacchetti su piu' macchine. I +passi base sono i seguenti: + +.RS +5 +.IP \(bu 2 +Installazione su una macchina +.IP \(bu 2 +Esegui "slackpkg generate\-template NOMEMODELLO" +.IP \(bu 2 +Copia /etc/slackpkg/templates/NOMEMODELLO.template nella stessa cartella +dell'altra macchina +.IP \(bu 2 +Esegui "slackpkg install\-template NOMEMODELLO" sull'altra macchina +.RE + +\fINOMEMODELLO\fP è il nome del tuo modello. + +Seguendo questa pagina del manuale, puoi capire cosa ognuna di queste (e +altre) azioni fa. + +.SH AZIONI +.TP 5 +\fBhelp\fP +.br +Mostra le azioni di slackpkg e una veloce descrizione per ognuna di +esse. Utile se hai bisogno di sapere qualcosa in piu' di slackpkg. Le +informazioni presenti qui, sulla pagina del manuale, sono piu' approfondite. + +.TP 5 +\fBupdate\fP +.br +update scaricherà l'ultimo elenco dei pacchetti da un archivio di Slackware +(o dal tuo CD). E' una buona idea eseguire + +.in +5 +# slackpkg update +.in + +prima di aggiornare, installare o cercare pacchetti. +.br +Se hai bisogno di aggiornare la chiave GPG di Slackware, esegui + +.in +5 +# slackpkg update gpg +.in + +La chiave GPG non cambia. Questo dovrebbe essere un comando da eseguire solo +una volta \- quindi eseguilo una volta e dimenticatelo... + +.TP 5 +\fBcheck\-updates\fP +.br +Verifica se c'è qualche aggiornamento nel ChangeLog.txt. E' buona cosa +usarlo da cron per avvertire l'amministratore di eventuali aggiornamenti. + +.TP 5 +\fBfile\-search\fP +.br +Puoi cercare i pacchetti ufficiali di Slackware per ogni file presente nella +distribuzione. Hai bisogno di una particolare libreria? Usa file\-search per +trovarla. + +.in +5 +# slackpkg file\-search nomefile +.in + +Tutti i pacchetti che si accordano con "nomefile" saranno mostrati, cosi' +puoi vedere se i pacchetti sono installati o no; se non installati, puoi +scaricarli e installarli con le altre azioni di slackpkg. + +.TP 5 +\fBsearch\fP +.br +Puoi cercare ogni pacchetto rilasciato in Slackware. + +.in +5 +# slackpkg search schema +.in + +Tutti i nomi dei pacchetti che si accordano con "schema" saranno mostrati. +Come per file\-search, puoi vedere se i pacchetti sono installati o no; se +non installati, puoi scaricarli e installarli con le altre azioni di +slackpkg. + +.TP 5 +\fBinstall\fP +.br +L'installazione di un pacchetto è molto semplice. Devi soltanto scrivere: + +.in +5 +# slackpkg install pacchetto +.in + +e il pacchetto sarà scaricato e installato +.br +Non puoi usare l'opzione "install" per installare un pacchetto già +installato, ma tu potresti reinstallarlo o aggiornarlo. + +.TP 5 +\fBupgrade\fP +.br +upgrade installa le piu' recenti versioni ufficiali dei pacchetti. + +upgrade non proverà ad installare nuovi pacchetti (usa la funzione install +per questo scopo; l'ultima versione ufficiale del pacchetto sarà +installata). +.TP 5 +\fBreinstall\fP +.br +In caso erroneamente corrompi qualcosa, l'opzione reinstall ti permetterà di +reinstallare la stessa versione del pacchetto attualmente installato. + +.TP 5 +\fBremove\fP +.br +Con remove, puoi rimuovere i pacchetti installati. Per esempio: + +.in +5 +# slackpkg remove kde +.in + +rimuoverà tutti i pacchetti con "kde" nel loro nome. + +.TP 5 +\fBblacklist\fP +.br +Con questa azione, puoi mettere in una "listanera" certi pacchetti. +.br +I pacchetti della lista nera non saranno installati, aggiornati o rimossi +con slackpkg. Se vuoi eliminare i pacchetti dalla lista nera, per favore +modifica il file /etc/slackpkg/blacklist. + +.TP 5 +\fBdownload\fP +.br +Questa azione dice a slackpkg di scaricare il pacchetto, ma senza +installarlo. I pacchetti saranno messi in /var/cache/packages, e puoi +installarli/aggiornarli/reinstallarli successivamente (o masterizzarli in un +CD). + +.TP 5 +\fBinfo\fP +.br +Questa azione stampa le informazioni per un pacchetto: dimensioni +dell'archivio, descrizione, ecc + +.TP 5 +\fBclean\-system\fP +.br +Questa azione rimuove tutti i pacchetti che non fanno parte +dell'installazione standard di Slackware. Con questa opzione, puoi ripulire +il tuo sistema, rimuovendo i pacchetti di terze parti in aggiunta a tutti i +pacchetti che sono stati eliminati dalla lista ufficiale di Slackware. +.br +Se ci sono pacchetti di terze parti che vorresti tenere, puoi +temporaneamente aggiungerli alla lista nera prima di eseguire l'azione +\&'clean\-system'. + +.TP 5 +\fBupgrade\-all\fP +.br +Questa azione aggiorna ogni pacchetto installato sul sistema alla versione +presente nell'alberatura ufficiale di Slackware; questo è un "buon" modo per +aggiornare l'intero sistema. +.br +Ricorda di usare l'azione "install\-new" prima di "upgrade\-all". + +.TP 5 +\fBinstall\-new\fP +Questa azione installa ogni pacchetto nuovo che è stato aggiunto alla lista +ufficiale di Slackware. Esegui questo comando se stai aggiornando il tuo +sistema ad un'altra versione di Slackware o se stai usando la \-current. +.br +Se vuoi installare tutti pacchetti non installati di Slackware sul tuo +sistema, usa il seguente comando invece dell'azione install\-new: + +.in +5 +# slackpkg install slackware. +.in +.TP 5 +\fBnew\-config\fP +Questa azione cerca i file di configurazione .new e chiede all'utente cosa +farne. +.br +new\-config è molto utile quando fai un aggiornamento e decidi di rivedere +piu' tardi i file di configurazione. Invece di cercare, vedere le +differenze e sostituire manualmente, puoi usare l'azione new\-config. +.TP 5 +\fBgenerate\-template\fP +Questa azione crea un nuovo modello con tutti i pacchetti ufficiali che sono +installati sul tuo sistema. Il modello è salvato in /etc/slackpkg/templates +.TP 5 +\fBinstall\-template\fP +Questa azione installa il modello richiesto nel sistema. Il modello deve +essere presente in /etc/slackpkg/templates. Se il modello "comprende" altri +modelli, tutti loro devono essere presenti in /etc/slackpkg/templates. Puoi +disabilitare l' "inserimento" in slackpkg.conf o in linea di comando. +.TP 5 +\fBremove\-template\fP +Questa azione rimuove tutti i pacchetti che sono parte del modello +selezionato. Attenzione, questo puo' rendere la tua macchina +inutilizzabile. L'inclusione puo' essere attivata o disattivata in +slackpkg.conf oppure con la corretta opzione in linea di comando. + +.SH FILES +.TP 5 +\fB/etc/slackpkg/mirrors⇥\fP +File per specificare la locazione dalla quale scaricare i pacchetti. +.TP 5 +\fB/etc/slackpkg/slackpkg.conf \fP +Configurazione generale di slackpkg +.TP 5 +\fB/etc/slackpkg/blacklist\fP +Elenco di pacchetti da saltare +.TP 5 +\fB/etc/slackpkg/templates\fP +Contiene tutti i modelli +.TP 5 +\fB/usr/libexec/slackpkg\fP +Contiene il cuore di slackpkg e funzioni aggiuntive +.TP 5 +\fB/var/lib/slackpkg\fP +Uso interno di slackpkg \- Formattazione elenco pacchetti, copia del +ChangeLog.txt, elenco di file, etc... + +.SH "VEDI ANCHE" +\fBslackpkg.conf\fP(5), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), \fBexplodepkg\fP(8), +\fBmakepkg\fP(8), \fBpkgtool\fP(8). + +.SH AUTORI +.TP 5 +Piter PUNK aka Roberto F Batista +<piterpk CHIOCCIOLA terra PUNTO com PUNTO br> +.TP 5 +Evaldo Gardenali aka UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/manpages-l10n/it.slackpkg.conf b/manpages-l10n/it.slackpkg.conf new file mode 100644 index 0000000..15d6d56 --- /dev/null +++ b/manpages-l10n/it.slackpkg.conf @@ -0,0 +1,294 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG.CONF 5 "Maggio 2010" slackpkg\-2.81.1 "" +.SH NOME +\fBslackpkg.conf\fP \- Configurazione per slackpkg + +.SH DESCRIZIONE + +Il file slackpkg.conf contiene informazioni per \fBslackpkg\fP (8), uno +strumento automatico per la gestione dei pacchetti di Slackware Linux. + +Il file slackpkg.conf è una sequenza di variabili di shell script, e ogni +variabile controlla un aspetto di slackpkg. I commenti iniziano con il +carattere # e finiscono alla fine della linea, e i commenti possono essere +presenti in ogni punto del file slackpkg.conf. Se qualche variabile è +presente piu' di una volta nel file, slackpkg userà il valore che è stato +definito per ultimo. + +Molte variabili possono essere sovrascritte da opzioni passate a slackpkg +attraverso la linea di comando. Se hai necessità di sovrascrivere il valore +della \fBVARIABILE\fP, scrivi \fB\-variabile=valore\fP nella linea di comando, +appena prima dell'azione di slackpkg. Multiple variabili possono essere +sovrascritte. + +ESEMPIO: slackpkg \-batch=on \-default_answer=y upgrade\-all + +Per le opzioni di configurazione che hanno solo due stati, i possibili +valori sono "on" o "off" salvo diversi indicazioni. + +Le differenti opzioni di configurazione sono: + +.TP 5 +\fBARCH\fP +.br +Seleziona l'architettura del sistema. Solitamente Slackpkg puo' trovare il +valore corretto usando "uname \-m". I valori validi sono: + +.ds title MACCHINA\t\tVALORE ARCHITETTURA VALIDA +.ds arm ARM\t\t\tarm +.ds x86 x86 (32bits)\ti386, i486, i586 and i686 +.ds x86_64 x86 (64bits)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +\fB\*[title]\fP +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +Il valore predefinito di \fBARCH\fP dipende dalla tua architettura. + +.TP 5 +\fBSLACKKEY\fP +.br +Slackpkg controlla il file della firma del pacchetto (.asc) con la firma GPG +del progetto. Slackware puo' avere firme differenti per differenti +architetture, e Slackpkg prova a trovare quella corretta in base +all'architettura del tuo sistema. Se la firma \fBSLACKKEY\fP che trova non è +corretta, puoi cambiarla usando questa opzione. + +Il valore predefinito di \fBSLACKKEY\fP dipende dall'architettura di Slackware. + +.TP 5 +\fBTEMP\fP +.br +Definisce la locazione dove slackpkg scaricherà i pacchetti prima di +installarli/aggiornarli. + +Il valore predefinito di \fBTEMP\fP è /var/cache/packages. + +.TP 5 +\fBWORKDIR\fP +.br +Definisce la cartella per la lista pacchetti, lista file, e altre +informazioni usate da slackpkg per il suo funzionamento. Non cambiare il +valore di queste variabili a meno che tu non sappia cosa stai facendo. + +Il valore predefinito di \fBWORKDIR\fP è /var/lib/slackpkg. + +.TP 5 +\fBWGETFLAGS\fP +.br +Seleziona opzioni speciali per wget. Se hai bisogno di opzioni multiple, +ricorda di metterle tra doppie virgolette. + +Il valore predefinito di \fBWGETFLAGS\fP è "\-\-passive\-ftp" + +.TP 5 +\fBDELALL\fP +.br +Se impostato su "on", tutti i file scaricati saranno rimossi dopo che +slackpkg ha effettuato l'installazione o l'aggiornamento (questo non ha +impatti quando slackpkg viene usato con "download"). Se impostato su "off", +i file saranno mantenuti nella cartella definita in \fBTEMP\fP (come scritto +sopra). + +Il valore predefinito di \fBDELALL\fP è "on". +.br +Dalla linea di comando, puoi usare \-delall=valore. + +.TP 5 +\fBCHECKMD5\fP +.br +Abilita (on) o disabilita (off) il controllo dell'MD5 per tutti i pacchetti +scaricati prima di installarli o aggiornarli. + +Il valore predefinito di \fBCHECKMD5\fP è "on". +.br +Dalla linea di comando, puoi usare \-checkmd5=valore. + +.TP 5 +\fBCHECKGPG\fP +.br +Abilita (on) o disabilita (off) il controllo della firma GPG per ogni +pacchetto prima di installare o aggiornare. + +Il valore predefinito di \fBCHECKGPG\fP è "on". +.br +Dalla linea di comando, puoi usare \-checkgpg=valore. + +.TP 5 +\fBCHECKSIZE\fP +.br +Abilita (on) o disabilita (off) il controllo della disponibilità dello +spazio sul disco per ogni pacchetto prima di installare o aggiornare. + +Il valore predefinito di \fBCHECKSIZE\fP è "off". +.br +Dalla linea di comando, puoi usare \-checksize=valore. + +.TP 5 +\fBPKGMAIN\fP +.br +Definisce la cartella principale della distribuzione. Solitamente non hai +bisogno di preoccuparti di questa variabile, in quanto Slackpkg prova a +trovarla in base alla tua architettura. Comunque, se hai bisogno di +cambiarla, puoi inserire questa variabile nel tuo slackpkg.conf. Questa +dovrebbe essere sempre la cartella che contiene la serie dei pacchetti +Slackware (A, AP, D, E, F, ...). + +Predefinito: dipende dall'architettura di Slackware. + +.TP 5 +\fBPRIORITY\fP +.br +Questa opzione seleziona la priorità che le cartelle dell'archivio avranno +quando slackpkg cerca i pacchetti. Se un pacchetto viene trovato in due o +piu' posti, il pacchetto nella prima cartella avrà priorità maggiore, poi la +seconda, poi la terza, poi la quarta e finalmente, il pacchetto trovato +nell'ultima cartella. Puoi usare %PKGMAIN per usare il contenuto della +variabile PKGMAIN. + +Il valore predefinito (in ordine): patches %PKGMAIN extra pasture testing + +.TP 5 +\fBPOSTINST\fP +.br +Abilita (on) o disabilita (off) le caratteristiche post\-installazione di +slackpkg, come il controllo per nuovi (*.new) file di configurazione e nuove +immagini del kernel, e ti suggerisce cosa dovresti fare. + +Il valore predefinito di \fBPOSTINST\fP è "on". +.br +Dalla linea di comando, puoi usare \-postinst=valore. + +.TP 5 +\fBONLY_NEW_DOTNEW\fP +.br +Quando \fBPOSTINST\fP è impostato su "on", slackpkg cercherà tutti i file .new +dentro /etc e suggerirà all'utente cosa farne. Comunque, alcuni utenti +preferiscono vedere solo i file .new installati nell'ultima esecuzione di +slackpkg, cosi se questo ti va bene, imposta \fBONLY_NEW_DOTNEW\fP su "on". + +Il valore predefinito di \fBONLY_NEW_DOTNEW\fP è "off". Cambia questo valore +solo se sai cosa stai facendo... +.br +Dalla linea di comando, puoi usare \-only_new_dotnew=valore. + +.TP 5 +\fBONOFF\fP +.br +La variabile \fBONOFF\fP imposta il comportamento iniziale dell'interfaccia di +dialog. Se la imposti su "on" allora tutti i pacchetti saranno selezionati +in modo predefinito. Se invece preferisce l'opzione inversa (nessuno +selezionato), allora imposta la variabile su "off". + +Il valore predefinito di \fBONOFF\fP è "on". +.br +Dalla linea di comando, puoi usare \-onoff=valore. + +.TP 5 +\fBDOWNLOAD_ALL\fP +.br +Se questa variabile è impostata su "on", tutti i file saranno scaricati +prima che l'operazione richiesta venga eseguita (installare o aggiornare). +Se impostata su "off", allora i file saranno scaricati e l'operazione +(installare/aggiornare) sarà fatta uno a uno. + +Il valore predefinito di \fBDOWNLOAD_ALL\fP è "off". +.br +Dalla linea di comando, puoi usare \-download_all=valore. + +.TP 5 +\fBDIALOG\fP +.br +Abilita (on) o disabilita (off) l'interfaccia di dialogo. + +Il valore predefinito di \fBDIALOG\fP è "on". +.br +Dalla linea di comando, puoi usare \-dialog=valore. + +.TP 5 +\fBDIALOG_MAXARGS\fP +.br +Imposta il numero massimo di caratteri che saranno mandati a "dialog". Se +questo numero è raggiunto in aggiornamento, slackpkg rimuove l'informazione +per la versione installata di ogni pacchetto. Se anche senza questa +informazione il numero è ancora raggiunto, slackpkg mostra un errore +all'utente. + +Se \fBDIALOG_MAXARGS\fP non è impostato, 19500 è il valore predefinito. +.br +Dalla linea di comando, puoi usare \-dialog_maxargs=valore. + +.TP 5 +\fBBATCH\fP +.br +Abilita (on) o disabilita (off) la modalità non\-interattiva. Quando viene +eseguito in modalità batch, slackpkg non visualizzerà niente all'utente; in +caso contrario, tutte le domande avranno \fBDEFAULT_ANSWER\fP (vedi sotto). +.br +Se fai un aggiornamento per questa modalità, dovrai eseguire "slackpkg +new\-config" per trovare e integrare i file .new. + +Il valore predefinito di \fBBATCH\fP è "off". +.br +Dalla linea di comando, puoi usare \-batch=valore. + +.TP 5 +\fBDEFAULT_ANSWER\fP +.br +Questa è la risposta predefinita alla domande che slackpkg visualizza +all'utente per alcune informazioni. Questa è usata solo il modalità +non\-interattiva (quando \fBBATCH\fP è "yes" o l'utente usa la modalità batch +via linea di comando); al contrario, questa variabile non avrà nessun +effetto. +.br +Valori accettati sono "y" o "n". + +Il valore predefinito di \fBDEFAULT_ANSWER\fP è "n". +.br +Dalla linea di comando, puoi usare \-default_answer=valore. + +.TP 5 +\fBUSE_INCLUDES\fP +.br +I modelli slackpkg possono includere altri modelli. Questo permette di +ridurre la duplicazione del pacchetto in molti modelli, ma potrebbe essere +un problema se vuoi rimuovere solo uno specifico modello. Puoi disabilitare +#l'inclusione impostando questa opzione su "off". + +Il valore predefinito di \fBUSE_INCLUDES\fP è "on". +.br +Dalla linea di comando, puoi usare \-use_includes=valore. + +.TP 5 +\fBSPINNING\fP +.br +Quando Slackpkg sta facendo un'attività che prende molto tempo, ti da +l'informazione con una barra rotante. Se non ti piace questa barra, puoi +disabilitarla impostando questa opzione su "off". + +Il valore predefinito di \fBSPINNING\fP è "on". +.br +Dalla linea di comando, puoi usare \-spinning=valore. + +.SH FILES +.TP 5 +\fB/etc/slackpkg/slacpkg.conf\fP + +.SH "VEDI ANCHE" +\fBslackpkg\fP(8) \fBpkgtool\fP(8) \fBinstallpkg\fP(8) \fBupgradepkg\fP(8) +\fBremovepkg\fP(8) diff --git a/manpages-l10n/nb.slackpkg b/manpages-l10n/nb.slackpkg new file mode 100644 index 0000000..412fb72 --- /dev/null +++ b/manpages-l10n/nb.slackpkg @@ -0,0 +1,326 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG 8 "Mai 2010" slackpkg\-2.81.1 "" +.SH NAVN +\fBslackpkg\fP \- Verktøy for automatisk håndtering av pakker til Slackware +Linux + +.SH SAMMENDRAG +\fBslackpkg\fP \fB[VALG]\fP \fB{install|remove|search|upgrade|reinstall|blacklist}\fP +\fB{\fP\fITEKST\fP\fB|\fP\fIFIL\fP\fB}\fP + +\fBslackpkg [VALG] {clean\-system|upgrade\-all|install\-new}\fP + +\fBslackpkg\fP \fB[VALG]\fP \fB{search|file\-search}\fP \fB{\fP\fITEKST\fP\fB|\fP\fIFIL\fP\fB}\fP + +\fBslackpkg\fP \fB[VALG]\fP +\fB{generate\-template|install\-template|remove\-template}\fP \fIMAL\-NAVN\fP + +\fBslackpkg [VALG] info\fP \fIPAKKE\fP + +\fBslackpkg [VALG] update [gpg]\fP + +\fBslackpkg [VALG] {new\-config|check\-updates}\fP + +\fBslackpkg [VALG] help\fP + +.SH BESKRIVELSE +Slackpkg er et verktøy som lar deg installere og oppgradere pakker via +internett på en lettvint måte. Med slackpkg kan du ha en minimal +installasjon av Slackware Linux og installere/oppgradere bare de pakkene du +trenger mest. + +Du trenger ikke å sette opp NFS eller lage dusinvis av CD\-er til alle dine +maskiner; du trenger bare én kommando og alle de nyesete offisielle +Slackware pakkene vil være innen rekkevidde. + +.SH INSTRUKSJONER +Slackpkg har mange funksjoner. Den kan lete etter spesifikke filer, fjerne +alle tredje\-parts pakker på systemet, installere pakker lagt til Slackware +siden sist oppdatering, vise pakke beskrivelser, osv.. + +Første steg er å kommentere ut et av pakke repertoarene i +/etc/slackpkg/mirrors og kjøre kommandoen: + +.in +5 +# slackpkg update +.in + +"update" kommandoen vil laste ned og formatere listen over de tilgjengelige +pakkene i Slackware. Hver gang dette endres må update kjøres på nytt. + +Hoved funksjonene til Slackpkg er direkte relatert til pakke behandling: +installering, oppgradering og fjerning av pakker. Syntaksen for å gjøre +disse oppgavene i Slackpkg er: + +.in +5 +# slackpkg [VALG] <kommando> {TEKST|FIL} +.in + +\fIVALG\fP kan være en eller flere av de mange konfigurasjons valgene du finner +i /etc/slackpkg/slackpkg.conf. Det finnes tilsvarende kommandolinje valg for +de fleste av konfigurasjons instruksjonene i slackpkg.conf \- se +\fBslackpkg.conf(5)\fP manualen for informasjon om tilgjengelige +valgmuligheter. + +\fITEKST\fP kan være et pakke navn eller bare en del av dette navnet. Det kan +også være en programvare serie (f.eks kde, a, ap, ...). +.br + +\fIFIL\fP er en fil som inneholder en liste av \fITEKST\fP(navn): enten en per +linje, eller flere per linje med mellomrom som skilletegn. + +Slackpkg kan brukes for å oppgradere hele distribusjonen. +.br +Den vanlige metoden er: + +.in +5 +# slackpkg update +.br +# slackpkg install\-new +.br +# slackpkg upgrade\-all +.br +# slackpkg clean\-system +.in + +En funksjon av Slackpkg er muligheten for å benytte seg av maler, dette kan +forenkle jobben med å sette opp forskjellige maskiner med det samme +innholdet av pakker. De grunnleggende stegene er som følger: + +.RS +5 +.IP \(bu 2 +Installer pakkene du vil ha på en maskin +.IP \(bu 2 +Kjør "slackpkg generate\-template MAL\-NAVN" +.IP \(bu 2 +Kopier /etc/slackpkg/templates/MAL\-NAVN.template til den samme filkatalogen +på den andre maskinen +.IP \(bu 2 +Kjør "slackpkg install\-template MAL\-NAVN" på den andre maskinen +.RE + +\fIMAL\-NAVN\fP er navnet på malen. + +I denne manualen kan du se hva hver av disse (og andre) kommandoer gjør. + +.SH KOMMANDOER +.TP 5 +\fBhelp\fP +.br +Vis slackpkg kommandoene og en kort beskrivelse av dem. Nyttig hvis du +trenger en rask oversikt over slackpkg. Informasjonen her i manualen er +langt mer omfattende. + +.TP 5 +\fBupdate\fP +.br +update laster ned en pakkeliste fra et Slackware repertoar (eller fra +CD). Det er en god idé å kjøre denne + +.in +5 +# slackpkg update +.in + +før du forsøker å oppgradere, installere eller søke etter pakker. +.br +Hvis du trenger å oppdatere Slackware's GPG nøkkel, kjør + +.in +5 +# slackpkg update gpg +.in + +GPG nøkkelen forandrer seg ikke. Det er meningen at dette skal være en +"engangs kommando" \- kjør den og glem den... + +.TP 5 +\fBcheck\-updates\fP +.br +Sjekk om det finnes en oppdatering til ChangeLog.txt. Dette kan brukes av +cron for å varsle system ansvarlige om oppdateringer. + +.TP 5 +\fBfile\-search\fP +.br +Du kan søke igjennom de offisielle Slackware pakkene etter en hvilket som +helst fil i Slackware distribusjonen. Trenger du et obskurt programmerings +bibliotek? Bruk file\-search for å finne det. + +.in +5 +# slackpkg file\-search filnavn +.in + +Alle pakker som matcher "filnavn" vil bli vist slik at du kan se hvorvidt +disse er installert eller ikke; hvis ikke kan du laste dem ned og installere +dem med andre slackpkg kommandoer. + +.TP 5 +\fBsearch\fP +.br +Du kan søke etter pakker i Slackware distribusjonen. + +.in +5 +# slackpkg search tekst +.in + +Alle pakkenavn som matcher "teksten" vil bli vist. Akkurat som i file\-search +vil du se om pakkene er installert eller ikke; hvis ikke kan du laste ned og +installere dem med andre slackpkg kommandoer. + +.TP 5 +\fBinstall\fP +.br +Det er veldig enkelt å installere en pakke. Du trenger bare å skrive: + +.in +5 +# slackpkg install pakke +.in + +og pakken vil bli lastet ned og installert. +.br +Du kan ikke bruke "install" handlingen for å legge til en pakke som allerede +er installert, du kan derimot reinstallere eller oppgradere den. + +.TP 5 +\fBupgrade\fP +.br +upgrade installerer den siste offisielle versjonen av pakken(e) som er +oppgitt. + +upgrade vil ikke forsøke å installere nye pakker (bruk install handlingen +til dette formålet; denne kommandoen vil bruke den siste offisielle +versjonen av pakken). +.TP 5 +\fBreinstall\fP +.br +I tilfellet du har ødelagt noe med et uhell vil reinstall kommandoen la deg +reinstallere den samme versjonen av pakken som er installert. + +.TP 5 +\fBremove\fP +.br +remove kan fjerne pakker som er installert. For eksempel: + +.in +5 +# slackpkg remove kde +.in + +vil fjerne alle pakker som inkluderer "kde" i sitt navn. + +.TP 5 +\fBblacklist\fP +.br +Denne handlingen lar deg "svarteliste" visse pakker. +.br +Pakker som er svartelistet vil ikke bli installert, oppgradert eller fjernet +av slackpkg. Hvis du vil fjerne pakker fra svartelisten kan du gjøre dette i +/etc/slackpkg/blacklist. + +.TP 5 +\fBdownload\fP +.br +Denne handlingen lar slackpkg laste ned pakkene, men installerer dem +ikke. De blir lagt i /var/cache/packages og du kan +installere/oppgradere/reinstallere dem senere (eller brenne dem på en CD). + +.TP 5 +\fBinfo\fP +.br +Denne kommandoen skriver ut informasjon om pakken(e): komprimert og +dekomprimert størrelse, beskrivelse, osv... + +.TP 5 +\fBclean\-system\fP +.br +Denne kommandoen fjerner alle pakker som ikke hører hjemme i en standard +Slackware installasjon. Med dette valget kan du renske opp i systemet, +fjerne alle tredje\-parts programvarer i tillegg til pakker som har blitt +fjernet fra det offisielle listen over Slackware pakker. +.br +Hvis du har tredje parts (eller egenbygde) pakker som du ønsker å beholde +kan du midlertidig legge disse til i listen over svartelistede pakker før du +kjører denne kommandoen. + +.TP 5 +\fBupgrade\-all\fP +.br +Denne handlingen oppgraderer alle pakkene som er installert på systemet til +de siste offisielle Slackware versjonene; Dette er en "god" måte å +oppgradere hele systemet. +.br +Husk å kjøre "install\-new" handlingen før du kjører "upgrade\-all." + +.TP 5 +\fBinstall\-new\fP +Denne handlingen installerer alle nye pakker som er lagt til i det den +offisielle listen over Slackware pakker. Kjør dette hvis du oppgraderer ditt +system til en annen versjon av Slackware eller hvis du bruker \-current. +.br +Hvis du vil installere alle Slackware pakker som er blitt fjernet fra ditt +system kan du bruke den følgende kommandoen istedet for install\-new +handlingen: + +.in +5 +# slackpkg install slackware. +.in +.TP 5 +\fBnew\-config\fP +Denne kommandoen søker etter .new konfigurasjons filer og spør brukeren hva +som skal gjøres med disse. +.br +new\-config er veldig nyttig når du har gjort en oppgradering og latt +konfigurasjons filene være for å se på dem senere. Istedet for å manuelt +gjøre et søk, diff og erstatt; kan du bruke denne kommandoen. +.TP 5 +\fBgenerate\-template\fP +Denne kommandoen lager en ny mal med alle offisielle pakker som er installer +på systemet. Denne malen er lagret i /etc/slackpkg/templates +.TP 5 +\fBinstall\-template\fP +Denne kommandoen installerer den oppgitte malen på ditt system. Malen må +ligge i /etc/slackpkg/templates. Hvis malen "inkluderer" andre maler, må +også disse ligge i /etc/slackpkg/templates. Du kan velge å ignorere +"inkluderte" maler generelt i slackpkg.conf eller ved kommandolinje +parametre. +.TP 5 +\fBremove\-template\fP +Denne handlingen fjerner alle pakker som den oppgitte malen inneholder. Vær +forsiktig, dette kan gjøre maskinen din ubrukelig. Inkludering av andre +maler i en mal kan aktiveres/deaktiveres i slackpkg.conf eller med de rette +parametrene i kommandolinjen. + +.SH FILER +.TP 5 +\fB/etc/slackpkg/mirrors \fP +Fil som spesifiserer lokasjonen til pakke repertoarene +.TP 5 +\fB/etc/slackpkg/slackpkg.conf \fP +Generell konfigurasjon for slackpkg +.TP 5 +\fB/etc/slackpkg/blacklist\fP +Liste over pakker som slackpkg skal ignorere +.TP 5 +\fB/etc/slackpkg/templates\fP +Inneholder alle malene +.TP 5 +\fB/usr/libexec/slackpkg\fP +Inneholder grunnleggende slackpkg skript +.TP 5 +\fB/var/lib/slackpkg\fP +Brukes internt av slackpkg \- Formaterte pakkelister, kopi av ChangeLog.txt, +fillister, osv... + +.SH "SE OGSÅ" +\fBslackpkg.conf\fP(5), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), \fBexplodepkg\fP(8), +\fBmakepkg\fP(8), \fBpkgtool\fP(8). + +.SH PROGRAMMERERE +.TP 5 +Piter PUNK aka Roberto F Batista +<piterpk AT terra DOT com DOT br> +.TP 5 +Evaldo Gardenali aka UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/manpages-l10n/nb.slackpkg.conf b/manpages-l10n/nb.slackpkg.conf new file mode 100644 index 0000000..52770c5 --- /dev/null +++ b/manpages-l10n/nb.slackpkg.conf @@ -0,0 +1,289 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG.CONF 5 "Mai 2010" slackpkg\-2.81.1 "" +.SH NAVN +\fBslackpkg.conf\fP \- Konfigurasjonen til slackpkg + +.SH BESKRIVELSE + +slackpkg.conf inneholder informasjon for \fBslackpkg\fP (8), et verktøy for +automatisk pakkebehandling i Slackware Linux. + +slackpkg.conf filen inneholder variabler for terminal programmet, disse +variablene kontrollerer visse aspekter med slackpkg. Kommentarer begynner +med et # tegn og går ut til slutten av linjen, kommentarer kan dukke opp +hvor som helst i slackpkg.conf filen. Hvis variabler brukes mer en en gang i +filen vil slackpkg bruke verdien til den siste. + +Mange variabler kan overstyres ved parametre gitt til slackpkg i +kommandolinjen. Hvis du trenger å overstyre verdien til \fBVARIABEL\fP, så +skriv \fB\-variable=verdi\fP i kommandolinjen rett før slackpkg kommandoene +(f.eks install, remove..). Mer en én variabel kan overstyres. + +EKSEMPEL: slackpkg \-batch=on \-default_answer=y upgrade\-all + +For konfigurasjons valg som bare har to tilstander er de gyldige verdiene +"on" eller "off" med mindre noe annet er oppgitt. + +De forskjellige konfigurasjons valgene er: + +.TP 5 +\fBARCH\fP +.br +Velg system arkitektur. Vanligvis kan Slackpkg finne den riktige verdien ved +å bruke "uname \-m". Gyldige verdier er: + +.ds title MASKIN\t\tARKITEKTUR VERDIER +.ds arm ARM\t\t\tarm +.ds x86 x86 (32bits)\ti386, i486, i586 and i686 +.ds x86_64 x86 (64bits)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +\fB\*[title]\fP +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +Standardverdien av \fBARCH\fP vil avhenge av din arkitektur. + +.TP 5 +\fBSLACKKEY\fP +.br +Slackpkg sjekker pakkens signatur fil (.asc) mot prosjektets GPG +signatur. Slackware versjoner bygd for forskjellige arkitekturer (32/64\-bit, +arm..) kan ha forskjellige signaturer, Slackpkg forsøker å finne den riktige +ved å se på systemets gjeldende arkitektur. Hvis den automatiske verdien til +\fBSLACKKEY\fP ikke er korrekt, kan du endre dette med denne variabelen. + +Standardverdien av \fBSLACKKEY\fP vil avhenge av hvilken arkitektur din versjon +av Slackware er bygd for (32/64\-bit, arm..). + +.TP 5 +\fBTEMP\fP +.br +Definerer hvor slackpkg skal putte nedlastede pakker før den +installerer/oppgraderer dem. + +Standardverdien til \fBTEMP\fP er /var/cache/packages. + +.TP 5 +\fBWORKDIR\fP +.br +Definerer filkatalogen med pakkelistene, fillistene og annen informasjon som +brukes av slackpkg. Ikke gjør endringer i denne variabelen med mindre du vet +hva du holder på med. + +Standardverdien til \fBWORKDIR\fP er /var/lib/slackpkg. + +.TP 5 +\fBWGETFLAGS\fP +.br +Spesifiser alternative parametre til wget. Hvis du trenger å bruke flere +parametre så husk a sette dem i hermetegn. + +Standardverdien til \fBWGETFLAGS\fP er "\-\-passive\-ftp" + +.TP 5 +\fBDELALL\fP +.br +Hvis dette settes til "on" vil alle nedlastede filer bli fjernet etter at +slackpkg har installert eller oppgradert pakkene (dette påvirker IKKE +"download" kommandoen i slackpkg). Hvis det er satt til "off" vil disse +filene bli oppbevart i filkatalogen definert i \fBTEMP\fP (beskrevet ovenfor). + +Standardverdien til \fBDELALL\fP er "on". +.br +Fra kommandolinjen kan du bruke \-delall=on/off. + +.TP 5 +\fBCHECKMD5\fP +.br +Aktiverer (on) eller deaktiverer (off) MD5 sjekking av alle nedlastede +pakker før de installeres eller oppgraderes. + +Standardverdien av \fBCHECKMD5\fP er "on". +.br +Fra kommandolinjer kan du bruke \-checkmd5=on/off. + +.TP 5 +\fBCHECKGPG\fP +.br +Aktiverer (on) eller deaktiverer (off) GPG signatur sjekking av hver pakke +før installasjon eller oppgradering. + +Standardverdien til \fBCHECKGPG\fP er "on". +.br +Fra kommandolinjen kan du bruke \-checkgpg=on/off. + +.TP 5 +\fBCHECKSIZE\fP +.br +Aktiverer (on) eller deaktiverer (off) sjekking av tilgjengelig harddisk +plass for hver pakke før installasjon eller oppgradering. + +Standardverdien av \fBCHECKSIZE\fP er "off". +.br +Fra kommandolinjen kan du bruke \-checksize=off/on. + +.TP 5 +\fBPKGMAIN\fP +.br +Spesifiserer hoved filkatalogen for distribusjonen. Vanligvis trenger du +ikke bry deg med denne variabelen ettersom Slackpkg forsøker å finne den +automatisk ut ifra din arkitektur. Hvis du derimot trenger å endre dette så +legg til denne variabelen i slackpkg.conf. Dette bør alltid være en +filkatalogen som inneholder Slackware pakke seriene (A, AP, D, E, F, ...). + +Standard: avhenger av arkitekturen (32/64\-bit, arm..) + +.TP 5 +\fBPRIORITY\fP +.br +Denne rekken velger hvilke prioriteringer filkatalogene på repertoarene vil +ha når slackpkg ser etter pakker. Hvis en pakke finnes i mer en et sted vil +pakken i den første filkatalogen få prioritet, deretter den andre, så den +tredje, så den fjerde og endelig pakken i den siste filkatalogen. Du kan +bruke %PKGMAIN for å bruke innholdet i PKGMAIN variabelen. + +Standardverdiene (i rekkefølge): + +.TP 5 +\fBPOSTINST\fP +.br +Aktiverer (on) eller deaktiverer (off) slackpkg funksjoner som kjøres etter +en pakke installasjon, som å se etter nye (*.new) konfigurasjons filer og +nye kjerner og spørre hva som skal gjøres. + +Standardvalget til \fBPOSTINST\fP er "on". +.br +Fra kommandolinjen kan du bruke \-postinst=on/off. + +.TP 5 +\fBONLY_NEW_DOTNEW\fP +.br +Når \fBPOSTINST\fP er satt til "on" vil slackpkg søke etter alle nye .new filer +i /etc og spørre brukeren hva som skal gjøres med dem. Noen brukere +foretrekker imidlertid at slackpkg bare skriver en liste over .new filene +som ble installert uten å spørre hva som skal gjøres, hvis dette også +gjelder deg kan du sette \fBONLY_NEW_DOTNEW\fP til "on". + +Standardverdien til \fBONLY_NEW_DOTNEW\fP er "off". Ikke juster dette med +mindre du vet hva du holder på med... +.br +Fra kommandolinjen kan du bruke \-only_new_dotnew=on/off. + +.TP 5 +\fBONOFF\fP +.br +\fBONOFF\fP variabelen har betydning for hvilke pakker dialog grensesnittet vil +velge som standard. Hvis den er satt til "on" vil alle pakker forhåndsvelges +som standard. Hvis du foretrekker det motsatte (ingen valgt) kan du sette +denne til "off". + +Standardvalget til \fBONOFF\fP er "on". +.br +Fra kommandolinjen kan du bruke \-onoff=on/off. + +.TP 5 +\fBDOWNLOAD_ALL\fP +.br +Hvis denne variabelen er satt til "on" vil alle filer bli lastet ned før den +forespurte kommandoen (installer eller oppgrader) blir gjennomført. Hvis den +er satt til "off" vil nedlastingen og kommandoen (installer/oppgrader) +gjennomføres etter hverandre for hver pakke. + +Standardverdien til \fBDOWNLOAD_ALL\fP er "off". +.br +Fra kommandolinjen kan du bruke \-download_all=off/on. + +.TP 5 +\fBDIALOG\fP +.br +Aktiverer (on) eller deaktiverer (off) dialog grensesnittet. + +Standardverdien til \fBDIALOG\fP er "on". +.br +Fra kommandolinjen kan du bruke \-dialog=on/off. + +.TP 5 +\fBDIALOG_MAXARGS\fP +.br +Spesifiser maksimalt antall tegn som kan sendes til "dialog". Hvis dette +antallet nås i en oppgradering vil slackpkg fjerne informasjon om nåværende +installerte versjon for hver pakke. Hvis antallet nås selv etter dette vil +slackpkg komme med en feilbeskjed til brukeren. + +Hvis \fBDIALOG_MAXARGS\fP ikke er satt vil 19500 brukes som standardverdi. +.br +Fra kommandolinjen kan du bruke \-dialog_maxargs=verdi. + +.TP 5 +\fBBATCH\fP +.br +Aktiverer (on) eller deaktiverer (off) ikke\-interaktiv modus. Når slackpkg +kjøres i batch modus vil ikke brukeren bli spurt om noe; i stedet vil alle +spørsmål bli vart ved \fBDEFAULT_ANSWER\fP variabelen (se nedenfor). +.br +Hvis du oppgraderer med denne modusen må du kjøre "slackpkg new\-config" +senere for å finne og legge til .new filer. + +Standardverdien til \fBBATCH\fP er "off". +.br +Fra kommandolinjen kan du bruke \-batch=off/on. + +.TP 5 +\fBDEFAULT_ANSWER\fP +.br +Dette er standard svaret når slackpkg spør brukeren om noe. Dette brukes +bare i ikke\-interaktiv modus (når \fBBATCH\fP er satt til "yes" eller brukeren +setter batch modus i kommandolinjen); ellers har ikke variabelen noen +virkning. +.br +Gyldige verdier er "y" (yes) eller "n" (no). + +Standardverdien til \fBDEFAULT_ANSWER\fP er "n". +.br +Fra kommandolinjen kan du bruke \-default_answer=n/y. + +.TP 5 +\fBUSE_INCLUDES\fP +.br +Slackpkg maler kan inkludere andre maler. Dette reduserer gjenbruk av pakker +ved flere maler, men det kan være et problem hvis du bare ønsker å fjerne en +spesifikk mal. Du kan deaktivere #include ved å sette denne variabelen til +"off". + +Standardverdien til \fBUSE_INCLUDES\fP er "on". +.br +Fra kommandolinjen kan du bruke \-use_includes=on/off. + +.TP 5 +\fBSPINNING\fP +.br +Når Slackpkg gjør oppgaver som tar tid gir den visuell tilbakemelding med et +roterende tegn. Hvis du ikke liker dette roterende tegnet kan du deaktivere +det med valget "off". + +Standardverdien til \fBSPINNING\fP er "on". +.br +Fra kommandolinjer kan du bruke \-spinning=on/off. + +.SH FILER +.TP 5 +\fB/etc/slackpkg/slacpkg.conf\fP + +.SH "SE OGSÅ" +\fBslackpkg\fP(8) \fBpkgtool\fP(8) \fBinstallpkg\fP(8) \fBupgradepkg\fP(8) +\fBremovepkg\fP(8) diff --git a/manpages-l10n/nl.slackpkg b/manpages-l10n/nl.slackpkg new file mode 100644 index 0000000..931c33d --- /dev/null +++ b/manpages-l10n/nl.slackpkg @@ -0,0 +1,339 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG 8 "Mei 2010" slackpkg\-2.81.1 "" +.SH NAAM +\fBslackpkg\fP \- Geautomatiseerde tool voor het beheren van Slackware Linux +pakketten + +.SH SYNOPSIS +\fBslackpkg\fP \fB[OPTIES]\fP +\fB{install|remove|search|upgrade|reinstall|blacklist}\fP +\fB{\fP\fIPATROON\fP\fB|\fP\fIBESTAND\fP\fB}\fP + +\fBslackpkg [OPTIES] {clean\-system|upgrade\-all|install\-new}\fP + +\fBslackpkg\fP \fB[OPTIES]\fP \fB{search|file\-search}\fP +\fB{\fP\fIPATROON\fP\fB|\fP\fIBESTAND\fP\fB}\fP + +\fBslackpkg\fP \fB[OPTIES]\fP +\fB{generate\-template|install\-template|remove\-template}\fP \fISJABLOONNAAM\fP + +\fBslackpkg [OPTIES] info\fP \fIPAKKET\fP + +\fBslackpkg [OPTIES] update [gpg]\fP + +\fBslackpkg [OPTIES] {new\-config|check\-updates}\fP + +\fBslackpkg [OPTIES] help\fP + +.SH OMSCHRIJVING +Slackpkg is een tool voor wie gemakkelijk pakketten wilt installeren of +upgraden via het netwerk. Met slackpkg kunt u een minimale installatie van +Slackware Linux onderhouden en alleen die pakketten installeren/upgraden +waaraan u het meest behoefte heeft. + +U hoeft geen NFS op te zetten of een dozijn CDs te branden voor al uw +computers; alles wat nodig is is het typen van een enkel commando en alle +meest recente, officiële Slackware pakketten staan tot uw beschikking. + +.SH INSTRUCTIES +Slackpkg heeft veel functies. Het kan naar specifieke bestanden zoeken, alle +pakketten van derden op uw systeem verwijderen, pakketten installeren die +aan Slackware werden toegevoegd sinds uw laatste update, pakket\-informatie +tonen, enz. + +Voordat u iets kunt doen, dient u precies één mirror URL in +/etc/slackpkg/mirrors te decommentariëren en het volgende commando uit te +voeren: + +.in +5 +# slackpkg update +.in + +De actie "update" zal een lijst downloaden van de in Slackware aanwezige +bestanden en pakketten. Steeds wanneer deze lijst gewijzigd is moet de +\&'update' actie opnieuw worden uitgevoerd. + +De hoofdfuncties van Slackpkg hebben direct te maken met pakketbeheer: het +installeren, upgraden en verwijderen van pakketten. De slackpkg syntax +hiervoor is: + +.in +5 +# slackpkg [OPTIES] <action> {PATROON|BESTAND} +.in + +\fIOPTIES\fP kunnen één of meer van de vele configuratie\-opties zijn zoals +aangegeven in /etc/slackpkg.conf. Vergelijkbare opties voor de commandoregel +voor de meeste configuratie\-aanwijzingen worden genoemd in slackpkg.conf \- +zie de \fBslackpkg.conf(5)\fP man page voor de beschikbare opties. + +\fIPATROON\fP kan een gehele of gedeeltelijke pakketnaam zijn. Het kan ook een +hele software\-serie zijn (zoals kde, a, ap, ...). +.br + +\fIBESTAND\fP is een bestand met een lijst van \fIPATROON\fP erin: óf één per +regel óf meerdere per regel gescheiden door spaties. + +Slackpkg kan gebruikt worden om de gehele distributie op te waarderen. +.br +De gebruikelijke manier is: + +.in +5 +# slackpkg update +.br +# slackpkg install\-new +.br +# slackpkg upgrade\-all +.br +# slackpkg clean\-system +.in + +Een andere functie van Slackpkg is de mogelijkheid om met sjablonen te +werken, wat het veel eenvoudiger maakt om verschillende machines van +dezelfde pakketten te voorzien. De basisstappen zijn als volgt: + +.RS +5 +.IP \(bu 2 +Installeer één machine +.IP \(bu 2 +Geef het commando ""slackpkg generate\-template SJABLOONNAAM" +.IP \(bu 2 +Kopieer /etc/slackpkg/templates/SJABLOONNAAM.template naar dezelfde +directory op de andere machine +.IP \(bu 2 +Geef het commando "slackpkg install\-template SJABLOONNAAM" op de andere +machine +.RE + +\fISJABLOONNAAM\fP is de naam van uw sjabloon. + +Door deze handleiding te volgen kunt u ontdekken wat elk van deze (en +andere) acties doet. + +.SH ACTIES +.TP 5 +\fBhelp\fP +.br +Geef de acties van slackpkg weer met een korte omschrijving. Handig als je +iets over slackpkg wilt weten. De informatie in deze man page is echter veel +uitgebreider. + +.TP 5 +\fBupdate\fP +.br +update zal de meest recente pakkettenlijst downloaden van een Slackware +mirror (of je CD). Het is een goed idee om uit te voeren + +.in +5 +# slackpkg update +.in + +alvorens pakketten te updaten, installeren of zoeken. +.br +Als je Slackware's GPG sleutel moet updaten doe je + +.in +5 +# slackpkg update gpg +.in + +De GPG\-sleutel verandert niet. Dit zou een éénmalig commando moeten zijn \- +voer het uit en vergeet het weer... + +.TP 5 +\fBcheck\-updates\fP +.br +Verifieer of er een update is van ChangeLog.txt. Deze is goed om door cron +te laten uitvoeren om de sysadmin te waarschuwen over updates. + +.TP 5 +\fBfile\-search\fP +.br +Je kunt de officiële Slackware pakketten doorzoeken op ieder bestand in de +Slackware distributie. Heb je een vreemde bibliotheek nodig? Gebruik +file\-search om die te vinden. + +.in +5 +# slackpkg file\-search bestandsnaam +.in + +Alle pakketten die overeenkomen met "bestandsnaam" zullen worden getoond, +waardoor je kunt zien of de pakketten al dan niet zijn geïnstalleerd. Indien +afwezig, kunnen ze worden gedownload en geïnstalleerd met andere slackpkg +acties. + +.TP 5 +\fBsearch\fP +.br +Je kunt zoeken naar elk pakket dat met Slackware gedistribueerd wordt. + +.in +5 +# slackpkg search patroon +.in + +Alle pakket\-namen die overeenkomen met "patroon" zullen worden getoond, Net +als bij file\-search kun je zien of de pakketten zijn geïnstalleerd of +niet. Indien afwezig, kunnen ze worden gedownload en geïnstalleerd met +andere slackpkg acties. + +.TP 5 +\fBinstall\fP +.br +Installatie van een pakket is eenvoudig. Je hoeft alleen maar te typen: + +.in +5 +# slackpkg install pakket +.in + +en het pakket zal worden gedownload en geïnstalleerd. +.br +Je kunt de "install" optie niet gebruiken om een al geïnstalleerd pakket te +installeren, maar je zou het kunnen herinstalleren of upgraden. + +.TP 5 +\fBupgrade\fP +.br +upgrade installeert de recentste officiële versie van het (de) genoemde +pakket(ten). + +upgrade zal niet proberen nieuwe pakketten te installeren (gebruik daarvoor +de install functie; de recentste versie van het pakket zal worden +geïnstalleerd). +.TP 5 +\fBreinstall\fP +.br +Indien per ongeluk een bestand corrupt geraakt is, zal de reinstall optie +zorgen voor een her\-installatie van dezelfde versie van een pakket dat al +geïnstalleerd is. + +.TP 5 +\fBremove\fP +.br +Met remove kun je bepaalde al geïnstalleerde pakketten +verwijderen. Bijvoorbeeld: + +.in +5 +# slackpkg remove kde +.in + +zal alle pakketten verwijderen met "kde" in hun naam. + +.TP 5 +\fBblacklist\fP +.br +Met deze actie kun je bepaalde pakketten op een "zwarte lijst" zetten. +.br +Pakketten op de zwarte lijst zullen niet worden geïnstalleerd, opgewaardeerd +of verwijderd door slackpkg. Als je een pakket wilt verwijderen uit de +zwarte lijst, moet je het bestand /etc/slackpkg/blacklist handmatig +aanpassen. + +.TP 5 +\fBdownload\fP +.br +Deze actie laat slackpkg de pakketten downloaden maar niet installeren. Ze +zullen worden geplaatst in /var/cache/packages, zodat je ze later zelf kunt +installeren/opwaarderen (of op een CD branden). + +.TP 5 +\fBinfo\fP +.br +Deze actie print informatie over de pakketten, gecomprimeerde en +ongecomprimeerde bestandsgrootte, beschrijving, enzovoort... + +.TP 5 +\fBclean\-system\fP +.br +Deze actie verwijdert alle pakketten die niet tot de standaard Slackware +installatie behoren. Met deze optie kun je je systeem opschonen, pakketten +van derden verwijderen maar ook pakketten die geen deel meer uitmaken van de +officiele Slackware pakkettenverzameling. +.br +Als je pakketten van derden hebt (of zelf gecompileerde) die je wilt +behouden kun je die tijdelijk toevoegen aan de zwarte lijst voordat je de +\&'clean\-system' actie uitvoert. + +.TP 5 +\fBupgrade\-all\fP +.br +Deze actie zal elk pakket dat op het systeem is geïnstalleerd naar de versie +in de officiele Slackware\-tree upgraden; dit is de 'juiste' manier om het +hele systeem te upgraden. +.br +Let goed op dat je "install\-new" moet uitvoeren vóór je "upgrade\-all" +gebruikt. + +.TP 5 +\fBinstall\-new\fP +Deze actie installeert alle nieuwe pakketten toegevoegd aan de officiële +verzameling Slackware pakketten. Voer het uit als je je systeem opwaardeert +naar een andere Slackware versie of als je \-current gebruikt. +.br +Als je alle niet\-geïnstalleerde Slackware pakketten op je systeem wilt +installeren gebruik je in plaats van install\-new het volgende commando: + +.in +5 +# slackpkg install slackware. +.in +.TP 5 +\fBnew\-config\fP +Deze actie zoekt naar .new configuratiebestanden en vraagt de gebruiker wat +er mee te doen. +.br +new\-config is erg nuttig tijdens een upgrade, wanneer je de nieuwe +configuratiebestanden pas later wilt evalueren. In plaats van handmatig +zoeken, vergelijken en vervangen, kun je de new\-config actie gebruiken. +.TP 5 +\fBgenerate\-template\fP +Deze actie genereert een sjabloon met alle officiële pakketten die op je +systeem geïnstalleerd zijn. Het sjabloon wordt opgeslagen in +/etc/slackpkg/templates +.TP 5 +\fBinstall\-template\fP +Deze actie installeert het gekozen sjabloon op het systeem. Het sjabloon +moet aanwezig zijn in /etc/slackpkg/templates . Indien het sjabloon weer +andere aanroept via "includes", moeten ook die on /etc/slackpkg/templates te +vinden zijn. Je kunt "includes" uitzetten in slackpkg.conf of op de +opdrachtregel. +.TP 5 +\fBremove\-template\fP +Deze actie verwijdert alle pakketten die deel uitmaken van een geselecteerd +sjabloon. Pas op, dit kan je systeem onbruikbaar maken. Het uitvoeren van +meer sjablonen middels "include" kan worden aan\- of uitgezet in +slackpkg.conf of met een optie op de opdrachtregel. + +.SH BESTANDEN +.TP 5 +\fB/etc/slackpkg/mirrors⇥\fP +Bestand om aan te geven vanaf welke lokatie de pakketten gedownload moeten +worden +.TP 5 +\fB/etc/slackpkg/slackpkg.conf⇥\fP +Algemene configuratie van slackpkg +.TP 5 +\fB/etc/slackpkg/blacklist\fP +Lijst van te negeren pakketten +.TP 5 +\fB/etc/slackpkg/templates\fP +Bevat alle sjabloonbestanden +.TP 5 +\fB/usr/libexec/slackpkg\fP +Bevat de kern van slackpkg alsmede aanvullende functies +.TP 5 +\fB/var/lib/slackpkg\fP +Slackpkg intern gebruik \- Opgemaakte pakketlijsten, kopie van Changelog.txt, +lijst van bestanden etcetera... + +.SH "ZIE OOK" +\fBslackpkg.conf\fP(5), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), \fBexplodepkg\fP(8), +\fBmakepkg\fP(8), \fBpkgtool\fP(8). + +.SH AUTEURS +.TP 5 +Piter PUNK oftewel Roberto F Batista +<piterpk AT terra DOT com DOT br> +.TP 5 +Evaldo Gardenali oftewel UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/manpages-l10n/nl.slackpkg.conf b/manpages-l10n/nl.slackpkg.conf new file mode 100644 index 0000000..48ef87a --- /dev/null +++ b/manpages-l10n/nl.slackpkg.conf @@ -0,0 +1,286 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG.CONF 5 "Mei 2010" slackpkg\-2.81.1 "" +.SH NAAM +\fBslackpkg.conf\fP \- Configuratiebestand voor slackpkg + +.SH OMSCHRIJVING + +Het slackpkg.conf bestand bevat informatie voor \fBslackpkg\fP (8), een +programma om Slackware Linux pakketten geautomatiseerd te beheren. + +Het slackpkg.conf bestand is een opeenvolging van script\-variabelen en elke +variabele bepaalt een aspect van slackpkg. Commentaar begint met het # +symbool, stopt aan het einde van de regel en kan op iedere plaats in +slackpkg.conf voorkomen. Als een variabele meer dan eens voorkomt gebruikt +slackpkg de laatst gedefinieerde. + +Veel variabelen kunnen worden overruled door opties die aan slackpkg op de +commandoregel worden meegegeven. Om de waarde van \fBVARIABLE\fP te overrulen +geef je \fB\-variable=value\fP mee op de commandoregel vlak voor de slackpkg +actie. Meerdere variabelen mogen worden overruled. + +VOORBEELD: slackpkg \-batch=on \-default_answer=y upgrade\-all + +Voor configuratie\-opties die slechts twee toestanden kennen, zijn de +mogelijke waarden "on" danwel "off" tenzij anders aangegeven. + +De verschillende configuratie\-opties zijn: + +.TP 5 +\fBARCH\fP +.br +Kiest de systeemarchitectuur. Normaal gesproken kan Slackpkg de juiste +waarde vinden middels "uname \-m". Geldige waardes zijn: + +.ds title MACHINE\t\tGELDIGE ARCH WAARDEN +.ds arm ARM\t\t\tarm +.ds x86 x86 (32bits)\ti386, i486, i586 en i686 +.ds x86_64 x86 (64bits)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +\fB\*[title]\fP +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +De standaard waarde van \fBARCH\fP is afhankelijk van je architectuur. + +.TP 5 +\fBSLACKKEY\fP +.br +Slackpkg controleert het handtekeningbestand (.asc) met de GPG\-handtekening +van het project. +Verschillende ports van Slackware kunnen verschillende handtekeningen hebben +en Slackpkg probeert de juiste te vinden op basis van de architectuur van je +systeem. Als de automatisch gevonden \fBSLACKKEY\fP niet juist is kun je deze +aanpassen met deze optie. + +De standaard waarde van \fBSLACKKEY\fP hangt af van je Slackware port. + +.TP 5 +\fBTEMP\fP +.br +Definieert de locatie waar slackpkg de pakketten zal downloaden alvorens ze +te installeren/upgraden. + +De standaard waarde van \fBTEMP\fP is /var/cache/packages. + +.TP 5 +\fBWORKDIR\fP +.br +Definieert de directory voor pakketlijsten, bestandslijsten en andere +informatie die slackpkg gebruikt tijdens zijn uitvoering. Verander deze +waarde niet tenzij je weet wat je doet. + +De standaard waarde van \fBWORKDIR\fP is /var/lib/slackpkg. + +.TP 5 +\fBWGETFLAGS\fP +.br +Selecteert speciale opties voor wget. Vergeet niet als je meerdere opties +opgeeft deze tussen dubbele aanhalingstekens te plaatsen. + +De standaard waarde van \fBWGETFLAGS\fP is "\-\-passive\-ftp" + +.TP 5 +\fBDELALL\fP +.br +Indien "on" zullen alle gedownloade bestanden na installatie of upgraden +door slackpkg worden verwijderd (dit heeft geen invloed als slackpkg wordt +uitgevoerd met "download"). Indien "off" worden de bestanden bewaard in de +directory gedefinieerd door \fBTEMP\fP (zoals hierboven beschreven). + +De standaard waarde van \fBDELALL\fP is "on". +.br +Vanaf de commandoregel kunt u \-delall=value gebruiken. + +.TP 5 +\fBCHECKMD5\fP +.br +Schakelt de controle van MD5 checksums voor installatie of upgraden van alle +gedownloade pakketten aan (on) of uit (off). + +De standaard waarde van \fBCHECKMD5\fP is "on". +.br +Vanaf de commandoregel kunt u \-checkmd5=value gebruiken. + +.TP 5 +\fBCHECKGPG\fP +.br +Schakelt de controle van de GPG handtekening voor installatie of upgraden +van alle gedownloade pakketten aan (on) of uit (off). + +De standaard waarde van \fBCHECKGPG\fP is "on". +.br +Vanaf de commandoregel kunt u \-checkgpg=value gebruiken. + +.TP 5 +\fBCHECKSIZE\fP +.br +Schakelt de controle van de hoeveelheid schijfruimte voor installatie of +upgraden van alle pakketten aan (on) of uit (off). + +De standaard waarde van \fBCHECKSIZE\fP is "off". +.br +Vanaf de commandoregel kunt u \-checksize=value gebruiken. + +.TP 5 +\fBPKGMAIN\fP +.br +Definieert de hoofd distributie directory. Gewoonlijk hoef je je niet druk +te maken over deze variabele omdat Slackpkg deze probeert te vinden op basis +van je architectuur. Als je deze toch wilt veranderen doe dat dan in je +slackpkg.conf. Dit moet altijd de directory zijn die de Slackware +pakketten\-series bevat (A, AP, D, E, F, ...). + +Standaard: afhankelijk van Slackware port + +.TP 5 +\fBPRIORITY\fP +.br +Deze reeks bepaalt de prioriteit van de directories op de mirror waarmee +slackpkg naar de pakketten kijkt. Als een pakket op meerdere plaatsen wordt +gevonden heeft het pakket in de eerste directory prioriteit, daarna de +tweede, de derde, de vierde en uiteindelijk het pakket gevonden in de +laatste directory. Je kunt met %PKGMAIN de waarde van PKGMAIN gebruiken. + +Standaard waarden (in volgorde): patches %PKGMAIN extra pasture testing + +.TP 5 +\fBPOSTINST\fP +.br +Schakelt slackpkg's post\-installatie opties aan (on) of uit (off), zoals +controle op nieuwe (.new) configuratiebestanden en nieuwe kernel images en +de vraag wat je er mee wilt doen. + +De standaard waarde van \fBPOSTINST\fP is "on". +.br +Vanaf de commandoregel kunt u \-postinst=value gebruiken. + +.TP 5 +\fBONLY_NEW_DOTNEW\fP +.br +Als \fBPOSTINST\fP aan "on" staat zoekt slackpkg naar alle .new bestanden in +/etc en vraagt de gebruiker wat met deze te doen. De meeste gebruikers +willen echter alleen de .new bestanden zien van de laatste uitvoering van +slackpkg, dus als dit ook voor u geldt zet \fBONLY_NEW_DOTNEW\fP "on". + +De standaard waarde van \fBONLY_NEW_DOTNEW\fP is "off". Verander deze alleen +als u weet wat u doet... +.br +Vanaf de commandoregel kunt u \-only_new_dotnew=value gebruiken. + +.TP 5 +\fBONOFF\fP +.br +De \fBONOFF\fP variabele bepaalt het aanvankelijke gedrag van de dialoog +interface. Bij "on" worden standaard alle pakketten geselecteerd. Als u het +tegenovergestelde wilt (alles onaangevinkt) stel dan "off" in. + +De stadnaard waarde van \fBONOFF\fP is "on". +.br +Vanaf de commandoregel kunt u \-onoff=value gebruiken. + +.TP 5 +\fBDOWNLOAD_ALL\fP +.br +Indien deze variabele op "on" staat worden alle bestanden gedownload vóór de +gewenste actie (installatie of upgrade). Ingesteld op "off" worden de +bestanden één voor één gedownload en behandeld (geïnstalleerd of geüpgrade). + +De standaard waarde van \fBDOWNLOAD_ALL\fP is "off". +.br +Vanaf de commandoregel kunt u \-download_all=value gebruiken. + +.TP 5 +\fBDIALOG\fP +.br +Schakelt de dialoog interface aan (on) of uit (off). + +De standaard waarde van \fBDIALOG\fP is "on". +.br +Vanaf de commandoregel kunt u \-dialog=value gebruiken. + +.TP 5 +\fBDIALOG_MAXARGS\fP +.br +Stelt het maximaal aantal karakters dat naar "dialog" wordt gestuurd in. Als +dit aantal bij upgrade wordt bereikt verwijdert slackpkg alle informatie +over de huidige versie van elk pakket. Als dit aantal zelfs zonder deze +informatie weer wordt bereikt geeft slackpkg een foutmelding. + +Als \fBDIALOG_MAXARGS\fP niet is ingesteld, is 19500 de standaard waarde. +.br +Vanaf de commandoregel kunt u \-dialog_maxargs=value gebruiken. + +.TP 5 +\fBBATCH\fP +.br +Schakelt de niet\-interactieve modus aan (on) of uit (off). Slackpkg zal de +gebruiker niets vragen in batch mode; in plaats daarvan krijgen alle vragen +de \fBDEFAULT_ANSWER\fP (zie hieronder). +.br +Als u een upgrade in deze modus uitvoert moet u achteraf "slackpkg +new\-config" uitvoeren om .new bestanden te vinden en samen te voegen. + +De standaard waarde van \fBBATCH\fP is "off". +.br +Vanaf de commandoregel kunt u \-batch=value gebruiken. + +.TP 5 +\fBDEFAULT_ANSWER\fP +.br +Dit is het standaard antwoord als slackpkg u om informatie vraagt. Wordt +alleen gebruikt in niet\-interactieve modus (als \fBBATCH\fP is "yes" of als de +gebruiker batch mode aanzet via de commandoregel), anders heeft deze +variabele geen effect. +.br +Toegestane waarden zijn "y" of "n". + +De standaard waarde van \fBDEFAULT_ANSWER\fP is "n". +.br +Vanaf de commandoregel kunt u \-default_answer=value gebruiken. + +.TP 5 +\fBUSE_INCLUDES\fP +.br +Slackpkg sjablonen kunnen andere sjablonen aanroepen. Dit reduceert de +pakket duplicatie in veel sjablonen maar kan een probleem vormen als u +alleen een specifiek sjabloon wilt verwijderen. U kunt de #include parsing +uitschakelen door deze optie "off" te zetten. + +De standaard waarde van \fBUSE_INCLUDES\fP is "on". +.br +Vanaf de commandoregel kunt u \-use_includes=value gebruiken. + +.TP 5 +\fBSPINNING\fP +.br +Als Slackpkg bezig is met iets wat tijd vergt geeft het visuele feedback met +een ronddraaiend balkje. Als je dit niets vindt kan dit uitgeschakeld worden +door deze optie "off" te zetten. + +De standaard waarde van \fBSPINNING\fP is "on". +.br +Vanaf de commandoregel kunt u \-spinning=value gebruiken. + +.SH BESTANDEN +.TP 5 +\fB/etc/slackpkg/slacpkg.conf\fP + +.SH "ZIE OOK" +\fBslackpkg\fP(8) \fBpkgtool\fP(8) \fBinstallpkg\fP(8) \fBupgradepkg\fP(8) +\fBremovepkg\fP(8) diff --git a/manpages-l10n/pl.slackpkg b/manpages-l10n/pl.slackpkg new file mode 100644 index 0000000..fd0b39d --- /dev/null +++ b/manpages-l10n/pl.slackpkg @@ -0,0 +1,328 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG 8 "Maj 2010" slackpkg\-2.81.1 "" +.SH NAZWA +\fBslackpkg\fP \- Zautomatyzowane narzędzie do zarządzania paczkami systemu +Slackware Linux. + +.SH STRESZCZENIE +\fBslackpkg\fP \fB[OPCJE]\fP +\fB{install|remove|search|upgrade|reinstall|blacklist}\fP +\fB{\fP\fICIĄG\fP\fB|\fP\fIPLIK\fP\fB}\fP + +\fBslackpkg [OPCJE] {clean\-system|upgrade\-all|install\-new}\fP + +\fBslackpkg\fP \fB[OPCJE]\fP \fB{search|file\-search}\fP \fB{\fP\fICIĄG\fP\fB|\fP\fIPLIK\fP\fB}\fP + +\fBslackpkg\fP \fB[OPCJE]\fP +\fB{generate\-template|install\-template|remove\-template}\fP \fINAZWASZABLONU\fP + +\fBslackpkg [OPCJE] info\fP \fIPAKIET\fP + +\fBslackpkg [OPCJE] update [gpg]\fP + +\fBslackpkg [OPCJE] {new\-config|check\-updates}\fP + +\fBslackpkg [OPCJE] help\fP + +.SH OPIS +Slackpkg to narzędzie pozwalające na prostą instalację, bądź aktualizację +pakietów przez sieć. Używając slackpkg, możesz mieć minimalną instalację +systemu Slackware Linux i instalować/aktualizować wyłącznie te pakiety, +które najbardziej potrzebujesz. + +Nie musisz konfigurować NFS lub tworzyć tuzin płyt CD dla twoich +komputerów. Wystarczy wpisać jedno polecenie i wszystkie najnowsze oficjalne +pakiety systemu Slackware znajdą się na wyciągniecie ręki. + +.SH INSTRUKCJE +Slackpkg posiada wiele funkcji. Może ono wyszukiwać konkretne pakiety, +usunąć wszystkie nieoficjalne pakiety na twoim systemie, instalować pakiety +dodane do systemu Slackware od ostatniej aktualizacji, wyświetlać opis +pakietu, itd. + +Na samym początku, musisz usunąć znacznik komentarza z jednego obrazu +lustrzanego w pliku /etc/slackpkg/mirrors i uruchomić polecenie: + +.in +5 +# slackpkg update +.in + +Funkcja "update" pobierze i odpowiednio sformatuje listę plików i pakietów +systemu Slackware. Za każdym razem, gdy lista ta zmieni się, należu ponownie +uruchomić update. + +Główne funkcje Slackpkg to te bezpośrednio związane z zarządzanie pakietami: +instalacja, aktualizacja oraz usuwanie pakietów. Aby wykonać jakąkolwiek z +tych czynności, składnia Slackpkg jest następująca: + +.in +5 +# slackpkg [OPCJE] <funkcja> {CIĄG|PLIK} +.in + +\fIOPCJE\fP może być jedną lub więcej z wielu opcji konfiguracyjnych +wymienionych w /etc/slackpkg/slackpkg.conf. Większość opcji konfiguracyjnych +znajdujących sie w slackpkg.conf posiada swoje odpowiedniki na linii komend +\- więcej informacji znajdziesz na stronie manualu \fBslackpkg.conf(5)\fP. + +\fICIĄG\fP może być nazwą pakietu bądź też częścią jego nazwy. Może to też być +nazwa serii (np. kde, a, ap, ...). +.br + +\fIPLIK\fP jest plikiem zawierającym \fICIĄGi\fP: jeden lub więcej (oddzielonych +spacją) na każdym wierszu. + +Slackpkg może być użyty do aktualizacji całej dystrybucji. +.br +Zwykle tak to się robi: + +.in +5 +# slackpkg update +.br +# slackpkg install\-new +.br +# slackpkg upgrade\-all +.br +# slackpkg clean\-system +.in + +Inną funkcją Slackpkg jest możliwość pracy z szablonami. Ułatwia to +instalację tych samych pakietów na wielu komputerach. Oto jak to się robi: + +.RS +5 +.IP \(bu 2 +Zainstaluj pakiety na jednym komputerze +.IP \(bu 2 +Uruchom : "slackpkg generate\-template NAZWASZABLONU" +.IP \(bu 2 +Kopiuj /etc/slackpkg/templates/NAZWASZABLONU.template do tego samego +katalogu na innym komputerze +.IP \(bu 2 +Wpisz "slackpkg install\-template NAZWASZABLONU" na innym komputerze +.RE + +\fINAZWASZABLONU\fP jest nazwą twojego szablonu + +Na tej stronie manualu znajdziesz opis tych (oraz innych) funkcji. + +.SH FUNKCJE +.TP 5 +\fBhelp\fP +.br +Wyświetl funkcje slackpkg oraz ich krótki opis. Przydatne, gdy chcesz +dowiedzieć się trochę o slackpkg. Informacje zawarate tutaj, na stronie +manualu są bardziej wyczerpujące. + +.TP 5 +\fBupdate\fP +.br +update pobierze najnowsze listy pakietów z obrazu lustrzanego systemu +Slackware (lub też CD). Dobrze jest wykonać to + +.in +5 +# slackpkg update +.in + +przed próbą aktualizacji, instalacji, bądź też wyszukiwania pakietów. +.br +Jeśli musisz zaktualizować klucz GPG systemu Slackware, wpisz: + +.in +5 +# slackpkg update gpg +.in + +Klucz GPG nie zmienia się. Powinno to być "jednorazowe" polecenie \- wykonaj +go raz i zapomnij o nim... + +.TP 5 +\fBcheck\-updates\fP +.br +Sprawdź czy ChngeLog.txt został zaktualizowany. Dobrze jest uruchamiać to z +demona cron by powiadomić administratora o aktualizacjach. + +.TP 5 +\fBfile\-search\fP +.br +Możesz wyszukiwać konretne pakiety Slackware zawarte w oficjalnej +dystrybucji. Potrzebujesz dziwną bibliotekę? Użyj file\-search aby ją +znaleźć. + +.in +5 +# slackpkg file\-search nazwapliku +.in + +Wyświetlone zostaną wszystkie pakiety odpowiadające podanej nazwie +pliku. Możesz przez to sprawdzić czy pakiety są zainstalowane, czy +nie. Jeśli nie, możesz je pobrać i zainstalować przy użyciu innych funkcji +slackpkg. + +.TP 5 +\fBsearch\fP +.br +Możesz szukać jakiegokolwiek pakietu dystrybutowanego w systemie Slackware. + +.in +5 +# slackpkg search ciąg +.in + +Wyświetlone zostaną wszystkie pakiety, których nazwy odpowiadają podanemu +"ciąg"\-owi. Podobnie jak z file\-search, możesz sprawdzić czy pakiety są +zainstalowane. Jeśli nie, możesz pobrać i je zainstalować przy użyciu innych +funkcji slackpkg. + +.TP 5 +\fBinstall\fP +.br +Instalacja pakietu jest bardzo prosta. Wystarczy wpisać: + +.in +5 +# slackpkg install pakiet +.in + +a pakiet zostanie pobrany i zainstalowany. +.br +Nie można używać opcji "install" by zainstalować uprzednio zainstalowany +pakiet. Możesz, natomiast, go przeinstalować (reinstall) lub aktualizować +(upgrade). + +.TP 5 +\fBupgrade\fP +.br +upgrade instaluje najnowszą oficjalną wersję danego pakietu lub pakietów. + +upgrade nie będzie próbowało zainstalować nowych pakietów (do tego proszę +użyć opcji install; najnowsza wersja pakietu zostanie zainstalowana). +.TP 5 +\fBreinstall\fP +.br +W sytuacji gdy coś uległo uszkodzeniu, opcja reinstall pozwoli +przeinstalować tą samą wersję pakietu, która jest obecnie zainstalowana. + +.TP 5 +\fBremove\fP +.br +Z remove, możesz usunąć pewne zainstalowane pakiety. Na przykład: + +.in +5 +# slackpkg remove kde +.in + +usunie wszystkie pakiety zawierające "kde" w swojej nazwie. + +.TP 5 +\fBblacklist\fP +.br +Ta funkcja pozwala na zablokowanie (blacklist) danych pakietów. +.br +Zablokowane pakiety nie będą instalowane, aktualizowane, ani usuwane przez +slackpkg. Jeśli chcesz usunąć pakiet z listy zablokowanych pakietów, musisz +edytować /etc/slackpkg/blacklist. + +.TP 5 +\fBdownload\fP +.br +Opcja pozwala na pobranie pakietów bez ich instalacji. Będą one umieszczone +w /var/cache/packages byś mógł je później +zainstalować/uaktualnić/przeinstalować (lub wypalić na płycie CD). + +.TP 5 +\fBinfo\fP +.br +Wyświetla to informacje o pakiecie/pakietach: skompresowaną / +nieskompresowaną wielkość, opis, itd... + +.TP 5 +\fBclean\-system\fP +.br +Funkcja ta usuwa wszystkie pakiety, które nie należą do standardowej +instalacji systemu Slackware. Przy użyciu tej opcji, możesz oczyścić +instalację usuwając wszystkie nieoficjalne pakiety, jak również pakiety, +które zostały oficjalnie usunięte z dystrybucji Slackware. +.br +Jeśli masz jakieś nieoficjalne / zbudowane przez siebie pakiety, które +chciałbyś zatrzymać, możesz tymczasowo dodać je do listy zablokowanych +pakietów przed wykonaniem polecenia 'clean\-system'. + +.TP 5 +\fBupgrade\-all\fP +.br +Funkcja ta aktualizuje wszystkie zainstalowane pakiety do wersji obecnej w +oficjalnym drzewie systemu Slackware. Jest to "dobry" sposób aktualizacji +całego systemu. +.br +Pamiętaj abyś użył "install\-new" przed opcją "upgrade\-all". + +.TP 5 +\fBinstall\-new\fP +Opcja ta instaluje wszystkie nowe pakiety, które zostały dodane do +oficjalnej dystrybucji Slackware. Użyj tej opcji, gdy aktualizujesz system +do nowszej wersji systemu Slackware lub gdy używasz gałęzi \-current systemu +Slackware. +.br +Jeśli chcesz zainstalować wszystkie niezainstalowane pakiety Slackware, +zamiast install\-new, użyj następującego polecenia: + +.in +5 +# slackpkg install slackware. +.in +.TP 5 +\fBnew\-config\fP +Funkcja to szuka plików konfiguracyjnych .new i pyta użytkownika co z nimi +zrobić. +.br +new\-config jest bardzo przydatne gdy wykonujesz aktualizację pozostawiając +pliki konfiguracyjne do późniejszej inspekcji. Zamiast ręcznego +wyszukiwania, diff i podmieniania, możesz użyć opcję new\-config. +.TP 5 +\fBgenerate\-template\fP +Funkcja ta tworzy nowy szablon zawierający wszystkie oficialne zainstalowane +na twoim systemie pakiety. Szablony znajdują się w /etc/slackpkg/templates +.TP 5 +\fBinstall\-template\fP +Funkcja ta instaluje wymagany szablon. Szablon musi znajdować się w +/etc/slackpkg/templates. Jeśli szablon zawiera (includes) w sobie inne +szablony, wszystkie one muszą znajdować się w +/etc/slackpkg/templates. Możesz wyłączyć wszelkie załączenia (includes) w +slackpkg.conf lub z linii komend. +.TP 5 +\fBremove\-template\fP +Funkcja ta usunie wszystkie pakiety zawarte w wybranym szablonie. Uwaga \- +może sprawić to, że system stanie się niefunkcjonalny. Opcje załączania +(include) mogą być aktywowane/deaktywowane w slackpkg.conf lub przy pomocy +odpowiedniego argumentu z poziomu linii komend. + +.SH PLIKI +.TP 5 +\fB/etc/slackpkg/mirrors⇥\fP +Plik zawierający miejsce, z którego pakiety zostaną pobrane +.TP 5 +\fB/etc/slackpkg/slackpkg.conf⇥\fP +Główna konfiguracja slackpkg +.TP 5 +\fB/etc/slackpkg/blacklist\fP +Lista pakietów do pominęcia +.TP 5 +\fB/etc/slackpkg/templates\fP +Zawiera wszystkie pliki szablonów +.TP 5 +\fB/usr/libexec/slackpkg\fP +Zawiera podstawowe oraz dodatkowe funkcje slackpkg +.TP 5 +\fB/var/lib/slackpkg\fP +Na wewnętrzny użytek Slackpkg \- sformatowane listy pakietów, kopia +ChangeLog.txt, lista plików, itd. + +.SH "ZOBACZ TAKŻE" +\fBslackpkg.conf\fP(5), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), \fBexplodepkg\fP(8), +\fBmakepkg\fP(8), \fBpkgtool\fP(8). + +.SH AUTORZY +.TP 5 +Piter PUNK aka Roberto F Batista +<piterpk AT terra DOT com DOT br> +.TP 5 +Evaldo Gardenali aka UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/manpages-l10n/pl.slackpkg.conf b/manpages-l10n/pl.slackpkg.conf new file mode 100644 index 0000000..58a3575 --- /dev/null +++ b/manpages-l10n/pl.slackpkg.conf @@ -0,0 +1,293 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG.CONF 5 "Maj 2010" slackpkg\-2.81.1 "" +.SH NAZWA +\fBslackpkg.conf\fP \- Dane konfiguracyjne slackpkg + +.SH OPIS + +Plik slackpkg.conf zawiera informacje dla \fBslackpkg\fP (8), zautomatyzowanego +narzędzia do zarządzania paczkami systemu Slackware Linux. + +Plik slackpkg.conf jest zbiorem zmiennych powłoki, gdzie każda zmienna +odpowiedzialna jest za jeden aspekt programu slackpkg. Komentarze +rozpoczynają się znakiem # i kończą pod koniec wiersza. Komentarze mogą +występować w dowolnym miejscu pliku slackpkg.conf. Jeśli dana zmienna +występuje w kilku miejscach pliku, slackpkg użyje wartości zdefiniowanej +jako ostatnia. + +Wiele zmiennych może być nadpisane przez opcje slackpkg wybrane z linii +komend. Jeśli chcesz nadpisać wartość \fBZMIENNA\fP, wpisz \fB\-zmienna=wartość\fP +na linii komend tuż przed uruchomieniem slackpkg. Możliwe jest nadpisanie +wielu zmiennych. + +PRZYKŁAD: slackpkg \-batch=on \-default_answer=y upgrade\-all + +Dla wartości konfiguracyjnych posiadających wyłącznie dwa stany, możliwe +wartości to "on" lub "off" o ile inaczej nie wskazano. + +inne opcje konfiguracji to: + +.TP 5 +\fBARCH\fP +.br +Wybiera architekturę systemu. Zwykle slackpkg może zidentyfikować poprawną +wartość przy użyciu "uname \-m". Dopuszczalne wartości to: + +.ds title KOMPUTER\t\tDOPUSZCZALNE WARTOŚCI ARCH +.ds arm ARM\t\t\tarm +.ds x86 x86 (32bits)\ti386, i486, i586 and i686 +.ds x86_64 x86 (64bits)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +\fB\*[title]\fP +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +Domyślna wartość \fBARCH\fP zależy od twojej architektury. + +.TP 5 +\fBSLACKKEY\fP +.br +Slackpkg weryfikuje plik podpisu pakietu (.asc) z podpisem GPG +projektu. Różne porty Slackware mogą mieć inne podpisy i Slackpkg próbuje +znaleźć poprawny podpis na podstawie architektury twojego systemu. Jeśli +automatycznie wykrywany \fBSLACKKEY\fP nie jest prawidłowy, możesz zmienić go +używając tej opcji. + +Domyślna wartość \fBSLACKKEY\fP zależy od portu Slackware. + +.TP 5 +\fBTEMP\fP +.br +Określa miejsce, do którego slackpkg pobierze pakiety przed ich +instalacją/aktualizacją. + +Domyślna wartość \fBTEMP\fP to /var/cache/packages. + +.TP 5 +\fBWORKDIR\fP +.br +Określa katalog dla list pakietów, plików oraz innych informacji używanych +przez slackpkg. Nie zmieniaj wartości tej zmiennej jeśli nie jesteś +całkowicie pewien co robisz. + +Domyślna wartość \fBWORKDIR\fP to /var/lib/slackpkg. + +.TP 5 +\fBWGETFLAGS\fP +.br +Wybiera specjalne opcje dla wget. Jeśli chcesz użyć wielu opcji, pamiętaj +aby umieścić je w podwójnym cudzysłowie. + +Domyślna wartość \fBWGETFLAGS\fP to "\-\-passive\-ftp" + +.TP 5 +\fBDELALL\fP +.br +Jeśli wartość jest ustawiona na "on", wszystkie pobrane pliki zostaną +usunięte po zakończeniu przez slackpkg czynności instalacji lub aktualizacji +(NIE odnosi się to do opcji "download" slackpkg). Jeśli wartość ustawiona +jest na "off", pliki pozostaną w katalogu określonym w \fBTEMP\fP (jak opisano +powyżej). + +Domyślna wartość \fBDELALL\fP to "on". +.br +Z linii komend, możesz użyć \-delall=wartość + +.TP 5 +\fBCHECKMD5\fP +.br +Włącza (on) lub wyłącza (off) sprawdzanie sumy kontrolnej MD5 dla każdego +pobranego pakietu przed jego instalacją bądz aktualizacją. + +Domyślna wartość \fBCHECKMD5\fP to "on" +.br +Z linii komend, możesz użyć \-checkmd5=wartość. + +.TP 5 +\fBCHECKGPG\fP +.br +Włącza (on) lub wyłącza (off) sprawdzanie podpisu GPG każdego pakietu przed +instalacją lub aktualizacją. + +Domyślną wartością \fBCHECKGPG\fP to "on". +.br +Z linii komend, możesz użyć \-checkgpg=wartość. + +.TP 5 +\fBCHECKSIZE\fP +.br +Włącza (on) lub wyłącza (off) sprawdzanie dostępnej przestrzeni dyskowej dla +każdego pakietu przed jego instalacją lub aktualizacją. + +Domyślna wartość \fBCHECKSIZE\fP to "off". +.br +Z linii komend, możesz użyć \-checksize=wartość. + +.TP 5 +\fBPKGMAIN\fP +.br +Definiuje główny katalog dystrybucji. Zwykle nie musisz przejmować się tą +zmienną, gdyż slackpkg próbuje go odnaleźć na podstawie twojej +architektury. Gdybyś, jednak, chciał to zmienić, umieść tą zmienną w +slackpkg.conf. Zawsze powinien być to katalog zawierający serie pakietów +Slackware (A, AP, D, E, F, ...). + +Domyślnie: zależy od portu Slackware + +.TP 5 +\fBPRIORITY\fP +.br +Lista ta określa priorytety katalogów z jakimi slackpkg będzie wybierał +pakiety na obrazach lustrzanych. Jeśli pakiet występuje w kilku miejscach, +pakiet w pierwszym katalogu na liście będzie miał najwyższy priorytet; +następny w kolejności będzie pakiet zawarty w katalogu znajdującym się na +drugim miejscu na liście, itd. Możesz użyć %PKGMAIN by użyć zawartość +zmiennej PKGMAIN. + +Wartości domyślne (w kolejności): patches %PKGMAIN extra pasture testing + +.TP 5 +\fBPOSTINST\fP +.br +Włącza (on) lub wyłącza (off) funkcje poinstalacyjne slackpkg, takie jak +szukanie nowych plików konfiguracyjnych (*.new), czy nowych obrazów jądra +oraz pytanie co z nimi zrobić. + +Domyślna wartość \fBPOSTINST\fP to "on". +.br +Z linii komend, możesz użyć \-postinst=wartość. + +.TP 5 +\fBONLY_NEW_DOTNEW\fP +.br +Gdy \fBPOSTINST\fP ma wartość "on", slackpkg będzie wyszukiwać wszystkie pliki +\&.new wewnątrz /etc i zapyta użytkownika, co z nimi zrobić. Niektórzy +użytkownicy, jednak, wolą tylko widzieć pliki .new zainstalowane przy +ostatnim uruchomieniu slackpkg. Jeśli tak jest, ustaw zmienną +\fBONLY_NEW_DOTNEW\fP jako "on". + +Domyślna wartość \fBONLY_NEW_DOTNEW\fP to "off". Zmień tą wartość wyłacznie, +gdy wiesz co robisz... +.br +Z linii komend, możesz użyć \-only_new_dotnew=wartość. + +.TP 5 +\fBONOFF\fP +.br +Zmienna \fBONOFF\fP określa początkowe zachowanie okna dialogowego. Jeśli +zmienna ma wartość "on", wszystkie pakiety będą domyślnie wybrane. Jeśli +chcesz by żaden pakiet nie był domyślnie wybrany, ustaw wartość zmiennej na +"off". + +Domyślna wartość \fBONOFF\fP to "on". +.br +Z linii komend, możesz użyć \-onoff=wartość. + +.TP 5 +\fBDOWNLOAD_ALL\fP +.br +Jeśli zmienna ta ma wartość "on", wszystkie pliki zostaną pobrane przed +wykonaniem żądanej operacji (instalacja bądź aktualizacja). Jeśli zmienna +ustawiona jest na "off", żądana operacja (instalacji / aktualizacji) będzie +wykonywana zaraz po pobraniu każdego pliku. + +Domyślna wartość \fBDOWNLOAD_ALL\fP to "off". +.br +Z linii komend, możesz użyć \-download_all=wartość. + +.TP 5 +\fBDIALOG\fP +.br +Włącza (on) lub wyłącza (off) interfejs okna (dialog). + +Domyślna wartość \fBDIALOG\fP to "on". +.br +Z linii komend, możesz użyć \-dialog=wartość. + +.TP 5 +\fBDIALOG_MAXARGS\fP +.br +Określ maksymalną liczbę znaków dopuszczalnych w oknie dialogowym. Jeśli +liczba ta zostanie osiągnięta, slackpkg usunie informacje o obecnie +zainstalowanej wersji każdego pakietu. Jeśli po tym liczba ta ponownie +zostanie osiągnięta, komunikat błędu zostanie wyświetlony. + +Jeśli zmienna \fBDIALOG_MAXARGS\fP nie jest określona, domyślną wartością jest +19500. +.br +Z linii komend, możesz użyć \-dialog_maxargs=wartość. + +.TP 5 +\fBBATCH\fP +.br +Włącza (on) lub wyłącza (off) tryb nie\-interaktywny. W trybie automatycznym +(batch), slackpkg nie zapyta użytkownika o nic. Zamiast tego, wszystkie +wszystkie opcje będą miały wartości domyślne \- \fBDEFAULT_ANSWER\fP (zobacz +poniżej). +.br +Jeśli dokonujesz aktualizcji w tym trybie, będziesz później musiał uruchomić +"slackpkg new\-config" by odnaleźć i zcalić pliki .new. + +Domyślna wartość \fBBATCH\fP to "off". +.br +Z linii komend, możesz użyć \-batch=wartość. + +.TP 5 +\fBDEFAULT_ANSWER\fP +.br +To są domyślne odpowiedzi na pytania zadawane użytkownikowi. Używane one są +wyłącznie w trybie nie\-interaktywnym (kiedy \fBBATCH\fP ma wartość "yes" lub +gdy użytkownik uruchomi tryb automatyczny (batch) z linii komend). W +przeciwnym wypadku, zmienna ta nie powoduje niczego. +.br +Dopuszczalne wartości to "y" lub "n". + +Domyślna wartość \fBDEFAULT_ANSWER\fP to "n". +.br +Z linii komend, możesz użyć \-default_answer=wartość. + +.TP 5 +\fBUSE_INCLUDES\fP +.br +Szablony slackpkg mogą zawierać inne szablony. Redukuje to duplikaty +pakietów w wielu szablonach, lecz może powodować problemy przy usuwaniu +poszczególnych szablonów. Możesz zdezaktywować odpowiedzialne za to linie +#include przez przypisanie wartości "off" do tej zmiennej. + +Domyślna wartość \fBUSE_INCLUDES\fP to "on". +.br +Z linii komend, możesz użyć \-use_includes=wartość. + +.TP 5 +\fBSPINNING\fP +.br +Gdy Slackpkg wykonuje czynność zabierającą jakiś czas, wizualny podgląd +zapewniony jest przez obracający się pasek. Jeśli go nie chcesz, wyłącz go +przez ustawienie tej opcji na "off". + +Domyślna wartość \fBSPINNING\fP to "on". +.br +Z linii komend, możesz użyć \-spinning=value. + +.SH PLIKI +.TP 5 +\fB/etc/slackpkg/slacpkg.conf\fP + +.SH "ZOBACZ TAKŻE" +\fBslackpkg\fP(8) \fBpkgtool\fP(8) \fBinstallpkg\fP(8) \fBupgradepkg\fP(8) +\fBremovepkg\fP(8) diff --git a/manpages-l10n/pt_BR.slackpkg b/manpages-l10n/pt_BR.slackpkg new file mode 100644 index 0000000..c10b2cd --- /dev/null +++ b/manpages-l10n/pt_BR.slackpkg @@ -0,0 +1,331 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG 8 "Maio 2010" slackpkg\-2.81.1 "" +.SH NOME +\fBslackpkg\fP \- Ferramenta automatizada para gerenciamento de pacotes do +Slackware Linux + +.SH SINOPSE +\fBslackpkg\fP \fB[OPÇÕES]\fP +\fB{install|remove|search|upgrade|reinstall|blacklist}\fP +\fB{\fP\fIPADRÃO\fP\fB|\fP\fIARQUIVO\fP\fB}\fP + +\fBslackpkg [OPÇÕES] {clean\-system|upgrade\-all|install\-new}\fP + +\fBslackpkg\fP \fB[OPÇÕES]\fP \fB{search|file\-search}\fP +\fB{\fP\fIPADRÃO\fP\fB|\fP\fIARQUIVO\fP\fB}\fP + +\fBslackpkg\fP \fB[OPÇÕES]\fP +\fB{generate\-template|install\-template|remove\-template}\fP \fINOMEDOMODELO\fP + +\fBslackpkg [OPÇÕES] info\fP \fIPACOTE\fP + +\fBslackpkg [OPÇÕES] update [gpg]\fP + +\fBslackpkg [OPÇÕES] {new\-config|check\-updates}\fP + +\fBslackpkg [OPÇÕES] help\fP + +.SH DESCRIÇÃO +Slackpkg é uma ferramenta para aqueles que querem, de maneira fácil, +instalar ou atualizar pacotes através da rede. Com slackpkg, você pode ter +uma instalação mínima do Slackware Linux e instalar / atualizar somente os +pacotes que você mais precisa. + +Você não precisa configurar o NFS ou fazer dezenas de CDs para todos os +computadores, tudo que você precisa fazer é digitar um comando e todos os +últimos pacotes oficiais do Slackware estarão ao seu alcance. + +.SH INSTRUÇÕES +Slackpkg tem muitos recursos. Pode procurar por arquivos específicos, remova +todos os pacotes de terceiros do seu sistema, instalar pacotes adicionais +para o Slackware desde sua última atualização, mostrar descrições de +pacotes, etc. + +Antes de fazer qualquer coisa, você precisa descomentar um espelho no +arquivo /etc/slackpkg/mirrors e executar: + +.in +5 +# slackpkg update +.in + +A ação "update" irá baixar e formatar a lista de arquivos e pacotes do +Slackware. Toda vez que esta lista for alterada, a atualização precisará ser +executada. + +As principais características do Slackpkg são aquelas diretamente +relacionadas ao gerenciamento de pacotes: instalar, atualizar e remover +pacotes. Para fazer qualquer uma dessas tarefas, a sintaxe do Slackpkg é: + +.in +5 +# slackpkg [OPÇÕES] <action> {PADRÃO|ARQUIVO} +.in + +\fIOPÇÕES\fP podem ser uma ou mais das muitas opções de configuração listadas +em /etc/slackpkg/slackpkg.conf. Há opções de linha de comando equivalentes +para a maioria das diretivas de configuração encontradas no slackpkg.conf \- +veja a man\-page \fBslackpkg.conf(5)\fP para verificar quais opções estão +disponíveis. + +\fIPADRÃO\fP pode ser um nome de pacote ou apenas parte do nome do pacote. Ela +também pode ser uma série de software (como KDE, a, ap, ...). +.br + +\fIARQUIVO\fP é um arquivo com uma lista de \fIPADRÃO(ões)\fP dentro: ou um por +linha, ou vários por linha com espaços como separadores. + +Slackpkg pode ser usado para atualizar toda a distribuição. +.br +A maneira usual é fazer: + +.in +5 +# slackpkg update +.br +# slackpkg install\-new +.br +# slackpkg upgrade\-all +.br +# slackpkg clean\-system +.in + +Outra característica do Slackpkg é a capacidade de trabalhar com modelos, +que pode tornar muito mais fácil para criar máquinas diferentes com o mesmo +conteúdo de pacotes. Os passos básicos são os seguintes: + +.RS +5 +.IP \(bu 2 +Instale em uma máquina +.IP \(bu 2 +Rode "slackpkg generate\-template NOMEDOMODELO" +.IP \(bu 2 +Copie o arquivo /etc/slackpkg/templates/NOMEDOMODELO.template para o mesmo +diretório da outra máquina +.IP \(bu 2 +Rode "slackpkg install\-template NOMEDOMODELO" na máquina que recebeu o +template +.RE + +\fINOMEDOMODELO\fP é o nome do seu modelo/template. + +Seguindo esta página manual, você pode encontrar o que cada uma dessas ações +(e outros) faz. + +.SH AÇÕES +.TP 5 +\fBhelp\fP +.br +Mostrar as ações do Slackpkg é uma breve descrição delas. É útil se você +precisa saber um pouco sobre o slackpkg. A informação na man\-page são muito +mais completas. + +.TP 5 +\fBupdate\fP +.br +update irá baixar a última lista de pacotes a partir de um espelho Slackware +(ou o CD). É uma boa idéia para executar + +.in +5 +# slackpkg update +.in + +antes de rodar um upgrade, install ou buscar por um pacote. +.br +Se você precisar atualizar a chave GPG do Slackeware, rode + +.in +5 +# slackpkg update gpg +.in + +A chave GPG não muda. Este deve ser um comando de "One Time" \- executá\-lo +uma vez e esquecê\-lo ... + +.TP 5 +\fBcheck\-updates\fP +.br +Verifique se há alguma atualização por meio do arquivo Changelog.txt. Isso é +bom para ser usado a partir do cron, para alertar o administrador do sistema +sobre atualizações. + +.TP 5 +\fBfile\-search\fP +.br +Você pode pesquisar os pacotes oficiais do Slackware para qualquer arquivo +na distribuição Slackware. Você precisa de uma biblioteca estranha? Use +file\-search para encontrá\-la. + +.in +5 +# slackpkg file\-search nome_do_arquivo +.in + +Todos os pacotes com correspondência ao "filename" buscado serão exibidos, +assim você poderá ver se os pacotes estão instalados ou não, se não, você +poderá fazer download e instalá\-los com outras ações do Slackpkg. + +.TP 5 +\fBsearch\fP +.br +Você pode procurar por qualquer pacote distribuído pelo Slackware. + +.in +5 +# slackpkg search padrão +.in + +Todos os nomes de pacotes que coincide com o "padrão" serão mostrados. Como +file\-search, você pode ver se os pacotes estão instalados ou não, se não, +você pode baixar e instá\-los com outras ações Slackpkg. + +.TP 5 +\fBinstall\fP +.br +Instalação de um pacote é muito simples. Você só precisa digitar: + +.in +5 +# slackpkg install pacote +.in + +e o pacote será baixado e instalado. +.br +Você não pode usar a opção "Install" para instalar um pacote já instalado, +mas você pode reinstalar ou atualizá\-lo. + +.TP 5 +\fBupgrade\fP +.br +upgrade instala a versão oficial mais recente do(s) pacote(s) +especificado(s). + +upgrade não tentará instalar novos pacotes (use a função install para esse +fim e a última versão oficial do pacote será instalada). +.TP 5 +\fBreinstall\fP +.br +No caso de você, por engano, corromper algo, a opção reinstall permitirá que +você reinstale a mesma versão de um pacote que estava sendo instalado. + +.TP 5 +\fBremove\fP +.br +Com remove, você pode remover alguns pacotes instalados. Como um exemplo: + +.in +5 +# slackpkg remove kde +.in + +removerá todos os pacotes com "kde" em seu nome. + +.TP 5 +\fBblacklist\fP +.br +Com essa ação, você pode colocar em "blacklist" certos pacotes. +.br +Pacotes em blacklist não serão instalados, atualizados ou removidos por meio +do slackpkg. Se você quiser remover algum pacote que esteja na blacklist, +por favor edite /etc/slackpkg/blacklist. + +.TP 5 +\fBdownload\fP +.br +Esta ação diz ao slackpkg para baixar os pacotes, mas não instalá\-los. Eles +serão colocados em /var/cache/packages, e você pode instalar / atualizar / +reinstalar os pacotes mais tarde (ou gravá\-los em CD). + +.TP 5 +\fBinfo\fP +.br +Esta ação imprime informações sobre o pacote(s): tamanhos comprimido e +descompactado, descrição, etc ... + +.TP 5 +\fBclean\-system\fP +.br +Esta ação remove todos os pacotes que não pertencem a uma instalação padrão +do Slackware. Com esta opção, você pode limpar o seu sistema, removendo +pacotes de terceiros, bem como todos os pacotes que foram removidos do +conjunto oficial de pacotes do Slackware. +.br +Se você tiver um pacote de terceiro (ou personalizado) que você gostaria de +manter, você pode adicioná\-lo temporariamente à blacklist antes de executar +a ação 'clean\-system'. + +.TP 5 +\fBupgrade\-all\fP +.br +Essa ação atualiza todos os pacotes instalados no sistema para a versão da +árvore Slackware oficial, este é um "bom" caminho para atualizar todo o +sistema. +.br +Lembre\-se de usar a ação "install\-new" antes de usar "upgrade\-all. + +.TP 5 +\fBinstall\-new\fP +Essa ação instala novos pacotes que são adicionados ao conjunto oficial de +pacote do Slackware. Execute este comando se você estiver atualizando seu +sistema para uma outra versão Slackware ou se você estiver usando a versão +\-current. +.br +Se você quiser instalar todos os pacotes do Slackware não instalados em seu +sistema, use o seguinte comando em vez do install\-new: + +.in +5 +# slackpkg install slackware. +.in +.TP 5 +\fBnew\-config\fP +Esta ação procura .new, arquivos de configuração, e perguntar ao usuário o +que fazer com esses arquivos. +.br +new\-config é muito útil quando você executar uma atualização e deixar os +arquivos de configuração para ser revisto mais tarde. Em vez de uma busca +manual, diff, e substituir, você pode usar a ação new\-config. +.TP 5 +\fBgenerate\-template\fP +Esta ação cria um novo modelo com todos os pacotes oficiais que estão +instalados em seu sistema. O modelo é armazenado em /etc/slackpkg/templates +.TP 5 +\fBinstall\-template\fP +Esta ação instalar o modelo desejado no sistema. O modelo deve estar em +/etc/slackpkg/templates. Se o modelo "inclui" outras modelos, todos eles +precisam estar em /etc /slackpkg/templates. Você pode desativar o "includes" +em slackpkg.conf ou na linha de comando. +.TP 5 +\fBremove\-template\fP +Essa ação remover todos os pacotes que fazem parte do modelo +selecionado. Cuidado, isso pode colocar a sua máquina em um estado +inutilizável. O tratamento "incluir" pode ser ativado / desativado em +slackpkg.conf ou com a opção apropriada na linha de comando. + +.SH ARQUIVOS +.TP 5 +\fB/etc/slackpkg/mirrors\fP +Arquivo para especificar o local de onde baixar pacotes +.TP 5 +\fB/etc/slackpkg/slackpkg.conf\fP +Configurações gerais do slackpkg +.TP 5 +\fB/etc/slackpkg/blacklist\fP +Lista de pacotes para pular +.TP 5 +\fB/etc/slackpkg/templates\fP +Contem todos os arquivos de modelos +.TP 5 +\fB/usr/libexec/slackpkg\fP +Contém o núcleo do Slackwre as funcionalidades adicionais +.TP 5 +\fB/var/lib/slackpkg\fP +Slackpkg uso interno \- listas de pacotes formatados, cópia do ChangeLog.txt, +lista de arquivos, etc ... + +.SH "VEJA TAMBÉM" +\fBslackpkg.conf\fP(5), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), \fBexplodepkg\fP(8), +\fBmakepkg\fP(8), \fBpkgtool\fP(8). + +.SH AUTORES +.TP 5 +Piter PUNK aka Roberto F Batista +<piterpk AT terra DOT com DOT br> +.TP 5 +Evaldo Gardenali aka UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/manpages-l10n/pt_BR.slackpkg.conf b/manpages-l10n/pt_BR.slackpkg.conf new file mode 100644 index 0000000..0cac122 --- /dev/null +++ b/manpages-l10n/pt_BR.slackpkg.conf @@ -0,0 +1,291 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG.CONF 5 "Maio 2010" slackpkg\-2.81.1 "" +.SH NOME +\fBslackpkg.conf\fP \- Configuration gerais do slackpkg + +.SH DESCRIÇÃO + +O arquivo slackpkg.conf contém informações do \fBslackpkg\fP (8), uma +ferramenta automatizada para gerenciamento de pacotes do Slackware Linux. + +O arquivo slackpkg.conf é uma sequência de variáveis em shell script, cada +variável controla um aspecto do slackpkg. Os comentários começam e terminam +com o caractere # e podem aparecer em qualquer lugar dentro do arquivo +slackpkg.conf. Se alguma variável aparece mais de uma vez no arquivo, o +slackpkg usará o valor que foi definido pela última vez. + +Muitas variáveis podem ser substituídas por opções passadas para o slackpkg +na linha de comando. Se você precisar substituir o valor da \fBVARIABLE\fP, +passe \fB\-variable=value\fP na linha de comando pouco antes da ação +slackpkg. Diversas variáveis podem ser substituídas. + +EXEMPLO: slackpkg \-batch=on \-default_answer=y upgrade\-all + +Para as opções de configuração que têm apenas dois estados, os valores +possíveis são "on" ou "off" salvo indicação em contrário. + +As diferentes opções de configuração são: + +.TP 5 +\fBARCH\fP +.br +Escolhe a arquitetura do sistema. Normalmente Slackpkg pode encontrar o +valor correto usando "uname\-m". Os valores válidos são: + +.ds title MACHINE\t\tVALID ARCH VALUES +.ds arm ARM\t\t\tarm +.ds x86 x86 (32bits)\ti386, i486, i586 e i686 +.ds x86_64 x86 (64bits)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +\fB\*[title]\fP +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +O valor padrão de \fBARCH\fP depende da sua arquitetura. + +.TP 5 +\fBSLACKKEY\fP +.br +Slackpkg verifica o arquivo de assinatura dos pacotes (.asc) com a +assinatura GPG do projeto. Diferentes ports do Slackware podem ter +diferentes assinaturas e o Slackpkg tenta encontrar o caminho correto com +base na arquitetura do seu sistema. Se for detectado automaticamente que o +\fBSLACKKEY\fP não é correto, você pode alterá\-lo usando esta opção. + +O valor padrão do \fBSLACKKEY\fP depende do port do Slackware que você usa. + +.TP 5 +\fBTEMP\fP +.br +Define o local para o qual slackpkg vai baixar os pacotes antes de +instalar/atualizár\-los. + +O valor padrão de \fBtemp\fP é /var/cache/packages. + +.TP 5 +\fBWORKDIR\fP +.br +Define o diretório para listas de pacotes, listas de arquivos e outras +informações usadas pelo slackpkg como ele funciona. Não altere o valor dessa +variável, a menos que você saiba o que está fazendo. + +O valor padrão de \fBWORKDIR\fP é /var/lib/slackpkg. + +.TP 5 +\fBWGETFLAGS\fP +.br +Seleciona opções especiais para o wget. Se você precisa usar várias opções, +lembre\-se de colocá\-las entre aspas. + +O valor padrão de \fBWGETFLAGS\fP é "\-\-passive\-ftp" + +.TP 5 +\fBDELALL\fP +.br +Se estiver definido para "on", todos os arquivos baixados serão removidos, +após o slackpkg realiza instalar ou atualizar (isso não tem nenhum impacto +quando slackpkg é executado com "download"). Se definido como "off", os +arquivos serão mantidos no diretório definido em \fBtemp\fP (como descrito +acima). + +O valor padrão de \fBDELALL\fP é "on". +.br +A partir da linha de comando, você pode usar \-delall=value. + +.TP 5 +\fBCHECKMD5\fP +.br +Habilita (on) ou desabilita (off) a verificação de checksums MD5 de todos os +pacotes baixados antes de instalar ou atualiza\-los. + +O valor padrão de \fBCHECKMD5\fP é "on". +.br +A partir da linha de comando, você pode usar \-checkmd5=value. + +.TP 5 +\fBCHECKGPG\fP +.br +Habilita (on) ou desabilita (off) a verificação da assinatura GPG de cada +pacote antes de instalar ou atualizar. + +O valor padrão de \fBCHECKGPG\fP é "on". +.br +A partir da linha de comando, você pode usar \-checkgpg=value. + +.TP 5 +\fBCHECKSIZE\fP +.br +Habilita (on) ou desabilita (off) a verificação de espaço em disco +disponível para cada pacote antes de instalar ou atualizar. + +O valor padrão de \fBCHECKSIZE\fP é "off". +.br +A partir da linha de comando, você pode usar \-checksize=value. + +.TP 5 +\fBPKGMAIN\fP +.br +Define o diretório de distribuição principal. Normalmente, você não precisa +se preocupar com esta variável, como Slackpkg tenta encontrá\-lo com base em +sua arquitetura. No entanto, se você precisa mudar isso, então inclua esta +variável no seu slackpkg.conf. Este deve ser sempre o diretório que contém a +série de pacotes do Slackware (A, AP, D, E, F, ...). + +Padrão: depende do port do seu Slackware + +.TP 5 +\fBPRIORITY\fP +.br +Esta matriz seleciona a prioridade em que diretórios no espelho terá quando +slackpkg procura por pacotes. Se um pacote é encontrado em mais de um lugar, +o pacote no primeiro diretório tem prioridade, depois o segundo, depois o +terceiro, então o quarto e, finalmente, o pacote encontrado no último +diretório listados. Você pode usar %PKGMAIN para usar o conteúdo da variável +PKGMAIN. + +Os valores padrão (em ordem): patches %PKGMAIN extra pasture testing + +.TP 5 +\fBPOSTINST\fP +.br +Habilita (on) ou desabilita (off) recursos de pós\-instalação do slackpkg, +tais como a verificação de arquivos de configuração (*.new) e novas imagens +do kernel, e solicita o que ele deve fazer. + +O valor padrão de \fBPOSTINST\fP é "on". +.br +A partir da linha de comando, você pode usar \-postinst=value. + +.TP 5 +\fBONLY_NEW_DOTNEW\fP +.br +Quando \fBPOSTINST\fP está definido para "on", o slackpkg irá procurar todos os +arquivos .new dentro de /etc e perguntar ao usuário sobre o que fazer com +eles. No entanto, alguns usuários preferem ver apenas os arquivos .new +instalados na última execução do slackpkg, por isso, se isso se aplica a +você, configure o \fBONLY_NEW_DOTNEW\fP para "on". + +O valor padrão de \fBONLY_NEW_DOTNEW\fP é "off". Só mudar isso se você souber o +que está fazendo ... +.br +A partir da linha de comando, você pode usar\-only_new_dotnew=value. + +.TP 5 +\fBONOFF\fP +.br +A variável \fBONOFF\fP define o comportamento inicial da interface de +diálogo. Se você ajustar para "on", em seguida, todos os pacotes serão +selecionados por padrão. Se você preferir a opção oposta (todos desmarcada), +então ajuste avariável para "off". + +O valor padrão de \fBONOFF\fP é "on". +.br +A partir da linha de comando, você pode usar \-OnOff=value. + +.TP 5 +\fBDOWNLOAD_ALL\fP +.br +Se esta variável estiver definida para "on", todos os arquivos serão +transferidos antes da operação solicitada (instalar ou atualizar) é +realizada. Se for definido como "off", então os arquivos serão baixados e da +operação (instalação/upgrade) realizaram um por um. + +O valor padrão de \fBDOWNLOAD_ALL\fP é "off". +.br +A partir da linha de comando, você pode usar \-download_all=value. + +.TP 5 +\fBDIALOG\fP +.br +Habilita (on) ou desabilita (off) a interface de diálogo. + +O valor padrão de \fBdialog\fP é "on". +.br +A partir da linha de comando, você pode usar \-dialog=value. + +.TP 5 +\fBDIALOG_MAXARGS\fP +.br +Defina o número máximo de caracteres que serão enviados para "diálogo". Se +este número for alcançado no upgrade, slackpkg remove as informações sobre a +versão instalada atual de cada pacote. Se até mesmo sem esta informação, o +número é atingido mais uma vez, slackpkg retorna um erro para o utilizador. + +Se \fBDIALOG_MAXARGS\fP é desativado, 19500 é o valor padrão. +.br +A partir da linha de comando, você pode usar \-dialog_maxargs=value. + +.TP 5 +\fBBATCH\fP +.br +Habilita (on) ou desabilita (off) o modo não\-interativo. Quando executado no +modo batch, slackpkg não irá avisar o usuário para qualquer coisa, em vez +disso, todas as questões receberão \fBDEFAULT_ANSWER\fP (veja abaixo). +.br +Se você realizar uma atualização usando este modo, você vai precisar para +executar "slackpkg new\-config" mais tarde para encontrar e fundir. Novos +arquivos. + +O valor padrão de \fBBATCH\fP é "off". +.br +A partir da linha de comando, você pode usar \-batch=value. + +.TP 5 +\fBDEFAULT_ANSWER\fP +.br +Esta é a resposta padrão para perguntas quando slackpkg solicita ao usuário +algumas informações. Isto é usado apenas em modo não\-interativo (quando +\fBBATCH\fP é "sim" ou o usuário se transforma em modo batch através da linha +de comando), caso contrário, esta variável não tem efeito. +.br +Os valores válidos são "y" ou "n". + +O valor padrão de \fBDEFAULT_ANSWER\fP é "n". +.br +A partir da linha de comando, você pode usar \-default_answer=value. + +.TP 5 +\fBUSE_INCLUDES\fP +.br +Modelos do Slackpkg podem incluir outros modelos. Isso reduz a duplicação +de pacotee em muitos modelos, mas pode ser um problema se você deseja +remover apenas um modelo específico. Você pode desativar o # include +análise, definindo esta opção para "off". + +O valor padrão de \fBUSE_INCLUDES\fP é "on". +.br +A partir da linha de comando, você pode usar \-use_includes=value. + +.TP 5 +\fBSPINNING\fP +.br +Quando Slackpkg está fazendo uma atividade que leva algum tempo, dá feedback +visual com uma barra de fiação. Se você não gosta do bar giratório, ele pode +ser desabilitado configurando esta opção para "off". + +O valor padrão de \fBSPINNING\fP é "on". +.br +A partir da linha de comando, você pode usar \-spinning=value. + +.SH ARQUIVOS +.TP 5 +\fB/etc/slackpkg/slacpkg.conf\fP + +.SH "VEJA TAMBÉM" +\fBslackpkg\fP(8) \fBpkgtool\fP(8) \fBinstallpkg\fP(8) \fBupgradepkg\fP(8) +\fBremovepkg\fP(8) diff --git a/manpages-l10n/pt_PT.slackpkg b/manpages-l10n/pt_PT.slackpkg new file mode 100644 index 0000000..2997331 --- /dev/null +++ b/manpages-l10n/pt_PT.slackpkg @@ -0,0 +1,329 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG 8 "Maio 2010" slackpkg\-2.81.1 "" +.SH NOME +\fBslackpkg\fP \- Ferramenta automatizada para gerir pacotes do Slackware Linux + +.SH SINOPSE +\fBslackpkg\fP \fB[OPÇÕES]\fP +\fB{install|remove|search|upgrade|reinstall|blacklist}\fP +\fB{\fP\fIPADRÃO\fP\fB|\fP\fIFICHEIRO\fP\fB}\fP + +\fBslackpkg [OPÇÕES] {clean\-system|upgrade\-all|install\-new}\fP + +\fBslackpkg\fP \fB[OPÇÕES]\fP \fB{search|file\-search}\fP +\fB{\fP\fIPADRÃO\fP\fB|\fP\fIFICHEIRO\fP\fB}\fP + +\fBslackpkg\fP \fB[OPÇÕES]\fP +\fB{generate\-template|install\-template|remove\-template}\fP \fINOMEDOMODELO\fP + +\fBslackpkg [OPÇÕES] info\fP \fIPACOTE\fP + +\fBslackpkg [OPÇÕES] update [gpg]\fP + +\fBslackpkg [OPÇÕES] {new\-config|check\-updates}\fP + +\fBslackpkg [OPÇÕES] help\fP + +.SH DESCRIÇÃO +Slackpkg é uma ferramenta para aqueles que querem, de maneira fácil, +instalar ou atualizar pacotes através da rede. Com slackpkg, você pode ter +uma instalação mínima do Slackware Linux e instalar/atualizar somente os +pacotes que você mais precisa. + +Você não precisa de configurar o NFS ou criar dezenas de CDs para todos os +seus computadores, tudo que você precisa fazer é escrever um comando e todos +os pacotes oficiais mais recentes do Slackware estarão ao seu alcance. + +.SH INSTRUÇÕES +Slackpkg tem muitos recursos. Pode procurar por ficheiros específicos, +remover todos os pacotes de terceiros do seu sistema, instalar pacotes +adicionais para o Slackware desde a sua última atualização, mostrar +descrições de pacotes, etc. + +Antes de fazer qualquer coisa, você precisa de descomentar um espelho no +ficheiro /etc/slackpkg/mirrors e executar: + +.in +5 +# slackpkg update +.in + +A ação "update" irá transferir e formatar a lista de ficheiros e pacotes do +Slackware. Sempre que esta lista for alterada, a atualização precisará de +ser executada. + +As principais características do Slackpkg são aquelas diretamente +relacionadas com a gestão de pacotes: instalar, atualizar e remover +pacotes. Para fazer qualquer uma dessas tarefas, a sintaxe do Slackpkg é: + +.in +5 +# slackpkg [OPÇÕES] <action> {PADRÃO|FICHEIRO} +.in + +\fIOPÇÕES\fP podem ser uma ou mais das muitas opções de configuração mostradas +em /etc/slackpkg/slackpkg.conf. Há opções de linha de comando equivalentes +para a maioria das diretivas de configuração encontradas no slackpkg.conf \- +veja a man\-page \fBslackpkg.conf(5)\fP para verificar quais opções estão +disponíveis. + +\fIPADRÃO\fP pode ser um nome de pacote ou apenas parte do nome do +pacote. Também pode ser uma série de software (como kde, a, ap, ...). +.br + +\fIFICHEIRO\fP é um ficheiro com uma lista de \fIPADRÃOões\fP dentro: ou um por +linha, ou vários por linha com espaços como separadores. + +Slackpkg pode ser usado para atualizar toda a distribuição. +.br +A maneira usual é fazer: + +.in +5 +# slackpkg update +.br +# slackpkg install\-new +.br +# slackpkg upgrade\-all +.br +# slackpkg clean\-system +.in + +Outra característica do Slackpkg é a capacidade de trabalhar com modelos, +que pode tornar muito mais fácil para criar máquinas diferentes com o mesmo +conteúdo de pacotes. Os passos básicos são os seguintes: + +.RS +5 +.IP \(bu 2 +Instalar uma máquina +.IP \(bu 2 +Execute "slackpkg generate\-template NOMEDOMODELO" +.IP \(bu 2 +Copie o /etc/slackpkg/templates/NOMEDOMODELO.template para o mesmo diretório +da outra máquina +.IP \(bu 2 +Execute "slackpkg install\-template NOMEDOMODELO" na outra máquina +.RE + +\fINOMEDOMODELO\fP é o nome do seu modelo. + +Seguindo esta página do manual, você pode encontrar o que cada uma destas +ações (e outras) fazem. + +.SH AÇÕES +.TP 5 +\fBhelp\fP +.br +Mostra as ações do Slackpkg e uma breve descrição delas. É útil se você +precisa saber um pouco sobre o slackpkg. A informação aqui, na man\-page é +muito mais completa. + +.TP 5 +\fBupdate\fP +.br +update irá transferir a última lista de pacotes a partir de um espelho +Slackware (ou seu CD). É uma boa ideia para executar + +.in +5 +# slackpkg update +.in + +antes de tentar uma atualização, instale ou procure por pacotes. +.br +Se precisa de atualizar a chave GPG do Slackware, execute + +.in +5 +# slackpkg update gpg +.in + +A chave GPG não altera. Este deve ser um comando "único" \- execute\-o uma vez +e esqueça\-o... + +.TP 5 +\fBcheck\-updates\fP +.br +Verifique se há alguma atualização no Changelog.txt. Isto é bom para ser +usado a partir do cron, para alertar o administrador do sistema sobre +atualizações. + +.TP 5 +\fBfile\-search\fP +.br +Pode pesquisar os pacotes oficiais do Slackware para qualquer ficheiro na +distribuição Slackware. Precisa de uma biblioteca estranha? Use o +file\-search para encontrá\-la. + +.in +5 +# slackpkg file\-search nomedoficheiro +.in + +Todos os pacotes com correspondência ao "nomedoficheiro" serão exibidos, +assim você poderá ver se os pacotes estão instalados ou não, se não, você +poderá transferi\-los e instalá\-los com outras ações do Slackpkg. + +.TP 5 +\fBsearch\fP +.br +Pode procurar por qualquer pacote distribuído pelo Slackware. + +.in +5 +# slackpkg search pattern +.in + +Todos os nomes de pacotes que coincidem com o "padrão" serão mostrados. Como +file\-search, você pode ver se os pacotes estão instalados ou não, se não, +você pode transferi\-los e instala\-los com outras ações do slackpkg. + +.TP 5 +\fBinstall\fP +.br +Instalação de um pacote é muito simples. Só precisa de escrever: + +.in +5 +# slackpkg install pacote +.in + +e o pacote será transferido e instalado. +.br +Você não pode usar a opção "Install" para instalar um pacote já instalado, +mas podes reinstalar ou atualiza\-lo. + +.TP 5 +\fBupgrade\fP +.br +upgrade instala a versão oficial mais recente do(s) pacote(s) +especificado(s). + +upgrade não tentará instalar novos pacotes (use a função install para esse +fim; a última versão oficial do pacote será instalada). +.TP 5 +\fBreinstall\fP +.br +No caso de você, por engano, corromper algo, a opção reinstall permitirá que +você reinstale a mesma versão de um pacote que estava a ser instalado. + +.TP 5 +\fBremove\fP +.br +Com remove, você pode remover certos pacotes instalados. Como um exemplo: + +.in +5 +# slackpkg remove kde +.in + +removerá todos os pacotes com "kde" no seu nome. + +.TP 5 +\fBblacklist\fP +.br +Com esta ação, você pode colocar na "blacklist" certos pacotes. +.br +Pacotes colocados na blacklist não serão instalados, atualizados ou +removidos pelo slackpkg. Se você quiser remover algum pacote da blacklist, +por favor edite o /etc/slackpkg/blacklist. + +.TP 5 +\fBdownload\fP +.br +Esta ação diz ao slackpkg para transferir os pacotes, mas não +instala\-los. Eles serão colocados em /var/cache/packages, e você pode +instalar/atualizar/reinstalar os pacotes mais tarde (ou gravá\-los num CD). + +.TP 5 +\fBinfo\fP +.br +Esta ação imprime informações sobre o pacote(s): tamanhos comprimido e +descompactado, descrição, etc... + +.TP 5 +\fBclean\-system\fP +.br +Esta ação remove todos os pacotes que não pertencem a uma instalação padrão +do Slackware. Com esta opção, você pode limpar o seu sistema, removendo +pacotes de terceiros, bem como todos os pacotes que foram removidos do +conjunto oficial de pacotes do Slackware. +.br +Se você tiver algum pacote de terceiros (ou personalizado) que gostaria de +manter, você pode adiciona\-lo temporariamente à lista de pacotes da +blacklist antes de executar a ação 'clean\-system'. + +.TP 5 +\fBupgrade\-all\fP +.br +Esta ação atualiza todos os pacotes instalados no sistema para a versão na +árvore oficial do Slackware; este é o "bom" caminho para atualizar todo o +sistema. +.br +Lembre\-se de usar a ação "install\-new" antes de usar "upgrade\-all". + +.TP 5 +\fBinstall\-new\fP +Esta ação instala quaisquer novos pacotes que são adicionados ao conjunto +oficial de pacotes do Slackware. Execute este comando se você estiver a +atualizar o seu sistema para uma outra versão Slackware ou se você estiver a +usar a versão \-current. +.br +Se você quiser instalar todos os pacotes do Slackware não instalados no seu +sistema, use o seguinte comando em vez da ação install\-new: + +.in +5 +# slackpkg install slackware. +.in +.TP 5 +\fBnew\-config\fP +Esta ação procura ficheiros de configuração .new e pergunta ao utilizador o +que fazer com esses ficheiros. +.br +new\-config é muito útil quando você executar uma atualização e deixar os +ficheiros de configuração para serem revistos mais tarde. Em vez de uma +busca manual, diff, e substituir; você pode usar a ação new\-config. +.TP 5 +\fBgenerate\-template\fP +Esta ação cria um novo modelo com todos os pacotes oficiais que estão +instalados no seu sistema. O modelo é armazenado em /etc/slackpkg/templates +.TP 5 +\fBinstall\-template\fP +Esta ação instala o modelo desejado no sistema. O modelo deve estar em +/etc/slackpkg/templates. Se o modelo "inclui" outros modelos, todos eles +precisam de estar em /etc/slackpkg/templates. Você pode desativar o +"includes" em slackpkg.conf ou na linha de comando. +.TP 5 +\fBremove\-template\fP +Essa ação remove todos os pacotes que fazem parte do modelo +selecionado. Cuidado, isto pode colocar a sua máquina num estado +inutilizável. O controlo do "include" pode ser ativado/desativado em +slackpkg.conf ou com a opção apropriada na linha de comando. + +.SH FICHEIROS +.TP 5 +\fB/etc/slackpkg/mirrors \fP +Ficheiro para especificar o local de onde transferir os pacotes +.TP 5 +\fB/etc/slackpkg/slackpkg.conf \fP +Configurações gerais do slackpkg +.TP 5 +\fB/etc/slackpkg/blacklist\fP +Lista de pacotes a saltar +.TP 5 +\fB/etc/slackpkg/templates\fP +Contém todos os ficheiros modelos +.TP 5 +\fB/usr/libexec/slackpkg\fP +Contém o núcleo do Slackpkg e as funcionalidades adicionais +.TP 5 +\fB/var/lib/slackpkg\fP +Uso interno Slackpkg \- Listas de pacotes formatados, cópia do ChangeLog.txt, +lista de ficheiros, etc... + +.SH "VEJA TAMBÉM" +\fBslackpkg.conf\fP(5), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), \fBexplodepkg\fP(8), +\fBmakepkg\fP(8), \fBpkgtool\fP(8). + +.SH AUTORES +.TP 5 +Piter PUNK aka Roberto F Batista +<piterpk AT terra DOT com DOT br> +.TP 5 +Evaldo Gardenali aka UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/manpages-l10n/pt_PT.slackpkg.conf b/manpages-l10n/pt_PT.slackpkg.conf new file mode 100644 index 0000000..f440b6b --- /dev/null +++ b/manpages-l10n/pt_PT.slackpkg.conf @@ -0,0 +1,291 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG.CONF 5 "Maio 2010" slackpkg\-2.81.1 "" +.SH NOME +\fBslackpkg.conf\fP \- Os dados de configuração para slackpkg + +.SH DESCRIÇÃO + +O ficheiro slackpkg.conf contém informações para \fBslackpkg\fP (8), uma +ferramenta automatizada para gestão de pacotes do Slackware Linux. + +O ficheiro slackpkg.conf é uma sequência de variáveis em shell script, e +cada variável controla um aspecto do slackpkg. Os comentários começam e +terminam com o caractere # e podem aparecer em qualquer lugar dentro do +ficheiro slackpkg.conf. Se alguma variável aparece mais do que uma vez no +ficheiro, o slackpkg irá usar o valor que foi definido pela última vez. + +Muitas variáveis podem ser substituídas por opções passadas para o slackpkg +na linha de comando. Se você precisar de substituir o valor da \fBVARIÁVEL\fP , +passe \fB\-variable=value\fP na linha de comando imediatamente antes da ação +slackpkg. Múltiplas variáveis podem ser substituídas. + +EXEMPLO: slackpkg \-batch=on \-default_answer=y upgrade\-all + +Para as opções de configuração que têm apenas dois estados, os valores +possíveis são "on" ou "off" salvo indicação em contrário. + +As diferentes opções de configuração são: + +.TP 5 +\fBARCH\fP +.br +Escolhe a arquitetura do sistema. Normalmente o Slackpkg pode encontrar o +valor correto usando "uname \-m". Os valores válidos são: + +.ds title MACHINE\t\tVALORES DE ARQUITETURA VÁLIDOS +.ds arm ARM\t\t\tarm +.ds x86 x86 (32bits)\ti386, i486, i586 e i686 +.ds x86_64 x86 (64bits)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +\fB\*[title]\fP +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +O valor padrão de \fBARCH\fP depende da sua arquitetura. + +.TP 5 +\fBSLACKKEY\fP +.br +O Slackpkg verifica o ficheiro de assinatura dos pacotes (.asc) contra a +assinatura GPG do projeto. Diferentes ports do Slackware podem ter +diferentes assinaturas e o Slackpkg tenta encontrar o caminho correto com +base na arquitetura do seu sistema. Se for detectado automaticamente que a +\fBSLACKKEY\fP não é correta, você pode altera\-la usando esta opção. + +O valor padrão da \fBSLACKKEY\fP depende da entrada do Slackware que usa. + +.TP 5 +\fBTEMP\fP +.br +Define o local para onde o slackpkg vai transferir os pacotes antes de os +instalar/atualizar. + +O valor padrão de \fBTEMP\fP é /var/cache/packages. + +.TP 5 +\fBWORKDIR\fP +.br +Define o diretório para listas de pacotes, listas de ficheiros e outras +informações usadas pelo slackpkg quando a funcionar. Não altere o valor +desta variável, a menos que você saiba o que está a fazer. + +O valor padrão de \fBWORKDIR\fP é /var/lib/slackpkg. + +.TP 5 +\fBWGETFLAGS\fP +.br +Seleciona opções especiais para o wget. Se você precisa de usar várias +opções, lembre\-se de coloca\-las entre aspas. + +O valor padrão de \fBWGETFLAGS\fP é "\-\-passive\-ftp" + +.TP 5 +\fBDELALL\fP +.br +Se estiver definido para "on", todos os ficheiros transferidos serão +removidos, após que o slackpkg realizar a instalação ou atualização (isto +NÃO tem nenhum impacto quando o slackpkg é executado com "download"). Se +definido como "off", os ficheiros serão mantidos no diretório definido em +\fBtemp\fP (como descrito acima). + +O valor padrão de \fBDELALL\fP é "on". +.br +A partir da linha de comando, você pode usar \-delall=value. + +.TP 5 +\fBCHECKMD5\fP +.br +Habilita (on) ou desabilita (off) a verificação de checksums MD5 de todos os +pacotes transferidos antes de instalar ou atualiza\-los. + +O valor padrão de \fBCHECKMD5\fP é "on". +.br +A partir da linha de comando, pode usar \-checkmd5=value. + +.TP 5 +\fBCHECKGPG\fP +.br +Habilita (on) ou desabilita (off) a verificação da assinatura GPG de cada +pacote antes de instalar ou atualizar. + +O valor padrão de \fBCHECKGPG\fP é "on". +.br +A partir da linha de comando, você pode usar \-checkgpg=value. + +.TP 5 +\fBCHECKSIZE\fP +.br +Habilita (on) ou desabilita (off) a verificação de espaço em disco +disponível para cada pacote antes de instalar ou atualizar. + +O valor padrão de \fBCHECKSIZE\fP é "off". +.br +A partir da linha de comando, você pode usar \-checksize=value. + +.TP 5 +\fBPKGMAIN\fP +.br +Define o diretório de distribuição principal. Normalmente, você não precisa +de se preocupar com esta variável, já que o Slackpkg tenta encontra\-lo com +base na sua arquitetura. No entanto, se você precisa de alterar isso, então +inclua esta variável no seu slackpkg.conf. Este deve ser sempre o diretório +que contém a série de pacotes do Slackware (A, AP, D, E, F, ...). + +Padrão: depende do port do seu Slackware + +.TP 5 +\fBPRIORITY\fP +.br +Esta matriz seleciona a prioridade em que diretórios no espelho terão quando +o slackpkg procura por pacotes. Se um pacote é encontrado em mais de um +lugar, o pacote no primeiro diretório tem prioridade, depois o segundo, +depois o terceiro, depois o quarto e finalmente, o pacote encontrado no +último diretório exibido. Você pode usar %PKGMAIN para usar o conteúdo da +variável PKGMAIN. + +Os valores padrão (em ordem): patches %PKGMAIN extra pasture testing + +.TP 5 +\fBPOSTINST\fP +.br +Habilita (on) ou desabilita (off) recursos de pós\-instalação do slackpkg, +tais como a verificação de novos ficheiros de configuração (*.new) e novas +imagens do kernel, e solicita o que ele deve fazer. + +O valor padrão de \fBPOSTINST\fP é "on". +.br +A partir da linha de comando, você pode usar \-postinst=value. + +.TP 5 +\fBNOVO_DOTNEW_APENAS\fP +.br +Quando \fBPOSTINST\fP está definido para "on", o slackpkg irá procurar todos os +ficheiros .new dentro do /etc e perguntar ao utilizador sobre o que fazer +com eles. No entanto, alguns utilizadores preferem ver apenas os ficheiros +\&.new instalados na última execução do slackpkg, por isso, se isto se aplica +a si, configure o \fBNOVO_DOTNEW_APENAS\fP para "on". + +O valor padrão de \fBNOVO_DOTNEW_APENAS\fP é "off". Apenas mude isto se souber +o que está a fazer... +.br +A partir da linha de comando, você pode usar \-only_new_dotnew=value. + +.TP 5 +\fBONOFF\fP +.br +A variável \fBONOFF\fP define o comportamento inicial da interface de +diálogo. Se você ajustar para "on", então todos os pacotes serão +selecionados por padrão. Se você preferir a opção oposta (todos +desmarcados), então define isto para "off". + +O valor padrão de \fBONOFF\fP é "on". +.br +A partir da linha de comando, você pode usar \-onoff=value. + +.TP 5 +\fBDOWNLOAD_ALL\fP +.br +Se esta variável estiver definida para "on", todos os ficheiros serão +transferidos antes que a operação solicitada (instalar ou atualizar) seja +realizada. Se for definido como "off", então os ficheiros serão transferidos +e a operação (instalar/atualizar) realizada uma a uma. + +O valor padrão de \fBDOWNLOAD_ALL\fP é "off". +.br +A partir da linha de comando, você pode usar \-download_all=value. + +.TP 5 +\fBDIALOG\fP +.br +Habilita (on) ou desabilita (off) a interface de diálogo. + +O valor padrão de \fBDIALOG\fP é "on". +.br +A partir da linha de comando, você pode usar \-dialog=value. + +.TP 5 +\fBDIALOG_MAXARGS\fP +.br +Defina o número máximo de caracteres que serão enviados para "diálogo". Se +este número for alcançado no upgrade, o slackpkg remove as informações +sobre a versão instalada atual de cada pacote. Se mesmo sem esta informação, +o número é atingido mais uma vez, o slackpkg retorna um erro para o +utilizador. + +Se \fBDIALOG_MAXARGS\fP é desativado, 19500 é o valor padrão. +.br +A partir da linha de comando, você pode usar \-dialog_maxargs=value. + +.TP 5 +\fBBATCH\fP +.br +Habilita (on) ou desabilita (off) o modo não\-interativo. Quando executado no +modo batch, o slackpkg não irá avisar o utilizador para nada, em vez disso, +todas as questões receberão \fBRESPOSTA_PADRÃO\fP (veja abaixo). +.br +Se realizar uma atualização usando este modo, você vai precisar de executar +"slackpkg new\-config" mais tarde para encontrar e fundir ficheiros .new. + +O valor padrão de \fBBATCH\fP é "off". +.br +A partir da linha de comando, você pode usar \-batch=value. + +.TP 5 +\fBRESPOSTA_PADRÃO\fP +.br +Esta é a resposta padrão para perguntas quando o slackpkg solicita ao +utilizador algumas informações. Isto é usado apenas em modo não\-interativo +(quando \fBBATCH\fP é "yes" ou o utilizador se transforma em modo batch através +da linha de comando); caso contrário, esta variável não tem efeito. +.br +Os valores válidos são "y" ou "n". + +O valor padrão de \fBRESPOSTA_PADRÃO\fP é "n". +.br +A partir da linha de comando, você pode usar \-default_answer=value. + +.TP 5 +\fBUSE_INCLUDES\fP +.br +Modelos do Slackpkg podem incluir outros modelos. Isto reduz a duplicação +de pacotes em muitos modelos, mas pode ser um problema se você deseja +remover apenas um modelo específico. Você pode desativar o #include análise, +definindo esta opção para "off". + +O valor padrão de \fBUSE_INCLUDES\fP é "on". +.br +A partir da linha de comando, pode usar \-use_includes=value. + +.TP 5 +\fBSPINNING\fP +.br +Quando o Slackpkg está a fazer uma atividade que leva algum tempo, mostra +uma barra giratória como feedback visual. Se não gosta da barra giratória, +isso pode ser desabilitado definindo essa opção para "off". + +O valor padrão de \fBSPINNING\fP é "on". +.br +A partir da linha de comando, pode usar \-spinning=value. + +.SH FICHEIROS +.TP 5 +\fB/etc/slackpkg/slacpkg.conf\fP + +.SH "VEJA TAMBÉM" +\fBslackpkg\fP(8) \fBpkgtool\fP(8) \fBinstallpkg\fP(8) \fBupgradepkg\fP(8) +\fBremovepkg\fP(8) diff --git a/manpages-l10n/ru.slackpkg b/manpages-l10n/ru.slackpkg new file mode 100644 index 0000000..a4244a1 --- /dev/null +++ b/manpages-l10n/ru.slackpkg @@ -0,0 +1,321 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG 8 "Май 2010" slackpkg\-2.81.1 "" +.SH НАЗВАНИЕ +\fBslackpkg\fP \- автоматизированный инструмент управления пакетами Slackware +Linux + +.SH СИНТАКСИС +\fBslackpkg\fP \fB[ОПЦИИ]\fP +\fB{install|remove|search|upgrade|reinstall|blacklist}\fP +\fB{\fP\fIОБРАЗЕЦ\fP\fB|\fP\fIФАЙЛ\fP\fB}\fP + +\fBslackpkg [ОПЦИИ] {clean\-system|upgrade\-all|install\-new}\fP + +\fBslackpkg\fP \fB[ОПЦИИ]\fP \fB{search|file\-search}\fP \fB{\fP\fIОБРАЗЕЦ\fP\fB|\fP\fIФАЙЛ\fP\fB}\fP + +\fBslackpkg\fP \fB[ОПЦИИ]\fP +\fB{generate\-template|install\-template|remove\-template}\fP \fIИМЯ_ШАБЛОНА\fP + +\fBslackpkg [ОПЦИИ] info\fP \fIПАКЕТ\fP + +\fBslackpkg [ОПЦИИ] update [gpg]\fP + +\fBslackpkg [ОПЦИИ] {new\-config|check\-updates}\fP + +\fBslackpkg [ОПЦИИ] help\fP + +.SH ОПИСАНИЕ +Slackpkg \- это инструмент для тех, кто хочет устанавливать или обновлять +пакеты по сети без лишних сложностей. С помощью slackpkg возможно +использовать минимальную установку Slackware и устанавливать/обновлять +только необходимые пакеты. + +Не потребуется настраивать NFS или делать множество CD для всех компьютеров; +все что нужно \- набрать одну команду, и все последние официальные пакеты +Slackware окажутся под рукой. + +.SH ИНСТРУКЦИИ +Slackpkg умеет многое. Можно выполнять поиск отдельных файлов, удалять все +сторонние пакеты, устанавливать пакеты, добавленные в Slackware после +обновления вашей системы, просматривать описания пакетов и т.д. + +Прежде всего необходимо раскомментировать только одно зеркало в файле +/etc/slackpkg/mirrors и запустить: + +.in +5 +# slackpkg update +.in + +Команда "update" загрузит и сформирует список файлов и пакетов +Slackware. При каждом изменении этого списка на зеркале потребуется +запускать "update". + +Главные возможности Slackpkg связаны с непосредственным управлением +пакетами: их установкой, обновлением и удалением. Для этих задач синтаксис +команд Slackpkg будет таким: + +.in +5 +# slackpkg [ОПЦИИ] <команда> {ШАБЛОН|ФАЙЛ} +.in + +\fIОПЦИИ\fP один или несколько параметров из перечисленных в +/etc/slackpkg/slackpkg.conf. Большинство директив slackpkg.conf имеют +соответствующие параметры командной строки, доступные параметры смотрите на +странице руководства \fBslackpkg.conf(5)\fP. + +\fIОБРАЗЕЦ\fP может быть именем или частью имени пакета, а также набором +пакетов (например, kde, a, ap, ...). +.br + +\fIФАЙЛ\fP \- это файл, содержащий список \fIОБРАЗЦОВ\fP, по одному в строке или по +несколько в строке через пробел. + +Slackpkg можно использовать для обновления всего дистрибутива. +.br +Для этого нужно выполнить: + +.in +5 +# slackpkg update +.br +# slackpkg install\-new +.br +# slackpkg upgrade\-all +.br +# slackpkg clean\-system +.in + +Другая особенность Slackpkg заключается в работе с шаблонами, позволяющими с +лёгкостью установить на разные машины одинаковый набор пакетов. Основные +шаги: + +.RS +5 +.IP \(bu 2 +Установить одну машину +.IP \(bu 2 +Запустить "slackpkg generate\-template ИМЯ_ШАБЛОНА" +.IP \(bu 2 +Скопировать /etc/slackpkg/templates/ИМЯ_ШАБЛОНА.template в тот же каталог на +другой машине +.IP \(bu 2 +Запустить "slackpkg install\-template ИМЯ_ШАБЛОНА" на другой машине +.RE + +\fIИМЯ_ШАБЛОНА\fP \- это имя вашего шаблона. + +Далее в этом руководстве описано действие всех этих (и других) команд. + +.SH КОМАНДЫ +.TP 5 +\fBhelp\fP +.br +Показывает команды slackpkg и их краткое описание. Удобно, если нужна +краткая справка по slackpkg. Страница этого руководства содержит намного +больше информации. + +.TP 5 +\fBupdate\fP +.br +Загружает последний список пакетов с зеркала Slackware (или CD). Неплохо +выполнять + +.in +5 +# slackpkg update +.in + +перед обновлением (upgrade), установкой (install) или поиском (search) +пакетов. +.br +Если нужно обновить публичный ключ GPG Slackware, запустите + +.in +5 +# slackpkg update gpg +.in + +Ключ GPG является постоянным. Поэтому и команда "однократная" \- запустите её +и забудьте... + +.TP 5 +\fBcheck\-updates\fP +.br +Проверяет, нет ли изменений в ChangeLog.txt. Неплохо поместить в cron для +напоминания администратору об обновлениях. + +.TP 5 +\fBfile\-search\fP +.br +Ищет произвольный файл в официальных пакетах дистрибутива Slackware. Нужна +незнакомая библиотека? file\-search поможет её найти. + +.in +5 +# slackpkg file\-search имя_файла +.in + +Показывает все пакеты, содержащие файл "имя_файла", можно увидеть, +установлены пакеты или нет; загрузить и установить их можно при помощи +других команд slackpkg. + +.TP 5 +\fBsearch\fP +.br +Ищет произвольный пакет в дистрибутиве Slackware. + +.in +5 +# slackpkg search образец +.in + +Показывает все соответствующие шаблону "образец" пакеты. Как и с +file\-search, можно увидеть, установлены пакеты или нет; загрузить и +установить их можно при помощи других команд slackpkg. + +.TP 5 +\fBinstall\fP +.br +Установка пакетов очень проста. Нужно только набрать: + +.in +5 +# slackpkg install имя_пакета +.in + +и пакет будет загружен и установлен. +.br +Командой "install" невозможно установить уже установленный пакет, но его +можно переустановить (reinstall) или обновить (upgrade). + +.TP 5 +\fBupgrade\fP +.br +Устанавливает самую последнюю официальную версию указанных пакетов. + +Новые пакеты пропускаются (для их установки используйте команду install, +будут установлены их последние официальные версии). +.TP 5 +\fBreinstall\fP +.br +Команда reinstall позволяет переустановить пакет в уже установленной версии, +на случай, если что\-то поломали по ошибке. + +.TP 5 +\fBremove\fP +.br +Удаляет указанные установленные пакеты. Например: + +.in +5 +# slackpkg remove kde +.in + +удалит пакеты, содержащие в имени "kde". + +.TP 5 +\fBblacklist\fP +.br +Добавляет указанные пакеты в "черный список". +.br +Пакеты из "черного списка" не могут быть установлены, обновлены или удалены +с помощью slackpkg. Для удаления пакетов из "черного списка" отредактируйте +/etc/slackpkg/blacklist. + +.TP 5 +\fBdownload\fP +.br +Загружает, но не устанавливает пакеты. Они будут помещены в +/var/cache/packages, позднее можно будет их +установить/обновить/переустановить (или записать на CD). + +.TP 5 +\fBinfo\fP +.br +Выводит информацию о пакетах: сжатый и несжатые размеры, описание и т.п... + +.TP 5 +\fBclean\-system\fP +.br +Удаляет все пакеты, не входящие в дистрибутив Slackware. Этой командой можно +очистить систему от сторонних пакетов и пакетов, исключённых из официального +дерева пакетов Slackware. +.br +Если есть сторонние (или собранные самостоятельно) пакеты, которые хочется +сохранить, можно временно добавить их в "черный список" перед запуском +команды 'clean\-system'. + +.TP 5 +\fBupgrade\-all\fP +.br +Обновляет каждый установленный в системе пакет до версии официального дерева +Slackware; это хороший способ обновления всей системы. +.br +Не забывайте выполнить команду "install\-new" до запуска "upgrade\-all". + +.TP 5 +\fBinstall\-new\fP +Устанавливает новые пакеты, добавленные в официальное дерево пакетов +Slackware. Используйте эту команду при обновлении системы до другой версии +Slackware или при использовании \-current. +.br +Для установки всех пакетов Slackware, отсутствующих в конкретной системе, +вместо команды install\-new используйте: + +.in +5 +# slackpkg install slackware +.in +.TP 5 +\fBnew\-config\fP +Ищет файлы настроек с расширением .new и запрашивает пользователя, что с +ними делать. +.br +Команда new\-config весьма полезна, когда при обновлении системы рассмотрение +файлов настройки было отложено. Вместо выполнения вручную +поиска/сравнения/замены воспользуйтесь командой new\-config. +.TP 5 +\fBgenerate\-template\fP +Создает новые шаблоны со всеми официальными пакетами Slackware, +установленными в системе. Шаблоны хранятся в /etc/slackpkg/tamplates. +.TP 5 +\fBinstall\-template\fP +Устанавливает систему по заданному шаблону. Шаблон должен находиться в +/etc/slackpkg/templates. Если шаблон подключает ("include") другие шаблоны, +то все они также должны находиться в /etc/slackpkg/templates. Подключение +шаблонов можно запретить в файле настройки slackpkg.conf или в командной +строке. +.TP 5 +\fBremove\-template\fP +Удаляет все содержащиеся в заданном шаблоне пакеты. Будьте осторожны, это +может привести систему в нестабильное состояние. Подключение шаблонов можно +разрешить/запретить в файле настройки slackpkg.conf или соответствующей +опцией в командной строке. + +.SH ФАЙЛЫ +.TP 5 +\fB/etc/slackpkg/mirrors \fP +Файл для задания источника загрузки пакетов +.TP 5 +\fB/etc/slackpkg/slackpkg.conf \fP +Основные настройки slackpkg +.TP 5 +\fB/etc/slackpkg/blacklist\fP +Список игнорируемых пакетов +.TP 5 +\fB/etc/slackpkg/templates\fP +Содержит все файлы шаблонов +.TP 5 +\fB/usr/libexec/slackpkg\fP +Содержит основные и дополнительные функции slackpkg +.TP 5 +\fB/var/lib/slackpkg\fP +Для внутренних нужд slackpkg \- отформатированные списки пакетов, копия +Changelog.txt, список файлов и т.д... + +.SH "СМОТРИТЕ ТАКЖЕ" +\fBslackpkg.conf\fP(5), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), \fBexplodepkg\fP(8), +\fBmakepkg\fP(8), \fBpkgtool\fP(8). + +.SH АВТОРЫ +.TP 5 +Piter PUNK aka Roberto F Batista +<piterpk AT terra DOT com DOT br> +.TP 5 +Evaldo Gardenali aka UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/manpages-l10n/ru.slackpkg.conf b/manpages-l10n/ru.slackpkg.conf new file mode 100644 index 0000000..42e4cbd --- /dev/null +++ b/manpages-l10n/ru.slackpkg.conf @@ -0,0 +1,286 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG.CONF 5 "Май 2010" slackpkg\-2.81.1 "" +.SH НАЗВАНИЕ +\fBslackpkg.conf\fP \- файл настроек slackpkg + +.SH ОПИСАНИЕ + +Файл slackpkg.conf содержит настройки \fBslackpkg\fP(8), автоматизированного +менеджера пакетов Slackware Linux. + +Файл slackpkg.conf является сценарием оболочки, задающим различные +переменные, каждая из которых управляет тем или иным поведением +slackpkg. Комментарии начинаются с символа # и оканчиваются символом конца +строки, могут находиться в любом месте файла slackpkg.conf. Если переменная +встречается в файле несколько раз, slackpkg будет использовать последнее +заданное ей значение. + +Многие переменные могут быть переопределены параметрами, переданными +slackpkg в командной строке. Если нужно изменить значение \fBПЕРЕМЕННОЙ\fP, +укажите в командной строке между slackpkg и его командой +\fB\-переменная=значение\fP. Можно переопределять несколько переменных. + +ПРИМЕР: slackpkg \-batch=on \-default_answer=y upgrade\-all + +Для булевых переменных, имеющих только два состояния, возможны значения "on" +или "off", если не указано иное. + +Различные параметры настройки: + +.TP 5 +\fBARCH\fP +.br +Выбор архитектуры системы. Обычно Slackpkg может найти правильное значение +при помощи команды "uname \-m". Допустимые значения: + +.ds title МАШИНА\t\tДОПУСТИМЫЕ ЗНАЧЕНИЯ ARCH +.ds arm ARM\t\t\tarm +.ds x86 x86 (32 бита)\ti386, i486, i586 и i686 +.ds x86_64 x86 (64 бита)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +\fB\*[title]\fP +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +Значение по умолчанию переменной \fBARCH\fP зависит от вашей текущей +архитектуры. + +.TP 5 +\fBSLACKKEY\fP +.br +Slackpkg сверяет файл цифровой подписи пакета (.asc) по цифровой подписи +проекта. Различные порты Slackware могут иметь различные подписи, Slackpkg +пытается найти правильную, основываясь на архитектуре системы. Если +автоопределение \fBSLACKKEY\fP не справилось, можно задать его этой опцией. + +Значение по умолчанию \fBSLACKKEY\fP зависит от вашего порта Slackware. + +.TP 5 +\fBTEMP\fP +.br +Задает каталог, куда slackpkg будет загружать пакеты перед их +установкой/обновлением. + +Значение \fBTEMP\fP по умолчанию /var/cache/packages. + +.TP 5 +\fBWORKDIR\fP +.br +Задает каталог для списков пакетов, списков файлов и прочей информации, +используемой slackpkg при работе. Не изменяйте значение этой переменной, +если не знаете, что делаете. + +Значение \fBWORKDIR\fP по умолчанию /var/lib/slackpkg. + +.TP 5 +\fBWGETFLAGS\fP +.br +Задает дополнительные опции для wget. Если нужно использовать несколько +опций, не забудьте взять их в двойные кавычки. + +Значение \fBWGETFLAGS\fP по умолчанию "\-\-passive\-ftp". + +.TP 5 +\fBDELALL\fP +.br +При значении "on" загруженные файлы будут удалены по завершении их установки +или обновления (не влияет на команду "download"). При значении "off" файлы +будут сохранены в каталоге \fBTEMP\fP (как описано выше). + +Значение \fBDELALL\fP по умолчанию "on". +.br +В командной строке можно использовать \-delall=значение. + +.TP 5 +\fBCHECKMD5\fP +.br +Включает (on) или выключает (off) проверку контрольных сумм MD5 всех +загруженных пакетов перед их установкой или обновлением. + +Значение \fBCHECKMD5\fP по умолчанию "on". +.br +В командной строке можно использовать \-checkmd5=значение. + +.TP 5 +\fBCHECKGPG\fP +.br +Включает (on) или выключает (off) проверку подписей GPG каждого пакета перед +его установкой или обновлением. + +Значение \fBCHECKGPG\fP по умолчанию "on". +.br +В командной строке можно использовать \-checkgpg=значение. + +.TP 5 +\fBCHECKSIZE\fP +.br +Включает (on) или выключает (off) проверку доступного места на диске для +каждого пакета перед его установкой или обновлением. + +Значение \fBCHECKSIZE\fP по умолчанию "off". +.br +В командной строке можно использовать \-checksize=значение. + +.TP 5 +\fBPKGMAIN\fP +.br +Задаёт основной каталог дистрибутива. Обычно об этой переменной беспокоиться +не нужно, поскольку Slackpkg пытается установить её значение по архитектуре +системы. Однако, если нужно вмешаться, добавьте переменную в +slackpkg.conf. Это должен быть каталог, который содержит наборы пакетов (A, +AP, D, E, F, ...). + +Умолчание зависит от порта Slackware. + +.TP 5 +\fBPRIORITY\fP +.br +Набор задаёт приоритет каталогов зеркала, где slackpkg ищет пакеты. Если +пакет найден более чем в одном месте, то преимущество имеет пакет из первого +каталога, затем из второго, затем из третьего, и так до последнего из +списка. Для использования содержимого переменной PKGMAIN можно использовать +%PKGMAIN. + +Значение по умолчанию (по порядку): patches %PKGMAIN extra pasture testing + +.TP 5 +\fBPOSTINST\fP +.br +Включает (on) или выключает (off) послеустановочные действия slackpkg, такие +как проверка новых (*.new) файлов настроек, новых образов ядра, запрос у +пользователя действий с ними. + +Значение \fBPOSTINST\fP по умолчанию "on". +.br +В командной строке можно использовать \-postinst=значение. + +.TP 5 +\fBONLY_NEW_DOTNEW\fP +.br +Когда значение \fBPOSTINST\fP установлено в "on", slackpkg ищет все .new файлы +в каталоге /etc и подсказывает пользователю, что они могут сделать с +ними. Однако, некоторые пользователи предпочитают видеть только те .new +файлы, которые установлены последней командой slackpkg, и если вы из их +числа, установите значение \fBONLY_NEW_DOTNEW\fP в "on". + +Значение \fBONLY_NEW_DOTNEW\fP по умолчанию "off". Меняйте только если точно +знаете что делаете... +.br +В командной строке можно использовать \-only_new_dotnew=значение. + +.TP 5 +\fBONOFF\fP +.br +Определяет начальное поведение диалогового интерфейса. При значении "on" все +пакеты будут отмечены по умолчанию. Если предпочитаете противоположный +вариант (все пакеты не отмечены), задайте "off". + +Значение \fBONOFF\fP по умолчанию "on". +.br +В командной строке можно использовать \-onoff=значение. + +.TP 5 +\fBDOWNLOAD_ALL\fP +.br +Если эта переменная установлена в "on", то загрузка всех файлов будет +произведена до выполнения основной команды (install или upgrade). Если +установлена в "off", то файлы будут загружаться и обрабатываться +(install/upgrade) по одному. + +Значение \fBDOWNLOAD_ALL\fP по умолчанию "off". +.br +В командной строке можно использовать \-download_all=значение. + +.TP 5 +\fBDIALOG\fP +.br +Включает (on) или выключает (off) диалоговый интерфейс. + +Значение \fBDIALOG\fP по умолчанию "on". +.br +В командной строке можно использовать \-dialog=значение. + +.TP 5 +\fBDIALOG_MAXARGS\fP +.br +Задаёт максимальное число символов, передаваемых программе "dialog". Если +при обновлении указанное число превышено, то slackpkg удаляет информацию о +текущей версии каждого пакета. Если и после этого превышение не устранено, +slackpkg сообщает пользователю об ошибке. + +Если \fBDIALOG_MAXARGS\fP не задана, используется умолчание 19500. +.br +В командной строке можно использовать \-dialog_maxargs=значение. + +.TP 5 +\fBBATCH\fP +.br +Включает (on) или выключает (off) неинтерактивный режим. Запущенный в +пакетном режиме slackpkg не запрашивает пользователя; вместо этого все +вопросы получают в ответ \fBDEFAULT_ANSWER\fP (смотрите ниже). +.br +После обновления в этом режиме следует запустить "slackpkg new\-config" для +поиска и слияния файлов .new с существующими настройками. + +Значение \fBBATCH\fP по умолчанию "off". +.br +В командной строке можно использовать \-batch=значение. + +.TP 5 +\fBDEFAULT_ANSWER\fP +.br +Это ответ по умолчанию на выводимые пользователю запросы. Используется +только в неинтерактивном режиме (когда переменная \fBBATCH\fP имеет значение +"yes" или пакетный режим задан через командную строку); иначе игнорируется. +.br +Допустимыми значениями являются "y" или "n". + +Значение \fBDEFAULT_ANSWER\fP по умолчанию "n". +.br +В командной строке можно использовать \-default_answer=значение. + +.TP 5 +\fBUSE_INCLUDES\fP +.br +Шаблоны slackpkg могут подключать другие шаблоны, что сокращает повторения +пакетов во множестве шаблонов, но может создать сложности при удалении +отдельного шаблона. Установкой этой переменной в "off" можно отключить +обработку шаблонов, подключенных в #include. + +Значение \fBUSE_INCLUDES\fP по умолчанию "on". +.br +В командной строке можно использовать \-use_includes=значение. + +.TP 5 +\fBSPINNING\fP +.br +Будучи чем\-либо занятым продолжительное время, slackpkg выводит вращающийся +значок как признак активности. Если такое поведение не устраивает, можете +его отключить, установив эту переменную в значение "off". + +Значение \fBSPINNING\fP по умолчанию "on". +.br +В командной строке можно использовать \-spinning=значение. + +.SH ФАЙЛЫ +.TP 5 +\fB/etc/slackpkg/slacpkg.conf\fP + +.SH "СМОТРИТЕ ТАКЖЕ" +\fBslackpkg\fP(8), \fBpkgtool\fP(8), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), +\fBremovepkg\fP(8) diff --git a/manpages-l10n/sv.slackpkg b/manpages-l10n/sv.slackpkg new file mode 100644 index 0000000..a8e435d --- /dev/null +++ b/manpages-l10n/sv.slackpkg @@ -0,0 +1,326 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG 8 "May 2010" slackpkg\-2.81.1 "" +.SH NAMN +\fBslackpkg\fP \- Automatiserat verktyg för att hantera Slackware Linux\-paket + +.SH ÖVERSIKT +\fBslackpkg\fP \fB[ALTERNATIV]\fP +\fB{install|remove|search|upgrade|reinstall|blacklist}\fP +\fB{\fP\fIMÖNSTER\fP\fB|\fP\fIFIL\fP\fB}\fP + +\fBslackpkg [ALTERNATIV] {clean\-system|upgrade\-all|install\-new}\fP + +\fBslackpkg\fP \fB[ALTERNATIV]\fP \fB{search|file\-search}\fP +\fB{\fP\fIMÖNSTER\fP\fB|\fP\fIFIL\fP\fB}\fP + +\fBslackpkg\fP \fB[ALTERNATIV]\fP +\fB{generate\-template|install\-template|remove\-template}\fP \fIMALLNAMN\fP + +\fBslackpkg [ALTERNATIV] info\fP \fIPAKET\fP + +\fBslackpkg [ALTERNATIV] update [gpg]\fP + +\fBslackpkg [ALTERNATIV] {new\-config|check\-updates}\fP + +\fBslackpkg [ALTERNATIV] help\fP + +.SH BESKRIVNING +Slackpkg är ett verktyg för den som vill installera eller uppgradera paket +via nätverket på ett enkelt sätt. Med slackpkg, kan du ha en minimal +installation av Slackware Linux och installera/uppgradera bara de paket som +du behöver. + +Du behöver inte ställa in NFS eller göra dussintals CD\-skivor för alla dina +datorer; Allt du behöver göra är att skriva ett kommando och alla de senaste +officiella Slackwarepaket kommer att vara till hands. + +.SH INSTRUKTIONER +Slackpkg har många funktioner. Den kan söka efter filer, ta bort alla +tredjeparts\-paket i ditt system, installera paket som lagts till Slackware +sedan din senaste uppdatering, visa paketbeskrivningar, mm. + +Innan du gör något, måste du avkommentera en spegel i /etc/slackpkg/mirrors +filen och köra: + +.in +5 +# slackpkg update +.in + +"update" åtgärden kommer att hämta och formatera listan över filer och paket +i Slackware. Varje gång denna lista ändras, måste update köras. + +De viktigaste funktionerna i Slackpkg är de direkt relaterade till +pakethantering: installera, uppgradera och ta bort paket. För att göra någon +av dessa uppgifter är Slackpkg syntaxen: + +.in +5 +# slackpkg [ALTERNATIV] <åtgärd> {MÖNSTER|FIL} +.in + +\fIALTERNATIV\fP kan vara en eller flera av de många konfigurationsalternativ +som anges i /etc/slackpkg/slackpkg.conf. Det finns likvärdiga alternativ för +kommandoraden för de flesta av konfigurationsmöjligheterna som finns i +slackpkg.conf \- se manual\-sidan \fBslackpkg.conf (5)\fP för att se vilka +alternativ som finns. + +\fIMÖNSTER\fP kan vara ett paketnamn eller bara en del av paketnamn. Det kan +också vara en programvaruserie (som kde, a, p, ...). +.br + +\fIFIL\fP är en fil med en lista på \fIMÖNSTER\fP: antingen en per rad, eller +flera per rad med mellanslag som avgränsare. + +Slackpkg kan användas för att uppgradera hela distributionen. +.br +Det vanligaste sättet är att göra: + +.in +5 +# slackpkg update +.br +# slackpkg install\-new +.br +# slackpkg upgrade\-all +.br +# slackpkg clean\-system +.in + +En annan funktion i Slackpkg är möjligheten att arbeta med mallar, vilket +kan göra det mycket enklare att skapa olika maskiner med samma innehåll av +paket. De grundläggande stegen är följande: + +.RS +5 +.IP \(bu 2 +Installera en maskin +.IP \(bu 2 +Kör "slackpkg generate\-template MALLNAM" +.IP \(bu 2 +Kopiera /etc/slackpkg/templates/MALLNAM.template till samma katalog på den +andra maskinen +.IP \(bu 2 +Kör "slackpkg install\-template MALLNAMN" på den andra maskinen +.RE + +\fIMALLNAMN\fP är namnet på din mall. + +I denna manualsida kan du hitta vad var och en av dessa (och andra) åtgärder +gör. + +.SH ÅTGÄRDER +.TP 5 +\fBhelp\fP +.br +Visa slackpkg åtgärder och en kort beskrivning av dem. Användbart om du +behöver veta lite om slackpkg. Informationen här på manualsidan är mycket +mer komplett. + +.TP 5 +\fBupdate\fP +.br +Update kommer att ladda ner den senaste paketlistor från en Slackware spegel +(eller CD). Det är en bra idé att köra + +.in +5 +# slackpkg update +.in + +innan du försöker uppgradera, installera, eller söka efter paket. +.br +Om du behöver uppdatera Slackware's GPG\-nyckel, kör + +.in +5 +# slackpkg update gpg +.in + +Den GPG\-nyckeln ändras inte. Detta bör vara en "en gångs" kommando \- kör det +en gång och glömm det... + +.TP 5 +\fBcheck\-updates\fP +.br +Kontrollera om det finns någon uppdatering till ChangeLog.txt. Detta är bra +för att användas från cron att uppmärksamma sysadmin om uppdateringar. + +.TP 5 +\fBfile\-search\fP +.br +Du kan söka de officiella Slackwarepaket för någon fil i Slackware +distributionen. Behöver du ett konstigt bibliotek? Använd file\-search för +att hitta den. + +.in +5 +# slackpkg file\-search filnamn +.in + +Alla paket med matchande "filnamn" visas, så du kan se om paketen är +installerade eller inte; om inte, kan du hämta och installera dem med andra +slackpkg åtgärder. + +.TP 5 +\fBsearch\fP +.br +Du kan söka efter alla paket som distribueras i Slackware. + +.in +5 +# slackpkg search mönster +.in + +Alla paketnamn som matchar "mönster" kommer att visas. Som fil\-sökning kan +du se om paketen är installerade eller inte; om inte, kan du ladda ner och +installera dem med andra slackpkg åtgärder. + +.TP 5 +\fBinstall\fP +.br +Installation av ett paket är mycket enkel. Du behöver bara skriva: + +.in +5 +# slackpkg install paket +.in + +och paketet kommer att laddas ner och installeras. +.br +Du kan inte använda "install" för att installera ett redan installerat +paket, men du kan installera om eller uppgradera den. + +.TP 5 +\fBupgrade\fP +.br +upgrade installerar den senaste officiella versionen av de angivna +paket(en). + +upgrade kommer inte att försöka installera nya paket (använd +installationsfunktionen för detta ändamål, de senaste officiella versionen +av paketet kommer att installeras). +.TP 5 +\fBreinstall\fP +.br +Om du av misstag skadar någonting kommer reinstall alternativet göra att du +kan installera om samma version av ett paket som är installerat. + +.TP 5 +\fBremove\fP +.br +Med remove, kan du ta bort vissa installerade paket. Som ett exempel: + +.in +5 +# slackpkg remove kde +.in + +kommer att ta bort alla paket med "kde" i sitt namn. + +.TP 5 +\fBblacklist\fP +.br +Med den här åtgärden kan du "svartlista" vissa paket. +.br +Svartlistade paket kommer inte att installeras, uppgraderas, eller tas bort +av slackpkg. Om du vill ta bort vissa paket från svartlistan, vänligen +redigera /etc/slackpkg/blacklist. + +.TP 5 +\fBdownload\fP +.br +Denna åtgärd talar om för slackpkg att hämta paketen, men inte att +installera dem. De kommer att placeras i /var/cache/packages, och du kan +installera/uppgradera/installerar om dem senare (eller bränna dem till CD). + +.TP 5 +\fBinfo\fP +.br +Denna åtgärd skriver ut information om paket(en): komprimerade och +okomprimerade storlek, beskrivning, med mera... + +.TP 5 +\fBclean\-system\fP +.br +Den här åtgärden tar bort alla paket som inte hör till en standard Slackware +installation. Med det här alternativet kan du rensa upp ditt system, ta bort +tredjepartspaket samt alla paket som togs bort från den officiella Slackware +uppsättning. +.br +Om du har någon tredjeparts (eller egenbyggda) paket som du vill behålla kan +du tillfälligt lägga till dem i listan över svartlistade paket innan du kör +"clean\-system". + +.TP 5 +\fBupgrade\-all\fP +.br +Denna åtgärd uppgraderar varje paket som är installerade på systemet till +versionen i det officiella Slackware trädet; detta är det "goda" sättet att +uppgradera hela systemet. +.br +Kom ihåg att använda "install\-new" åtgärden innan du använder "upgrade\-all." + +.TP 5 +\fBinstall\-new\fP +Denna åtgärd installerar alla nya paket som läggs till den officiella +Slackware paket uppsättning. Kör detta om du uppgraderar ditt system till en +annan Slackware version eller om du använder \-current. +.br +Om du vill installera alla avinstallerade Slackwarepaket till dit system, +använd följande kommando i stället för install\-new åtgärden: + +.in +5 +# slackpkg install slackware. +.in +.TP 5 +\fBnew\-config\fP +Denna åtgärd söker efter .new konfigurationsfiler och fråga användaren vad +man ska göra med dessa filer. +.br +new\-config är mycket användbart när du utför en uppgradering och lämna +konfigurationsfilerna för granskning senare. I stället för en manuell +sökning, diff, och ersätt; Kan du använda new\-config åtgärden. +.TP 5 +\fBgenerate\-template\fP +Denna åtgärd skapar en ny mall med alla officiella paket som är installerade +i ditt system. Mallen lagras i /etc/slackpkg/templates +.TP 5 +\fBinstall\-template\fP +Denna åtgärd installerar önskad mall i systemet. Mallen måste vara i +/etc/slackpkg/templates. Om mallen "inkluderar" andra mallar, behöver alla +dessa vara i /etc/slackpkg/templates. Du kan stänga av "inkludera" i +slackpkg.conf eller via kommandoraden. +.TP 5 +\fBremove\-template\fP +Denna åtgärd tar bort alla paket som ingår i vald mall. Var försiktig, detta +kan detta sätta maskinen i ett oanvändbart tillstånd. "inkludera" hantering +kan aktiveras/avaktiveras i slackpkg.conf eller med lämpligt alternativ via +kommandoraden. + +.SH FILER +.TP 5 +\fB/etc/slackpkg/mirrors \fP +Fil för att ange platsen för att ladda ner paket från +.TP 5 +\fB/etc/slackpkg/slackpkg.conf \fP +Allmänn konfiguration av slackpkg +.TP 5 +\fB/etc/slackpkg/blacklist\fP +Lista över paket att hoppa över +.TP 5 +\fB/etc/slackpkg/templates\fP +Innehåller alla mallfiler +.TP 5 +\fB/usr/libexec/slackpkg\fP +Innehåller slackpkg kärnan och ytterligare funktioner +.TP 5 +\fB/var/lib/slackpkg\fP +Slackpkg internt bruk \- formaterade paketlistor, kopia av ChangeLog.txt, +lista över filer, med mera... + +.SH "SE OCKSÅ" +\fBslackpkg.conf\fP(5), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), \fBexplodepkg\fP(8), +\fBmakepkg\fP(8), \fBpkgtool\fP(8). + +.SH FÖRFATTARE +.TP 5 +Piter PUNK även kallad Roberto F Batista +<piterpk AT terra DOT com DOT br> +.TP 5 +Evaldo Gardenali även kallad UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/manpages-l10n/sv.slackpkg.conf b/manpages-l10n/sv.slackpkg.conf new file mode 100644 index 0000000..a4f31ce --- /dev/null +++ b/manpages-l10n/sv.slackpkg.conf @@ -0,0 +1,286 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG.CONF 5 "May 2010" slackpkg\-2.81.1 "" +.SH NAMN +\fBslackpkg.conf\fP \- Konfigurations data för slackpkg + +.SH BESKRIVNING + +Filen slackpkg.conf innehåller information om \fBslackpkg\fP (8), ett +automatiserat verktyg för hantering av Slackware Linux\-paket. + +Filen slackpkg.conf är en sekvens av skalskriptsvariabler, och varje +variabel styr en aspekt av slackpkg. Kommentarer börjar med tecknet # och +avslutas i slutet av raden, och kommentarer kan visas var som helst inne i +slackpkg.conf filen. Om någon variabel förekommer mer än en gång i filen +kommer slackpkg använda värdet som definierades sist. + +Många variabler kan åsidosättas av flaggor som skickas till slackpkg på +kommandoraden. Om du behöver åsidosätta värdet på \fBVARIABEL\fP, ange +\fB\-variable=värde\fP på kommandoraden strax före slackpkg åtgärden. Flera +variabler kan åsidosättas. + +EXEMPEL: slackpkg \-batch=on \-default_answer=y upgrade\-all + +För konfigurationsalternativ som bara har två alternativ, är möjliga värden +antingen "on" eller "off" om inte annat anges. + +De olika konfigurationsalternativ: + +.TP 5 +\fBARCH\fP +.br +Välj systemarkitektur. Vanligtvis kan Slackpkg hitta rätt värde med hjälp av +"uname \-m". Giltiga värden är: + +.ds title MASKIN\t\GILTIG ARCH VÄRDE +.ds arm ARM\t\t\tarm +.ds x86 x86 (32bits)\ti386, i486, i586 och i686 +.ds x86_64 x86 (64bitars)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +\fB\*[titel]\fP +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +Standardvärdet för \fBARCH\fP beror på din arkitektur. + +.TP 5 +\fBSLACKKEY\fP +.br +Slackpkg kontrollerar paketsignatur filen (.asc) mot GPG tecknandet av +projektet. Olika ports av Slackware kan ha olika signaturer och Slackpkg +försöker hitta den rätta baserad på arkitekturen i ditt system. Om +automatiskt detektering av \fBSLACKKEY\fP inte är korrekt, kan du ändra den +genom att använda det här alternativet. + +Standardvärdet för \fBSLACKKEY\fP beror på din Slackware port. + +.TP 5 +\fBTEMP\fP +.br +Definierar den plats som slackpkg hämtar paketen innan du +installerar/uppgradera dem. + +Standardvärdet för \fBTEMP\fP är /var/cache/packages. + +.TP 5 +\fBWORKDIR\fP +.br +Definierar katalogen för paketlistor, fillistor, och annan information som +används av slackpkg då den arbetar. Ändra inte värdet på denna variabel om +du inte vet vad du gör. + +Standardvärdet för \fBWORKDIR\fP är /var/lib/slackpkg. + +.TP 5 +\fBWGETFLAGS\fP +.br +Väljer speciella alternativ för wget. Om du behöver använda flera +alternativ, kom ihåg att ange dem mellan dubbla citationstecken. + +Standardvärdet för \fBWGETFLAGS\fP är "\-\-passive\-ftp" + +.TP 5 +\fBDELALL\fP +.br +Om satt till "on", kommer alla nedladdade filer tas bort efter slackpkg +utför installation eller uppgradering (detta har INTE någon inverkan när +slackpkg körs med "download"). Om satt till "off", kommer filerna att hållas +i katalogen som anges i \fBTEMP\fP (som beskrivet ovan). + +Standardvärdet för \fBDELALL\fP är "on". +.br +Från kommandoraden kan du använda \-delall=värde. + +.TP 5 +\fBCHECKMD5\fP +.br +Aktiverar (on) eller inaktiverar (off) kontroll av MD5\-kontrollsummor för +alla nedladdade paketen innan de installeras eller uppgraderas. + +Standardvärdet för \fBCHECKMD5\fP är "on". +.br +Från kommandoraden kan du använda \-checkmd5=värde. + +.TP 5 +\fBCHECKGPG\fP +.br +Aktiverar (on) eller inaktiverar (off) kontrollen av GPG signatur för varje +paket innan installation eller uppgradering. + +Standardvärdet för \fBCHECKGPG\fP är "on". +.br +Från kommandoraden kan du använda \-checkgpg=värde. + +.TP 5 +\fBCHECKSIZE\fP +.br +Aktiverar (on) eller inaktiverar (off) kontrollen av ledigt hårddiskutrymme +för varje paket innan installation eller uppgradering. + +Standardvärdet för \fBCHECKSIZE\fP är "off". +.br +Från kommandoraden kan du använda \-checksize=värde. + +.TP 5 +\fBPKGMAIN\fP +.br +Definierar den huvudsakliga distributionskatalogen. Vanligtvis behöver du +inte oroa dig för denna variabel, eftersom Slackpkg försöker hitta det +baserat på din arkitektur. Men om du behöver ändra det, inkludera denna +variabel i din slackpkg.conf. Detta bör alltid vara den katalog som +innehåller Slackware paket som serie (A, AP, D, E, F, ...). + +Standard: beror på Slackware port + +.TP 5 +\fBPRIORITY\fP +.br +Denna uppsättning väljer prioritet på vilka kataloger på spegeln kommer att +ha när slackpkg tittar efter paket. Om ett paket finns på mer än ett ställe, +paketet i första katalogen får prioritet, sedan andra, sedan tredje, sedan +fjärde och slutligen paket finns i sista listade katalog. Du kan använda +%PKGMAIN för att använda innehållet i PKGMAIN variabel. + +Standardvärden (i ordning): patches %PKGMAIN extra pasture testing + +.TP 5 +\fBPOSTINST\fP +.br +Aktiverar (on) eller inaktiverar (off) slackpkg post\-installationsfunktioner +, till exempel söker efter nya (*.new) konfigurationsfiler och nya kärn +avbilder och frågar efter vad den skall göra. + +Standardvärdet för \fBPOSTINST\fP är "on". +.br +Från kommandoraden kan du använda \-postinst=värde. + +.TP 5 +\fBONLY_NEW_DOTNEW\fP +.br +När \fBPOSTINST\fP är inställt på "on", kommer slackpkg söka efter alla .new +filerna i /etc och fråga användaren om vad man ska göra med dem. Men vissa +användare föredrar att titta på .new filer som installerats i slackpkg sista +exekvering, så om detta gäller dig, ange \fBONLY_NEW_DOTNEW\fP till "on". + +Standardvärdet för \fBONLY_NEW_DOTNEW\fP är "off". Ändra endast detta om du vet +vad du gör... +.br +Från kommandoraden kan du använda \-only_new_dotnew=värde. + +.TP 5 +\fBONOFF\fP +.br +\fBONOFF\fP variabel anger det initiala beteendet av dialog gränssnittet. Om du +anger detta som "on" så kommer alla paket väljs som standard. Om du föredrar +det motsatta alternativet (alla avmarkerat), sätt den som "off". + +Standardvärdet för \fBONOFF\fP är "on". +.br +Från kommandoraden kan du använda \-onoff=värde. + +.TP 5 +\fBDOWNLOAD_ALL\fP +.br +Om den här variabeln är satt till "on", kommer alla filer att laddas ner +innan den begärda åtgärden (installera eller uppgradera) utförs. Om satt +till "off", så kommer filerna laddas ner och operationen +(installera/uppgradera) utföres en efter en. + +Standardvärdet för \fBDOWNLOAD_ALL\fP är "off". +.br +Från kommandoraden kan du använda \-download_all=värde. + +.TP 5 +\fBDIALOG\fP +.br +Aktiverar (on) eller inaktiverar (off) dialog gränssnittet. + +Standardvärdet för \fBDIALOG\fP är "on". +.br +Från kommandoraden kan du använda \-dialog=värde. + +.TP 5 +\fBDIALOG_MAXARGS\fP +.br +Ställ in max antal tecken som kommer att skickas till "dialog". Om detta +antal nås i uppgradera, tar slackpkg bort information om aktuella +installerade versionen av varje paket. Även utan denna information, nås +numret igen returnerar slackpkg ett fel till användaren. + +Om \fBDIALOG_MAXARGS\fP inte är satt, är 19500 standardvärdet. +.br +Från kommandoraden kan du använda \-dialog_maxargs=värde. + +.TP 5 +\fBBATCH\fP +.br +Aktiverar (on) eller inaktiverar (off) den icke\-interaktiva läget. När det +körs i batch\-läge, kommer slackpkg inte fråga användaren efter något; +istället kommer alla frågor att få \fBDEFAULT_ANSWER\fP (se nedan). +.br +Om du utför en uppgradering genom detta läge, måste du köra "slackpkg +new\-config" senare för att hitta och slå samman .new filer. + +Standardvärdet för \fBBATCH\fP är "off". +.br +Från kommandoraden kan du använda \-batch=värde. + +.TP 5 +\fBDEFAULT_ANSWER\fP +.br +Detta är standardsvaret på frågor när slackpkg frågar användaren efter viss +information. Detta används endast i icke\-interaktivt läge (när \fBBATCH\fP är +"yes" eller användaren slår till batchläge via kommandoraden); annars har +denna variabel ingen effekt. +.br +Giltiga värden är "y" eller "n". + +Standardvärdet för \fBDEFAULT_ANSWER\fP är "n". +.br +Från kommandoraden kan du använda \-default_answer=värde. + +.TP 5 +\fBUSE_INCLUDES\fP +.br +Slackpkg mallar kan inkludera andra mallar. Detta minskar paket dubblering i +många mallar, men det detta kan vara ett problem om du vill ta bort endast +en specifik mall. Du kan inaktivera #include tolkning genom att sätta detta +alternativ till "off". + +Standardvärdet för \fBUSE_INCLUDES\fP är "on". +.br +Från kommandoraden kan du använda \-use_includes=värde. + +.TP 5 +\fBSPINNING\fP +.br +När Slackpkg gör en aktivitet som tar tid, ger den visuell återkoppling med +en snurrande indikator. Om du inte gillar den snurrande indikatorn, kan den +inaktiveras genom att sätta detta alternativ till "off". + +Standardvärdet för \fBSPINNING\fP är "on". +.br +Från kommandoraden kan du använda \-spinning=värde. + +.SH FILER +.TP 5 +\fB/etc/slackpkg/slacpkg.conf\fP + +.SH "SE OCKSÅ" +\fBslackpkg\fP(8) \fBpkgtool\fP(8) \fBinstallpkg\fP(8) \fBupgradepkg\fP(8) +\fBremovepkg\fP(8) diff --git a/manpages-l10n/tr.slackpkg b/manpages-l10n/tr.slackpkg new file mode 100644 index 0000000..29cee71 --- /dev/null +++ b/manpages-l10n/tr.slackpkg @@ -0,0 +1,322 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG 8 "Mayıs 2010" slackpkg\-2.81.1 "" +.SH İSİM +\fBslackpkg\fP \- Slackware Linux paketlerini yönetmek için otomatik bir araç + +.SH ÖZET +\fBslackpkg\fP \fB[SEÇİMLER]\fP +\fB{install|remove|search|upgrade|reinstall|blacklist}\fP +\fB{\fP\fIKALIP\fP\fB|\fP\fIDOSYA\fP\fB}\fP + +\fBslackpkg [SEÇİMLER] {clean\-system|upgrade\-all|install\-new}\fP + +\fBslackpkg\fP \fB[SEÇİMLER]\fP \fB{search|file\-search}\fP +\fB{\fP\fIKALIP\fP\fB|\fP\fIDOSYA\fP\fB}\fP + +\fBslackpkg\fP \fB[SEÇİMLER]\fP +\fB{generate\-template|install\-template|remove\-template}\fP \fIŞABLONADI\fP + +\fBslackpkg [SEÇİMLER] info\fP \fIPAKET\fP + +\fBslackpkg [SEÇİMLER] update [gpg]\fP + +\fBslackpkg [SEÇİMLER] {new\-config|check\-updates}\fP + +\fBslackpkg [SEÇİMLER] help\fP + +.SH AÇIKLAMA +Slackpkg ağ üzerinden paketleri kolayca yüklemek veya yükseltmek isteyenler +için bir araçtır. Slackpkg ile, minimum Slackware Linux kurulumu +yükleyebilir ve sadece ihtiyacınız olan paketleri kurup +güncelleyebilirsiniz. + +Tüm bilgisayarlarınız için NFS kurmanıza ya da bir sürü CD yapmanıza gerek +yoktur; tek ihtiyacınız olan bir komut yazmaktır ve tüm resmi Slackware +paketleri parmağınızın ucunda olacaktır. + +.SH YÖNERGELER +Slackpkg bir çok özelliğe sahiptir. Belirli dosyaları aramak, sisteminizdeki +üçüncü parti yazılımları kaldırmak, son güncellemeden eklenen paketleri +kurmak, paket açıklamalarını görüntülemek vb. + +Birşey yapmadan önce /etc/slackpkg/mirrors dosyasından bir yansının yorum +başlığını kaldırın ve şunu çalıştırın: + +.in +5 +# slackpkg update +.in + +"update" eylemi ile Slackware dosyaları ve paketlerinin listesi indirilir ve +şekillendirilir. Bu liste her değiştiğinde, güncelleme gerekir. + +Slackpkg'nin doğrudan paket yönetimi ile ilgili olan temel özellikleri: +yüklemek, yükseltmek ve paketleri kaldırmak. Bu görevlerden birini yapmak +için Slackpkg sözdizimi: + +.in +5 +# slackpkg [SEÇİMLER] <action> {KALIP|DOSYA} +.in + +\fIOPTIONS\fP /etc/slackpkg/slackpkg.conf içinde listelenenlerden biri ya da +bir çoğu olabilir. slackpkg.conf içinde bulunan yapılandırma yönergelerinin +çoğu için eşdeğer komut satırı seçenekleri vardır \- hangi seçeneklerin +müsait olduğunu görmek için \fBslackpkg.conf(5)\fP kılavuz sayfasına bakınız. + +\fIKALIP\fP bir paket ismi ya da paket isminin bir bölümü olabilir. Ayrıca bir +yazılım serisi olabilir (kde, a, ap, ... gibi). +.br + +\fIDOSYA\fP bir dosyadı içinde \fIKALIPlar\fP listesi vardır: satır başına bir ya +da ayırıcı olarak boşluk kullanarak satır başına bir çok, + +Slackpkg tüm dağıtımı güncellemek için kullanılabilir. +.br +Bunun alışılmış yolu şudur: + +.in +5 +# slackpkg update +.br +# slackpkg install\-new +.br +# slackpkg upgrade\-all +.br +# slackpkg clean\-system +.in + +Slacpkg'nin başka bir özelliği şemalarla çalışabilmesidir, ki bu aynı paket +içeriği ile farklı makineler oluşturmayı çok kolaylaştırır. Temel adımlar +şunlardır: + +.RS +5 +.IP \(bu 2 +Bir makine kur +.IP \(bu 2 +"slackpkg generate\-template ŞABLONADI" çalıştır +.IP \(bu 2 +/etc/slackpkg/templates/TEMPLATENAME.template dosyasını diğer makinede aynı +dizine kopyala +.IP \(bu 2 +Diğer makinede "slackpkg install\-template ŞABLONADI" çalıştır +.RE + +\fITEMPLATENAME\fP Şablonunuzun ismidir. + +Bu kılavuz sayfasından sonra, buradaki (ve diğer) her bir eylemin ne +yaptığını bulabilirsiniz. + +.SH EYLEMLER +.TP 5 +\fBhelp\fP +.br +slackpkg'nin eylemlerini ve kısa tanımlarını gösterir. slackpkg hakkında +biraz bilgi almak istiyorsanız kullanışlıdır. Burada, kılavuz sayfasındaki +bilgi daha eksiksizdir. + +.TP 5 +\fBupdate\fP +.br +güncelleme Slackware yansısından (ya da CDnizden) en son paket listesini +indirecektir. Çalıştırmak iyi bir fikirdir + +.in +5 +# slackpkg update +.in + +yükseltmeye çalışmadan önce, paket kur ya da ara +.br +Eğer Slackware'in GPG anahtarını güncellemeniz gerekiyorsa, çalıştırın + +.in +5 +# slackpkg update gpg +.in + +GPG anahtarı değişmez. Bu "bir kereliğine" komut olmalı \- bir kez çalıştır +ve unut... + +.TP 5 +\fBcheck\-updates\fP +.br +ChangeLog.txt'de herhangi bir güncelleme olup olmadığını doğrulayın. Bu +sysadmin'i cron ile ikaz etmede kullanmak için iyidir. + +.TP 5 +\fBfile\-search\fP +.br +Slackware dağıtımı içinde herhangi bir Slacware paketi dosyasını +aratabilirsiniz. Olağan dışı bir kütüphane mi gerekiyor? Bulmak için +file\-search kullanın. + +.in +5 +# slackpkg file\-search dosyadı +.in + +Eşeleşn "dosyaismi"nde tüm paketler gösterilecektir, bu yolla paketin kurulu +olup olmadığını görebilirsiniz; eğer değilse diğer slackpkg eylemleriyle +bunları indirip kurabilirsiniz. + +.TP 5 +\fBsearch\fP +.br +Slackware ile birlikte gelen tüm paketler için arama yapabilirsiniz. + +.in +5 +# slackpkg search kalıp +.in + +"kalıp" ile eşleşen tüm paketler gösterilecektir. file\-search gibi +paketlerin kurulu olup olmadığını görebilirsiniz; eğer değilse diğer +slackpkg eylemleriyle bunları indirip kurabilirsiniz. + +.TP 5 +\fBinstall\fP +.br +Bir paketin kurulumu çok basittir. Sadece şunu yazmalısınız: + +.in +5 +# slackpkg install paket +.in + +ve paket indirilip kurulacaktır. +.br +Zaten yüklü bir paket için "install" seçeneğini kullanamazsınz, fakat onu +yeniden kurabilir ya da yükseltebilirsiniz. + +.TP 5 +\fBupgrade\fP +.br +upgrade belirli bir paket(ler)in en son resmi sürümünü kurar. + +upgrade yeni paketleri kurmaya çalışmayacaktır (bunun için install +fonksiyonunu kullanın; paketin en son resmi sürümü kurulacaktır). +.TP 5 +\fBreinstall\fP +.br +Bir şeyi yanlışlıkla bozmanız durumunda, reinstall seçeneği kurulu olan +paketle aynı sürümdeki paketi yeniden kurmanızı sağlayacaktır. + +.TP 5 +\fBremove\fP +.br +remove il, belirli kurulu paketleri kaldırabilirsiniz. Örneğin: + +.in +5 +# slackpkg remove kde +.in + +isminde "kde" olan tüm paketleri kaldıracaktır. + +.TP 5 +\fBblacklist\fP +.br +Bu eylemle, belirli paketlerden "karaliste" oluşturabilirsiniz. +.br +Karaliste paketleri slackpkg tarafından kurulmaz, yükseltilmez ya da +kaldırılmaz. Bazı paketleri kara listeden çıkartmak isterseniz lütfen +/etc/slackpkg/blacklist dosyasını düzenleyiniz. + +.TP 5 +\fBdownload\fP +.br +Bu eylem slackpkg'ye paketi indirmesini fakat kurmamasını +söyler. /var/cache/packages içine yerleştirilecektir ve sonra +kurabilir/yükseltebilir/yeniden kurabilirsiniz (ya da CD'ye yazabilirsiniz). + +.TP 5 +\fBinfo\fP +.br +Bu eylem paket(ler) hakkında bilgileri yazdırır: sıkıştırılmış ve açılmış +boyutu, tanım, vesaire... + +.TP 5 +\fBclean\-system\fP +.br +Bu eylem standart Slackware kurulumuna ait olmayan tüm paketleri +kaldırır. Bu seçenekle, sisteminizi temizlersiniz, üçüncü parti paketler ile +birlikte resmi Slackware paket kümesinden kaldırılan paketler de kaldırılır. +.br +Eğer saklamak istediğiniz bazı üçüncü parti (ya da özel inşa edilen) paket +varsa, 'clean\-system' eylemini çalıştırmadan önce onları geçici olarak +karaliste paketlerine ekleyebilirsiniz. + +.TP 5 +\fBupgrade\-all\fP +.br +Bu eylem sistemde kurulu tüm paketleri resmi Slackware ağacındaki sürüme +yükseltir; tüm sistemi yükseltmek için "iyi" bir yoldur. +.br +"upgrade\-all" eylemini kullanmadan önce "install\-new" i kullanmayı +unutmayın. + +.TP 5 +\fBinstall\-new\fP +Bu eylem resmi Slackware paket kümesine eklenmiş herhangi yeni bir paketi +kurar. Sisteminizi başka bir Slackware sürümüne yükseltiyorsanız ya da +\-current kullanıyorsanız bunu çalıştırın. +.br +Eğer kaldırılmış tüm Slackware paketlerini sisteminize kurmak istiyorsanız, +install\-new yerine şu komutu kullanın: + +.in +5 +# slackpkg install slackware. +.in +.TP 5 +\fBnew\-config\fP +Bu eylem yeni .new yapılandırma dosyaları arar ve kullanıcıya bu dosyalarla +ne yapılacağını sorar. +.br +new\-config yapılandırma dosyalarını sonradan gözden geçirecek şekilde +bırakan bir yükseltme işlemi yaptığınızda kullanışlıdır. Elle arama, diff ve +replace yerine; new\-config eylemini kullanabilirsiniz. +.TP 5 +\fBgenerate\-template\fP +Bu eylem sisteminizde yüklü tüm resmi paketlerden bir şablon +oluşturur. Şablon /etc/slackpkg/templates de saklanır. +.TP 5 +\fBinstall\-template\fP +Bu eylem sisteme gerekli şablonu kurar. Şablon /etc/slackpkg/templates +içinde olmalıdır. Eğer şablon "diğer" şablonları içeriyorsa, bunların hepsi +/etc/slackpkg/templates içinde olmalıdır. dahil etmeyi \-"includes"\- +slackpkg.conf içinde ya da komut satırında devre dışı bırakabilirsiniz. +.TP 5 +\fBremove\-template\fP +Bu eylem seçili şablonun parçası olan tüm paketleri kaldırır. Dikkatli olun, +bu işlem makinenizi kullanılmaz bir duruma sokabilir. Dahil etme \-"include"\- +yönetimi slackpkg.conf içinde ya da uygun komut seçeneği ile +aktifleştirilebilir/pasifleştirilebilir. + +.SH DOSYALAR +.TP 5 +\fB/etc/slackpkg/mirrors \fP +İndirilecek paketlerin yerini belirten dosya +.TP 5 +\fB/etc/slackpkg/slackpkg.conf \fP +Genel slakpkg yapılandırması +.TP 5 +\fB/etc/slackpkg/blacklist\fP +Yok sayılacak paketler listesi +.TP 5 +\fB/etc/slackpkg/templates\fP +Tüm şablon dosyalarını içerir +.TP 5 +\fB/usr/libexec/slackpkg\fP +slackpkg özü ve ek fonksiyonlar içerir +.TP 5 +\fB/var/lib/slackpkg\fP +Slackpkg dahili kullanım \- Biçimlendirilmiş paket listesi, ChangeLog.txt +kopyası, dosya listesi, vesaire... + +.SH "AYRICA BAKINIZ" +\fBslackpkg.conf\fP(5), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), \fBexplodepkg\fP(8), +\fBmakepkg\fP(8), \fBpkgtool\fP(8). + +.SH YAZARLAR +.TP 5 +Piter PUNK ayrıca bilinir Roberto F Batista +<piterpk AT terra DOT com DOT br> +.TP 5 +Evaldo Gardenali ayrıca bilinir UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/manpages-l10n/tr.slackpkg.conf b/manpages-l10n/tr.slackpkg.conf new file mode 100644 index 0000000..bc8b958 --- /dev/null +++ b/manpages-l10n/tr.slackpkg.conf @@ -0,0 +1,289 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG.CONF 5 "Mayıs 2010" slackpkg\-2.81.1 "" +.SH İSİM +\fBslackpkg.conf\fP \- Slackpkg için yapılandırma verisi + +.SH AÇIKLAMA + +slackpkg.conf dosyası, Slackware Linux paketlerini yönetmek için +otomatikleştirme aracı olan \fBslackpkg\fP (8) için bilgiler içerir. + +slackpkg.conf kabuk betiği değişkenleri düzenidir, ve her değişken +slackpkg'nin bir yönünü kontrol eder. Yorumlar # karakteri ile başlar ve +satır sonunda biter, ve yorumlar slackpkg.conf içinde herhangi bir yerde +bulunabilir. Eğer bazı değişkenler dosyada birden fazla ortaya çıkarsa, +slackpkg son tanımlanan değişkeni kullanacaktır. + +Pek çok değişken komut satırında slackpkg'ye seçenek verilerek geçersiz +kılınabilir. Eğer \fBDEĞİŞKEN\fP değerini geçersiz kılmak istiyorsanız, komut +satırında slackpkg eyleminden hemen önce \fB\-değişken=değer\fP kullanın. Çoklu +değişkenler geçersiz kılınabilir. + +ÖRNEK: slackpkg \-batch=on \-default_answer=y upgrade\-all + +Sadece iki durumu olan, aksi belirtilmedikçe muhtemelen değeri "on" ya da +"off" olan, yapılandırma seçenekleri içindir. + +Farklı yapılandırma seçenekleri: + +.TP 5 +\fBARCH\fP +.br +Sistem mimarisini seçiniz. Genellikle Slacpkg "uname\-m" kullanarak doğru +değeri bulabilir. Geçerli değerler şunlardır: + +.ds title MAKİNA\t\tGEÇERLİ MİMARİ DEĞERLERİ +.ds arm ARM\t\t\tarm +.ds x86 x86 (32bits)\ti386, i486, i586 ve i686 +.ds x86_64 x86 (64bits)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +\fB\*[title]\fP +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +\fBARCH\fP varsayılan değeri makinenizin mimarisine bağlıdır. + +.TP 5 +\fBSLACKKEY\fP +.br +Slackpkg paket imza dosyasını (.asc) projenin GPG imzasına karşı +denetler. Slackware'in farklı portları farklı imzalara sahip olabilir, ve +Slackware sisteminizin mimarisine bağlı olarak doğru olanı bulmaya +çalışır. Eğer otomatik\-algılanan \fBSLACKKEY\fP doğru değilse, bu seçenekle +bunu değiştirebilirsiniz. + +\fBSLACKKEY\fP varsayılan değeri Slackware portunuza bağlıdır. + +.TP 5 +\fBTEMP\fP +.br +slacpkg'nin paketleri /kurmadan/yükseltmeden önce indireceği yeri tanımlar. + +\fBTEMP\fP varsayılan değeri /var/cache/packages dir. + +.TP 5 +\fBWORKDIR\fP +.br +Paket listeleri, dosya listeleri ve slackpkg tarafından kullanılan, +çalıştığı, diğer bilgiler için dizin tanımlar. Ne yaptığınızı bilmiyorsanız +bu değerleri değiştirmeyiniz. + +\fBWORKDIR\fP varsayılan değeri /var/lib/slackpkg dir. + +.TP 5 +\fBWGETFLAGS\fP +.br +wget için öözel seçenekler seçer. Eğer çoklu seçenekler kullanmanız +gerekiyorsa, bunları çift tırnak içine yazmayı unutmayın. + +\fBWGETFLAGS\fP vasyılan değeri "\-\-passive\-ftp" dir + +.TP 5 +\fBDELALL\fP +.br +Eğer "on" olarak ayarlanmışsa, slackpkg kurma ya da yükseltme eyleminden +sonra tüm indirilen dosyalar silinir (slackpkg "download" ile +çalıştırıldığında bunun hiç bir etkisi YOKTUR). Eğer "off" olarak +ayarlanmışsa, dosyalar \fBTEMP\fP içinde tanımlı dizinde saklanacaktır +(yukarıda belirtildiği gibi). + +\fBDELALL\fP varsayılan değeri "on" dir. +.br +Komut satırından, \-dalall=value kullanabilirsiniz. + +.TP 5 +\fBCHECKMD5\fP +.br +Tüm paketlerin kurulumundan ya da yükseltilmesinden önce MD5 chacksum +denetimini etkinleştirir (on) ya da pasifleştirir(off). + +\fBCHECKMD5\fP varsayılan değeri "on" dir. +.br +Komut satırından, checkmd5=value kullanabilirsiniz. + +.TP 5 +\fBCHECKGPG\fP +.br +Her bir paket kurulumu ya da yükseltilmesi öncesi GPG imza denetimini +etkinleştirir (on) ya da pasifleştirir (off). + +\fBCHECKGPG\fP varsayılan değeri "on" dir. +.br +Komut satırından, \-checkgpg=value kullanabilirsiniz. + +.TP 5 +\fBCHECKSIZE\fP +.br +Her paket kurulumu ya da yükseltmesinden önce müsait disk alanı denetimini +etkinleştirir (on) ya da pasifleştirir (off). + +\fBCHECKSIZE\fP varsayılan değeri "off" dir. +.br +Komut satırından, \-checksize=value kullanabilirsiniz. + +.TP 5 +\fBPKGMAIN\fP +.br +Ana dağıtım dizinin tanımlar. Genellikle bu seçenekle ilgili endişelenmenize +gerek yoktur, çünkü Slackpkg mimarinize bağlı olarak bunu bulmaya +çalışır. Bununla birlikte, bunu değiştirmeniz gerekliyse, bunu slackpkg.conf +dosyasına dahil edin. Bu her zaman Slackware paket serilerini (A, AP, D, E, +F, ...) içeren dizindir. + +Varsayılan: Slackware portunuza bağlıdır + +.TP 5 +\fBPRIORITY\fP +.br +Bu dizi slackpkg paket aradığında yansıdaki hangi dizinlerin öncelikli +olduğunu seçer. Eğer paket birden fazla yerde bulunduysa, ilk dizindeki +paket önceliği alır, sonra ikinci, üçüncü, dördüncü ve son olarak son +listelenen dizin içindeki paket. PKGMAIN değişkeni içeriğini kullanmak için +%PKGMAIN kullanabilirsiniz. + +Varsayılan değerler (sıralı): patches %PKGMAIN extra pasture testing + +.TP 5 +\fBPOSTINST\fP +.br +slackpkg'nin, yeni (*.new) yapılandırma dosyaları ve çekirdek kalıpları +denetimi gibi, kurulum sonrası özelliklerini etkinleştirir (on) ya da +pasifleştirir (off), ve ne yapması gerektiğini bildirir. + + \fBPOSTINST\fP varsayılan değeri "on" dir. +.br +Komut satırından, \-postinst=value kullanabilirsiniz. + +.TP 5 +\fBONLY_NEW_DOTNEW\fP +.br +\fBPOSTINST\fP "on" olarak ayarlandığında, slackpkg /etc içindeki tüm .new +dosyalarını arayacaktır ve kullanıcıya bunlarla ne yapılacağını +bildirecektir. Bununla birlikte, bazı kullanıcılar sadece slackpkg'nin son +çalıştırılmasında kurulan .new dosyalarını görmeyi tercih eder, sizin için +de öyleyse, \fBONLY_NEW_DOTNEW\fP i "on" yapınız. + +\fBONLY_NEW_DOTNEW\fP varsayılan değeri "off" dir. Sadece ne yaptığınızı +biliyorsanız bunu değiştirin... +.br +Komut satırından, \-only_new_dotnew=value kullanabilirsiniz. + +.TP 5 +\fBONOFF\fP +.br +\fBONOFF\fP değişkeni dialog arayüzünün ilk davranışını ayarlar. Eğer bunu "on" +olarak ayarlarsanız tüm paketler varsayılan olarak seçilir. Eğer karşıt +seçeneği tercih ederseniz (tümü seçilmemiş), öyleyse bunu "off" olarak +ayarlayın. + +\fBONOFF\fP varsayılan değeri "on" dir. +.br +Komut satırından, \-onoff=value kullanabilirsiniz. + +.TP 5 +\fBDOWNLOAD_ALL\fP +.br +Eğer değişken "on" olarak ayarlandıysa, istenen işlem (kurulum ya da +yükseltme) gerçekleştirilmeden önce tüm dosyalar indirilecektir. Eğer "off" +olarak ayarlandıysa dosya indirme ve işlemi gerçekleştirme birer birer +yapılır. + +\fBDOWNLOAD_ALL\fP varsayılan değeri "off" dir. +.br +Komut satırından, \-download_all=value kullanabilirsiniz. + +.TP 5 +\fBDIALOG\fP +.br +Dialog arayüzünü etkinleştirir (on) ya da pasifleştirir (off). + +\fBDIALOG\fP varsayılan değeri "on" dir. +.br +Komut satırından, \-dialog=value kullanabilirsiniz. + +.TP 5 +\fBDIALOG_MAXARGS\fP +.br +"dialog" a gönderilecek en büyük karakter sayısını ayarlayın. Eğer bu sayıya +yükseltme sırasında ulaşılrsa, slackpkg her bir paketin o anki kurulu sürümü +hakkındaki bilgileri kaldıracaktır. Eğer bu bilgi olmadan bu rakama yine +ulaşıldıysa, slacpkg kullanıcıya bir hata döndürür. + +\fBDIALOG_MAXARGS\fP ayarlanmamışsa, 19500 varsayılan değeridir. +.br +Komut satırından, \-dialog_maxargs=value kullanabilirsiniz. + +.TP 5 +\fBBATCH\fP +.br +Etkileşimli\-olmayan modu etkinleştirir (on) ya da pasifleştirir. batch +modunda çalıştırıldığında, slackpkg kullanıcıyı hiç bir şekilde +bilgilendirmeyecektir; bunun yerine, tüm sorular \fBDEFAULT_ANSWER\fP değerini +alacaktır (aşağıya bakınız). +.br +Bu modu kullanarak bir yükseltme yaparsanız, daha sonra .new dosyaları +bulmak ve kaynaştırmak için "slackpkg new\-config" çalıştırmanız gerekir. + +\fBBATCH\fP varsayılan değeri "off" dir. +.br +Komut satırından, \-batch=value kullanabilirsiniz. + +.TP 5 +\fBDEFAULT_ANSWER\fP +.br +Bu, slackpkg kullanıcıya bir soru gönderdiğinde verilen varsayılan +cevaptır. Bu sadece etkileşimli\-olmayan mod içinde (\fBBATCH\fP "yes" iken ya +da kullanıcı komut satırından batch modunu açtığında) kullanılır; diğer +durumda bu değişkenin etkisi yoktur. +.br +Geçerli değerler "y" ve "n" dir. + +\fBDEFAULT_ANSWER\fP varsayılan değeri "n" dir. +.br +Komut satırından, \-default_answer=value kullanabilirsiniz. + +.TP 5 +\fBUSE_INCLUDES\fP +.br +Slackpkg şablonları diğer şablonları içerebilir. Bu bir çok şablonda paket +tekrarını düşürür, fakat eğer sadece belirli bir şablonu kaldırmak +isterseniz problem olur. Bu seçeneği "off" yaparak dahil etme \-#include\- +ayrıştırmasını devreden çıkarabilirsiniz. + +\fBUSE_INCLUDES\fP varsayılan değeri "on" dir. +.br +Komut satırından, \-use_includes=value kullanabilirsiniz. + +.TP 5 +\fBSPINNING\fP +.br +Slackpkg zaman alan bir eylem yaptığında, dönen çubuk ile görsel bir +geribesleme verir. Eğer dönen çubukları sevmiyorsanız bu seçeneği "off" +yaparak pasifleştirebilirsiniz. + +\fBSPINNING\fP varsayılan değeri "on" dir. +.br +Komut satırından, \-spinning=value kullanabilirsiniz. + +.SH DOSYALAR +.TP 5 +\fB/etc/slackpkg/slacpkg.conf\fP + +.SH "AYRICA BAKINIZ" +\fBslackpkg\fP(8) \fBpkgtool\fP(8) \fBinstallpkg\fP(8) \fBupgradepkg\fP(8) +\fBremovepkg\fP(8) diff --git a/manpages-l10n/uk.slackpkg b/manpages-l10n/uk.slackpkg new file mode 100644 index 0000000..1d03e0e --- /dev/null +++ b/manpages-l10n/uk.slackpkg @@ -0,0 +1,331 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG 8 "Травень 2010" slackpkg\-2.81.1 "" +.SH ІМ'Я +\fBslackpkg\fP \- Інструмент для керування пакунками Slackware Linux + +.SH "КОРОТКИЙ ОГЛЯД" +\fBslackpkg\fP \fB[ПАРАМЕТРИ]\fP +\fB{інсталяція|вилучення|пошук|оновлення|перевстановлення|чорний список}\fP +\fB{\fP\fIШАБЛОН\fP\fB|\fP\fIФАЙЛ\fP\fB}\fP + +\fBslackpkg [ПАРАМЕТРИ] {очищення\-системи|усі\-оновлення|нова\-інсталяція}\fP + +\fBslackpkg\fP \fB[ПАРАМЕТРИ]\fP \fB{пошук|пошук\-файлу}\fP +\fB{\fP\fIШАБЛОН\fP\fB|\fP\fIФАЙЛ\fP\fB}\fP + +\fBslackpkg\fP \fB[ПАРАМЕТРИ]\fP +\fB{ґенерувати\-шаблон|встановити\-шаблон|вилучити\-шаблон}\fP \fIІМ'Я_ШАБЛОНУ\fP + +\fBslackpkg [ПАРАМЕТРИ] інфо\fP \fIПАКУНОК\fP + +\fBslackpkg [ПАРАМЕТРИ] оновлення [gpg]\fP + +\fBslackpkg [ПАРАМЕТРИ] {нова\-конфіґурація|реєстрація\-оновлення}\fP + +\fBslackpkg [ПАРАМЕТРИ] довідка\fP + +.SH ОПИС +Slackpkg це інструмент для тих, кому потрібно встановити або оновити пакунки +через мережу без зайвих складнощів. З slackpkg ви можете маючи Slackware у +мінімальній інсталяції встановити/оновити найбільш потрібні пакунки. + +Вам не потрібно налаштовувати NFS або робити багато CD для ваших +комп’ютерів; все що вам потрібно, це набрати команду й усі останні офіційні +пакунки Slackware будуть у вашому розпорядженні. + +.SH ІНСТРУКЦІЇ +Slackpkg має багато можливостей. Ви можете виконати пошук певних файлів, +вилучити усі пакунки третіх сторін, встановити пакунки для вашої Slackware +починаючи з останнього оновлення, переглянути описи пакунків й т.д. + +Перед тим як ви щось зробите, вам потрібно буде розкоментувати одне дзеркало +у файлі /etc/slackpkg/mirrors та запустити: + +.in +5 +# slackpkg update +.in + +Команда "update" стягне та сформує список файлів та пакунків у +Slackware. Цей список постійно змінюється, тому спочатку потрібно запускати +"update". + +Головні можливості Slackpkg пов’язані з безпосереднім керуванням пакунків: +встановлення, оновлення та вилучення пакунків. Для цих завдань синтаксис +команд Slackpkg буде таким: + +.in +5 +# slackpkg [ПАРАМЕТРИ] <команда> {ШАБЛОН|ФАЙЛ} +.in + +\fIПАРАМЕТРИ\fP може бути одним або декількома. Більшість параметрів приписані +у конфігураційному файлі /etc/slackpkg/slackpkg.conf. Вони відповідають +параметрам командного рядка. Перегляньте \fBslackpkg.conf(5)\fP сторінку +man\-керівництва, щоб взнати припустимі параметри та їх значення. + +\fIШАБЛОН\fP може бути ім’ям або частиною ім’я пакунку. Може також бути набором +пакунків (наприклад kde, a, ap, ...). +.br + +\fIФАЙЛ\fP це файл зі списком \fIШАБЛОНів\fP всередині: кожен повинен бути у +окремому рядку, або відразу декілька у одному рядку, але розділених +пробілами. + +Slackpkg можна використовувати для оновлення усього дистрибутива. +.br +Звичайний спосіб це зробити: + +.in +5 +# slackpkg update +.br +slackpkg install\-new +.br +slackpkg upgrade\-all +.br +# slackpkg clean\-system +.in + +Інші можливості Slackpkg полягають у роботі з шаблонами, які дозволяють +легко створити багато робочих комп’ютерних станцій з однаковим набором +пакунків. Для цього потрібно зробити наступне: + +.RS +5 +.IP \(bu 2 +Встановити на один комп’ютер +.IP \(bu 2 +Запустити "slackpkg generate\-template ІМ’Я_ШАБЛОНУ" +.IP \(bu 2 +Скопіювати /etc/slackpkg/templates/ІМ’Я_ШАБЛОНУ.template у ту ж директорію +на іншому комп’ютері +.IP \(bu 2 +Запустити "slackpkg install\-template ІМ’Я_ШАБЛОНУ" на іншому комп’ютері +.RE + +\fIІМ’Я_ШАБЛОНУ\fP \- це ім’я вашого шаблону. + +Прочитавши дане керівництво, ви зможете знайти опис усіх цих (та багатьох +інших) команд. + +.SH КОМАНДИ +.TP 5 +\fBhelp\fP +.br +Показує команди slackpkg'а та їх короткий опис. Корисно якщо вам потрібна +коротка довідка по slackpkg. Інформація тут, на сторінці man\-керівництва +набагато повніша. + +.TP 5 +\fBupdate\fP +.br +оновлення стягне останній список пакунків з дзеркала Slackware (або вашого +CD). Це було би добре зробити перед запуском + +.in +5 +# slackpkg update +.in + +перед спробою оновлення, встановіть або пошукайте пакунки. +.br +Якщо вам потрібно оновити публічний Slackware GPG ключ, запустіть: + +.in +5 +# slackpkg update gpg +.in + +Сам GPG ключ не змінюється. Цю команду потрібно запустити лише один раз й +можна за неї забути... + +.TP 5 +\fBcheck\-updates\fP +.br +Перевіряє, чи є які зміни у ChangeLog.txt. Було би добре помістити у cron +щоб нагадувати адміністратору про оновлення. + +.TP 5 +\fBfile\-search\fP +.br +Ви можете пошукати офіційні пакунки Slackware для будь\-якого файлу у +дистрибутиві Slackware. Потрібна якась незрозуміла бібліотека? +Використовуйте пошук щоб її знайти. + +.in +5 +# slackpkg file\-search ім’я_файлу +.in + +Усі пакунки що відповідають шаблону "ім’я_файлу" будуть показані. Таким +чином, ви можете побачити список пакунків як встановлених , так й +невстановлених. Якщо ні, тоді ви можете стягнути пакунок й потім його +встановити за допомогою інших команд slackpkg. + +.TP 5 +\fBsearch\fP +.br +Ви можете знайти будь\-який пакунок що розповсюджується дистрибутивом +Slackware. + +.in +5 +# slackpkg search ваш_шаблон +.in + +Усі пакунки що відповідають критерію "ваш_шаблон" будуть показані. Подібно +пошуку файлів, ви можете бачити усі пакунки: встановлені чи ні. Якщо ні, +тоді ви можете стягнути його й встановити за допомогою інших команд +slackpkg. + +.TP 5 +\fBinstall\fP +.br +Встановлення пакунків дуже просте. Вам потрібно лише надрукувати до +командного рядка: + +.in +5 +# slackpkg install ім’я_пакунку +.in + +й пакунок буде стягнено та встановлено. +.br +Ви не можете використовувати опцію "install" для встановлення вже +встановленогоо пакунку, але можете перевстановити або оновити його. + +.TP 5 +\fBupgrade\fP +.br +оновлення встановленого пакунку новішою офіційною версією. + +при оновленні, slackpkg не намагається встановити новий пакунок +(використовуйте функцію install для цього й остання офіційна версія пакунку +буде встановлена). +.TP 5 +\fBreinstall\fP +.br +У випадку виникнення помилок або пошкодженні пакунку, команда reinstall +дозволить вам перевстановити вже встановлений пакунок. + +.TP 5 +\fBremove\fP +.br +Командою remove ви вилучаєте певні встановлені пакунки. Наприклад: + +.in +5 +# slackpkg remove kde +.in + +буде вилучено пакунки що містять "kde" у своїй назві. + +.TP 5 +\fBblacklist\fP +.br +Цією командою ви можете створити "чорний список" деяких пакунків. +.br +Пакунки з "чорного списку" не можуть бути встановлені, оновлені або вилучені +за допомогою slackpkg. Якщо вам потрібно вилучити декілька пакунків з +чорного списку, спочатку вилучіть їх з /etc/slackpkg/blacklist. + +.TP 5 +\fBdownload\fP +.br +Ця команда вкаже slackpkg стягнути пакунки, але не встановлювати їх. Вони +будуть поміщені у /var/cache/packages, ви зможете +встановити/оновити/перевстановити їх пізніше (або записати їх на CD). + +.TP 5 +\fBinfo\fP +.br +Ця команда покаже інформацію про пакунок(и): стиснений та нестиснений +розміри, опис, й т.д. й т.п,,, + +.TP 5 +\fBclean\-system\fP +.br +Ця команда вилучає усі пакунки, що не належать стандартному дистрибутиву +Slackware. Цією опцією ви можете очистити вашу систему вилучивши сторонні +пакунки а також пакунки, які було вилучено зі складу Slackware на поточний +момент. +.br +Якщо ви хотіли б залишити деякі сторонні пакунки (або пакунки зібрані +самостійно), тимчасово додайте їх до "чорного списку" перед запуском команди +\&'clean\-system'. + +.TP 5 +\fBupgrade\-all\fP +.br +Ця команда оновить кожен пакунок встановлений у системі до версії офіційного +дерева Slackware. Це "гарний" спосіб оновлення для кожного комп’ютера під +керуванням Slackware. +.br +Не забувайте використовувати команду "install\-new" перед "upgrade\-all". + +.TP 5 +\fBinstall\-new\fP +Ця команда встановить усі нові пакунки, що були додані у офіційне дерево +пакунків Slackware. Запускайте цю команду коли оновлюєте Slackware з іншої +версії або якщо використовуєте \-current. +.br +Якщо ви бажаєте встановити усі невстановлені пакунки Slackware на вашій +системі, використовуйте наступну команду замість install\-all команди: + +.in +5 +# slackpkg install slackware. +.in +.TP 5 +\fBnew\-config\fP +Ця команда буде шукати конфігураційні файли з розширенням .new та спитає +користувача, що робити з цими файлами. +.br +команда new\-config дуже корисна коли ви оновлюєте систему та отримуєте нові +конфіґи для подальшого перегляду. Замість ручного пошуку, порівняння та +заміни ви можете використовувати команду new\-config. +.TP 5 +\fBgenerate\-template\fP +Ця команда створює нові шаблони з усіма офіційними пакунками Slackware +встановленими на вашій системі. Шаблони сортуються й поміщаються у +/etc/slackpkg/tamplates +.TP 5 +\fBinstall\-template\fP +Ця команда встановлює потрібний шаблон на систему. Шаблон повинен +знаходитися у /etc/slackpkg/templates. Якщо шаблон містить у собі інші +шаблони, тоді усі вони повинні знаходитися у /etc/slackpkg/templates. Ви +можете заборонити вкладені шаблони у конфігураційному файлі slackpkg.conf +або з командного рядка. +.TP 5 +\fBremove\-template\fP +Ця команда вилучає усі пакунки що містяться у вибраному шаблоні. Будьте +обережні, це може привести систему у нестабільний стан. Вкладення що +містяться у шаблоні т.з. "(анг. include)" можна дозволяти або забороняти +опрацьовувати у конфігу slackpkg.conf або безпосередньо з командного рядка. + +.SH ФАЙЛИ +.TP 5 +\fB/etc/slackpkg/mirrors \fP +Файл що вказує звідки має бути стягнено пакунки +.TP 5 +\fB/etc/slackpkg/slackpkg.conf \fP +Головний файл конфіґурації slackpkg +.TP 5 +\fB/etc/slackpkg/blacklist\fP +Список пакунків які потрібно пропустити +.TP 5 +\fB/etc/slackpkg/templates\fP +Містить усі файли шаблонів +.TP 5 +\fB/usr/libexec/slackpkg\fP +Містить ядро slackpkg та додаткові функції +.TP 5 +\fB/var/lib/slackpkg\fP +Для внутрішнього використання slackpkg \- форматування списку пакунків, копія +Changelog.txt, список файлів, й т.д. й т.п... + +.SH "ДИВІТЬСЯ ТАКОЖ" +\fBslackpkg.conf\fP(5), \fBinstallpkg\fP(8), \fBupgradepkg\fP(8), \fBexplodepkg\fP(8), +\fBmakepkg\fP(8), \fBpkgtool\fP(8). + +.SH АВТОРИ +.TP 5 +Piter PUNK aka Roberto F Batista +<piterpk AT terra DOT com DOT br> +.TP 5 +Evaldo Gardenali aka UdontKnow +<evaldo AT fasternet DOT com DOT br> diff --git a/manpages-l10n/uk.slackpkg.conf b/manpages-l10n/uk.slackpkg.conf new file mode 100644 index 0000000..3fc4b63 --- /dev/null +++ b/manpages-l10n/uk.slackpkg.conf @@ -0,0 +1,302 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH SLACKPKG.CONF 5 "Травень 2010" slackpkg\-2.81.1 "" +.SH ІМ'Я +\fBslackpkg.conf\fP \- Файл конфіґурації slackpkg + +.SH ОПИС + +Файл slackpkg.conf містить налаштування для \fBslackpkg\fP (8), менеджера +пакунків Slackware Linux. + +Файл slackpkg.conf є шел\-скриптом що визначає різні змінні, які визначають +роботу slackpkg. Коментарі починаються з символу ґрат # та закінчуються +символом кінця рядка EOL. Вони можуть знаходитися де завгодно всередині +файлу slackpkg.conf. Якщо якась змінна визначена декілька разів у цьому +файлі, тоді її значення буде відповідати останньому визначенню. + +Значення багатьох змінних може бути скасовано передачею slackpkg параметрів +через командний рядок. Якщо вам потрібно скасувати значення \fBЗМІННОЇ\fP, +передайте \fB\-змінна=ваше_значення\fP у командному рядку перед запуском команди +slackpkg. Разом можна скасовувати значення декількох змінних. + +НАПРИКЛАД: slackpkg \-batch=on \-default_answer=y upgrade\-all + +Для бульових змінних що мають лише два стани, їх значення позначаються як +"on" або "off". + +Різні параметри конфіґурації: + +.TP 5 +\fBARCH\fP +.br +Вибір архітектури системи. Зазвичай Slackpkg може самостійно знайти +правильне значення використовуючи команду "uname \-m". Припустимі значення: + +.ds title АРХІТЕКТУРА\t\tПРИПУСТИМІ ЗНАЧЕННЯ +.ds arm ARM\t\t\tarm +.ds x86 x86 (32bits)\ti386, i486, i586 and i686 +.ds x86_64 x86 (64bits)\tx86_64 +.ds ppc PowerPC\t\tpowerpc +.ds s390 S/390\t\t390 +.in +5 +\fB\*[title]\fP +.br +\*[arm] +.br +\*[x86] +.br +\*[x86_64] +.br +\*[ppc] +.br +\*[s390] +.in + +Типове значення змінної \fBARCH\fP залежить від вашої поточної архітектури. + +.TP 5 +\fBSLACKKEY\fP +.br +Slackpkg звіряє файл з цифровим підписом (.asc) з цифровим підписом +проекту. Різні порти Slackware можуть мати різні підписи, й Slackpkg +намагається знайти правильну архітектурну базу вашої системи. Якщо +автоматичне розпізнавання \fBSLACKKEY\fP працює не правильно, ви можете +скасувати використання цього параметру. + +Типове значення \fBSLACKKEY\fP залежить від вашого порту Slackware. + +.TP 5 +\fBTEMP\fP +.br +Вказує каталог куди slackpkg буде зберігати стягнуті пакунки перед їх +встановленням/оновленням. + +Значення змінної \fBTEMP\fP типово: /var/cache/packages. + +.TP 5 +\fBWORKDIR\fP +.br +Вказує каталог для списку пакунків, списку файлів та іншої інформації що +використовуєтьсяй slackpkg у процесі роботи. Не змінюйте її значення доки +не впевнені, що точно знаєте, що робите. + +Типове значення змінної \fBWORKDIR\fP /var/lib/slackpkg. + +.TP 5 +\fBWGETFLAGS\fP +.br +Вказує спеціальні параметри для wget. Якщо ви використовуєте декілька +параметрів, не забудьте взяти їх у подвійні лапки. + +Типове значення змінної \fBWGETFLAGS\fP дорівнює "\-\-passive\-ftp" + +.TP 5 +\fBDELALL\fP +.br +Якщо встановити у значення "on", тоді стягнуті файли буде вилучено після +того як slackpkg встановить або оновить їх (за виключенням випадків коли +slackpkg запущено з командою "download"). Якщо ж значення встановлено у +"off", тоді файли будуть зберігатися у каталозі \fBTEMP\fP (описаному вище). + +Типове значення змінної \fBDELALL\fP дорівнює "on". +.br +З командного рядка ви можете її змінювати параметром \-delall=ваше_значення. + +.TP 5 +\fBCHECKMD5\fP +.br +Вмикає (on) або вимикає (off) перевірку контрольних сум MD5 усіх стягнутих +пакунків перед їх інсталяцією або оновленням. + +Типове значення змінної \fBCHECKMD5\fP дорівнює "on". +.br +З командного рядка ви можете змінювати її значення параметром +\-checkmd5=ваше_значення. + +.TP 5 +\fBCHECKGPG\fP +.br +Вмикає (on) або вимикає (off) перевірку підписів GPG для кожного пакунку +перед їх інсталяцією або оновленням. + +Типове значення змінної \fBCHECKGPG\fP встановлено у "on". +.br +З командного рядка ви можете змінювати її значення параметром +\-checkgpg=ваше_значення. + +.TP 5 +\fBCHECKSIZE\fP +.br +Вмикає (on) або вимикає (off) перевірку доступного вільного місця на диску +перед інсталяцією або оновленням. + +Типове значення змінної \fBCHECKSIZE\fP встановлено у "off". +.br +З командного рядка ви можете змінювати її значення параметром +\-checksize=ваше_значення. + +.TP 5 +\fBPKGMAIN\fP +.br +Вказує головний каталог дистрибутива. Зазвичай не потрібно піклуватися про +цю змінну, оскільки Slackpkg намагається визначити її самостійно спираючись +на вашу архітектуру. Якщо потрібно змінити їх, тоді додайте цю змінну у ваш +slackpkg.conf. Це завжди має бути директорія яка містить набори пакунків +(A, AP, D, E, F, ...). + +Типово: залежить від вашого порту Slackware + +.TP 5 +\fBPRIORITY\fP +.br +Набір бажаних каталогів на мережевих дзеркалах, де slackpkg шукає потрібні +йому пакунки. Якщо пакунок знайдено у більш ніж одному місці, тоді пакунок з +першої директорії буде мати вищий пріоритет ніж з другої, з другої перед +третьою й т.д. + +Типове значення (у порядку): patches %PKGMAIN extra pasture testing + +.TP 5 +\fBPOSTINST\fP +.br +Вмикає (on) або вимикає (off) деякі можливості slackpkg'а після інсталяції +пакунків, такі як: перевірка нових *.new файлів, нових образів ядра, +підказки користувачу. + +Типове значення змінної \fBPOSTINST\fP встановлено у "on". +.br +З командного рядка ви можете змінювати її значення параметром +\-postinst=ваше_значення. + +.TP 5 +\fBONLY_NEW_DOTNEW\fP +.br +Коли значення \fBPOSTINST\fP встановлено у "on", slackpkg шукає усі .new файли +у каталозі /etc й підказує користувачу, що вони можуть зробити з +ними. Однак, деякі користувачі бажають бачити лише .new файли встановлені +slackpkg останньою командою. Якщо ви з їх числа, встановіть значення +\fBONLY_NEW_DOTNEW\fP у "on". + +Типове значення для змінної \fBONLY_NEW_DOTNEW\fP встановлено у "off". Змінюйте +її лише якщо ви точно знаєте що робите... +.br +З командного рядка ви можете змінювати її значення параметром: +\-only_new_dotnew=ваше_значення. + +.TP 5 +\fBONOFF\fP +.br +Змінна \fBONOFF\fP визначає початкову поведінку діалогового інтерфейсу. Якщо +встановити значення у "on" \- тоді усі пакунки буде обрано типово. Якщо ви +надаєте перевагу іншим варіантам (тобто коли усі пакунки не вибираються +разом), встановіть її у "off". + +Типово змінна \fBONOFF\fP встановлена у \*(rqon". +.br +З командного рядка ви можете змінювати її значення параметром +\-onoff=ваше_значення. + +.TP 5 +\fBDOWNLOAD_ALL\fP +.br +Якщо ця змінна встановлена у "on", тоді усі файли, на які був запит, буде +стягнуто разом до виконання основної команди( install або upgrade). Якщо ж +змінна встановлена у значення "off", тоді потрібні файли будуть +завантажуватися по одному перед безпосереднім виконанням основної команди: +install або upgrade. + +Типово змінна \fBDOWNLOAD_ALL\fP встановлена у значення "off". +.br +З командного рядка ви можете змінювати її значення параметром: +\-download_all=ваше_значення. + +.TP 5 +\fBDIALOG\fP +.br +Вмикає (on) або вимикає (off) діалоговий інтерфейс. + +Типово змінна \fBDIALOG\fP встановлена у "on". +.br +З командного рядка ви можете встановити її параметром \-dialog=ваше_значення. + +.TP 5 +\fBDIALOG_MAXARGS\fP +.br +Встановлює максимальне число знаків що посилаються програмі "dialog" у +якості параметру. Якщо число знаків що передаються перевищує це число, тоді +slackpkg вилучає інформацію про поточну версію кожного пакунку. Якщо навіть +після цього число знаків перевищує межу допустимого, тоді slackpkg повертає +користувачу повідомлення про помилку. + +Якщо змінна \fBDIALOG_MAXARGS\fP не встановлена, тоді 19500 є типовим +значенням. +.br +У командному рядку, для зміни значення змінної, ви можете використовувати +параметр: \-dialog_maxargs=ваше_значення. + +.TP 5 +\fBBATCH\fP +.br +Вмикає (on) або вимикає (off) безінтерактивний режим. Коли запускається у +пакунковому режимі, slackpkg припиняє показувати підказки. Замість цього, +відповіді на усі питання встановлюються у \fBDEFAULT_ANSWER\fP(дивись нижче). +.br +Якщо ви проводите оновлення у цьому режимі, тоді вам згодом потрібно +запустити "slackpkg new\-config" щоб знайти та об’єднати .new файли. + +Типове значення змінної \fBBATCH\fP встановлено у "off". +.br +З командного рядка ви можете встановити змінну параметром: +\-batch=ваше_значення. + +.TP 5 +\fBDEFAULT_ANSWER\fP +.br +Це типова відповідь на питання підказок, що показуються користувачу. Це +використовується лише у безінтерактивному режимі (коли змінна \fBBATCH\fP має +значення "yes" або пакунковий режим задано через командний рядок); інакше, +ця змінна не використовується. +.br +Припустимими значеннями є "y" або "n". + +Типово змінна \fBDEFAULT_ANSWER\fP встановлена у "n". +.br +У командному рядку, для зміни значення змінної, ви можете використовувати +параметр: \-default_answer=ваше_значення. + +.TP 5 +\fBUSE_INCLUDES\fP +.br +Шаблони slackpkg можуть включати у себе інші шаблони, для зменшення +повторюваності одних й тих самих пакунків у різних шаблонах. Якщо ви бажаєте +вилучити лише специфічні шаблони, тоді ви можете вимкнути опрацювання +вкладених шаблонів #include. + +Типове значення змінної \fBUSE_INCLUDES\fP встановлено у "on". +.br +З командного рядка ви можете змінити змінну параметром: +\-use_includes=ваше_значення. + +.TP 5 +\fBSPINNING\fP +.br +Коли slackpkg чимось зайнятий деякий час, ви можете бачити значок що +повертається як ознаку активності. Якщо ви не бажаєте його бачити, ви можете +вимкнути його встановивши цю змінну у значення "off". + +Типове значення змінної \fBSPINNING\fP встановлено у "on". +.br +З командного рядка ви можете встановити її параметром: +\-spinning=ваше_значення. + +.SH ФАЙЛИ +.TP 5 +\fB/etc/slackpkg/slacpkg.conf\fP + +.SH "ДИВІТЬСЯ ТАКОЖ" +\fBslackpkg\fP(8) \fBpkgtool\fP(8) \fBinstallpkg\fP(8) \fBupgradepkg\fP(8) +\fBremovepkg\fP(8) diff --git a/slack-desc b/slack-desc new file mode 100644 index 0000000..e8af640 --- /dev/null +++ b/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-handy-ruler------------------------------------------------------| +slackpkg: slackpkg +slackpkg: +slackpkg: Slackpkg is a package manager for Slackware. It can download, +slackpkg: upgrade, install and remove selected packages. With it, you +slackpkg: can search in the Slackware Package database and find which +slackpkg: package has the selected file. +slackpkg: +slackpkg: Slackpkg DOESN'T replace pkgtool. Actually, Slackpkg uses pkgtool +slackpkg: for all install|upgrade|remove functions. +slackpkg: +slackpkg: diff --git a/slackpkg.SlackBuild b/slackpkg.SlackBuild new file mode 100755 index 0000000..706d3f5 --- /dev/null +++ b/slackpkg.SlackBuild @@ -0,0 +1,119 @@ +#!/bin/sh + +# Copyright 2016 Patrick J. Volkerding, Sebeka, Minnesota, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +PKGNAM=slackpkg +VERSION=2.82.2 +BUILD=${BUILD:-1} + +CWD=$(pwd) +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +rm -rf $PKG +mkdir -p $TMP $PKG + +# I never use this because it tends to bail on useless errors, but since +# we're actually the upstream here it should never do that. :-) +set -e + +cd $CWD/files + +# Install main script: +mkdir -pv $PKG/usr/sbin +cp -av slackpkg.gz $PKG/usr/sbin +gzip -d $PKG/usr/sbin/slackpkg.gz +chmod 755 $PKG/usr/sbin/slackpkg +chown root:root $PKG/usr/sbin/slackpkg + +# Prepare /etc directory: +mkdir -pv $PKG/etc/slackpkg +cp -av blacklist.new.gz slackpkg.conf.new.gz $PKG/etc/slackpkg +gzip -d $PKG/etc/slackpkg/* +chmod 644 $PKG/etc/slackpkg/* +chown root:root $PKG/etc/slackpkg/* +mkdir -pv $PKG/etc/slackpkg/templates + +# Install support scripts in /usr/libexec/slackpkg: +mkdir -pv $PKG/usr/libexec/slackpkg +cp -av core-functions.sh.gz cutpkg.awk.gz filelist.awk.gz install-new.awk.gz pkglist.awk.gz \ + $PKG/usr/libexec/slackpkg +gzip -d $PKG/usr/libexec/slackpkg/* +chmod 755 $PKG/usr/libexec/slackpkg/* +chown root:root $PKG/usr/libexec/slackpkg/* +mkdir -pv $PKG/usr/libexec/slackpkg/functions.d +cp -av dialog-functions.sh.gz post-functions.sh.gz \ + $PKG/usr/libexec/slackpkg/functions.d +gzip -d $PKG/usr/libexec/slackpkg/functions.d/* +chmod 755 $PKG/usr/libexec/slackpkg/functions.d/* +chown root:root $PKG/usr/libexec/slackpkg/functions.d/* + +# Install man pages: +mkdir -pv $PKG/usr/man/man5 +cp -av slackpkg.conf.5.gz $PKG/usr/man/man5 +chmod 644 $PKG/usr/man/man5/slackpkg.conf.5.gz +chown root:root $PKG/usr/man/man5/slackpkg.conf.5.gz +mkdir -pv $PKG/usr/man/man8 +cp -av slackpkg.8.gz $PKG/usr/man/man8 +chmod 644 $PKG/usr/man/man8/slackpkg.8.gz +chown root:root $PKG/usr/man/man8/slackpkg.8.gz + +# Install internationalized man pages from +# http://slint.fr/forSlackware/man_l10n/slackpkg/ +( cd $PKG/usr/man + tar xf $CWD/manpages-l10n.tar.xz + for page in manpages-l10n/*slackpkg.conf ; do + manpage=$(basename $page) + mkdir -p ${manpage%%.*}/man5 + mv $page ${manpage%%.*}/man5/${page#*.}.5 + done + for page in manpages-l10n/* ; do + manpage=$(basename $page) + mkdir -p ${manpage%%.*}/man8 + mv $page ${manpage%%.*}/man8/${page#*.}.8 + done + gzip -9 */man?/*.? + rmdir manpages-l10n +) + +# Update version number: +sed -i "s/@VERSION@/$VERSION/g" $PKG/usr/sbin/slackpkg + +# Prepare documentation directory: +mkdir -pv $PKG/usr/doc/slackpkg-$VERSION +cp -av ChangeLog.gz GPL.gz README.gz mirrors* \ + $PKG/usr/doc/slackpkg-$VERSION +chown root:root $PKG/usr/doc/slackpkg-$VERSION/* +chmod 644 $PKG/usr/doc/slackpkg-$VERSION/* +gzip -d $PKG/usr/doc/slackpkg-$VERSION/* + +# Create additional directories needed by slackpkg: +mkdir -pv $PKG/var/lib/slackpkg +mkdir -pv $PKG/var/cache/packages + +mkdir -p $PKG/install +zcat $CWD/doinst.sh.gz | sed -e "s/@VERSION@/$VERSION/g" > $PKG/install/doinst.sh +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-noarch-$BUILD.txz + |