summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2006-10-04 20:36:26 +0000
committerFabian Groffen <grobian@gentoo.org>2006-10-04 20:36:26 +0000
commit63529674fc248b383b5353c6304f748636bdc563 (patch)
treec21ebedb4098b67169c3f1056f66c2b63aa66a00 /mail-client
parentDrop old, add message to use mutt instead. Dropped ppc-macos keyword. (diff)
downloadgentoo-2-63529674fc248b383b5353c6304f748636bdc563.tar.gz
gentoo-2-63529674fc248b383b5353c6304f748636bdc563.tar.bz2
gentoo-2-63529674fc248b383b5353c6304f748636bdc563.zip
Drop old, add message to use mutt instead. Dropped ppc-macos keyword.
(Portage version: 2.1.1) (Unsigned Manifest commit)
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/muttng/Manifest39
-rw-r--r--mail-client/muttng/files/digest-muttng-200603293
-rw-r--r--mail-client/muttng/files/digest-muttng-200604153
-rw-r--r--mail-client/muttng/files/digest-muttng-200606193
-rw-r--r--mail-client/muttng/muttng-20060329.ebuild149
-rw-r--r--mail-client/muttng/muttng-20060415.ebuild149
-rw-r--r--mail-client/muttng/muttng-20060619.ebuild157
7 files changed, 8 insertions, 495 deletions
diff --git a/mail-client/muttng/Manifest b/mail-client/muttng/Manifest
index dac454ed7ca9..66d408cd886a 100644
--- a/mail-client/muttng/Manifest
+++ b/mail-client/muttng/Manifest
@@ -14,42 +14,19 @@ AUX muttng-20060619-imap-browse.patch 1215 RMD160 265d1dc69342106ec73d39600a9024
MD5 fa22e29a66971b7ebc38c3aae7f7e017 files/muttng-20060619-imap-browse.patch 1215
RMD160 265d1dc69342106ec73d39600a902415f6fc179e files/muttng-20060619-imap-browse.patch 1215
SHA256 0ae3b65b74d6aa187ba8c61a8539e77de71dc3baae620edd04fb6d1265be962f files/muttng-20060619-imap-browse.patch 1215
-DIST muttng-20060329.tar.gz 2733880 RMD160 c790c3dd05da28aff13d8eeec56b3a544e9a9d2f SHA1 69a53481f5b93a019f681b1f6c359b692c38a5b9 SHA256 3ac5f98f0125bf61e802bf15f4b34ac6719f5f37b907dd0acf6c19de39d8e16f
-DIST muttng-20060415.tar.gz 2733999 RMD160 29208c0f629ee2c6242ed3939e2a0d998fd000cf SHA1 6c85536d98169a2f316615b7497eb0094af58030 SHA256 289d15e02a6cd68ed00dfdf505f1922cbfe8e9f1f58a27356bc0ee01c4dec78d
DIST muttng-20060619.tar.gz 2734131 RMD160 d482eddb7ac5e1998faa570a496b14f85ff1eef1 SHA1 0060dec0d66f041b885090600b66514c0059ac2c SHA256 151a99dd4c2b91805885c13b78e35e0f2f24ff01ff459945ca5d783a11c293a2
-EBUILD muttng-20060329.ebuild 4240 RMD160 fd35440fce793f6fc63312b78f04476870ec9d02 SHA1 5c2a63e3d645f2ecf5366bb6f958d48e4e4112b1 SHA256 c266848261ece4b2200116f38086b080dc794222e2786073415b548465fa6288
-MD5 cdecabc125f909eb36c3c264fd0fb1cf muttng-20060329.ebuild 4240
-RMD160 fd35440fce793f6fc63312b78f04476870ec9d02 muttng-20060329.ebuild 4240
-SHA256 c266848261ece4b2200116f38086b080dc794222e2786073415b548465fa6288 muttng-20060329.ebuild 4240
-EBUILD muttng-20060415.ebuild 4240 RMD160 08a50dca3cd5c05dbf4d8d324df88d40c1d3736c SHA1 70fa9502399b57c183420037c02743389449e3b8 SHA256 1c5908e9ec74bc4d880d5f28515a1766af5c47834aec12e30bd0ab3b6425c008
-MD5 f3468a4679ac9e1105967c139db3ada2 muttng-20060415.ebuild 4240
-RMD160 08a50dca3cd5c05dbf4d8d324df88d40c1d3736c muttng-20060415.ebuild 4240
-SHA256 1c5908e9ec74bc4d880d5f28515a1766af5c47834aec12e30bd0ab3b6425c008 muttng-20060415.ebuild 4240
-EBUILD muttng-20060619-r1.ebuild 4637 RMD160 3add4825ef0e0c2ff74ba949f08c7a13839cab90 SHA1 23e617eb5a71cd9c0ffa42defb3baf82295c552d SHA256 f595aa000274db37519bce94d39ef2d1338b0c6c547ab9ae0be3c839a87ddc50
-MD5 974a1992860347c4213612e6b95aba6d muttng-20060619-r1.ebuild 4637
-RMD160 3add4825ef0e0c2ff74ba949f08c7a13839cab90 muttng-20060619-r1.ebuild 4637
-SHA256 f595aa000274db37519bce94d39ef2d1338b0c6c547ab9ae0be3c839a87ddc50 muttng-20060619-r1.ebuild 4637
-EBUILD muttng-20060619.ebuild 4542 RMD160 fefe8cf2ebf12bebf1012d4abe7c586f3bf51ea9 SHA1 bfc27c8a855505e3e5e19a03089a86e0f63742ef SHA256 a4981020ebb34cfb4a02f11a1a4678a564f506845de1097da0b8232892780973
-MD5 d2200277036bf91273387c1ca6b0e828 muttng-20060619.ebuild 4542
-RMD160 fefe8cf2ebf12bebf1012d4abe7c586f3bf51ea9 muttng-20060619.ebuild 4542
-SHA256 a4981020ebb34cfb4a02f11a1a4678a564f506845de1097da0b8232892780973 muttng-20060619.ebuild 4542
-MISC ChangeLog 4764 RMD160 cb7d8990d14a2b69932040210fa2b48f0292fbf9 SHA1 61a4d3643b37d602c54611fec5aff3016f1063e5 SHA256 46bb60e4d3390713053a8003fef8fe2b480fb9a6d713e1762632b4204454959d
-MD5 20e35c67030be7ff31ed57ac5e755154 ChangeLog 4764
-RMD160 cb7d8990d14a2b69932040210fa2b48f0292fbf9 ChangeLog 4764
-SHA256 46bb60e4d3390713053a8003fef8fe2b480fb9a6d713e1762632b4204454959d ChangeLog 4764
+EBUILD muttng-20060619-r1.ebuild 4459 RMD160 75a64ba8bc8080054651c1747ede87241979587d SHA1 cdb83455b19fbb99ba6b97130a90792d9fb26c58 SHA256 4ac5cb37fe7b3cf1867d5aab4dbf8b88b4eaa360f165e315fada6d0ff2e526bf
+MD5 d404f049cb7499f814a0f940f680c814 muttng-20060619-r1.ebuild 4459
+RMD160 75a64ba8bc8080054651c1747ede87241979587d muttng-20060619-r1.ebuild 4459
+SHA256 4ac5cb37fe7b3cf1867d5aab4dbf8b88b4eaa360f165e315fada6d0ff2e526bf muttng-20060619-r1.ebuild 4459
+MISC ChangeLog 4995 RMD160 fff7712c813ecb821cee42ea8b117e54a4cd7cb1 SHA1 01d4b27044c3a948cb57ba2094f7094f94f7d505 SHA256 f03158aef80778a4c8562b9d7ef5a19aaaad13c35fa8a0567950d0da8b67978f
+MD5 d3b59fa83816d29b39bd68ee454db14d ChangeLog 4995
+RMD160 fff7712c813ecb821cee42ea8b117e54a4cd7cb1 ChangeLog 4995
+SHA256 f03158aef80778a4c8562b9d7ef5a19aaaad13c35fa8a0567950d0da8b67978f ChangeLog 4995
MISC metadata.xml 227 RMD160 616aff994f5c341874112505920241b3d4d9cbfa SHA1 92fca333b3271f892dafdd5f990b146a6e5d713e SHA256 1c5377e37b9c43ed35a6528e7240e31408fa418ee710e571afe23e37a132e09c
MD5 856e89d80001e53a31845405dfef7f03 metadata.xml 227
RMD160 616aff994f5c341874112505920241b3d4d9cbfa metadata.xml 227
SHA256 1c5377e37b9c43ed35a6528e7240e31408fa418ee710e571afe23e37a132e09c metadata.xml 227
-MD5 5696ebb596f8b997371a8eebfd1d3791 files/digest-muttng-20060329 250
-RMD160 21ee78a71d1cf96bfc1e797e1bd12d65cf9d2e9c files/digest-muttng-20060329 250
-SHA256 80dc49fd4d3ddd31a5cbc73df37f3e69261a9ebaa03a518299d37926fee8b508 files/digest-muttng-20060329 250
-MD5 b9b031913508ffb76a429ba13c7078c8 files/digest-muttng-20060415 250
-RMD160 51257e55dbaa799630a4bc53ee7b20e2efa91800 files/digest-muttng-20060415 250
-SHA256 b4dfd18ed038360e9f93b2beabd26a042a6a5025729168a31e77597447de2a42 files/digest-muttng-20060415 250
-MD5 24e6c07d7b38658bd3f6d3ece25be7d9 files/digest-muttng-20060619 250
-RMD160 3191fb7fbbcd3240526a05a9c398a426d72d132a files/digest-muttng-20060619 250
-SHA256 00800190007a2d06b9c1d255b3981425cd162bab41f27f6007907bda127afc24 files/digest-muttng-20060619 250
MD5 24e6c07d7b38658bd3f6d3ece25be7d9 files/digest-muttng-20060619-r1 250
RMD160 3191fb7fbbcd3240526a05a9c398a426d72d132a files/digest-muttng-20060619-r1 250
SHA256 00800190007a2d06b9c1d255b3981425cd162bab41f27f6007907bda127afc24 files/digest-muttng-20060619-r1 250
diff --git a/mail-client/muttng/files/digest-muttng-20060329 b/mail-client/muttng/files/digest-muttng-20060329
deleted file mode 100644
index b5072f351d01..000000000000
--- a/mail-client/muttng/files/digest-muttng-20060329
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 80efb81839800ffde62219e30fdfbe63 muttng-20060329.tar.gz 2733880
-RMD160 c790c3dd05da28aff13d8eeec56b3a544e9a9d2f muttng-20060329.tar.gz 2733880
-SHA256 3ac5f98f0125bf61e802bf15f4b34ac6719f5f37b907dd0acf6c19de39d8e16f muttng-20060329.tar.gz 2733880
diff --git a/mail-client/muttng/files/digest-muttng-20060415 b/mail-client/muttng/files/digest-muttng-20060415
deleted file mode 100644
index 0c9388388175..000000000000
--- a/mail-client/muttng/files/digest-muttng-20060415
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 efb60ade42d73587bf5601c18b6ed043 muttng-20060415.tar.gz 2733999
-RMD160 29208c0f629ee2c6242ed3939e2a0d998fd000cf muttng-20060415.tar.gz 2733999
-SHA256 289d15e02a6cd68ed00dfdf505f1922cbfe8e9f1f58a27356bc0ee01c4dec78d muttng-20060415.tar.gz 2733999
diff --git a/mail-client/muttng/files/digest-muttng-20060619 b/mail-client/muttng/files/digest-muttng-20060619
deleted file mode 100644
index 84316cfe55d5..000000000000
--- a/mail-client/muttng/files/digest-muttng-20060619
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 7bc0c3fc4f1bfb28ec20c256e92cc41c muttng-20060619.tar.gz 2734131
-RMD160 d482eddb7ac5e1998faa570a496b14f85ff1eef1 muttng-20060619.tar.gz 2734131
-SHA256 151a99dd4c2b91805885c13b78e35e0f2f24ff01ff459945ca5d783a11c293a2 muttng-20060619.tar.gz 2734131
diff --git a/mail-client/muttng/muttng-20060329.ebuild b/mail-client/muttng/muttng-20060329.ebuild
deleted file mode 100644
index a71680268c9a..000000000000
--- a/mail-client/muttng/muttng-20060329.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/muttng/muttng-20060329.ebuild,v 1.4 2006/07/28 09:29:05 grobian Exp $
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="mutt-ng -- fork of mutt with added features"
-HOMEPAGE="http://www.muttng.org/"
-SRC_URI="http://nion.modprobe.de/mutt-ng/snapshots/${P}.tar.gz"
-IUSE="berkdb buffysize cjk crypt debug gdbm gnutls gpgme idn imap mbox nls nntp pop qdbm sasl slang smime smtp ssl doc"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc-macos ~sparc ~x86"
-RDEPEND="nls? ( sys-devel/gettext )
- >=sys-libs/ncurses-5.2
- idn? ( net-dns/libidn )
- qdbm? ( dev-db/qdbm )
- !qdbm? (
- gdbm? ( sys-libs/gdbm )
- !gdbm? ( berkdb? ( >=sys-libs/db-4 ) )
- )
- slang? ( =sys-libs/slang-1.4* )
- smtp? ( net-libs/libesmtp )
- 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 )
- )
- gpgme? ( >=app-crypt/gpgme-0.9.0 )
- doc? (
- www-client/lynx
- dev-libs/libxslt
- app-text/htmltidy
- app-text/openjade
- virtual/tetex
- )"
-DEPEND="${RDEPEND}
- net-mail/mailbase"
-
-src_unpack() {
- unpack ${A} || die "unpack failed"
- cd "${S}"
- epatch "${FILESDIR}/${PN}-20060309-smarttime.patch"
- epatch "${FILESDIR}/${PN}-20060317-sigremovereply.patch"
-
- use doc || epatch "${FILESDIR}/${PN}-20060309-nodoc.patch"
-}
-
-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_enable nntp) \
- $(use_with idn) \
- $(use_with smtp libesmtp) \
- --enable-compressed \
- --sysconfdir=/etc/${PN} \
- --with-docdir=/usr/share/doc/${PN}-${PVR} \
- --with-regex \
- --disable-fcntl --enable-flock --enable-nfs-fix \
- --with-mixmaster \
- --without-sasl \
- --enable-external-dotlock"
-
- # muttng prioritizes qdbm over gdbm, so we will too.
- # hcache feature requires at least one database is in USE.
- if use qdbm; then
- myconf="${myconf} --enable-hcache \
- --with-qdbm --without-gdbm --without-bdb"
- elif use gdbm; then
- myconf="${myconf} --enable-hcache \
- --with-gdbm --without-qdbm --without-bdb"
- elif use berkdb; then
- myconf="${myconf} --enable-hcache \
- --with-bdb --without-gdbm --without-qdbm"
- else
- myconf="${myconf} --disable-hcache \
- --without-gdbm --without-qdbm --without-bdb"
- fi
-
- # there's no need for gnutls or ssl 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 sasl2)"
- else
- myconf="${myconf} --without-gnutls --without-ssl --without-sasl2"
- 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 slang; then
- myconf="${myconf} --with-slang"
- ewarn "If you want a transparent background, merge ${PN} with USE=-slang."
- else
- # --without-slang doesn't work;
- # specify --with-curses if you don't want slang
- # (26 Sep 2001 agriffis)
- myconf="${myconf} --with-curses"
- fi
-
- if use mbox; then
- myconf="${myconf} --with-mailpath=/var/spool/mail"
- else
- myconf="${myconf} --with-homespool=Maildir"
- fi
-
- econf ${myconf}
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "install failed"
- find "${D}"/usr/share/doc -type f | grep -v "html\|manual" | xargs gzip
-
- dodoc COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO
-}
-
-pkg_postinst() {
- echo
- einfo "NOTE: muttng is still under heavy development"
- einfo "If you find a bug please report at http://bugs.gentoo.org"
- echo
-}
diff --git a/mail-client/muttng/muttng-20060415.ebuild b/mail-client/muttng/muttng-20060415.ebuild
deleted file mode 100644
index 311cae6e4645..000000000000
--- a/mail-client/muttng/muttng-20060415.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/muttng/muttng-20060415.ebuild,v 1.5 2006/07/28 09:29:05 grobian Exp $
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="mutt-ng -- fork of mutt with added features"
-HOMEPAGE="http://www.muttng.org/"
-SRC_URI="http://nion.modprobe.de/mutt-ng/snapshots/${P}.tar.gz"
-IUSE="berkdb buffysize cjk crypt debug gdbm gnutls gpgme idn imap mbox nls nntp pop qdbm sasl slang smime smtp ssl doc"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc-macos ~sparc ~x86"
-RDEPEND="nls? ( sys-devel/gettext )
- >=sys-libs/ncurses-5.2
- idn? ( net-dns/libidn )
- qdbm? ( dev-db/qdbm )
- !qdbm? (
- gdbm? ( sys-libs/gdbm )
- !gdbm? ( berkdb? ( >=sys-libs/db-4 ) )
- )
- slang? ( =sys-libs/slang-1.4* )
- smtp? ( net-libs/libesmtp )
- 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 )
- )
- gpgme? ( >=app-crypt/gpgme-0.9.0 )
- doc? (
- www-client/lynx
- dev-libs/libxslt
- app-text/htmltidy
- app-text/openjade
- virtual/tetex
- )"
-DEPEND="${RDEPEND}
- net-mail/mailbase"
-
-src_unpack() {
- unpack ${A} || die "unpack failed"
- cd "${S}"
- epatch "${FILESDIR}/${PN}-20060309-smarttime.patch"
- epatch "${FILESDIR}/${PN}-20060317-sigremovereply.patch"
-
- use doc || epatch "${FILESDIR}/${PN}-20060309-nodoc.patch"
-}
-
-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_enable nntp) \
- $(use_with idn) \
- $(use_with smtp libesmtp) \
- --enable-compressed \
- --sysconfdir=/etc/${PN} \
- --with-docdir=/usr/share/doc/${PN}-${PVR} \
- --with-regex \
- --disable-fcntl --enable-flock --enable-nfs-fix \
- --with-mixmaster \
- --without-sasl \
- --enable-external-dotlock"
-
- # muttng prioritizes qdbm over gdbm, so we will too.
- # hcache feature requires at least one database is in USE.
- if use qdbm; then
- myconf="${myconf} --enable-hcache \
- --with-qdbm --without-gdbm --without-bdb"
- elif use gdbm; then
- myconf="${myconf} --enable-hcache \
- --with-gdbm --without-qdbm --without-bdb"
- elif use berkdb; then
- myconf="${myconf} --enable-hcache \
- --with-bdb --without-gdbm --without-qdbm"
- else
- myconf="${myconf} --disable-hcache \
- --without-gdbm --without-qdbm --without-bdb"
- fi
-
- # there's no need for gnutls or ssl 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 sasl2)"
- else
- myconf="${myconf} --without-gnutls --without-ssl --without-sasl2"
- 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 slang; then
- myconf="${myconf} --with-slang"
- ewarn "If you want a transparent background, merge ${PN} with USE=-slang."
- else
- # --without-slang doesn't work;
- # specify --with-curses if you don't want slang
- # (26 Sep 2001 agriffis)
- myconf="${myconf} --with-curses"
- fi
-
- if use mbox; then
- myconf="${myconf} --with-mailpath=/var/spool/mail"
- else
- myconf="${myconf} --with-homespool=Maildir"
- fi
-
- econf ${myconf}
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "install failed"
- find "${D}"/usr/share/doc -type f | grep -v "html\|manual" | xargs gzip
-
- dodoc COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO
-}
-
-pkg_postinst() {
- echo
- einfo "NOTE: muttng is still under heavy development"
- einfo "If you find a bug please report at http://bugs.gentoo.org"
- echo
-}
diff --git a/mail-client/muttng/muttng-20060619.ebuild b/mail-client/muttng/muttng-20060619.ebuild
deleted file mode 100644
index ee2e502d7546..000000000000
--- a/mail-client/muttng/muttng-20060619.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/muttng/muttng-20060619.ebuild,v 1.2 2006/07/28 09:29:05 grobian Exp $
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="mutt-ng -- fork of mutt with added features"
-HOMEPAGE="http://www.muttng.org/"
-SRC_URI="http://nion.modprobe.de/mutt-ng/snapshots/${P}.tar.gz"
-IUSE="berkdb buffysize cjk crypt debug gdbm gnutls gpgme idn imap mbox nls nntp pop qdbm sasl slang smime smtp ssl doc"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc-macos ~sparc ~x86"
-RDEPEND="nls? ( sys-devel/gettext )
- >=sys-libs/ncurses-5.2
- idn? ( net-dns/libidn )
- qdbm? ( dev-db/qdbm )
- !qdbm? (
- gdbm? ( sys-libs/gdbm )
- !gdbm? ( berkdb? ( >=sys-libs/db-4 ) )
- )
- slang? ( =sys-libs/slang-1.4* )
- smtp? ( net-libs/libesmtp )
- 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 )
- )
- gpgme? ( >=app-crypt/gpgme-0.9.0 )
- doc? (
- www-client/lynx
- dev-libs/libxslt
- app-text/htmltidy
- app-text/openjade
- virtual/tetex
- )"
-DEPEND="${RDEPEND}
- net-mail/mailbase"
-# sys-devel/automake
-# >=sys-devel/autoconf-2.5
-
-src_unpack() {
- unpack ${A} || die "unpack failed"
- cd "${S}"
- epatch "${FILESDIR}/${PN}-20060309-smarttime.patch"
- epatch "${FILESDIR}/${PN}-20060317-sigremovereply.patch"
-
- use doc || epatch "${FILESDIR}/${PN}-20060309-nodoc.patch"
-
-# 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"
-# WANT_AUTOCONF=2.5 autoconf || die "autoconf failed"
-}
-
-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_enable nntp) \
- $(use_with idn) \
- $(use_with smtp libesmtp) \
- --enable-compressed \
- --sysconfdir=/etc/${PN} \
- --with-docdir=/usr/share/doc/${PN}-${PVR} \
- --with-regex \
- --disable-fcntl --enable-flock --enable-nfs-fix \
- --with-mixmaster \
- --without-sasl \
- --enable-external-dotlock"
-
- # muttng prioritizes qdbm over gdbm, so we will too.
- # hcache feature requires at least one database is in USE.
- if use qdbm; then
- myconf="${myconf} --enable-hcache \
- --with-qdbm --without-gdbm --without-bdb"
- elif use gdbm; then
- myconf="${myconf} --enable-hcache \
- --with-gdbm --without-qdbm --without-bdb"
- elif use berkdb; then
- myconf="${myconf} --enable-hcache \
- --with-bdb --without-gdbm --without-qdbm"
- else
- myconf="${myconf} --disable-hcache \
- --without-gdbm --without-qdbm --without-bdb"
- fi
-
- # there's no need for gnutls or ssl 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 sasl2)"
- else
- myconf="${myconf} --without-gnutls --without-ssl --without-sasl2"
- 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 slang; then
- myconf="${myconf} --with-slang"
- ewarn "If you want a transparent background, merge ${PN} with USE=-slang."
- else
- # --without-slang doesn't work;
- # specify --with-curses if you don't want slang
- # (26 Sep 2001 agriffis)
- myconf="${myconf} --with-curses"
- fi
-
- if use mbox; then
- myconf="${myconf} --with-mailpath=/var/spool/mail"
- else
- myconf="${myconf} --with-homespool=Maildir"
- fi
-
- econf ${myconf}
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "install failed"
- find "${D}"/usr/share/doc -type f | grep -v "html\|manual" | xargs gzip
-
- dodoc COPYRIGHT ChangeLog NEWS OPS* PATCHES README* TODO
-}
-
-pkg_postinst() {
- echo
- einfo "NOTE: muttng is still under heavy development"
- einfo "If you find a bug please report at http://bugs.gentoo.org"
- echo
-}