Commit Graph

419 Commits

Author SHA1 Message Date
Travis Cross bbe2531cb0 Avoid overaggressive chmod/chown on upgrade
It's reasonable for someone to change one or more of these directory
permissions after installation.  We shouldn't touch more than we need
on upgrade.  Each directory needs to be owned by the freeswitch user,
but past that we can leave discretion to the system administrator.
2014-09-10 07:32:19 +00:00
Ken Rice 6d6fc8c131 git.freeswitch.org is DEAD... Long Live git via http://stash.freeswitch.org 2014-09-10 07:31:51 +00:00
Brian West ae57b94f39 FS-6642 --resolve 2014-09-10 07:31:42 +00:00
Travis Cross 095e5028ce Create freeswitch-timezones debian package
This installs the timezone file such that configurations can reference
it rather than copying it.
2014-09-10 07:31:16 +00:00
William King df7bb2132d Change to ncwait so that the service start script will block until FS is actually started 2014-09-10 07:30:58 +00:00
Travis Cross 24ae878ac0 Override config on cowbuilder update
This allows new settings, e.g. new mirrors, to propagate into the
chroot images.
2014-06-11 01:07:08 +00:00
Travis Cross 5eb3a7ebb0 Retry for longer on failed cowbuilder operations
There's really nothing to do but retry.
2014-06-11 00:57:06 +00:00
Travis Cross 8f6a51015f 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:57:04 +00:00
Travis Cross f009fd47a1 Add note about the supported Debian release for building 2014-02-23 18:29:12 +00:00
Travis Cross 619dec2be2 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 18:29:12 +00:00
Travis Cross 9b5c8047b8 Reorganize sections in debian/README.source 2014-02-23 18:29:11 +00:00
Travis Cross 0030d073fe Clean up introduction 2014-02-23 18:29:11 +00:00
Travis Cross 3514e68c69 Update, organize, and improve debian/README.source 2014-02-23 18:29:10 +00:00
Travis Cross ab43ea1b35 Make debian/README files more markdown-like 2014-02-23 18:29:10 +00:00
Travis Cross ba91a8acaf Add description of util.h -l usage 2014-02-23 18:27:41 +00:00
Travis Cross 10a5b71ee7 Use -i to simplify debian/README.source 2014-02-23 18:27:41 +00:00
Travis Cross f7d5eba2ea 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:16:05 +00:00
Ken Rice 8dbad1172e copyright header update 2014-02-12 15:25:54 -06:00
Travis Cross 517c1b77ae Add some hardening to the debian build 2014-02-10 00:09:20 +00:00
Travis Cross 1b78cee611 Add support for setting custom LDFLAGS 2014-02-09 23:18:48 +00:00
Travis Cross 063545dfca Reorder build flags variables 2014-02-09 22:55:03 +00:00
Travis Cross 4985440032 Use simply-expanding variables for build flags 2014-02-09 22:54:00 +00:00
Travis Cross eff41a9336 Start DBs before FS if possible
Thanks-to: Humberto Diógenes <hdiogenes@gmail.com>
2014-01-30 14:13:26 +00:00
Travis Cross e30b6ff4c7 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:03:11 +00:00
Travis Cross 0da34180ee 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 07:09:32 +00:00
Travis Cross 3d3ad20673 Build debian packages verbosely 2014-01-20 00:32:42 +00:00
Travis Cross cab4fd4f77 Add convenience option for building a small subset of modules 2014-01-17 19:51:34 +00:00
Travis Cross 51f7c9d3e7 Add option to install build-deps needed by debian/util.sh 2014-01-17 19:51:33 +00:00
Travis Cross 4a2f5e9c0c Build mod_shout on Debian
...at least until mod_vlc stabilizes.
2014-01-17 09:59:02 +00:00
Travis Cross 1146476d03 Suggest vlc-dbg for mod_vlc
This helps to reason about any core dumps that come from libvlc /
mod_vlc.
2014-01-17 08:53:28 +00:00
Travis Cross 8e5933e92e 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:53:26 +00:00
Travis Cross c97e1a4456 Work around debian bootstrap parsing oddity 2014-01-14 23:47:55 +00:00
Travis Cross df58a75e0a Ignore src/mod/legacy in debian builds
FS-6110 --resolve
2014-01-14 22:56:16 +00:00
Travis Cross 49edc19e34 Refactor check in debian bootstrap 2014-01-14 22:56:15 +00:00
Travis Cross 7bcf5013f1 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:58:30 +00:00
Travis Cross 6968ef88fa 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:41 +00:00
Travis Cross 3ad333032b Fix freeswitch-all module provides/replaces/conflicts
We were generating freeswitch-mod-mod-* rather than freeswitch-mod-*.
2013-12-18 18:54:14 +00:00
Travis Cross 967673d6e2 Follow bump to opus lib version for debian packaging 2013-12-16 21:14:06 +00:00
Travis Cross b1288520bc Cleanup whitespace in debian/ 2013-12-10 03:54:05 +00:00
Travis Cross 5e344df304 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:25:02 +00:00
Travis Cross cff204e823 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:15:08 +00:00
Travis Cross 376eb4333b Generate modules_.conf earlier in bootstrap 2013-11-20 01:28:20 +00:00
Travis Cross f03145575f Refactor generation of debian/modules_.conf 2013-11-20 01:28:18 +00:00
Travis Cross a13c5005be Refactor out file merge function 2013-11-19 21:22:07 +00:00
Travis Cross 5c066e06b3 Follow update of soundtouch version 2013-11-15 18:45:32 +00:00
Travis Cross 7bbb0c62c9 Avoid building mod_java on sid for now
We're getting dependency errors that seem to be an upstream issue.
2013-11-09 01:13:13 +00:00
Travis Cross 44680b31d9 Install perl module files needed by mod_perl
FS-5892 --resolve
2013-10-19 19:55:13 +00:00
Travis Cross c4b2d79159 Limit version of packages we replace 2013-10-18 20:16:10 +00:00
Travis Cross f075d25819 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:53:15 +00:00
Marc Olivier Chouinard f8abd0cc1d Fix bootstrap from the removal of mod_html5 in previous commit and cleanup some other reference to it 2013-10-16 19:49:55 +00:00