mail-filter/mailfilter: drop old EAPI ebuild and add LibreSSL support
authorAaron Bauman <bman@gentoo.org>
Sat, 26 May 2018 01:54:24 +0000 (21:54 -0400)
committerAaron Bauman <bman@gentoo.org>
Sat, 26 May 2018 13:57:51 +0000 (09:57 -0400)
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8593

mail-filter/mailfilter/Manifest
mail-filter/mailfilter/mailfilter-0.8.2.ebuild [deleted file]
mail-filter/mailfilter/mailfilter-0.8.4.ebuild

index 4c9fdd72623c3830750325a68da8544e45dd2706..078a0d506bd117ae550bdfd561c6d47a4369f4a4 100644 (file)
@@ -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 (file)
index cc215d4..0000000
+++ /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
-}
index 966916901d05ffd1b0abebf41079600066267bd7..5a6a30d45f7da8890e21c70688cbd97f88da81df 100644 (file)
@@ -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 )