| 1 |
Description: place asterisk read-only data files under /usr/share |
| 2 |
On Debian read-only resources belong under /usr. |
| 3 |
The space taken from the writable /var should be minimized. |
| 4 |
. |
| 5 |
Upstream prefers defaults to have those files under /var/lib, |
| 6 |
though supports a separate datadir. |
| 7 |
Author: Tzafrir Cohen <[email protected]> |
| 8 |
Forwarded: not-needed |
| 9 |
Last-Update: 2023-08-27 |
| 10 |
--- |
| 11 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 12 |
--- a/configure.ac |
| 13 |
+++ b/configure.ac |
| 14 |
@@ -41,7 +41,7 @@ |
| 15 |
AC_SUBST([astmoddir], ['${libdir}/asterisk/modules'])dnl |
| 16 |
AC_SUBST([astmandir], ['${mandir}'])dnl |
| 17 |
AC_SUBST([astvarlibdir], ['${localstatedir}/lib/asterisk'])dnl |
| 18 |
|
| 19 |
+AC_SUBST([astdatadir], ['${datadir}/asterisk'])dnl |
| 20 |
AC_SUBST([astdbdir], ['${astvarlibdir}'])dnl |
| 21 |
AC_SUBST([astkeydir], ['${astvarlibdir}'])dnl |
| 22 |
AC_SUBST([astspooldir], ['${localstatedir}/spool/asterisk'])dnl |