cookutils rev 1093

index.cgi: Badges section: make links absolute
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 24 14:58:06 2018 +0200 (2018-11-24)
parents 1bc8e59284aa
children 94131c9cba73
files lighttpd/index.cgi
line diff
     1.1 --- a/lighttpd/index.cgi	Sat Nov 24 14:48:27 2018 +0200
     1.2 +++ b/lighttpd/index.cgi	Sat Nov 24 14:58:06 2018 +0200
     1.3 @@ -960,51 +960,51 @@
     1.4  			broken)
     1.5  				t="Broken package"
     1.6  				p="Package is broken"
     1.7 -				s="Fix package build: analyze <a href=\"log/\">logs</a>, upgrade the version, search for patches"
     1.8 +				s="Fix package build: analyze <a href=\"$base/$PACKAGE/log/\">logs</a>, upgrade the version, search for patches"
     1.9  				;;
    1.10  			any)
    1.11  				t="“Any” arch"
    1.12 -				p="This package contains only architecture-less <a href=\"files\">files</a>, it does not make sense to make it several times in each build environment"
    1.13 -				s="Add the line <code>HOST_ARCH=\"any\"</code> to <a href=\"receipt\">receipt</a>"
    1.14 +				p="This package contains only architecture-less <a href=\"$base/$PACKAGE/files\">files</a>, it does not make sense to make it several times in each build environment"
    1.15 +				s="Add the line <code>HOST_ARCH=\"any\"</code> to <a href=\"$base/$PACKAGE/receipt\">receipt</a>"
    1.16  				;;
    1.17  			noany)
    1.18  				t="No “any” arch"
    1.19 -				p="This package contains architecture dependent <a href=\"files\">files</a>"
    1.20 -				s="Remove the line <code>HOST_ARCH=\"any\"</code> from <a href=\"receipt\">receipt</a>"
    1.21 +				p="This package contains architecture dependent <a href=\"$base/$PACKAGE/files\">files</a>"
    1.22 +				s="Remove the line <code>HOST_ARCH=\"any\"</code> from <a href=\"$base/$PACKAGE/receipt\">receipt</a>"
    1.23  				;;
    1.24  			libtool)
    1.25  				t="Libtool isn't fixed"
    1.26  				p="This package use <code>libtool</code> that likes to add unnecessary dependencies to programs and libraries"
    1.27 -				s="Add the <code>fix libtool</code> command to the <a href=\"receipt\">receipt</a> between the <code>configure</code> and <code>make</code> commands invocation"
    1.28 +				s="Add the <code>fix libtool</code> command to the <a href=\"$base/$PACKAGE/receipt\">receipt</a> between the <code>configure</code> and <code>make</code> commands invocation"
    1.29  				;;
    1.30  			nolibtool)
    1.31  				t="Libtool is absent"
    1.32  				p="This package does not use <code>libtool</code>, nothing to fix"
    1.33 -				s="Remove the command <code>fix libtool</code> from <a href=\"receipt\">receipt</a>"
    1.34 +				s="Remove the command <code>fix libtool</code> from <a href=\"$base/$PACKAGE/receipt\">receipt</a>"
    1.35  				;;
    1.36  			own)
    1.37  				t="Ownership problems"
    1.38 -				p="Some files of this package have <a href=\"files\">ownership problems</a>"
    1.39 -				s="Correct the ownership or add problem files to the “<a href=\"stuff/overrides\">overrides</a>” list if you believe it is OK"
    1.40 +				p="Some files of this package have <a href=\"$base/$PACKAGE/files\">ownership problems</a>"
    1.41 +				s="Correct the ownership or add problem files to the “<a href=\"$base/$PACKAGE/stuff/overrides\">overrides</a>” list if you believe it is OK"
    1.42  				;;
    1.43  			ownover)
    1.44  				t="Ownership overridden"
    1.45 -				p="This package contains files with <a href=\"files\">ownership problems</a> that have been overridden"
    1.46 -				s="<abbr title=\"For your information\">FYI</abbr> only, you may want to revise <a href=\"stuff/overrides\">the list</a>"
    1.47 +				p="This package contains files with <a href=\"$base/$PACKAGE/files\">ownership problems</a> that have been overridden"
    1.48 +				s="<abbr title=\"For your information\">FYI</abbr> only, you may want to revise <a href=\"$base/$PACKAGE/stuff/overrides\">the list</a>"
    1.49  				;;
    1.50  			perm)
    1.51  				t="Permissions problems"
    1.52 -				p="Some files of this package have <a href=\"files\">unusual permissions</a>"
    1.53 -				s="Correct the permissions or add problem files to the “<a href=\"stuff/overrides\">overrides</a>” list if you believe it is OK"
    1.54 +				p="Some files of this package have <a href=\"$base/$PACKAGE/files\">unusual permissions</a>"
    1.55 +				s="Correct the permissions or add problem files to the “<a href=\"$base/$PACKAGE/stuff/overrides\">overrides</a>” list if you believe it is OK"
    1.56  				;;
    1.57  			permover)
    1.58  				t="Permissions overridden"
    1.59 -				p="This package contains files with <a href=\"files\">unusual permissions</a> that have been recorded"
    1.60 -				s="<abbr title=\"For your information\">FYI</abbr> only, you may want to revise <a href=\"stuff/overrides\">the list</a>"
    1.61 +				p="This package contains files with <a href=\"$base/$PACKAGE/files\">unusual permissions</a> that have been recorded"
    1.62 +				s="<abbr title=\"For your information\">FYI</abbr> only, you may want to revise <a href=\"$base/$PACKAGE/stuff/overrides\">the list</a>"
    1.63  				;;
    1.64  			symlink)
    1.65  				t="Broken symlink"
    1.66 -				p="This package contains one or more <a href=\"files\">broken symlinks</a>"
    1.67 +				p="This package contains one or more <a href=\"$base/$PACKAGE/files\">broken symlinks</a>"
    1.68  				s="Fix the symlinks destination; you may use <code>fix symlinks</code> when symlinks have absolute path"
    1.69  				;;
    1.70  			ss)
    1.71 @@ -1014,17 +1014,17 @@
    1.72  				;;
    1.73  			fadd)
    1.74  				t="Files have been added"
    1.75 -				p="Some files absent in <var>\$install</var> was <a href=\"files#outoftree\">directly added</a> to <var>\$fs</var>"
    1.76 +				p="Some files absent in <var>\$install</var> was <a href=\"$base/$PACKAGE/files#outoftree\">directly added</a> to <var>\$fs</var>"
    1.77  				s="Rework your <code>compile_rules()</code> to add all the required files to <var>\$install</var> there"
    1.78  				;;
    1.79  			frem)
    1.80  				t="Files have been removed"
    1.81 -				p="Some files existing in <var>\$install</var> <a href=\"files#orphans\">not belong to any package</a>"
    1.82 -				s="Revise <code>genpkg_rules()</code> or add files to “<a href=\"stuff/overrides\">overrides</a>” list"
    1.83 +				p="Some files existing in <var>\$install</var> <a href=\"$base/$PACKAGE/files#orphans\">not belong to any package</a>"
    1.84 +				s="Revise <code>genpkg_rules()</code> or add files to “<a href=\"$base/$PACKAGE/stuff/overrides\">overrides</a>” list"
    1.85  				;;
    1.86  			fdup)
    1.87  				t="Files are duplicated"
    1.88 -				p="Some files existing in <var>\$install</var> was added to <a href=\"files#repeats\">more than one</a> package"
    1.89 +				p="Some files existing in <var>\$install</var> was added to <a href=\"$base/$PACKAGE/files#repeats\">more than one</a> package"
    1.90  				s="Check your copy rules in <code>genpkg_rules()</code>"
    1.91  				;;
    1.92  			old)