summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Lucas <sascha_lucas@web.de>2010-09-07 20:47:12 +0200
committerSascha Lucas <sascha_lucas@web.de>2010-09-07 20:47:12 +0200
commitb8306388d555fa13383f8a9a2a8a874e152f941c (patch)
treef05d2b0991d6618418905a05c7ceba4ab65c89d0
parentsync with main portage tree (diff)
downloadnet-mail-b8306388d555fa13383f8a9a2a8a874e152f941c.tar.gz
net-mail-b8306388d555fa13383f8a9a2a8a874e152f941c.tar.bz2
net-mail-b8306388d555fa13383f8a9a2a8a874e152f941c.zip
rev bump alpine with chappa patch VERSION=73
-rw-r--r--mail-client/alpine/Manifest2
-rw-r--r--mail-client/alpine/alpine-2.00-r4.ebuild141
2 files changed, 143 insertions, 0 deletions
diff --git a/mail-client/alpine/Manifest b/mail-client/alpine/Manifest
index 2334cee..169ccb4 100644
--- a/mail-client/alpine/Manifest
+++ b/mail-client/alpine/Manifest
@@ -4,10 +4,12 @@ DIST alpine-2.00-chappa-26-all.patch.gz 179066 RMD160 c109c463da0f6736474d6c1144
DIST alpine-2.00-chappa-51-all.patch.gz 195020 RMD160 6e3cf9daa28f28c34a9d0c5f50063ca4b7e39ad9 SHA1 5bcb36f736d9e2c13417113e9f974272d2fdc4a0 SHA256 7a9e8d1e7dfa677543e9db4caf524eb0ff4da5511613c7b5c00228cc31475075
DIST alpine-2.00-chappa-52-all.patch.gz 194980 RMD160 f3ce0022420bcded4f390d92f090a546d680a06e SHA1 1d952e652e8ccf11867af12fe6de70180e58acb1 SHA256 e0fd704cf6f8214f1daaf7ff4dff0eb04d799943f06fa70bdab2ed7280b0e070
DIST alpine-2.00-chappa-53-all.patch.gz 196219 RMD160 5556e3c95656ad01abd21682df5bf2f615054710 SHA1 7396ed92062924c126087dc32b98ccebf98e17cc SHA256 153d9d903bd0015ca9064ecdd74d03d58e26502edd2116cf4e18db8e88d15e43
+DIST alpine-2.00-chappa-73-all.patch.gz 200049 RMD160 984c55fa808c2eb9657be5ce7da250ef8422624b SHA1 08a6cff3f72bd465ce634368706275d08aa7986d SHA256 33a6c3b930a3a14b904386d847721a507e83be0b38ff5f797cb4c136a06015fa
DIST alpine-2.00.tar.bz2 5222673 RMD160 9e67704b23b3973d8b878e65ad9e6f5026c10d13 SHA1 dcbd3c5419954f484ccf706feaba31ce48cdebc4 SHA256 c85db8405af90375ba2440c85b7952d80996154e9916b83acca558dc82e0a2a6
EBUILD alpine-2.00-r1.ebuild 3865 RMD160 215dac6479626df7aceab420c5b7e2630d052ccf SHA1 33a69dfe71b9d5a830352bc4da9050cac6217431 SHA256 b5778a4055e0f9370bb1334d67be426644ed7d6a9e3a4f8821389448d6c67ffa
EBUILD alpine-2.00-r2.ebuild 3873 RMD160 1342422c79dca2db06d7bda33ba31c2e80edccef SHA1 1b88fb49a14f20bc700d76c5595e9f166deb2f20 SHA256 d7195eb6be26a40ca3e02c465ad4bfc1ae2d33fa655bdfff1e8d4ecd3f397ac8
EBUILD alpine-2.00-r3.ebuild 3876 RMD160 16fac26fae028267f4e9f32e11845d73cf674348 SHA1 a8fc4ef42e02213c13cdc59adc643aa192f40631 SHA256 12b165d0084ef762e06ab6de1f0c9492affdf89626d211d910477c930ebb3c43
+EBUILD alpine-2.00-r4.ebuild 3876 RMD160 de281c146f03b6dc5160cd44ac52faddfcd4428f SHA1 7afbd8901412428cfd7708ee5636419fce04d1a1 SHA256 fe8707cc03765fd71f3f2166b4a23a407a0e73fa60ec2ef3f33f9b44de4b8a70
EBUILD alpine-2.00.ebuild 3865 RMD160 3aaadc2e654c3ae7eeb121430e30c6c592ec84f0 SHA1 969ab89637a7c7bae66c2e3a0f85da16cc568ae5 SHA256 a27755fc41dc3a876e9cbe4c4db3ba6abace7a3a89f042c1b77e698aa7decc82
MISC ChangeLog 1308 RMD160 a7b4498b8b594ada99177c60b3ae4bacc6bb6731 SHA1 7505884875d1cc276a204f3d6815268521c97fcb SHA256 6fb0a86bed81cee424509b8b9e2123d32dd82ef9f4272f20c75e680247518f72
MISC metadata.xml 844 RMD160 9eb2c872014f45593cb6600e33f8f31df908db9b SHA1 320f98eedaa623a0ff8a4af207875738eb3aae37 SHA256 e008b89b84a35953d391d4d8384563dddc2b22c0b363334deaedb69d57d57393
diff --git a/mail-client/alpine/alpine-2.00-r4.ebuild b/mail-client/alpine/alpine-2.00-r4.ebuild
new file mode 100644
index 0000000..b872fe7
--- /dev/null
+++ b/mail-client/alpine/alpine-2.00-r4.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/alpine/alpine-2.00-r3.ebuild,v 1.1 2010/03/05 12:07:14 tove Exp $
+
+EAPI="2"
+
+inherit eutils flag-o-matic
+
+# http://staff.washington.edu/chappa/alpine/patches/${P}/log.txt
+CHAPPA_PL="73"
+
+DESCRIPTION="alpine is an easy to use text-based based mail and news client"
+HOMEPAGE="http://www.washington.edu/alpine/ http://staff.washington.edu/chappa/alpine/"
+SRC_URI="ftp://ftp.cac.washington.edu/alpine/${P}.tar.bz2
+ chappa? ( http://staff.washington.edu/chappa/alpine/patches/${P}/all.patch.gz -> ${P}-chappa-${CHAPPA_PL}-all.patch.gz )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="+chappa doc ipv6 kerberos ldap nls onlyalpine passfile smime spell ssl threads topal"
+
+DEPEND="virtual/pam
+ >=sys-libs/ncurses-5.1
+ ssl? ( dev-libs/openssl )
+ ldap? ( net-nds/openldap )
+ kerberos? ( app-crypt/mit-krb5 )
+ spell? ( app-text/aspell )
+ topal? ( >=net-mail/topal-72 )"
+RDEPEND="${DEPEND}
+ app-misc/mime-types
+ !onlyalpine? ( !app-editors/pico )
+ !onlyalpine? ( !mail-client/pine )
+ !<=net-mail/uw-imap-2004g"
+
+maildir_warn() {
+ elog
+ elog "This build of ${PN} has Maildir support built in as"
+ elog "part of the chappa-all patch."
+ elog
+ elog "If you have a maildir at ~/Maildir it will be your"
+ elog "default INBOX. The path may be changed with the"
+ elog "\"maildir-location\" setting in alpine."
+ elog
+ elog "To use /var/spool/mail INBOX again, set"
+ elog "\"disable-these-drivers=md\" in your .pinerc file."
+ elog
+ elog "Alternately, you might want to read following webpage, which explains how to"
+ elog "use multiple mailboxes simultaneously:"
+ elog
+ elog "http://www.math.washington.edu/~chappa/pine/pine-info/collections/incoming-folders/"
+ elog
+}
+
+pkg_setup() {
+ if use smime && use topal ; then
+ ewarn "You can not have USE='smime topal'. Assuming topal is more important."
+ fi
+}
+
+src_unpack() {
+ unpack ${P}.tar.bz2
+}
+
+src_prepare() {
+ use chappa && epatch "${DISTDIR}"/${P}-chappa-${CHAPPA_PL}-all.patch.gz
+ use topal && epatch /usr/share/topal/patches/${P}.patch-{1,2}
+
+ epatch "${FILESDIR}"/2.00-lpam.patch
+ cd "${S}/imap/src/c-client"
+ epatch "${FILESDIR}"/CVE-2008-5514.patch
+}
+
+src_configure() {
+ local myconf="--without-tcl
+ --with-system-pinerc=/etc/pine.conf
+ --with-system-fixed-pinerc=/etc/pine.conf.fixed
+ --with-ssl-certs-dir=/etc/ssl/certs"
+ # fixme
+ # --with-system-mail-directory=DIR?
+ econf $(use_with ssl) \
+ $(use_with ldap) \
+ $(use_with passfile passfile .pinepwd) \
+ $(use_with kerberos krb5) \
+ $(use_with threads pthread) \
+ $(use_with spell interactive-spellcheck /usr/bin/aspell) \
+ $(use_enable nls) \
+ $(use_with ipv6) \
+ $(use topal || use_with smime) \
+ ${myconf}
+}
+
+src_install() {
+ if use onlyalpine ; then
+ dobin alpine/alpine || die
+ doman doc/alpine.1 || die
+ else
+ emake DESTDIR="${D}" install || die
+ doman doc/rpdump.1 doc/rpload.1 || die
+ fi
+
+ dodoc NOTICE || die
+ if use chappa ; then
+ dodoc README.maildir || die
+ fi
+
+ if use doc ; then
+ dodoc README doc/brochure.txt doc/tech-notes.txt || die
+ docinto imap
+ dodoc imap/docs/*.txt imap/docs/CONFIG imap/docs/RELNOTES || die
+
+ docinto imap/rfc
+ dodoc imap/docs/rfc/*.txt || die
+
+ docinto html/tech-notes
+ dohtml -r doc/tech-notes/ || die
+ fi
+}
+
+pkg_postinst() {
+ use chappa && maildir_warn
+ if use spell ; then
+ elog
+ elog "In order to use spell checking"
+ elog " emerge app-dicts/aspell-\<your_langs\>"
+ elog "and setup alpine with:"
+ elog " Speller = /usr/bin/aspell -c"
+ elog
+ fi
+ if use topal ; then
+ elog
+ elog "In order to use gpg with topal"
+ elog " read /usr/doc/topal/README.txt"
+ elog
+ fi
+ if use passfile ; then
+ elog
+ elog "${PN} will cache passwords between connections."
+ elog "File ~/.pinepwd will be used for this."
+ elog
+ fi
+}