Freeswitch default paths are wrong
Using the sample configuration, I came across some errors that indicate that some of the default paths in the freeswitch package are wrong.
- Sounds should be in /usr/share/freeswitch/sounds
- Storage should be /var/lib/freeswitch/, not /usr/storage/
Those are the only two I noticed, be the others should probably be checked.
Below patch might help, but I haven’t been able to test:
diff —git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD
index 551b903..01099e8 100644
—- a/main/freeswitch/APKBUILD
+ b/main/freeswitch/APKBUILD
@@ –3,7 +3,7 @@
# Contributor: Cameron Banta <cbanta@gmail.com>
pkgname=freeswitch
pkgver=1.4.18
-pkgrel=1
+pkgrel=2
pkgdesc=“A communications platform written in C from the ground up”
url=“http://www.freeswitch.org”
arch=“all”
@@ –109,6 +109,8 @@ build() {
—sysconfdir=/etc/freeswitch \
—with-modinstdir=/usr/lib/freeswitch \
—with-rundir=/var/run/freeswitch \
- —with-soundsdir=/usr/share/freeswitch/sounds \
- —with-storagedir=/var/lib/freeswitch \
—mandir=/usr/share/man \
—infodir=/usr/share/info \
—with-devrandom=/dev/urandom \
(from redmine: issue id 4065, created on 2015-04-13, closed on 2015-05-25)
- Changesets:
- Revision cf4e9c8e by Natanael Copa on 2015-05-21T14:57:46Z:
main/freeswitch: fix default paths to be FHS compliant
fixes #4065