git: 81b7bb901bfb - main - sysutils/rsyslog8: Add pgsql and mysql flavours

Matthew Seaman <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by matthew:

URL: https://cgit.FreeBSD.org/ports/commit/?id=81b7bb901bfb9df9b8c714eb663ef6a54e0dcda9

commit 81b7bb901bfb9df9b8c714eb663ef6a54e0dcda9
Author:     Paul Le Gauret <[email protected]>
AuthorDate: 2026-08-15 08:14:15 +0000
Commit:     Matthew Seaman <[email protected]>
CommitDate: 2026-08-15 08:16:50 +0000

    sysutils/rsyslog8: Add pgsql and mysql flavours
    
    These new flavours enable the pre-existing PGSQL or MYSQL options so
    that a package with RDBMS support is available.
    
    PR:     297415
---
 sysutils/rsyslog8/Makefile | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/sysutils/rsyslog8/Makefile b/sysutils/rsyslog8/Makefile
index 885a7aee5527..80ae7fc94774 100644
--- a/sysutils/rsyslog8/Makefile
+++ b/sysutils/rsyslog8/Makefile
@@ -10,6 +10,10 @@ WWW=		https://www.rsyslog.com/
 LICENSE=	GPLv3 LGPL3 APACHE20
 LICENSE_COMB=	multi
 
+FLAVORS=		default mysql pgsql
+mysql_PKGNAMESUFFIX=	-mysql
+pgsql_PKGNAMESUFFIX=	-pgsql
+
 LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libestr.so:devel/libestr \
 		libfastjson.so:devel/libfastjson \
@@ -31,6 +35,12 @@ OPTIONS_RADIO_SSLLIB=	GNUTLS OPENSSL
 OPTIONS_DEFAULT=GCRYPT
 OPTIONS_SUB=	yes
 
+.if ${FLAVOR:U} == mysql
+OPTIONS_SLAVE=	MYSQL
+.elif ${FLAVOR:U} == pgsql
+OPTIONS_SLAVE=	PGSQL
+.endif
+
 BEATS_DESC=		Enable input from Elastic *Beats
 BEATS_CONFIGURE_ENABLE=	imbeats
 BEATS_PLIST_FILES=	lib/rsyslog/imbeats.so
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.