Commit Graph

361 Commits

Author SHA1 Message Date
Travis Cross 7d5062f9c9 debian: don't force-create the orig tarball 2012-05-28 16:35:00 +00:00
Travis Cross dfddd3ec10 debian: remove utilities that duplicate debian tools
install-build-depends is inferior to:

  mk-build-deps -i
2012-05-28 16:34:52 +00:00
Travis Cross 219831edf3 debian: pull in mod_spandsp with other codecs 2012-05-27 06:34:52 +00:00
Travis Cross 890a89b6e3 debian: suggest rather than depend on problematic codecs 2012-05-27 06:17:58 +00:00
Travis Cross 409ff21cc4 debian: improve policy compliance on debian/copyright 2012-05-25 02:45:00 +00:00
Travis Cross 879a798ef3 debian: document a better way to build packaging 2012-05-24 17:27:34 +00:00
Travis Cross 1050a2a9f9 debian: version bump 2012-05-24 17:27:28 +00:00
Travis Cross 7b5a9193aa debian: remove support for building sounds and music
The various sounds and music have their own source packages now as
they have their own conventions and version numbers which fortunately
update less frequently than FreeSWITCH itself.
2012-05-24 17:27:23 +00:00
Travis Cross 11d4658ac4 debian: package mod_say_fa (Say for Persian) 2012-05-23 23:42:36 +00:00
Travis Cross fcaf888452 debian: install freeswitch.jar with mod_java 2012-05-15 07:19:51 +00:00
Travis Cross fbcb1c7ae2 debian: don't install scripts/ with freeswitch
Some modules like mod_java drop files in there during install that
should be installed with the module rather than with FS.
2012-05-15 07:18:50 +00:00
Travis Cross c3c559e4f7 debian: add mod_random 2012-05-14 15:53:10 +00:00
Travis Cross 117582adca debian: match empty as well as unset section variable 2012-05-13 20:54:32 +00:00
Travis Cross 3bc4aa39fe debian: handle copyright information for pocketsphinx
Debian expects all copyright information to be in one place, so we
copy the license details to debian/copyright and remove the COPYING
files when we install components.
2012-05-13 20:54:32 +00:00
Travis Cross 566123cc50 debian: mod_managed needs mono-gmcs to build 2012-05-12 21:57:57 +00:00
Travis Cross e84686943f debian: put mod_ilbc in non-free
The iLBC library in our tree is non-free software.  Google has
purchased Global IP Sound and released a newer version of this library
as part of WebRTC as free software, but we need to upgrade to take
advantage of this more favorable licensing.

Until we do that, we also need to remove libs/ilbc from the Debian
source packaging.
2012-05-12 21:30:53 +00:00
Travis Cross 243f950c2a debian: rearrange section headers 2012-05-12 20:52:59 +00:00
Travis Cross 4e174ee99c debian: put mod_siren in non-free
Despite the relatively-generous patent grant from Polycom, the
requirement to execute further agreements to use the code and patents
means this module fails the DFSG.

We'll need to exclude this code from the source package as well.
2012-05-12 20:52:59 +00:00
Travis Cross a7151174e2 debian: support per-module section headers 2012-05-12 20:52:58 +00:00
Travis Cross b19b6498db debian: add build-depends for mod_osp 2012-05-12 18:23:35 +00:00
Travis Cross ed42f37212 debian: add build-depends and section for mod_mp4
This needs a package from debian-multimedia.org, so it needs to go in
contrib/ and we can't build it as part of this source package.
2012-05-12 18:23:34 +00:00
Travis Cross 0f50f044f3 debian: add build-depends for mod_h323 2012-05-12 18:23:34 +00:00
Travis Cross fb749c611f debian: enable mod_portaudio and mod_portaudio_stream 2012-05-12 18:23:34 +00:00
Travis Cross d113dbd27a debian: enable mod_yaml 2012-05-12 18:23:34 +00:00
Travis Cross 832d00f3da debian: add build-depends for mod_yaml 2012-05-12 18:23:33 +00:00
Travis Cross df19f49fd8 debian: enable mod_ladspa 2012-05-12 18:23:33 +00:00
Travis Cross 5e83530a20 debian: add build-depends and suggests for mod_ladspa 2012-05-12 18:23:33 +00:00
Travis Cross ee653e5861 debian: use libjpeg62-dev rather than libjpeg8-dev
Some modules such as mod_h323 pull in libjpeg62-dev which creates a
dependency conflict if we try to use libjpeg8-dev for the core.
2012-05-12 18:23:32 +00:00
Travis Cross e44bdd11f4 debian: enable mod_managed except on squeeze
mod_managed needs mono 2.8 or greater, and squeeze has only mono 2.6.
2012-05-12 18:23:32 +00:00
Travis Cross 3eec3d79be debian: enable mod_java 2012-05-12 18:23:32 +00:00
Travis Cross 7061ff3b84 debian: mod_java depends on gcj-jdk for a symlink to jni.h
See:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=371060
2012-05-12 18:23:31 +00:00
Travis Cross 3e2194873d debian: enable mod_snmp 2012-05-12 18:22:13 +00:00
Travis Cross 65a29d68f9 debian: add some module build dependencies
Thanks to Steven Ayre for an initial list.  I've made some
modifications and corrections.

FS-4202 --resolve
2012-05-12 18:21:58 +00:00
Travis Cross 31703ab6a4 debian: add support for per-distribution build-depends 2012-05-12 04:54:35 +00:00
Travis Cross 2bd8470534 debian: trust shlibs:Depends to do its thing 2012-05-12 03:00:17 +00:00
Travis Cross 193512e9ea debian: mirror dpkg-source parameter choice 2012-05-11 06:23:18 +00:00
Travis Cross 8d366f7f98 debian: add a utility for creating the source package 2012-05-11 06:14:57 +00:00
Travis Cross 18de244778 debian: add a utility to create the .orig.tar.* file 2012-05-11 06:14:57 +00:00
Travis Cross 417c3c29fc debian: clean up after bootstrapping 2012-05-11 06:14:57 +00:00
Travis Cross 495dd7e5e2 debian: stop if we hit any errors in util.sh 2012-05-11 06:14:57 +00:00
Travis Cross 383130f855 debian: remove remnants of slimplayer as we're now packaging this under contrib 2012-05-11 02:03:58 +00:00
Travis Cross b008f8c9d5 debian: attribution 2012-05-11 00:35:17 +00:00
Travis Cross 921de9446f debian: don't package the SWF slim player
We're not including the source code or build tools for the version of
the player we're distributing, so it fails The Debian Free Software
Guidelines (DFSG).
2012-05-10 18:55:48 +00:00
Travis Cross 9b265bdf8b debian: freeswitch depends on libfreeswitch1 2012-05-10 18:47:02 +00:00
Travis Cross 62190e5836 debian: libfreeswitch1 shouldn't build-depend on perl:Depends 2012-05-10 18:26:00 +00:00
Travis Cross adf313d0c3 debian: override warnings about closing an ITP bug 2012-05-10 18:26:00 +00:00
Travis Cross cc36ff4800 debian: override gpl/openssl warning on freeswitch package 2012-05-10 18:26:00 +00:00
Travis Cross 76330ec918 debian: update package name for lintian override 2012-05-09 23:20:37 +00:00
Travis Cross 7624ca0ba6 debian: don't distribute .la file with libfreeswitch-dev
Debian wants rid of .la files, and leaving this out shouldn't do any
harm on a Debian system.
2012-05-09 23:15:03 +00:00
Travis Cross 9c6a3d76d3 debian: rename libfreeswitch-dev package appropriately 2012-05-09 23:15:02 +00:00
Travis Cross 4e4b0d45e2 debian: reduce edit distance between control-modules and .gen 2012-05-09 23:15:02 +00:00
Travis Cross 6606a1c9fb debian: add mod_xml_scgi 2012-05-09 23:15:02 +00:00
Travis Cross d64c72e88d debian: don't distribute .la files with modules
Debian wants rid of .la files, and these module .la files shouldn't be
necessary on a Debian system.
2012-05-09 23:15:02 +00:00
Travis Cross 52fe417d93 debian: don't put module .la files in freeswitch-dev 2012-05-09 23:15:02 +00:00
Travis Cross a9977a7cac debian: separate out libfreeswitch1 2012-05-09 23:15:02 +00:00
Travis Cross 13498d59f0 debian: spidermonkey doesn't build correctly on wheezy either 2012-05-09 17:13:49 +00:00
Travis Cross bb90d52df7 don't use bootstrap.sh -j anywhere but devel-bootstrap.sh
We believe there may be a race condition in bootstrap.sh when run with
-j.  We know that running it without -j should be at least
deterministic (whether or not correct), so we'll go with that in
anticipation of releasing v1.2.
2012-05-08 18:57:00 +00:00
Travis Cross 1edf94b5d9 debian: add progress output to bootstrap 2012-05-08 14:43:26 +00:00
Travis Cross c5b6166538 debian: fix use of bash arrays and display excludes/includes 2012-05-08 14:34:47 +00:00
Travis Cross 8ca2ed72b8 ci/debian: synchronize codename flag 2012-05-08 13:58:44 +00:00
Travis Cross 5c18656a91 debian: build different sets of modules based on the debian codename 2012-05-07 23:32:09 +00:00
Travis Cross 0553518f67 ci/debian: accept the codename for which we are packaging 2012-05-07 22:52:48 +00:00
Travis Cross 2557e962a2 debian: move .so symlink to -dev package 2012-05-07 16:27:37 +00:00
Travis Cross e2c850b797 debian: ignore final possible-gpl-code-linked-with-openssl warning 2012-05-07 16:17:11 +00:00
Travis Cross 258ad092ac debian: massage the prerm script to pass lintian 2012-05-07 16:17:11 +00:00
Travis Cross 664e2e322a debian: simplify default build PATH 2012-05-07 00:45:13 +00:00
Travis Cross 6c5abe4616 debian: add wildcard to lintian override 2012-05-06 23:29:31 +00:00
Travis Cross c7426963b7 debian: overrides some irrelevant lintian warnings 2012-05-06 23:26:37 +00:00
Travis Cross 8bbfe99e19 debian: whitespace 2012-05-06 22:46:36 +00:00
Travis Cross fa55b5e82d debian: avoid lintian maintainer-script-empty
We are going to fill in these files with useful things.
2012-05-06 22:46:13 +00:00
Travis Cross 34afc6cb2e debian: fix last empty-binary-package lintian warning 2012-05-06 22:33:46 +00:00
Travis Cross 9a543ec9db debian: put freeswitch-doc into the doc section 2012-05-06 19:26:52 +00:00
Travis Cross 90217e864b debian: add remote_fs and required-stop to init 2012-05-06 19:13:49 +00:00
Travis Cross 2439bfe905 debian: mark debug packages as priority extra
It's required by lintian.
2012-05-06 19:09:23 +00:00
Travis Cross 3ee672467a debian: fix typo 2012-05-06 19:08:40 +00:00
Travis Cross f1290a7bb1 debian: properly label metapackages 2012-05-06 18:34:12 +00:00
Travis Cross 883dd296e7 debian: set possible dependencies for mod_shout and disable the module 2012-05-06 11:27:00 +00:00
Travis Cross df0861610f debian: disable mod_mongo as it's causing CI problems 2012-05-06 10:23:37 +00:00
Travis Cross 087bafe476 debian: correct new issue raised by lintian on source package 2012-05-06 07:28:10 +00:00
Travis Cross 621ec4ae1a debian: fix issues raised by lintian on source package 2012-05-06 07:14:22 +00:00
Travis Cross f4f0d7e60f debian: add instructions on how to quickly setup a demo system 2012-05-05 23:43:39 +00:00
Travis Cross d281cf8ee8 debian: correct indentation level 2012-05-05 23:33:17 +00:00
Travis Cross a943189e3d debian: update .gitignore for new debian install directories 2012-05-05 23:29:18 +00:00
Travis Cross eec92b51e6 debian: update .gitignore for music .install files 2012-05-05 23:29:18 +00:00
Travis Cross fa4e329847 debian: add a makefile rule to install build deps 2012-05-05 23:29:17 +00:00
Travis Cross 0a00e7e5eb debian: install build dependencies without confirming 2012-05-05 23:29:17 +00:00
Travis Cross b13f18ba8d debian: add a utility to install necessary build dependencies 2012-05-05 23:29:16 +00:00
Travis Cross 38379a5f0d debian: make utilities work when run from any arbitrary directory 2012-05-05 23:29:08 +00:00
Travis Cross 6c7548925c debian: make utilities work when run from within debian/ 2012-05-05 23:19:53 +00:00
Travis Cross 6e01f31798 debian: add a utility to output build dependencies for aptitude 2012-05-05 23:19:41 +00:00
Travis Cross 75da872259 debian: stylistic harmony 2012-05-05 20:28:46 +00:00
Travis Cross b281e1340b debian: place build utilities in a single file 2012-05-05 20:23:53 +00:00
Travis Cross 4ce0f57a8b debian: add new and vastly improved packaging for Debian
We now break out each module and component of FreeSWITCH into a
separate individually-installable package.  For each package with
executables or modules, we also build a package that includes the
stripped debugging symbols so that users can be helpful when they
discover bugs in FreeSWITCH.

As of this commit, we successfully build 263 distinct binary packages
starting from a clean minimal image on both Debian Sid and Debian
Squeeze.

To keep this manageable, we include a program that generates the
various Debian packaging files from a consolidated description of the
modules and their metadata.  The program can even generate this
configuration file by walking the FreeSWITCH source tree.

To provide a smooth user experience, we provide meta-packages that
install sensible sets of modules and other components.

All files are installed into the traditional and customary Linux
directories that you would expect in accordance with the Filesystem
Hierarchy Standard (FHS).

This commit also adds support for running FreeSWITCH as a forked
systemd service in Debian.

For more information about the technical details of the source
packaging, how to build the binary packages from source, and how you
can contribute, please read debian/README.source.

To learn about how this packaging affects you as a user and how to use
the finished Debian packages, read debian/README.Debian.

Signed-off-by: Travis Cross <tc@traviscross.com>
2012-05-05 11:54:05 +00:00
Travis Cross 9181e8e51b debian: start over 2012-05-05 07:36:37 +00:00
William King 50acea7d95 Finally fully inline with binary* and build* with Debian Policy Manual section 4.9 2012-04-21 12:38:30 -07:00
William King aa4b221d12 Resolve debian packaging make file conflict regressions 2012-04-20 15:05:26 -07:00
William King ba316fcd46 oops. 1.1.head is a newer version compared to 1.1.beta2 2012-04-19 22:02:26 -07:00
William King 5c2330f766 Resolve a missing build-dep. Resolve a handful of lintian warnings and errors. Cleanup in prep for 1.2 release packaging. --resolve FS-3449 2012-04-19 19:46:10 -07:00
Ken Rice 02db8e810f FS-4086 --resolve 2012-04-10 14:53:19 -05:00
Daniel Swarbrick 935b4aefbd whitespace, cruft 2012-03-19 18:05:44 +01:00
Michal Bielicki - cypromis 16c23f787c typo 2011-05-30 16:55:24 +02:00
Michal Bielicki - cypromis 7822db8aa6 added mod_cdr_sqlite to Debian build 2011-05-30 16:05:07 +02:00
cypromis 1703f3f606 added mongo module config files to debian pckage 2011-05-13 09:06:18 +02:00
Michal Bielicki - cypromis b81cc4bc27 FS-3195, added german additional say module stuff to debian build 2011-04-26 15:12:30 +02:00
cypromis 12310fa32a one should not copy files over ... copy and paste errors suck. 2011-04-03 20:14:07 +02:00
Michal Bielicki 0e4a1ce873 Added Hebrew Language package to debian buildsystem 2011-04-02 03:13:06 +02:00
Michal Bielicki - cypromis 6e78f6f57e removed mod_file_string from debian build since it has been merged into dptools 2011-03-30 11:41:45 +02:00
Michal Bielicki - cypromis 326886d0fb removed mod_file_string from debian build since it has been merged into dptools 2011-03-30 11:40:52 +02:00
Michal Bielicki - cypromis aa18171977 Fixed handling of python module conffiles in debian 2011-03-23 18:33:41 +01:00
Michal Bielicki - cypromis 4f8ae1c4e6 ulimit options we do not need set commented out in debian freeswitch.init script 2011-03-23 15:15:42 +01:00
Michal Bielicki - cypromis d723b3d895 added libc6-dev dependency to debian build for timerfd module to build correctly 2011-03-23 14:43:03 +01:00
Michal Bielicki - cypromis a36e8e606f added mod_timerfd to debian builds 2011-03-23 13:46:56 +01:00
Michal Bielicki - cypromis fcd8e2d742 fixed python esl for debian, should make everyone happy now, closes FS-3128 2011-03-23 12:42:17 +01:00
cypromis 44bfcf1d7c FS-3128 2011-03-20 11:00:51 +01:00
Brian West 32b8f1008e more fixes from diego 2011-01-05 14:09:16 -06:00
Brian West 3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Michal Bielicki 7e880ee33e cleanup to debian sound file generation and packaging 2010-12-22 22:24:36 +00:00
Brian West 0eb33e5761 FS-2844: Patch debian init.d script to set ulimit values 2010-11-15 11:13:04 -06:00
cypromis bc84eb339c added changes by Gabriel Gunderson fixing path in debian for pythoin and some typos 2010-10-28 00:07:00 +02:00
cypromis e5459d34bf fix changelog 2010-10-15 13:16:16 +02:00
cypromis ca94fb2bea adding tts_commandline 2010-10-15 12:45:52 +02:00
cypromis a4aa5ceb2e my typonese rules ... sorry for the mod_spandsp.sp ... 2010-10-15 12:19:55 +02:00
cypromis 880ab2c0b4 get flite back in and try to compile on more RAM .... it will not compile on less than 768 I think 2010-10-15 11:49:28 +02:00
cypromis 471d717d82 if you cannot type ... you have to have a lot of time to find the error when it finally popps up while recompiling ... typo in debian/rules ... 2010-10-15 11:24:52 +02:00
cypromis ddf34ab39a mod_curl is back in the packaged game and some weird source dir from debian ;)) 2010-10-15 10:53:48 +02:00
cypromis faffbaaadb fix dependency to python-dev for debian packages 2010-10-15 10:23:37 +02:00
cypromis 9686a38f92 seems endpoints need spandsp done so spandsp (basically all app modules) have to be made before endpoints 2010-10-15 09:19:44 +02:00
cypromis 33ea6e9c8f no scripts dir 2010-10-15 08:02:15 +02:00
cypromis 9eb57ee521 no bins in scripts dir 2010-10-15 07:47:19 +02:00
cypromis 374d13e7b6 forgot one more entry 2010-10-15 06:53:46 +02:00
cypromis 0c89de8fb6 need more testing of the .pc applied_patches stuff .. this does not work as advertised yet 2010-10-15 06:51:55 +02:00
cypromis e0632e6498 added warning message to debian subdir 2010-10-15 06:17:38 +02:00
cypromis ce3055e65a PLEASE NEVER CHANGE ANYTHING IN THE DEBIAN DIRECTORY YOURSELF. ALWAYS CREATE A JIRA FIRST AND WAIT FOR THE CURRENT MAINTAINER TO DO THE CHANGES 2010-10-15 06:16:12 +02:00
cypromis 364e78e292 o you my tab why are you leaving me ??? 2010-10-15 05:57:12 +02:00
cypromis b98401c990 FS-369 except for adduser change, openzap patches (openzap is gone) and some other minor stuff 2010-10-15 05:43:25 +02:00
Michal Bielicki fe9921c9b0 unimrcp does not build on debian, will have to further analyse 2010-10-15 04:17:27 +02:00
Michal Bielicki 3da5dd0e36 typo in debian rules file made freetdm disappear 2010-10-14 22:47:08 +02:00
Michal Bielicki ea5a8c91f6 more deb packaging cleanups 2010-10-14 22:29:29 +02:00
Michal Bielicki eb10a9ef8d updated modules in .debs to sync with .spec. left out flite since it requres more than 384mb to build debs with. 2010-10-14 19:01:00 +02:00
Michal Bielicki 60c21ddbc2 added amrwb to debian packages and moved from openzap to freetdm 2010-10-14 18:59:42 +02:00
Mathieu Parent 4f46bb91fc debian:
* Updated Uploaders list
  * Updated Standards-Version to 3.9.1
2010-09-23 19:51:14 +02:00
Anthony Minessale d5239be751 fix package build 2010-09-17 18:10:26 -05:00
Mathieu Parent 53561eaa9a debian/freeswitch.init: don't start fresswitch before network 2010-08-30 08:39:19 +02:00
Rupa Schomaker 4c6a030a84 debian limit -> db/hash migration 2010-06-20 19:03:38 -05:00
Michael Jerris 988147a70b change build to use mod_spandsp instead of mod_fax and mod_voipcodecs 2010-05-31 09:57:44 -04:00
Mathieu Parent 1bfcc17e54 Skinny: add example dialplan and directory config 2010-05-18 14:47:36 +02:00
Mathieu Parent 90913b8e26 Debian: add new skinny conffiles 2010-04-21 08:18:24 +02:00
Mathieu Parent b5049a35d7 debian: install mod_skinny
Build tested on i386, amd64 and ppc.
2010-04-17 15:05:48 +02:00
Mathieu Parent 338d64181f debian: more cleaning
debian/control
- Section: comm
- Add Vcs-{Browser,Svn}
- Add Homepage
- Update Standards-Version
- Better Descriptions
- -dbg in debug, -dev in libdevel
- remove libc6 from builddeps as it is essential

debian/changelog:
- wrap to 80 columns (first entry only)

debian/rules:
- remove DH_COMPAT=4


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17123 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-27 22:37:48 +00:00
Mathieu Parent a4910fd7c4 debian: conffiles path should be absolute
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17120 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-27 18:21:45 +00:00