[Freeswitch-trunk] [commit] r6446 - in freeswitch/trunk/debian: . man man/man1 monit

Freeswitch SVN cypromis at freeswitch.org
Fri Nov 30 09:12:24 EST 2007


Author: cypromis
Date: Fri Nov 30 09:12:23 2007
New Revision: 6446

Added:
   freeswitch/trunk/debian/freeswitch-codec-passthru-amr.install
   freeswitch/trunk/debian/freeswitch-codec-passthru-g723_1.install
   freeswitch/trunk/debian/freeswitch-codec-passthru-g729.install
   freeswitch/trunk/debian/freeswitch-dev.install
   freeswitch/trunk/debian/freeswitch-spidermonkey.install
   freeswitch/trunk/debian/freeswitch.conffiles
      - copied unchanged from r6434, /freeswitch/trunk/debian/conffiles
   freeswitch/trunk/debian/freeswitch.dirs
      - copied unchanged from r6443, /freeswitch/trunk/debian/dirs
   freeswitch/trunk/debian/freeswitch.install
   freeswitch/trunk/debian/man/
   freeswitch/trunk/debian/man/man1/
   freeswitch/trunk/debian/man/man1/freeswitch.1
   freeswitch/trunk/debian/monit/
   freeswitch/trunk/debian/monit/freeswitch.monitrc
Removed:
   freeswitch/trunk/debian/conffiles
   freeswitch/trunk/debian/dirs
   freeswitch/trunk/debian/freeswitch.1
   freeswitch/trunk/debian/freeswitch.monitrc
Modified:
   freeswitch/trunk/debian/changelog
   freeswitch/trunk/debian/control
   freeswitch/trunk/debian/rules

Log:
Half ready multipackage debianisation commit
Just a test, please don't use yet


Modified: freeswitch/trunk/debian/changelog
==============================================================================
--- freeswitch/trunk/debian/changelog	(original)
+++ freeswitch/trunk/debian/changelog	Fri Nov 30 09:12:23 2007
@@ -1,4 +1,4 @@
-freeswitch (1.0~beta2-2) unstable; urgency=low
+freeswitch (1.0~beta3-1) unstable; urgency=low
 
   * Additional scripts for changing the user to freeswitch
     Added Startup Scripts
@@ -7,6 +7,9 @@
     init.d file
     added user freeswitch to own and run all off freeswitch
     cleaned up config file control
+    new upstream release
+    split off codec pakcages
+    split off spidermonkey packages
 
  -- Michal Bielicki <michal.bielicki at voiceworks.pl>  Tue, 27 Nov 2007 13:20:21 +0100
 

Modified: freeswitch/trunk/debian/control
==============================================================================
--- freeswitch/trunk/debian/control	(original)
+++ freeswitch/trunk/debian/control	Fri Nov 30 09:12:23 2007
@@ -7,7 +7,7 @@
 
 Package: freeswitch
 Architecture: any
-Depends: ${shlibs:Depends}, unixodbc, libasound2, libcurl3, openssl, libncurses5
+Depends: ${shlibs:Depends}, ${misc:Depends}, unixodbc, libasound2, libcurl3, openssl, libncurses5
 Suggests: monit
 Description: A telephony platform that really kicks some ass...
  FreeSWITCH is an open source telephony platform designed to facilitate the
@@ -16,4 +16,34 @@
  or a media server to host IVR applications using simple scripts or XML to
  control the callflow.
  .
- Homepage: http://some-project.some-place.org/
+Homepage: http://www.freeswitch.org/
+
+Package: freeswitch-spidermonkey
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch
+Description: A Javascript engine for freeswitch
+Homepage: http://www.freeswitch.org/
+
+Package: freeswitch-dev
+Architecture: any
+Depends: ${shlibs:Depends} freswitch
+Description: Development Package for the FreeSwitch open source telephony platform
+Homepage: http://www.freeswitch.org/
+
+Package: freeswitch-codec-passthru-g723_1
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch
+Description: Pass through g723.1 Codec support for the FreeSWITCH open source telephony platform
+Homepage: http://www.freeswitch.org/
+
+Package: freeswitch-codec-passthru-amr
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch
+Description: Pass through AMR Codec support for the FreeSWITCH open source telephony platform
+Homepage: http://www.freeswitch.org/
+
+Package: freeswitch-codec-passthru-g729
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch
+Description: Pass through g729 Codec support for the FreeSWITCH open source telephony platform
+Homepage: http://www.freeswitch.org/

Added: freeswitch/trunk/debian/freeswitch-codec-passthru-amr.install
==============================================================================
--- (empty file)
+++ freeswitch/trunk/debian/freeswitch-codec-passthru-amr.install	Fri Nov 30 09:12:23 2007
@@ -0,0 +1 @@
+opt/freeswitch/mod/mod_amr.so*

Added: freeswitch/trunk/debian/freeswitch-codec-passthru-g723_1.install
==============================================================================
--- (empty file)
+++ freeswitch/trunk/debian/freeswitch-codec-passthru-g723_1.install	Fri Nov 30 09:12:23 2007
@@ -0,0 +1 @@
+opt/freeswitch/od/mod_g723_1.so*

Added: freeswitch/trunk/debian/freeswitch-codec-passthru-g729.install
==============================================================================
--- (empty file)
+++ freeswitch/trunk/debian/freeswitch-codec-passthru-g729.install	Fri Nov 30 09:12:23 2007
@@ -0,0 +1 @@
+opt/freeswitch/mod/mod_g729.so*

Added: freeswitch/trunk/debian/freeswitch-dev.install
==============================================================================
--- (empty file)
+++ freeswitch/trunk/debian/freeswitch-dev.install	Fri Nov 30 09:12:23 2007
@@ -0,0 +1,5 @@
+opt/freeswitch/lib/*.a
+opt/freeswitch/lib/*.la
+opt/freeswitch/mod/*.a
+opt/freeswitch/mod/*.la
+opt/freeswitch/include/*.h

Added: freeswitch/trunk/debian/freeswitch-spidermonkey.install
==============================================================================
--- (empty file)
+++ freeswitch/trunk/debian/freeswitch-spidermonkey.install	Fri Nov 30 09:12:23 2007
@@ -0,0 +1,5 @@
+opt/freeswitch/mod/mod_spidermonkey*so*
+opt/freeswitch/lib/libnspr4.so*
+opt/freeswitch/lib/libjs.so*
+opt/freeswitch/lib/libplds4.so*
+opt/freeswitch/lib/libplc4.so*

Added: freeswitch/trunk/debian/freeswitch.install
==============================================================================
--- (empty file)
+++ freeswitch/trunk/debian/freeswitch.install	Fri Nov 30 09:12:23 2007
@@ -0,0 +1,36 @@
+opt/freeswitch/htdocs/*
+opt/freeswitch/bin/freeswitch
+opt/freeswitch/lib/libfreeswitch*.so*
+etc/init.d/freeswitch
+etc/monit/freeswitch.monitrc
+etc/default/freeswitch
+opt/freeswitch/man/man1/freeswitch.1
+opt/freeswitch/mod/mod_console.so*
+opt/freeswitch/mod/mod_syslog.so*
+opt/freeswitch/mod/mod_commands.so*
+opt/freeswitch/mod/mod_conference.so*
+opt/freeswitch/mod/mod_dptools.so*
+opt/freeswitch/mod/mod_enum.so*
+opt/freeswitch/mod/mod_fifo.so*
+opt/freeswitch/mod/mod_openmrcp.so*
+# Codecs
+opt/freeswitch/mod/mod_g711.so*
+opt/freeswitch/mod/mod_g722.so*
+opt/freeswitch/mod/mod_g726.so*
+opt/freeswutch/mod/mod_speex.so*
+# Dialplan
+opt/freeswitch/mod/mod_dialplan*.so*
+# Endpoints
+opt/freeswitch/mod/mod_dingaling.so*
+opt/freeswitch/mod/mod_iax.so*
+opt/freeswitch/mod/mod_portaudio.so*
+opt/freeswitch/mod/mod_sofia.so*
+opt/freeswitch/mod/mod_woomera.so*
+opt/freeswitch/mod/mod_openzap.so
+# event engines
+opt/freeswitch/mod/mod_event_*.so*
+opt/freeswitch/mod/mod_native_file.so*
+opt/freeswitch/mod/mod_sndfile.so*
+opt/freeswitch/mod/mod_local_stream.so*
+opt/freeswitch/mod/mod_xml_*.so*
+opt/freeswitch/mod/mod_say_*.so*

Added: freeswitch/trunk/debian/man/man1/freeswitch.1
==============================================================================
--- (empty file)
+++ freeswitch/trunk/debian/man/man1/freeswitch.1	Fri Nov 30 09:12:23 2007
@@ -0,0 +1,22 @@
+.TH "FREESWITCH" "1" "October 10, 2007" "" ""
+.nh
+.ad l
+.SH "NAME"
+freeswitch \- Open Source telephony platform
+.SH "SYNOPSIS"
+.HP 7
+\fBfreeswitch\fR [\fIoption\fR...]
+.SH "DESCRIPTION"
+.PP
+This manual page documents briefly the
+\fBfreeswitch\fR
+command.
+.PP
+This manual page was written for the
+Debian
+distribution because we're too lame to write a real manual page. But we have a superb website over here:
+.UR http://www.freeswitch.org/
+.BR http://www.freeswitch.org/
+.SH "SEE ALSO"
+.PP
+\fBundocumented\fR(7).

Added: freeswitch/trunk/debian/monit/freeswitch.monitrc
==============================================================================
--- (empty file)
+++ freeswitch/trunk/debian/monit/freeswitch.monitrc	Fri Nov 30 09:12:23 2007
@@ -0,0 +1,22 @@
+ check process freeswitch with pidfile /opt/freeswitch/log/freeswitch.pid
+   group voice
+   start program = "/etc/init.d/freeswitch start"
+   stop  program = "/etc/init.d/freeswitch stop"
+   if failed port 5060 type UDP then restart
+   if 5 restarts within 5 cycles then timeout
+   depends on freeswitch_bin
+   depends on freeswitch_rc
+
+ check file freeswitch_bin with path /opt/freeswitch/bin/freeswitch
+   group voice
+   if failed checksum then unmonitor
+   if failed permission 755 then unmonitor
+   if failed uid freeswitch then unmonitor
+   if failed gid daemon then unmonitor
+
+ check file freeswitch_rc with path /etc/init.d/freeswitch
+   group voice
+   if failed checksum then unmonitor
+   if failed permission 755 then unmonitor
+   if failed uid root then unmonitor
+   if failed gid root then unmonitor

Modified: freeswitch/trunk/debian/rules
==============================================================================
--- freeswitch/trunk/debian/rules	(original)
+++ freeswitch/trunk/debian/rules	Fri Nov 30 09:12:23 2007
@@ -3,7 +3,7 @@
 # This file is public domain software, originally written by Joey Hess. 
 
 # Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+export DH_VERBOSE=1
 
 export MODULES ?= mod_console mod_syslog mod_commands mod_conference mod_dptools mod_enum mod_fifo mod_openmrcp mod_amr mod_g711 mod_g722 mod_g723_1 mod_g726 mod_g729 mod_gsm mod_ilbc mod_l16 mod_speex mod_dialplan_directory mod_dialplan_xml mod_dialplan_asterisk mod_dingaling mod_iax mod_portaudio mod_sofia mod_woomera mod_openzap mod_event_multicast mod_event_socket mod_native_file mod_sndfile mod_local_stream mod_spidermonkey mod_spidermonkey_teletone mod_spidermonkey_core_db mod_spidermonkey_odbc mod_xml_rpc mod_xml_curl mod_xml_cdr mod_say_en mod_say_fr mod_say_de
 ifndef AUTOCONF
@@ -67,7 +67,7 @@
 	dh_clean -k 
 	dh_installdirs
 
-	$(MAKE) DESTDIR=$(CURDIR)/debian/freeswitch install
+	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
 
 
 # Build architecture-independent files here.
@@ -94,10 +94,11 @@
 #	dh_installinfo
 #	dh_undocumented
 #	dh_installman
-	dh_install debian/freeswitch.monitrc etc/monit
-	dh_install debian/default/freeswitch etc/default
-	dh_install debian/freeswitch.1 opt/man
-	dh_link opt/freeswitch/conf etc/opt/freeswitch
+	dh_install --sourcedir=debian/tmp --autodest debian/monit/freeswitch.monitrc
+	dh_install --sourcedir=debian/tmp --autodest debian/default/freeswitch
+	dh_install --sourcedir=/debian/tmp --autodest debian/man/man1/freeswitch.1
+	dh_link --sourcedir=debian/tmp opt/freeswitch/conf etc/opt/freeswitch
+	dh_install --sourcedir=debian/tmp
 	dh_strip
 	dh_compress
 	dh_fixperms --exclude /opt/freeswitch/conf



More information about the Freeswitch-trunk mailing list