Portage is a package management system used by Gentoo Linux
# ChangeLog for net-mail/mailutils
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/ChangeLog,v 1.36 2008/07/15 03:26:05 dirtyepic Exp $
15 Jul 2008; Ryan Hill
mailutils-1.2.ebuild:
Add test USE flag with dependency on dejagnu for part of bug #172970 by
James Rowe.
21 May 2008; Tiziano Müller
mailutils-0.6-r3.ebuild:
Changed dependency for postgresql from dev-db/postgresql to
virtual/postgresql-server
19 May 2008; Tiziano Müller
Changed dependency for postgresql to virtual/postgresql-base
*mailutils-1.2 (03 Mar 2008)
03 Mar 2008; Jeroen Roovers
+mailutils-1.2.ebuild:
Version bump with removed mailwrapper magic (bug #158501). Marked ~hppa.
27 Jan 2007; Olivier Crête
Added ~amd64 keyword for bug #158295
10 Jan 2007; Piotr Jaroszyński
Fix Manifest.
10 Jan 2007; Marijn Schouten
Dependency update: dev-util/guile -> dev-scheme/guile.
06 Jan 2007; Fernando J. Pereda
-mailutils-0.6-r2.ebuild:
QA: Clean unused versions.
23 Nov 2006; Francesco Riosa
mailutils-0.6-r3.ebuild:
dev-db/mysql => virtual/mysql
04 Nov 2006; Bryan Østergaard
mailutils-0.6-r3.ebuild:
Stable on Alpha.
09 Sep 2006;
Stable on x86, bug #141396.
27 Apr 2006; Alec Warner
files/digest-mailutils-0.6-r2, Manifest:
Fixing SHA256 digest, pass four
*mailutils-0.6-r3 (16 Feb 2006)
16 Feb 2006; Tuấn Văn
+files/mailutils-0.6-imap4d-gcc4.0-ftbfs.patch, +mailutils-0.6-r3.ebuild:
gcc4.0 patch. Thanks to Thomas Chik
15 Sep 2005; Aron Griffis
Mark 0.6-r2 stable on alpha
10 Sep 2005; Fernando J. Pereda
-mailutils-0.6-r1.ebuild:
remove vulnerable version. forgot to do it earlier
*mailutils-0.6-r2 (10 Sep 2005)
10 Sep 2005; Fernando J. Pereda
+files/mailutils-0.6-imap4d-format-string.patch, +mailutils-0.6-r2.ebuild:
Applied security patch wrt bug #105458. Stable on x86
27 May 2005; Fernando J. Pereda
+files/mailutils-SQLinjection.patch, +files/mailutils-getline.diff,
mailutils-0.6-r1.ebuild:
Added two patches (security and fixes compiling on alpha). Readded ~alpha so
26 May 2005; Fernando J. Pereda
added security patches backported from 0.6.90, wrt #94053. Dropped ~alpha
keyword, doesn't compile. Removed vulnerable ebuilds
14 May 2005; Fernando J. Pereda
mailutils-0.6.ebuild:
keyworded ~alpha
10 Mar 2005; Tom Martin
Initial ~sparc.
*mailutils-0.6 (01 Feb 2005)
01 Feb 2005; Tuấn Văn
+files/mailutils-0.6-mh-Makefile.in.patch, +mailutils-0.6.ebuild:
Version bump.
29 Sep 2004; Tuan Van
stable on x86. Remove old ebuild.
06 Sep 2004; Ciaran McCreesh
Switch to use epause and ebeep, bug #62950
26 Jul 2004; Tuan Van
add virtual/mailx, wrt bug #58164.
default to 'mysql', wrt bug #58162.
14 Jul 2004; Tuan Van
stay away from awk.
10 Jul 2004; Tuan Van
Added mail.rc to resolved bug #37302.
It looks like people using postfix as virtual/mta having problem with
--disable-sendmail, add logic to enable-sendmail if postfix is MTA,
resolved bug #44249.
*mailutils-0.5 (08 Jul 2004)
08 Jul 2004; Tuan Van
Version bump.
08 Jul 2004; Tuan Van
mark mailutils-0.3.1-r1 stable. mailutils-0.3.1 doesn't compile with gcc-3.3.
Resolve bug #53807.
*mailutils-0.3.1-r1 (30 Jun 2004)
30 Jun 2004; Cory Visi
files/mailutils-0.3.1-mh-Makefile.in.patch:
Some cleanup, add support for postgres, add mh-utils, address Bug 22864
30 May 2004; Robin H. Johnson
mailutils-0.3.ebuild:
mailx move
*mailutils-0.3.1 (08 Jun 2003)
08 Jun 2003; Jon Portnoy
Version bump.
*mailutils-0.3 (26 Mar 2003)
26 Mar 2003; Jon Portnoy
digest-mailutils-0.3 :
Initial import of GNU mailutils, a suite of mail-related tools
including POP3/IMAP servers, parsing tools, and a mailx
replacement.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX mail.rc 271 RMD160 aed3edf9939427b4a9c602daa0851b829634e088 SHA1 25ed72daf07c3914491731532c2b7df597e55387 SHA256 b75b4e7770be8014baceb59a768697b72db9850fc07be8897a5ac851f169329c
AUX mailutils-0.6-imap4d-format-string.patch 469 RMD160 86afa1767beccb5cc720d65b4745f44a31cb2e73 SHA1 b231625ee1580401c701ce6f08e20a55e10e0c2a SHA256 a339bd53d12d297681f86bf065c7e74ebef07fb0caa25207a28bcc0581f326ac
AUX mailutils-0.6-imap4d-gcc4.0-ftbfs.patch 763 RMD160 7926a88b08a23ad1fe91acd01d4d83e48db6c7b9 SHA1 056d23cac291b0ea86f015bf603ef344d16ce8df SHA256 4d83211cdedcbb65f6f74119abfb1739034a6ed7699eff3df21a8b689f41e3fc
AUX mailutils-0.6-mh-Makefile.in.patch 536 RMD160 1df7ef14eae8b7e64391c04273c61b2139ffbb08 SHA1 99a4f36dfeaa7cc7c8e54f98a00739c5b556d56d SHA256 de0a5f6c93da56089562ae93bdf24b3c11fb1aa80eadeaca133abd0008bd65c8
AUX mailutils-IDEF0954-IDEF0955.patch 1952 RMD160 a53eb991e96e1cc18f173478ff6aeab0adfe6d4a SHA1 f226b98d4cbe4d90020ce0499a249f68293b8851 SHA256 1517f0a2e879bae94a30958b1d0d22684a0ab8f6eb6553cd6e3de9403471dbd3
AUX mailutils-IDEF0956.patch 524 RMD160 262d28edfea515c16cf6107c9c056ffe3125f194 SHA1 af54d2afb37df708e907616a4a956a11a45055cc SHA256 995076a8dc5063a48d0a5ba581efd11bbf64ad391659a4a03e9686e027b519d7
AUX mailutils-IDEF0957.patch 590 RMD160 ff2873ae4b79904272596bd97189098dced48d70 SHA1 e1d4f7d1aeee91a7bfc0e8a1d56d51b9bbc12652 SHA256 7d47bf537181b979b080c6761a551aa55531ee8d5b84d6702794ef44dcaa76ae
AUX mailutils-SQLinjection.patch 460 RMD160 ac574075624823151d8e0dba16b4a598a4fd35a1 SHA1 83b6b3c63e990b6b4d28eea266afa6d1fbaf2c6f SHA256 f062c09200e01257aea31452b1d76355c37ba5f67a8fe7f69cfa7a4d071cba5d
AUX mailutils-getline.diff 667 RMD160 731f7e4af498ef0ab0d800fe5d7ab387061594b6 SHA1 25af2f77b7dc9ba8056685545e9b36019da7dfab SHA256 3a7e33585aa82ff8a151b46ae9d89b8f388ae65d784d4cecbeb43a24c11e0fc0
DIST mailutils-0.6.tar.bz2 2025327 RMD160 a5f7df9e363ee461135f3c7336a5877f124284ec SHA1 dc9b50aa8e22a6c84e295499ff6ac2871ccf8fb7 SHA256 a76114866ddb705dbc6a841ef8b7f603ef34640bc8d9652ccac14bafddb95a8c
DIST mailutils-1.2.tar.bz2 2507082 RMD160 85cc53d578aa80439c6a3ec8aba87137b5fcc263 SHA1 54381259604b8736ea2bb4a2927be79e6f472416 SHA256 bc2cc54caeedda83883279d5880d22eb20eca39ecefcc7eec6ea190911c53de4
EBUILD mailutils-0.6-r3.ebuild 3103 RMD160 226068df1d3f9df256cdf52395d149be4a20119b SHA1 7d228ab77bccd81bda0999286a63e805292d7b2a SHA256 80093c1119fa94bb30e1a2bfad487e8b8890438959e8716e8eefff6378debd8b
EBUILD mailutils-1.2.ebuild 2445 RMD160 2c2b15fdedc975d1d799c295181b9acd29a83f74 SHA1 cfb97609366e8a53593c0587f6d4672a16531547 SHA256 7aa973003fc889e62c3d11b61759679846dc4fd2788990b8814120ee5f031335
MISC ChangeLog 5027 RMD160 63bd06edb5330751de984444e9aef534f5938e6d SHA1 d8c52511ef3c5e3e4e80e03ce73c373e9430c6c1 SHA256 4566aa81517f79b054a29537526abf9f9b6fa05711749a6fd550736edb56cedd
MISC metadata.xml 161 RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 SHA1 a1fecd2f7b169d621b88c6ccab9d758209fc8f19 SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkh8GOIACgkQiqiDRvmkBmJVFACgvnSo7zfXMZMPWd3MNaHBKEGb
qOAAoJG+Qpl1JIb9a5hCGVy+K+djXut5
=NQdq
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/mailutils-0.6-r3.ebuild,v 1.9 2008/07/15 03:26:05 dirtyepic 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 ~ppc ~sparc x86"
IUSE="mailwrapper nls pam mysql postgres gdbm test"
PROVIDE="virtual/mailx"
RDEPEND="!virtual/mailx
!mail-client/nmh
!mail-client/elm
dev-scheme/guile
gdbm? ( sys-libs/gdbm )
mysql? ( virtual/mysql )
postgres? ( virtual/postgresql-server )
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; please hit Control-C now;"
ewarn "change you USE flags then emerge this package again."
echo
ewarn "Waiting 30 seconds before continuing..."
ewarn "(Control-C to abort)..."
epause 30
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-mh-Makefile.in.patch
epatch "${FILESDIR}"/${PN}-IDEF0954-IDEF0955.patch
epatch "${FILESDIR}"/${PN}-IDEF0956.patch
epatch "${FILESDIR}"/${PN}-IDEF0957.patch
epatch "${FILESDIR}"/${PN}-getline.diff
epatch "${FILESDIR}"/${PN}-SQLinjection.patch
epatch "${FILESDIR}"/${P}-imap4d-format-string.patch
epatch "${FILESDIR}"/${P}-imap4d-gcc4.0-ftbfs.patch
}
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 w/o mailwrapper, 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"
einfo "enable-sendmail"
else
if ! use mailwrapper; then
myconf="${myconf} --enable-sendmail"
else
myconf="${myconf} --disable-sendmail"
einfo "disable-sendmail"
fi
fi
myconf="${myconf} $(use_enable nls) $(use_enable pam) $(use_enable gdbm)"
econf ${myconf} || die "configure failed"
emake || die "compile failed"
}
src_install() {
make DESTDIR="${D}" install || die
# mail.rc stolen from mailx, resolve bug #37302.
insinto /etc
doins "${FILESDIR}/mail.rc"
}
# Copyright 1999-2008 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.3 2008/07/15 03:26:05 dirtyepic 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-client/elm
dev-scheme/guile
gdbm? ( sys-libs/gdbm )
mysql? ( virtual/mysql )
postgres? ( virtual/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"
}