Bug 22173 - nmh needs a version bump
Bug#: 22173 Product:  Gentoo Linux Version: 1.4_rc4 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: net-mail@gentoo.org Reported By: krautj@earthlink.net
Component: Ebuilds
URL: 
Summary: nmh needs a version bump
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2003-06-03 15:02 0000
Description:   Opened: 2003-06-03 15:02 0000
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 From Martin Holzer (RETIRED) 2003-06-03 15:17:55 0000 -------
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 From Jonathan Kraut 2003-06-03 16:02:41 0000 -------
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 From Jonathan Kraut 2003-06-03 16:04:06 0000 -------
Created an attachment (id=12765) [details]
patch against nmh-1.0.4_r2.ebuild

------- Comment #4 From Matthew Kennedy (RETIRED) 2003-06-19 08:20:36 0000 -------
oops. don't know why i got this one. reassigning

------- Comment #5 From Claes Nästén 2003-07-29 03:43:01 0000 -------
Created an attachment (id=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 From Claes Nästén 2003-07-29 03:44:38 0000 -------
Created an attachment (id=15180) [details]
patch used in nmh-1.1rc1 ebuild

patch fixing inc.c not making use of the login name in .netrc

------- Comment #7 From Aaron Peterson 2004-03-08 16:44:56 0000 -------
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 From Sam Yates 2004-05-26 04:17:07 0000 -------
Created an attachment (id=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 From Sam Yates 2004-05-26 04:17:07 0000 -------
Created an attachment (id=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 From Sam Yates 2004-05-26 04:18:45 0000 -------
Created an attachment (id=32065) [details]
access violation patch for 1.1rc3 ebuild

------- Comment #11 From Sam Yates 2004-05-26 04:19:17 0000 -------
Created an attachment (id=32066) [details]
install-mh overwrite patch for 1.1rc3

------- Comment #12 From Tuan Van (RETIRED) 2004-07-30 19:42:32 0000 -------
nmh-1.1 in CVS. Thanks everyone.