From owner-freebsd-bugs Mon Feb 11 16: 0:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 63AC037B404 for ; Mon, 11 Feb 2002 16:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1C002219715; Mon, 11 Feb 2002 16:00:02 -0800 (PST) (envelope-from gnats) Date: Mon, 11 Feb 2002 16:00:02 -0800 (PST) Message-Id: <200202120000.g1C002219715@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Alan Eldridge Subject: Re: bin/34832: /usr/share/man/cat3/setkey.3.gz linked to crypt.3.gz, not cipher.3.gz Reply-To: Alan Eldridge Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/34832; it has been noted by GNATS. From: Alan Eldridge To: "Crist J. Clark" Cc: Alan Eldridge , FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/34832: /usr/share/man/cat3/setkey.3.gz linked to crypt.3.gz, not cipher.3.gz Date: Mon, 11 Feb 2002 18:50:07 -0500 On Mon, Feb 11, 2002 at 03:30:44PM -0800, Crist J. Clark wrote: >On Mon, Feb 11, 2002 at 09:42:35AM -0500, Alan Eldridge wrote: >[snip] >This is a problem with the way the catpages are distributed. Right >now, they are a separate distro. They are built for a "default" >The workaround for this is not as easy as it could be; catman(1) >won't see the current inconsistencies in your man and catpages, > > # cd /usr/share/man/cat3 > # rm cipher.3.gz des_cipher.3.gz des_setkey.3.gz encrypt.3.gz setkey.3.gz > # echo /usr/bin/catman | su -m man > >There may be other inconsistencies between your catpages and >manpages. I'd actually recommend that instead of the above, you >rebuild them all, > > # find /usr/share/man/cat* -type f -delete > # echo /usr/bin/catman | su -m man > >It takes a few minutes, but it is a one time cost. Ah...now is there a way to say "find all files that are dupes of each other and (hard-or-sym) link 'em together"? From "man catman": BUGS man(1) is a setuid program. Be careful that user `man' has write permis- sions to the catman directories. Catman does not check for any `.so' in man page sources. Use hard or symlinks to avoid redundant formatted man pages. I presume this means that it *doesn't* use hard or symlinks on its own. -- Alan Eldridge "Dave's not here, man." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message