summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2022-12-31 19:10:08 +0100
committerJakov Smolić <jsmolic@gentoo.org>2022-12-31 19:10:08 +0100
commit75ed0c7f7c8076c9dc0545a4ec32c87d5bc61f20 (patch)
treeec96b2f17c4fdc184c68ac09be24c508e6a46d58
parentvirtual/opencl: Remove treecleaned dev-libs/ocl-icd as provider (diff)
downloadgentoo-75ed0c7f7c8076c9dc0545a4ec32c87d5bc61f20.tar.gz
gentoo-75ed0c7f7c8076c9dc0545a4ec32c87d5bc61f20.tar.bz2
gentoo-75ed0c7f7c8076c9dc0545a4ec32c87d5bc61f20.zip
net-mail/metamail: treeclean
Closes: https://bugs.gentoo.org/882631 Closes: https://bugs.gentoo.org/731256 Closes: https://bugs.gentoo.org/875464 Closes: https://bugs.gentoo.org/882263 Closes: https://bugs.gentoo.org/713492 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
-rw-r--r--net-mail/metamail/Manifest2
-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
-rw-r--r--profiles/package.mask8
6 files changed, 0 insertions, 157 deletions
diff --git a/net-mail/metamail/Manifest b/net-mail/metamail/Manifest
deleted file mode 100644
index 6ed3f6200210..000000000000
--- a/net-mail/metamail/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST metamail_2.7-53.diff.gz 322363 BLAKE2B bfb3ee13816a62f03ba5cdc3e54957b03d41662d1d32a908b7a02d92490f4c5eafd8e57d945e18902b873c9bbc4615ce7819bfb4fea3f227e1ca918aaa81fd28 SHA512 cb5351308f1ad479e1560446f7f540165ff165d7306a5592a8286edd643301608ff9ace01456d4b0d03d27b9b838b61f08412b15d6b3aa99b95e2ab484e884ed
-DIST mm2.7.tar.Z 262881 BLAKE2B da245467b5dd009eb489e136d072205e5bc4a190b2b3a9c558f30c7dc6dfbecff8df1f51359cdc2561f7cd85519a6fd40705f2f640cb6632857507cb6bd551fe SHA512 9cd2619ca83594ca7be94453270b6a9ef01f5a496fd361bb76f16fc575f549ab450efa1d480c3d4b0b172f245d9c3276f99ba1ae4e3ae4bb6618df9d8131f77e
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
-}
diff --git a/profiles/package.mask b/profiles/package.mask
index cc73dfbafa14..691f89712f2b 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -1127,14 +1127,6 @@ dev-db/percona-xtrabackup-bin
# in tree is EOL upstream. Removal in 30 days. Bug #882759.
net-misc/cfengine
-# Pascal Jäger <pascal.jaeger@leimstift.de> (2022-11-24)
-# No maintainer, last release in 1994. Fails to build
-# with clang-16. Runtime crash in certain conditions.
-# Removal on 2022-12-23.
-# Bugs #549922 #713492 #731256 #875464 #882263
-# Removal Bug: #882631
-net-mail/metamail
-
# Matt Turner <mattst88@gentoo.org> (2022-11-16)
# Packages or their dependencies have not been ported to libsoup:3.0, while
# other non-slotted dependencies have been.