1 |
commit: 6c2f0eeb952b21db855b1b7d4288f1568b8635ce |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 11 01:22:37 2015 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 11 01:22:37 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c2f0eeb |
7 |
|
8 |
mail-filter/popfile: add libressl support |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
mail-filter/popfile/popfile-1.1.3-r1.ebuild | 56 +++++++++++++++++++++++++++++ |
13 |
1 file changed, 56 insertions(+) |
14 |
|
15 |
diff --git a/mail-filter/popfile/popfile-1.1.3-r1.ebuild b/mail-filter/popfile/popfile-1.1.3-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..ac4e44b |
18 |
--- /dev/null |
19 |
+++ b/mail-filter/popfile/popfile-1.1.3-r1.ebuild |
20 |
@@ -0,0 +1,56 @@ |
21 |
+# Copyright 1999-2015 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+inherit eutils |
27 |
+ |
28 |
+DESCRIPTION="Anti-spam bayesian filter" |
29 |
+HOMEPAGE="http://getpopfile.org" |
30 |
+SRC_URI="http://getpopfile.org/downloads/${P}.zip" |
31 |
+ |
32 |
+LICENSE="GPL-2" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~x86" |
35 |
+IUSE="cjk ipv6 libressl mysql ssl xmlrpc" |
36 |
+ |
37 |
+RDEPEND="virtual/perl-Digest-MD5 |
38 |
+ virtual/perl-MIME-Base64 |
39 |
+ dev-perl/DBD-SQLite |
40 |
+ dev-perl/HTML-Tagset |
41 |
+ dev-perl/HTML-Template |
42 |
+ dev-perl/TimeDate |
43 |
+ dev-perl/DBI |
44 |
+ virtual/perl-Digest |
45 |
+ cjk? ( dev-perl/Encode-compat |
46 |
+ dev-perl/Text-Kakasi ) |
47 |
+ mysql? ( dev-perl/DBD-mysql ) |
48 |
+ ipv6? ( dev-perl/IO-Socket-INET6 ) |
49 |
+ ssl? ( !libressl? ( dev-libs/openssl:0 ) |
50 |
+ libressl? ( dev-libs/libressl ) |
51 |
+ dev-perl/IO-Socket-SSL |
52 |
+ dev-perl/Net-SSLeay ) |
53 |
+ xmlrpc? ( dev-perl/PlRPC )" |
54 |
+ |
55 |
+DEPEND="app-arch/unzip" |
56 |
+ |
57 |
+S="${WORKDIR}" |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ local f |
61 |
+ for f in `find ./ -type f`; do |
62 |
+ edos2unix "${f}" |
63 |
+ done |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ dodoc *.change* |
68 |
+ rm -rf *.change* license |
69 |
+ |
70 |
+ insinto /usr/share/${PN} |
71 |
+ doins -r * |
72 |
+ |
73 |
+ fperms 755 /usr/share/${PN}/{popfile,insert,pipe,bayes}.pl |
74 |
+ |
75 |
+ dosbin "${FILESDIR}"/${PN} |
76 |
+} |