* [gentoo-commits] repo/dev/ulm:master commit in: mail-filter/postsrsd/
@ 2025-08-31 9:10 Ulrich Müller
0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2025-08-31 9:10 UTC (permalink / raw
To: gentoo-commits
commit: cddde64ec5e35e101a6aaf7f5252eb6227eb6d2d
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 31 09:10:29 2025 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 31 09:10:29 2025 +0000
URL: https://gitweb.gentoo.org/repo/dev/ulm.git/commit/?id=cddde64e
mail-filter/postsrsd: Add Redis support
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
mail-filter/postsrsd/metadata.xml | 8 ++++++++
mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild | 7 ++++---
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/mail-filter/postsrsd/metadata.xml b/mail-filter/postsrsd/metadata.xml
index 031be19..03e3fb9 100644
--- a/mail-filter/postsrsd/metadata.xml
+++ b/mail-filter/postsrsd/metadata.xml
@@ -2,6 +2,14 @@
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
+ <use>
+ <flag name="redis">
+ Add support for <pkg>dev-libs/hiredis</pkg> database backend
+ </flag>
+ <flag name="sqlite">
+ Add support for <pkg>dev-db/sqlite</pkg> database backend
+ </flag>
+ </use>
<upstream>
<remote-id type="github">roehling/postsrsd</remote-id>
</upstream>
diff --git a/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild b/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild
index fef7031..c09adf4 100644
--- a/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild
+++ b/mail-filter/postsrsd/postsrsd-2.0.11-r4.ebuild
@@ -13,12 +13,13 @@ SRC_URI="https://github.com/roehling/postsrsd/archive/${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-3 BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="sqlite test"
+IUSE="redis sqlite test"
RESTRICT="!test? ( test )"
RDEPEND="acct-user/postsrsd
dev-libs/confuse:=
- sqlite? ( dev-db/sqlite )"
+ redis? ( dev-libs/hiredis:= )
+ sqlite? ( dev-db/sqlite:3 )"
DEPEND="${RDEPEND}
test? ( dev-libs/check )"
@@ -54,7 +55,7 @@ src_configure() {
# "Note that the Milter code is less tested and should be
# considered experimental for now and not ready for production."
-DWITH_MILTER=OFF
- -DWITH_REDIS=OFF
+ -DWITH_REDIS=$(usex redis)
-DWITH_SQLITE=$(usex sqlite)
)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-08-31 9:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-31 9:10 [gentoo-commits] repo/dev/ulm:master commit in: mail-filter/postsrsd/ Ulrich Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox