From owner-freebsd-questions Fri May 19 20:27:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from blues.jpj.net (blues.jpj.net [204.97.17.146]) by hub.freebsd.org (Postfix) with ESMTP id 989BD37B72F for ; Fri, 19 May 2000 20:27:49 -0700 (PDT) (envelope-from trevor@jpj.net) Received: from localhost (trevor@localhost) by blues.jpj.net (right/backatcha) with ESMTP id e4K3RlQ27745; Fri, 19 May 2000 23:27:47 -0400 (EDT) Date: Fri, 19 May 2000 23:27:47 -0400 (EDT) From: Trevor Johnson To: Christian Weisgerber Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Removing man page cruft? In-Reply-To: <20000520014509.A51040@bigeye.rhein-neckar.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I just wondered why my ssh-keygen(1) man page seemed obsolete. > Turns out I still had a cat man page from a long removed OpenSSH > port lying around, which was shown by man(1) in preference of the > newer man page in the base system. > > What is the recommended way to get rid of this cruft (and why > doesn't this already happen by default)? Running catman with the -remove or -r option should delete cat pages that have no source, and running it with no options should replace old cat pages for which a newer source exists. From a quick look at /etc/periodic/weekly/330.catman it doesn't look like those are done automatically. Perhaps the reasoning is that some programs may come with only the cat pages. I used to have a few like that. I notice that the OpenSSH port doesn't have MAN1= ssh-keygen in its makefile and instead has the man pages in the PLIST, contrary to section 4.4.9 in the Handbook. However, a port that does it by the book had the same problem. Having pkg_delete or "make deinstall" clear this stuff out--leaving alone cat pages that don't belong to the package--seems like a good idea. Removing the cat page directories seems to prevent storage of preformatted pages. That might be acceptable for people who have middling to fast computers. -- Trevor Johnson http://jpj.net/~trevor/gpgkey.txt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message