diff options
Diffstat (limited to 'mail-client/mutt/mutt-1.5.20-r6.ebuild')
-rw-r--r-- | mail-client/mutt/mutt-1.5.20-r6.ebuild | 37 |
1 files changed, 12 insertions, 25 deletions
diff --git a/mail-client/mutt/mutt-1.5.20-r6.ebuild b/mail-client/mutt/mutt-1.5.20-r6.ebuild index 3f41aa8d81aa..a6679a57091f 100644 --- a/mail-client/mutt/mutt-1.5.20-r6.ebuild +++ b/mail-client/mutt/mutt-1.5.20-r6.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.20-r6.ebuild,v 1.4 2009/12/17 11:38:25 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.20-r6.ebuild,v 1.5 2010/04/11 19:17:46 grobian Exp $ inherit eutils flag-o-matic autotools -PATCHSET_REV="-r4" +PATCHSET_REV="-r5" # note: latest sidebar patches can be found here: # http://www.lunar-linux.org/index.php?option=com_content&task=view&id=44 @@ -25,7 +25,7 @@ SRC_URI="ftp://ftp.mutt.org/mutt/devel/${P}.tar.gz IUSE="berkdb crypt debug doc gdbm gnutls gpg idn imap mbox nls nntp pop qdbm sasl sidebar smime smtp ssl vanilla" SLOT="0" LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~mips" RDEPEND=">=sys-libs/ncurses-5.2 qdbm? ( dev-db/qdbm ) !qdbm? ( @@ -75,35 +75,22 @@ src_unpack() { built_with_use sys-libs/ncurses unicode && \ epatch "${FILESDIR}"/mutt-1.5.18-solaris-ncurses-chars.patch epatch "${FILESDIR}"/mutt-1.5.20-gpgme-1.2.0.patch - # post-release hot-fixes - epatch "${FILESDIR}"/mutt-1.5.20-imap-port-invalid-d6f88fbf8387.patch - epatch "${FILESDIR}"/mutt-1.5.20-header-weeding-f40de578e8ed.patch - epatch "${FILESDIR}"/mutt-1.5.20-display-unsigned-pgp-7f37d0a57d83.patch - epatch "${FILESDIR}"/mutt-1.5.20-unmailbox-segfault-25e46aad362b.patch - epatch "${FILESDIR}"/mutt-1.5.20-mbox-new-mail-bd59be56c6b0.patch - epatch "${FILESDIR}"/mutt-1.5.20-mbox-unchanged-new-mail-9ae13dedb5ed.patch - epatch "${FILESDIR}"/mutt-1.5.20-imap-start-fatal-fe30f394cbe6.patch - epatch "${FILESDIR}"/mutt-1.5.20-tab-subject-questionmark-298194c414f0-cff8e8ce4327.patch - epatch "${FILESDIR}"/mutt-1.5.20-smtp-batch-mode-0a3de4d9a009-f6c6066a5925.patch - epatch "${FILESDIR}"/mutt-1.5.20-leave-mailbox-no-new-mail-118b8fef8aae.patch - epatch "${FILESDIR}"/mutt-1.5.20-gpgme-keys-d41e043fa775.patch - epatch "${FILESDIR}"/mutt-1.5.20-mhs-flags-leak-9f3053f75f27.patch - epatch "${FILESDIR}"/mutt-1.5.20-hcache-restore-address-848f08512bf3.patch - epatch "${FILESDIR}"/mutt-1.5.20-ungroup-command-77ac8b5c2be6.patch - epatch "${FILESDIR}"/mutt-1.5.20-propagate-mh_read_sequences-2fc9348684fe.patch - epatch "${FILESDIR}"/mutt-1.5.20-hcache-uidvalidity-size-fix-a2a4286491b4.patch - epatch "${FILESDIR}"/mutt-1.5.20-fix-mh-parsing-14bb498c6a1c.patch - epatch "${FILESDIR}"/mutt-1.5.20-search-pattern-crash-053ef7bbaa72.patch - epatch "${FILESDIR}"/mutt-1.5.20-next-invalid-pattern-crash-6a08a5244d60.patch epatch "${FILESDIR}"/mutt-1.5.20-dont-reveal-bbc.patch + # post-release hot-fixes + for rev in $(eval echo {0..${PR#r}}) ; do + local revpatch="${PATCHDIR}"/mutt-gentoo-${PV}-r${rev}.patch + [[ -e ${revpatch} ]] && \ + epatch "${revpatch}" + done + # patch version string for bug reports sed -i -e 's/"Mutt %s (%s)"/"Mutt %s (%s, Gentoo '"${PVR}"')"/' \ muttlib.c || die "failed patching in Gentoo version" if use !vanilla && use !sidebar ; then use nntp || rm "${PATCHDIR}"/06-nntp.patch - for p in "${PATCHDIR}"/*.patch ; do + for p in "${PATCHDIR}"/[0-9][0-9]-*.patch ; do epatch "${p}" done fi |