# HG changeset patch # User Pascal Bellard # Date 1264702328 -3600 # Node ID 85313fe45f022e8c1dfc72644053c8efd749e660 # Parent cb9b7275be7a20a7d1a24f3a3b441726349725f3 tazpkg-web: add BuildDepends & FileOverlap diff -r cb9b7275be7a -r 85313fe45f02 tazpkg-web/stuff/search.cgi --- a/tazpkg-web/stuff/search.cgi Thu Jan 28 16:26:39 2010 +0100 +++ b/tazpkg-web/stuff/search.cgi Thu Jan 28 19:12:08 2010 +0100 @@ -15,9 +15,12 @@ VERSION=cooking if [ "$REQUEST_METHOD" = "GET" ]; then SEARCH="" + VERBOSE=0 for i in $(echo $REQUEST_URI | sed 's/[?&]/ /g'); do SLITAZ_VERSION=cooking case "$i" in + verbose=*) + VERBOSE=${i#*=};; lang=*) LANG=${i#*=};; file=*) @@ -41,6 +44,12 @@ depends=*) SEARCH=${i#*=} OBJECT=Depends;; + BuildDepends=*) + SEARCH=${i#*=} + OBJECT=BuildDepends;; + FileOverlap=*) + SEARCH=${i#*=} + OBJECT=FileOverlap;; version=s*|version=2*) SLITAZ_VERSION=stable;; version=1*) @@ -57,6 +66,8 @@ Receipt) selected_receipt="selected";; File_list) selected_file_list="selected";; Depends) selected_depends="selected";; +BuildDepends) selected_build_depends="selected";; +FileOverlap) selected_overlap="selected";; esac case "$SLITAZ_VERSION" in @@ -84,6 +95,7 @@ receipt="Receipt" file_list="File list" depends="Depends" +bdepends="Build depends" search="Search" cooking="cooking" stable="stable" @@ -91,6 +103,10 @@ noresult="No package $SEARCH" deptree="Dependency tree for : $SEARCH" rdeptree="Reverse dependency tree for : $SEARCH" +bdeplist="$SEARCH needs these packages to be built" +rbdeplist="Packages who need $SEARCH to be built" +overloading="Theses packages may overload files of " +overlap="common files" charset="ISO-8859-1" case "$LANG" in @@ -98,11 +114,16 @@ fr) package="Paquet" receipt="Recette" depends="Dépendances" + bdepends="Fabrication" search="Recherche" result="Recherche de : $SEARCH" noresult="Paquet $SEARCH introuvable" deptree="Arbre des dépendances de $SEARCH" rdeptree="Arbre inversé des dépendances de $SEARCH" + bdeplist="$SEARCH a besion de ces paquets pour être fabriqué" + rbdeplist="Paquets ayant besion de $SEARCH pour être fabriqués" + overloading="Paquets pouvant écraser des fichiers de " + overlap="Fichiers communs" file_list="Liste des fichiers" file="Fichier";; @@ -171,11 +192,13 @@ + + : - +