Commit Graph

103 Commits

Author SHA1 Message Date
Miguelo Sana
bdfb8363f5 FS-7130 make /run/freeswitch persistent, so it will start under systemd 2015-07-13 11:33:46 +02:00
Michael Jerris
67d1d1df8f FS-7605 remove surplus config flags and fix rundir and logdir set under fhs 2015-06-17 21:55:40 -05:00
William King
c7eb3abc16 Revert "FS-7605 remove surplus config flags"
This reverts commit 157cac97e3.
2015-06-17 17:30:51 -07:00
William King
8d6c6f82e2 FS-7605 Fix typo 2015-06-17 14:49:15 -07:00
William King
157cac97e3 FS-7605 remove surplus config flags 2015-06-17 14:37:18 -07:00
William King
e0edc956d8 FS-7605 #resolve 2015-06-16 20:24:05 -07:00
William King
7437b3112f Debian rules update to handle a pre-bootstrapped orig file 2015-02-16 16:04:50 -08:00
Travis Cross
d88bae1a62 Support optional debian parallel builds
With this commit we allow getting `make -jN` behavior by setting
`parallel=N` in `DEB_BUILD_OPTIONS`.  Setting `parallel=` will result
in `make -j` being run (i.e. no limit on the number of jobs).  The
default is to run one job at a time; this is still the safest bet when
building all modules.

Thanks to Peter Wu for suggesting a different way to do this.

ref: https://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
2014-12-25 07:13:17 +00:00
Peter Wu
51f61c7834 debian: Remove duplicate clean command
`dh clean` invokes `dh_testdir`, `dh_auto_clean` and `dh_clean`. We
don't need to invoke dh_clean twice.

Acked-by: Travis Cross <tc@traviscross.com>
2014-11-07 19:02:29 +00:00
Travis Cross
c0ec552268 Set new cache_dir for debian 2014-09-04 21:09:46 +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
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
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
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
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
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
1784663d35 Use --with-storagedir in Debian build 2013-06-06 17:34:03 +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
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
William King
703b2102c5 Adding debian core pg support 2012-12-07 12:17:19 -08: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
Michael Jerris
d565fdece5 revert 6f9467992a 2012-09-24 15:35:35 -04:00
Travis Cross
6f9467992a Use the modest ClueCon nag for Debian builds 2012-09-23 07:49:26 +00:00
Travis Cross
12efacb3c6 debian: Add mechanism to set C/C++ compiler 2012-06-24 08:49:59 +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
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
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
b008f8c9d5 debian: attribution 2012-05-11 00:35:17 +00:00
Travis Cross
bb90d52df7 don't use bootstrap.sh -j anywhere but devel-bootstrap.sh
We believe there may be a race condition in bootstrap.sh when run with
-j.  We know that running it without -j should be at least
deterministic (whether or not correct), so we'll go with that in
anticipation of releasing v1.2.
2012-05-08 18:57:00 +00:00
Travis Cross
664e2e322a debian: simplify default build PATH 2012-05-07 00:45:13 +00:00
Travis Cross
621ec4ae1a debian: fix issues raised by lintian on source package 2012-05-06 07:14:22 +00:00
Travis Cross
fa4e329847 debian: add a makefile rule to install build deps 2012-05-05 23:29:17 +00:00
Travis Cross
b281e1340b debian: place build utilities in a single file 2012-05-05 20:23:53 +00:00
Travis Cross
4ce0f57a8b debian: add new and vastly improved packaging for Debian
We now break out each module and component of FreeSWITCH into a
separate individually-installable package.  For each package with
executables or modules, we also build a package that includes the
stripped debugging symbols so that users can be helpful when they
discover bugs in FreeSWITCH.

As of this commit, we successfully build 263 distinct binary packages
starting from a clean minimal image on both Debian Sid and Debian
Squeeze.

To keep this manageable, we include a program that generates the
various Debian packaging files from a consolidated description of the
modules and their metadata.  The program can even generate this
configuration file by walking the FreeSWITCH source tree.

To provide a smooth user experience, we provide meta-packages that
install sensible sets of modules and other components.

All files are installed into the traditional and customary Linux
directories that you would expect in accordance with the Filesystem
Hierarchy Standard (FHS).

This commit also adds support for running FreeSWITCH as a forked
systemd service in Debian.

For more information about the technical details of the source
packaging, how to build the binary packages from source, and how you
can contribute, please read debian/README.source.

To learn about how this packaging affects you as a user and how to use
the finished Debian packages, read debian/README.Debian.

Signed-off-by: Travis Cross <tc@traviscross.com>
2012-05-05 11:54:05 +00:00
Travis Cross
9181e8e51b debian: start over 2012-05-05 07:36:37 +00:00
William King
50acea7d95 Finally fully inline with binary* and build* with Debian Policy Manual section 4.9 2012-04-21 12:38:30 -07:00
William King
aa4b221d12 Resolve debian packaging make file conflict regressions 2012-04-20 15:05:26 -07:00
William King
5c2330f766 Resolve a missing build-dep. Resolve a handful of lintian warnings and errors. Cleanup in prep for 1.2 release packaging. --resolve FS-3449 2012-04-19 19:46:10 -07:00
Michal Bielicki - cypromis
7822db8aa6 added mod_cdr_sqlite to Debian build 2011-05-30 16:05:07 +02:00
Michal Bielicki
0e4a1ce873 Added Hebrew Language package to debian buildsystem 2011-04-02 03:13:06 +02:00
Michal Bielicki - cypromis
326886d0fb removed mod_file_string from debian build since it has been merged into dptools 2011-03-30 11:40:52 +02:00
Michal Bielicki - cypromis
a36e8e606f added mod_timerfd to debian builds 2011-03-23 13:46:56 +01:00
Michal Bielicki - cypromis
fcd8e2d742 fixed python esl for debian, should make everyone happy now, closes FS-3128 2011-03-23 12:42:17 +01:00