Commit Graph

660 Commits

Author SHA1 Message Date
Brian West bee0a19f08 FS-6642 --resolve 2014-07-11 11:04:08 -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
William King 985ce5729b Change to ncwait so that the service start script will block until FS is actually started 2014-06-23 10:03:53 -05:00
Anthony Minessale 918c68accf -rp is not an ok default option it should not be used in normal circumstances it forces an unsafe environment with realtime threads on single cpu systems. Real time mode will enable by default on systems with enough cpus 2014-06-21 21:42:46 +05: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 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
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
Travis Cross 38ae10ab03 Expand an unbound variable in docs 2012-09-04 14:56:01 +00:00
Travis Cross 2ad1f28295 Expand docs on debian packaging process 2012-09-04 14:53:34 +00:00
Travis Cross 360544ee7f Add sound/music debian packaging instructions
Tell people where to go to get the repository for building the
freeswitch-sounds-* and freeswitch-music-* Debian packages, as well as
what to read when they get there.
2012-08-20 08:18:02 +00:00
Travis Cross 9b79922a51 Retry updating base image
If updating the base image fails, retry a few times.  If that doesn't
work, simply move on; the update usually fails because Debian is
updating its mirrors; it's not important that we be absolutely up to
date.
2012-06-25 08:55:48 +00:00
Travis Cross f840eecdb8 debian: Add mechanism to specify modules.conf 2012-06-25 07:12:56 +00:00
Travis Cross 12efacb3c6 debian: Add mechanism to set C/C++ compiler 2012-06-24 08:49:59 +00:00
Travis Cross e38f0a1b02 debian: Correct alphabetization 2012-06-23 22:34:19 +00:00
Travis Cross f79a37a363 debian: Add option to use existing .orig.* file 2012-06-23 22:34:19 +00:00
Travis Cross d18a7ffa26 Bundle .version file with debian nightlies
This adds the .version file to nightlies produced with debian/util.sh.
2012-06-23 22:34:18 +00:00
Travis Cross b16821944e Harmonize debian nightly version with print_git_revision
Debian nightlies created with debian/util.sh now have the version set
in the same format as Makefile.am produces.  Unlike Makefile.am,
however, we show the orig packaging date rather than the date of the
latest commit, as the latter could legitimately regress and we need
this to always increment.
2012-06-23 22:34:18 +00:00
Travis Cross 992e05667c debian: put the build options in the right place 2012-06-02 17:30:48 +00:00
Travis Cross ed9ff6e375 debian: don't rebuild dsc files 2012-06-02 16:18:53 +00:00
Travis Cross c15613e065 debian: set variable outside fork 2012-06-02 16:09:39 +00:00
Travis Cross 337c9d4365 debian: output the correct name of the .changes file 2012-06-02 15:17:10 +00:00
Travis Cross 73b34cb373 debian: kill children if we exit unexpectedly 2012-06-02 05:19:19 +00:00
Travis Cross cf68dc731a debian: only build binary-indep packages once for each distro 2012-06-02 04:20:52 +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 f3c2180c52 add usage help to debian/util.sh 2012-06-02 01:10:11 +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 6679e3f589 debian: add option to run builds in parallel 2012-05-29 16:52:11 +00:00
Travis Cross 25287f3828 debian: add option to control make/bootstrap -j settings 2012-05-28 19:21:06 +00:00
Travis Cross 9f578ca440 debian: use bootstrap.sh -j
We believe it to be safe now.  In test run on multi-core machines it
is producing bit-for-bit identical result compared to the non-parallel
invocation.
2012-05-28 18:28:23 +00:00
Travis Cross b4816ae952 debian: place build results in ../ 2012-05-28 18:24:11 +00:00
Travis Cross a5d696d517 debian: ensure set -e behavior when run under build-all
build_all call each of these subroutines under a sub-shell, so the set
-e gets wiped out.
2012-05-28 18:22:13 +00:00
Travis Cross 2365f41fdc debian: add a build quicktest feature 2012-05-28 18:22:12 +00:00
Travis Cross d3cb703697 debian: force build output to stderr
Because we're capturing the string return value of these functions, we
can't see any output that goes to stdout.
2012-05-28 18:22:09 +00:00
Travis Cross 496b9a9c78 debian: add utility for building all distros and architectures 2012-05-28 18:21:35 +00:00
Travis Cross 40a98d4b49 debian: disable modules that break the build 2012-05-28 18:21:35 +00:00
Travis Cross 8fb3f54c15 debian: add option to create pbuilder debug hook 2012-05-28 18:21:30 +00:00
Travis Cross 139485855d debian: don't try to build non-dfsg modules 2012-05-28 18:20:43 +00:00
Travis Cross 0bab77bf96 debian: refactor and improve build utilities 2012-05-28 18:20:37 +00:00
Travis Cross 15a67097d8 debian: add utility for rolling nightly builds 2012-05-28 16:35:01 +00:00
Travis Cross 870ef6f83f debian: don't bundle sounds in orig tarball
We've moved the sounds to a separate source package.
2012-05-28 16:35:01 +00:00
Travis Cross 7d5062f9c9 debian: don't force-create the orig tarball 2012-05-28 16:35:00 +00:00
Travis Cross dfddd3ec10 debian: remove utilities that duplicate debian tools
install-build-depends is inferior to:

  mk-build-deps -i
2012-05-28 16:34:52 +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 409ff21cc4 debian: improve policy compliance on debian/copyright 2012-05-25 02:45:00 +00:00
Travis Cross 879a798ef3 debian: document a better way to build packaging 2012-05-24 17:27:34 +00:00
Travis Cross 1050a2a9f9 debian: version bump 2012-05-24 17:27:28 +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 11d4658ac4 debian: package mod_say_fa (Say for Persian) 2012-05-23 23:42:36 +00:00
Travis Cross fcaf888452 debian: install freeswitch.jar with mod_java 2012-05-15 07:19:51 +00:00
Travis Cross fbcb1c7ae2 debian: don't install scripts/ with freeswitch
Some modules like mod_java drop files in there during install that
should be installed with the module rather than with FS.
2012-05-15 07:18:50 +00:00
Travis Cross c3c559e4f7 debian: add mod_random 2012-05-14 15:53:10 +00:00
Travis Cross 117582adca debian: match empty as well as unset section variable 2012-05-13 20:54:32 +00:00
Travis Cross 3bc4aa39fe debian: handle copyright information for pocketsphinx
Debian expects all copyright information to be in one place, so we
copy the license details to debian/copyright and remove the COPYING
files when we install components.
2012-05-13 20:54:32 +00:00
Travis Cross 566123cc50 debian: mod_managed needs mono-gmcs to build 2012-05-12 21:57:57 +00:00
Travis Cross e84686943f debian: put mod_ilbc in non-free
The iLBC library in our tree is non-free software.  Google has
purchased Global IP Sound and released a newer version of this library
as part of WebRTC as free software, but we need to upgrade to take
advantage of this more favorable licensing.

Until we do that, we also need to remove libs/ilbc from the Debian
source packaging.
2012-05-12 21:30:53 +00:00
Travis Cross 243f950c2a debian: rearrange section headers 2012-05-12 20:52:59 +00:00
Travis Cross 4e174ee99c debian: put mod_siren in non-free
Despite the relatively-generous patent grant from Polycom, the
requirement to execute further agreements to use the code and patents
means this module fails the DFSG.

We'll need to exclude this code from the source package as well.
2012-05-12 20:52:59 +00:00
Travis Cross a7151174e2 debian: support per-module section headers 2012-05-12 20:52:58 +00:00
Travis Cross b19b6498db debian: add build-depends for mod_osp 2012-05-12 18:23:35 +00:00
Travis Cross ed42f37212 debian: add build-depends and section for mod_mp4
This needs a package from debian-multimedia.org, so it needs to go in
contrib/ and we can't build it as part of this source package.
2012-05-12 18:23:34 +00:00
Travis Cross 0f50f044f3 debian: add build-depends for mod_h323 2012-05-12 18:23:34 +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
Travis Cross 832d00f3da debian: add build-depends for mod_yaml 2012-05-12 18:23:33 +00:00
Travis Cross df19f49fd8 debian: enable mod_ladspa 2012-05-12 18:23:33 +00:00
Travis Cross 5e83530a20 debian: add build-depends and suggests for mod_ladspa 2012-05-12 18:23:33 +00:00
Travis Cross ee653e5861 debian: use libjpeg62-dev rather than libjpeg8-dev
Some modules such as mod_h323 pull in libjpeg62-dev which creates a
dependency conflict if we try to use libjpeg8-dev for the core.
2012-05-12 18:23:32 +00:00
Travis Cross e44bdd11f4 debian: enable mod_managed except on squeeze
mod_managed needs mono 2.8 or greater, and squeeze has only mono 2.6.
2012-05-12 18:23:32 +00:00
Travis Cross 3eec3d79be debian: enable mod_java 2012-05-12 18:23:32 +00:00
Travis Cross 7061ff3b84 debian: mod_java depends on gcj-jdk for a symlink to jni.h
See:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=371060
2012-05-12 18:23:31 +00:00
Travis Cross 3e2194873d debian: enable mod_snmp 2012-05-12 18:22:13 +00:00
Travis Cross 65a29d68f9 debian: add some module build dependencies
Thanks to Steven Ayre for an initial list.  I've made some
modifications and corrections.

FS-4202 --resolve
2012-05-12 18:21:58 +00:00
Travis Cross 31703ab6a4 debian: add support for per-distribution build-depends 2012-05-12 04:54:35 +00:00
Travis Cross 2bd8470534 debian: trust shlibs:Depends to do its thing 2012-05-12 03:00:17 +00:00
Travis Cross 193512e9ea debian: mirror dpkg-source parameter choice 2012-05-11 06:23:18 +00:00
Travis Cross 8d366f7f98 debian: add a utility for creating the source package 2012-05-11 06:14:57 +00:00
Travis Cross 18de244778 debian: add a utility to create the .orig.tar.* file 2012-05-11 06:14:57 +00:00
Travis Cross 417c3c29fc debian: clean up after bootstrapping 2012-05-11 06:14:57 +00:00
Travis Cross 495dd7e5e2 debian: stop if we hit any errors in util.sh 2012-05-11 06:14:57 +00:00
Travis Cross 383130f855 debian: remove remnants of slimplayer as we're now packaging this under contrib 2012-05-11 02:03:58 +00:00
Travis Cross b008f8c9d5 debian: attribution 2012-05-11 00:35:17 +00:00
Travis Cross 921de9446f debian: don't package the SWF slim player
We're not including the source code or build tools for the version of
the player we're distributing, so it fails The Debian Free Software
Guidelines (DFSG).
2012-05-10 18:55:48 +00:00
Travis Cross 9b265bdf8b debian: freeswitch depends on libfreeswitch1 2012-05-10 18:47:02 +00:00
Travis Cross 62190e5836 debian: libfreeswitch1 shouldn't build-depend on perl:Depends 2012-05-10 18:26:00 +00:00
Travis Cross adf313d0c3 debian: override warnings about closing an ITP bug 2012-05-10 18:26:00 +00:00
Travis Cross cc36ff4800 debian: override gpl/openssl warning on freeswitch package 2012-05-10 18:26:00 +00:00
Travis Cross 76330ec918 debian: update package name for lintian override 2012-05-09 23:20:37 +00:00
Travis Cross 7624ca0ba6 debian: don't distribute .la file with libfreeswitch-dev
Debian wants rid of .la files, and leaving this out shouldn't do any
harm on a Debian system.
2012-05-09 23:15:03 +00:00
Travis Cross 9c6a3d76d3 debian: rename libfreeswitch-dev package appropriately 2012-05-09 23:15:02 +00:00
Travis Cross 4e4b0d45e2 debian: reduce edit distance between control-modules and .gen 2012-05-09 23:15:02 +00:00