Half ready multipackage debianisation commit

Just a test, please don't use yet


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6446 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michal Bielicki 2007-11-30 14:12:23 +00:00
parent fdbb1d43fa
commit 49783c4b57
13 changed files with 92 additions and 9 deletions

5
debian/changelog vendored
View File

@ -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 @@ freeswitch (1.0~beta2-2) unstable; urgency=low
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@voiceworks.pl> Tue, 27 Nov 2007 13:20:21 +0100

34
debian/control vendored
View File

@ -7,7 +7,7 @@ Standards-Version: 3.7.2
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 @@ Description: A telephony platform that really kicks some ass...
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/

View File

@ -0,0 +1 @@
opt/freeswitch/mod/mod_amr.so*

View File

@ -0,0 +1 @@
opt/freeswitch/od/mod_g723_1.so*

View File

@ -0,0 +1 @@
opt/freeswitch/mod/mod_g729.so*

5
debian/freeswitch-dev.install vendored Normal file
View File

@ -0,0 +1,5 @@
opt/freeswitch/lib/*.a
opt/freeswitch/lib/*.la
opt/freeswitch/mod/*.a
opt/freeswitch/mod/*.la
opt/freeswitch/include/*.h

View File

@ -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*

36
debian/freeswitch.install vendored Normal file
View File

@ -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*

13
debian/rules vendored
View File

@ -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 @@ install: build
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 @@ binary-arch: build install
# 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