Commit Graph

186 Commits

Author SHA1 Message Date
William King 1eec06bd85 FS-8576 resolving issue where fonts and images were installed in all of the conf packages. 2015-11-25 16:04:45 -08:00
William King 58c267bf96 FS-8152 package the image directories too 2015-11-25 14:20:53 -08:00
William King 8012a5b72b Revert "FS-8530 add codecs/mod_sangoma_codec to avoid_mods in debian/bootstrap.sh"
This reverts commit 8a16ed1a49.
2015-11-11 14:07:50 -08:00
Stanislav Sinyagin 8a16ed1a49 FS-8530 add codecs/mod_sangoma_codec to avoid_mods in debian/bootstrap.sh 2015-11-11 21:59:01 +00:00
Tyler Cross 21a79e3fbb FS-8398: Added event_handlers/mod_amqp to avoided modules for Ubuntu 14.04 Trusty
This change makes it so that event_handlers/mod_amqp is avoided when building
debian packages for Ubuntu 14.04 (Trusty). If this module is packaged there is
a dependency issue related to the rabbitmq libraries.

Avoiding the module was the simplest solution to achieve debian packaging on the
Ubuntu 14.04 OS.
2015-10-29 14:17:59 -06:00
William King ffe671f7d6 FS-8362 #resolve Now if you install with freeswitch-all you will get the default fonts too 2015-10-20 11:21:56 -07:00
Stanislav Sinyagin 77f52bb6a8 FS-7928 FS-7618 systemd and package build improvements
debian/bootstrap.sh:
 * only build one of freeswitch-sysvinit or freeswitch-systemd
 * squeeze is removed from supported releases
 * added stretch to supported releases
 * avoid_mods_wheezy extended to modules which fail to build on wheezy
 * use systemd by default for future distros
 * new command-line option -v to enforce sysvinit
 * added dependency on dh-systemd for systemd-powered distros
 * freeswitch-init is now a virtual package
 * freeswitch-sysvinit and freeswitch-systemd are set to conflict with each other

debian/freeswitch.postinst:
 * no need to call systemctl explicitly. dh-systemd does it in a standard way

debian/rules:
 * integrated dh-systemd in override_dh_installinit

debian/freeswitch-systemd.freeswitch.default renamed to
freeswitch-sysvinit.freeswitch.default:
 * /etc/default/freeswitch is not installed by freeswitch-systemd, but still
   respected if there is a need to modify the startup options

debian/freeswitch-systemd.freeswitch.service:
 * proper expansion of DAEMON_OPTS
2015-10-13 22:36:37 +02:00
Stanislav Sinyagin b2bcc8b2dd FS-8194 FS-7910 FS-7937 systemd service improvements
freeswitch-systemd.freeswitch.service:
* starting the daemon as root and switchig to freeswitch user
* respecting the options in /etc/default/freeswitch
* RuntimeDirectory parameter is replaced with a tmpfiles.d entry
  because /run/freeswitch has to be owned by freeswitch user
* instructions how to start it as non-root

debian/freeswitch-systemd.freeswitch.tmpfile:
* this defines the PID directory with correct permissions

debian/bootstrap.sh, debian/rules:
* proper handling of freeswitch.service
* deleted debian/freeswitch-systemd.install because it caused an error
  in dh_install because it's run before dh_installinit
* renamed: freeswitch-sysvinit.freeswitch.default -> freeswitch-systemd.freeswitch.default
  because sysvinit support will eventually die out

debian/freeswitch.postinst:
* run "systemctl enable freeswitch" if systemctl is available

CAVEAT: only one option is supported in /etc/default/freeswitch because the
variable ${DAEMON_OPTS} is expanded as a single token. This will be fixed
as soon as freeswitch-sysvinit is removed from freeswitch-all.
2015-10-10 16:08:11 +02:00
Travis Cross 9f99b12e76 Fix debian/bootstrap.sh from whitespace error
Commit e5d247d (packaging python-esl) added trailing whitespace to the
package definition.  Our trivial parser in the bootstrap script is
sensitive to this, so the change rather broke debian/bootstrap.sh.

This fixes commit e5d247df29.
2015-09-15 22:04:19 +00:00
Ken Rice e3e8c99567 FS-8072 #resolve fix a missed space 2015-09-09 10:34:01 -05:00
William King f769c692d1 FS-7168 update Debian packages so that FS core libraries are setup as runtime deps 2015-09-08 11:58:28 -07:00
Stanislav Sinyagin a083b881f3 debian/bootstrap.sh: excluded few modules that fail to compile
applications/mod_mp4v2
codecs/mod_openh264
event_handlers/mod_smpp
formats/mod_webm
2015-08-24 08:52:44 -04:00
Federico Castro e5d247df29 FS-6972 Packaging a version of the python ESL wrapper for python. 2015-08-21 10:27:59 -03:00
Luis Azedo eaf6430e0d FS-7776 #resolve add mod_kazoo to build system 2015-07-06 23:13:00 +01:00
William King 19de3b0f81 FS-7605 now depends on libyuv and libvpx properly 2015-06-17 19:07:39 -07:00
William King 601a1e8c1a FS-7609 enable building of mod_sangoma_codec 2015-06-16 13:42:30 -07:00
William King 7432620bee FS-7338 adding debian packaging for several new modules, as well as handle system lib change for a handful of modules 2015-06-12 15:45:09 -07:00
Ken Rice 02a0a2a068 FS-7607 #resolve #comment Update URLs to reflect https protocol on freeswitch.org websites and update additional URLs to avoid 301 redirects. 2015-06-03 15:23:40 -05:00
William King 69d4e1d53a FS-7426 shouuld not be disabled on all, only squeeze and wheezy 2015-06-01 17:51:15 -07:00
Michael Jerris d376150e0e FS-7488: [mod_managed] fix build error and enable on debina packages 2015-05-28 12:47:26 -05:00
Michael Jerris 91a6fc82c0 FS-7338: remove libsndfile from tree, use system lib instead
FS-7338: remove libsilk from tree, use system lib instead
FS-7338: change to always use system liblua
FS-7338: remove libbroadvoice from tree, use system lib instead
FS-7338: remove libilbc from tree, use system lib instead
FS-7338: remove libs using system libs from bootstrap
FS-7338: remove libg722_1 from tree, use system lib instead
FS-7338: remove mod_celt, it has be superseded by mod_opus
FS-7338: remove libcodec2 from tree, use system lib instead
FS-7338: remove libopus from tree, use system lib instead
FS-7338: remove libsoundtouch build from tree, use system lib instead
FS-7338: remove flite build from tree, use system lib instead
FS-7338: remove openldap build from tree, use system lib instead
FS-7338: remove libmongoc build from tree, use system lib instead
FS-7338: remove mod_mongo deps that are no longer actually required
FS-7338: remove some dup demo modules and don't include demo code in packages
2015-05-28 12:47:24 -05:00
William King 39728a9888 FS-7426 fix the debian packaging for wheezy when the newer librabbitmq1 package isn't installed 2015-04-10 09:07:08 -07:00
Markus Lindenberg 5c5b9fcd21 If available, use libjpeg-turbo in Debian build dependencies
Debian is transitioning to libjepg-turbo in Jessie.

See the libjpeg-turbo transition plan for details:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754988

FS-7151 #resolve
2015-01-15 09:21:32 +01:00
Travis Cross 0330b6fa6d Adjust code style of recent changes 2014-12-25 04:01:10 +00:00
Steven Ayre d9872d5cb7 FS-7019 build error on utopic (lber_types.h: No such file or directory) 2014-11-21 17:57:04 +00:00
Steven Ayre 1f1103143d FS-7019 add support for building on ubuntu trusty and utopic 2014-11-21 17:56:57 +00:00
Travis Cross 7b38b4f86b Avoid mod_shout on sid/jessie for now
On sid the build breaks on "undefined reference to symbol
'ogg_sync_init'".  We'll just avoid mod_shout on sid/jessie until this
is worked out.
2014-11-12 19:07:54 +00:00
Travis Cross 9bf834fe58 Handle debian's libtool-bin change
The libtool binary used to be contained in the libtool package.  As of
current sid/jessie the libtool package contains everything about
libtool but the libtool binary, and we need to install libtool-bin to
get the libtool binary itself.  Which is to say that Debian decided to
make the libtool package architecture-independent.

Without this commit the FS debian packaging will not build/bootstrap
on sid/jessie.
2014-10-30 00:25:43 +00:00
Travis Cross 63734bcde0 Add debian build option to include avoided modules
This is a convenience option that can be passed to either
debian/bootstrap.sh or to debian/util.sh to include a module in the
build that would normally be excluded.  This option, -p, can be passed
multiple times.
2014-10-08 20:45:20 +00:00
Michael Jerris e02e41a5c1 don't package mod_cluechoo and don't build/load by default 2014-09-23 18:10:01 -04:00
Travis Cross eb7200bbe5 Avoid mod_java on Debian wheezy
We're already avoiding it on sid and jessie; now we're hitting build
failures with it on wheezy.

ref: FS-6811
2014-09-09 16:25:17 +00:00
Ken Rice 8d11e8abb1 git.freeswitch.org is DEAD... Long Live git via http://stash.freeswitch.org 2014-07-15 17:34:16 -05:00
Travis Cross af4f1045b8 Create freeswitch-timezones debian package
This installs the timezone file such that configurations can reference
it rather than copying it.
2014-06-24 00:39:14 +00:00
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 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 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
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 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
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 54cd0df33a Support change to system libspeex in debian 2014-03-20 15:28:26 +00:00
Travis Cross 4c0e1798d5 Support change to system libpcre in debian 2014-03-20 15:28:24 +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 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
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 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
Travis Cross 3c4ef16c4c Build mod_shout on Debian
...at least until mod_vlc stabilizes.
2014-01-17 09:58:39 +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
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 8099af6564 Cleanup whitespace in debian/ 2013-12-10 03:53:17 +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 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 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 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 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 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 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 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 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 42372e1914 Add mod_flite to debian meta packages 2013-02-10 02:49:55 +00: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 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 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 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 1dd2e0f6b0 Avoid new modules in debian except mod_vp8 2012-09-20 06:48:38 +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 4d8cdb3276 debian: don't depend on non-free codecs for meta-vanilla 2012-05-29 18:42:35 +00:00
Travis Cross 40a98d4b49 debian: disable modules that break the build 2012-05-28 18:21:35 +00:00
Travis Cross 139485855d debian: don't try to build non-dfsg modules 2012-05-28 18:20:43 +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 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 117582adca debian: match empty as well as unset section variable 2012-05-13 20:54:32 +00:00
Travis Cross a7151174e2 debian: support per-module section headers 2012-05-12 20:52:58 +00:00
Travis Cross fb749c611f debian: enable mod_portaudio and mod_portaudio_stream 2012-05-12 18:23:34 +00:00
Travis Cross d113dbd27a debian: enable mod_yaml 2012-05-12 18:23:34 +00:00