[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#6638: cweb incorrectly installs /usr/local/lib/cweb

>>>>> "SKE" == Scott K Ellis <storm@gate.net> writes:

    SKE: Christian Schwarz wrote:

    :: On Thu, 16 Jan 1997, Richard Kaszeta wrote: No! The policy (see
    :: section 3.2.9) scrictly doesn't allow packages to touch
    :: /usr/local and below.

I think it's reasonable to create empty directory in
`/usr/local/lib/'.  Local files can be placed there, and because this
path is compiled in appropriate program, it doesn't need to be
configured additionaly anywhere.

cweb isn't the only package which does that, on my machine I've
`netscape', `emacs', `xemacs', and `perl_site' directories there too.

    :: IMHO you should install your lisp files in
    :: /usr/lib/emacs/site-lisp if necessary. (I don't know exactly
    :: what else has to be done, to get the files loaded into emacs.)

    SKE: First, this really is a discussion about cweb, not elisp.

Exactly.  BTW, cweb *places* its elisp file into
`/usr/lib/emacs/site-lisp', what is absolutely correct.

    SKE: /usr/lib.  That breaks people with RO mounted /usr
    SKE: directories.

Site library directory of cweb is `/usr/local/lib/cweb' now.

- cweb now creates `/usr/local/lib/cweb/' directory, into which site
  local files can be placed.  This path is compiled in cweb.  Is it
  OK, or should this directory be `/usr/lib/'?  (I think
  `/usr/local/lib' is better.  No general local stuff should be out
  of `/usr/local/'.)
- cweb creates this directory in `postinst' and removes it in
  `postrm' after receiving bug #6638.  However there is little problem
  with it -- I can't see it in `dpkg -L' report.  And this is a method
  I use for inspecting what files newly installed package uses and
  consider to be quickly available simple information about any
  package.  So it's more safe (against ro mounted /usr/local/) but
  less consistent.  What to do with it?

Milan Zamazal

"Having GNU Emacs is like having a dragon's cave of treasures."
                                                Robert J. Chassell

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com

Reply to: