diff options
author | Tuan Van <langthang@gentoo.org> | 2004-07-27 15:11:00 +0000 |
---|---|---|
committer | Tuan Van <langthang@gentoo.org> | 2004-07-27 15:11:00 +0000 |
commit | 6a23492e35a41261a826332c4e29f74d6fecfd77 (patch) | |
tree | b7d0c41631ae82beec461e782c8d26a2d406feec /mail-client/nmh | |
parent | small fixes (Manifest recommit) (diff) | |
download | gentoo-2-6a23492e35a41261a826332c4e29f74d6fecfd77.tar.gz gentoo-2-6a23492e35a41261a826332c4e29f74d6fecfd77.tar.bz2 gentoo-2-6a23492e35a41261a826332c4e29f74d6fecfd77.zip |
Revision bump, added patch wrt bug #57886.
Diffstat (limited to 'mail-client/nmh')
-rw-r--r-- | mail-client/nmh/ChangeLog | 8 | ||||
-rw-r--r-- | mail-client/nmh/Manifest | 7 | ||||
-rw-r--r-- | mail-client/nmh/files/digest-nmh-1.0.4-r3 | 1 | ||||
-rw-r--r-- | mail-client/nmh/files/nmh-1.0.4-m_getfld.patch | 16 | ||||
-rw-r--r-- | mail-client/nmh/nmh-1.0.4-r3.ebuild | 46 |
5 files changed, 76 insertions, 2 deletions
diff --git a/mail-client/nmh/ChangeLog b/mail-client/nmh/ChangeLog index 62e79ea623df..3a83a2027dec 100644 --- a/mail-client/nmh/ChangeLog +++ b/mail-client/nmh/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-client/nmh # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/nmh/ChangeLog,v 1.5 2004/07/17 22:08:37 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/nmh/ChangeLog,v 1.6 2004/07/27 15:11:00 langthang Exp $ + +*nmh-1.0.4-r3 (27 Jul 2004) + + 27 Jul 2004; Tuan Van <langthang@gentoo.org> + +files/nmh-1.0.4-m_getfld.patch, +nmh-1.0.4-r3.ebuild: + Revision bump, added patch wrt bug #57886. 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> nmh-1.0.4-r2.ebuild: virtual/glibc -> virtual/libc diff --git a/mail-client/nmh/Manifest b/mail-client/nmh/Manifest index 693d64f5220f..8371f84b1494 100644 --- a/mail-client/nmh/Manifest +++ b/mail-client/nmh/Manifest @@ -1,4 +1,9 @@ +MD5 f35a1c20a3579b7731b1aa1fa896e067 nmh-1.0.4-r3.ebuild 1189 +MD5 d33cc8b4025d7c1032ddbc30115a9fda .#ChangeLog.1.4 1676 +MD5 fd64c050f565de745a0ddaa0b667d292 .#Manifest.1.5 434 MD5 b5226cfd0e6f8df4a2bac1c0a3f43133 nmh-1.0.4-r2.ebuild 1846 -MD5 b068d08f07cca40929b781837f164b2d ChangeLog 1493 +MD5 b456e9da18c73fedb52d028aa26f6903 ChangeLog 1673 MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 MD5 339b171982f2e23bb6ea3bdd5eeca163 files/digest-nmh-1.0.4-r2 61 +MD5 339b171982f2e23bb6ea3bdd5eeca163 files/digest-nmh-1.0.4-r3 61 +MD5 20d9382ce8107879e07d57ae4b2b9727 files/nmh-1.0.4-m_getfld.patch 375 diff --git a/mail-client/nmh/files/digest-nmh-1.0.4-r3 b/mail-client/nmh/files/digest-nmh-1.0.4-r3 new file mode 100644 index 000000000000..96f0c1cac86b --- /dev/null +++ b/mail-client/nmh/files/digest-nmh-1.0.4-r3 @@ -0,0 +1 @@ +MD5 fd0dc5c84f67cfbcdfdc1196a5298e47 nmh-1.0.4.tar.gz 683215 diff --git a/mail-client/nmh/files/nmh-1.0.4-m_getfld.patch b/mail-client/nmh/files/nmh-1.0.4-m_getfld.patch new file mode 100644 index 000000000000..eb0d7677c236 --- /dev/null +++ b/mail-client/nmh/files/nmh-1.0.4-m_getfld.patch @@ -0,0 +1,16 @@ +--- sbr/m_getfld.orig.c 2004-07-26 22:07:25.169562740 -0700 ++++ sbr/m_getfld.c 2004-07-26 22:09:39.377799518 -0700 +@@ -727,9 +727,10 @@ + register char pc = *pat++; + + for(;;) { +- while (pc != *str++) +- if (str > es) +- return 0; ++ while (str <= es && pc != *str) ++ str++; ++ if (str++ > es) ++ return 0; + + sp = str; pp = pat; + while (pp < ep && *sp++ == *pp) diff --git a/mail-client/nmh/nmh-1.0.4-r3.ebuild b/mail-client/nmh/nmh-1.0.4-r3.ebuild new file mode 100644 index 000000000000..0debb7e543a0 --- /dev/null +++ b/mail-client/nmh/nmh-1.0.4-r3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/nmh/nmh-1.0.4-r3.ebuild,v 1.1 2004/07/27 15:11:00 langthang Exp $ + +inherit eutils +DESCRIPTION="New MH mail reader" +SRC_URI="ftp://ftp.mhost.com/pub/nmh/${P}.tar.gz" +HOMEPAGE="http://www.mhost.com/nmh/" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="~x86 ~sparc ~ppc" +IUSE="" + +DEPEND="virtual/libc + =sys-libs/db-1.85* + >=sys-libs/ncurses-5.2" + +src_compile() { + [ -z "${EDITOR}" ] && export EDITOR="prompter" + [ -z "${PAGER}" ] && export PAGER="/usr/bin/more" + + # bug #57886 + epatch ${FILESDIR}/${P}-m_getfld.patch || die "patch failed." + + # Redifining libdir to be bindir so the support binaries get installed + # correctly. Since no libraries are installed with nmh, this does not + # pose a problem at this time. + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --with-editor=${EDITOR} \ + --with-pager=${PAGER} \ + --enable-nmh-pop \ + --sysconfdir=/etc/nmh \ + --libdir=/usr/bin || die + make || die +} + +src_install() { + make prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + libdir=${D}/usr/bin \ + etcdir=${D}/etc/nmh install || die + dodoc COMPLETION-TCSH COMPLETION-ZSH TODO FAQ DIFFERENCES \ + MAIL.FILTERING Changelog* COPYRIGHT +} |