[PATCH] 1/2: Introduce new path variables to prepare for better FHS respect

Christian Perrier bubulle at debian.org
Sun Oct 14 12:26:09 GMT 2007

This patch prepares the 3.2.0pre1 sources to better respect FHS.
This introduces new configurable paths so that fhs-filespaths.patch
can associate files to them.

The point is adding:

- a path for discardable cache data to host files such as
  browse.dat, printers.tbd, <printer>.tdb
- a path for non discardable state data: basically all TDB files
  that may need to be backed up
- a path for shared data: mostly codepage stuff

All these are currently mixed in "libdir" (${prefix}/lib/samba by

The patch keeps these new paths to point to ${prefix}/lib/samba by
default and does therefore not change the software behaviour.

This patch is indeed a split of a "fhs.patch" we use for years in
Debian to place data in directories that fit the Debian policy (indeed
the FHS).

Used alone, it just adds unused variables...so it can safely be used
in sources without any behaviour change and no impact on Samba
developers work.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fhs-newpaths.patch
Type: text/x-diff
Size: 4297 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20071014/dfa0c4c6/fhs-newpaths.bin

More information about the samba-technical mailing list