[Freeswitch-svn] [commit] r6474 - freeswitch/trunk/debian

Freeswitch SVN cypromis at freeswitch.org
Sun Dec 2 18:50:45 EST 2007


Author: cypromis
Date: Sun Dec  2 18:50:45 2007
New Revision: 6474

Added:
   freeswitch/trunk/debian/freeswitch-codec-passthru-g7231.install
      - copied unchanged from r6467, /freeswitch/trunk/debian/freeswitch-codec-passthru-g723_1.install
   freeswitch/trunk/debian/freeswitch-lang-de.conffiles
   freeswitch/trunk/debian/freeswitch-lang-de.install
   freeswitch/trunk/debian/freeswitch-lang-en.conffiles
   freeswitch/trunk/debian/freeswitch-lang-en.install
   freeswitch/trunk/debian/freeswitch-lang-fr.conffiles
   freeswitch/trunk/debian/freeswitch-lang-fr.install
   freeswitch/trunk/debian/freeswitch-spidermonkey.conffiles
   freeswitch/trunk/debian/postinst
      - copied unchanged from r6447, /freeswitch/trunk/debian/freeswitch.postinst
   freeswitch/trunk/debian/postrm
      - copied unchanged from r6447, /freeswitch/trunk/debian/freeswitch.postrm
Removed:
   freeswitch/trunk/debian/freeswitch-codec-passthru-g723_1.install
   freeswitch/trunk/debian/freeswitch.postinst
   freeswitch/trunk/debian/freeswitch.postrm
Modified:
   freeswitch/trunk/debian/compat
   freeswitch/trunk/debian/control
   freeswitch/trunk/debian/freeswitch-spidermonkey.install
   freeswitch/trunk/debian/freeswitch.conffiles
   freeswitch/trunk/debian/freeswitch.install
   freeswitch/trunk/debian/rules

Log:
Looks like a pretty complete debian packaging done :)


Modified: freeswitch/trunk/debian/compat
==============================================================================
--- freeswitch/trunk/debian/compat	(original)
+++ freeswitch/trunk/debian/compat	Sun Dec  2 18:50:45 2007
@@ -1 +1 @@
-5
+4

Modified: freeswitch/trunk/debian/control
==============================================================================
--- freeswitch/trunk/debian/control	(original)
+++ freeswitch/trunk/debian/control	Sun Dec  2 18:50:45 2007
@@ -1,5 +1,5 @@
 Source: freeswitch
-Maintainer: Michael Jerris <mike at jerris.com>
+Maintainer: Michal Bielicki <michal.bielicki at voiceworks.pl>
 Section: net
 Priority: extra
 Build-Depends: debhelper (>= 5), automake1.9, autoconf, libtool, unixodbc-dev, libasound2-dev, libcurl3-dev, libssl-dev, ncurses-dev
@@ -15,7 +15,6 @@
  a soft-switch.  It can be used as a simple switching engine, a media gateway
  or a media server to host IVR applications using simple scripts or XML to
  control the callflow.
- .
 Homepage: http://www.freeswitch.org/
 
 Package: freeswitch-spidermonkey
@@ -26,11 +25,11 @@
 
 Package: freeswitch-dev
 Architecture: any
-Depends: ${shlibs:Depends} freswitch
+Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch
 Description: Development Package for the FreeSwitch open source telephony platform
 Homepage: http://www.freeswitch.org/
 
-Package: freeswitch-codec-passthru-g723_1
+Package: freeswitch-codec-passthru-g7231
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch
 Description: Pass through g723.1 Codec support for the FreeSWITCH open source telephony platform
@@ -47,3 +46,21 @@
 Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch
 Description: Pass through g729 Codec support for the FreeSWITCH open source telephony platform
 Homepage: http://www.freeswitch.org/
+
+Package: freeswitch-lang-en
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch
+Description: English language files for the FreeSWITCH open source telephony platform
+Homepage: http://www.freeswitch.org/
+
+Package: freeswitch-lang-de
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch
+Description: German language files for the FreeSWITCH open source telephony platform
+Homepage: http://www.freeswitch.org/
+
+Package: freeswitch-lang-fr
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, freeswitch
+Description: Frencch language files for the FreeSWITCH open source telephony platform
+Homepage: http://www.freeswitch.org/

Added: freeswitch/trunk/debian/freeswitch-lang-de.conffiles
==============================================================================
--- (empty file)
+++ freeswitch/trunk/debian/freeswitch-lang-de.conffiles	Sun Dec  2 18:50:45 2007
@@ -0,0 +1,3 @@
+/opt/freeswitch/conf/lang/de/de.xml
+/opt/freeswitch/conf/lang/de/demo/demo.xml
+/opt/freeswitch/conf/lang/de/vm/tts.xml

Added: freeswitch/trunk/debian/freeswitch-lang-de.install
==============================================================================
--- (empty file)
+++ freeswitch/trunk/debian/freeswitch-lang-de.install	Sun Dec  2 18:50:45 2007
@@ -0,0 +1,4 @@
+opt/freeswitch/conf/lang/de/*.xml
+opt/freeswitch/conf/lang/de/demo/*.xml
+opt/freeswitch/conf/lang/de/vm/*.xml
+opt/freeswitch/mod/mod_say_de.so*

Added: freeswitch/trunk/debian/freeswitch-lang-en.conffiles
==============================================================================
--- (empty file)
+++ freeswitch/trunk/debian/freeswitch-lang-en.conffiles	Sun Dec  2 18:50:45 2007
@@ -0,0 +1,4 @@
+/opt/freeswitch/conf/lang/en/en.xml
+/opt/freeswitch/conf/lang/en/demo/demo.xml
+/opt/freeswitch/conf/lang/en/vm/sounds.xml
+/opt/freeswitch/conf/lang/en/vm/tts.xml

Added: freeswitch/trunk/debian/freeswitch-lang-en.install
==============================================================================
--- (empty file)
+++ freeswitch/trunk/debian/freeswitch-lang-en.install	Sun Dec  2 18:50:45 2007
@@ -0,0 +1,4 @@
+opt/freeswitch/conf/lang/en/*.xml
+opt/freeswitch/conf/lang/en/demo/*.xml
+opt/freeswitch/conf/lang/en/vm/*.xml
+opt/freeswitch/mod/mod_say_en.so*

Added: freeswitch/trunk/debian/freeswitch-lang-fr.conffiles
==============================================================================
--- (empty file)
+++ freeswitch/trunk/debian/freeswitch-lang-fr.conffiles	Sun Dec  2 18:50:45 2007
@@ -0,0 +1,3 @@
+/opt/freeswitch/conf/lang/fr/fr.xml
+/opt/freeswitch/conf/lang/fr/demo/demo.xml
+/opt/freeswitch/conf/lang/fr/vm/sounds.xml

Added: freeswitch/trunk/debian/freeswitch-lang-fr.install
==============================================================================
--- (empty file)
+++ freeswitch/trunk/debian/freeswitch-lang-fr.install	Sun Dec  2 18:50:45 2007
@@ -0,0 +1,4 @@
+opt/freeswitch/conf/lang/fr/*.xml
+opt/freeswitch/conf/lang/fr/demo/*.xml
+opt/freeswitch/conf/lang/fr/vm/*.xml
+opt/freeswitch/mod/mod_say_fr.so*

Added: freeswitch/trunk/debian/freeswitch-spidermonkey.conffiles
==============================================================================
--- (empty file)
+++ freeswitch/trunk/debian/freeswitch-spidermonkey.conffiles	Sun Dec  2 18:50:45 2007
@@ -0,0 +1 @@
+/opt/freeswitch/conf/autoload_configs/spidermonkey.conf.xml

Modified: freeswitch/trunk/debian/freeswitch-spidermonkey.install
==============================================================================
--- freeswitch/trunk/debian/freeswitch-spidermonkey.install	(original)
+++ freeswitch/trunk/debian/freeswitch-spidermonkey.install	Sun Dec  2 18:50:45 2007
@@ -3,3 +3,4 @@
 opt/freeswitch/lib/libjs.so*
 opt/freeswitch/lib/libplds4.so*
 opt/freeswitch/lib/libplc4.so*
+opt/freeswitch/conf/autoload_configs/spidermonkey.conf.xml

Modified: freeswitch/trunk/debian/freeswitch.conffiles
==============================================================================
--- freeswitch/trunk/debian/freeswitch.conffiles	(original)
+++ freeswitch/trunk/debian/freeswitch.conffiles	Sun Dec  2 18:50:45 2007
@@ -23,7 +23,6 @@
 /opt/freeswitch/conf/autoload_configs/post_load_modules.conf.xml
 /opt/freeswitch/conf/autoload_configs/rss.conf.xml
 /opt/freeswitch/conf/autoload_configs/sofia.conf.xml
-/opt/freeswitch/conf/autoload_configs/spidermonkey.conf.xml
 /opt/freeswitch/conf/autoload_configs/switch.conf.xml
 /opt/freeswitch/conf/autoload_configs/syslog.conf.xml
 /opt/freeswitch/conf/autoload_configs/voicemail.conf.xml
@@ -36,15 +35,5 @@
 /opt/freeswitch/conf/dialplan/default.xml
 /opt/freeswitch/conf/dialplan/US.conf.xml
 /opt/freeswitch/conf/directory/default.xml
-/opt/freeswitch/conf/lang/de/de.xml
-/opt/freeswitch/conf/lang/de/demo/demo.xml
-/opt/freeswitch/conf/lang/de/vm/tts.xml
-/opt/freeswitch/conf/lang/en/en.xml
-/opt/freeswitch/conf/lang/en/demo/demo.xml
-/opt/freeswitch/conf/lang/en/vm/sounds.xml
-/opt/freeswitch/conf/lang/en/vm/tts.xml
-/opt/freeswitch/conf/lang/fr/fr.xml
-/opt/freeswitch/conf/lang/fr/demo/demo.xml
-/opt/freeswitch/conf/lang/fr/vm/sounds.xml
 /opt/freeswitch/conf/sip_profiles/default.xml
 /opt/freeswitch/conf/sip_profiles/nat.xml

Modified: freeswitch/trunk/debian/freeswitch.install
==============================================================================
--- freeswitch/trunk/debian/freeswitch.install	(original)
+++ freeswitch/trunk/debian/freeswitch.install	Sun Dec  2 18:50:45 2007
@@ -1,10 +1,6 @@
 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*
@@ -13,24 +9,58 @@
 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*
+opt/freeswitch/conf/default_context_old.xml
+opt/freeswitch/conf/extensions.conf
+opt/freeswitch/conf/freeswitch.xml
+opt/freeswitch/conf/mime.types
+opt/freeswitch/conf/vars.xml
+opt/freeswitch/conf/autoload_configs/alsa.conf.xml
+opt/freeswitch/conf/autoload_configs/cdr.conf.xml
+opt/freeswitch/conf/autoload_configs/conference.conf.xml
+opt/freeswitch/conf/autoload_configs/console.conf.xml
+opt/freeswitch/conf/autoload_configs/dialplan_directory.conf.xml
+opt/freeswitch/conf/autoload_configs/dingaling.conf.xml
+opt/freeswitch/conf/autoload_configs/enum.conf.xml
+opt/freeswitch/conf/autoload_configs/event_multicast.conf.xml
+opt/freeswitch/conf/autoload_configs/event_socket.conf.xml
+opt/freeswitch/conf/autoload_configs/iax.conf.xml
+opt/freeswitch/conf/autoload_configs/ivr.conf.xml
+opt/freeswitch/conf/autoload_configs/java.conf.xml
+opt/freeswitch/conf/autoload_configs/limit.conf.xml
+opt/freeswitch/conf/autoload_configs/local_stream.conf.xml
+opt/freeswitch/conf/autoload_configs/modules.conf.xml
+opt/freeswitch/conf/autoload_configs/openmrcp.conf.xml
+opt/freeswitch/conf/autoload_configs/portaudio.conf.xml
+opt/freeswitch/conf/autoload_configs/post_load_modules.conf.xml
+opt/freeswitch/conf/autoload_configs/rss.conf.xml
+opt/freeswitch/conf/autoload_configs/sofia.conf.xml
+opt/freeswitch/conf/autoload_configs/switch.conf.xml
+opt/freeswitch/conf/autoload_configs/syslog.conf.xml
+opt/freeswitch/conf/autoload_configs/voicemail.conf.xml
+opt/freeswitch/conf/autoload_configs/wanpipe.conf.xml
+opt/freeswitch/conf/autoload_configs/woomera.conf.xml
+opt/freeswitch/conf/autoload_configs/xml_cdr.conf.xml
+opt/freeswitch/conf/autoload_configs/xml_curl.conf.xml
+opt/freeswitch/conf/autoload_configs/xml_rpc.conf.xml
+opt/freeswitch/conf/autoload_configs/zeroconf.conf.xml
+opt/freeswitch/conf/dialplan/default.xml
+opt/freeswitch/conf/dialplan/US.conf.xml
+opt/freeswitch/conf/directory/default.xml
+opt/freeswitch/conf/sip_profiles/default.xml
+opt/freeswitch/conf/sip_profiles/nat.xml

Modified: freeswitch/trunk/debian/rules
==============================================================================
--- freeswitch/trunk/debian/rules	(original)
+++ freeswitch/trunk/debian/rules	Sun Dec  2 18:50:45 2007
@@ -3,9 +3,30 @@
 # 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 DH_OPTIONS
+export DH_COMPAT=4
+export DEB_DH_INSTALL_SOURCEDIR=debian/tmp
+export PASSTHRU_CODEC_MODULES=codecs/mod_g729 codecs/mod_g723_1 codecs/mod_amr
+export SPIDERMONKEY_MODULES=languages/mod_spidermonkey languages/mod_spidermonkey_core_db languages/mod_spidermonkey_odbc languages/mod_spidermonkey_socket languages/mod_spidermonkey_teletone
+export APPLICATIONS_MODULES=applications/mod_commands applications/mod_conference applications/mod_dptools applications/mod_enum applications/mod_esf applications/mod_expr applications/mod_fifo applications/mod_limit applications/mod_rss applications/mod_voicemail
+export ASR_TTS_MODULES=asr_tts/mod_openmrcp
+export CODECS_MODULES=codecs/mod_g711 codecs/mod_g722 codecs/mod_g726 codecs/mod_gsm codecs/mod_ilbc codecs/mod_h26x codecs/mod_l16 codecs/mod_speex
+export DIALPLANS_MODULES=dialplans/mod_dialplan_asterisk dialplans/mod_dialplan_directory dialplans/mod_dialplan_xml
+export DIRECTORIES_MODULES=
+export DOTNET_MODULES=
+export ENDPOINTS_MODULES=endpoints/mod_dingaling endpoints/mod_iax endpoints/mod_portaudio endpoints/mod_sofia endpoints/mod_woomera ../../libs/openzap/mod_openzap
+export EVENT_HANDLERS_MODULES=event_handlers/mod_event_multicast event_handlers/mod_event_socket
+export FORMATS_MODULES=formats/mod_local_stream formats/mod_native_file formats/mod_sndfile
+export LANGUAGES_MODULES=
+export LOGGERS_MODULES=loggers/mod_console loggers/mod_logfile loggers/mod_syslog
+export SAY_MODULES=say/mod_say_de say/mod_say_en say/mod_say_fr
+export TIMERS_MODULES=
+export DISABLED_MODULES=applications/mod_sountouch directories/mod_ldap languages/mod_java languages/mod_python languages/mod_spidermonkey_skel ast_tts/mod_cepstral asr_tts/mod_lumenvox endpoints/mod_wanpipe event_handlers/mod_event_test event_handlers/mod_radius_cdr event_handlers/mod_zeroconf formats/mod_shout say/mod_say_it say/mod_say_es say/mod_say_nl
+export XML_INT_MODULES=xml_int/mod_xml_rpc  xml_int/mod_xml_curl xml_int/mod_xml_cdr
+export MYMODULES=$(PASSTHRU_CODEC_MODULES) $(SPIDERMONKEY_MODULES) $(APPLICATIONS_MODULES) $(ASR_TTS_MODULES) $(CODECS_MODULES) $(DIALPLANS_MODULES) $(DIRECTORIES_MODULES) $(DOTNET_MODULES) $(ENDPOINTS_MODULES) $(EVENT_HANDLERS_MODULES) $(FORMATS_MODULES) $(LANGUAGES_MODULES) $(LOGGERS_MODULES) $(SAY_MODULES) $(TIMERS_MODULES) $(XML_INT_MODULES)
+export MODULES=$(MYMODULES)
 
-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
 	AUTOCONFS := $(wildcard /usr/bin/autoconf*)
 	AUTOCONF = $(shell which autoconf)
@@ -28,6 +49,10 @@
 
 config.status: configure
 	dh_testdir
+	rm modules.conf
+	touch modules.conf
+	echo $(MODULES)
+	for i in $(MODULES); do echo $$i >> modules.conf; done
 	./configure --prefix=/opt/freeswitch \
 		--host=$(DEB_HOST_GNU_TYPE) \
 		--build=$(DEB_BUILD_GNU_TYPE) \
@@ -65,7 +90,7 @@
 	dh_testdir
 	dh_testroot
 	dh_clean -k 
-	dh_installdirs
+	dh_installdirs -A --sourcedir=debian/tmp
 
 	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
 
@@ -89,15 +114,13 @@
 #	dh_installcatalogs
 #	dh_installpam
 #	dh_installmime
-	dh_installinit
+	dh_installinit --sourcedir=debian/tmp
 #	dh_installcron
 #	dh_installinfo
 #	dh_undocumented
 #	dh_installman
-	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
+	cp debian/monit/freeswitch.monitrc debian/freeswitch/etc/monit/freswitch.monitrc
+	cp debian/default/freeswitch debian/freeswitch/etc/default
 	dh_install --sourcedir=debian/tmp
 	dh_strip
 	dh_compress



More information about the Freeswitch-svn mailing list