diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-10-10 21:22:37 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-10-10 21:22:37 -0400 |
commit | 6c2f0eeb952b21db855b1b7d4288f1568b8635ce (patch) | |
tree | b69d688a31269c09cf2a5ab2ce3d2c0b694d38f1 /mail-filter | |
parent | 0d91b20aadbe9ee1f5ddab4ed6ad0c75514695ad (diff) | |
download | gentoo-6c2f0eeb952b21db855b1b7d4288f1568b8635ce.tar.gz gentoo-6c2f0eeb952b21db855b1b7d4288f1568b8635ce.tar.xz |
mail-filter/popfile: add libressl support
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/popfile/popfile-1.1.3-r1.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/mail-filter/popfile/popfile-1.1.3-r1.ebuild b/mail-filter/popfile/popfile-1.1.3-r1.ebuild new file mode 100644 index 00000000000..ac4e44ba8a3 --- /dev/null +++ b/mail-filter/popfile/popfile-1.1.3-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="Anti-spam bayesian filter" +HOMEPAGE="http://getpopfile.org" +SRC_URI="http://getpopfile.org/downloads/${P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cjk ipv6 libressl mysql ssl xmlrpc" + +RDEPEND="virtual/perl-Digest-MD5 + virtual/perl-MIME-Base64 + dev-perl/DBD-SQLite + dev-perl/HTML-Tagset + dev-perl/HTML-Template + dev-perl/TimeDate + dev-perl/DBI + virtual/perl-Digest + cjk? ( dev-perl/Encode-compat + dev-perl/Text-Kakasi ) + mysql? ( dev-perl/DBD-mysql ) + ipv6? ( dev-perl/IO-Socket-INET6 ) + ssl? ( !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + dev-perl/IO-Socket-SSL + dev-perl/Net-SSLeay ) + xmlrpc? ( dev-perl/PlRPC )" + +DEPEND="app-arch/unzip" + +S="${WORKDIR}" + +src_prepare() { + local f + for f in `find ./ -type f`; do + edos2unix "${f}" + done +} + +src_install() { + dodoc *.change* + rm -rf *.change* license + + insinto /usr/share/${PN} + doins -r * + + fperms 755 /usr/share/${PN}/{popfile,insert,pipe,bayes}.pl + + dosbin "${FILESDIR}"/${PN} +} |