On Sat, 2010-06-12 at 12:35 -0700, Russ Allbery wrote: > "Rémi Perrot" <remi.perrot@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> Seconded. Cheers, Andrew. -- ------------------------------------------------------------------------ andrew (AT) morphoss (DOT) com +64(272)DEBIAN Wrinkles should merely indicate where smiles have been. -- Mark Twain ------------------------------------------------------------------------
Attachment:
signature.asc
Description: This is a digitally signed message part