summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuan Van <langthang@gentoo.org>2006-03-14 18:45:11 +0000
committerTuan Van <langthang@gentoo.org>2006-03-14 18:45:11 +0000
commit255cc0ac8583a7adb5c4a470d0d25978fa55997a (patch)
treed179506df5b67abb1bd7cec4e3bcae60631bbf53 /net-mail/metamail/metamail-2.7.45.3-r1.ebuild
parentUpdate description (diff)
downloadgentoo-2-255cc0ac8583a7adb5c4a470d0d25978fa55997a.tar.gz
gentoo-2-255cc0ac8583a7adb5c4a470d0d25978fa55997a.tar.bz2
gentoo-2-255cc0ac8583a7adb5c4a470d0d25978fa55997a.zip
security bump. Bug #126052.
Patch by Ulf Harnhammar from Debian bug (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=352482) (Portage version: 2.1_pre5-r4)
Diffstat (limited to 'net-mail/metamail/metamail-2.7.45.3-r1.ebuild')
-rw-r--r--net-mail/metamail/metamail-2.7.45.3-r1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/net-mail/metamail/metamail-2.7.45.3-r1.ebuild b/net-mail/metamail/metamail-2.7.45.3-r1.ebuild
new file mode 100644
index 000000000000..9906b7d19620
--- /dev/null
+++ b/net-mail/metamail/metamail-2.7.45.3-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/metamail/metamail-2.7.45.3-r1.ebuild,v 1.1 2006/03/14 18:45:11 langthang Exp $
+
+inherit eutils
+
+IUSE=""
+
+MY_PV=${PV%.*.*}-${PV#*.*.}
+S=${WORKDIR}/mm${PV%.*.*}/src
+DESCRIPTION="Metamail (with Debian patches) - Generic MIME package"
+HOMEPAGE="ftp://thumper.bellcore.com/pub/nsb/"
+SRC_URI="ftp://thumper.bellcore.com/pub/nsb/mm${PV%.*.*}.tar.Z
+ mirror://debian/pool/main/m/metamail/metamail_${MY_PV}.diff.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~alpha ~ia64 ~sparc ~s390 ~amd64 ~hppa ~ppc64"
+
+DEPEND="sys-libs/ncurses
+ app-arch/sharutils
+ net-mail/mailbase"
+RDEPEND="app-misc/mime-types"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${WORKDIR}/metamail_${MY_PV}.diff
+ epatch $FILESDIR/${P}-CVE-2006-0709.patch
+ chmod +x ${S}/configure
+}
+
+src_compile() {
+ export WANT_AUTOCONF=2.5
+ econf || die
+ emake || die
+}
+src_install () {
+ make DESTDIR=${D} install || die
+ dodoc COPYING CREDITS README
+ rm man/mmencode.1
+ doman man/* debian/mimencode.1 debian/mimeit.1
+}