summaryrefslogtreecommitdiff
path: root/net-mail/metamail
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/metamail')
-rw-r--r--net-mail/metamail/Manifest6
-rw-r--r--net-mail/metamail/files/metamail-2.7.45.3-CVE-2006-0709.patch40
-rw-r--r--net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch30
-rw-r--r--net-mail/metamail/metadata.xml5
-rw-r--r--net-mail/metamail/metamail-2.7.53.3-r3.ebuild72
5 files changed, 0 insertions, 153 deletions
diff --git a/net-mail/metamail/Manifest b/net-mail/metamail/Manifest
deleted file mode 100644
index f24995ef6ed6..000000000000
--- a/net-mail/metamail/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX metamail-2.7.45.3-CVE-2006-0709.patch 1900 BLAKE2B 8261d06b58fd84d2e35b7a2e45d8f5516f351700dc1ea1c079fc11ddaf7a3cb72416e66503abe78f464398dcea219cbc386a81dfaa4a9148b33503abd2208429 SHA512 41e527767582c55ebce32ff91db0510af402a35119ce680e84cdc032701f25faee336cee303ca8891b4d870a91991fd1c4ccb455042032d4337ae247a3a3dfa1
-AUX metamail-2.7.53.3-glibc-2.10.patch 718 BLAKE2B 83a95d5e03008f16449676ea6e8631e2447b77758155431355c804543afa509fba81627cb6e2d93af5e9e6e0d7853a82afb12a657c8afc970c1f6b768dd10394 SHA512 077ad34f5d7664ef9824b623c17d9828b64aa63045f854b4b65567a35bf6fd1d5753d6d3186e3a7d6b63c2854f23cb566911c6bc4dc0904ad7d035229b2543e4
-DIST metamail_2.7-53.diff.gz 322363 BLAKE2B bfb3ee13816a62f03ba5cdc3e54957b03d41662d1d32a908b7a02d92490f4c5eafd8e57d945e18902b873c9bbc4615ce7819bfb4fea3f227e1ca918aaa81fd28 SHA512 cb5351308f1ad479e1560446f7f540165ff165d7306a5592a8286edd643301608ff9ace01456d4b0d03d27b9b838b61f08412b15d6b3aa99b95e2ab484e884ed
-DIST mm2.7.tar.Z 262881 BLAKE2B da245467b5dd009eb489e136d072205e5bc4a190b2b3a9c558f30c7dc6dfbecff8df1f51359cdc2561f7cd85519a6fd40705f2f640cb6632857507cb6bd551fe SHA512 9cd2619ca83594ca7be94453270b6a9ef01f5a496fd361bb76f16fc575f549ab450efa1d480c3d4b0b172f245d9c3276f99ba1ae4e3ae4bb6618df9d8131f77e
-EBUILD metamail-2.7.53.3-r3.ebuild 1723 BLAKE2B 4af9b69d45878bfd750f054c34535a25cfdb2de8c8465894202fdcb4cd0db79a5841984920287fa870b1f804a3d3200a22616a33614653258a330dcab2043152 SHA512 3ae29c12b9635fc9f1cd721b8155b700a2fb025cf9f4bc56381ef27d21530270774c49c8d8cfbf243674b85e6972da4543f61a14ee9b59b8e595bcfa843eef10
-MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a
diff --git a/net-mail/metamail/files/metamail-2.7.45.3-CVE-2006-0709.patch b/net-mail/metamail/files/metamail-2.7.45.3-CVE-2006-0709.patch
deleted file mode 100644
index 6572a514c37c..000000000000
--- a/net-mail/metamail/files/metamail-2.7.45.3-CVE-2006-0709.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- src/src/metamail/metamail.c.old 2006-03-14 10:13:35.000000000 -0800
-+++ src/src/metamail/metamail.c 2006-03-14 10:11:52.000000000 -0800
-@@ -313,7 +313,7 @@
- WroteSquirrelFile = 0;
- }
- LineBuf = XMALLOC(char, LINE_BUF_SIZE);
-- sprintf(LineBuf, "--%s", boundary);
-+ snprintf(LineBuf, LINE_BUF_SIZE, "--%s", boundary);
- strcpy(boundary, LineBuf);
- boundarylen = strlen(boundary);
- if (BoundaryCt >= BoundaryAlloc) {
-@@ -1712,7 +1712,7 @@
- if (boundary[0] == '"') {
- boundary=UnquoteString(boundary);
- }
-- sprintf(LineBuf, "--%s", boundary);
-+ snprintf(LineBuf, LINE_BUF_SIZE, "--%s", boundary);
- strcpy(boundary, LineBuf);
- boundarylen = strlen(boundary);
- if (BoundaryCt >= BoundaryAlloc) {
---- src/metamail/metamail.c.old 2006-03-14 10:12:39.000000000 -0800
-+++ src/metamail/metamail.c 2006-03-14 10:14:53.000000000 -0800
-@@ -445,7 +445,7 @@
- }
- LineBuf = malloc(LINE_BUF_SIZE);
- if (!LineBuf) ExitWithError(nomem);
-- sprintf(LineBuf, "--%s", boundary);
-+ snprintf(LineBuf, LINE_BUF_SIZE, "--%s", boundary);
- strcpy(boundary, LineBuf);
- boundarylen = strlen(boundary);
- if (BoundaryCt >= BoundaryAlloc) {
-@@ -2115,7 +2115,7 @@
- if (boundary[0] == '"') {
- boundary=UnquoteString(boundary);
- }
-- sprintf(LineBuf, "--%s", boundary);
-+ snprintf(LineBuf, LINE_BUF_SIZE, "--%s", boundary);
- strcpy(boundary, LineBuf);
- boundarylen = strlen(boundary);
- if (BoundaryCt >= BoundaryAlloc) {
diff --git a/net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch b/net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch
deleted file mode 100644
index 7da331adbbf8..000000000000
--- a/net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -ur mm2.7.orig/src/metamail/uue.c mm2.7/src/metamail/uue.c
---- mm2.7.orig/src/metamail/uue.c 1993-07-28 21:31:02.000000000 +0300
-+++ mm2.7/src/metamail/uue.c 2009-08-07 12:09:35.000000000 +0300
-@@ -30,7 +30,7 @@
- }
-
-
--getline (buf, size, fp)
-+get_line (buf, size, fp)
- char *buf;
- int size;
- FILE *fp;
-@@ -70,7 +70,7 @@
- char buf[63];
-
- while (1) {
-- if (getline (buf, sizeof buf, infp) < 0) {
-+ if (get_line (buf, sizeof buf, infp) < 0) {
- fprintf (stderr, "Premature EOF!\n");
- return;
- }
-@@ -82,7 +82,7 @@
- }
- }
- while (1) {
-- if (getline (buf, sizeof buf, infp) < 0) {
-+ if (get_line (buf, sizeof buf, infp) < 0) {
- fprintf (stderr, "Premature EOF!\n");
- return;
- }
diff --git a/net-mail/metamail/metadata.xml b/net-mail/metamail/metadata.xml
deleted file mode 100644
index 85e4ed814fa2..000000000000
--- a/net-mail/metamail/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>
diff --git a/net-mail/metamail/metamail-2.7.53.3-r3.ebuild b/net-mail/metamail/metamail-2.7.53.3-r3.ebuild
deleted file mode 100644
index 1d4ff4fdfb68..000000000000
--- a/net-mail/metamail/metamail-2.7.53.3-r3.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools toolchain-funcs
-
-MY_PV=$(ver_cut 1-2)
-DEB_PV=${MY_PV}-$(ver_cut 3)
-
-DESCRIPTION="Metamail (with Debian patches) - Generic MIME package"
-HOMEPAGE="http://ftp.funet.fi/pub/unix/mail/metamail/"
-SRC_URI="http://ftp.funet.fi/pub/unix/mail/metamail/mm${MY_PV}.tar.Z
- mirror://debian/pool/main/m/metamail/metamail_${DEB_PV}.diff.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
-IUSE="static-libs"
-
-DEPEND="sys-libs/ncurses:=
- app-arch/sharutils
- net-mail/mailbase"
-RDEPEND="
- ${DEPEND}
- app-misc/mime-types
- sys-apps/debianutils
- !app-misc/run-mailcap"
-BDEPEND="virtual/pkgconfig"
-
-S=${WORKDIR}/mm${MY_PV}/src
-
-src_prepare() {
- eapply "${WORKDIR}"/metamail_${DEB_PV}.diff
- eapply "${FILESDIR}"/${PN}-2.7.45.3-CVE-2006-0709.patch
- eapply "${FILESDIR}"/${P}-glibc-2.10.patch
-
- # respect CFLAGS
- sed -i -e 's/CFLAGS/LIBS/' \
- "${S}"/src/{metamail,richmail}/Makefile.am || die
-
- # add missing include - QA
- sed -i -e '/config.h/a #include <string.h>' \
- "${S}"/src/metamail/shared.c || die
-
- # Fix building with ncurses[tinfo]
- sed -i -e "s/-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" \
- src/richmail/Makefile.am \
- src/metamail/Makefile.am || die
-
- eapply_user
- eautoreconf
- chmod +x "${S}"/configure
-}
-
-src_configure() {
- econf $(use_enable static-libs static)
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc CREDITS README
- rm man/mmencode.1
- rm man/mailcap.5
- doman man/* debian/mimencode.1 debian/mimeit.1
-
- use static-libs || find "${D}"/usr/lib* -name '*.la' -delete
-}