summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2006-05-31 07:12:37 +0000
committerStuart Herbert <stuart@gentoo.org>2006-05-31 07:12:37 +0000
commite787b90c57d2deeee707797a8a2a47879f113154 (patch)
tree0c116aca8fd162c14a4122c6e75bd11e5b49738c /mail-filter/popfile
parentVersion bump, remove old broken version, please unmask after some testing (diff)
downloadgentoo-2-e787b90c57d2deeee707797a8a2a47879f113154.tar.gz
gentoo-2-e787b90c57d2deeee707797a8a2a47879f113154.tar.bz2
gentoo-2-e787b90c57d2deeee707797a8a2a47879f113154.zip
Version bump
(Portage version: 2.0.54-r2)
Diffstat (limited to 'mail-filter/popfile')
-rw-r--r--mail-filter/popfile/ChangeLog9
-rw-r--r--mail-filter/popfile/Manifest14
-rw-r--r--mail-filter/popfile/files/digest-popfile-0.22.41
-rw-r--r--mail-filter/popfile/popfile-0.22.4.ebuild78
4 files changed, 90 insertions, 12 deletions
diff --git a/mail-filter/popfile/ChangeLog b/mail-filter/popfile/ChangeLog
index 389dbc690e20..97bf8055afea 100644
--- a/mail-filter/popfile/ChangeLog
+++ b/mail-filter/popfile/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for mail-filter/popfile
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/popfile/ChangeLog,v 1.9 2006/02/13 14:34:23 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/popfile/ChangeLog,v 1.10 2006/05/31 07:12:37 stuart Exp $
+
+*popfile-0.22.4 (31 May 2006)
+
+ 31 May 2006; Stuart Herbert <stuart@gentoo.org> +popfile-0.22.4.ebuild:
+ Version bump; thanks to Lasse Bigum <zenith@cs.aau.dk> for the patch
+ Closes bug 124308
+ Closes bug 133800
13 Feb 2006; Michael Cummings <mcummings@gentoo.org>
popfile-0.20.1.ebuild, popfile-0.21.1.ebuild:
diff --git a/mail-filter/popfile/Manifest b/mail-filter/popfile/Manifest
index 4ca6dcc8dacf..c877f38b3b7f 100644
--- a/mail-filter/popfile/Manifest
+++ b/mail-filter/popfile/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 97a23af5977fef74394d8cfb70c48894 ChangeLog 2164
+MD5 e83e020f35ff04ddbe5e09e5a30c7ca0 ChangeLog 2381
MD5 b97d4969666f64a2d8b7c050253dc29b files/digest-popfile-0.20.1 64
MD5 d9d12773e8397a1960eab275e3bcc8c4 files/digest-popfile-0.21.1 64
+MD5 353bfd0e333f1ccccfeaee7231c0ed03 files/digest-popfile-0.22.4 64
MD5 7ffa9bf1b757cbd93afb8c746fcd24e6 metadata.xml 293
MD5 392bffca413960c2d2e9c43a0a5ba2f0 popfile-0.20.1.ebuild 1115
MD5 f546b38b970663de21949885040430eb popfile-0.21.1.ebuild 1159
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFD8JjltG5z4I8BtQoRApU9AJ4lhjz9t6YSisnhsEapsB9Y3vy7kwCePvB6
-2c5C4xnDgCxpagTpimtqBos=
-=LJUF
------END PGP SIGNATURE-----
+MD5 33471be0f799363757596856033b96b6 popfile-0.22.4.ebuild 1621
diff --git a/mail-filter/popfile/files/digest-popfile-0.22.4 b/mail-filter/popfile/files/digest-popfile-0.22.4
new file mode 100644
index 000000000000..e5a94b6122bf
--- /dev/null
+++ b/mail-filter/popfile/files/digest-popfile-0.22.4
@@ -0,0 +1 @@
+MD5 3261686efd19835e131ac9fe0b63346d popfile-0.22.4.zip 1644941
diff --git a/mail-filter/popfile/popfile-0.22.4.ebuild b/mail-filter/popfile/popfile-0.22.4.ebuild
new file mode 100644
index 000000000000..c7d3de734a1e
--- /dev/null
+++ b/mail-filter/popfile/popfile-0.22.4.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/popfile/popfile-0.22.4.ebuild,v 1.1 2006/05/31 07:12:37 stuart Exp $
+
+IUSE="cjk ipv6 mysql ssl xmlrpc"
+
+S=${WORKDIR}
+DESCRIPTION="Anti-spam bayesian filter"
+HOMEPAGE="http://popfile.sourceforge.net/"
+SRC_URI="mirror://sourceforge/popfile/${P}.zip"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+
+DEPEND=">=dev-lang/perl-5.7.3
+ virtual/perl-Digest-MD5
+ virtual/perl-MIME-Base64
+ || (
+ <=dev-perl/DBD-SQLite-0.31
+ dev-perl/DBD-SQLite2
+ )
+ dev-perl/HTML-Tagset
+ dev-perl/HTML-Template
+ dev-perl/TimeDate
+ app-arch/unzip
+ "
+
+RDEPEND="${DEPEND}
+ cjk? (
+ dev-perl/Encode-compat
+ dev-perl/Text-Kakasi
+ )
+ mysql? (
+ dev-perl/DBD-mysql
+ )
+ ipv6? (
+ dev-perl/IO-Socket-INET6
+ )
+ ssl? (
+ dev-libs/openssl
+ !=dev-perl/IO-Socket-SSL-0.97
+ dev-perl/Net-SSLeay
+ )
+ xmlrpc? (
+ dev-perl/PlRPC
+ )
+ "
+
+src_compile() {
+ # do nothing
+ echo > /dev/null
+}
+
+src_install() {
+ dodir /usr/share/popfile
+ dodir /var/lib/popfile
+ dodir /var/log/popfile
+
+ dodoc license v*.change
+ tar -cf - manual | ( cd ${D}/usr/share/doc/${P} && tar -xf - )
+
+ find . -type f -print | xargs chmod 600
+ find . -type d -print | xargs chmod 700
+ tar -cf - * | ( cd ${D}/usr/share/popfile && tar -xf - )
+
+ insinto /var/lib/popfile
+ doins stopwords
+
+ fperms 0755 /usr/share/popfile/{popfile,bayes,insert,pipe}.pl
+}
+
+pkg_postinst () {
+ einfo "To start popfile, run /usr/share/popfile/popfile.pl"
+ einfo
+ einfo "A /etc/init.d script will be added once popfile can support"
+ einfo "multiple users"
+}