# HG changeset patch # User Paul Issott # Date 1245622913 0 # Node ID bcae4cfaa7e55099b7b531fe451a2e48ba9b8067 # Parent 87cd9284651cb7936040ff70ec5aed67ddca0668 tazpkg-web: Minor edits diff -r 87cd9284651c -r bcae4cfaa7e5 tazpkg-web/receipt --- a/tazpkg-web/receipt Sun Jun 21 21:30:25 2009 +0000 +++ b/tazpkg-web/receipt Sun Jun 21 22:21:53 2009 +0000 @@ -40,9 +40,9 @@ else cat << _EOT_ -To have Tazpkg-web interface on your local system you can add a vhost -to Lighttp (or Apache) and the hostname to /etc/hosts. And must copy -files from: /var/lib/tazpkg-web. Example: +To have a Tazpkg-web interface on your local system, you can add a vhost +to Lighttpd (or Apache) and the hostname to /etc/hosts. And you must also +copy files from: /var/lib/tazpkg-web. Example: # mkdir -p /var/www/vhosts/pkgs && cd /var/lib/tazpkg-web # cp -a search.cgi style/* /var/www/vhosts/pkgs diff -r 87cd9284651c -r bcae4cfaa7e5 tazpkg-web/stuff/README --- a/tazpkg-web/stuff/README Sun Jun 21 21:30:25 2009 +0000 +++ b/tazpkg-web/stuff/README Sun Jun 21 22:21:53 2009 +0000 @@ -2,18 +2,19 @@ =============================================================================== -Tazpkg-web package provide the files, scripts and search engine used for SliTaz -packages web interface. It not depends on Tazpkg packages manager or Tazwok but -need a wok with receipt and a packages (*.tazpkg) repository to scan and build -the static xHTML pages. Here is a brief overview of the files provided: +Tazpkg-web package provides the files, scripts and search engine used for the +SliTaz packages web interface. It doesn't depend on the Tazpkg package manager +or Tazwok, but needs a wok with a receipt and a packages (*.tazpkg) repository +to scan and build the static xHTML pages. Here is a brief overview of the files +provided: - * html/ : Splitted xHTML template used to generate the full pages - * style/ : CSS style, pics and favicon - * xml/ : RSS template (will be use when merge tazrss) - * search.cgi : CGI search engine using awk, grep, etc (all xHTML harcoded) - * tazpkg-web : Utility who generate the categories and index's pages. - * tazpkg-web.conf : Tazpkg-web utility configuration file. + * html/ : Split xHTML template used to generate the full pages + * style/ : CSS stylesheets, pics and favicon + * xml/ : RSS template (will be used when merged with tazrss) + * search.cgi : CGI search engine using awk, grep, etc (all xHTML hardcoded) + * tazpkg-web : Utility which generates the categories and index pages + * tazpkg-web.conf : Tazpkg-web utility configuration file Online : http://pkgs.slitaz.org/ diff -r 87cd9284651c -r bcae4cfaa7e5 tazpkg-web/stuff/search.cgi --- a/tazpkg-web/stuff/search.cgi Sun Jun 21 21:30:25 2009 +0000 +++ b/tazpkg-web/stuff/search.cgi Sun Jun 21 22:21:53 2009 +0000 @@ -299,8 +299,8 @@ SEARCH=$1 case "$SEARCH" in glibc-base|gcc-lib-base) cat <every packages are supposed to depend on them. + glibc-base and gcc-lib-base are implicit dependencies, + every package is supposed to depend on them. EOT return;; esac diff -r 87cd9284651c -r bcae4cfaa7e5 tazpkg-web/stuff/tazpkg-web --- a/tazpkg-web/stuff/tazpkg-web Sun Jun 21 21:30:25 2009 +0000 +++ b/tazpkg-web/stuff/tazpkg-web Sun Jun 21 22:21:53 2009 +0000 @@ -136,7 +136,7 @@ _EOT_ echo '' >> $PAGES_DIR/$CATEGORY.html else - # Check if package exist, could be virtual + # Check if package exists, could be virtual? [ -f "$PACKAGES_REPOSITORY/$PACKAGE-$VERSION.tazpkg" ] && cat >> $PAGES_DIR/$CATEGORY.html << _EOT_ Download : $PACKAGE-$VERSION.tazpkg @@ -203,7 +203,7 @@ echo -e "\nStarting to build the $RELEASE Web interface... " echo "================================================================================" # Packages pages header, menu and content top at first. - echo -n "Generating all pages header..." + echo -n "Generating all page headers..." for page in $CATEGORIES do h2=$page @@ -213,11 +213,11 @@ done status # Scan the wok and classify packages by category. - echo -n "Scanning the wok and generating page content..." + echo -n "Scanning the wok and generating page contents..." pkgs_pages_content status # Gen all packages pages footer. - echo -n "Generating all pages footer..." + echo -n "Generating all page footers..." pages_footer status # Stable or Cooking index with categories and home page. @@ -236,7 +236,7 @@ } # Prefer the Hg wok in the chroot. On host running Tazbb the wok's -# are updated and copied automaticaly and so more up-to-date. +# are updated and copied automatically and so more up-to-date. case "$1" in stats) diff -r 87cd9284651c -r bcae4cfaa7e5 tazpkg-web/stuff/tazpkg-web.conf --- a/tazpkg-web/stuff/tazpkg-web.conf Sun Jun 21 21:30:25 2009 +0000 +++ b/tazpkg-web/stuff/tazpkg-web.conf Sun Jun 21 22:21:53 2009 +0000 @@ -11,7 +11,7 @@ STABLE="/home/slitaz/stable" COOKING="/home/slitaz/cooking" -# Packages categoies. +# Packages categories. CATEGORIES=" base-system x-window