public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: mail-filter/bmf/
@ 2024-01-13 20:46 Conrad Kostecki
  0 siblings, 0 replies; 3+ messages in thread
From: Conrad Kostecki @ 2024-01-13 20:46 UTC (permalink / raw
  To: gentoo-commits

commit:     046462147e34ea1c7b12430490db1fe8c9eb6caa
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Thu Jan 11 20:44:38 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 20:45:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04646214

mail-filter/bmf: EAPI8 bump, fixes bug #724662, #727634

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>

Closes: https://bugs.gentoo.org/724662
Closes: https://bugs.gentoo.org/727634
Closes: https://github.com/gentoo/gentoo/pull/34768
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 mail-filter/bmf/bmf-0.9.4-r4.ebuild | 55 +++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/mail-filter/bmf/bmf-0.9.4-r4.ebuild b/mail-filter/bmf/bmf-0.9.4-r4.ebuild
new file mode 100644
index 000000000000..f557eb7c6cda
--- /dev/null
+++ b/mail-filter/bmf/bmf-0.9.4-r4.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Fast and small Bayesian spam filter"
+HOMEPAGE="https://sourceforge.net/projects/bmf/"
+SRC_URI="mirror://sourceforge/bmf/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="mysql berkdb"
+
+DEPEND="
+	mysql? ( dev-db/mysql-connector-c:0= )
+	berkdb? ( >=sys-libs/db-3.2.9:= )"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}_QA.patch" )
+
+src_prepare() {
+	# respect CFLAGS/LDFLAGS/CC
+	sed -i \
+		-e '/D_LINUX/s/CFLAGS="$CCDBG/CFLAGS+=" $CCDBG/' \
+		-e 's/LDFLAGS="$LDDBG/LDFLAGS+=" $LDDBG/' \
+		-e "s/CC=gcc/CC=$(tc-getCC)/" \
+		"${S}/configure" || die
+
+	# include mysql headers
+	sed -i -e '/HAVE_MYSQL/s/HAVE_MYSQL/HAVE_MYSQL `mysql_config --include`/' \
+		"${S}/configure" || die
+
+	# We don't need to be root to run install
+	sed -i -e 's/install: checkroot bmf/install: bmf/' Makefile.in || die
+
+	default
+}
+
+src_configure() {
+	# this is not an autotools script
+	./configure \
+		$(use_with mysql) \
+		$(use_with berkdb libdb) || die
+}
+
+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
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/bmf/
@ 2024-11-23 14:32 Michał Górny
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2024-11-23 14:32 UTC (permalink / raw
  To: gentoo-commits

commit:     9212380df065f3db81b21222578899e1eacb42ed
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 14:31:56 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 14:31:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9212380d

mail-filter/bmf: Stabilize 0.9.4-r4 amd64, #944619

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 mail-filter/bmf/bmf-0.9.4-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/bmf/bmf-0.9.4-r4.ebuild b/mail-filter/bmf/bmf-0.9.4-r4.ebuild
index 5280df23ff1b..13bcdad75d46 100644
--- a/mail-filter/bmf/bmf-0.9.4-r4.ebuild
+++ b/mail-filter/bmf/bmf-0.9.4-r4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://downloads.sourceforge.net/bmf/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
 IUSE="mysql berkdb"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-filter/bmf/
@ 2025-03-08 19:13 Arthur Zamarin
  0 siblings, 0 replies; 3+ messages in thread
From: Arthur Zamarin @ 2025-03-08 19:13 UTC (permalink / raw
  To: gentoo-commits

commit:     8572676d7d7d802b92fa61324eb003b8b007af46
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  8 19:13:19 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar  8 19:13:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8572676d

mail-filter/bmf: drop 0.9.4-r3

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 mail-filter/bmf/bmf-0.9.4-r3.ebuild | 56 -------------------------------------
 1 file changed, 56 deletions(-)

diff --git a/mail-filter/bmf/bmf-0.9.4-r3.ebuild b/mail-filter/bmf/bmf-0.9.4-r3.ebuild
deleted file mode 100644
index 98254c4e562b..000000000000
--- a/mail-filter/bmf/bmf-0.9.4-r3.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit toolchain-funcs
-
-IUSE="mysql berkdb"
-
-DESCRIPTION="A fast and small Bayesian spam filter"
-HOMEPAGE="http://bmf.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/bmf/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-
-DEPEND="mysql? ( dev-db/mysql-connector-c:0= )
-	berkdb? ( >=sys-libs/db-3.2.9 )"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${P}_QA.patch" )
-DOCS=( README AUTHORS ChangeLog )
-
-src_prepare() {
-	# respect CFLAGS
-	sed -i -e '/D_LINUX/s/CFLAGS="$CCDBG/CFLAGS+=" $CCDBG/' \
-		"${S}/configure" || die
-
-	# include mysql headers
-	sed -i -e '/HAVE_MYSQL/s/HAVE_MYSQL/HAVE_MYSQL `mysql_config --include`/' \
-		"${S}/configure" || die
-
-	# We don't need to be root to run install
-	sed -i -e 's/install: checkroot bmf/install: bmf/' Makefile.in || die
-
-	default
-}
-
-src_configure() {
-	# this is not an autotools script
-	./configure \
-		$(use_with mysql) \
-		$(use_with berkdb libdb) || die
-}
-
-src_compile() {
-	emake CC="$(tc-getCC)"
-}
-
-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
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-08 19:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-08 19:13 [gentoo-commits] repo/gentoo:master commit in: mail-filter/bmf/ Arthur Zamarin
  -- strict thread matches above, loose matches on Subject: below --
2024-11-23 14:32 Michał Górny
2024-01-13 20:46 Conrad Kostecki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox