Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/metamail/
Date: Sat, 09 Feb 2019 19:56:05
Message-Id: 1549742098.dba67117b6a9c0aa92abc9b8dadab619137eeb69.bman@gentoo
1 commit: dba67117b6a9c0aa92abc9b8dadab619137eeb69
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Tue Feb 5 08:28:31 2019 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 9 19:54:58 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dba67117
7
8 net-mail/metamail: remove old (EAPI4)
9
10 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/10984
12 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
13
14 net-mail/metamail/metamail-2.7.53.3-r1.ebuild | 66 ---------------------------
15 1 file changed, 66 deletions(-)
16
17 diff --git a/net-mail/metamail/metamail-2.7.53.3-r1.ebuild b/net-mail/metamail/metamail-2.7.53.3-r1.ebuild
18 deleted file mode 100644
19 index 0fc5a95cabe..00000000000
20 --- a/net-mail/metamail/metamail-2.7.53.3-r1.ebuild
21 +++ /dev/null
22 @@ -1,66 +0,0 @@
23 -# Copyright 1999-2018 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=4
27 -
28 -inherit autotools eutils toolchain-funcs versionator
29 -
30 -MY_PV=$(get_version_component_range 1-2)
31 -DEB_PV=${MY_PV}-$(get_version_component_range 3)
32 -
33 -DESCRIPTION="Metamail (with Debian patches) - Generic MIME package"
34 -HOMEPAGE="http://ftp.funet.fi/pub/unix/mail/metamail/"
35 -SRC_URI="http://ftp.funet.fi/pub/unix/mail/metamail/mm${MY_PV}.tar.Z
36 - mirror://debian/pool/main/m/metamail/metamail_${DEB_PV}.diff.gz"
37 -
38 -LICENSE="GPL-2"
39 -SLOT="0"
40 -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
41 -IUSE="static-libs"
42 -
43 -DEPEND="sys-libs/ncurses
44 - app-arch/sharutils
45 - net-mail/mailbase"
46 -RDEPEND="app-misc/mime-types
47 - sys-apps/debianutils
48 - !app-misc/run-mailcap"
49 -
50 -S=${WORKDIR}/mm${MY_PV}/src
51 -
52 -src_prepare() {
53 - epatch "${WORKDIR}"/metamail_${DEB_PV}.diff
54 - epatch "${FILESDIR}"/${PN}-2.7.45.3-CVE-2006-0709.patch
55 - epatch "${FILESDIR}"/${P}-glibc-2.10.patch
56 -
57 - # respect CFLAGS
58 - sed -i -e 's/CFLAGS/LIBS/' \
59 - "${S}"/src/{metamail,richmail}/Makefile.am || die
60 -
61 - # add missing include - QA
62 - sed -i -e '/config.h/a #include <string.h>' \
63 - "${S}"/src/metamail/shared.c || die
64 -
65 - # Fix building with ncurses[tinfo]
66 - sed -i -e "s/-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" \
67 - src/richmail/Makefile.am \
68 - src/metamail/Makefile.am || die
69 - eautoreconf
70 - chmod +x "${S}"/configure
71 -}
72 -
73 -src_configure() {
74 - econf $(use_enable static-libs static)
75 -}
76 -
77 -src_compile() {
78 - emake CC=$(tc-getCC) CFLAGS="${CFLAGS}"
79 -}
80 -
81 -src_install () {
82 - emake DESTDIR="${D}" install
83 - dodoc CREDITS README
84 - rm man/mmencode.1
85 - doman man/* debian/mimencode.1 debian/mimeit.1
86 -
87 - use static-libs || find "${D}"/usr/lib* -name '*.la' -delete
88 -}