[Home]

Summary:ASTERISK-09702: ASTVARLIBDIR/ASTVARRUNDIR locations on *BSD
Reporter:Stuart Henderson (stuarth)Labels:
Date Opened:2007-06-18 05:31:56Date Closed:2007-06-18 10:46:05
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:/usr/local/share/asterisk is a more natural location for ASTVARLIBDIR on BSDs other than FreeBSD; /var/run/asterisk is a more natural location for ASTVARRUNDIR.

-ifeq ($(OSARCH),FreeBSD)
+ifneq ($(findstring BSD,$(OSARCH)),)
  ASTVARLIBDIR=$(prefix)/share/asterisk
+  ASTVARRUNDIR=$(localstatedir)/run/asterisk
else
  ASTVARLIBDIR=$(localstatedir)/lib/asterisk
endif
Comments:By: Russell Bryant (russell) 2007-06-18 10:46:05

Added to 1.4 and trunk in revisions 69660 and 69662, thanks