Commit graph

444 commits

Author SHA1 Message Date
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
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