summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2018-05-25 21:54:24 -0400
committerAaron Bauman <bman@gentoo.org>2018-05-26 09:57:51 -0400
commitc23c6d0d909cbd955011bb735f35224b186c927a (patch)
tree832c258fb36b16c0c33d3ba7c3daabc0a93970e9 /mail-filter/mailfilter
parentdev-libs/pslib: drop old EAPI (diff)
downloadgentoo-c23c6d0d909cbd955011bb735f35224b186c927a.tar.gz
gentoo-c23c6d0d909cbd955011bb735f35224b186c927a.tar.bz2
gentoo-c23c6d0d909cbd955011bb735f35224b186c927a.zip
mail-filter/mailfilter: drop old EAPI ebuild and add LibreSSL support
Package-Manager: Portage-2.3.40, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/8593
Diffstat (limited to 'mail-filter/mailfilter')
-rw-r--r--mail-filter/mailfilter/Manifest1
-rw-r--r--mail-filter/mailfilter/mailfilter-0.8.2.ebuild33
-rw-r--r--mail-filter/mailfilter/mailfilter-0.8.4.ebuild8
3 files changed, 6 insertions, 36 deletions
diff --git a/mail-filter/mailfilter/Manifest b/mail-filter/mailfilter/Manifest
index 4c9fdd72623c..078a0d506bd1 100644
--- a/mail-filter/mailfilter/Manifest
+++ b/mail-filter/mailfilter/Manifest
@@ -1,2 +1 @@
-DIST mailfilter-0.8.2.tar.gz 382966 BLAKE2B 83051f2b692dfe91865e2c5975a491882f8d167cd038a86e9481ff149be82616fd8be69ed171e8393fc0fff7f602802b0dddd0462a00c0b8cd7c0a3c91ffc2e7 SHA512 fc988fe8e36204e4041ce10d6a87f06c8fd48c311aee0d838c2eec08c0d26c13c082fb44a63e7d9c0610d8be52dbf69e340247241f3c76a209319391969ec387
DIST mailfilter-0.8.4.tar.gz 424789 BLAKE2B 3ffee855a52b6d85ca7241ab55fd31093ff7dad218b37d2caeaf61dbe0a6ce14a283a60f6bee33409363e516902d8024ec4e5008041ddc28b48d7fc1313d5de3 SHA512 d6cd3399240f60020bf17f460376bfa73132e0714adf1e9b34e2993367440eba28d3cb8ef20b997b1ecf02419f69b761f704598641222d32b3aefdb8a96930e7
diff --git a/mail-filter/mailfilter/mailfilter-0.8.2.ebuild b/mail-filter/mailfilter/mailfilter-0.8.2.ebuild
deleted file mode 100644
index cc215d4cc7ed..000000000000
--- a/mail-filter/mailfilter/mailfilter-0.8.2.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-inherit eutils
-
-DESCRIPTION="Mailfilter is a utility to get rid of unwanted spam mails"
-HOMEPAGE="http://mailfilter.sourceforge.net/"
-SRC_URI="mirror://sourceforge/mailfilter/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND="sys-devel/flex"
-RDEPEND=""
-
-src_prepare() {
- epatch "${FILESDIR}"/0.8.2-gcc44.patch \
- "${FILESDIR}"/0.8.2-openssl-1.patch \
- "${FILESDIR}"/${PV}-gcc46.patch
-}
-
-src_compile() {
- emake -j1 || die #281069
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc INSTALL doc/FAQ "${FILESDIR}"/rcfile.example{1,2} \
- README THANKS ChangeLog AUTHORS NEWS || die
-}
diff --git a/mail-filter/mailfilter/mailfilter-0.8.4.ebuild b/mail-filter/mailfilter/mailfilter-0.8.4.ebuild
index 966916901d05..5a6a30d45f7d 100644
--- a/mail-filter/mailfilter/mailfilter-0.8.4.ebuild
+++ b/mail-filter/mailfilter/mailfilter-0.8.4.ebuild
@@ -10,10 +10,14 @@ SRC_URI="mirror://sourceforge/mailfilter/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd"
-IUSE="+ssl"
+IUSE="libressl +ssl"
DEPEND="sys-devel/flex
- ssl? ( dev-libs/openssl:* )"
+ ssl? (
+ libressl? ( dev-libs/libressl:0= )
+ !libressl? ( dev-libs/openssl:0= )
+)"
+
RDEPEND=""
PATCHES=( "${FILESDIR}"/0.8.4-fix-parallel-build.patch )