git: 9cf3f49565db - main - www/kannel-sqlbox: Change OPTIONS_DEFAULT to SQLITE3

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 29 Oct 2023 22:57:29 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9cf3f49565db4086f9b8e1f19434860ed875a5ee

commit 9cf3f49565db4086f9b8e1f19434860ed875a5ee
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-10-29 17:20:46 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-10-29 22:53:36 +0000

    www/kannel-sqlbox: Change OPTIONS_DEFAULT to SQLITE3
    
    - As MySQL57 is reaching EOL on 2023-12-31 and this port do not support
      MySQL80 so switch to other possible DEFAULT
    - Pet portclippy
    - Unmark DEPRECATION
---
 www/kannel-sqlbox/Makefile | 22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

diff --git a/www/kannel-sqlbox/Makefile b/www/kannel-sqlbox/Makefile
index 0391b1f8f998..a81db9999ecf 100644
--- a/www/kannel-sqlbox/Makefile
+++ b/www/kannel-sqlbox/Makefile
@@ -13,34 +13,30 @@ LICENSE_NAME=	The Kannel Software License, Version 1.0
 LICENSE_FILE=	${WRKSRC}/KannelLICENSE
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-DEPRECATED=	Depends on EOL MySQL 5.7 (www/kannel)
-EXPIRATION_DATE=	2023-11-30
-
 BUILD_DEPENDS=	${LOCALBASE}/include/kannel/gw-config.h:www/kannel
-RUN_DEPENDS=	${LOCALBASE}/sbin/bearerbox:www/kannel
 LIB_DEPENDS=	libpcreposix.so:devel/pcre
+RUN_DEPENDS=	${LOCALBASE}/sbin/bearerbox:www/kannel
 
+USES=		gmake gnome iconv ssl
+USE_GCC=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	dbaio
+USE_GNOME=	libxml2
+USE_RC_SUBR=	kannel_sqlbox
 
-USES=		gmake gnome iconv ssl
-USE_GCC=	yes
 GNU_CONFIGURE=	yes
-USE_GNOME=	libxml2
 
+SUB_FILES=	pkg-message
+
+OPTIONS_DEFAULT=	SQLITE3
 OPTIONS_MULTI=	DATABASE
 OPTIONS_MULTI_DATABASE=	MYSQL PGSQL SQLITE3
-OPTIONS_DEFAULT=	MYSQL
 
 MYSQL_USES=	mysql
-
+MYSQL_VARS=	IGNORE_WITH_MYSQL=80
 PGSQL_USES=	pgsql
-
 SQLITE3_USES=	sqlite:3
 
-USE_RC_SUBR=	kannel_sqlbox
-SUB_FILES=	pkg-message
-
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/example/sqlbox.conf.example \
 	${STAGEDIR}${PREFIX}/etc/sqlbox.conf.sample