Package: asterisk / 1:13.14.1~dfsg-2+deb9u4

astdatadir Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: place asterisk read-only data files under /usr/share
 On Debian read-only resources belong under /usr. The space taken from
 the writable /var should be minimized.
 .
 Upstream prefers defaults to have those files under /var/lib, though
 supports a separate datadir.
Author: Tzafrir Cohen <tzafrir@debian.org>
Forwarded: no
Last-Update: 2016-03-19

--- a/configure.ac
+++ b/configure.ac
@@ -51,7 +51,7 @@
 AC_SUBST([astmoddir],         ['${libdir}/asterisk/modules'])dnl
 AC_SUBST([astmandir],         ['${mandir}'])dnl
 AC_SUBST([astvarlibdir],      ['${localstatedir}/lib/asterisk'])dnl
-AC_SUBST([astdatadir],        ['${astvarlibdir}'])dnl
+AC_SUBST([astdatadir],        ['${datadir}/asterisk'])dnl
 AC_SUBST([astdbdir],          ['${astvarlibdir}'])dnl
 AC_SUBST([astkeydir],         ['${astvarlibdir}'])dnl
 AC_SUBST([astspooldir],       ['${localstatedir}/spool/asterisk'])dnl