pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

freeswitch-core: Update Makefile with db and log dir + fix MESSAGE typos



Module Name:	pkgsrc-wip
Committed By:	Angel M. Adames <angelmadames%gmail.com@localhost>
Pushed By:	angelmadames
Date:		Mon Jun 5 16:27:31 2017 -0400
Changeset:	8d98da9752e3ad4845b0d29ad1d2bf5b6518b862

Modified Files:
	freeswitch-core/MESSAGE
	freeswitch-core/Makefile

Log Message:
freeswitch-core: Update Makefile with db and log dir + fix MESSAGE typos

> Added db_dir and log_dir to permissions statements.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8d98da9752e3ad4845b0d29ad1d2bf5b6518b862

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 freeswitch-core/MESSAGE  | 22 +++++++++++-----------
 freeswitch-core/Makefile |  5 ++++-
 2 files changed, 15 insertions(+), 12 deletions(-)

diffs:
diff --git a/freeswitch-core/MESSAGE b/freeswitch-core/MESSAGE
index 4b5499186a..d8b22d7af1 100644
--- a/freeswitch-core/MESSAGE
+++ b/freeswitch-core/MESSAGE
@@ -1,21 +1,21 @@
-===============================================================================
-* There are many modules that are not enabled by default. If they are required,
-  please  manually enable them in ${WRKSRC}/modules.conf file. As for now, 
-  some required by wip/fusionpbx (GUI interface) were included.
-  (You should deinstall, enable the modules, update your PLIST or
-  use CHECK-FILES=no and then install again)
+===========================================================================
+* There are many modules that are not enabled by default. If they are
+  required, please  manually enable them in ${WRKSRC}/modules.conf file.
+  As for now, some required by wip/fusionpbx (GUI interface) were included.
+  (You should deinstall, enable the modules, update your PLIST or use
+  CHECK-FILES=no and then install again)
 
 * The local_ip_v4 variable is used by sofia-sip module. However, automatic
   detection of this value might fail after install. The workaround is
   to manually set the local_ip_v4 value in vars.xml, usually located at:
 	${PREFIX}/etc/freeswitch/vars.xml.
-  Example:  
+  Example:
 	<X-PRE-PROCESS cmd="set" data="local_ip_v4=[yo.ur.i.p]"/>
 
 * The event_socket_module by default has an IPv6 configuration, therefore,
   it is unable to load properly. Please set your IP address or '0.0.0.0' in
-  the event_socket.conf.xml file inside conf_dir/autoload-configs/ directory.
+  the event_socket.conf.xml file inside conf_dir/autoload-configs/
 
-* If you are willing to spend some time installing a GUI interface, you might
-  want to check wip/fusionpbx. Highly recommended.
-=============================================================================
+* If you are willing to spend some time installing a GUI interface, you
+  might want to check wip/fusionpbx. Highly recommended.
+===========================================================================
diff --git a/freeswitch-core/Makefile b/freeswitch-core/Makefile
index b0dde3aef8..3f794d3345 100644
--- a/freeswitch-core/Makefile
+++ b/freeswitch-core/Makefile
@@ -17,7 +17,8 @@ LIBTOOL_OVERRIDE=	libtool */libtool */*/libtool */*/*/libtool
 USE_LANGUAGES=  	c c++
 USE_TOOLS+=     	automake autoconf gmake perl pkg-config
 
-BUILD_DEFS+=		VARBASE FREESWITCH_CONFDIR FREESWITCH_DATADIR FREESWITCH_SHAREDIR
+BUILD_DEFS+=		VARBASE FREESWITCH_CONFDIR FREESWITCH_DATADIR \
+			FREESWITCH_SHAREDIR FREESWITCH_LOGDIR FREESWITCH_DBDIR
 
 CONFIGURE_ARGS+=	--prefix=${PREFIX}
 CONFIGURE_ARGS+=	--exec-prefix=${PREFIX}/bin
@@ -176,6 +177,8 @@ PKG_USERS_VARS=			FREESWITCH_USER
 FREESWITCH_CONFDIR?=	${PREFIX}/etc/freeswitch
 FREESWITCH_DATADIR?=	${PREFIX}/freeswitch
 FREESWITCH_SHAREDIR?=	${PREFIX}/share/freeswitch
+FREESWITCH_LOGDIR?=	${VARBASE}/log/freeswitch
+FREESWITCH_DBDIR?=	${VARBASE}/db/freeswitch
 
 PKG_SYSCONFSUBDIR=      freeswitch
 PKG_SYSCONFDIR_PERMS=   ${FREESWITCH_USER} ${FREESWITCH_GROUP} 0755


Home | Main Index | Thread Index | Old Index