"RĂ©mi Perrot" <remi.per...@torrep.org> writes:

> In section 12.5 of the policy it like that it is not possible to put
> cgi script in /usr/lib/cgi-lib/<package-name>/<cgi-name>

> If this is true, we will have more and more file name conflict, and
> these conflict are quite hard to resolve due to link change across
> the application. These already many package that violate this rules.

> If this is false, please can we have more explanation in the policy.

Despite its age, this bug is rather straightforward and is something we
really should have fixed years ago.  The current wording around locations
of CGI programs implies that subdirectories of /usr/lib/cgi-bin may not be
used, but of course this is very widely used in packages already in the
archive and works with a typical web server configuration.  Here is a
patch that explicitly allows this.

Objections or seconds?

diff --git a/policy.sgml b/policy.sgml
index 720150d..7dd0785 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -8184,11 +8184,13 @@ done
                <example compact="compact">
 /usr/lib/cgi-bin/<var>cgi-bin-name</var>
                </example>
-               and should be referred to as
+               or a subdirectory of that directory, and should be
+               referred to as
                <example compact="compact">
 http://localhost/cgi-bin/<var>cgi-bin-name</var>
                </example>
-
+               (possibly with a subdirectory name
+               before <var>cgi-bin-name</var>).
            </item>
 
            <item>

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>



--
To UNSUBSCRIBE, email to debian-policy-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87631o82nm....@windlord.stanford.edu

Reply via email to