[Pkg-voip-commits] r3068 - openpbx/trunk/debian
Santiago Ruano Rincón
santiago at alioth.debian.org
Sat Jan 27 07:07:43 CET 2007
Author: santiago
Date: 2007-01-27 07:07:42 +0100 (Sat, 27 Jan 2007)
New Revision: 3068
Added:
openpbx/trunk/debian/openpbx.org-dev.install
openpbx/trunk/debian/openpbx.org.conffiles
openpbx/trunk/debian/openpbx.org.default
openpbx/trunk/debian/openpbx.org.dirs
openpbx/trunk/debian/openpbx.org.init
openpbx/trunk/debian/openpbx.org.install
openpbx/trunk/debian/openpbx.org.logrotate
Removed:
openpbx/trunk/debian/openpbx-dev.install
openpbx/trunk/debian/openpbx.conffiles
openpbx/trunk/debian/openpbx.default
openpbx/trunk/debian/openpbx.dirs
openpbx/trunk/debian/openpbx.init
openpbx/trunk/debian/openpbx.install
openpbx/trunk/debian/openpbx.logrotate
Modified:
openpbx/trunk/debian/changelog
openpbx/trunk/debian/control
Log:
changing the name of the package to openpbx.org
Modified: openpbx/trunk/debian/changelog
===================================================================
--- openpbx/trunk/debian/changelog 2007-01-26 23:49:58 UTC (rev 3067)
+++ openpbx/trunk/debian/changelog 2007-01-27 06:07:42 UTC (rev 3068)
@@ -1,4 +1,4 @@
-openpbx (1.2~rc3~dfsg-1) UNRELEASED; urgency=low
+openpbx.org (1.2~rc3~dfsg-1) UNRELEASED; urgency=low
* Openpbx.org 1.2 initial release.
* Imported from openpbx.org original package.
Modified: openpbx/trunk/debian/control
===================================================================
--- openpbx/trunk/debian/control 2007-01-26 23:49:58 UTC (rev 3067)
+++ openpbx/trunk/debian/control 2007-01-27 06:07:42 UTC (rev 3068)
@@ -1,4 +1,4 @@
-Source: openpbx
+Source: openpbx.org
Priority: optional
Section: comm
Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
@@ -8,9 +8,9 @@
XS-Vcs-Svn: svn://svn.debian.org/pkg-voip/
XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/
-Package: openpbx
+Package: openpbx.org
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, openpbx-sounds, libspeex1, unixodbc
+Depends: ${shlibs:Depends}, ${misc:Depends}, openpbx.org-sounds, libspeex1, unixodbc
Suggests: gnomemeeting, ekiga, ohphone, kphone, asterisk-doc, asterisk-dev, asterisk-rate-engine
Description: Open Source Private Branch Exchange (PBX), forked from Asterisk
OpenPBX is an Open Source PBX and telephony toolkit. It is, in a
@@ -27,7 +27,7 @@
.
Website: http://www.openpbx.org.
-Package: openpbx-dev
+Package: openpbx.org-dev
Section: devel
Architecture: any
Description: Development files for OpenPBX
@@ -36,13 +36,13 @@
This package contains the include files used if you wish to compile a
package which requires OpenPBX source file headers.
-Package: openpbx-doc
-Recommends: openpbx
+Package: openpbx.org-doc
+Recommends: openpbx.org
Section: doc
Architecture: all
Description: documentation for OpenPBX
Asterisk is an Open Source PBX and telephony toolkit.
.
This package contains the source documentation needed if you wish to
- extend the openpbx package.
+ extend the openpbx.org package.
Deleted: openpbx/trunk/debian/openpbx-dev.install
===================================================================
--- openpbx/trunk/debian/openpbx-dev.install 2007-01-26 23:49:58 UTC (rev 3067)
+++ openpbx/trunk/debian/openpbx-dev.install 2007-01-27 06:07:42 UTC (rev 3068)
@@ -1,5 +0,0 @@
-usr/include/openpbx
-usr/lib/openpbx.org/libo*.so
-usr/lib/openpbx.org/lib*.la
-usr/lib/lib*.la
-usr/lib/openpbx.org/modules/*.la
Deleted: openpbx/trunk/debian/openpbx.conffiles
===================================================================
--- openpbx/trunk/debian/openpbx.conffiles 2007-01-26 23:49:58 UTC (rev 3067)
+++ openpbx/trunk/debian/openpbx.conffiles 2007-01-27 06:07:42 UTC (rev 3068)
@@ -1,37 +0,0 @@
-/etc/openpbx.org/adsi.conf
-/etc/openpbx.org/adtranvofr.conf
-/etc/openpbx.org/agents.conf
-/etc/openpbx.org/cdr.conf
-/etc/openpbx.org/cdr_custom.conf
-/etc/openpbx.org/cdr_manager.conf
-/etc/openpbx.org/cdr_pgsql.conf
-/etc/openpbx.org/cdr_tds.conf
-/etc/openpbx.org/codecs.conf
-/etc/openpbx.org/dnsmgr.conf
-/etc/openpbx.org/dundi.conf
-/etc/openpbx.org/enum.conf
-/etc/openpbx.org/extconfig.conf
-/etc/openpbx.org/extensions.conf
-/etc/openpbx.org/features.conf
-/etc/openpbx.org/iax.conf
-/etc/openpbx.org/indications.conf
-/etc/openpbx.org/logger.conf
-/etc/openpbx.org/manager.conf
-/etc/openpbx.org/meetme.conf
-/etc/openpbx.org/mgcp.conf
-/etc/openpbx.org/modem.conf
-/etc/openpbx.org/modules.conf
-/etc/openpbx.org/musiconhold.conf
-/etc/openpbx.org/muted.conf
-/etc/openpbx.org/openpbx.adsi
-/etc/openpbx.org/openpbx.conf
-/etc/openpbx.org/osp.conf
-/etc/openpbx.org/privacy.conf
-/etc/openpbx.org/queues.conf
-/etc/openpbx.org/rpt.conf
-/etc/openpbx.org/rtp.conf
-/etc/openpbx.org/sip.conf
-/etc/openpbx.org/sip_notify.conf
-/etc/openpbx.org/udptl.conf
-/etc/openpbx.org/voicemail.conf
-/etc/openpbx.org/woomera.conf
Deleted: openpbx/trunk/debian/openpbx.default
===================================================================
--- openpbx/trunk/debian/openpbx.default 2007-01-26 23:49:58 UTC (rev 3067)
+++ openpbx/trunk/debian/openpbx.default 2007-01-27 06:07:42 UTC (rev 3068)
@@ -1,24 +0,0 @@
-# This file allows you to alter the configuration of the openpbx
-# init.d script
-#
-# RUNOPBX: run openpbx 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
-# priority
-#OPBX_REALTIME=yes
-#
-# PARAMS: exra parameters to pass to openpbx
-# 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.
-#PARAMS="-g -vvv"
-#
-#
-# RUNOPBXSAFE: run safe_openpbx rather than openpbx (will auto-restart upon
-# crash)
-#RUNOPBXSAFE=yes
Deleted: openpbx/trunk/debian/openpbx.dirs
===================================================================
--- openpbx/trunk/debian/openpbx.dirs 2007-01-26 23:49:58 UTC (rev 3067)
+++ openpbx/trunk/debian/openpbx.dirs 2007-01-27 06:07:42 UTC (rev 3068)
@@ -1,18 +0,0 @@
-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
Deleted: openpbx/trunk/debian/openpbx.init
===================================================================
--- openpbx/trunk/debian/openpbx.init 2007-01-26 23:49:58 UTC (rev 3067)
+++ openpbx/trunk/debian/openpbx.init 2007-01-27 06:07:42 UTC (rev 3068)
@@ -1,114 +0,0 @@
-#! /bin/sh
-#
-# openpbx start the openpbx PBX
-# (c) Mark Purcell <msp at debian.org>
-# May be distributed under the terms of this General Public License
-#
-# Based on:
-#
-# skeleton example file to build /etc/init.d/ scripts.
-# This file should be used to construct scripts for /etc/init.d.
-#
-# Written by Miquel van Smoorenburg <miquels at cistron.nl>.
-# Modified for Debian GNU/Linux
-# by Ian Murdock <imurdock at gnu.ai.mit.edu>
-# adapted for OpenPBX by Gerd Flaig <gefla at pond.sub.org>.
-#
-# Version: @(#)skeleton 1.9 26-Feb-2001 miquels at cistron.nl
-#
-
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-NAME=openpbx
-USER=$NAME
-DESC="Openpbx PBX"
-PIDFILE="/var/run/openpbx/openpbx.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 [ "$RUNOPENPBX" != "yes" ];then
- echo "Openpbx not yet configured. Edit /etc/default/openpbx first."
- exit 1
-fi
-
-if [ "$OPBX_REALTIME" != "no" ]
-then
- PARAMS="$PARAMS -p"
-fi
-
-if [ "x$USER" = "x" ]
-then
- echo "Error: empty USER name"
- exit 1
-fi
-if [ `id -u "$USER"` = 0 ]
-then
- echo "Starting as root not supported."
- exit 1
-fi
-PARAMS="$PARAMS -U $USER"
-if [ "x$RUNOPBXSAFE" = "xyes" ];then
- DAEMON=/usr/sbin/safe_openpbx
- REALDAEMON=/usr/sbin/openpbx
-else
- DAEMON=/usr/sbin/openpbx
-fi
-
-test -x $DAEMON || exit 0
-
-set -e
-
-case "$1" in
- start)
- echo -n "Starting $DESC: "
- start-stop-daemon --start --pidfile "$PIDFILE" --exec $DAEMON -- $PARAMS
- echo "$NAME."
- ;;
- stop)
- echo -n "Stopping $DESC: "
- if [ "$RUNOPBXSAFE" = "yes" ];then
- # hopefully this will work. Untested
- $REALDAEMON -rx 'stop now' > /dev/null || true
- else
- # Try gracefully
- $DAEMON -rx 'stop now' > /dev/null 2>&1 || true
- fi
- echo -n "$NAME"
- # giving a small grace time to shut down cleanly.
- sleep 2
- if [ "$RUNOPBXSAFE" = "yes" ];then
- 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
- start-stop-daemon --stop --quiet --oknodo --retry=0/2/TERM/2/KILL/5 --exec $DAEMON
- echo "."
- ;;
- reload)
- echo "Reloading $DESC configuration files."
- $DAEMON -rx 'reload'
- ;;
- logger-reload)
- $DAEMON -rx 'logger reload'
- ;;
- extensions-reload)
- echo "Reloading $DESC configuration files."
- $DAEMON -rx 'extensions reload'
- ;;
- restart|force-reload)
- $0 stop
- $0 start
- ;;
- *)
- N=/etc/init.d/$NAME
- # echo "Usage: $N {start|stop|restart|reload|logger-reload|extensions-reload|force-reload}" >&2
- echo "Usage: $N {start|stop|restart|force-reload}" >&2
- exit 1
- ;;
-esac
-
-exit 0
Deleted: openpbx/trunk/debian/openpbx.install
===================================================================
--- openpbx/trunk/debian/openpbx.install 2007-01-26 23:49:58 UTC (rev 3067)
+++ openpbx/trunk/debian/openpbx.install 2007-01-27 06:07:42 UTC (rev 3068)
@@ -1,7 +0,0 @@
-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/sbin
-usr/bin
-etc/openpbx.org
Deleted: openpbx/trunk/debian/openpbx.logrotate
===================================================================
--- openpbx/trunk/debian/openpbx.logrotate 2007-01-26 23:49:58 UTC (rev 3067)
+++ openpbx/trunk/debian/openpbx.logrotate 2007-01-27 06:07:42 UTC (rev 3068)
@@ -1,11 +0,0 @@
-/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 {
- daily
- missingok
- compress
- delaycompress
- rotate 30
- sharedscripts
- postrotate
- /usr/sbin/invoke-rc.d openpbx logger-reload
- endscript
-}
Added: openpbx/trunk/debian/openpbx.org-dev.install
===================================================================
--- openpbx/trunk/debian/openpbx.org-dev.install 2007-01-26 23:49:58 UTC (rev 3067)
+++ openpbx/trunk/debian/openpbx.org-dev.install 2007-01-27 06:07:42 UTC (rev 3068)
@@ -0,0 +1,5 @@
+usr/include/openpbx
+usr/lib/openpbx.org/libo*.so
+usr/lib/openpbx.org/lib*.la
+usr/lib/lib*.la
+usr/lib/openpbx.org/modules/*.la
Added: openpbx/trunk/debian/openpbx.org.conffiles
===================================================================
--- openpbx/trunk/debian/openpbx.org.conffiles 2007-01-26 23:49:58 UTC (rev 3067)
+++ openpbx/trunk/debian/openpbx.org.conffiles 2007-01-27 06:07:42 UTC (rev 3068)
@@ -0,0 +1,37 @@
+/etc/openpbx.org/adsi.conf
+/etc/openpbx.org/adtranvofr.conf
+/etc/openpbx.org/agents.conf
+/etc/openpbx.org/cdr.conf
+/etc/openpbx.org/cdr_custom.conf
+/etc/openpbx.org/cdr_manager.conf
+/etc/openpbx.org/cdr_pgsql.conf
+/etc/openpbx.org/cdr_tds.conf
+/etc/openpbx.org/codecs.conf
+/etc/openpbx.org/dnsmgr.conf
+/etc/openpbx.org/dundi.conf
+/etc/openpbx.org/enum.conf
+/etc/openpbx.org/extconfig.conf
+/etc/openpbx.org/extensions.conf
+/etc/openpbx.org/features.conf
+/etc/openpbx.org/iax.conf
+/etc/openpbx.org/indications.conf
+/etc/openpbx.org/logger.conf
+/etc/openpbx.org/manager.conf
+/etc/openpbx.org/meetme.conf
+/etc/openpbx.org/mgcp.conf
+/etc/openpbx.org/modem.conf
+/etc/openpbx.org/modules.conf
+/etc/openpbx.org/musiconhold.conf
+/etc/openpbx.org/muted.conf
+/etc/openpbx.org/openpbx.adsi
+/etc/openpbx.org/openpbx.conf
+/etc/openpbx.org/osp.conf
+/etc/openpbx.org/privacy.conf
+/etc/openpbx.org/queues.conf
+/etc/openpbx.org/rpt.conf
+/etc/openpbx.org/rtp.conf
+/etc/openpbx.org/sip.conf
+/etc/openpbx.org/sip_notify.conf
+/etc/openpbx.org/udptl.conf
+/etc/openpbx.org/voicemail.conf
+/etc/openpbx.org/woomera.conf
Added: openpbx/trunk/debian/openpbx.org.default
===================================================================
--- openpbx/trunk/debian/openpbx.org.default 2007-01-26 23:49:58 UTC (rev 3067)
+++ openpbx/trunk/debian/openpbx.org.default 2007-01-27 06:07:42 UTC (rev 3068)
@@ -0,0 +1,24 @@
+# This file allows you to alter the configuration of the openpbx
+# init.d script
+#
+# RUNOPBX: run openpbx 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
+# priority
+#OPBX_REALTIME=yes
+#
+# PARAMS: exra parameters to pass to openpbx
+# 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.
+#PARAMS="-g -vvv"
+#
+#
+# RUNOPBXSAFE: run safe_openpbx rather than openpbx (will auto-restart upon
+# crash)
+#RUNOPBXSAFE=yes
Added: openpbx/trunk/debian/openpbx.org.dirs
===================================================================
--- openpbx/trunk/debian/openpbx.org.dirs 2007-01-26 23:49:58 UTC (rev 3067)
+++ openpbx/trunk/debian/openpbx.org.dirs 2007-01-27 06:07:42 UTC (rev 3068)
@@ -0,0 +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
Added: openpbx/trunk/debian/openpbx.org.init
===================================================================
--- openpbx/trunk/debian/openpbx.org.init 2007-01-26 23:49:58 UTC (rev 3067)
+++ openpbx/trunk/debian/openpbx.org.init 2007-01-27 06:07:42 UTC (rev 3068)
@@ -0,0 +1,114 @@
+#! /bin/sh
+#
+# openpbx start the openpbx PBX
+# (c) Mark Purcell <msp at debian.org>
+# May be distributed under the terms of this General Public License
+#
+# Based on:
+#
+# skeleton example file to build /etc/init.d/ scripts.
+# This file should be used to construct scripts for /etc/init.d.
+#
+# Written by Miquel van Smoorenburg <miquels at cistron.nl>.
+# Modified for Debian GNU/Linux
+# by Ian Murdock <imurdock at gnu.ai.mit.edu>
+# adapted for OpenPBX by Gerd Flaig <gefla at pond.sub.org>.
+#
+# Version: @(#)skeleton 1.9 26-Feb-2001 miquels at cistron.nl
+#
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+NAME=openpbx
+USER=$NAME
+DESC="Openpbx PBX"
+PIDFILE="/var/run/openpbx/openpbx.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 [ "$RUNOPENPBX" != "yes" ];then
+ echo "Openpbx not yet configured. Edit /etc/default/openpbx first."
+ exit 1
+fi
+
+if [ "$OPBX_REALTIME" != "no" ]
+then
+ PARAMS="$PARAMS -p"
+fi
+
+if [ "x$USER" = "x" ]
+then
+ echo "Error: empty USER name"
+ exit 1
+fi
+if [ `id -u "$USER"` = 0 ]
+then
+ echo "Starting as root not supported."
+ exit 1
+fi
+PARAMS="$PARAMS -U $USER"
+if [ "x$RUNOPBXSAFE" = "xyes" ];then
+ DAEMON=/usr/sbin/safe_openpbx
+ REALDAEMON=/usr/sbin/openpbx
+else
+ DAEMON=/usr/sbin/openpbx
+fi
+
+test -x $DAEMON || exit 0
+
+set -e
+
+case "$1" in
+ start)
+ echo -n "Starting $DESC: "
+ start-stop-daemon --start --pidfile "$PIDFILE" --exec $DAEMON -- $PARAMS
+ echo "$NAME."
+ ;;
+ stop)
+ echo -n "Stopping $DESC: "
+ if [ "$RUNOPBXSAFE" = "yes" ];then
+ # hopefully this will work. Untested
+ $REALDAEMON -rx 'stop now' > /dev/null || true
+ else
+ # Try gracefully
+ $DAEMON -rx 'stop now' > /dev/null 2>&1 || true
+ fi
+ echo -n "$NAME"
+ # giving a small grace time to shut down cleanly.
+ sleep 2
+ if [ "$RUNOPBXSAFE" = "yes" ];then
+ 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
+ start-stop-daemon --stop --quiet --oknodo --retry=0/2/TERM/2/KILL/5 --exec $DAEMON
+ echo "."
+ ;;
+ reload)
+ echo "Reloading $DESC configuration files."
+ $DAEMON -rx 'reload'
+ ;;
+ logger-reload)
+ $DAEMON -rx 'logger reload'
+ ;;
+ extensions-reload)
+ echo "Reloading $DESC configuration files."
+ $DAEMON -rx 'extensions reload'
+ ;;
+ restart|force-reload)
+ $0 stop
+ $0 start
+ ;;
+ *)
+ N=/etc/init.d/$NAME
+ # echo "Usage: $N {start|stop|restart|reload|logger-reload|extensions-reload|force-reload}" >&2
+ echo "Usage: $N {start|stop|restart|force-reload}" >&2
+ exit 1
+ ;;
+esac
+
+exit 0
Added: openpbx/trunk/debian/openpbx.org.install
===================================================================
--- openpbx/trunk/debian/openpbx.org.install 2007-01-26 23:49:58 UTC (rev 3067)
+++ openpbx/trunk/debian/openpbx.org.install 2007-01-27 06:07:42 UTC (rev 3068)
@@ -0,0 +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/sbin
+usr/bin
+etc/openpbx.org
Added: openpbx/trunk/debian/openpbx.org.logrotate
===================================================================
--- openpbx/trunk/debian/openpbx.org.logrotate 2007-01-26 23:49:58 UTC (rev 3067)
+++ openpbx/trunk/debian/openpbx.org.logrotate 2007-01-27 06:07:42 UTC (rev 3068)
@@ -0,0 +1,11 @@
+/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 {
+ daily
+ missingok
+ compress
+ delaycompress
+ rotate 30
+ sharedscripts
+ postrotate
+ /usr/sbin/invoke-rc.d openpbx.org logger-reload
+ endscript
+}
More information about the Pkg-voip-commits
mailing list