Commit Graph

388 Commits

Author SHA1 Message Date
Travis Cross a3786d528f Add mod_sndfile to debian freeswitch-meta-default
FS-5109 --resolve
2013-02-27 05:48:19 +00:00
Travis Cross 8ae24a7dfb Build portaudio modules for Debian sid and wheezy
These build as of FS-4265 being fixed.
2013-02-10 08:46:26 +00:00
Travis Cross 79a5709362 Add debian support for installing languages
Languages are installed at /usr/share/freeswitch/lang so that they can
be referred to by the user's configuration in /etc/freeswitch.  As a
Debian package user isn't going to have access to `make vm-sync` these
files need to be readily available somewhere.
2013-02-10 08:28:51 +00:00
Travis Cross f15ecbb8af Use -g3 rather than -ggdb3 for debian
On a GNU/Linux system -g3 and -ggdb3 should produce the same result
under gcc, but clang only recognizes -g3.
2013-02-10 06:20:46 +00:00
Travis Cross 42372e1914 Add mod_flite to debian meta packages 2013-02-10 02:49:55 +00:00
Travis Cross 860d2aca57 Make a note of commands that must be run as root 2013-01-17 21:02:41 +00:00
Travis Cross 6ec38f1ae5 Correct getopts invocation for build-all -m
Thanks-to: Philip Hands <phil@hands.com>
2013-01-17 20:50:35 +00:00
Travis Cross 8859eb0b23 debian: Move some init options to default/freeswitch
Thanks-to: Henning Holtschneider <henning@loca.net>

FS-4979 --resolve
2012-12-30 19:08:55 +00:00
Travis Cross 2df9d2e478 Remove the siren and ilbc code from the debian source package
The Siren code is non-free per DFSG, and the ILBC code is under
unclear licensing until we upgrade to the WebRTC version.
2012-12-19 17:55:47 +00:00
Travis Cross 0da6a6dd64 Add an AUTHORS file in debian/ so I can acknowledge contributors 2012-12-19 17:39:41 +00:00
Travis Cross c79509a367 Use /var/lib/freeswitch as home directory on Debian
Previously we were using /var/run/freeswitch.

Julian pointed out that someone may actually want to keep information
around in the home directory.  For Gemeinschaft they need to keep the
.odbc.ini file here.

Thanks-to: Julian Pawlowski <julian.pawlowski@gmail.com>
2012-12-18 17:43:04 +00:00
Philip Hands a4efd266a2 mostly done (apart from some dodgy non-licenses) 2012-12-17 21:32:17 +00:00
Philip Hands 1b0cada412 eliminate the last of license-reconcile's 'License mismatch' errors 2012-12-17 21:32:17 +00:00
Philip Hands 5deb31871a get rid of more license mismatches 2012-12-17 21:32:17 +00:00
Philip Hands bc15b751d6 drop some things made redundant by licensecheck patches 2012-12-17 21:32:17 +00:00
Philip Hands b96c157ba9 finish off apr/apr-util copyright info 2012-12-17 21:32:17 +00:00
Philip Hands 9d1c58c473 libs/libcodec2 copyrights done 2012-12-17 21:32:17 +00:00
Philip Hands 193fbb3ee5 libs/sqlite copyrights done 2012-12-17 21:32:17 +00:00
Philip Hands fef1baf448 sort out the openzap and some more of apr 2012-12-17 21:32:16 +00:00
Philip Hands 8961a72923 libs/freetdm copyright done 2012-12-17 21:32:16 +00:00
Philip Hands a908b2748c more updates after fixing some licensecheck bugs 2012-12-17 21:32:16 +00:00
Philip Hands b30086bcbc make a start on the debian/copyright file
Using this command to find errors in what we have
license-reconcile 2>&1 | grep -v "'\(\|HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\|OWNER\|ownership\|2, RSA Data Security, Inc. Created 1991. All\|statement and\|by\|HOLDERS BE LIABLE FOR ANY\|HOLDERS AND CONTRIBUTORS\|OWNER OR CONTRIBUTORS BE\|{\|holder nor the names of contributors\)'"
2012-12-17 21:32:16 +00:00
Anthony Minessale ab886cad30 FS-4931 --resolve ok, the binary also tries to make the dir but its probably failing from dropped perms. probably if the freeswitch user had write perms in /var/run it would also work 2012-12-13 10:09:25 -06:00
William King 703b2102c5 Adding debian core pg support 2012-12-07 12:17:19 -08:00
Travis Cross 443a8db1a5 Build mod_flite Debian package
FS-4263 --resolve
2012-11-12 19:58:30 +00:00
Travis Cross fa18764474 Build debian packages with -fPIC
By building globally with -fPIC we can get mod_flite to build.
2012-11-12 19:56:27 +00:00
Travis Cross a5acfa218c Help mod_h323 build on wheezy
libopenh323-dev is in squeeze and sid, but it doesn't look like it's
going to make it into wheezy at this point.

H323Plus claims to be a drop-in replacement, but this should probably
be tested thoroughly.

Note that mod_h323 is still in the avoid_mods list pending testing to
verify that it builds cleanly on each target.

Thanks-to: Steven Ayre <steveayre@gmail.com>

FS-4567 --resolve
2012-10-31 15:17:40 +00:00
Travis Cross 686a89a798 debian: Formatting fix 2012-10-03 02:15:51 +00:00
Michael Jerris d565fdece5 revert 6f9467992a 2012-09-24 15:35:35 -04:00
Travis Cross b8e3c1d524 debian: Add meta-sorbet and meta-all 2012-09-23 11:03:55 +00:00
Travis Cross 91a8356d4d debian: Add isac and vp8 to meta-codecs 2012-09-23 11:03:48 +00:00
Travis Cross 882e184a89 debian: Provide system FLAC/Ogg/Vorbis for mod_sndfile 2012-09-23 07:49:29 +00:00
Travis Cross df04ec4b12 debian: Enable mod_soundtouch 2012-09-23 07:49:28 +00:00
Travis Cross 2a665f4094 debian: Enable mod_html5 2012-09-23 07:49:28 +00:00
Travis Cross 0b0a916fde debian: Enable mod_sonar 2012-09-23 07:49:28 +00:00
Travis Cross 6f056ef767 debian: Enable mod_oreka 2012-09-23 07:49:27 +00:00
Travis Cross da5b0b3887 debian: Remove config for mod_fax 2012-09-23 07:49:27 +00:00
Travis Cross 6f9467992a Use the modest ClueCon nag for Debian builds 2012-09-23 07:49:26 +00:00
Travis Cross 53c24a93e0 debian: Add support for humanized version string 2012-09-23 07:49:21 +00:00
Travis Cross 5fd7643ab1 debian: style 2012-09-23 07:49:20 +00:00
Travis Cross d98bb16b3d debian: Ensure date is calculated in UTC 2012-09-23 04:13:29 +00:00
Travis Cross 1dd2e0f6b0 Avoid new modules in debian except mod_vp8 2012-09-20 06:48:38 +00:00
Travis Cross 45bda53361 Add new modules to debian packaging 2012-09-20 06:48:38 +00:00
Travis Cross 7b23b41508 Remove suggestion to use git-buildpackage 2012-09-04 14:57:29 +00:00
Travis Cross 38ae10ab03 Expand an unbound variable in docs 2012-09-04 14:56:01 +00:00
Travis Cross 2ad1f28295 Expand docs on debian packaging process 2012-09-04 14:53:34 +00:00
Travis Cross 360544ee7f Add sound/music debian packaging instructions
Tell people where to go to get the repository for building the
freeswitch-sounds-* and freeswitch-music-* Debian packages, as well as
what to read when they get there.
2012-08-20 08:18:02 +00:00
Travis Cross 9b79922a51 Retry updating base image
If updating the base image fails, retry a few times.  If that doesn't
work, simply move on; the update usually fails because Debian is
updating its mirrors; it's not important that we be absolutely up to
date.
2012-06-25 08:55:48 +00:00
Travis Cross f840eecdb8 debian: Add mechanism to specify modules.conf 2012-06-25 07:12:56 +00:00
Travis Cross 12efacb3c6 debian: Add mechanism to set C/C++ compiler 2012-06-24 08:49:59 +00:00
Travis Cross e38f0a1b02 debian: Correct alphabetization 2012-06-23 22:34:19 +00:00
Travis Cross f79a37a363 debian: Add option to use existing .orig.* file 2012-06-23 22:34:19 +00:00
Travis Cross d18a7ffa26 Bundle .version file with debian nightlies
This adds the .version file to nightlies produced with debian/util.sh.
2012-06-23 22:34:18 +00:00
Travis Cross b16821944e Harmonize debian nightly version with print_git_revision
Debian nightlies created with debian/util.sh now have the version set
in the same format as Makefile.am produces.  Unlike Makefile.am,
however, we show the orig packaging date rather than the date of the
latest commit, as the latter could legitimately regress and we need
this to always increment.
2012-06-23 22:34:18 +00:00
Travis Cross 992e05667c debian: put the build options in the right place 2012-06-02 17:30:48 +00:00
Travis Cross ed9ff6e375 debian: don't rebuild dsc files 2012-06-02 16:18:53 +00:00
Travis Cross c15613e065 debian: set variable outside fork 2012-06-02 16:09:39 +00:00
Travis Cross 337c9d4365 debian: output the correct name of the .changes file 2012-06-02 15:17:10 +00:00
Travis Cross 73b34cb373 debian: kill children if we exit unexpectedly 2012-06-02 05:19:19 +00:00
Travis Cross cf68dc731a debian: only build binary-indep packages once for each distro 2012-06-02 04:20:52 +00:00
Travis Cross ad2da59a6d debian: don't build mod_managed
It's broken too many of my recent builds.  We can add it back in when
things stabilize or perhaps after we get it to swig with a recent
version of swig that we can make part of the clean bootstrap/build
process.
2012-06-02 03:07:12 +00:00
Travis Cross f3c2180c52 add usage help to debian/util.sh 2012-06-02 01:10:11 +00:00
Travis Cross 4d8cdb3276 debian: don't depend on non-free codecs for meta-vanilla 2012-05-29 18:42:35 +00:00
Travis Cross 6679e3f589 debian: add option to run builds in parallel 2012-05-29 16:52:11 +00:00
Travis Cross 25287f3828 debian: add option to control make/bootstrap -j settings 2012-05-28 19:21:06 +00:00
Travis Cross 9f578ca440 debian: use bootstrap.sh -j
We believe it to be safe now.  In test run on multi-core machines it
is producing bit-for-bit identical result compared to the non-parallel
invocation.
2012-05-28 18:28:23 +00:00
Travis Cross b4816ae952 debian: place build results in ../ 2012-05-28 18:24:11 +00:00
Travis Cross a5d696d517 debian: ensure set -e behavior when run under build-all
build_all call each of these subroutines under a sub-shell, so the set
-e gets wiped out.
2012-05-28 18:22:13 +00:00
Travis Cross 2365f41fdc debian: add a build quicktest feature 2012-05-28 18:22:12 +00:00
Travis Cross d3cb703697 debian: force build output to stderr
Because we're capturing the string return value of these functions, we
can't see any output that goes to stdout.
2012-05-28 18:22:09 +00:00
Travis Cross 496b9a9c78 debian: add utility for building all distros and architectures 2012-05-28 18:21:35 +00:00
Travis Cross 40a98d4b49 debian: disable modules that break the build 2012-05-28 18:21:35 +00:00
Travis Cross 8fb3f54c15 debian: add option to create pbuilder debug hook 2012-05-28 18:21:30 +00:00
Travis Cross 139485855d debian: don't try to build non-dfsg modules 2012-05-28 18:20:43 +00:00
Travis Cross 0bab77bf96 debian: refactor and improve build utilities 2012-05-28 18:20:37 +00:00
Travis Cross 15a67097d8 debian: add utility for rolling nightly builds 2012-05-28 16:35:01 +00:00
Travis Cross 870ef6f83f debian: don't bundle sounds in orig tarball
We've moved the sounds to a separate source package.
2012-05-28 16:35:01 +00:00
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