[Pkg-voip-commits] r3430 - callweaver/trunk/debian
Tzafrir Cohen
tzafrir-guest at alioth.debian.org
Tue Apr 17 21:18:04 UTC 2007
Author: tzafrir-guest
Date: 2007-04-17 21:18:04 +0000 (Tue, 17 Apr 2007)
New Revision: 3430
Added:
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
Removed:
callweaver/trunk/debian/openpbx.org-dev.install
callweaver/trunk/debian/openpbx.org.default
callweaver/trunk/debian/openpbx.org.dirs
callweaver/trunk/debian/openpbx.org.init
callweaver/trunk/debian/openpbx.org.install
callweaver/trunk/debian/openpbx.org.logrotate
callweaver/trunk/debian/openpbx.org.postinst
Modified:
callweaver/trunk/debian/changelog
callweaver/trunk/debian/control
callweaver/trunk/debian/rules
Log:
s/openpbx.org/callweaver/: stage 2.
Copied: callweaver/trunk/debian/callweaver-dev.install (from rev 3429, callweaver/trunk/debian/openpbx.org-dev.install)
Copied: callweaver/trunk/debian/callweaver.default (from rev 3429, callweaver/trunk/debian/openpbx.org.default)
Copied: callweaver/trunk/debian/callweaver.dirs (from rev 3429, callweaver/trunk/debian/openpbx.org.dirs)
Copied: callweaver/trunk/debian/callweaver.init (from rev 3429, callweaver/trunk/debian/openpbx.org.init)
Copied: callweaver/trunk/debian/callweaver.install (from rev 3429, callweaver/trunk/debian/openpbx.org.install)
Copied: callweaver/trunk/debian/callweaver.logrotate (from rev 3429, callweaver/trunk/debian/openpbx.org.logrotate)
Copied: callweaver/trunk/debian/callweaver.postinst (from rev 3429, callweaver/trunk/debian/openpbx.org.postinst)
Modified: callweaver/trunk/debian/changelog
===================================================================
--- callweaver/trunk/debian/changelog 2007-04-17 21:08:10 UTC (rev 3429)
+++ callweaver/trunk/debian/changelog 2007-04-17 21:18:04 UTC (rev 3430)
@@ -1,4 +1,4 @@
-openpbx.org (1.2~rc3~dfsg-1) UNRELEASED; urgency=low
+callweaver (1.2~rc3~dfsg-1) UNRELEASED; urgency=low
* Openpbx.org 1.2 initial release.
* Imported from openpbx.org original package.
Modified: callweaver/trunk/debian/control
===================================================================
--- callweaver/trunk/debian/control 2007-04-17 21:08:10 UTC (rev 3429)
+++ callweaver/trunk/debian/control 2007-04-17 21:18:04 UTC (rev 3430)
@@ -1,4 +1,4 @@
-Source: openpbx.org
+Source: callweaver
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.org
+Package: callweaver
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, openpbx.org-sounds, libspeex1, unixodbc
+Depends: ${shlibs:Depends}, ${misc:Depends}, callweaver-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
@@ -25,9 +25,9 @@
This Debian package includes the sample configuration, with demonstration
extensions, etc
.
- Website: http://www.openpbx.org.
+ Website: http://www.callweaver.org
-Package: openpbx.org-dev
+Package: callweaver-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.org-doc
-Recommends: openpbx.org
+Package: callweaver-doc
+Recommends: callweaver
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.org package.
+ extend the callweaver package.
Deleted: callweaver/trunk/debian/openpbx.org-dev.install
===================================================================
--- callweaver/trunk/debian/openpbx.org-dev.install 2007-04-17 21:08:10 UTC (rev 3429)
+++ callweaver/trunk/debian/openpbx.org-dev.install 2007-04-17 21:18:04 UTC (rev 3430)
@@ -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: callweaver/trunk/debian/openpbx.org.default
===================================================================
--- callweaver/trunk/debian/openpbx.org.default 2007-04-17 21:08:10 UTC (rev 3429)
+++ callweaver/trunk/debian/openpbx.org.default 2007-04-17 21:18:04 UTC (rev 3430)
@@ -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: callweaver/trunk/debian/openpbx.org.dirs
===================================================================
--- callweaver/trunk/debian/openpbx.org.dirs 2007-04-17 21:08:10 UTC (rev 3429)
+++ callweaver/trunk/debian/openpbx.org.dirs 2007-04-17 21:18:04 UTC (rev 3430)
@@ -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: callweaver/trunk/debian/openpbx.org.init
===================================================================
--- callweaver/trunk/debian/openpbx.org.init 2007-04-17 21:08:10 UTC (rev 3429)
+++ callweaver/trunk/debian/openpbx.org.init 2007-04-17 21:18:04 UTC (rev 3430)
@@ -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: callweaver/trunk/debian/openpbx.org.install
===================================================================
--- callweaver/trunk/debian/openpbx.org.install 2007-04-17 21:08:10 UTC (rev 3429)
+++ callweaver/trunk/debian/openpbx.org.install 2007-04-17 21:18:04 UTC (rev 3430)
@@ -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: callweaver/trunk/debian/openpbx.org.logrotate
===================================================================
--- callweaver/trunk/debian/openpbx.org.logrotate 2007-04-17 21:08:10 UTC (rev 3429)
+++ callweaver/trunk/debian/openpbx.org.logrotate 2007-04-17 21:18:04 UTC (rev 3430)
@@ -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.org logger-reload
- endscript
-}
Deleted: callweaver/trunk/debian/openpbx.org.postinst
===================================================================
--- callweaver/trunk/debian/openpbx.org.postinst 2007-04-17 21:08:10 UTC (rev 3429)
+++ callweaver/trunk/debian/openpbx.org.postinst 2007-04-17 21:18:04 UTC (rev 3430)
@@ -1,51 +0,0 @@
-#! /bin/sh
-
-set -e
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-
-case "$1" in
- configure)
-
- if (getent passwd openpbx >/dev/null);then
- :
- else
- adduser --system --group --home /var/lib/openpbx.org --gecos "Openpbx PBX daemon" openpbx
- adduser openpbx audio
- adduser openpbx dialout
- fi
- if (getent group dialout | grep -q openpbx); then
- adduser openpbx 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/*
-
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
-
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
Modified: callweaver/trunk/debian/rules
===================================================================
--- callweaver/trunk/debian/rules 2007-04-17 21:08:10 UTC (rev 3429)
+++ callweaver/trunk/debian/rules 2007-04-17 21:18:04 UTC (rev 3430)
@@ -31,9 +31,9 @@
ORIGVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg$$//')
UPVERSION:=$(shell echo $(ORIGVERSION) | sed -e 's/~rc/_rc/')
-FILENAME := openpbx_$(ORIGVERSION)~dfsg.orig.tar.gz
-UPFILENAME := openpbx_$(UPVERSION).orig.tar.gz
-URL := http://www.openpbx.org/openpbx.org-$(UPVERSION).tar.gz
+FILENAME := callweaver_$(ORIGVERSION)~dfsg.orig.tar.gz
+UPFILENAME := callweaver_$(UPVERSION).orig.tar.gz
+URL := http://www.callweaver.org/callweaver-$(UPVERSION).tar.gz
# FOR AUTOCONF 2.52 AND NEWER ONLY
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
@@ -177,18 +177,18 @@
@@echo Downloading $(UPFILENAME) from $(URL) ...
@@wget -N -nv -T10 -t3 -O ../tarballs/$(UPFILENAME) $(URL)
@@echo Repacking as DFSG-free...
- @@mkdir -p ../tarballs/openpbx-$(UPVERSION).tmp/
- @@cd ../tarballs/openpbx-$(UPVERSION).tmp ; \
+ @@mkdir -p ../tarballs/callweaver-$(UPVERSION).tmp/
+ @@cd ../tarballs/callweaver-$(UPVERSION).tmp ; \
tar xfz ../$(UPFILENAME)
# cleanup iLBC codec
- @@rm -rf ../tarballs/openpbx-$(UPVERSION).tmp/openpbx.org-$(UPVERSION)/codecs/codec_ilbc.c
+ @@rm -rf ../tarballs/callweaver-$(UPVERSION).tmp/callweaver-$(UPVERSION)/codecs/codec_ilbc.c
# move opstream's debian/ out of the way while we're doing the DFSG repack anyway.
- @@cd ../tarballs/openpbx-$(UPVERSION).tmp/openpbx.org-$(UPVERSION) ; \
+ @@cd ../tarballs/callweaver-$(UPVERSION).tmp/callweaver-$(UPVERSION) ; \
mkdir packaging;mv debian packaging
- @@cd ../tarballs/openpbx-$(UPVERSION).tmp ; \
+ @@cd ../tarballs/callweaver-$(UPVERSION).tmp ; \
tar cfz ../$(FILENAME) *
@@echo Cleaning up...
- @@$(RM) -rf ../tarballs/openpbx-$(UPVERSION).tmp/ ../tarballs/$(UPFILENAME)
+ @@$(RM) -rf ../tarballs/callweaver-$(UPVERSION).tmp/ ../tarballs/$(UPFILENAME)
binary: binary-indep binary-arch
.PHONY: build clean clean-patched patch unpatch binary-indep binary-arch binary install
More information about the Pkg-voip-commits
mailing list