Commit Graph

506 Commits

Author SHA1 Message Date
Travis Cross 50625e36ee Build mod_verto for debian packaging
We still need to add special handling for the perl bits.
2014-06-17 17:35:08 +00:00
Travis Cross 779a2f4ad5 Add dependency on libperl-dev for mod_verto 2014-06-17 14:42:15 +00:00
Travis Cross 990847638c Pull mod_verto from debian packaging temporarily
`make install` on mod_verto needs to be reworked a bit for packaging
builds.
2014-06-17 03:01:06 +00:00
Travis Cross 7b974def21 Add back mod_perl to debian build
The build issues blocking its return appear to have been resolved.
2014-06-16 20:43:02 +00:00
Travis Cross 062b7f16c2 Add mod_rtc and mod_verto 2014-06-16 20:39:49 +00:00
Travis Cross 4d5153cdd2 Fix ordering in control-modules 2014-06-16 20:39:49 +00:00
Travis Cross 4ccdc1def3 Override config on cowbuilder update
This allows new settings, e.g. new mirrors, to propagate into the
chroot images.
2014-06-11 01:05:36 +00:00
Travis Cross afb4a20090 Retry for longer on failed cowbuilder operations
There's really nothing to do but retry.
2014-06-11 00:55:06 +00:00
Travis Cross 8a4a8f6fb8 Retry the cowbuilder create operation on failure
Sometimes while the debian repositories are updating there are
sporadic signature failures.  It's annoying to have these break the
build, and the only thing to do is to retry, so we'll retry here
automatically.  We were already retrying on the update operation that
can fail in a similar manner.
2014-06-11 00:52:12 +00:00
Travis Cross 92843d0b75 Add mod_graylog2 to debian packaging 2014-05-24 08:56:20 +00:00
Travis Cross ab3e95569c Drop mod_java from jessie build
Right now mod_java fails to build on sid and jessie.  We have a
possible solution, but we'll just disable the build of the module
while we test and verify.
2014-05-22 18:30:39 +00:00
Travis Cross 15766d349d Drop mod_ldap from sid/jessie build
Ken noticed a build error.  We need to use the system ldap library
anyway, so we'll just drop mod_ldap here until we make that change.
2014-05-22 18:24:32 +00:00
Michael Jerris d6fe10979d remove opezap from tree, it has been replaced by freetdm 2014-05-06 11:05:54 -04:00
Travis Cross cd650f6055 Use system ldns library
This library is used only by mod_enum and is available on most
platforms.  The version in our tree has many code quality problems
that are generating noise when doing static analysis.  Suffice it to
say we want rid of it as our responsibility.

FS-353
2014-05-01 22:01:59 +00:00
Travis Cross f408dae2af Drop pinned memcached file download from debian 2014-04-19 06:29:24 +00:00
Travis Cross a60fa6703e Depend on system libmemcached-dev on Debian 2014-04-11 22:58:43 +00:00
Travis Cross 8f3ee29c23 Reenable mod_v8 in debian package builds
The relevant v8 build issues are believed to be worked out at this
point.
2014-04-07 17:37:41 +00:00
Travis Cross 03b08e778e Add mod_basic to debian/ 2014-04-05 04:33:01 +00:00
Travis Cross f9d065cda3 Use system libyaml for mod_yaml
FS-353
2014-03-26 19:27:22 +00:00
Travis Cross b54ba38255 Follow mod_spidermonkey deprecation in debian/
It wasn't supported, and we weren't building it by default as it was.
2014-03-26 18:17:16 +00:00
Travis Cross cde20f6fe6 Require sqlite as a system dependency
This purges sqlite from our tree and requires it to be present on the
system for building and running FreeSWITCH.

FS-353
2014-03-24 12:54:49 +00:00
James Le Cuirot 8574988c3a Completely unbundle libedit
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-24 12:39:59 +00:00
Peter Olsson c8fa0f0c4b mod_v8: Use parallel build by default. Use configure flag "--disable-parallel-build-v8" to disable it. It's disabled by default for Debian build scripts, since parallel build has some issues with cowbuilder. 2014-03-23 09:25:41 +01:00
Travis Cross 6261e5ae48 Drop mod_v8 from debian build for now
This is currently breaking the build.  We'll get that fixed and add
mod_v8 back in after things slow down.
2014-03-22 05:07:27 +00:00
Travis Cross 1470622292 Require libcurl as a system dependency
This purges libcurl from our tree and requires it to be present on the
system for building and running FreeSWITCH.

FS-353
2014-03-20 21:15:29 +00:00
Travis Cross 54cd0df33a Support change to system libspeex in debian 2014-03-20 15:28:26 +00:00
James Le Cuirot b283db6319 Completely unbundle speex
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-20 15:28:25 +00:00
Travis Cross 4c0e1798d5 Support change to system libpcre in debian 2014-03-20 15:28:24 +00:00
James Le Cuirot e85f06ee2f Completely unbundle pcre
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-20 15:28:23 +00:00
Travis Cross 90404d5889 Purge mod_voipcodecs from debian/control-modules 2014-03-20 03:33:05 +00:00
Travis Cross cba9af4e61 Drop mod_perl from the debian build temporarily
We'll add this back when the build issues with it get worked out.
See FS-6385.
2014-03-20 02:30:53 +00:00
Travis Cross 046df6be67 Export V=1 for debian builds
Now that we're using AM_SILENT_RULES this needs to be set so we can
see what's going on in our build logs.
2014-03-19 21:07:21 +00:00
Travis Cross 83125dada5 Follow rename to configure.ac in debian/ 2014-03-19 19:12:25 +00:00
Travis Cross fb2c587249 Add debian build-deps for mod_opal 2014-03-19 00:48:10 +00:00
Travis Cross f8368ec835 Remove dead mod_voipcodecs from debian excludes
Mike removed mod_voipcodecs from tree in commit
bcd9f49fbe.

We'd long since replaced mod_voipcodecs with mod_spandsp.
2014-03-18 23:02:24 +00:00
Michael Jerris 1c5e61447b move libs/stfu into the core, as it is not really a lib 2014-03-17 09:44:14 -04:00
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