Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22173 - nmh needs a version bump
Summary: nmh needs a version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-06-03 15:02 UTC by Jonathan Kraut
Modified: 2004-07-30 19:42 UTC (History)
3 users (show)

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


Attachments
patch against nmh-1.0.4_r2.ebuild (nmh-1.1_rc1.ebuild.new.patch,2.28 KB, patch)
2003-06-03 16:04 UTC, Jonathan Kraut
Details | Diff
nmh 1.1rc1 ebuild (nmh-1.1_rc1.ebuild,1.18 KB, text/plain)
2003-07-29 03:43 UTC, Claes Nästén
Details
patch used in nmh-1.1rc1 ebuild (nmh-inc-login.diff,620 bytes, patch)
2003-07-29 03:44 UTC, Claes Nästén
Details | Diff
updated ebuild (nmh-1.1_rc3.ebuild,1.25 KB, text/plain)
2004-05-26 04:17 UTC, Sam Yates
Details
access violation patch for 1.1rc3 ebuild (nmh-configure-vitest.patch,574 bytes, patch)
2004-05-26 04:18 UTC, Sam Yates
Details | Diff
install-mh overwrite patch for 1.1rc3 (nmh-install.patch,1.05 KB, patch)
2004-05-26 04:19 UTC, Sam Yates
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Kraut 2003-06-03 15:02:44 UTC
the latest version of nmh is nmh-1.1_rc1 and it's been out for a while.
just updating the name of the ebuild seems to do the trick.

Thanks!
-Jon Kraut


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-06-03 15:17:55 UTC
still get errors after
#ln -s vim vi
make[1]: Leaving directory `/var/tmp/portage/nmh-1.1_rc1/work/nmh-1.1-RC1/docs'
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-nmh-1.1_rc1-15460.log"

open_wr:   /.nonexist-file.swp
open_wr:   /.nonexist-file.swp
--------------------------------------------------------------------------------
Comment 2 Jonathan Kraut 2003-06-03 16:02:41 UTC
I don't have either vi or vim (emacs for me) installed and I just emerged it again successfully, I guess because my EDITOR env variable for root is set to the gentoo default of /usr/bin/nano.  But this can be explicitly set during configure, so perhaps just setting it to nano and removing vi/vim as a dependancy is better.
And...
Whoops it has been a while since i emerged this and previously I had renamed the package, so I guess I the ebuild does need more work. Sorry.
So here's a patch...
Comment 3 Jonathan Kraut 2003-06-03 16:04:06 UTC
Created attachment 12765 [details, diff]
patch against nmh-1.0.4_r2.ebuild
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2003-06-19 08:20:36 UTC
oops. don't know why i got this one. reassigning
Comment 5 Claes Nästén 2003-07-29 03:43:01 UTC
Created attachment 15179 [details]
nmh 1.1rc1 ebuild

Another 1.1rc1 ebuild, based on the patch from Jonathan Kraut. This one however
uses $EDITOR if it's set otherwise sets it to /bin/nano. Also, it includes a
small patch to inc.c to make the login id field of .netrc be used.

Also, didn't get any access vialoations with or without EDITOR set and
/usr/bin/vi  doesn't exist.
Comment 6 Claes Nästén 2003-07-29 03:44:38 UTC
Created attachment 15180 [details, diff]
patch used in nmh-1.1rc1 ebuild

patch fixing inc.c not making use of the login name in .netrc
Comment 7 Aaron Peterson 2004-03-08 16:44:56 UTC
My friend reports loudly about is preferences, and he loves nmh..

He chastized me about how BSD was better because it had this package installed durring the basic install.

Will this new version get added to portage any time soon? The older one doesn't work on my box. 

Also, the dependancy on VI is not neccissary...  should  it be one of those virtual dependancies?


Comment 8 Sam Yates 2004-05-26 04:17:07 UTC
Created attachment 32064 [details]
updated ebuild

Trying to install nmh-1.1_rc3, and ran into the access violation problem. It
comes from a test for a buggy vi version apparently, and occurs because it
tries to open a file in / (that by intent should not exist). vim then tries to
write the swap file in the same directory.

There is another bug in the install procedue: if libdir and bindir are
identical, the install commands in uip/Makefile will remove the install-mh
program.

Updated version of Claes N
Comment 9 Sam Yates 2004-05-26 04:17:07 UTC
Created attachment 32064 [details]
updated ebuild

Trying to install nmh-1.1_rc3, and ran into the access violation problem. It
comes from a test for a buggy vi version apparently, and occurs because it
tries to open a file in / (that by intent should not exist). vim then tries to
write the swap file in the same directory.

There is another bug in the install procedue: if libdir and bindir are
identical, the install commands in uip/Makefile will remove the install-mh
program.

Updated version of Claes Nästén's ebuild attached; patches to follow.
Comment 10 Sam Yates 2004-05-26 04:18:45 UTC
Created attachment 32065 [details, diff]
access violation patch for 1.1rc3 ebuild
Comment 11 Sam Yates 2004-05-26 04:19:17 UTC
Created attachment 32066 [details, diff]
install-mh overwrite patch for 1.1rc3
Comment 12 Tuan Van (RETIRED) gentoo-dev 2004-07-30 19:42:32 UTC
nmh-1.1 in CVS. Thanks everyone.