[Pkg-voip-commits] r3431 - callweaver/trunk/debian

Tzafrir Cohen tzafrir-guest at alioth.debian.org
Tue Apr 17 21:29:08 UTC 2007


Author: tzafrir-guest
Date: 2007-04-17 21:29:08 +0000 (Tue, 17 Apr 2007)
New Revision: 3431

Modified:
   callweaver/trunk/debian/callweaver-dev.install
   callweaver/trunk/debian/callweaver.default
   callweaver/trunk/debian/callweaver.dirs
   callweaver/trunk/debian/callweaver.init
   callweaver/trunk/debian/callweaver.install
   callweaver/trunk/debian/callweaver.logrotate
   callweaver/trunk/debian/callweaver.postinst
   callweaver/trunk/debian/copyright
Log:
s/openpbx/callweaver/: stage 3. Mostly complete, but could only be 
tested on a release of callwaver.


Modified: callweaver/trunk/debian/callweaver-dev.install
===================================================================
--- callweaver/trunk/debian/callweaver-dev.install	2007-04-17 21:18:04 UTC (rev 3430)
+++ callweaver/trunk/debian/callweaver-dev.install	2007-04-17 21:29:08 UTC (rev 3431)
@@ -1,5 +1,5 @@
-usr/include/openpbx
-usr/lib/openpbx.org/libo*.so
-usr/lib/openpbx.org/lib*.la
+usr/include/callweaver
+usr/lib/callweaver/libo*.so
+usr/lib/callweaver/lib*.la
 usr/lib/lib*.la
-usr/lib/openpbx.org/modules/*.la
+usr/lib/callweaver/modules/*.la

Modified: callweaver/trunk/debian/callweaver.default
===================================================================
--- callweaver/trunk/debian/callweaver.default	2007-04-17 21:18:04 UTC (rev 3430)
+++ callweaver/trunk/debian/callweaver.default	2007-04-17 21:29:08 UTC (rev 3431)
@@ -1,24 +1,24 @@
-# This file allows you to alter the configuration of the openpbx
+# This file allows you to alter the configuration of the callweaver
 # init.d script
 #
-# RUNOPBX: run openpbx upon boot. Should be set to "yes" once you have
+# RUNOPBX: run callweaver upon boot. Should be set to "yes" once you have
 #              setup your configuration.
 RUNOPENPBX=no
 #
 #
-# OPBX_REALTIME:if set to anything other than "no", openpbx will run in 
-#               real-time priority (pass '-p' to openpbx). un-rem the 
-#               following line to disable openpbx from running in real-time 
+# OPBX_REALTIME:if set to anything other than "no", callweaver will run in 
+#               real-time priority (pass '-p' to callweaver). un-rem the 
+#               following line to disable callweaver from running in real-time 
 #               priority
 #OPBX_REALTIME=yes
 #
-# PARAMS: exra parameters to pass to openpbx
+# PARAMS: exra parameters to pass to callweaver
 #         The example here may help you in debugging, but is not intended for
 #         production use.  When you give -G *only* that group will be used,
-#         else all groups of the openpbx user.
+#         else all groups of the callweaver user.
 #PARAMS="-g -vvv"
 #
 #
-# RUNOPBXSAFE: run safe_openpbx rather than openpbx (will auto-restart upon
+# RUNOPBXSAFE: run safe_callweaver rather than callweaver (will auto-restart upon
 #             crash)
 #RUNOPBXSAFE=yes

Modified: callweaver/trunk/debian/callweaver.dirs
===================================================================
--- callweaver/trunk/debian/callweaver.dirs	2007-04-17 21:18:04 UTC (rev 3430)
+++ callweaver/trunk/debian/callweaver.dirs	2007-04-17 21:29:08 UTC (rev 3431)
@@ -1,18 +1,18 @@
 usr/bin
 usr/sbin
-usr/share/openpbx.org/ogi
-var/lib/openpbx.org
-var/lib/openpbx.org/keys
-var/lib/openpbx.org/firmware
-var/lib/openpbx.org/firmware/iax
-var/lib/openpbx.org/moh
-var/log/openpbx.org/cdr-csv
-var/log/openpbx.org/cdr-custom
-var/run/openpbx.org
-var/spool/openpbx.org/meetme
-var/spool/openpbx.org/outgoing
-var/spool/openpbx.org/voicemail
-var/spool/openpbx.org/voicemail/default
-var/spool/openpbx.org/system
-var/spool/openpbx.org/tmp
-var/spool/openpbx.org/moh
+usr/share/callweaver/ogi
+var/lib/callweaver
+var/lib/callweaver/keys
+var/lib/callweaver/firmware
+var/lib/callweaver/firmware/iax
+var/lib/callweaver/moh
+var/log/callweaver/cdr-csv
+var/log/callweaver/cdr-custom
+var/run/callweaver
+var/spool/callweaver/meetme
+var/spool/callweaver/outgoing
+var/spool/callweaver/voicemail
+var/spool/callweaver/voicemail/default
+var/spool/callweaver/system
+var/spool/callweaver/tmp
+var/spool/callweaver/moh

Modified: callweaver/trunk/debian/callweaver.init
===================================================================
--- callweaver/trunk/debian/callweaver.init	2007-04-17 21:18:04 UTC (rev 3430)
+++ callweaver/trunk/debian/callweaver.init	2007-04-17 21:29:08 UTC (rev 3431)
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-# openpbx	start the openpbx PBX
+# callweaver	start the callweaver PBX
 # (c) Mark Purcell <msp at debian.org>
 # May be distributed under the terms of this General Public License
 #
@@ -18,20 +18,20 @@
 #
 
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-NAME=openpbx
+NAME=callweaver
 USER=$NAME
-DESC="Openpbx PBX"
-PIDFILE="/var/run/openpbx/openpbx.pid"
+DESC="CallWeaver PBX"
+PIDFILE="/var/run/$NAME/$NAME.pid"
 
 # by default: use real-time priority
 PARAMS=""
 OPBX_REALTIME="yes"
 RUNOPENPBX="no"
 MODULEINIT=""
-if [ -r /etc/default/openpbx ]; then . /etc/default/openpbx; fi
+if [ -r /etc/default/$NAME ]; then . /etc/default/$NAME; fi
 
 if [ "$RUNOPENPBX" != "yes" ];then
-	echo "Openpbx not yet configured. Edit /etc/default/openpbx first."
+	echo "$DESC not yet configured. Edit /etc/default/$NAME first."
 	exit 1
 fi
 
@@ -52,10 +52,10 @@
 fi
 PARAMS="$PARAMS -U $USER"
 if [ "x$RUNOPBXSAFE" = "xyes" ];then
-	DAEMON=/usr/sbin/safe_openpbx
-	REALDAEMON=/usr/sbin/openpbx
+	DAEMON=/usr/sbin/safe_callweaver
+	REALDAEMON=/usr/sbin/callweaver
 else
-	DAEMON=/usr/sbin/openpbx
+	DAEMON=/usr/sbin/callweaver
 fi
 
 test -x $DAEMON || exit 0
@@ -84,7 +84,7 @@
 		start-stop-daemon --quiet --oknodo --stop --exec $DAEMON
 	fi
 	# just making sure it's really, really dead. 
-	# KILL is necessary just in case there's an openpbx -r in the background
+	# KILL is necessary just in case there's an callweaver -r in the background
 	start-stop-daemon --stop --quiet --oknodo --retry=0/2/TERM/2/KILL/5 --exec $DAEMON
 	echo "."
 	;;

Modified: callweaver/trunk/debian/callweaver.install
===================================================================
--- callweaver/trunk/debian/callweaver.install	2007-04-17 21:18:04 UTC (rev 3430)
+++ callweaver/trunk/debian/callweaver.install	2007-04-17 21:29:08 UTC (rev 3431)
@@ -1,7 +1,7 @@
-usr/lib/openpbx.org/libopbx*.so.*
-usr/lib/openpbx.org/libopenpbx*.so.*
-usr/lib/openpbx.org/modules/*.so
-usr/lib/openpbx.org/libedit.so.* usr/lib/openpbx.org/
+usr/lib/callweaver/libopbx*.so.*
+usr/lib/callweaver/libopenpbx*.so.*
+usr/lib/callweaver/modules/*.so
+usr/lib/callweaver/libedit.so.* usr/lib/callweaver/
 usr/sbin
 usr/bin
-etc/openpbx.org
+etc/callweaver

Modified: callweaver/trunk/debian/callweaver.logrotate
===================================================================
--- callweaver/trunk/debian/callweaver.logrotate	2007-04-17 21:18:04 UTC (rev 3430)
+++ callweaver/trunk/debian/callweaver.logrotate	2007-04-17 21:29:08 UTC (rev 3431)
@@ -1,4 +1,4 @@
-/var/log/openpbx.org/cdr-csv/Master.csv /var/log/openpbx.org/queue_log /var/log/openpbx.org/event_log /var/log/openpbx.org/messages /var/log/openpbx.org/full {
+/var/log/callweaver/cdr-csv/Master.csv /var/log/callweaver/queue_log /var/log/callweaver/event_log /var/log/callweaver/messages /var/log/callweaver/full {
         daily
         missingok
 	compress
@@ -6,6 +6,6 @@
         rotate 30
         sharedscripts
         postrotate
-                /usr/sbin/invoke-rc.d openpbx.org logger-reload
+                /usr/sbin/invoke-rc.d callweaver logger-reload
         endscript
 }

Modified: callweaver/trunk/debian/callweaver.postinst
===================================================================
--- callweaver/trunk/debian/callweaver.postinst	2007-04-17 21:18:04 UTC (rev 3430)
+++ callweaver/trunk/debian/callweaver.postinst	2007-04-17 21:29:08 UTC (rev 3431)
@@ -14,22 +14,22 @@
 case "$1" in
     configure)
 
-	if (getent passwd openpbx >/dev/null);then
+	if (getent passwd callweaver >/dev/null);then
 		:
 	else
-	    	adduser --system --group --home /var/lib/openpbx.org --gecos "Openpbx PBX daemon" openpbx
-		adduser openpbx audio 
-		adduser openpbx dialout
+	    	adduser --system --group --home /var/lib/callweaver --gecos "CallWeaver PBX daemon" callweaver
+		adduser callweaver audio 
+		adduser callweaver dialout
 	fi
-	if (getent group dialout | grep -q openpbx); then
-		adduser openpbx dialout
+	if (getent group dialout | grep -q callweaver); then
+		adduser callweaver dialout
 	fi
 
-	test -d /var/log/openpbx.org || mkdir /var/log/openpbx.org
-	test -d /var/log/openpbx.org/cdr-csv || mkdir /var/log/openpbx.org/cdr-csv
-	chown -R openpbx.openpbx /var/log/openpbx.org /var/run/openpbx.org \
-		/var/spool/openpbx.org /var/lib/openpbx.org /etc/openpbx.org
-	chmod o-rwx /etc/openpbx.org/*
+	test -d /var/log/callweaver || mkdir /var/log/callweaver
+	test -d /var/log/callweaver/cdr-csv || mkdir /var/log/callweaver/cdr-csv
+	chown -R callweaver.callweaver /var/log/callweaver /var/run/callweaver \
+		/var/spool/callweaver /var/lib/callweaver /etc/callweaver
+	chmod o-rwx /etc/callweaver/*
 
     ;;
 

Modified: callweaver/trunk/debian/copyright
===================================================================
--- callweaver/trunk/debian/copyright	2007-04-17 21:18:04 UTC (rev 3430)
+++ callweaver/trunk/debian/copyright	2007-04-17 21:29:08 UTC (rev 3431)
@@ -4,7 +4,7 @@
 It was later modified and mantained by Massimo Cetra <devel at navynet.it>
 Then imported to Debian VoIP where it's maintained now.
 
-It was downloaded from http://www.openpbx.org.
+It was downloaded from http://www.callweaver.
 
 The iLBC codec was removed for DFSG-compliance.
 




More information about the Pkg-voip-commits mailing list