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