Re: Altering the MANPATH in RPM

2002-05-04 Thread James Olin Oden
> > >is invoked from /opt/bin which then sets the environment > > >before launching the application from /opt/application/bin. > > > > > So add a man link farm as /opt/man to match those in > > /opt/bin > > > It does work, though migh not be pretty if you have > many man pages. > Also, I

Re: Altering the MANPATH in RPM

2002-05-04 Thread James Olin Oden
> > > > >Some of the ways to work out environment for /opt > >applications are > > > > a) You add PATH, MANPATH, LD_LIBRARY_PATH etc to all > > > Handled by man by default with AUTOPATH so > MANPATH can be left alone. Just fix PATH > Again, this is only handled if your files you have man pages

Re: Altering the MANPATH in RPM

2002-04-30 Thread Riku Meskanen
On Tue, 30 Apr 2002, Thomas Dodd wrote: > Riku Meskanen wrote: > > a) You add PATH, MANPATH, LD_LIBRARY_PATH etc to all > > > Handled by man by default with AUTOPATH so > MANPATH can be left alone. Just fix PATH > Yes I hear you. You explained it already on your first post, no offence but no need

Re: Altering the MANPATH in RPM

2002-04-30 Thread Thomas Dodd
Riku Meskanen wrote: >On Mon, 29 Apr 2002, Thomas Dodd wrote: > >>So the package needs to drop a file in /etc/profile.d >>that sets the executable path to /opt/foo/bin >>and man will aututomatically add /opt/foo/man >>to the MANPATH. It will also look for /opt/foo/bin/man >>if you don't want se

Re: Altering the MANPATH in RPM

2002-04-30 Thread Riku Meskanen
On Mon, 29 Apr 2002, Thomas Dodd wrote: > > So the package needs to drop a file in /etc/profile.d > that sets the executable path to /opt/foo/bin > and man will aututomatically add /opt/foo/man > to the MANPATH. It will also look for /opt/foo/bin/man > if you don't want seperate bin and man dirs f

Re: Altering the MANPATH in RPM

2002-04-29 Thread James Olin Oden
> > > > James Olin Oden wrote: > > ><- SNIP -> > > I like the man.config.d idea, but I think gnu-man has a solution already > in place. > > In the man(1) page MANPATH_MAP and the NOAUTOPATH control the > automatic construction of MANPATH. > > if NOAUTOPATH is not set in /etc/man.config then

Re: Altering the MANPATH in RPM

2002-04-29 Thread Thomas Dodd
James Olin Oden wrote: ><- SNIP -> > >>IMHO, best way I can think would be to enhance GNU man to >>support include directory, like xinetd with /etc/xinetd.d, >>logrotate with /etc/logrotate.d etc. >> >>Thus patch it use /etc/man.config.d if it already doesn't >>and contrib to project :) >> I l

Re: Altering the MANPATH in RPM

2002-04-26 Thread James Olin Oden
<- SNIP -> > IMHO, best way I can think would be to enhance GNU man to > support include directory, like xinetd with /etc/xinetd.d, > logrotate with /etc/logrotate.d etc. > > Thus patch it use /etc/man.config.d if it already doesn't > and contrib to project :) > Actually, I do think that idea is

Re: Altering the MANPATH in RPM

2002-04-26 Thread Riku Meskanen
On Fri, 26 Apr 2002, Riku Meskanen wrote: > > Don't think GNU man is not SUID-root or SGID-man any > recent distribution or is it? > Sorry my goof, I should learn rereading before submitting :/ Drop the *not* and it becomes clear what I was trying to say, thus | I don't think GNU man is SUID-roo

Re: Altering the MANPATH in RPM

2002-04-26 Thread Riku Meskanen
On Thu, 25 Apr 2002, James Olin Oden wrote: > > > > On Thu, 25 Apr 2002, James Olin Oden wrote: > > > > > The /opt/package/{etc,bin,man} practise can lead to quite riducule > > length with PATH, MANPATH etc. components when you have plenty > > of softare in your system, so beware. > > > Agreed, bu

Re: Altering the MANPATH in RPM

2002-04-25 Thread James Olin Oden
> > On Thu, 25 Apr 2002, James Olin Oden wrote: > > > The /opt/package/{etc,bin,man} practise can lead to quite riducule > length with PATH, MANPATH etc. components when you have plenty > of softare in your system, so beware. > Agreed, but there are times when you don't want your stuff to go in

Re: Altering the MANPATH in RPM

2002-04-25 Thread Riku Meskanen
On Thu, 25 Apr 2002, James Olin Oden wrote: > I guess since know one has responded to this question concerning a > clean way for an RPM to alter the MANPATH (i.e. alter it non-destructively > and using a safe mechanism to do so) says that there is not such a > clean method (please someone correct

Re: Altering the MANPATH in RPM

2002-04-25 Thread James Olin Oden
> > > I guess since know one has responded to this question concerning a > > clean way for an RPM to alter the MANPATH (i.e. alter it non-destructively > > and using a safe mechanism to do so) says that there is not such a > > clean method (please someone correct me if I am wrong). If this is

Re: Altering the MANPATH in RPM

2002-04-25 Thread John Summerfield
> I guess since know one has responded to this question concerning a > clean way for an RPM to alter the MANPATH (i.e. alter it non-destructively > and using a safe mechanism to do so) says that there is not such a > clean method (please someone correct me if I am wrong). If this is the case >

Re: Altering the MANPATH in RPM

2002-04-25 Thread James Olin Oden
I guess since know one has responded to this question concerning a clean way for an RPM to alter the MANPATH (i.e. alter it non-destructively and using a safe mechanism to do so) says that there is not such a clean method (please someone correct me if I am wrong). If this is the case then perha