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