106 Commits

Author SHA1 Message Date
Andrey Volk
3221557807 FS-11445: [Build-System] Add distro to the name of the source tarball. 2018-10-12 20:11:39 +00:00
Andrey Volk
96af4c26f7 FS-11398: [Build-System] Disable mod_event_zmq debian package. 2018-09-20 02:03:13 +03:00
Andrey Volk
f98da7d5cc FS-11361: [Build-System] Switch Debian packages building script util.sh from jessie stable to stretch stable. 2018-08-29 00:00:04 +03:00
Mike Jerris
7f9e6f3e4b FS-10881: Debian sources parsing support for args 2018-01-09 15:44:49 -06:00
Ken Rice
717f597c38 Update Debian Package Builds in prep for early early debian 9 packages and for changes in the master branch. 2017-07-06 17:21:10 -05:00
Andrey Petrov
348ce5ff09 FS-7575 Update freeradius-client to 1.1.7 2017-05-02 16:55:45 +03:00
Travis Cross
3fca86c81f Remove superfluous semicolon
Having this extra semicolon here confuses automatic indentation.
2016-05-10 21:50:41 +00:00
Travis Cross
9dbe81b50f Cleanup inconsistent whitespace in debian/util.sh
We use two space indentation in this file and no tabs as per the
mode-line header.
2016-05-10 21:48:51 +00:00
Ken Rice
7375ad9e89 FS-9081 [Ubuntu Packaging] WIP Patches to build system and configure to allow FS to build on 14.04 2016-04-29 09:22:11 -05:00
Ken Rice
9b1d5c35f6 Revert "FS-9081 to build all modules for trusty needs the universe components"
This reverts commit e8f83d0558ad8efe9744cc885e8fce938ff00a31.
2016-04-29 07:52:09 -05:00
Ken Rice
bb8960a667 Revert "FS-9081 Correction to e8f83d0"
This reverts commit 1b9fda720a462a25254d53da366fe06a91a1e24e.
2016-04-29 07:52:09 -05:00
William King
1b9fda720a FS-9081 Correction to e8f83d0 2016-04-18 21:32:13 -07:00
William King
e8f83d0558 FS-9081 to build all modules for trusty needs the universe components 2016-04-18 20:17:58 -07:00
William King
1d5b898a83 FS-8867 Adding changes to the debian package building 2016-02-24 16:13:29 -08:00
Ken Rice
59a8dede02 small tweak to debian package build script 2016-02-17 16:32:08 -06:00
William King
24fb219fa0 Adding a file extension to the package build logs 2016-01-08 10:14:19 -08:00
William King
dbddff88a6 FS-8271 If using system apt repo list, then include the supplementary ones too. 2015-10-09 09:09:28 -07:00
William King
9fe91d7c89 FS-8271 clarify help text 2015-10-08 15:05:25 -07:00
William King
7ac881fb51 FS-8271 fixing bash typo 2015-10-08 15:02:27 -07:00
William King
9b33b05362 FS-8271 defaulting to automatically download the binary deps because without major changes to package building in cowbuilder(which is the primary supported method of building FS packages), you can't access the network to build the binary packages from the source package. 2015-10-08 14:02:05 -07:00
William King
967245bfe2 FS-8271 Now the default will build packages with the upstream FS package repos. This is a change in the default behavior of the debian packaging system with the justification that in 1.6 it is now required to use the FS public repo for deps because system dependancies have been removed from the FS codebase which use to be included. 2015-10-08 14:32:17 -05:00
William King
019b1ae3d0 FS-8271 simplify package building for the default case 2015-10-02 04:05:44 -07:00
William King
94b1dfab18 FS-8255 #resolve fix debian codename changes since jessie was released as stable 2015-09-30 11:19:20 -07:00
Travis Cross
9cff1eb71f Cleanup non-semantic whitespace in debian/ 2015-09-15 22:36:23 +00:00
Stanislav Sinyagin
e78c440585 FS-8019 debian/util.sh ignored -T option
Fixed the handling of -T and -t, and added debian/apt_sources.list
    that needs to build 1.7 master. The following commands need to be
    used to build Jessie packages:

    apt-get update && apt-get install -y git curl
    mkdir -p /usr/src/freeswitch
    cd /usr/src/freeswitch/
    git clone https://stash.freeswitch.org/scm/fs/freeswitch.git /usr/src/freeswitch/src
    curl http://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add -
    cd /usr/src/freeswitch/src
    ./debian/util.sh build-all -i -z1 -aamd64 -cjessie -T /usr/src/freeswitch/src/debian/apt_sources.list
2015-08-22 20:22:06 -04:00
William King
95a941759c FS-7338 fix when the build system was deleting the keyring before it was fully finished with it. 2015-06-15 15:17:18 -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
William King
8e058adecd FS-7338: Don't download the getlib version for debian packages, instead use the system libs. Debian build systems should include the public repo as an additional repo to supply these packages. 2015-06-11 20:12:56 -07:00
William King
67ed8f4260 FS-7373 also expose the custom repo and key path to the build-all command too 2015-06-10 22:00:46 -07: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
4738da1325 When using the debian/utils.sh script to build FreeSWITCH packages,
add the ability to pass -T[path to custom sources path] and -K[custom keyfile path]
options to build the FS packages with a custom sources and keyring path.

FS-7373
2015-03-16 09:35:36 -07:00
Michael Jerris
3a70750b42 FS-7340: remove all build system references to json-c because we are no longer using it anywhere 2015-03-04 14:06:18 -05:00
Brian West
adb0de93c5 #comment update debian utils for flite 2.0.0 #resolve 2015-01-14 11:08:53 -06:00
Travis Cross
430433a6d7 Improve error message 2014-12-25 04:19:05 +00:00
Travis Cross
505cd2947a Refactor distro detection and handling 2014-12-25 03:58:49 +00:00
Travis Cross
3c8dd3e4df Handle missing lsb_release
The lsb-release package isn't a stated dependency and isn't present on
a minimal Debian install.
2014-12-25 03:51:30 +00:00
Steven Ayre
0822f6a020 FS-7019 swap debian/ubuntu autodetection order 2014-11-21 18:44:20 +00:00
Steven Ayre
a6401813a1 FS-7019 detect debian explicitly, error on unknown distribution 2014-11-21 17:59:56 +00:00
Steven Ayre
de90201101 FS-7019 full list of distributions to target based on distribution autodetection 2014-11-21 17:57:09 +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
Travis Cross
a8b68a14bc Add debian build option to use system sources.list
If -t is passed to debian/util.sh, then we will import the
/etc/apt/sources.list mirrors and all apt keys into the
pbuilder/cowbuilder build environment.

This is useful e.g. when the FS build depends on a library not
available in Debian yet.
2014-10-08 20:43:42 +00:00
Travis Cross
33b4eef596 Add debian build option to keep pbuilder image config
Normally we override the config of each pbuilder/cowbuilder image when
we update the image before using it for the build.  Passing this
option allows for using an existing cowbuilder image (assuming it's in
the correct location) with some existing desirable configuration.
2014-10-08 20:41:37 +00:00
Brian West
573257144d FS-6689 #comment next time please attach a diff #resolve 2014-07-25 07:31:13 -05:00
Travis Cross
03c4014d0e Update bundled version of opus for debian 2014-07-23 16:10:04 +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
f408dae2af Drop pinned memcached file download from debian 2014-04-19 06:29:24 +00:00
Travis Cross
83125dada5 Follow rename to configure.ac in debian/ 2014-03-19 19:12:25 +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