Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/mailutils: mailutils-2.2.ebuild ChangeLog
Date: Fri, 10 Sep 2010 00:07:00
Message-Id: 20100910000656.832DE20051@flycatcher.gentoo.org
1 jer 10/09/10 00:06:56
2
3 Modified: ChangeLog
4 Added: mailutils-2.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2_rc78/cvs/Linux i686)
9
10 Revision Changes Path
11 1.44 net-mail/mailutils/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailutils/ChangeLog?rev=1.44&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailutils/ChangeLog?rev=1.44&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailutils/ChangeLog?r1=1.43&r2=1.44
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-mail/mailutils/ChangeLog,v
20 retrieving revision 1.43
21 retrieving revision 1.44
22 diff -u -r1.43 -r1.44
23 --- ChangeLog 17 Jun 2010 20:54:47 -0000 1.43
24 +++ ChangeLog 10 Sep 2010 00:06:56 -0000 1.44
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-mail/mailutils
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/ChangeLog,v 1.43 2010/06/17 20:54:47 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/ChangeLog,v 1.44 2010/09/10 00:06:56 jer Exp $
30 +
31 +*mailutils-2.2 (10 Sep 2010)
32 +
33 + 10 Sep 2010; Jeroen Roovers <jer@g.o> +mailutils-2.2.ebuild:
34 + Version bump.
35
36 17 Jun 2010; Patrick Lauer <patrick@g.o> mailutils-0.6-r3.ebuild,
37 mailutils-1.2.ebuild, mailutils-2.1.ebuild:
38
39
40
41 1.1 net-mail/mailutils/mailutils-2.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailutils/mailutils-2.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailutils/mailutils-2.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mailutils-2.2.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/mailutils-2.2.ebuild,v 1.1 2010/09/10 00:06:56 jer Exp $
51
52 EAPI="2"
53
54 inherit eutils flag-o-matic python
55
56 DESCRIPTION="A useful collection of mail servers, clients, and filters."
57 HOMEPAGE="http://www.gnu.org/software/mailutils/mailutils.html"
58 SRC_URI="http://ftp.gnu.org/gnu/mailutils/${P}.tar.bz2"
59 LICENSE="GPL-2 LGPL-2.1"
60 SLOT="0"
61
62 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
63 IUSE="bidi gdbm guile ldap mysql nls pam postgres python test tokyocabinet"
64 PROVIDE="virtual/mailx"
65
66 RDEPEND="!virtual/mailx
67 !mail-client/nmh
68 !mail-filter/libsieve
69 bidi? ( dev-libs/fribidi )
70 guile? ( dev-scheme/guile )
71 gdbm? ( sys-libs/gdbm )
72 ldap? ( net-nds/openldap )
73 mysql? ( virtual/mysql )
74 nls? ( sys-devel/gettext )
75 postgres? ( dev-db/postgresql-base )
76 tokyocabinet? ( dev-db/tokyocabinet )
77 virtual/mta"
78
79 DEPEND="${RDEPEND}
80 test? ( dev-util/dejagnu )"
81
82 src_prepare() {
83 epatch "${FILESDIR}"/${PN}-2.1-python.patch
84 }
85
86 src_configure() {
87 # TODO: Fix this breakage, starting in examples/cpp/
88 append-ldflags $(no-as-needed)
89
90 local myconf="--localstatedir=/var --sharedstatedir=/var"
91 myconf="${myconf} --enable-mh"
92
93 # We need sendmail or compiling will fail
94 myconf="${myconf} --enable-sendmail"
95
96 econf ${myconf} \
97 $(use_with bidi fribidi) \
98 $(use_with gdbm) \
99 $(use_with guile) \
100 $(use_with ldap) \
101 $(use_with mysql) \
102 $(use_enable nls) \
103 $(use_enable pam) \
104 $(use_with postgres) \
105 $(use_with python) \
106 $(use_with tokyocabinet) \
107 || die "configure failed"
108 }
109
110 src_install() {
111 emake DESTDIR="${D}" install || die
112 # mail.rc stolen from mailx, resolve bug #37302.
113 insinto /etc
114 doins "${FILESDIR}/mail.rc"
115 }
116
117 pkg_postinst() {
118 python_mod_optimize "$(python_get_libdir)/site-packages/mailutils"
119 }