From bc617305898e8f3de595eb98279c07038d9f96c6 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Sat, 12 Oct 2019 10:15:02 +0200
Subject: [PATCH] dev-libs/libmail: Remove last-rited pkg
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

Closes: https://bugs.gentoo.org/694192
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
 dev-libs/libmail/Manifest                     |  1 -
 .../files/libmail-0.3-respect-cflags.patch    | 37 -------------
 dev-libs/libmail/libmail-0.3-r3.ebuild        | 53 -------------------
 dev-libs/libmail/metadata.xml                 | 11 ----
 profiles/package.mask                         |  5 --
 5 files changed, 107 deletions(-)
 delete mode 100644 dev-libs/libmail/Manifest
 delete mode 100644 dev-libs/libmail/files/libmail-0.3-respect-cflags.patch
 delete mode 100644 dev-libs/libmail/libmail-0.3-r3.ebuild
 delete mode 100644 dev-libs/libmail/metadata.xml

diff --git a/dev-libs/libmail/Manifest b/dev-libs/libmail/Manifest
deleted file mode 100644
index 05dae1d6511d..000000000000
--- a/dev-libs/libmail/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libmail-0.3.tar.bz2 271946 BLAKE2B f03b5a07bb78423bc37111448e0b0b812d51172210a555a1cc8279ce66f62ea5033954bb37c01d6d225d53bab4996366ae803fab9a96ef97a841cbd88896454e SHA512 df4e0e549867f7cf73db8c965a28c14e3e089e54a8272b70be8b00c896dcd91d68625e2287a15d353eff75ec05e702e6d113f8122ed0e9d294766fe4f467e9d3
diff --git a/dev-libs/libmail/files/libmail-0.3-respect-cflags.patch b/dev-libs/libmail/files/libmail-0.3-respect-cflags.patch
deleted file mode 100644
index 7e22de4c7576..000000000000
--- a/dev-libs/libmail/files/libmail-0.3-respect-cflags.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- configure.ac.orig	2013-01-31 16:18:06.537834009 +0400
-+++ configure.ac	2013-01-31 16:19:00.138835711 +0400
-@@ -12,7 +12,7 @@
- AC_PROG_MAKE_SET
- AC_PROG_LIBTOOL
- 
--CFLAGS="-D_GNU_SOURCE -Wall -Wunused -Wstrict-prototypes"
-+CFLAGS="-D_GNU_SOURCE -Wall -Wunused -Wstrict-prototypes ${CFLAGS}"
- 
- use_sasl=false
- use_apop=false
-@@ -99,7 +99,6 @@
- 	;;
- 	yes)
- 	AC_DEFINE(NDEBUG, [1], [Use debug functionality])
--	CFLAGS="$CFLAGS -g"
- 	optimize="no"
- 	;;
- 	*)
-@@ -119,7 +118,6 @@
- 	;;
- 	yes)
- 	AC_DEFINE(NDEBUG, [1], [Use debug functionality])
--	CFLAGS="$CFLAGS -pg -g"
- 	optimize="yes"
- 	;;
- 	*)
-@@ -127,9 +125,6 @@
- 	;;
- 	esac
- 	])
--if test $optimize = "yes"; then
--	CFLAGS="$CFLAGS -O2"
--fi
- AM_CONDITIONAL([LIBMAIL_USE_SASL], [test x$use_sasl = xtrue])
- AM_CONDITIONAL([LIBMAIL_USE_APOP], [test x$use_apop = xtrue])
- AM_CONDITIONAL([LIBMAIL_USE_TLS], [test x$use_tls = xtrue])
diff --git a/dev-libs/libmail/libmail-0.3-r3.ebuild b/dev-libs/libmail/libmail-0.3-r3.ebuild
deleted file mode 100644
index c20fa7c5a900..000000000000
--- a/dev-libs/libmail/libmail-0.3-r3.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_IN_SOURCE_BUILD=1
-AUTOTOOLS_AUTORECONF=1
-inherit autotools-utils
-
-DESCRIPTION="A mail handling library"
-HOMEPAGE="http://libmail.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="apop debug gnutls profile sasl static-libs"
-
-DEPEND="gnutls? ( >=net-libs/gnutls-2 )
-	sasl? ( >=dev-libs/cyrus-sasl-2 )"
-RDEPEND="${DEPEND}"
-
-DOCS=( AUTHORS ChangeLog NEWS README TODO )
-
-# Do not unset user's CFLAGS, bug #454558
-PATCHES=( "${FILESDIR}/${P}-respect-cflags.patch" )
-
-src_prepare() {
-	# Drop quotes from ACLOCAL_AMFLAGS otherwise aclocal will fail
-	# see 447760
-	sed -i -e "/ACLOCAL_AMFLAGS/s:\"::g" Makefile.am || die
-	autotools-utils_src_prepare
-}
-
-src_configure() {
-	local myeconfargs=(
-		$(use_enable apop)
-		$(use_enable debug)
-		$(use_enable gnutls tls)
-		$(use_enable profile)
-		$(use_enable sasl)
-	)
-	autotools-utils_src_configure
-}
-
-src_install() {
-	autotools-utils_src_install
-
-	# headers, that are wrongly skipped from installing
-	insinto /usr/include/libmail
-	doins libmail/libmail_intl.h
-	doins config.h
-}
diff --git a/dev-libs/libmail/metadata.xml b/dev-libs/libmail/metadata.xml
deleted file mode 100644
index b77b86fc4804..000000000000
--- a/dev-libs/libmail/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<!-- maintainer-needed -->
-	<use>
-		<flag name="apop">Enables the APOP authentication method</flag>
-	</use>
-	<upstream>
-		<remote-id type="sourceforge">libmail</remote-id>
-	</upstream>
-</pkgmetadata>
diff --git a/profiles/package.mask b/profiles/package.mask
index 0636d2208b40..7cc08b4b720a 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -683,11 +683,6 @@ dev-libs/libntru
 # Removal in 30 days.  Bug #694196.
 dev-libs/libmongo-client
 
-# Michał Górny <mgorny@gentoo.org> (2019-09-12)
-# Unmaintained.  Last release in 2009.  No reverse dependencies.
-# Removal in 30 days.  Bug #694192.
-dev-libs/libmail
-
 # Lars Wendler <polynomial-c@gentoo.org> (2019-09-04)
 # Unofficial build. Superseded by official 2.49.5 release.
 # Masked for removal.
-- 
2.26.2