Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2022 11:20:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264360] mail/opendmarc: Make MySQL support an option
Message-ID:  <bug-264360-7788-OAIpnti1dx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264360-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264360-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264360

J=C3=B8rn =C3=85ne de Jong <jornane@icloud.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #234344|[PATCH] mail/opendmarc:     |[PATCH] mail/opendmarc:
        description|Make MySQL support an       |Make MySQL an option
                   |option                      |

--- Comment #3 from J=C3=B8rn =C3=85ne de Jong <jornane@icloud.com> ---
Comment on attachment 234344
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D234344
[PATCH] mail/opendmarc: Make MySQL an option

>From 79df3af854ef231034fce18dd5807ed810601f44 Mon Sep 17 00:00:00 2001
From: =3D?UTF-8?q?J=3DC3=3DB8rn=3D20=3DC3=3D85ne=3D20de=3D20Jong?=3D <git@j=
ornane.no>
Date: Tue, 31 May 2022 10:46:29 +0200
Subject: [PATCH] mail/opendmarc: Make MySQL an option

---
 mail/opendmarc/Makefile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/mail/opendmarc/Makefile b/mail/opendmarc/Makefile
index 2b35748d2ec8..9a9325af3f8a 100644
--- a/mail/opendmarc/Makefile
+++ b/mail/opendmarc/Makefile
@@ -2,6 +2,7 @@

 PORTNAME=3D      opendmarc
 PORTVERSION=3D   1.4.2
+PORTREVISION=3D  1
 CATEGORIES=3D    mail security
 MASTER_SITES=3D  GH

@@ -13,7 +14,6 @@ LICENSE_COMB=3D multi

 RUN_DEPENDS=3D   p5-Switch>=3D0:lang/p5-Switch \
                p5-DBI>=3D0:databases/p5-DBI \
-               p5-DBD-mysql>=3D0:databases/p5-DBD-mysql \
                p5-HTTP-Message>=3D0:www/p5-HTTP-Message

 USES=3D          cpe libtool perl5 shebangfix autoreconf
@@ -32,7 +32,7 @@ GH_TAGNAME=3D   rel-opendmarc-1-4-2
 GH_PROJECT=3D    OpenDMARC
 GNU_CONFIGURE=3D yes

-OPTIONS_DEFINE=3D                SPF DOCS
+OPTIONS_DEFINE=3D                SPF DOCS MYSQL
 OPTIONS_DEFAULT=3D       SPF

 SPF_DESC=3D              Enable support for SPF record checking
@@ -42,6 +42,12 @@ SPF_CONFIGURE_ON=3D    --with-spf \
                        --with-spf2-include=3D${LOCALBASE}/include/spf2 \
                        --with-spf2-lib=3D${LOCALBASE}/lib

+MYSQL_DESC=3D            Enable support for MySQL backends
+
+MYSQL_RUN_DEPENDS=3D     p5-DBD-mysql>=3D0:databases/p5-DBD-mysql
+MYSQL_CONFIGURE_ON=3D    --with-sql-backend=3Dmysql
+MYSQL_CONFIGURE_OFF=3D   --without-sql-backend
+
 SHEBANG_FILES=3D reports/opendmarc-expire.in \
                reports/opendmarc-import.in \
                reports/opendmarc-params.in \

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264360-7788-OAIpnti1dx>