Gentoo Archives: gentoo-commits

From: "Eray Aslan (eras)" <eras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/uw-mailutils: ChangeLog uw-mailutils-2007e-r1.ebuild
Date: Fri, 06 May 2011 21:00:21
Message-Id: 20110506210010.012C420054@flycatcher.gentoo.org
1 eras 11/05/06 21:00:09
2
3 Modified: ChangeLog
4 Added: uw-mailutils-2007e-r1.ebuild
5 Log:
6 add pam and ssl USE flags - bugs 129729 276401
7
8 (Portage version: 2.1.9.47/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.31 net-mail/uw-mailutils/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/uw-mailutils/ChangeLog?rev=1.31&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/uw-mailutils/ChangeLog?rev=1.31&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/uw-mailutils/ChangeLog?r1=1.30&r2=1.31
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-mail/uw-mailutils/ChangeLog,v
20 retrieving revision 1.30
21 retrieving revision 1.31
22 diff -u -r1.30 -r1.31
23 --- ChangeLog 23 Sep 2009 19:15:01 -0000 1.30
24 +++ ChangeLog 6 May 2011 21:00:09 -0000 1.31
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-mail/uw-mailutils
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-mail/uw-mailutils/ChangeLog,v 1.30 2009/09/23 19:15:01 patrick Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-mail/uw-mailutils/ChangeLog,v 1.31 2011/05/06 21:00:09 eras Exp $
31 +
32 +*uw-mailutils-2007e-r1 (06 May 2011)
33 +
34 + 06 May 2011; Eray Aslan <eras@g.o> +uw-mailutils-2007e-r1.ebuild,
35 + +files/uw-mailutils-ssl.patch:
36 + add pam and ssl USE flags - bugs 129729 276401
37
38 23 Sep 2009; Patrick Lauer <patrick@g.o> uw-mailutils-2007b.ebuild,
39 uw-mailutils-2007e.ebuild:
40
41
42
43 1.1 net-mail/uw-mailutils/uw-mailutils-2007e-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/uw-mailutils/uw-mailutils-2007e-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/uw-mailutils/uw-mailutils-2007e-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: uw-mailutils-2007e-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-mail/uw-mailutils/uw-mailutils-2007e-r1.ebuild,v 1.1 2011/05/06 21:00:09 eras Exp $
53
54 inherit eutils flag-o-matic
55
56 MY_P="imap-${PV}"
57 S="${WORKDIR}/${MY_P}"
58
59 DESCRIPTION="Mail utilities from the UW"
60 HOMEPAGE="http://www.washington.edu/imap/"
61 SRC_URI="ftp://ftp.cac.washington.edu/imap/${MY_P}.tar.Z"
62
63 LICENSE="Apache-2.0"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
66 IUSE="pam ssl"
67
68 DEPEND="!<mail-client/pine-4.64-r1
69 pam? ( virtual/pam )
70 ssl? ( dev-libs/openssl )"
71 RDEPEND="${DEPEND}
72 !<net-mail/uw-imap-${PV}"
73
74 src_unpack() {
75 unpack ${A}
76 chmod -R ug+w "${S}"
77
78 cd "${S}"
79
80 epatch "${FILESDIR}/${PN}-2004g.patch" || die "epatch failed"
81 epatch "${FILESDIR}/${PN}-ssl.patch" || die "epatch failed"
82
83 sed -i -e "s|\`cat \$C/CFLAGS\`|${CFLAGS}|g" \
84 src/mailutil/Makefile \
85 src/mtest/Makefile || die "sed failed patching Makefile CFLAGS."
86
87 append-flags -fPIC
88 }
89
90 src_compile() {
91 local port=slx
92 use elibc_FreeBSD && port=bsf
93 use pam && port=lnp
94 local ssltype=none
95 use ssl && ssltype=nopwd
96 yes | make "${port}" EXTRACFLAGS="${CFLAGS}" SSLTYPE="${ssltype}" || die
97 }
98
99 src_install() {
100 into /usr
101 dobin mailutil/mailutil mtest/mtest
102 doman src/mailutil/mailutil.1
103 }