diff options
author | Eray Aslan <eras@gentoo.org> | 2011-03-20 13:06:34 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2011-03-20 13:06:34 +0000 |
commit | 13925852358e43eb530d900f2134e41d7f565bea (patch) | |
tree | 521621ba9575f4172e797427ba704b73180f249c /net-mail | |
parent | Minor ebuild cleanups (diff) | |
download | gentoo-2-13925852358e43eb530d900f2134e41d7f565bea.tar.gz gentoo-2-13925852358e43eb530d900f2134e41d7f565bea.tar.bz2 gentoo-2-13925852358e43eb530d900f2134e41d7f565bea.zip |
remove old
(Portage version: 2.1.9.44/cvs/Linux x86_64)
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/mailutils/ChangeLog | 8 | ||||
-rw-r--r-- | net-mail/mailutils/mailutils-1.2.ebuild | 83 | ||||
-rw-r--r-- | net-mail/mailutils/mailutils-2.1.ebuild | 72 |
3 files changed, 6 insertions, 157 deletions
diff --git a/net-mail/mailutils/ChangeLog b/net-mail/mailutils/ChangeLog index fbe7d88c0857..c11625bad5e8 100644 --- a/net-mail/mailutils/ChangeLog +++ b/net-mail/mailutils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-mail/mailutils -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/ChangeLog,v 1.44 2010/09/10 00:06:56 jer Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/ChangeLog,v 1.45 2011/03/20 13:06:34 eras Exp $ + + 20 Mar 2011; Eray Aslan <eras@gentoo.org> -mailutils-1.2.ebuild, + -mailutils-2.1.ebuild: + remove old versions. *mailutils-2.2 (10 Sep 2010) diff --git a/net-mail/mailutils/mailutils-1.2.ebuild b/net-mail/mailutils/mailutils-1.2.ebuild deleted file mode 100644 index 29ccb14f2f0e..000000000000 --- a/net-mail/mailutils/mailutils-1.2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/mailutils-1.2.ebuild,v 1.6 2010/06/17 20:54:47 patrick Exp $ - -inherit eutils - -DESCRIPTION="A useful collection of mail servers, clients, and filters." -HOMEPAGE="http://www.gnu.org/software/mailutils/mailutils.html" -SRC_URI="http://ftp.gnu.org/gnu/mailutils/${P}.tar.bz2" -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" - -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" -IUSE="nls pam mysql postgres gdbm test" -PROVIDE="virtual/mailx" - -RDEPEND="!virtual/mailx - !mail-client/nmh - !mail-filter/libsieve - dev-scheme/guile - gdbm? ( sys-libs/gdbm ) - mysql? ( virtual/mysql ) - postgres? ( dev-db/postgresql-base ) - nls? ( sys-devel/gettext ) - virtual/mta" - -DEPEND="${RDEPEND} - test? ( dev-util/dejagnu )" - -pkg_setup() { - # Default to MySQL if USE="mysql postgres', bug #58162. - if use mysql && use postgres; then - echo - ewarn "You have both 'mysql' and 'postgres' in your USE flags." - ewarn "Portage will build this package with MySQL support." - echo - ewarn "If this is not what you want, then change your" - ewarn "USE flags and emerge this package again." - fi -} - -src_compile() { - - local myconf="--localstatedir=/var --sharedstatedir=/var --enable-mh-utils" - - # bug in autoconf logic treats both --with and --without as set, - # so we cannot do use_with - # use mysql && myconf="${myconf} --with-mysql" - # use postgres && myconf="${myconf} --with-postgres" - if use mysql && use postgres; then - einfo "build with MySQL support." - myconf="${myconf} --with-mysql" - elif use mysql; then - einfo "build with MySQL support." - myconf="${myconf} --with-mysql" - elif use postgres; then - einfo "build with PotsgreSQL support." - myconf="${myconf} --with-postgres" - fi - - # do not disable-sendmail for postfix user, bug #44249. - has_postfix=$(best_version mail-mta/postfix) - has_postfix=${has_postfix%-[0-9]*} - has_postfix=${has_postfix##*\/} - - if [ "$has_postfix" == "postfix" ]; then - einfo "postfix detected - enabling sendmail" - else - myconf="${myconf} --disable-sendmail" - einfo "disabling sendmail" - fi - - myconf="${myconf} $(use_enable nls) $(use_enable pam) $(use_enable gdbm)" - econf ${myconf} || die "configure failed" - emake || die "compile failed" -} - -src_install() { - emake DESTDIR="${D}" install || die - # mail.rc stolen from mailx, resolve bug #37302. - insinto /etc - doins "${FILESDIR}/mail.rc" -} diff --git a/net-mail/mailutils/mailutils-2.1.ebuild b/net-mail/mailutils/mailutils-2.1.ebuild deleted file mode 100644 index 654f4927a978..000000000000 --- a/net-mail/mailutils/mailutils-2.1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/mailutils-2.1.ebuild,v 1.5 2010/06/17 20:54:47 patrick Exp $ - -EAPI="2" - -inherit eutils flag-o-matic python - -DESCRIPTION="A useful collection of mail servers, clients, and filters." -HOMEPAGE="http://www.gnu.org/software/mailutils/mailutils.html" -SRC_URI="http://ftp.gnu.org/gnu/mailutils/${P}.tar.bz2" -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" - -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" -IUSE="bidi gdbm guile ldap mysql nls pam postgres python test tokyocabinet" -PROVIDE="virtual/mailx" - -RDEPEND="!virtual/mailx - !mail-client/nmh - !mail-filter/libsieve - bidi? ( dev-libs/fribidi ) - guile? ( dev-scheme/guile ) - gdbm? ( sys-libs/gdbm ) - ldap? ( net-nds/openldap ) - mysql? ( virtual/mysql ) - nls? ( sys-devel/gettext ) - postgres? ( dev-db/postgresql-base ) - tokyocabinet? ( dev-db/tokyocabinet ) - virtual/mta" - -DEPEND="${RDEPEND} - test? ( dev-util/dejagnu )" - -src_prepare() { - epatch "${FILESDIR}"/${P}-python.patch -} - -src_configure() { - # TODO: Fix this breakage, starting in examples/cpp/ - append-ldflags $(no-as-needed) - - local myconf="--localstatedir=/var --sharedstatedir=/var" - myconf="${myconf} --enable-mh" - - # We need sendmail or compiling will fail - myconf="${myconf} --enable-sendmail" - - econf ${myconf} \ - $(use_with bidi fribidi) \ - $(use_with gdbm) \ - $(use_with guile) \ - $(use_with ldap) \ - $(use_with mysql) \ - $(use_enable nls) \ - $(use_enable pam) \ - $(use_with postgres) \ - $(use_with python) \ - $(use_with tokyocabinet) \ - || die "configure failed" -} - -src_install() { - emake DESTDIR="${D}" install || die - # mail.rc stolen from mailx, resolve bug #37302. - insinto /etc - doins "${FILESDIR}/mail.rc" -} - -pkg_postinst() { - python_mod_optimize "$(python_get_libdir)/site-packages/mailutils" -} |