summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw <hi.laow@gmail.com>2023-08-01 11:31:54 +0800
committerNatanael Copa <ncopa@alpinelinux.org>2023-08-02 12:56:54 +0200
commit12c5e3cff6e47306d5f093a83277a6a98b158252 (patch)
tree1c556ba47072a0f19af39c64132a54aa24992dc8
parent2cca99052204a194d3e38c6cf948bc49d76eb9a5 (diff)
downloadaports-12c5e3cff6e47306d5f093a83277a6a98b158252.zip
main/freeswitch: add mod_mariadb
-rw-r--r--main/freeswitch/APKBUILD15
-rw-r--r--main/freeswitch/modules.conf2
2 files changed, 12 insertions, 5 deletions
diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD
index 3f0d2638ed0..cd8e18907ff 100644
--- a/main/freeswitch/APKBUILD
+++ b/main/freeswitch/APKBUILD
@@ -4,7 +4,7 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
pkgname=freeswitch
pkgver=1.10.9
-pkgrel=3
+pkgrel=4
pkgdesc="A communications platform written in C from the ground up"
url="https://www.freeswitch.org/"
arch="all"
@@ -34,6 +34,7 @@ makedepends="
linux-headers
lua5.3-dev
mpg123-dev
+ mariadb-dev
ncurses-dev
nasm
net-snmp-dev
@@ -63,8 +64,8 @@ pkggroups="$_freeswitch_group"
subpackages="$pkgname-dbg
$pkgname-dev $pkgname-flite $pkgname-timezones::noarch
$pkgname-sample-config:conf:noarch $pkgname-sangoma
- $pkgname-snmp $pkgname-pgsql $pkgname-python3 $pkgname-perl $pkgname-perlesl
- $pkgname-openrc"
+ $pkgname-snmp $pkgname-pgsql $pkgname-mariadb $pkgname-python3
+ $pkgname-perl $pkgname-perlesl $pkgname-openrc"
source="https://files.freeswitch.org/freeswitch-releases/freeswitch-$pkgver.-release.tar.xz
configure-lua53.patch
@@ -197,6 +198,12 @@ pgsql() {
_mv_mod mod_cdr_pg_csv
}
+mariadb() {
+ pkgdesc="Freeswitch MariaDB Module"
+ install=
+ _mv_mod mod_mariadb
+}
+
perl() {
pkgdesc="Freeswitch Perl module"
install=
@@ -238,7 +245,7 @@ c1960f3c7acf729468b819f7f15d66a251c3967b2784bce18c7755b333156e687c55fdc1aceda588
16e9208fca7f0a1985dd01ec38ddabb6a79da83ad6ab004bb66de528ac45f02fadaddc50a9f228e1aa38fae213fa5af0ca858b7af629b67a7d654339f813a68c disable-Werror.patch
4739be0c1c6783ace2bd10f7573b1ca86be013d21a7f973b5fd348c98fb9ed1a548baacee6bb65b7501251106c8dbd7266997f8699d2d7070a2bd7efe145b866 python-3.10.patch
86449a842f12d4e1a09954e5086824ba40b60499517eab40fe3e1502349eb17d64429d747f6c80956f90287eca84cf8e9109abb7c13b169b2cb358e668ef2586 python-3.11.patch
-2bf37965145566481a0bf16f04c025b22073d0569ce74f152e42484a5f38437e85a9b77e74b0be6e8d8b822ed3ccc1961dd1abba2367b597064240462778d40b modules.conf
+b2e4e5982e600098e00d5dce801f6159dc3d0765e9de5acc05492b4c811f399b4302c4c6a91d9788d8464d46d9c7a64b70a345130b97aa5a73da41acc57f67de modules.conf
a585f6411185a26206137a1ad97a06fd6c73e80c5439e9be45eabfa70e7a83120169ba882971fcd328436c8e0242cbd664170b80754ea2846021689baf1f1595 freeswitch.confd
643d0a2e43f5d3bf3b99fcb6f6422302cb4b74a95eccf844eafb100b15aa9856b4ff41f112d6637255c2e9e2bec9fedc9a9215dfff214dfb83b52eae16b71dca freeswitch.initd
"
diff --git a/main/freeswitch/modules.conf b/main/freeswitch/modules.conf
index ee065cdf60f..f2a3b1677cb 100644
--- a/main/freeswitch/modules.conf
+++ b/main/freeswitch/modules.conf
@@ -79,7 +79,7 @@ codecs/mod_sangoma_codec
#codecs/mod_silk
#codecs/mod_siren
#codecs/mod_theora
-#databases/mod_mariadb
+databases/mod_mariadb
databases/mod_pgsql
dialplans/mod_dialplan_asterisk
#dialplans/mod_dialplan_directory