1 [%- PROCESS 'html/head.tmpl'
2 title_tag = "$organisation Packages Search"
3 page_title = "$organisation Packages Search"
4 keywords = "$organisation, Packages"
7 all_suites = [ 'etch', 'etch-m68k', 'etch-volatile', 'etch-backports',
8 'lenny', 'lenny-volatile', 'sid' ]
9 version_numbers = { sarge => '3.1',
11 current_release = 'etch'
12 all_sections = [ 'main', 'contrib', 'non-free' ]
13 all_architectures = [ 'alpha', 'arm', 'armel', 'amd64', 'hppa', 'i386',
14 'ia64', 'kfreebsd-amd64', 'kfreebsd-i386', 'mips',
15 'mipsel', 'powerpc', 's390', 'sparc' ]
18 <p>This site provides you with information about all the packages
19 available in the <a href="[% project_homepage %]">[% organisation %]</a>
22 <p><em>Please contact <a href="mailto:[% admin.mail %]">[% admin.name %]</a>
23 if you encounter any problems!</em></p>
25 <h2>Browse through the lists of packages:</h2>
27 <ul style="font-size:large">
28 [% FOREACH s IN all_suites %]
29 <li><a href="[% s %]/">[% s %]</a>
30 [% IF version_numbers.$s %]([% version_numbers.$s %])[% END %]</li>
34 <p>There is also a list of <a href="[% all_suites.-1 %]/main/newpkg">packages
35 recently added to [% all_suites.-1 %]</a>.</p>
39 <h3>Search package directories</h3>
41 <form method="GET" action="/search">
42 <label for="kw">Keyword:</label>
43 <input type="text" size="30" name="keywords" id="kw">
44 <input type="submit" value="Search"> <input type="reset" value="Reset">
47 <input type="radio" name="searchon" value="names" id="onlynames" checked="checked">
48 <label for="onlynames">Package names only</label>
49 <input type="radio" name="searchon" value="all" id="descs">
50 <label for="descs">Descriptions</label>
52 <input type="radio" name="searchon" value="sourcenames" id="src">
53 <label for="src">Source package names</label>
55 Only show exact matches:
56 <input type="checkbox" name="exact" value="1">
60 [% FOREACH s IN all_suites %]
61 <option value="[% s %]" [% 'selected="selected"' IF s == current_release %]>[% s %]</option>
63 <option value="all">any</option>
66 <select name="section">
67 [% FOREACH s IN all_sections %]
68 <option value="[% s %]">[% s %]</option>
70 <option value="all" selected="selected">any</option>
73 <p>There are shortcuts for some searches available:</p>
75 <li><code>[% packages_homepage %]<var>name</var></code> for
76 the search on package names.</li>
78 <li><code>[% packages_homepage %]src:<var>name</var></code>
79 for the search on source package names.</li>
83 <h3><a name="search_contents">Search the contents of packages</a></h3>
85 <P>This search engine allows you to search the contents of [% organisation %]
86 distributions for any files (or just parts of file names) that are
88 You can also get a full list of files in a given package.
90 <form method="GET" action="/search">
91 <input type="hidden" name="searchon" value="contents">
93 <label for="keyword">Keyword:</label>
94 <input type="text" size="30" name="keywords" id="keyword">
96 <input type="submit" value="Search">
97 <input type="reset" value="Reset">
101 <input type="radio" name="mode" value="exactfilename" id="exactfilename" checked="checked">
102 <label for="exactfilename">packages that contain files named like this</label>
104 <input type="radio" name="mode" value="" id="suffixpathname">
105 <label for="suffixpathname">packages that contain files whose names end with the keyword</label>
107 <input type="radio" name="mode" value="filename" id="filename">
108 <label for="filename">packages that contain files whose names contain the keyword</label>
110 <label for="distro">Distribution:</label>
112 <select name="suite" id="distro">
113 [% FOREACH s IN all_suites %]
114 <option value="[% s %]" [% 'selected="selected"' IF s == current_release %]>[% s %]</option>
117 <label for="architecture">Architecture:</label>
118 <select name="arch" id="architecture">
119 [% FOREACH a IN all_architectures %]
120 <option value="[% a %]">[% a %]</option>
122 <option value="any" selected="selected">any</option>
126 [% PROCESS 'html/foot.tmpl'
128 copyright.years = '1997 - 2007' %]