tech-pkg archive

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

Re: pkgsrc littering the home directory



  As as pure side-effect of compiling packages, my user got the following
  directories created for it in it's home directory:

  .config, .gconf, .gconfd, .ghc, .gstreamer-0.10,
  .gstreamer-0.8, .kde, .qt, .wapi

ick, but not that surprising

  I propose setting MAKE_ENV+=HOME=${WRKDIR:Q}/.home by default in pkgsrc.
  I'd also like to warn if this directory is nonempty when PKG_DEVELOPER
  is set. Can anyone see a reason this could be bad? I realise that there
  may still be packages that use getpwuid(getuid)->pw_dir or similar.
  Perhaps they can be fixed differently.

Sounds good.  I concur with jmmv that there may well be fallout, but
it's progress.

I suppose a before/after check of the original $HOME might be in order,
but your idea is much simpler and less invasive.



Home | Main Index | Thread Index | Old Index