From 4958a02fad4303587c98a4025bf6c5c088e31226 Mon Sep 17 00:00:00 2001 From: Aaron Bauman Date: Sat, 26 May 2018 10:08:58 -0400 Subject: mail-client/mailx: drop vulnerable Bug: https://bugs.gentoo.org/533208 Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- mail-client/mailx/Manifest | 2 - .../mailx/files/mailx-8.1.2.20050715-nostrip.patch | 22 ------- mail-client/mailx/mailx-8.1.2.20050715-r6.ebuild | 71 ---------------------- 3 files changed, 95 deletions(-) delete mode 100644 mail-client/mailx/files/mailx-8.1.2.20050715-nostrip.patch delete mode 100644 mail-client/mailx/mailx-8.1.2.20050715-r6.ebuild (limited to 'mail-client/mailx') diff --git a/mail-client/mailx/Manifest b/mail-client/mailx/Manifest index 3e92f4376e64..7a1436c13902 100644 --- a/mail-client/mailx/Manifest +++ b/mail-client/mailx/Manifest @@ -1,4 +1,2 @@ DIST bsd-mailx_8.1.2-0.20160123cvs-4.debian.tar.xz 45768 BLAKE2B 7e5ae62dee742502ea86c55803615f67b2be082b0fe3e6dbf5f64ca7b63fa79014195f4c2262ffaba23624677227df4a94d3966611e9de4bf491f52e050c88b9 SHA512 79d822b4e0e9796970e96f656814cf835fe522d2e33b79484257af50e631a264f6fae99e225d96fa37f50d7ce9f3b9e9577ddb361a27c6e59af8db4736250c19 DIST bsd-mailx_8.1.2-0.20160123cvs.orig.tar.bz2 76715 BLAKE2B c6491cd88e99b62184da60cc6f8a42aac5f7f5a828c80c05d3dc4493c77727e553b916cb646dade38214d3a6738c084559764abb812a1dfe1fcce2e4d6a04960 SHA512 b66dd0fc5a150c0e1068b9aedda8425c73be7ac7e22d91f2c52de3f2d416016886f46dd54ec5024c0cd4c7e736aee7bdb68d9117f9b2b455fc42d05e1a677373 -DIST mailx_8.1.2-0.20050715cvs-1.diff.gz 36758 BLAKE2B 825e4a62fa2d33e29c25092ec466e07be6be2abed0f1da5623f37be179cbb1212baade400a621fa838eced88a84393078c67c3126774ff08030680f4f0dbdd54 SHA512 6506261f24d5a022fd9cee596a78488a279a0b39b7281cdad9c3e52b5c7f6c2506a1b24970c28cf7b4ffa4ce2d71fec650f42d22959b53aeca0f160b2885b2fe -DIST mailx_8.1.2-0.20050715cvs.orig.tar.gz 94664 BLAKE2B 0b0b9f4db18bda8b6572c97c33784f7e29c16d500b3658b79f31fb80947035e2bfc7eaf6e8bc50e621ee13ae5e61d7760aa882c29f0b082ce8974f7b1aa8416f SHA512 1c1d991a0e522b2e78a49b9c78eed80b1f6d4f68ca0427ef720ebe77a3a2881bcd3d63967ab04f5d6f75fbf2212e260e4a841152f8a69d300c46acd90bb48d68 diff --git a/mail-client/mailx/files/mailx-8.1.2.20050715-nostrip.patch b/mail-client/mailx/files/mailx-8.1.2.20050715-nostrip.patch deleted file mode 100644 index 14a05ba4d6dc..000000000000 --- a/mail-client/mailx/files/mailx-8.1.2.20050715-nostrip.patch +++ /dev/null @@ -1,22 +0,0 @@ -Index: mailx-8.1.2-0.20050715cvs.orig/Makefile -=================================================================== ---- mailx-8.1.2-0.20050715cvs.orig.orig/Makefile -+++ mailx-8.1.2-0.20050715cvs.orig/Makefile -@@ -3,16 +3,7 @@ - PROG=mail - CC=gcc - --CFLAGS=-D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -- --ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) -- CFLAGS += -O0 --else -- CFLAGS += -O2 --endif --ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) -- LDFLAGS += -s --endif -+CFLAGS=-D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT ${EXTRAFLAGS} - - SRCS= version.c aux.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c \ - edit.c fio.c getname.c head.c v7.local.c lex.c list.c main.c names.c \ diff --git a/mail-client/mailx/mailx-8.1.2.20050715-r6.ebuild b/mail-client/mailx/mailx-8.1.2.20050715-r6.ebuild deleted file mode 100644 index c51ce8d07a7c..000000000000 --- a/mail-client/mailx/mailx-8.1.2.20050715-r6.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit eutils flag-o-matic toolchain-funcs - -MX_MAJ_VER=${PV%.*} -MX_MIN_VER=${PV##*.} -MY_PV=${MX_MAJ_VER}-0.${MX_MIN_VER}cvs -S=${WORKDIR}/${PN}-${MY_PV}.orig/ -debian_patch=${PN}_${MY_PV}-1.diff.gz - -DESCRIPTION="The /bin/mail program, which is used to send mail via shell scripts" -HOMEPAGE="http://www.debian.org/" -SRC_URI="mirror://gentoo/mailx_${MY_PV}.orig.tar.gz - mirror://gentoo/${debian_patch}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="" - -DEPEND=">=net-libs/liblockfile-1.03 - virtual/mta - mail-client/mailx-support" - -RDEPEND="${DEPEND} - !mail-client/nail - !net-mail/mailutils" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${DISTDIR}/${debian_patch}" - epatch "${FILESDIR}/${P}-nostrip.patch" - sed -i -e "s: -O2: \$(EXTRAFLAGS):g" Makefile - epatch "${FILESDIR}/${P}-offsetof.patch" -} - -src_compile() { - emake CC=$(tc-getCC) EXTRAFLAGS="${CFLAGS}" || die -} - -src_install() { - dodir /usr/bin /bin /usr/share/man/man1 /etc - - insinto /usr/bin - insopts -m 755 - doins mail || die - - doman mail.1 - - dosym mail /usr/bin/Mail - dosym mail /usr/bin/mailx - dosym mail.1 /usr/share/man/man1/Mail.1 - - insinto /usr/share/mailx/ - doins misc/mail.help misc/mail.tildehelp || die - insinto /etc - insopts -m 644 - doins misc/mail.rc || die - - # compatibility link - dosym /usr/bin/mail /bin/mail || die -} - -pkg_postinst() { - elog "mail command now lives in /usr/bin." - elog "Please adjust your scripts." -} -- cgit v1.2.3-65-gdbad