summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-11-20 13:38:42 +0000
committerEray Aslan <eras@gentoo.org>2011-11-20 13:38:42 +0000
commit95c79a0657af5f08759ce98b76b2397a44776f70 (patch)
tree2be7dcc693d028b5d8a04c515bc09248fb765f48 /mail-filter
parentVersion bump, remove old. (diff)
downloadhistorical-95c79a0657af5f08759ce98b76b2397a44776f70.tar.gz
historical-95c79a0657af5f08759ce98b76b2397a44776f70.tar.bz2
historical-95c79a0657af5f08759ce98b76b2397a44776f70.zip
Respect CFLAGS - bug #240780
Package-Manager: portage-2.1.10.36/cvs/Linux x86_64
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/bmf/ChangeLog9
-rw-r--r--mail-filter/bmf/Manifest23
-rw-r--r--mail-filter/bmf/bmf-0.9.4-r1.ebuild50
3 files changed, 79 insertions, 3 deletions
diff --git a/mail-filter/bmf/ChangeLog b/mail-filter/bmf/ChangeLog
index d7223f5fba99..b99427d4239e 100644
--- a/mail-filter/bmf/ChangeLog
+++ b/mail-filter/bmf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/bmf
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/bmf/ChangeLog,v 1.11 2010/07/08 16:25:41 hwoarang Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/bmf/ChangeLog,v 1.12 2011/11/20 13:38:42 eras Exp $
+
+*bmf-0.9.4-r1 (20 Nov 2011)
+
+ 20 Nov 2011; Eray Aslan <eras@gentoo.org> +bmf-0.9.4-r1.ebuild:
+ Respect CFLAGS - bug #240780
08 Jul 2010; Markos Chandras <hwoarang@gentoo.org> bmf-0.9.4.ebuild:
Make it respect CC variable wrt bug #244138
diff --git a/mail-filter/bmf/Manifest b/mail-filter/bmf/Manifest
index 0268149b291e..94732866ddb2 100644
--- a/mail-filter/bmf/Manifest
+++ b/mail-filter/bmf/Manifest
@@ -1,4 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST bmf-0.9.4.tar.gz 36740 RMD160 3b8d73879d8e616d52d00bf838395ed7f6a7fc4d SHA1 d0b7ab253a531a533fefc6bc0691cc7af7ccea79 SHA256 7eed21802f95df2321ac4c958f99e14d2809852a5708700b633e1abb032c9ce1
+EBUILD bmf-0.9.4-r1.ebuild 1117 RMD160 a64774d32e177859e85cdeb551edf6c727cb83a7 SHA1 a240ac88e8f673d6e943f1936d7a606d0041e5f6 SHA256 c97a152482e6299c35f3b7ecde0abee13822bcd9e69060c3891c348749884d73
EBUILD bmf-0.9.4.ebuild 997 RMD160 9638ea524e62630e3a5bd4a387b2a412dec2485f SHA1 13e9dce6385e75f64131bfd5ba7b04e9466220b7 SHA256 5b043cef4d669c5bc0823797c4170dd334852bda16dee426f145b9a02994a5a6
-MISC ChangeLog 1307 RMD160 ef6a238da689ee105fa70f0d7294571e44f78f0e SHA1 f439b3fb4e2960416c9bb9fb494893f402d30367 SHA256 1c5cfe3d4afcdbfd1d270d6f3cc5e2d452a201513865d9ec8f1649a86152f87c
+MISC ChangeLog 1430 RMD160 eab6b1da7c00576947eceb2cb28fed878accdf8a SHA1 43cf9068d7d069c3f173de5cefe44b216d3c83eb SHA256 b9cce050919f621b7fa04885a063cc354a4c10b1f55898fd2f85be8a48e98a17
MISC metadata.xml 161 RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 SHA1 a1fecd2f7b169d621b88c6ccab9d758209fc8f19 SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQIcBAEBCAAGBQJOyQLnAAoJEHfx8XVYajsflpcP/Rm9FzXRUUcyoSTM6UHnUt4q
+d5v5ybJizf30ljzlCXGuCkTzzkCc8j4m8JE4AUnSA9D/l3ofGsPvlx2AfDk9lkoY
+VU+u4SD4DQaOTS8A44aPlJ23YBLJtpxFVjA3XJk06+tDN81S35smzqspTgrjNLZ5
+LFKwVBOraCTxy4Ff34NhyBCRTJ6VsE3q2L5ZuTxilUj4SWshvxGv+2zKeSqJtu4F
+mDYDcIFkbq4825j7KmESgQviSn2zPkx4KB6hgrkeyk2FtJLeJRL13Ou/aIKb2hld
+ilS9rPzSPBgmrVLMG5UnDol4X4EMCFA+tvIiJK8LcM3FOfraOIFBCA/fOKbtvwPW
+6gbCOe4ali06MSuVFhZo+7+Kwkps5YFKkj/xFaU8WWT7ojc3EO40F7DXyQv0b3MR
+YH+h7yhyu6yMvvRa1bamsnvabDQbhJcf4eOF0YA1nugVYNe7eGVBsEscb8f1bF91
+669XqsdWZ9KpzD6u+R2r/ErhYndZm28sUoM03YLWUnV4lseW/AH7EJOOtrW413li
+7LfoS4cmOeun4Y2+HDZLzGCaI25iH41sNJGwpoiutra+bp/Fb7vJzaSQNARixS7q
+Qc7zIbCDjtrVdgu7a0nsn+c3BMeQrahSfRTmTXraGf6kVhKiCtY1zdvGMNV/Jmh9
+YAQiDXPZTbzbYFkEdCdw
+=WW5Z
+-----END PGP SIGNATURE-----
diff --git a/mail-filter/bmf/bmf-0.9.4-r1.ebuild b/mail-filter/bmf/bmf-0.9.4-r1.ebuild
new file mode 100644
index 000000000000..dc5060a42f3a
--- /dev/null
+++ b/mail-filter/bmf/bmf-0.9.4-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/bmf/bmf-0.9.4-r1.ebuild,v 1.1 2011/11/20 13:38:42 eras Exp $
+
+EAPI=4
+inherit toolchain-funcs
+
+IUSE="mysql berkdb"
+
+DESCRIPTION="A fast and small Bayesian spam filter"
+HOMEPAGE="http://bmf.sourceforge.net/"
+SRC_URI="mirror://sourceforge/bmf/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="mysql? ( virtual/mysql )
+ berkdb? ( >=sys-libs/db-3.2.9 )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # respect CFLAGS
+ sed -i -e '/D_LINUX/s/CFLAGS="$CCDBG/CFLAGS+=" $CCDBG/' \
+ "${S}/configure" || die
+}
+
+src_configure() {
+ # this is not an autotools script
+ ./configure \
+ $(use_with mysql) \
+ $(use_with berkdb libdb)
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc README AUTHORS ChangeLog
+}
+
+pkg_postinst() {
+ elog
+ elog "Important: Remember to train bmf before you start using it."
+ elog "See the README file for further instructions on training and using bmf"
+ elog "with procmail."
+ elog
+}