diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2010-04-07 06:27:49 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2010-04-07 06:27:49 +0000 |
commit | 91e5e4c0f7ffa46a4ed78684d694d0f688379a3a (patch) | |
tree | e724fdff70a6bd628d12719360a81fb332bdef6e /mail-mta/msmtp | |
parent | Version bump (diff) | |
download | historical-91e5e4c0f7ffa46a4ed78684d694d0f688379a3a.tar.gz historical-91e5e4c0f7ffa46a4ed78684d694d0f688379a3a.tar.bz2 historical-91e5e4c0f7ffa46a4ed78684d694d0f688379a3a.zip |
msmtp is extremely useful as a custom relaying tool for users despite the system MTA, to provide an option to disable acting as virtual/mta.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'mail-mta/msmtp')
-rw-r--r-- | mail-mta/msmtp/ChangeLog | 9 | ||||
-rw-r--r-- | mail-mta/msmtp/Manifest | 5 | ||||
-rw-r--r-- | mail-mta/msmtp/metadata.xml | 3 | ||||
-rw-r--r-- | mail-mta/msmtp/msmtp-1.4.19-r1.ebuild | 112 |
4 files changed, 126 insertions, 3 deletions
diff --git a/mail-mta/msmtp/ChangeLog b/mail-mta/msmtp/ChangeLog index 6c8bea78297c..6a73da834e8f 100644 --- a/mail-mta/msmtp/ChangeLog +++ b/mail-mta/msmtp/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for mail-mta/msmtp # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/msmtp/ChangeLog,v 1.78 2010/04/06 18:31:39 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/msmtp/ChangeLog,v 1.79 2010/04/07 06:27:49 robbat2 Exp $ + +*msmtp-1.4.19-r1 (07 Apr 2010) + + 07 Apr 2010; Robin H. Johnson <robbat2@gentoo.org> + +msmtp-1.4.19-r1.ebuild, metadata.xml: + msmtp is extremely useful as a custom relaying tool for users despite the + system MTA, to provide an option to disable acting as virtual/mta. 06 Apr 2010; Brent Baude <ranger@gentoo.org> msmtp-1.4.19.ebuild: Marking msmtp-1.4.19 ppc64 for bug 293647 diff --git a/mail-mta/msmtp/Manifest b/mail-mta/msmtp/Manifest index e057c3008beb..269d4960d9de 100644 --- a/mail-mta/msmtp/Manifest +++ b/mail-mta/msmtp/Manifest @@ -2,8 +2,9 @@ AUX mailer.conf 279 RMD160 1814eab17a6810a29a2b3c30ec3a69741fe40902 SHA1 90864ba DIST msmtp-1.4.19.tar.bz2 820041 RMD160 1fd6bdf71aed9b8e939203ef59e499feedd63d64 SHA1 4491891326e8accacc02b1d4e7176262222122d0 SHA256 d6bf3f6f796041fc7d6653c022cc696238fdf8b2d538c4b2cd6c0aae5f056c66 DIST msmtp-1.4.5.tar.bz2 489336 RMD160 21428a4d7c93da8383fe8f752b224dd2c0aff014 SHA1 2734c4b0ab50d221c6c8248cdafc4af6ee0f6cf5 SHA256 b026edeaef477f839e9672a7a6b36fbd4a1199aae06617f5fea22ad85cdbf342 DIST msmtp-1.4.7.tar.bz2 527853 RMD160 7affd5a339a865638437e093d4e3aba5b6addbcf SHA1 0e907a2269babe5eeb04e5aa8b766b13c8ab714e SHA256 e795dc62a98c9e83ecaea3d1dde074156228cf55eff42f8dbfd835cabad28d89 +EBUILD msmtp-1.4.19-r1.ebuild 2708 RMD160 80b8a98cd09d422817f1f8bb1f4afc28dc06d795 SHA1 da08fd4812ba408117ac442b70e1c9aaf6034405 SHA256 085bc3905278ba61a1ac1c007d50bfd636ce5065e4f23b61826ba15009cc29b8 EBUILD msmtp-1.4.19.ebuild 1979 RMD160 1cca8d42c19646b514451ab3c3bd7cc751f3ac62 SHA1 e7ec07a699d4e79ac93720faf72146ea0dcd0afa SHA256 63cb5f70cdb780205d1ba1ac09553580852118b2511eb7d81100d583c0282730 EBUILD msmtp-1.4.5.ebuild 1631 RMD160 9120ad0632489e084e67ee4fa12f575f42d9e8de SHA1 708474f2e79b24ee8d3e6bdfc71d0e1c8335c9b2 SHA256 04f98a2e6861ae0a05f5c76c7d841292b613de832c148916989cabef04662b5e EBUILD msmtp-1.4.7.ebuild 1628 RMD160 64e8cfbb04e5e7772a063b15f870e0f02c273f7a SHA1 5aaa8fd67085d6ae24882a28cae1c75395821c00 SHA256 5a5d81f5a4616f5a174e0d0af1ea9a59c28b911a31dd31065b541f0b096fa912 -MISC ChangeLog 10974 RMD160 4dec61304894542d7faf071830c216a237b256c6 SHA1 d0fe56488a075ceec1ab43299f02442e73666068 SHA256 663a9ef12840c4c16f46e10b530c4a129d57f9f672464911a3c2193e18736d1a -MISC metadata.xml 161 RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 SHA1 a1fecd2f7b169d621b88c6ccab9d758209fc8f19 SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32 +MISC ChangeLog 11247 RMD160 fec8d18470132be68127c6944f5b20284fa5f5b6 SHA1 9667820759b962cada7cb52cefaa86edfb0acecb SHA256 628616185a96faef78c5ea83f35af4c7d7bd6aff895fbc7cfa4e3383c7f2ba17 +MISC metadata.xml 241 RMD160 f3ecce2785b4dbd86fc2454197c5ea18bdceeb8e SHA1 0c8829739037990f3a2c342f959eb734eeabefc7 SHA256 26ee4bda381b79a28729c310bdd467e2d1bbf39f08e271c5845e969d95d0e889 diff --git a/mail-mta/msmtp/metadata.xml b/mail-mta/msmtp/metadata.xml index 51f94e3fbe0e..859da605928a 100644 --- a/mail-mta/msmtp/metadata.xml +++ b/mail-mta/msmtp/metadata.xml @@ -2,4 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>net-mail</herd> +<use> + <flag name='mta'>Enable this to install as system-wide MTA</flag> +</use> </pkgmetadata> diff --git a/mail-mta/msmtp/msmtp-1.4.19-r1.ebuild b/mail-mta/msmtp/msmtp-1.4.19-r1.ebuild new file mode 100644 index 000000000000..fd01d4d4dc26 --- /dev/null +++ b/mail-mta/msmtp/msmtp-1.4.19-r1.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-mta/msmtp/msmtp-1.4.19-r1.ebuild,v 1.1 2010/04/07 06:27:49 robbat2 Exp $ + +EAPI=2 + +DESCRIPTION="An SMTP client and SMTP plugin for mail user agents such as Mutt" +HOMEPAGE="http://msmtp.sourceforge.net/" +SRC_URI="mirror://sourceforge/msmtp/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="doc gnome-keyring gnutls idn mailwrapper nls sasl ssl +mta" + +DEPEND="idn? ( net-dns/libidn ) + nls? ( virtual/libintl ) + gnome-keyring? ( gnome-base/gnome-keyring ) + gnutls? ( >=net-libs/gnutls-1.2.0 ) + !gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) ) + sasl? ( >=virtual/gsasl-0.2.4 )" + +RDEPEND="${DEPEND} + mta? ( + !mailwrapper? ( !virtual/mta ) + mailwrapper? ( >=net-mail/mailwrapper-0.2 ) + )" + +DEPEND="${DEPEND} + nls? ( sys-devel/gettext ) + dev-util/pkgconfig" + +PROVIDE="mta? ( virtual/mta )" + +src_configure () { + local myconf + + if use gnutls ; then + myconf="--with-ssl=gnutls" + elif use ssl ; then + myconf="--with-ssl=openssl" + else + myconf="--with-ssl=no" + fi + + econf \ + $(use_with idn libidn) \ + $(use_with sasl libgsasl) \ + $(use_with gnome-keyring ) \ + $(use_enable nls) \ + ${myconf} +} + +src_install () { + emake DESTDIR="${D}" install || die "install failed" + + if use mta; then + if use mailwrapper ; then + insinto /etc/mail + doins "${FILESDIR}"/mailer.conf + else + dodir /usr/sbin + dosym /usr/bin/msmtp /usr/sbin/sendmail || die "dosym failed" + fi + fi + + dodoc AUTHORS ChangeLog NEWS README THANKS \ + doc/{Mutt+msmtp.txt,msmtprc*} || die "dodoc failed" + + if use doc ; then + dohtml doc/msmtp.html || die "dohtml failed" + dodoc doc/msmtp.pdf + fi + + #d=msmtpqueue + #local msmtpqueue=/usr/share/${PN}/$d + #insinto ${msmtpqueue} + #exeinto ${msmtpqueue} + #doexe scripts/msmtpqueue/*.sh || die "doexe failed" + #for i in ChangeLog README ; do + # newdoc scripts/msmtpqueue/$i msmtpqueue.$i \ + # || die "dodoc scripts/msmtpqueue/$i failed" + #done + + #d=msmtpq + #local msmtpq=/usr/share/${PN}/$d + #insinto ${msmtpqueue} + #exeinto ${msmtpqueue} + #i=README + #newdoc scripts/$d/$i $d.$i \ + # || die "dodoc scripts/$d/$i failed" + + src_install_contrib msmtpqueue "*.sh" "README ChangeLog" + src_install_contrib msmtpq "msmtpq msmtpQ" "README" + +} + +src_install_contrib() { + subdir="$1" + bins="$2" + docs="$3" + local dir=/usr/share/${PN}/$subdir + insinto ${dir} + exeinto ${dir} + for i in $bins ; do + doexe scripts/$subdir/$i || die "doexe $subdir/$i failed" + done + for i in $docs ; do + newdoc scripts/$subdir/$i $subdir.$i \ + || die "dodoc $subdir/$i failed" + done +} |