]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Half ready multipackage debianisation commit
authorMichal Bielicki <michal.bielicki@seventhsignal.de>
Fri, 30 Nov 2007 14:12:23 +0000 (14:12 +0000)
committerMichal Bielicki <michal.bielicki@seventhsignal.de>
Fri, 30 Nov 2007 14:12:23 +0000 (14:12 +0000)
Just a test, please don't use yet

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6446 d0543943-73ff-0310-b7d9-9358b9ac24b2

13 files changed:
debian/changelog
debian/control
debian/freeswitch-codec-passthru-amr.install [new file with mode: 0644]
debian/freeswitch-codec-passthru-g723_1.install [new file with mode: 0644]
debian/freeswitch-codec-passthru-g729.install [new file with mode: 0644]
debian/freeswitch-dev.install [new file with mode: 0644]
debian/freeswitch-spidermonkey.install [new file with mode: 0644]
debian/freeswitch.conffiles [moved from debian/conffiles with 100% similarity]
debian/freeswitch.dirs [moved from debian/dirs with 100% similarity]
debian/freeswitch.install [new file with mode: 0644]
debian/man/man1/freeswitch.1 [moved from debian/freeswitch.1 with 100% similarity]
debian/monit/freeswitch.monitrc [moved from debian/freeswitch.monitrc with 100% similarity]
debian/rules

index 8f472c60102a252a0761e41d0a01bbd7d8df0eb1..6cf1660a5e4c1f8b1c15378052a3aff073d4c396 100644 (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
 
index 5d4b160a92b1d36a62a69d1f2981feb698d663da..9e77aaa77aecc769abe3f43c1e7c5a1dcf16f332 100644 (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/
diff --git a/debian/freeswitch-codec-passthru-amr.install b/debian/freeswitch-codec-passthru-amr.install
new file mode 100644 (file)
index 0000000..c66668b
--- /dev/null
@@ -0,0 +1 @@
+opt/freeswitch/mod/mod_amr.so*
diff --git a/debian/freeswitch-codec-passthru-g723_1.install b/debian/freeswitch-codec-passthru-g723_1.install
new file mode 100644 (file)
index 0000000..496a562
--- /dev/null
@@ -0,0 +1 @@
+opt/freeswitch/od/mod_g723_1.so*
diff --git a/debian/freeswitch-codec-passthru-g729.install b/debian/freeswitch-codec-passthru-g729.install
new file mode 100644 (file)
index 0000000..0f94112
--- /dev/null
@@ -0,0 +1 @@
+opt/freeswitch/mod/mod_g729.so*
diff --git a/debian/freeswitch-dev.install b/debian/freeswitch-dev.install
new file mode 100644 (file)
index 0000000..c879951
--- /dev/null
@@ -0,0 +1,5 @@
+opt/freeswitch/lib/*.a
+opt/freeswitch/lib/*.la
+opt/freeswitch/mod/*.a
+opt/freeswitch/mod/*.la
+opt/freeswitch/include/*.h
diff --git a/debian/freeswitch-spidermonkey.install b/debian/freeswitch-spidermonkey.install
new file mode 100644 (file)
index 0000000..ffe9a3e
--- /dev/null
@@ -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*
similarity index 100%
rename from debian/conffiles
rename to debian/freeswitch.conffiles
similarity index 100%
rename from debian/dirs
rename to debian/freeswitch.dirs
diff --git a/debian/freeswitch.install b/debian/freeswitch.install
new file mode 100644 (file)
index 0000000..c75e875
--- /dev/null
@@ -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*
index 31b410f729d77ea84686e70f61615d521b4913a7..32ec45490d730f9b35bd986b5f58025f38438281 100755 (executable)
@@ -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