summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2009-05-28 16:26:38 +0000
committerFabian Groffen <grobian@gentoo.org>2009-05-28 16:26:38 +0000
commitdc939146bcd6806113e6395a214b380101665f20 (patch)
tree11906f65da250f0666cd9a8ca5fff1e78b43604c /mail-client
parentsparc stable wrt #269966 (diff)
downloadgentoo-2-dc939146bcd6806113e6395a214b380101665f20.tar.gz
gentoo-2-dc939146bcd6806113e6395a214b380101665f20.tar.bz2
gentoo-2-dc939146bcd6806113e6395a214b380101665f20.zip
Remove old. Update sidebar patch to fix 'wrong new mail notifications' (http://dev.mutt.org/trac/ticket/3204#comment:2)
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/mutt/ChangeLog8
-rw-r--r--mail-client/mutt/mutt-1.5.11-r2.ebuild197
-rw-r--r--mail-client/mutt/mutt-1.5.12.ebuild170
-rw-r--r--mail-client/mutt/mutt-1.5.13-r1.ebuild161
-rw-r--r--mail-client/mutt/mutt-1.5.13.ebuild158
-rw-r--r--mail-client/mutt/mutt-1.5.19.ebuild4
6 files changed, 9 insertions, 689 deletions
diff --git a/mail-client/mutt/ChangeLog b/mail-client/mutt/ChangeLog
index b413e1cfb10c..b6fde5d3bbe7 100644
--- a/mail-client/mutt/ChangeLog
+++ b/mail-client/mutt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-client/mutt
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/ChangeLog,v 1.127 2009/03/21 16:56:48 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/ChangeLog,v 1.128 2009/05/28 16:26:38 grobian Exp $
+
+ 28 May 2009; Fabian Groffen <grobian@gentoo.org> -mutt-1.5.11-r2.ebuild,
+ -mutt-1.5.12.ebuild, -mutt-1.5.13.ebuild, -mutt-1.5.13-r1.ebuild,
+ mutt-1.5.19.ebuild:
+ Remove old. Update sidebar patch to fix 'wrong new mail notifications'
+ (http://dev.mutt.org/trac/ticket/3204#comment:2)
21 Mar 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
metadata.xml:
diff --git a/mail-client/mutt/mutt-1.5.11-r2.ebuild b/mail-client/mutt/mutt-1.5.11-r2.ebuild
deleted file mode 100644
index 53bd8254815b..000000000000
--- a/mail-client/mutt/mutt-1.5.11-r2.ebuild
+++ /dev/null
@@ -1,197 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.11-r2.ebuild,v 1.15 2008/03/09 21:36:14 ricmm Exp $
-
-inherit eutils flag-o-matic autotools
-
-patch_assumed_charset="patch-1.5.10.tt.assumed_charset.1.gz"
-patch_compressed="patch-${PV}.rr.compressed.gz"
-patch_mbox_hook="patch-1.5.6.dw.mbox-hook.1"
-patch_pgp_timeout="patch-1.5.6.dw.pgp-timeout.1"
-patch_imap_fcc_status="mutt-1.5.4-imap-fcc-status.patch"
-patch_collapse_flagged="patch-1.5.4.lpr.collapse_flagged"
-opt_patch_nntp="patch-${PV}.vvv.nntp-gentoo.bz2"
-
-DESCRIPTION="a small but very powerful text-based mail client"
-HOMEPAGE="http://www.mutt.org"
-SRC_URI="ftp://ftp.mutt.org/mutt/devel/${P}.tar.gz
- !vanilla? (
- http://www.emaillab.org/${PN}/1.5.10/${patch_assumed_charset}
- http://mutt.kiev.ua/download/${P}/${patch_compressed}
- http://www.woolridge.ca/${PN}/patches/${patch_mbox_hook}
- http://www.woolridge.ca/${PN}/patches/${patch_pgp_timeout}
- http://www.plumlocosoft.com/software/download/${patch_imap_fcc_status}
- http://debian.lpr.ch/Mutt/${patch_collapse_flagged}
- nntp? (
- http://dev.gentoo.org/~ferdy/distfiles/${opt_patch_nntp}
- mirror://gentoo/mutt-1.5.7-mixmaster+nntp.patch
- )
- )"
-IUSE="berkdb buffysize cjk crypt debug gdbm gnutls gpgme idn imap mbox nls nntp pop sasl smime ssl vanilla"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
-RDEPEND="nls? ( sys-devel/gettext )
- >=sys-libs/ncurses-5.2
- gdbm? ( sys-libs/gdbm )
- !gdbm? ( berkdb? ( >=sys-libs/db-4 ) )
- imap? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- pop? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- idn? ( net-dns/libidn )
- gpgme? ( >=app-crypt/gpgme-0.9.0 )
- smime? ( >=dev-libs/openssl-0.9.6 )
- app-misc/mime-types"
-DEPEND="${RDEPEND}
- net-mail/mailbase"
-
-pkg_setup() {
- if ! use imap; then
- echo
- elog "The USE variable 'imap' is not in your USE flags."
- elog "For imap support in mutt, you will need to restart the build with USE=imap"
- echo
- fi
-}
-
-src_unpack() {
- unpack ${P}.tar.gz && cd "${S}" || die "unpack failed"
-
- # Fix configure.in sasl checking
- epatch "${FILESDIR}"/${P}-sasl.patch
-
- # Fix smime message signing
- epatch "${FILESDIR}"/${P}-fix-smime.patch
-
- # Fix possible vulnerability see bug #138125
- epatch "${FILESDIR}"/${P}-imap-browse.patch
-
- if ! use vanilla ; then
- for p in ${!patch_*} ; do
- epatch "${DISTDIR}"/${!p}
- done
-
- if use nntp; then
- epatch "${DISTDIR}"/${opt_patch_nntp}
- # Allow mutt to build with mixmaster and nntp both enabled
- epatch "${DISTDIR}"/mutt-1.5.7-mixmaster+nntp.patch
- fi
-
- # rm -rf configure autom4te.cache
- # aclocal -I m4 || die "aclocal failed"
- # autoheader || die "autoheader failed"
- # emake -C m4 -f Makefile.am.in || die "emake in m4 failed"
- # automake --foreign || die "automake failed"
- AT_M4DIR="m4" eautoreconf
- else
- eautoconf
- fi
-}
-
-src_compile() {
- declare myconf="
- $(use_enable nls) \
- $(use_enable gpgme) \
- $(use_enable imap) \
- $(use_enable pop) \
- $(use_enable crypt pgp) \
- $(use_enable smime) \
- $(use_enable cjk default-japanese) \
- $(use_enable debug) \
- $(use_with idn) \
- --with-curses \
- --sysconfdir=/etc/${PN} \
- --with-docdir=/usr/share/doc/${PN}-${PVR} \
- --with-regex \
- --disable-fcntl --enable-flock \
- --enable-nfs-fix --enable-external-dotlock \
- --with-mixmaster"
-
- # See Bug #22787
- unset WANT_AUTOCONF_2_5 WANT_AUTOCONF
-
- # mutt prioritizes gdbm over bdb, so we will too.
- # hcache feature requires at least one database is in USE.
- if use gdbm; then
- myconf="${myconf} --enable-hcache --with-gdbm --without-bdb"
- elif use berkdb; then
- myconf="${myconf} --enable-hcache --with-bdb --without-gdbm"
- else
- myconf="${myconf} --disable-hcache --without-gdbm --without-bdb"
- fi
-
- # there's no need for gnutls, ssl or sasl without either pop or imap.
- # in fact mutt's configure will bail if you do:
- # --without-pop --without-imap --with-ssl
- if use pop || use imap; then
- if use gnutls; then
- myconf="${myconf} --with-gnutls"
- elif use ssl; then
- myconf="${myconf} --with-ssl"
- fi
- # not sure if this should be mutually exclusive with the other two
- myconf="${myconf} $(use_with sasl)"
- else
- myconf="${myconf} --without-gnutls --without-ssl --without-sasl"
- fi
-
- # See Bug #11170
- case ${ARCH} in
- alpha|ppc) replace-flags "-O[3-9]" "-O2" ;;
- esac
-
- if use buffysize; then
- ewarn "USE=buffy-size is just a workaround. Disable it if you don't need it."
- myconf="${myconf} --enable-buffy-size"
- fi
-
- if use mbox; then
- myconf="${myconf} --with-mailpath=/var/spool/mail"
- else
- myconf="${myconf} --with-homespool=Maildir"
- fi
-
- if ! use vanilla; then
- # rr.compressed patch
- myconf="${myconf} --enable-compressed"
-
- # nntp patch
- myconf="${myconf} $(use_enable nntp)"
- fi
-
- econf ${myconf} || die "configure failed"
- emake || die "make failed"
-}
-
-src_install() {
- make DESTDIR=${D} install || die "install failed"
- find ${D}/usr/share/doc -type f | grep -v "html\|manual" | xargs gzip
- if use mbox; then
- insinto /etc/mutt
- newins ${FILESDIR}/Muttrc.mbox Muttrc
- else
- insinto /etc/mutt
- doins ${FILESDIR}/Muttrc
- fi
-
- # A newer file is provided by app-misc/mime-types. So we link it.
- rm ${D}/etc/${PN}/mime.types
- dosym /etc/mime.types /etc/${PN}/mime.types
-
- dodoc BEWARE COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION
-}
-
-pkg_postinst() {
- echo
- elog "If you are new to mutt you may want to take a look at"
- elog "the Gentoo QuickStart Guide to Mutt E-Mail:"
- elog " http://www.gentoo.org/doc/en/guide-to-mutt.xml"
- echo
-}
diff --git a/mail-client/mutt/mutt-1.5.12.ebuild b/mail-client/mutt/mutt-1.5.12.ebuild
deleted file mode 100644
index caf5777b0f17..000000000000
--- a/mail-client/mutt/mutt-1.5.12.ebuild
+++ /dev/null
@@ -1,170 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.12.ebuild,v 1.4 2007/03/18 02:12:26 genone Exp $
-
-inherit eutils flag-o-matic autotools
-
-DESCRIPTION="a small but very powerful text-based mail client"
-HOMEPAGE="http://www.mutt.org"
-SRC_URI="ftp://ftp.mutt.org/mutt/devel/${P}.tar.gz
- !vanilla? (
- mirror://gentoo/${P}-gentoo-patches.tar.bz2
- )"
-IUSE="berkdb buffysize cjk crypt debug gdbm gnutls gpgme idn imap mbox nls nntp pop sasl smime ssl vanilla"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-RDEPEND="nls? ( sys-devel/gettext )
- >=sys-libs/ncurses-5.2
- gdbm? ( sys-libs/gdbm )
- !gdbm? ( berkdb? ( >=sys-libs/db-4 ) )
- imap? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- pop? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- idn? ( net-dns/libidn )
- gpgme? ( >=app-crypt/gpgme-0.9.0 )
- smime? ( >=dev-libs/openssl-0.9.6 )
- app-misc/mime-types"
-DEPEND="${RDEPEND}
- net-mail/mailbase"
-
-PATCHDIR="${WORKDIR}"/${P}-gentoo-patches
-
-pkg_setup() {
- if ! use imap; then
- echo
- elog "The USE variable 'imap' is not in your USE flags."
- elog "For imap support in mutt, you will need to restart the build with USE=imap"
- echo
- fi
-}
-
-src_unpack() {
- unpack ${A} && cd "${S}" || die "unpack failed"
-
- # fix for linking problem (bug #142520) in configure.in
- epatch "${FILESDIR}"/${P}-fix-pop-c.patch
-
- if ! use vanilla ; then
- if ! use nntp ; then
- rm "${PATCHDIR}"/07-vvv.nntp-gentoo.patch
- rm "${PATCHDIR}"/08-mixmaster_nntp.patch
- fi
-
- for p in "${PATCHDIR}"/*.patch ; do
- epatch "${p}"
- done
-
- AT_M4DIR="m4" eautoreconf
- else
- eautoconf
- fi
-}
-
-src_compile() {
- declare myconf="
- $(use_enable nls) \
- $(use_enable gpgme) \
- $(use_enable imap) \
- $(use_enable pop) \
- $(use_enable crypt pgp) \
- $(use_enable smime) \
- $(use_enable cjk default-japanese) \
- $(use_enable debug) \
- $(use_with idn) \
- --with-curses \
- --sysconfdir=/etc/${PN} \
- --with-docdir=/usr/share/doc/${PN}-${PVR} \
- --with-regex \
- --disable-fcntl --enable-flock \
- --enable-nfs-fix --enable-external-dotlock \
- --with-mixmaster"
-
- # See Bug #22787
- unset WANT_AUTOCONF_2_5 WANT_AUTOCONF
-
- # mutt prioritizes gdbm over bdb, so we will too.
- # hcache feature requires at least one database is in USE.
- if use gdbm; then
- myconf="${myconf} --enable-hcache --with-gdbm --without-bdb"
- elif use berkdb; then
- myconf="${myconf} --enable-hcache --with-bdb --without-gdbm"
- else
- myconf="${myconf} --disable-hcache --without-gdbm --without-bdb"
- fi
-
- # there's no need for gnutls, ssl or sasl without either pop or imap.
- # in fact mutt's configure will bail if you do:
- # --without-pop --without-imap --with-ssl
- if use pop || use imap; then
- if use gnutls; then
- myconf="${myconf} --with-gnutls"
- elif use ssl; then
- myconf="${myconf} --with-ssl"
- fi
- # not sure if this should be mutually exclusive with the other two
- myconf="${myconf} $(use_with sasl)"
- else
- myconf="${myconf} --without-gnutls --without-ssl --without-sasl"
- fi
-
- # See Bug #11170
- case ${ARCH} in
- alpha|ppc) replace-flags "-O[3-9]" "-O2" ;;
- esac
-
- if use buffysize; then
- ewarn "USE=buffy-size is just a workaround. Disable it if you don't need it."
- myconf="${myconf} --enable-buffy-size"
- fi
-
- if use mbox; then
- myconf="${myconf} --with-mailpath=/var/spool/mail"
- else
- myconf="${myconf} --with-homespool=Maildir"
- fi
-
- if ! use vanilla; then
- # rr.compressed patch
- myconf="${myconf} --enable-compressed"
-
- # nntp patch
- myconf="${myconf} $(use_enable nntp)"
- fi
-
- econf ${myconf} || die "configure failed"
- emake || die "make failed"
-}
-
-src_install() {
- make DESTDIR=${D} install || die "install failed"
- find ${D}/usr/share/doc -type f | grep -v "html\|manual" | xargs gzip
- if use mbox; then
- insinto /etc/mutt
- newins ${FILESDIR}/Muttrc.mbox Muttrc
- else
- insinto /etc/mutt
- doins ${FILESDIR}/Muttrc
- fi
-
- # A newer file is provided by app-misc/mime-types. So we link it.
- rm ${D}/etc/${PN}/mime.types
- dosym /etc/mime.types /etc/${PN}/mime.types
-
- dodoc BEWARE COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION
-}
-
-pkg_postinst() {
- echo
- elog "If you are new to mutt you may want to take a look at"
- elog "the Gentoo QuickStart Guide to Mutt E-Mail:"
- elog " http://www.gentoo.org/doc/en/guide-to-mutt.xml"
- echo
-}
diff --git a/mail-client/mutt/mutt-1.5.13-r1.ebuild b/mail-client/mutt/mutt-1.5.13-r1.ebuild
deleted file mode 100644
index 534903366b94..000000000000
--- a/mail-client/mutt/mutt-1.5.13-r1.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.13-r1.ebuild,v 1.13 2008/03/09 21:36:14 ricmm Exp $
-
-inherit eutils flag-o-matic autotools
-
-DESCRIPTION="a small but very powerful text-based mail client"
-HOMEPAGE="http://www.mutt.org"
-SRC_URI="ftp://ftp.mutt.org/mutt/devel/${P}.tar.gz
- !vanilla? (
- mirror://gentoo/${P}-gentoo-patches.tar.bz2
- )"
-IUSE="berkdb buffysize cjk crypt debug gdbm gnutls gpgme idn imap mbox nls nntp pop sasl smime ssl vanilla"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
-RDEPEND="nls? ( sys-devel/gettext )
- >=sys-libs/ncurses-5.2
- gdbm? ( sys-libs/gdbm )
- !gdbm? ( berkdb? ( >=sys-libs/db-4 ) )
- imap? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- pop? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- idn? ( net-dns/libidn )
- gpgme? ( >=app-crypt/gpgme-0.9.0 )
- smime? ( >=dev-libs/openssl-0.9.6 )
- app-misc/mime-types"
-DEPEND="${RDEPEND}
- net-mail/mailbase"
-
-PATCHDIR="${WORKDIR}"/${P}-gentoo-patches
-
-src_unpack() {
- unpack ${A} && cd "${S}" || die "unpack failed"
-
- # Fix for bug #146696
- epatch "${FILESDIR}"/${P}-sasl.patch
-
- if ! use vanilla ; then
- if ! use nntp ; then
- rm "${PATCHDIR}"/07-vvv.nntp-gentoo.patch
- rm "${PATCHDIR}"/08-mixmaster_nntp.patch
- fi
-
- for p in "${PATCHDIR}"/*.patch ; do
- epatch "${p}"
- done
-
- AT_M4DIR="m4" eautoreconf
- else
- eautoconf
- fi
-}
-
-src_compile() {
- declare myconf="
- $(use_enable nls) \
- $(use_enable gpgme) \
- $(use_enable imap) \
- $(use_enable pop) \
- $(use_enable crypt pgp) \
- $(use_enable smime) \
- $(use_enable cjk default-japanese) \
- $(use_enable debug) \
- $(use_with idn) \
- --with-curses \
- --sysconfdir=/etc/${PN} \
- --with-docdir=/usr/share/doc/${PN}-${PVR} \
- --with-regex \
- --disable-fcntl --enable-flock \
- --enable-nfs-fix --enable-external-dotlock \
- --with-mixmaster"
-
- # See Bug #22787
- unset WANT_AUTOCONF_2_5 WANT_AUTOCONF
-
- # mutt prioritizes gdbm over bdb, so we will too.
- # hcache feature requires at least one database is in USE.
- if use gdbm; then
- myconf="${myconf} --enable-hcache --with-gdbm --without-bdb"
- elif use berkdb; then
- myconf="${myconf} --enable-hcache --with-bdb --without-gdbm"
- else
- myconf="${myconf} --disable-hcache --without-gdbm --without-bdb"
- fi
-
- # there's no need for gnutls, ssl or sasl without either pop or imap.
- # in fact mutt's configure will bail if you do:
- # --without-pop --without-imap --with-ssl
- if use pop || use imap; then
- if use gnutls; then
- myconf="${myconf} --with-gnutls"
- elif use ssl; then
- myconf="${myconf} --with-ssl"
- fi
- # not sure if this should be mutually exclusive with the other two
- myconf="${myconf} $(use_with sasl)"
- else
- myconf="${myconf} --without-gnutls --without-ssl --without-sasl"
- fi
-
- # See Bug #11170
- case ${ARCH} in
- alpha|ppc) replace-flags "-O[3-9]" "-O2" ;;
- esac
-
- if use buffysize; then
- ewarn "USE=buffy-size is just a workaround. Disable it if you don't need it."
- myconf="${myconf} --enable-buffy-size"
- fi
-
- if use mbox; then
- myconf="${myconf} --with-mailpath=/var/spool/mail"
- else
- myconf="${myconf} --with-homespool=Maildir"
- fi
-
- if ! use vanilla; then
- # rr.compressed patch
- myconf="${myconf} --enable-compressed"
-
- # nntp patch
- myconf="${myconf} $(use_enable nntp)"
- fi
-
- econf ${myconf} || die "configure failed"
- emake || die "make failed"
-}
-
-src_install() {
- make DESTDIR=${D} install || die "install failed"
- find ${D}/usr/share/doc -type f | grep -v "html\|manual" | xargs gzip
- if use mbox; then
- insinto /etc/mutt
- newins ${FILESDIR}/Muttrc.mbox Muttrc
- else
- insinto /etc/mutt
- doins ${FILESDIR}/Muttrc
- fi
-
- # A newer file is provided by app-misc/mime-types. So we link it.
- rm ${D}/etc/${PN}/mime.types
- dosym /etc/mime.types /etc/${PN}/mime.types
-
- dodoc BEWARE COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION
-}
-
-pkg_postinst() {
- echo
- elog "If you are new to mutt you may want to take a look at"
- elog "the Gentoo QuickStart Guide to Mutt E-Mail:"
- elog " http://www.gentoo.org/doc/en/guide-to-mutt.xml"
- echo
-}
diff --git a/mail-client/mutt/mutt-1.5.13.ebuild b/mail-client/mutt/mutt-1.5.13.ebuild
deleted file mode 100644
index 64dd2cafe0b6..000000000000
--- a/mail-client/mutt/mutt-1.5.13.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.13.ebuild,v 1.3 2007/03/18 02:12:26 genone Exp $
-
-inherit eutils flag-o-matic autotools
-
-DESCRIPTION="a small but very powerful text-based mail client"
-HOMEPAGE="http://www.mutt.org"
-SRC_URI="ftp://ftp.mutt.org/mutt/devel/${P}.tar.gz
- !vanilla? (
- mirror://gentoo/${P}-gentoo-patches.tar.bz2
- )"
-IUSE="berkdb buffysize cjk crypt debug gdbm gnutls gpgme idn imap mbox nls nntp pop sasl smime ssl vanilla"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-RDEPEND="nls? ( sys-devel/gettext )
- >=sys-libs/ncurses-5.2
- gdbm? ( sys-libs/gdbm )
- !gdbm? ( berkdb? ( >=sys-libs/db-4 ) )
- imap? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- pop? (
- gnutls? ( >=net-libs/gnutls-1.0.17 )
- !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
- sasl? ( >=dev-libs/cyrus-sasl-2 )
- )
- idn? ( net-dns/libidn )
- gpgme? ( >=app-crypt/gpgme-0.9.0 )
- smime? ( >=dev-libs/openssl-0.9.6 )
- app-misc/mime-types"
-DEPEND="${RDEPEND}
- net-mail/mailbase"
-
-PATCHDIR="${WORKDIR}"/${P}-gentoo-patches
-
-src_unpack() {
- unpack ${A} && cd "${S}" || die "unpack failed"
-
- if ! use vanilla ; then
- if ! use nntp ; then
- rm "${PATCHDIR}"/07-vvv.nntp-gentoo.patch
- rm "${PATCHDIR}"/08-mixmaster_nntp.patch
- fi
-
- for p in "${PATCHDIR}"/*.patch ; do
- epatch "${p}"
- done
-
- AT_M4DIR="m4" eautoreconf
- else
- eautoconf
- fi
-}
-
-src_compile() {
- declare myconf="
- $(use_enable nls) \
- $(use_enable gpgme) \
- $(use_enable imap) \
- $(use_enable pop) \
- $(use_enable crypt pgp) \
- $(use_enable smime) \
- $(use_enable cjk default-japanese) \
- $(use_enable debug) \
- $(use_with idn) \
- --with-curses \
- --sysconfdir=/etc/${PN} \
- --with-docdir=/usr/share/doc/${PN}-${PVR} \
- --with-regex \
- --disable-fcntl --enable-flock \
- --enable-nfs-fix --enable-external-dotlock \
- --with-mixmaster"
-
- # See Bug #22787
- unset WANT_AUTOCONF_2_5 WANT_AUTOCONF
-
- # mutt prioritizes gdbm over bdb, so we will too.
- # hcache feature requires at least one database is in USE.
- if use gdbm; then
- myconf="${myconf} --enable-hcache --with-gdbm --without-bdb"
- elif use berkdb; then
- myconf="${myconf} --enable-hcache --with-bdb --without-gdbm"
- else
- myconf="${myconf} --disable-hcache --without-gdbm --without-bdb"
- fi
-
- # there's no need for gnutls, ssl or sasl without either pop or imap.
- # in fact mutt's configure will bail if you do:
- # --without-pop --without-imap --with-ssl
- if use pop || use imap; then
- if use gnutls; then
- myconf="${myconf} --with-gnutls"
- elif use ssl; then
- myconf="${myconf} --with-ssl"
- fi
- # not sure if this should be mutually exclusive with the other two
- myconf="${myconf} $(use_with sasl)"
- else
- myconf="${myconf} --without-gnutls --without-ssl --without-sasl"
- fi
-
- # See Bug #11170
- case ${ARCH} in
- alpha|ppc) replace-flags "-O[3-9]" "-O2" ;;
- esac
-
- if use buffysize; then
- ewarn "USE=buffy-size is just a workaround. Disable it if you don't need it."
- myconf="${myconf} --enable-buffy-size"
- fi
-
- if use mbox; then
- myconf="${myconf} --with-mailpath=/var/spool/mail"
- else
- myconf="${myconf} --with-homespool=Maildir"
- fi
-
- if ! use vanilla; then
- # rr.compressed patch
- myconf="${myconf} --enable-compressed"
-
- # nntp patch
- myconf="${myconf} $(use_enable nntp)"
- fi
-
- econf ${myconf} || die "configure failed"
- emake || die "make failed"
-}
-
-src_install() {
- make DESTDIR=${D} install || die "install failed"
- find ${D}/usr/share/doc -type f | grep -v "html\|manual" | xargs gzip
- if use mbox; then
- insinto /etc/mutt
- newins ${FILESDIR}/Muttrc.mbox Muttrc
- else
- insinto /etc/mutt
- doins ${FILESDIR}/Muttrc
- fi
-
- # A newer file is provided by app-misc/mime-types. So we link it.
- rm ${D}/etc/${PN}/mime.types
- dosym /etc/mime.types /etc/${PN}/mime.types
-
- dodoc BEWARE COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO VERSION
-}
-
-pkg_postinst() {
- echo
- elog "If you are new to mutt you may want to take a look at"
- elog "the Gentoo QuickStart Guide to Mutt E-Mail:"
- elog " http://www.gentoo.org/doc/en/guide-to-mutt.xml"
- echo
-}
diff --git a/mail-client/mutt/mutt-1.5.19.ebuild b/mail-client/mutt/mutt-1.5.19.ebuild
index 48d706add672..a49491e529a4 100644
--- a/mail-client/mutt/mutt-1.5.19.ebuild
+++ b/mail-client/mutt/mutt-1.5.19.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.19.ebuild,v 1.4 2009/03/11 20:18:32 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.19.ebuild,v 1.5 2009/05/28 16:26:38 grobian Exp $
inherit eutils flag-o-matic autotools
@@ -8,7 +8,7 @@ PATCHSET_REV=""
# note: latest sidebar patches can be found here:
# http://www.lunar-linux.org/index.php?option=com_content&task=view&id=44
-SIDEBAR_PATCH_N="patch-1.5.19.sidebar.20090308.txt"
+SIDEBAR_PATCH_N="patch-1.5.19.sidebar.20090522.txt"
DESCRIPTION="a small but very powerful text-based mail client"
HOMEPAGE="http://www.mutt.org"