Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1404 - nmh places binaries in /usr/bin not /usr/bin/mh
Summary: nmh places binaries in /usr/bin not /usr/bin/mh
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Damon Conway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-29 21:54 UTC by Jon Nelson (RETIRED)
Modified: 2004-07-25 01:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Nelson (RETIRED) 2002-03-29 21:54:29 UTC
Traditionally, mh binaries have gone in /usr/lib/mh or /usr/bin/mh.  All other
distros I am aware of do this as well.  The reasoning has to do with the history
behind mh (and nmh) more than anything else, in particular how it is meant to be
used.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-04-04 00:12:45 UTC
Problem with making this change is that it breaks the FHS.  Is there any reason
why we *need* this fix, other than tradition?
Comment 2 Jon Nelson (RETIRED) 2002-04-04 09:46:52 UTC
Actually, it need not break the FHS.  The "other" traditional location of mh
programs is  /usr/lib/mh, and /usr/lib/<package> is OK according to the FHS for
binaries for a program that aren't meant to be run by a user.

Let me check here a moment.

OK.  Not *all* of the mh programs go in /usr/lib/mh, just some of them - (from a
RedHat machine):

/usr/lib/nmh/ap
/usr/lib/nmh/conflict
/usr/lib/nmh/dp
/usr/lib/nmh/fmtdump
/usr/lib/nmh/install-mh
/usr/lib/nmh/mhl
/usr/lib/nmh/mhtest
/usr/lib/nmh/post
/usr/lib/nmh/rcvdist
/usr/lib/nmh/rcvpack
/usr/lib/nmh/rcvstore
/usr/lib/nmh/rcvtty
/usr/lib/nmh/slocal
/usr/lib/nmh/spost

Additionally, Debian also places:

/usr/lib/mh/components which Redhat places in /etc/nmh/components
/usr/lib/mh/replcomps which RedHat places in /etc/nmh/replcomps

As far as I can tell, replcomps and components both *do* go in /etc/nmh

Anyway. I'll check later if the files in the Gentoo build go where they should
(/etc/nmh and /usr/lib/nmh being different from normal locations)

Additionally, I can prepare a patch/new ebuild that places things in the correct
locations.
Comment 3 Jon Nelson (RETIRED) 2002-07-01 22:26:17 UTC
I don't use nmh anymore so I don't care about this bug. 
Closing.