Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-mta/msmtp: ChangeLog msmtp-1.4.27.ebuild
Date: Sun, 08 Jan 2012 04:25:43
Message-Id: 20120108042533.40B442004B@flycatcher.gentoo.org
1 radhermit 12/01/08 04:25:33
2
3 Modified: ChangeLog
4 Added: msmtp-1.4.27.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.118 mail-mta/msmtp/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/msmtp/ChangeLog?rev=1.118&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/msmtp/ChangeLog?rev=1.118&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/msmtp/ChangeLog?r1=1.117&r2=1.118
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/mail-mta/msmtp/ChangeLog,v
20 retrieving revision 1.117
21 retrieving revision 1.118
22 diff -u -r1.117 -r1.118
23 --- ChangeLog 28 Nov 2011 02:55:43 -0000 1.117
24 +++ ChangeLog 8 Jan 2012 04:25:33 -0000 1.118
25 @@ -1,6 +1,11 @@
26 # ChangeLog for mail-mta/msmtp
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/msmtp/ChangeLog,v 1.117 2011/11/28 02:55:43 radhermit Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/mail-mta/msmtp/ChangeLog,v 1.118 2012/01/08 04:25:33 radhermit Exp $
31 +
32 +*msmtp-1.4.27 (08 Jan 2012)
33 +
34 + 08 Jan 2012; Tim Harder <radhermit@g.o> +msmtp-1.4.27.ebuild:
35 + Version bump.
36
37 *msmtp-1.4.26 (28 Nov 2011)
38
39
40
41
42 1.1 mail-mta/msmtp/msmtp-1.4.27.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/msmtp/msmtp-1.4.27.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/msmtp/msmtp-1.4.27.ebuild?rev=1.1&content-type=text/plain
46
47 Index: msmtp-1.4.27.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/mail-mta/msmtp/msmtp-1.4.27.ebuild,v 1.1 2012/01/08 04:25:33 radhermit Exp $
52
53 EAPI=4
54 inherit multilib python
55
56 DESCRIPTION="An SMTP client and SMTP plugin for mail user agents such as Mutt"
57 HOMEPAGE="http://msmtp.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/msmtp/${P}.tar.bz2"
59
60 LICENSE="GPL-3"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
63 IUSE="doc gnome-keyring gnutls idn +mta nls sasl ssl vim-syntax"
64
65 CDEPEND="
66 gnome-keyring? (
67 dev-python/gnome-keyring-python
68 gnome-base/libgnome-keyring
69 )
70 idn? ( net-dns/libidn )
71 nls? ( virtual/libintl )
72 sasl? ( virtual/gsasl )
73 ssl? (
74 gnutls? ( net-libs/gnutls )
75 !gnutls? ( dev-libs/openssl )
76 )"
77
78 RDEPEND="${CDEPEND}
79 net-mail/mailbase
80 mta? ( !mail-mta/courier
81 !mail-mta/esmtp
82 !mail-mta/exim
83 !mail-mta/mini-qmail
84 !mail-mta/nbsmtp
85 !mail-mta/netqmail
86 !mail-mta/nullmailer
87 !mail-mta/postfix
88 !mail-mta/qmail-ldap
89 !mail-mta/sendmail
90 !<mail-mta/ssmtp-2.64-r2
91 !>=mail-mta/ssmtp-2.64-r2[mta] )"
92
93 DEPEND="${CDEPEND}
94 doc? ( virtual/texi2dvi )
95 nls? ( sys-devel/gettext )
96 dev-util/pkgconfig"
97
98 REQUIRED_USE="gnutls? ( ssl )"
99
100 src_prepare() {
101 # Use default Gentoo location for mail aliases
102 sed -i -e 's:/etc/aliases:/etc/mail/aliases:' scripts/find_alias/find_alias_for_msmtp.sh
103
104 python_convert_shebangs 2 scripts/msmtp-gnome-tool/msmtp-gnome-tool.py
105 }
106
107 src_configure() {
108 econf \
109 $(use_with gnome-keyring ) \
110 $(use_with idn libidn) \
111 $(use_enable nls) \
112 $(use_with sasl libgsasl) \
113 $(use_with ssl ssl $(use gnutls && echo "gnutls" || echo "openssl"))
114 }
115
116 src_compile() {
117 default
118
119 if use doc ; then
120 cd doc || die
121 emake html pdf
122 fi
123 }
124
125 src_install() {
126 emake DESTDIR="${D}" install
127 dodoc AUTHORS ChangeLog NEWS README THANKS doc/{Mutt+msmtp.txt,msmtprc*}
128
129 if use doc ; then
130 dohtml doc/msmtp.html
131 dodoc doc/msmtp.pdf
132 fi
133
134 if use gnome-keyring ; then
135 src_install_contrib msmtp-gnome-tool msmtp-gnome-tool.py README
136 fi
137
138 if use mta ; then
139 dodir /usr/sbin
140 dosym /usr/bin/msmtp /usr/sbin/sendmail
141 dosym /usr/bin/msmtp /usr/$(get_libdir)/sendmail
142 fi
143
144 if use vim-syntax ; then
145 insinto /usr/share/vim/vimfiles/syntax
146 doins scripts/vim/msmtp.vim
147 fi
148
149 src_install_contrib find_alias find_alias_for_msmtp.sh
150 src_install_contrib msmtpqueue "*.sh" "README ChangeLog"
151 src_install_contrib msmtpq "msmtpq msmtp-queue" README.msmtpq
152 src_install_contrib set_sendmail set_sendmail.sh set_sendmail.conf
153 }
154
155 src_install_contrib() {
156 subdir="$1"
157 bins="$2"
158 docs="$3"
159 local dir=/usr/share/${PN}/$subdir
160 insinto ${dir}
161 exeinto ${dir}
162 for i in $bins ; do
163 doexe scripts/$subdir/$i
164 done
165 for i in $docs ; do
166 newdoc scripts/$subdir/$i $subdir.$i
167 done
168 }