Commit Graph

470 Commits

Author SHA1 Message Date
Travis Cross 75c5c9807f Build-depend on libcurl-dev in debian
Because FS will build against the system libcurl if it's there, this
results in us building against the system library.
2014-03-12 21:29:46 +00:00
Travis Cross 6c71125359 Add note about the supported Debian release for building 2014-02-23 22:39:16 +00:00
Travis Cross 24179a4d7f Describe workaround in Debian/README.source
Pre-jessie versions of Debian's mk-build-deps tool rely on libraries
that do not correctly parse debian/control, so we have to clip it down
to a smaller subset of the format to build on e.g. wheezy.
2014-02-23 22:39:16 +00:00
Travis Cross 110677eea6 Reorganize sections in debian/README.source 2014-02-23 22:39:16 +00:00
Travis Cross e72e4a7b72 Clean up introduction 2014-02-23 22:39:16 +00:00
Travis Cross 771949b30e Update, organize, and improve debian/README.source 2014-02-23 22:39:15 +00:00
Travis Cross b202d35094 Make debian/README files more markdown-like 2014-02-23 22:39:15 +00:00
Travis Cross 9a0032e9b7 Exit non-zero from build-all on any build failure
./debian/util.sh build-all will do a number of builds in sequence or
parallel.  We now track if any of those builds fail to return a
.changes file and exit non-zero.
2014-02-18 21:05:12 +00:00
Travis Cross edf294cdf1 Correct alphabetization 2014-02-18 20:48:28 +00:00
Travis Cross e16b9c11a2 Add core build-dep on libogg-dev for speex 2014-02-18 20:47:32 +00:00
Travis Cross 1c61d88d51 Drop mod_speex from debian/
Speex is in the core, so Tony dropped the module.
2014-02-18 20:38:25 +00:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Travis Cross db0c3ab403 Add some hardening to the debian build 2014-02-09 23:51:42 +00:00
Travis Cross 0c41db9fb1 Add support for setting custom LDFLAGS 2014-02-09 23:49:29 +00:00
Travis Cross 4106471020 Reorder build flags variables 2014-02-09 23:49:29 +00:00
Travis Cross 78be57fb98 Use simply-expanding variables for build flags 2014-02-09 23:49:29 +00:00
Peter Olsson 9059fb91cc FS-5045 2014-02-02 12:33:37 +01:00
Travis Cross 3cad316804 Drop default support for squeeze 2014-02-01 15:03:52 +00:00
Travis Cross e0b1dcdfc3 Start DBs before FS if possible
Thanks-to: Humberto Diógenes <hdiogenes@gmail.com>
2014-01-30 14:12:45 +00:00
Travis Cross e959933d8c Fix mod_cluechoo error on load
mod_cluechoo needs to be linked against ncurses or we receive an error
about undefined symbols when loading the module.  How did this ever
work?

Thanks-to: Dušan Dragić <dragic.dusan@gmail.com>

FS-5965
2014-01-26 18:02:22 +00:00
Travis Cross e364450a57 Add util option to customize suite names
This lets us set the suite name in the changelog file to
e.g. sid-experimental.  This way we can share a single debian repo URL
for all versions, but make sure that incoming files are directed to
the correct distro.
2014-01-21 05:18:18 +00:00
Peter Olsson 2e32d10503 mod_v8: Added configure flag --enable-static-v8 to enable static linking of the V8 lib. Also enabled this flag for the Debian packaging system. Please note the static linking has only been verified on Linux so far 2014-01-20 11:33:38 +01:00
Travis Cross 9501911964 Build debian packages verbosely 2014-01-20 00:31:25 +00:00
Travis Cross edad7443a4 Add description of util.h -l usage 2014-01-17 20:06:14 +00:00
Travis Cross 6b8c3d6e56 Use -i to simplify debian/README.source 2014-01-17 20:03:39 +00:00
Travis Cross 671fc3bc4e Add convenience option for building a small subset of modules 2014-01-17 19:30:49 +00:00
Travis Cross 383b77a1f0 Add option to install build-deps needed by debian/util.sh 2014-01-17 19:24:13 +00:00
Travis Cross 3c4ef16c4c Build mod_shout on Debian
...at least until mod_vlc stabilizes.
2014-01-17 09:58:39 +00:00
Travis Cross ec9bed1b94 Suggest vlc-dbg for mod_vlc
This helps to reason about any core dumps that come from libvlc /
mod_vlc.
2014-01-17 08:52:14 +00:00
Travis Cross 0f9a70324f Depend on vlc-nox for mod_vlc
mod_vlc needs the plugins from vlc-nox to do anything useful.

Currently mod_vlc segfaults without the plugins.  Even after that is
fixed, however, without any plugins mod_vlc can't do its job, so we'll
set a hard dependency here.  I could probably be talked into making
this a Recommends rather than Depends.

FS-6124
2014-01-17 08:52:13 +00:00
Travis Cross 657b0377ef Work around debian bootstrap parsing oddity 2014-01-14 23:47:31 +00:00
Travis Cross 824e174af8 Add mod_v8 to control-modules 2014-01-14 22:58:02 +00:00
Travis Cross 2e88503602 Ignore src/mod/legacy in debian builds
FS-6110 --resolve
2014-01-14 22:55:28 +00:00
Travis Cross 1b382ea0f2 Refactor check in debian bootstrap 2014-01-14 22:34:46 +00:00
Peter Olsson b762332669 Initial commit of mod_v8 2014-01-14 15:38:41 +01:00
Travis Cross e6ec1478ef Fix dependency of freeswitch-all-dbg
Previously we were trying to rely on freeswitch-all providing
freeswitch, but that doesn't seem to work as expected.
2014-01-04 19:57:25 +00:00
Travis Cross 8d1c1a5bb9 Treat freeswitch-{sounds,music} as virtual packages only
Previously we were creating freeswitch-music, freeswitch-sounds,
freeswitch-sounds-en, and freeswitch-sounds-en-us metapackages and
also providing those names as virtual packages from the
freeswitch-{sounds,music} source packages.  This is unnecessarily
confusing and meant that freeswitch-all wasn't depending on any sounds
in actuality as it was also providing freeswitch-sounds.
2013-12-18 19:51:12 +00:00
Travis Cross 763bc8cfde Fix freeswitch-all module provides/replaces/conflicts
We were generating freeswitch-mod-mod-* rather than freeswitch-mod-*.
2013-12-18 18:54:35 +00:00
Travis Cross f2f1c38fe4 Follow bump to opus lib version for debian packaging 2013-12-16 21:13:34 +00:00
Travis Cross 8099af6564 Cleanup whitespace in debian/ 2013-12-10 03:53:17 +00:00
Travis Cross 9caae64f37 Correct shlibs of freeswitch-all wrt libfreeswitch1
The freeswitch-all package provides libfreeswitch1, so any
shlibs-generated dependency should be for libfreeswitch1 rather than
freeswitch-all.

Because dh_shlibdeps / dpkg-shlibdeps searches for shlibs files in
debian/*/DEBIAN/ it was sometimes using freeswitch-all rather than
libfreeswitch1 to satisfy dependencies for freeswitch.so.1.

FS-6029 --resolve
2013-12-09 09:22:49 +00:00
Travis Cross f148aa9c3b Improve upgrade path to freeswitch-all
That is to say, declare all appropriate Provides/Conflicts/Replaces
for freeswitch-all and freeswitch-all-dbg by enumerating the binary
packages that we're going to produce during the build.

Conflicts is more appropriate than Breaks here as both packages will
continue to provide the same files on an ongoing basis and we would
like to force the removal of the other package.
2013-12-08 15:13:14 +00:00
Travis Cross 7a77d2f3fe Generate modules_.conf earlier in bootstrap 2013-11-20 01:27:43 +00:00
Travis Cross 9268f24031 Refactor generation of debian/modules_.conf 2013-11-20 01:27:43 +00:00
Travis Cross 75481f6398 Refactor out file merge function 2013-11-19 21:20:10 +00:00
Travis Cross e525dc38ba Follow update of soundtouch version 2013-11-15 18:44:48 +00:00
Travis Cross 0af078b6a9 Avoid building mod_java on sid for now
We're getting dependency errors that seem to be an upstream issue.
2013-11-09 01:12:43 +00:00
Travis Cross aa2380a04c Install perl module files needed by mod_perl
FS-5892 --resolve
2013-10-19 19:55:22 +00:00
Travis Cross 8ea0bc73a9 Limit version of packages we replace 2013-10-18 20:15:53 +00:00
Travis Cross 37648ced3e Add freeswitch-all debian package
This package bundles all modules and extras into a single DEB.  This
can have some advantages in terms of convenience and speed of apt
operations.
2013-10-18 19:52:16 +00:00
Travis Cross 968ac08305 Add mod_format_cdr to Debian packaging 2013-10-15 12:12:34 +00:00
Travis Cross 5fd0255523 Force preference on ssmtp if no MTA is installed
FS-5872 --resolve
2013-10-12 17:59:22 +00:00
Marc Olivier Chouinard dffe48aaec Fix bootstrap from the removal of mod_html5 in previous commit and cleanup some other reference to it 2013-09-16 22:00:35 -04:00
Ken Rice a84610b3b0 update opus tarball rev 2013-09-10 12:15:46 -05:00
Travis Cross 050a975d19 Add dependency from mod_rayo to mod_ssml 2013-09-10 15:35:11 +00:00
Travis Cross 03dcbde8b4 debian: Add additional module files for mod_spidermonkey
Note that we don't actually support building mod_spidermonkey for
Debian at the moment.

FS-4552
2013-07-26 22:28:49 +00:00
Travis Cross b35869da62 debian: Handle mod_managed .dll more idiomatically 2013-07-26 21:56:07 +00:00
Travis Cross d0a9574fa9 debian: Include the .dll file for mod_managed
Note that we don't actually support building mod_managed at this time
for Debian.

FS-5317 --resolve

Thanks-to: Artur Kraev <ravenox@gmail.com>
2013-07-26 21:47:31 +00:00
Travis Cross fa174ec3d8 Fix spacing 2013-07-03 16:07:41 +00:00
Travis Cross 87360a384d Tweak such that control-modules.gen matches 2013-07-03 04:26:37 +00:00
Travis Cross dfd647de22 Add mod_ssml to Debian packaging 2013-07-03 04:26:31 +00:00
Travis Cross 40b08d7f89 Add mod_rayo to debian packaging 2013-07-03 04:26:24 +00:00
Travis Cross 90683e3332 Check for config before starting
...so we can tell people what to do and where to look.
2013-06-16 14:21:44 +00:00
Travis Cross 1784663d35 Use --with-storagedir in Debian build 2013-06-06 17:34:03 +00:00
Travis Cross d40f59e795 Set mod_voicemail to depend on mail-transport-agent
Without this dependency we might not end up with sendmail installed
which would be unnecessarily surprising when using mod_voicemail.
2013-06-03 09:29:52 +00:00
Travis Cross 9ae26ff50d Have modules depend on a particular version of libfreeswitch1
At this point we never want someone running a module against a
different version of FS than the module was built for.  It's also
conceivable that you could want to use the modules with libfreeswitch1
even if you weren't running FS itself.
2013-06-03 06:14:02 +00:00
Travis Cross 26d5a6eb33 Remove redundant orig file purifying step
We kill these files with .gitattributes.
2013-05-28 23:52:46 +00:00
Travis Cross 0a50536aa8 Add generic mechanism for building non-DFSG packages 2013-05-28 23:52:41 +00:00
Travis Cross aa7c4d1f75 debian: Update -meta-all to grab all packages
We now build unimrcp, portaudio, portaudio-stream, skypopen, b64, and
dahdi-codec, so they should be included in meta-all.  Also refactor a
bit so we install all lang and mod_say packages as well.
2013-05-28 07:29:31 +00:00
Travis Cross 10bede7416 Fix typo 2013-05-26 04:55:36 +00:00
Travis Cross 4448d6b743 debian: wheezy is the new stable
And jessie is the new testing.

The king is dead, long live the king!
2013-05-25 19:05:35 +00:00
Travis Cross b755c8347b Add mod_say_pl to debian build 2013-05-21 02:33:56 +00:00
Travis Cross 7845e3244f Add mod_translate to debian packaging 2013-04-23 10:29:31 +00:00
Travis Cross 8ae26362e4 Show CPPFLAGS from debian/rules 2013-04-23 10:25:29 +00:00
Travis Cross b6ca76e443 Fix quoting issue in debian/rules
This amends commit f93c3f70bf
2013-04-23 10:13:01 +00:00
Travis Cross f93c3f70bf Set compiled-in storage_dir and certs_dir defaults for Debian 2013-04-21 16:44:43 +00:00
Travis Cross f3dd5849b5 Fix debian lang-* recommends on sounds-*
Thanks to Richard Neese for pointing out the erroneous results.
2013-04-09 15:38:09 +00:00
Travis Cross 511b2fc49a Add mod_b64 to debian packaging
Base64 in high definition!
2013-04-01 16:38:23 +00:00
Travis Cross 300306232a Tighten suggested debian build constraints a bit 2013-03-29 22:13:26 +00:00
Travis Cross c8df04fc4b Allow setting compression level for dpkg-source
Apparently the Raspberry Pi blows up (out of memory) if you call
dpkg-source -z9 as it implicitly calls xz -9.  Thanks to Ken Rice for
running headlong into this.

Also note that while xz takes -0, dpkg-source won't take -z0, so we
check for this and make sure we call dpkg-source correctly.
2013-03-21 21:00:27 +00:00
Travis Cross 3990289342 Build-depend on libasound2-dev for mod_portaudio
Ken thinks this may have been needed to get mod_portaudio to work for
him.
2013-03-20 18:43:50 +00:00
Travis Cross ee74254409 Improve instructions for Debian util.sh build
These instructions comprise everything needed to build the Debian
packages from a virgin Debian image.
2013-03-11 17:10:52 +00:00
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