question on manpages/hier(7)

2013-05-09 Thread Paul Beard
Where should site-specific, ie local, man pages live?

For instance, I have: 

/usr/local/man/man1/php.1.gz
/usr/local/share/man/man1/php.1.gz

-rw-r--r--  1 root  wheel  3597 May  6 00:38 /usr/local/man/man1/php.1.gz
-rw-r--r--  1 root  wheel  3383 Dec 20 19:54 /usr/local/share/man/man1/php.1.gz

My understanding is that the older one is in the right place. The newer one is 
registered as belonging to php5.4-14 while the old one is orphaned. 

I learn from lsof that the file that is actually opened and displayed is this 
one:
/usr/local/man/cat1/php.1.gz

But that's in /usr/local/man, not /usr/local/share/man. So it's in /usr/local 
but why not in /usr/local/share? And it's orphaned. Should it be? 

I have just completed a several day cleanup of my local ports installation so 
I'm a little mystified at this. I also rebuilt my kernel and world so I should 
be up-to-date there too. 


--
Paul Beard

Are you trying to win an argument or solve a problem? 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: question on manpages/hier(7)

2013-05-09 Thread Dan Nelson
In the last episode (May 09), Paul Beard said:
 Where should site-specific, ie local, man pages live?
 
 For instance, I have: 
 
 /usr/local/man/man1/php.1.gz
 /usr/local/share/man/man1/php.1.gz
 
 -rw-r--r--  1 root  wheel  3597 May  6 00:38 /usr/local/man/man1/php.1.gz
 -rw-r--r--  1 root  wheel  3383 Dec 20 19:54 
 /usr/local/share/man/man1/php.1.gz
 
 My understanding is that the older one is in the right place. The newer
 one is registered as belonging to php5.4-14 while the old one is orphaned.

I don't have a /usr/local/share/man/ directory at all, and have 7300 files in
/usr/local/man/man?/ , so I'd say /usr/local/man/ is the correct location :)
 

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: question on manpages/hier(7)

2013-05-09 Thread Paul Beard

On May 9, 2013, at 10:39 AM, Dan Nelson dnel...@allantgroup.com wrote:

 I don't have a /usr/local/share/man/ directory at all, and have 7300 files in
 /usr/local/man/man?/ , so I'd say /usr/local/man/ is the correct location :)

I wish it were that simple here. /etc/manpath.config is unmodified so I have no 
idea how this is getting all futzed up. 

I am finding files in /usr/local/share/man/man1 that were updated yesterday 
with others dating back to 2007. 


--
Paul Beard

Are you trying to win an argument or solve a problem? 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org