package/asterisk: add a complete asterisk stack
v2 cover package/asterisk: add a complete asterisk stack
Hello All!
This series adds a complete asterisk stack. Not much to state, except for two special outliers.
First, asterisk is not trivial to package; a lot of details are explained in the commit log of the first patch, that adds asterisk. Updating asterisk takes a bit of time, and as soon as I got the packaging sorted out, a new version was available... So I stuck with the current version and will update once this has been applied upstream.
The second outlier are the dahdi-linux kernel modules. Again, the commit log has all the nitty-gritty details.
The rest is just a bunch of new packages without much of an issue, or a few new options to existing packages. Boring...
The whole series has been tested with test-pkg and this config fragment (while yielded a few SKIPPED but no FAILED).
BR2_PACKAGE_ALSA_UTILS=y
BR2_PACKAGE_JACK2=y
BR2_PACKAGE_LIBILBC=y
BR2_PACKAGE_LIBVORBIS=y
BR2_PACKAGE_OPUS=y
BR2_PACKAGE_PORTAUDIO=y
BR2_PACKAGE_SPANDSP=y
BR2_PACKAGE_OPENSSL=y
BR2_PACKAGE_UNIXODBC=y
BR2_PACKAGE_FREERADIUS_CLIENT=y
BR2_PACKAGE_LIBPJSIP=y
BR2_PACKAGE_LIBPJSIP_CODEC_G711=y
BR2_PACKAGE_LIBPJSIP_CODEC_G722=y
BR2_PACKAGE_LIBPJSIP_CODEC_G7221=y
BR2_PACKAGE_LIBPJSIP_CODEC_GSM=y
BR2_PACKAGE_LIBPJSIP_CODEC_ILBC=y
BR2_PACKAGE_LIBPJSIP_L16_CODEC=y
BR2_PACKAGE_LIBPJSIP_CODEC_SPEEX=y
BR2_PACKAGE_NEON=y
BR2_PACKAGE_OPENLDAP=y
BR2_PACKAGE_COROSYNC=y
BR2_PACKAGE_LIBCAP=y
BR2_PACKAGE_LIBICAL=y
BR2_PACKAGE_ASTERISK=y
BR2_PACKAGE_BLUEZ_UTILS=y
BR2_PACKAGE_NETSNMP=yAdditionally, this defconfig was built, to test the dahdi-linux build:
BR2_arm=y
BR2_arm1176jzf_s=y
BR2_ARM_EABI=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.19.8"
BR2_LINUX_KERNEL_DEFCONFIG="bcm2835"
BR2_PACKAGE_ALSA_UTILS=y
BR2_PACKAGE_JACK2=y
BR2_PACKAGE_LIBILBC=y
BR2_PACKAGE_LIBVORBIS=y
BR2_PACKAGE_OPUS=y
BR2_PACKAGE_PORTAUDIO=y
BR2_PACKAGE_SPANDSP=y
BR2_PACKAGE_OPENSSL=y
BR2_PACKAGE_UNIXODBC=y
BR2_PACKAGE_LIBPRI=y
BR2_PACKAGE_LIBSS7=y
BR2_PACKAGE_FREERADIUS_CLIENT=y
BR2_PACKAGE_LIBCURL=y
BR2_PACKAGE_LIBPJSIP=y
BR2_PACKAGE_LIBPJSIP_CODEC_G711=y
BR2_PACKAGE_LIBPJSIP_CODEC_G722=y
BR2_PACKAGE_LIBPJSIP_CODEC_G7221=y
BR2_PACKAGE_LIBPJSIP_CODEC_GSM=y
BR2_PACKAGE_LIBPJSIP_CODEC_ILBC=y
BR2_PACKAGE_LIBPJSIP_L16_CODEC=y
BR2_PACKAGE_LIBPJSIP_CODEC_SPEEX=y
BR2_PACKAGE_NEON=y
BR2_PACKAGE_OPENLDAP=y
BR2_PACKAGE_COROSYNC=y
BR2_PACKAGE_LIBCAP=y
BR2_PACKAGE_LIBICAL=y
BR2_PACKAGE_BLUEZ_UTILS=y
BR2_PACKAGE_NETSNMP=y
# BR2_TARGET_ROOTFS_TAR is not set---
Chamnges v1 -> v2:
- too much changed, too long ago...
Regards,
Yann E. MORIN.
The following changes since commit 670a5ebe4698f99534bbcf209431f62af0ef3d51
DEVELOPERS: add myself for modem-manager related packages (2017-09-09 23:10:07 +0200)
are available in the git repository at:
git://git.buildroot.org/~ymorin/git/buildroot.git
for you to fetch changes up to 52f266829b294499545ad7b38d32e884fa20d86d
package/asterisk: add optional jack2 dependency (2017-09-09 23:37:58 +0200)
----------------------------------------------------------------
Yann E. MORIN (49):
package/asterisk: new package
package/asterisk: enable backtrace when available package/asterisk: add optional libgsm dependency package/asterisk: add optional zlib dependency package/asterisk: add optional support for SSL package/asterisk: add optional alsa-lib dependency package/asterisk: add optional curl dependency package/asterisk: add optional neon dependency package/asterisk: add optional libogg dependency package/asterisk: add optional bluez_utils dependency package/asterisk: add optional opus dependency package/asterisk: add optional speex dependency package/asterisk: add optional libvorbis dependency package/asterisk: add optional libilbc dependency package/asterisk: add optional portaudio dependency package/asterisk: add optional libical dependency package/asterisk: add optional openldap dependency package/asterisk: add optional freeradius-client dependency package/asterisk: add optional libsrtp dependency package/dahdi-linux: new package package/dahdi-tools: new package package/dahdi-tools: add USB support package/asterisk: add support for dahdi package/libss7: new package
package/asterisk: add support for SS7 package/libpri: new package
package/asterisk: add support for PRI signalling package/spandsp: new package
package/asterisk: add optional spandsp support package/libqb: new package
package/corosync: new package
package/corosync: add optional dbus support package/corosync: add optional snmp support package/asterisk: add optional corosync dependency package/libpjsip: add option to enable GSM codec package/asterisk: add optional netsnmp dependency package/libpjsip: add option to enable SPEEX codec package/libpjsip: add option to enable G.711 codec package/libpjsip: add option to enable G.722 codec package/libpjsip: add option to enable G.7221 codec package/libpjsip: add option to enable iLBC codec package/libpjsip: add option to enable L16 codec package/libpjsip: add optional portaudio support package/asterisk: add optional pjsip support package/asterisk: add optional libcap dependency package/asterisk: add optional iconv support package/asterisk: enable inotify when possible package/asterisk: add optional unixodbc dependency package/asterisk: add optional jack2 dependency
package/Config.in | 8 + ...-configure-do-not-configure-in-menuselect.patch | 58 ++++ ...02-sounds-do-not-download-and-check-sha1s.patch | 52 +++ .../0003-configure-fix-detection-of-libcrypt.patch | 43 +++ ...n-cross-complation-assimne-eventfd-are-av.patch | 37 +++ package/asterisk/Config.in | 25 ++ package/asterisk/asterisk.hash | 9 + package/asterisk/asterisk.mk | 356 +++++++++++++++++++++ package/corosync/Config.in | 20 ++ package/corosync/corosync.hash | 2 + package/corosync/corosync.mk | 60 ++++ package/dahdi-linux/Config.in | 19 ++ package/dahdi-linux/dahdi-linux.hash | 23 ++ package/dahdi-linux/dahdi-linux.mk | 88 +++++ package/dahdi-tools/0001-no-build-docs.patch | 16 + package/dahdi-tools/0002-no-perl-manpages.patch | 37 +++ package/dahdi-tools/Config.in | 23 ++ package/dahdi-tools/dahdi-tools.hash | 4 + package/dahdi-tools/dahdi-tools.mk | 57 ++++ package/libpjsip/Config.in | 31 ++ package/libpjsip/libpjsip.mk | 55 +++- package/libpri/Config.in | 21 ++ package/libpri/libpri.hash | 3 + package/libpri/libpri.mk | 52 +++ ...fix-CLOCK_MONOTONIC-check-for-cross-compi.patch | 33 ++ package/libqb/Config.in | 12 + package/libqb/libqb.hash | 2 + package/libqb/libqb.mk | 32 ++ package/libss7/Config.in | 18 ++ package/libss7/libss7.hash | 3 + package/libss7/libss7.mk | 55 ++++ package/spandsp/0001-fix-msse4.x.patch | 29 ++ package/spandsp/Config.in | 9 + package/spandsp/spandsp.hash | 2 + package/spandsp/spandsp.mk | 28 ++ 35 files changed, 1314 insertions(+), 8 deletions(-) create mode 100644 package/asterisk/0001-configure-do-not-configure-in-menuselect.patch create mode 100644 package/asterisk/0002-sounds-do-not-download-and-check-sha1s.patch create mode 100644 package/asterisk/0003-configure-fix-detection-of-libcrypt.patch create mode 100644 package/asterisk/0004-configure-in-cross-complation-assimne-eventfd-are-av.patch create mode 100644 package/asterisk/Config.in create mode 100644 package/asterisk/asterisk.hash create mode 100644 package/asterisk/asterisk.mk create mode 100644 package/corosync/Config.in create mode 100644 package/corosync/corosync.hash create mode 100644 package/corosync/corosync.mk create mode 100644 package/dahdi-linux/Config.in create mode 100644 package/dahdi-linux/dahdi-linux.hash create mode 100644 package/dahdi-linux/dahdi-linux.mk create mode 100644 package/dahdi-tools/0001-no-build-docs.patch create mode 100644 package/dahdi-tools/0002-no-perl-manpages.patch create mode 100644 package/dahdi-tools/Config.in create mode 100644 package/dahdi-tools/dahdi-tools.hash create mode 100644 package/dahdi-tools/dahdi-tools.mk create mode 100644 package/libpri/Config.in create mode 100644 package/libpri/libpri.hash create mode 100644 package/libpri/libpri.mk create mode 100644 package/libqb/0001-bconfigure-fix-CLOCK_MONOTONIC-check-for-cross-compi.patch create mode 100644 package/libqb/Config.in create mode 100644 package/libqb/libqb.hash create mode 100644 package/libqb/libqb.mk create mode 100644 package/libss7/Config.in create mode 100644 package/libss7/libss7.hash create mode 100644 package/libss7/libss7.mk create mode 100644 package/spandsp/0001-fix-msse4.x.patch create mode 100644 package/spandsp/Config.in create mode 100644 package/spandsp/spandsp.hash create mode 100644 package/spandsp/spandsp.mk
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH v2 1/49 package/asterisk: new package
Asterisk: the flagship of telephony on Linux. These are the lines of code whose continuous mission is to power small and large enterprises telephony systems, to boldly provide IP PBX where no one has done so before.
But it is a hell to get compiled... :-(
For starters, it needs a host tool, menuselect, to prepare its build configuration. Unfortunately, the way it handles menuselect does not paly very well for cross-compilation: the main ./configure calls out to menuselect's own ./configure, and of course that runs with the same environement, which is wrong for croos-compilation (because of variables like CC, CFLAGS and the likes).
Furthermore, the paths to menuselect are imbricated about everywhere in the main Makefile, so making it find menuselect in PATH is a lost cause.
Instead, we just patch-out the handling of menuselect, build it as the host variant and copy it in place.
Now, asterisk wants to install a default set of sound files (for answering machine stuff, I guess). They come come pre-bundled in the official archive [0], but the buildsystem will want to download (at install time) the sah1 files for each sound archive, to validate that said archive is correct. However, the download is done via plain http, so it still risks an MITM attack. And for Buildroot, it is not always possible to download at install time, so we patch-out the sha1 check.
[0] http://downloads.asterisk.org/pub/telephony/asterisk/releases/
The official archive contains the sound archives plus a full set of documentation. This makes it very big. Unfotunately, the hosting site is rather slow, topping at about ~204kbps. So we get the archive from the official mirror on Github. But that archive is missing the sound archives, so we download them separately.
Some tests, like the crypt() one, are broken and could not have ever possibly worked at all. Worse, the FFmpeg test is looking for headers that FFmpeg removed more than 10 years ago and are virtually no longer available in any distro. So, FFmpeg support is definitely not tested by upstream and can't possibly work at all. Finally, trying to run test-code does not work in cross-compilation.
As a final stroke of genius, asterisk checks for the re-entrant variant of res_ninit(), and concludes that all such functions are available, of which res_nsearch(). Uclibc-ng has the former but not the latter, so the build fails. Since there is no cache variable for that check, we can't pre-feed that result to configure, and fixing it is a bigger endeavour. So we make asterisk depend on glibc for now, until someone is brave enough to fix it.
Almost all features are disabled for now. Support for additional features will be added in subsequent patches now that we have a working base.
---
Changes v1 -> v2:
- fix typo in variable name (Romain)
- set LDCONFIG=true to avoid running ldconfig from the host (Romain)
- build menuselect as a host package (Thomas)
- fix/cleanup the menuselect build wrt. libxml2
---
Note: this is not the truly latest version, because each time I work to update the packaging in Buildroot, upstream decides to release a new version in the following days... So I stop playing catch-me-if-you-can and just submit it now. We can still update later. ;-)
--- package/Config.in | 1 + ...-configure-do-not-configure-in-menuselect.patch | 58 +++++++ ...02-sounds-do-not-download-and-check-sha1s.patch | 52 +++++++ .../0003-configure-fix-detection-of-libcrypt.patch | 43 +++++ ...n-cross-complation-assimne-eventfd-are-av.patch | 37 +++++ package/asterisk/Config.in | 25 +++ package/asterisk/asterisk.hash | 9 ++ package/asterisk/asterisk.mk | 173 +++++++++++++++++++++ 8 files changed, 398 insertions(+) create mode 100644 package/asterisk/0001-configure-do-not-configure-in-menuselect.patch create mode 100644 package/asterisk/0002-sounds-do-not-download-and-check-sha1s.patch create mode 100644 package/asterisk/0003-configure-fix-detection-of-libcrypt.patch create mode 100644 package/asterisk/0004-configure-in-cross-complation-assimne-eventfd-are-av.patch create mode 100644 package/asterisk/Config.in create mode 100644 package/asterisk/asterisk.hash create mode 100644 package/asterisk/asterisk.mk
package/Config.in +1 -0
@@ -1568,6 +1568,7 @@ menu "Networking applications" source "package/argus/Config.in" source "package/arp-scan/Config.in" source "package/arptables/Config.in" + source "package/asterisk/Config.in" source "package/atftp/Config.in" source "package/autossh/Config.in" source "package/avahi/Config.in"
package/asterisk/0001-configure-do-not-configure-in-menuselect.patch new file +58 -0
58 lines not on this page · raw message
package/asterisk/0002-sounds-do-not-download-and-check-sha1s.patch new file +52 -0
52 lines not on this page · raw message
package/asterisk/0003-configure-fix-detection-of-libcrypt.patch new file +43 -0
43 lines not on this page · raw message
package/asterisk/0004-configure-in-cross-complation-assimne-eventfd-are-av.patch new file +37 -0
@@ -0,0 +1,37 @@ +From e7de812c979d219765fbf1292f0e150bfa087716 Mon Sep 17 00:00:00 2001 +From: "Yann E. MORIN" <[email protected]> +Date: Sun, 18 Jun 2017 21:54:16 +0200 +Subject: [PATCH] configure: in cross-complation, assume eventfd are available + +eventfd have been in the kernel since 2.6.22, and in glibc since 2.8, +repectively released in July 2007 and April 2008, almost a decade ago +now. + +Assume that noone building from now on for cross-compilation will be +unlucky enough to get versions older than that... + +As such, in cross-compilation, assumne eventfd are available. + +Signed-off-by: "Yann E. MORIN" <[email protected]> +--- + configure.ac | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 1c20517864..474d17ae55 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1107,7 +1107,9 @@ AC_RUN_IFELSE( + [return eventfd(0, EFD_NONBLOCK | EFD_SEMAPHORE) == -1;])], + AC_MSG_RESULT(yes) + AC_DEFINE([HAVE_EVENTFD], 1, [Define to 1 if your system supports eventfd and the EFD_NONBLOCK and EFD_SEMAPHORE flags.]), +- AC_MSG_RESULT(no) ++ AC_MSG_RESULT(no), ++ AC_MSG_RESULT([cross-compile; assume yes]) ++ AC_DEFINE([HAVE_EVENTFD], 1, [Define to 1 if your system supports eventfd and the EFD_NONBLOCK and EFD_SEMAPHORE flags.]) + ) + + AST_GCC_ATTRIBUTE(pure) +-- +2.11.0 +
package/asterisk/Config.in new file +25 -0
@@ -0,0 +1,25 @@ +config BR2_PACKAGE_ASTERISK + bool "asterisk" + # Uses glibc resolver function res_nsearch() + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_JANSSON + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_SQLITE + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + help + Asterisk is an open source framework for building + communications applications. Asterisk turns an ordinary + computer into a communications server. Asterisk powers + IP PBX systems, VoIP gateways, conference servers and + other custom solutions. It is used by small businesses, + large businesses, call centers, carriers and government + agencies, worldwide. Asterisk is free and open source. + + http://www.asterisk.org/ + +comment "asterisk needs a glibc toolchain w/ C++" + depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_INSTALL_LIBSTDCPP
package/asterisk/asterisk.hash new file +9 -0
@@ -0,0 +1,9 @@ +# Locally computed +sha256 c122fbe88e089737fa2c80356762ceed38498aa26da1dfdd4da5506f9b135696 asterisk-14.5.0.tar.gz + +# sha1 from: http://downloads.asterisk.org/pub/telephony/sounds/releases +# sha256 locally computed +sha1 65ee068462c6645ed14a28d6b34eb0e9aa7a6c8d asterisk-core-sounds-en-gsm-1.5.tar.gz +sha256 8d1118c6e0a0c614fafe297e3789f924ef5b04285cf6a8cffb8501dfcf5bbf07 asterisk-core-sounds-en-gsm-1.5.tar.gz +sha1 f40fd6ea03dfe8d72ada2540b2288bfdc006381d asterisk-moh-opsound-wav-2.03.tar.gz +sha256 449fb810d16502c3052fedf02f7e77b36206ac5a145f3dacf4177843a2fcb538 asterisk-moh-opsound-wav-2.03.tar.gz
package/asterisk/asterisk.mk new file +173 -0
173 lines not on this page · raw message
Signature · 1 line
2.11.0
PATCH v2 1/49 package/asterisk: new package
Hey Yann,
I found a few typos :-).
Quoted 10 lines · Yann E. MORIN
Asterisk: the flagship of telephony on Linux. These are the lines of code whose continuous mission is to power small and large enterprises telephony systems, to boldly provide IP PBX where no one has done so before.
But it is a hell to get compiled... :-(
For starters, it needs a host tool, menuselect, to prepare its build configuration. Unfortunately, the way it handles menuselect does not paly very well for cross-compilation: the main ./configure calls out to
"paly" --> apply?
Quoted 2 lines
menuselect's own ./configure, and of course that runs with the same environement, which is wrong for croos-compilation (because of variables
"croos-compilation"
Quoted 2 lines
like CC, CFLAGS and the likes).
[..]
Quoted 4 lines
[0] http://downloads.asterisk.org/pub/telephony/asterisk/releases/
The official archive contains the sound archives plus a full set of documentation. This makes it very big. Unfotunately, the hosting site is
"Unfotunately" - missing an r. What does 'very big' actually mean?
Quoted 11 lines
rather slow, topping at about ~204kbps. So we get the archive from the official mirror on Github. But that archive is missing the sound archives, so we download them separately.
Some tests, like the
crypt()one, are broken and could not have ever possibly worked at all. Worse, the FFmpeg test is looking for headers that FFmpeg removed more than 10 years ago and are virtually no longer available in any distro. So, FFmpeg support is definitely not tested by upstream and can't possibly work at all. Finally, trying to run test-code does not work in cross-compilation.
Quoted 3 lines
As a final stroke of genius, asterisk checks for the re-entrant variant of
res_ninit(), and concludes that all such functions are available, of whichres_nsearch().
I think a word is probably missing here?
[...]
Quoted 10 lines
package/asterisk/0001-configure-do-not-configure-in-menuselect.patch new file +4
-0@@ -0,0 +1,58 @@ +From cc5daff874779475742bdb89a9328bb4fc4c4e09 Mon Sep 17 00:00:00 2001 +From: "Yann E. MORIN" <[email protected]> +Date: Tue, 27 Dec 2016 11:20:19 +0100 +Subject: [PATCH] configure: do not configure in menuselect
package/asterisk/0001-configure-do-not-configure-in-menuselect.patch line 14
Quoted 10 lines
package/asterisk/0001-configure-do-not-configure-in-menuselect.patch new file +10
-0+ +When cross-compiling, the arguments and environment for ./configure are +different for the host and the target, and we want menuselect to be +compiled for the build machine, not the target. + +Although we do not pass any option to ./configure for menuselect, the +environment may still reference variables for the tagert, like CC or +CFLAGS and so on... We can not build menuselect with those variables. + +Intead, just assume that menuselect will be pre-compiled.
Intead -> Instead
[...]
Quoted 6 lines
package/asterisk/0003-configure-fix-detection-of-libcrypt.patch new file +0
-0
package/asterisk/0003-configure-fix-detection-of-libcrypt.patch line 9
Quoted 9 lines
package/asterisk/0003-configure-fix-detection-of-libcrypt.patch new file +9
-0@@ -0,0 +1,43 @@ +From 8996503f6c55e55f326ab11c18278954ad7abaf3 Mon Sep 17 00:00:00 2001 +From: "Yann E. MORIN" <[email protected]> +Date: Tue, 27 Dec 2016 11:21:57 +0100 +Subject: [PATCH] configure: fix detection of libcrypt + +The crypt() function is searched in two locations: -lcrypt and the +standard C library. + +The result of the forner is stored in the LIBCRYPT 'scheme' while that
forner -> former
[...]
Quoted 6 lines
package/asterisk/0004-configure-in-cross-complation-assimne-eventfd-are-av.patch new file +0
-0
package/asterisk/0004-configure-in-cross-complation-assimne-eventfd-are-av.patch line 10
Quoted 10 lines
package/asterisk/0004-configure-in-cross-complation-assimne-eventfd-are-av.patch new file +10
-0@@ -0,0 +1,37 @@ +From e7de812c979d219765fbf1292f0e150bfa087716 Mon Sep 17 00:00:00 2001 +From: "Yann E. MORIN" <[email protected]> +Date: Sun, 18 Jun 2017 21:54:16 +0200 +Subject: [PATCH] configure: in cross-complation, assume eventfd are available + +eventfd have been in the kernel since 2.6.22, and in glibc since 2.8, +repectively released in July 2007 and April 2008, almost a decade ago +now. + +Assume that noone building from now on for cross-compilation will be
'noone' -> no one
package/asterisk/0004-configure-in-cross-complation-assimne-eventfd-are-av.patch line 13
Quoted 3 lines
package/asterisk/0004-configure-in-cross-complation-assimne-eventfd-are-av.patch new file +3
-0+unlucky enough to get versions older than that... + +As such, in cross-compilation, assumne eventfd are available.
'assumne '-> assume
[...]
Quoted 115 lines
package/asterisk/0004-configure-in-cross-complation-assimne-eventfd-are-av.patch new file +114
-0+++ b/package/asterisk/asterisk.mk@@ -0,0 +1,173 @@ +################################################################################ +# +# asterisk +# +################################################################################ + +ASTERISK_VERSION = 14.5.0 +# Use the github mirror: it's an official mirror maintained by Digium, and +# provides tarballs, which the main Asterisk git tree (behind Gerrit) does not. +ASTERISK_SITE = $(call github,asterisk,asterisk,$(ASTERISK_VERSION)) + +ASTERISK_SOUNDS_BASE_URL = http://downloads.asterisk.org/pub/telephony/sounds/releases +ASTERISK_EXTRA_DOWNLOADS = \ + $(ASTERISK_SOUNDS_BASE_URL)/asterisk-core-sounds-en-gsm-1.5.tar.gz \ + $(ASTERISK_SOUNDS_BASE_URL)/asterisk-moh-opsound-wav-2.03.tar.gz + +# For patches 0001, 0003 and 0004 +ASTERISK_AUTORECONF = YES +ASTERISK_AUTORECONF_OPTS = -Iautoconf -Ithird-party -Ithird-party/pjproject + +ASTERISK_DEPENDENCIES = \ + host-asterisk \ + jansson \ + libcurl \ + libxml2 \ + ncurses \ + sqlite \ + util-linux + +# Asterisk wants to run its menuselect tool (a highly tweaked derivative of +# kconfig), but builds it using the target tools. So we build it in the host +# variant (see below), and copy the full build tree of menuselect. +define ASTERISK_COPY_MENUSELECT + rm -rf $(@D)/menuselect + cp -a $(HOST_ASTERISK_DIR)/menuselect $(@D)/menuselect +endef +ASTERISK_PRE_CONFIGURE_HOOKS += ASTERISK_COPY_MENUSELECT + +ASTERISK_CONF_OPTS = \ + --disable-xmldoc \ + --disable-internal-poll \ + --disable-asteriskssl \ + --disable-rpath \ + --without-asound \ + --without-bfd \ + --without-execinfo \ + --without-bluetooth \ + --without-cap \ + --without-cpg \ + --without-curses \ + --without-dahdi \ + --without-gsm \ + --without-ilbc \ + --without-gtk2 \ + --without-gmime \ + --without-h323 \ + --without-hoard \ + --without-ical \ + --without-iconv \ + --without-iksemel \ + --without-imap \ + --without-inotify \ + --without-iodbc \ + --without-isdnnet \ + --without-jack \ + --without-uriparser \ + --without-kqueue \ + --without-ldap \ + --without-libedit \ + --without-libxslt \ + --without-ltdl \ + --without-lua \ + --without-misdn \ + --without-mysqlclient \ + --without-nbs \ + --without-neon \ + --without-neon29 \ + --without-netsnmp \ + --without-newt \ + --without-ogg \ + --without-openr2 \ + --without-opus \ + --without-osptk \ + --without-oss \ + --without-postgres \ + --without-pjproject \ + --without-popt \ + --without-portaudio \ + --without-pri \ + --without-pwlib \ + --without-radius \ + --without-resample \ + --without-sdl \ + --without-SDL_image \ + --without-spandsp \ + --without-ss7 \ + --without-speex \ + --without-speexdsp \ + --without-sqlite \ + --without-srtp \ + --without-ssl \ + --without-suppserv \ + --without-tds \ + --without-termcap \ + --without-timerfd \ + --without-tinfo \ + --without-tonezone \ + --without-unbound \ + --without-unixodbc \ + --without-vorbis \ + --without-vpb \ + --without-x11 \ + --without-z \
package/asterisk/0004-configure-in-cross-complation-assimne-eventfd-are-av.patch line 123
Quoted 10 lines
package/asterisk/0004-configure-in-cross-complation-assimne-eventfd-are-av.patch new file +10
-0+ --with-crypt \ + --with-jansson \ + --with-libcurl \ + --with-libxml2 \ + --with-ncurses="$(STAGING_DIR)/usr" \ + --with-sqlite3="$(STAGING_DIR)/usr" \ + --with-sounds-cache=$(BR2_DL_DIR) + +# avcodec are from ffmpeg. There is virtually zero chance this could +# even work;
"could have ever worked"?
[...]
Best wishes,
Marcus
PATCH v2 1/49 package/asterisk: new package
Markus, All,
On 2017-09-10 00:12 +0200, Marcus Hoffmann spake thusly:
Quoted 1 line
I found a few typos :-).
Given the size of the commit log, I would have been surprised of the opposite! ;-)
Quoted 5 lines · Yann E. MORIN
Quoted 3 lines
For starters, it needs a host tool, menuselect, to prepare its build configuration. Unfortunately, the way it handles menuselect does not paly very well for cross-compilation: the main ./configure calls out to
"paly" --> apply?
play
Quoted 6 lines
Quoted 4 lines
[0] http://downloads.asterisk.org/pub/telephony/asterisk/releases/
The official archive contains the sound archives plus a full set of documentation. This makes it very big. Unfotunately, the hosting site is
"Unfotunately" - missing an r. What does 'very big' actually mean?
The archive is not very big by today's standard: 39MiB. But the site is really slow, which makes it look like it is bigger than it really is...
Grabbing from the github mirror gives a smaller archive, but more importantly, it downloads at very high speed.
And since we then only download the strictly minimal set of sounds, we grab only about 17MiB from asterisk.org instead of 39MiB, which makes the download at least twice as fast.
Quoted 5 lines
Quoted 3 lines
As a final stroke of genius, asterisk checks for the re-entrant variant of
res_ninit(), and concludes that all such functions are available, of whichres_nsearch().I think a word is probably missing here?
Not that I can think of. The sentence is gramatically equivalent to:
[it] concludes that all such functions, of which res_nsearch(), are available.
except the the part 'of which res_nsearch()' has been relegated to the end of the sentence, as a mean for it to stand out.
Quoted 2 lines
Quoted 1 line
+Assume that noone building from now on for cross-compilation will be
'noone' -> no one
noone is internet slang from the good ol' days. Seems the young ones nowadays no longer recognise it! ;-) I'll fix.
Quoted 4 lines
Review
Quoted 2 lines
(quoted diff) +2
-0+# avcodec are from ffmpeg. There is virtually zero chance this could +# even work;"could have ever worked"?
Probably, yes.
Thanks for the review! :-)
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH v2 1/49 package/asterisk: new package
Marcus, All,
On 2017-09-10 11:02 +0200, Yann E. MORIN spake thusly:
Quoted 1 line
Markus, All,
I'm so sorry about that one typo. That's what I get for not waiting for the caffeine to kick in. Apologies.
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH v2 1/49 package/asterisk: new package
In reply to Yann E. MORINQuoted 4 lines · Yann E. MORIN
Asterisk: the flagship of telephony on Linux. These are the lines of code whose continuous mission is to power small and large enterprises telephony systems, to boldly provide IP PBX where no one has done so before.
[snip]
Quoted 3 lines
Signed-off-by "Yann E. MORIN" <[email protected]>Cc Romain Naour <[email protected]>Cc Thomas Petazzoni <[email protected]>
I have applied to master with the following changes:
- make libilbc a mandatory dependency instead of using the bundled one;
- add license, license files, and license file hashes;
- minor spelling corrections;
- remove redundant trailing backslash reported by check-package;
- rewrap help text to 72 columns instead of 68
Note the first change: when --without-ilbc is specified, it will actually build
its internal fork.
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH v2 2/49 package/asterisk: enable backtrace when available
In reply to Yann E. MORINasterisk uses backtrace() from execinfo.h to print beuatiful backtraces when it fails. But execinfo is only reliably available with glibc, while it is optionbal in uClibc and completely missing in musl.
So, only enable backtrace support for glibc toolchains.
--- package/asterisk/asterisk.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +6 -1
@@ -43,7 +43,6 @@ ASTERISK_CONF_OPTS = \ --disable-rpath \ --without-asound \ --without-bfd \ - --without-execinfo \ --without-bluetooth \ --without-cap \ --without-cpg \
@@ -128,6 +127,12 @@ ASTERISK_CONF_OPTS += --without-avcodec ASTERISK_CONF_ENV = \ ac_cv_path_CONFIG_LIBXML2=$(STAGING_DIR)/usr/bin/xml2-config +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y) +ASTERISK_CONF_OPTS += --with-execinfo +else +ASTERISK_CONF_OPTS += --without-execinfo +endif + ASTERISK_DIRS = \ ASTVARLIBDIR="/usr/lib/asterisk" \ ASTDATADIR="/usr/lib/asterisk" \
Signature · 1 line
2.11.0
PATCH v2 3/49 package/asterisk: add optional libgsm dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -48,7 +48,6 @@ ASTERISK_CONF_OPTS = \ --without-cpg \ --without-curses \ --without-dahdi \ - --without-gsm \ --without-ilbc \ --without-gtk2 \ --without-gmime \
@@ -133,6 +132,13 @@ else ASTERISK_CONF_OPTS += --without-execinfo endif +ifeq ($(BR2_PACKAGE_LIBGSM),y) +ASTERISK_DEPENDENCIES += libgsm +ASTERISK_CONF_OPTS += --with-gsm +else +ASTERISK_CONF_OPTS += --without-gsm +endif + ASTERISK_DIRS = \ ASTVARLIBDIR="/usr/lib/asterisk" \ ASTDATADIR="/usr/lib/asterisk" \
Signature · 1 line
2.11.0
PATCH v2 4/49 package/asterisk: add optional zlib dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -108,7 +108,6 @@ ASTERISK_CONF_OPTS = \ --without-vorbis \ --without-vpb \ --without-x11 \ - --without-z \ --with-crypt \ --with-jansson \ --with-libcurl \
@@ -139,6 +138,13 @@ else ASTERISK_CONF_OPTS += --without-gsm endif +ifeq ($(BR2_PACKAGE_ZLIB),y) +ASTERISK_DEPENDENCIES += zlib +ASTERISK_CONF_OPTS += --with-z +else +ASTERISK_CONF_OPTS += --without-z +endif + ASTERISK_DIRS = \ ASTVARLIBDIR="/usr/lib/asterisk" \ ASTDATADIR="/usr/lib/asterisk" \
Signature · 1 line
2.11.0
PATCH v2 5/49 package/asterisk: add optional support for SSL
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -96,7 +96,6 @@ ASTERISK_CONF_OPTS = \ --without-speexdsp \ --without-sqlite \ --without-srtp \ - --without-ssl \ --without-suppserv \ --without-tds \ --without-termcap \
@@ -138,6 +137,13 @@ else ASTERISK_CONF_OPTS += --without-gsm endif +ifeq ($(BR2_PACKAGE_OPENSSL),y) +ASTERISK_DEPENDENCIES += openssl +ASTERISK_CONF_OPTS += --with-ssl +else +ASTERISK_CONF_OPTS += --without-ssl +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) ASTERISK_DEPENDENCIES += zlib ASTERISK_CONF_OPTS += --with-z
Signature · 1 line
2.11.0
PATCH v2 6/49 package/asterisk: add optional alsa-lib dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -41,7 +41,6 @@ ASTERISK_CONF_OPTS = \ --disable-internal-poll \ --disable-asteriskssl \ --disable-rpath \ - --without-asound \ --without-bfd \ --without-bluetooth \ --without-cap \
@@ -137,6 +136,13 @@ else ASTERISK_CONF_OPTS += --without-gsm endif +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +ASTERISK_DEPENDENCIES += alsa-lib +ASTERISK_CONF_OPTS += --with-asound +else +ASTERISK_CONF_OPTS += --without-asound +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ASTERISK_DEPENDENCIES += openssl ASTERISK_CONF_OPTS += --with-ssl
Signature · 1 line
2.11.0
PATCH v2 7/49 package/asterisk: add optional curl dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/asterisk/asterisk.mk +7 -0
@@ -143,6 +143,13 @@ else ASTERISK_CONF_OPTS += --without-asound endif +ifeq ($(BR2_PACKAGE_LIBCURL),y) +ASTERISK_DEPENDENCIES += libcurl +ASTERISK_CONF_OPTS += --with-libcurl +else +ASTERISK_CONF_OPTS += --without-libcurl +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ASTERISK_DEPENDENCIES += openssl ASTERISK_CONF_OPTS += --with-ssl
Signature · 1 line
2.11.0
PATCH v2 7/49 package/asterisk: add optional curl dependency
Quoted 1 line · Yann E. MORIN
Signed-off-by "Yann E. MORIN" <[email protected]>
Curl was already a mandatory dependency so I rejected this.
Regards,
Arnout
Quoted 23 lines
--- package/asterisk/asterisk.mk | 7 +++++++ 1 file changed, 7 insertions(+)package/asterisk/asterisk.mk +7
-0@@ -143,6 +143,13 @@ else ASTERISK_CONF_OPTS += --without-asound endif +ifeq ($(BR2_PACKAGE_LIBCURL),y) +ASTERISK_DEPENDENCIES += libcurl +ASTERISK_CONF_OPTS += --with-libcurl +else +ASTERISK_CONF_OPTS += --without-libcurl +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ASTERISK_DEPENDENCIES += openssl ASTERISK_CONF_OPTS += --with-ssl
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH v2 8/49 package/asterisk: add optional neon dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +9 -1
@@ -70,7 +70,6 @@ ASTERISK_CONF_OPTS = \ --without-misdn \ --without-mysqlclient \ --without-nbs \ - --without-neon \ --without-neon29 \ --without-netsnmp \ --without-newt \
@@ -150,6 +149,15 @@ else ASTERISK_CONF_OPTS += --without-libcurl endif +ifeq ($(BR2_PACKAGE_NEON),y) +ASTERISK_DEPENDENCIES += neon +ASTERISK_CONF_OPTS += --with-neon +ASTERISK_CONF_ENV += \ + ac_cv_path_CONFIG_NEON=$(STAGING_DIR)/usr/bin/neon-config +else +ASTERISK_CONF_OPTS += --without-neon +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ASTERISK_DEPENDENCIES += openssl ASTERISK_CONF_OPTS += --with-ssl
Signature · 1 line
2.11.0
PATCH v2 9/49 package/asterisk: add optional libogg dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -73,7 +73,6 @@ ASTERISK_CONF_OPTS = \ --without-neon29 \ --without-netsnmp \ --without-newt \ - --without-ogg \ --without-openr2 \ --without-opus \ --without-osptk \
@@ -158,6 +157,13 @@ else ASTERISK_CONF_OPTS += --without-neon endif +ifeq ($(BR2_PACKAGE_LIBOGG),y) +ASTERISK_DEPENDENCIES += libogg +ASTERISK_CONF_OPTS += --with-ogg +else +ASTERISK_CONF_OPTS += --without-ogg +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ASTERISK_DEPENDENCIES += openssl ASTERISK_CONF_OPTS += --with-ssl
Signature · 1 line
2.11.0
PATCH v2 10/49 package/asterisk: add optional bluez_utils dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -42,7 +42,6 @@ ASTERISK_CONF_OPTS = \ --disable-asteriskssl \ --disable-rpath \ --without-bfd \ - --without-bluetooth \ --without-cap \ --without-cpg \ --without-curses \
@@ -141,6 +140,13 @@ else ASTERISK_CONF_OPTS += --without-asound endif +ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y) +ASTERISK_DEPENDENCIES += bluez_utils +ASTERISK_CONF_OPTS += --with-bluetooth +else +ASTERISK_CONF_OPTS += --without-bluetooth +endif + ifeq ($(BR2_PACKAGE_LIBCURL),y) ASTERISK_DEPENDENCIES += libcurl ASTERISK_CONF_OPTS += --with-libcurl
Signature · 1 line
2.11.0
PATCH v2 11/49 package/asterisk: add optional opus dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -73,7 +73,6 @@ ASTERISK_CONF_OPTS = \ --without-netsnmp \ --without-newt \ --without-openr2 \ - --without-opus \ --without-osptk \ --without-oss \ --without-postgres \
@@ -170,6 +169,13 @@ else ASTERISK_CONF_OPTS += --without-ogg endif +ifeq ($(BR2_PACKAGE_OPUS),y) +ASTERISK_DEPENDENCIES += opus +ASTERISK_CONF_OPTS += --with-opus +else +ASTERISK_CONF_OPTS += --without-opus +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ASTERISK_DEPENDENCIES += openssl ASTERISK_CONF_OPTS += --with-ssl
Signature · 1 line
2.11.0
PATCH v2 12/49 package/asterisk: add optional speex dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
package/asterisk/asterisk.mk +7 -2
@@ -87,8 +87,6 @@ ASTERISK_CONF_OPTS = \ --without-SDL_image \ --without-spandsp \ --without-ss7 \ - --without-speex \ - --without-speexdsp \ --without-sqlite \ --without-srtp \ --without-suppserv \
@@ -183,6 +181,13 @@ else ASTERISK_CONF_OPTS += --without-ssl endif +ifeq ($(BR2_PACKAGE_SPEEX),y) +ASTERISK_DEPENDENCIES += speex +ASTERISK_CONF_OPTS += --with-speex --with-speexdsp +else +ASTERISK_CONF_OPTS += --without-speex --without-speexdsp +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) ASTERISK_DEPENDENCIES += zlib ASTERISK_CONF_OPTS += --with-z
Signature · 1 line
2.11.0
PATCH v2 13/49 package/asterisk: add optional libvorbis dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -97,7 +97,6 @@ ASTERISK_CONF_OPTS = \ --without-tonezone \ --without-unbound \ --without-unixodbc \ - --without-vorbis \ --without-vpb \ --without-x11 \ --with-crypt \
@@ -188,6 +187,13 @@ else ASTERISK_CONF_OPTS += --without-speex --without-speexdsp endif +ifeq ($(BR2_PACKAGE_LIBVORBIS),y) +ASTERISK_DEPENDENCIES += libvorbis +ASTERISK_CONF_OPTS += --with-vorbis +else +ASTERISK_CONF_OPTS += --without-vorbis +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) ASTERISK_DEPENDENCIES += zlib ASTERISK_CONF_OPTS += --with-z
Signature · 1 line
2.11.0
PATCH v2 14/49 package/asterisk: add optional libilbc dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -46,7 +46,6 @@ ASTERISK_CONF_OPTS = \ --without-cpg \ --without-curses \ --without-dahdi \ - --without-ilbc \ --without-gtk2 \ --without-gmime \ --without-h323 \
@@ -143,6 +142,13 @@ else ASTERISK_CONF_OPTS += --without-bluetooth endif +ifeq ($(BR2_PACKAGE_LIBILBC),y) +ASTERISK_DEPENDENCIES += libilbc +ASTERISK_CONF_OPTS += --with-ilbc +else +ASTERISK_CONF_OPTS += --without-ilbc +endif + ifeq ($(BR2_PACKAGE_LIBCURL),y) ASTERISK_DEPENDENCIES += libcurl ASTERISK_CONF_OPTS += --with-libcurl
Signature · 1 line
2.11.0
PATCH v2 14/49 package/asterisk: add optional libilbc dependency
Quoted 1 line · Yann E. MORIN
Signed-off-by "Yann E. MORIN" <[email protected]>
Since I turned libilbc into a mandatory dependency, I rejected this patch.
Regards,
Arnout
Quoted 31 lines
--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)package/asterisk/asterisk.mk +7
-1@@ -46,7 +46,6 @@ ASTERISK_CONF_OPTS = \ --without-cpg \ --without-curses \ --without-dahdi \ - --without-ilbc \ --without-gtk2 \ --without-gmime \ --without-h323 \@@ -143,6 +142,13 @@ else ASTERISK_CONF_OPTS += --without-bluetooth endif +ifeq ($(BR2_PACKAGE_LIBILBC),y) +ASTERISK_DEPENDENCIES += libilbc +ASTERISK_CONF_OPTS += --with-ilbc +else +ASTERISK_CONF_OPTS += --without-ilbc +endif + ifeq ($(BR2_PACKAGE_LIBCURL),y) ASTERISK_DEPENDENCIES += libcurl ASTERISK_CONF_OPTS += --with-libcurl
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH v2 15/49 package/asterisk: add optional portaudio dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -77,7 +77,6 @@ ASTERISK_CONF_OPTS = \ --without-postgres \ --without-pjproject \ --without-popt \ - --without-portaudio \ --without-pri \ --without-pwlib \ --without-radius \
@@ -179,6 +178,13 @@ else ASTERISK_CONF_OPTS += --without-opus endif +ifeq ($(BR2_PACKAGE_PORTAUDIO),y) +ASTERISK_DEPENDENCIES += portaudio +ASTERISK_CONF_OPTS += --with-portaudio +else +ASTERISK_CONF_OPTS += --without-portaudio +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ASTERISK_DEPENDENCIES += openssl ASTERISK_CONF_OPTS += --with-ssl
Signature · 1 line
2.11.0
PATCH v2 16/49 package/asterisk: add optional libical dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -50,7 +50,6 @@ ASTERISK_CONF_OPTS = \ --without-gmime \ --without-h323 \ --without-hoard \ - --without-ical \ --without-iconv \ --without-iksemel \ --without-imap \
@@ -141,6 +140,13 @@ else ASTERISK_CONF_OPTS += --without-bluetooth endif +ifeq ($(BR2_PACKAGE_LIBICAL),y) +ASTERISK_DEPENDENCIES += libical +ASTERISK_CONF_OPTS += --with-ical +else +ASTERISK_CONF_OPTS += --without-ical +endif + ifeq ($(BR2_PACKAGE_LIBILBC),y) ASTERISK_DEPENDENCIES += libilbc ASTERISK_CONF_OPTS += --with-ilbc
Signature · 1 line
2.11.0
PATCH v2 17/49 package/asterisk: add optional openldap dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -59,7 +59,6 @@ ASTERISK_CONF_OPTS = \ --without-jack \ --without-uriparser \ --without-kqueue \ - --without-ldap \ --without-libedit \ --without-libxslt \ --without-ltdl \
@@ -154,6 +153,13 @@ else ASTERISK_CONF_OPTS += --without-ilbc endif +ifeq ($(BR2_PACKAGE_OPENLDAP),y) +ASTERISK_DEPENDENCIES += openldap +ASTERISK_CONF_OPTS += --without-ldap +else +ASTERISK_CONF_OPTS += --without-ldap +endif + ifeq ($(BR2_PACKAGE_LIBCURL),y) ASTERISK_DEPENDENCIES += libcurl ASTERISK_CONF_OPTS += --with-libcurl
Signature · 1 line
2.11.0
PATCH v2 17/49 package/asterisk: add optional openldap dependency
Hi Yann,
Am Sat, 09 Sep 2017 23:39:23 +0200 schrieb Yann E. MORIN:
package/asterisk/asterisk.mk else · line 158
Quoted 3 lines
package/asterisk/asterisk.mk +3
-0+ifeq ($(BR2_PACKAGE_OPENLDAP),y) +ASTERISK_DEPENDENCIES += openldap +ASTERISK_CONF_OPTS += --without-ldap
this should be "--with-ldap"
package/asterisk/asterisk.mk else · line 161
Quoted 3 lines
package/asterisk/asterisk.mk +3
-0+else +ASTERISK_CONF_OPTS += --without-ldap +endif
Regards, Bernd
PATCH v2 17/49 package/asterisk: add optional openldap dependency
Bernd, All,
On 2017-09-14 16:36 +0200, Bernd Kuhls spake thusly:
Quoted 9 lines
Hi Yann,
Am Sat, 09 Sep 2017 23:39:23 +0200 schrieb Yann E. MORIN:
package/asterisk/asterisk.mk else · line 158
Quoted 3 lines
package/asterisk/asterisk.mk +3
-0+ifeq ($(BR2_PACKAGE_OPENLDAP),y) +ASTERISK_DEPENDENCIES += openldap +ASTERISK_CONF_OPTS += --without-ldapthis should be "--with-ldap"
Uhu... Good catch. ;-)
Regards,
Yann E. MORIN.
Quoted 10 lines
package/asterisk/asterisk.mk else · line 161
Quoted 3 lines
package/asterisk/asterisk.mk +3
-0+else +ASTERISK_CONF_OPTS += --without-ldap +endifRegards, Bernd
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH v2 18/49 package/asterisk: add optional freeradius-client dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -77,7 +77,6 @@ ASTERISK_CONF_OPTS = \ --without-popt \ --without-pri \ --without-pwlib \ - --without-radius \ --without-resample \ --without-sdl \ --without-SDL_image \
@@ -197,6 +196,13 @@ else ASTERISK_CONF_OPTS += --without-portaudio endif +ifeq ($(BR2_PACKAGE_FREERADIUS_CLIENT),y) +ASTERISK_DEPENDENCIES += freeradius-client +ASTERISK_CONF_OPTS += --with-radius +else +ASTERISK_CONF_OPTS += --without-radius +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ASTERISK_DEPENDENCIES += openssl ASTERISK_CONF_OPTS += --with-ssl
Signature · 1 line
2.11.0
PATCH v2 19/49 package/asterisk: add optional libsrtp dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -83,7 +83,6 @@ ASTERISK_CONF_OPTS = \ --without-spandsp \ --without-ss7 \ --without-sqlite \ - --without-srtp \ --without-suppserv \ --without-tds \ --without-termcap \
@@ -217,6 +216,13 @@ else ASTERISK_CONF_OPTS += --without-speex --without-speexdsp endif +ifeq ($(BR2_PACKAGE_LIBSRTP),y) +ASTERISK_DEPENDENCIES += libsrtp +ASTERISK_CONF_OPTS += --with-srtp +else +ASTERISK_CONF_OPTS += --without-srtp +endif + ifeq ($(BR2_PACKAGE_LIBVORBIS),y) ASTERISK_DEPENDENCIES += libvorbis ASTERISK_CONF_OPTS += --with-vorbis
Signature · 1 line
2.11.0
PATCH v2 20/49 package/dahdi-linux: new package
In reply to Yann E. MORINdahdi-linux provides kernel modules to drive a variety of telephony cards, ranging from low-end one-channel to higher-end multi-channel cards. It also provides headers for userland to talk to those cards.
With a bit of love, dahdi-linux can use our kernel-module infrastructure. Wee! :-)
Still, there are a few specificities about dahdi-linux.
First, it needs to install a few binary firmware blobs, which it wants to download at install time. Since we do want to be able to do completely off-line builds, we need to downlaod them manually. So we have the full list of firmware blobs (even if some can only be used on an i386/x86_64 target, we still uconditionally download them), for which we have locally-computed sha256 (no hash provided by upstream for the blobs).
Second, the install procedure for the firmware blobs needs to have access to the Linux kernel .config file, so it can decide whether to install the blobs or not. We can force not to install them, but we can't force to install them... :-/ And anyway, we'd have to do the same check as is already done by dahdi-linux, so no need to duplicate that.
Finally, the licensing is relatively weird. Although it is obvious and straightforward for the most part of dahdi-linux, consisting of mostly GPLv2 and a few LGPLv2.1, there is one gotcha.
Of the firmware blobs, one is provided as a .o file, with no licensing information whatsoever, without any source available from upstream, but is directly linked to a GPLv2 file.
This is very concerning, but there is not much we can do about it, except delegate to the legal reviewer whether that is acceptable or not.
AS an aside, dahdi-linux drivers do not build with a kernel 4.0 or later, as it uses internals that have been removed in linux-4.0. There has been no update upstream dahdi-linux to fix that. There's not much we can do, except warn the user in the help text.
--- package/Config.in | 1 + package/dahdi-linux/Config.in | 19 ++++++++ package/dahdi-linux/dahdi-linux.hash | 23 ++++++++++ package/dahdi-linux/dahdi-linux.mk | 88 ++++++++++++++++++++++++++++++++++++ 4 files changed, 131 insertions(+) create mode 100644 package/dahdi-linux/Config.in create mode 100644 package/dahdi-linux/dahdi-linux.hash create mode 100644 package/dahdi-linux/dahdi-linux.mk
package/Config.in +1 -0
@@ -382,6 +382,7 @@ endmenu source "package/cdrkit/Config.in" source "package/cryptsetup/Config.in" source "package/cwiid/Config.in" + source "package/dahdi-linux/Config.in" source "package/dbus/Config.in" source "package/dbus-cpp/Config.in" source "package/dbus-glib/Config.in"
package/dahdi-linux/Config.in new file +19 -0
@@ -0,0 +1,19 @@ +config BR2_PACKAGE_DAHDI_LINUX + bool "dhadi-linux" + depends on BR2_LINUX_KERNEL + help + DAHDI (Digium/Asterisk Hardware Device Interface) is the open + source device interface technology used to control Digium and + other legacy telephony interface cards. + + DAHDI Linux is the open source device driver framework used to + interface Asterisk with telephony hardware. + + http://www.asterisk.org/downloads/dahdi + + Note: DAHDI Linux drivers won't build on a kernel v4.0 or more + recent, because they use internals that have been removed in + v4.0. + +comment "dahdi-linux needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL
package/dahdi-linux/dahdi-linux.hash new file +23 -0
@@ -0,0 +1,23 @@ +# sha1 from: http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases +# sha256 locally computed +sha1 8cbd55b8611c6ed80bcdf84d537566b4934f3def dahdi-linux-2.11.1.tar.gz +sha256 f59f382365118205e77d2874f1c0e1546e936247bcc45f07a43bc21778bee9df dahdi-linux-2.11.1.tar.gz + +# Firmware files have no upstream hash, so sha56 locally computed +sha256 3ff26cf80555fd7470b43a87c51d03c1db2a75abcd4561d79f69b6c48298e4a1 dahdi-fwload-vpmadt032-1.25.0.tar.gz +sha256 d5b6ab6851e431afcfec2ecc39d95fa88fe3939ffdb2e3d4f28a43cabf30e95b dahdi-fw-a4a-a0017.tar.gz +sha256 e039af8bec36407b74e1dd9ebdd49ba077469eda79d4e6093721ed2836d4536f dahdi-fw-a4b-d001e.tar.gz +sha256 5064f9877b8aec99b19fd57988216fe1a9c0b7c07853dd3b32b5a55ab7b418e6 dahdi-fw-a8a-1d0017.tar.gz +sha256 09a8992786309e025aa60b400a2c7d21226ac9bb6f1b66f562a5e7e9dc892b03 dahdi-fw-a8b-1f001e.tar.gz +sha256 449ab3fd03d55d808e999efb7677cd04de202b92c9fcb039539a7e48a39a80f5 dahdi-fw-hx8-2.06.tar.gz +sha256 7a006073202d67e45f1d5ff1e9c6e8663e6056cef9dc4c5abae86a1018db349c dahdi-fw-oct6114-032-1.05.01.tar.gz +sha256 56bac1f2024c76ecf9b6f40992eeea29a1fbee676bb2a37a058179bacfbb1c91 dahdi-fw-oct6114-064-1.05.01.tar.gz +sha256 e1146749d205c41603b9b76852c3f8104dac233d0025d700db24504d10c99775 dahdi-fw-oct6114-128-1.05.01.tar.gz +sha256 5fe5036a2766cf0e8a968b0c58b700507d86e1cde9296ca437170cc626a9c79c dahdi-fw-oct6114-256-1.05.01.tar.gz +sha256 11dd8d009809e41fc9a3a36766f59ff73d29075eede5b8724331d9a6e5259774 dahdi-fw-tc400m-MR6.12.tar.gz +sha256 511c1966295a20df673bb87af30245f0ad165efd6ccb92b4d8ed535ca7f5ac65 dahdi-fw-te133-7a001e.tar.gz +sha256 99f7c410bf47d2a5ae687d717e51448ce5b52aca902830bf39bffe683150fa2d dahdi-fw-te134-780017.tar.gz +sha256 c8f55d57cc0bf332e8d96cdf9ff6dd0e322f33581e1efc24c2b9a0e0c5eb7ee4 dahdi-fw-te435-13001e.tar.gz +sha256 0980f4a8d191c6872aa27d971758046f0e7827ac161549f2cc1b0eeab0ae9333 dahdi-fw-te436-10017.tar.gz +sha256 5b823e25828e2c1c6548886ad408b2e31dbc8cd17170c52592792d9c754a199c dahdi-fw-te820-1.76.tar.gz +sha256 6b199cf836f150f9cb35f763f0f502fb52cfa2724a449b500429c746973904ad dahdi-fw-vpmoct032-1.12.0.tar.gz
package/dahdi-linux/dahdi-linux.mk new file +88 -0
88 lines not on this page · raw message
Signature · 1 line
2.11.0
PATCH v2 21/49 package/dahdi-tools: new package
In reply to Yann E. MORINAlso provides libraries, so install in staging as well.
--- package/Config.in | 1 + package/dahdi-tools/0001-no-build-docs.patch | 16 +++++++++++ package/dahdi-tools/0002-no-perl-manpages.patch | 37 +++++++++++++++++++++++++ package/dahdi-tools/Config.in | 23 +++++++++++++++ package/dahdi-tools/dahdi-tools.hash | 4 +++ package/dahdi-tools/dahdi-tools.mk | 32 +++++++++++++++++++++ 6 files changed, 113 insertions(+) create mode 100644 package/dahdi-tools/0001-no-build-docs.patch create mode 100644 package/dahdi-tools/0002-no-perl-manpages.patch create mode 100644 package/dahdi-tools/Config.in create mode 100644 package/dahdi-tools/dahdi-tools.hash create mode 100644 package/dahdi-tools/dahdi-tools.mk
package/Config.in +1 -0
@@ -383,6 +383,7 @@ endmenu source "package/cryptsetup/Config.in" source "package/cwiid/Config.in" source "package/dahdi-linux/Config.in" + source "package/dahdi-tools/Config.in" source "package/dbus/Config.in" source "package/dbus-cpp/Config.in" source "package/dbus-glib/Config.in"
package/dahdi-tools/0001-no-build-docs.patch new file +16 -0
@@ -0,0 +1,16 @@ +Do not build the documentation. + +Signed-off-by: "Yann E. MORIN" <[email protected]> + +diff -durN dahdi-tools-2.11.0.orig/Makefile.am dahdi-tools-2.11.0/Makefile.am +--- dahdi-tools-2.11.0.orig/Makefile.am 2015-12-22 21:19:12.000000000 +0100 ++++ dahdi-tools-2.11.0/Makefile.am 2016-01-04 23:23:34.201304133 +0100 +@@ -17,7 +17,7 @@ + #-Wformat=2 + endif + +-SUBDIRS = xpp doc hotplug ++SUBDIRS = xpp hotplug + + if PPPD + SUBDIRS += ppp
package/dahdi-tools/0002-no-perl-manpages.patch new file +37 -0
@@ -0,0 +1,37 @@ +xpp: do not try to install the manpages for the perl tools + +The man pages are generated neither at build time nor at install time, +so the install step fails. + +Just disable them. + +Signed-off-by: "Yann E. MORIN" <[email protected]> + +diff -durN dahdi-tools-2.11.0.orig/xpp/Makefile.am dahdi-tools-2.11.0/xpp/Makefile.am +--- dahdi-tools-2.11.0.orig/xpp/Makefile.am 2015-12-22 21:19:12.000000000 +0100 ++++ dahdi-tools-2.11.0/xpp/Makefile.am 2016-01-04 23:56:31.851820973 +0100 +@@ -3,7 +3,6 @@ + + SUBDIRS = + +-man_MANS = + + + # FIXME: try to improve code, so we can use $(PEDANTIC) +@@ -59,7 +58,6 @@ + udevrules_DATA = xpp.rules + + dist_sbin_SCRIPTS = $(perl_scripts) +-man_MANS += $(perl_mans) + CLEANFILES = $(perl_checks) $(perl_mans) + + if PBX_USB +@@ -147,8 +145,6 @@ + astribank_allow.8 \ + astribank_is_starting.8 + +-man_MANS += $(man_pages) +- + endif + + EXTRA_DIST = \
package/dahdi-tools/Config.in new file +23 -0
@@ -0,0 +1,23 @@ +config BR2_PACKAGE_DAHDI_TOOLS + bool "dahdi-tools" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_LINUX_KERNEL # dahdi-linux + depends on BR2_USE_MMU # perl + select BR2_PACKAGE_DAHDI_LINUX + select BR2_PACKAGE_PERL + help + DAHDI (Digium/Asterisk Hardware Device Interface) is the open + source device interface technology used to control Digium and + other legacy telephony interface cards. + + DAHDI Tools is a package of utilities for managing and + monitoring DAHDI devices. + + http://www.asterisk.org/downloads/dahdi + +# Two comments, otherwise it may not fit in menuconfig for narrow terminals +comment "dahdi-tools needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LINUX_KERNEL + +comment "dahdi-tools needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL
package/dahdi-tools/dahdi-tools.hash new file +4 -0
@@ -0,0 +1,4 @@ +# sha1 from http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases +# sha256 locally computed +sha1 5da944e6d59a977f814230253f3ddf2847e7f31b dahdi-tools-2.11.1.tar.gz +sha256 53ffeb333f3e44b0c88e5b17475cdbf87d3f652eb81a6422de76250c061e2909 dahdi-tools-2.11.1.tar.gz
package/dahdi-tools/dahdi-tools.mk new file +32 -0
@@ -0,0 +1,32 @@ +################################################################################ +# +# dahdi-tools +# +################################################################################ + +DAHDI_TOOLS_VERSION = 2.11.1 +DAHDI_TOOLS_SITE = http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases + +DAHDI_TOOLS_LICENSE = GPLv2, LGPLv2.1 +DAHDI_TOOLS_LICENSE_FILES = LICENSE LICENSE.LGPL + +DAHDI_TOOLS_DEPENDENCIES = dahdi-linux perl + +DAHDI_TOOLS_INSTALL_STAGING = YES +DAHDI_TOOLS_AUTORECONF = YES + +# Buildroot globally exports PERL with the value it has on the host, so we need +# to override it with the location where it will be on the target. +DAHDI_TOOLS_CONF_ENV = PERL=/usr/bin/perl + +DAHDI_TOOLS_CONF_OPTS = \ + --without-newt \ + --without-usb \ + --without-pcap \ + --without-libusbx \ + --without-libusb \ + --without-selinux \ + --without-ppp \ + --with-perllib=/usr/lib/perl5/$(PERL_VERSION) + +$(eval $(autotools-package))
Signature · 1 line
2.11.0
PATCH v2 22/49 package/dahdi-tools: add USB support
In reply to Yann E. MORINdahdi-tools can use either libusb-1.0.x or libusb-0.1.x, and Buildroot packages both, respectively as libusb and as libusb-compat.
However, the terminology used by dahdi-tools is a little bit confusing. dahdi-tools references libusb-1.0.x as libusbx, while it knows libusb-0.1.x as just plain libusb.
So, here's a samll summary table;
Those tools | libusb version |
know it as... | 0.1.x | 1.0.x | --------------+---------------+-------------+
Buildroot | libusb-compat | libusb |
dahdi-tools | libusb | libusbx |
However, in Buildroot, libusb-compat (0.1.x) depends on libusb (1.0.x). So, whenever libusb-compat is enabled, we can be sure that libusb is enabled too.
So, from the perspective of dahdi-tools, we need not care about libusb (0.1.x) since we will always have libusbx (1.0.x).
Ergo, we only care about Buildroot libusb (1.0.x) to decide whether or not to enable USB support in dahdi-tools with libusbx, while libusb is always disabled.
--- package/dahdi-tools/dahdi-tools.mk | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-)
package/dahdi-tools/dahdi-tools.mk +27 -2
@@ -21,12 +21,37 @@ DAHDI_TOOLS_CONF_ENV = PERL=/usr/bin/perl DAHDI_TOOLS_CONF_OPTS = \ --without-newt \ - --without-usb \ --without-pcap \ - --without-libusbx \ --without-libusb \ --without-selinux \ --without-ppp \ --with-perllib=/usr/lib/perl5/$(PERL_VERSION) +# dahdi-tools can use either libusb-1.0.x (libusb in Buildroot) +# or libusb-0.9.x (libusb-compat in Buildroot). The former is +# enabled using --with-libusbx, while the latter is enabled using +# --with-libusb. Both require --with-usb for USB support to be +# effectively enabled. +# +# Note: libsubx was a fork of libusb, which was merged back into +# libusb for the 1.0.18 release in early 2014, but it looks like +# dahdi-tools uses the libusbx vs. libusb to differentiate whether +# to use the 1.0.x vs. 0.9.x libusb. Since in Buildroot, libusb-compat +# anyway depends on libusb, presence of libusb-compat means that +# libusb is enabled, so we only support libusb for dahdi-tools. +# +# Yet, we must ensure build-ordering in case libusb-compat id enabled. +# +# Yes, this is very confusing. +# +ifeq ($(BR2_PACKAGE_LIBUSB),y) +DAHDI_TOOLS_DEPENDENCIES += libusb +DAHDI_TOOLS_CONF_OPTS += --with-usb --with-libusbx +ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y) +DAHDI_TOOLS_DEPENDENCIES += libusb-comapt +endif +else +DAHDI_TOOLS_CONF_OPTS += --without-usb --without-libusbx +endif + $(eval $(autotools-package))
Signature · 1 line
2.11.0
PATCH v2 22/49 package/dahdi-tools: add USB support
Hi Yann,
I'm in the process of applying this series. Small problem here.
Quoted 2 lines · Yann E. MORIN
dahdi-tools can use either libusb-1.0.x or libusb-0.1.x, and Buildroot packages both, respectively as libusb and as libusb-compat.
[snip]
package/dahdi-tools/dahdi-tools.mk DAHDI_TOOLS_CONF_ENV = PERL=/usr/bin/perl · line 43
Quoted 8 lines
package/dahdi-tools/dahdi-tools.mk +8
-0+# Note: libsubx was a fork of libusb, which was merged back into +# libusb for the 1.0.18 release in early 2014, but it looks like +# dahdi-tools uses the libusbx vs. libusb to differentiate whether +# to use the 1.0.x vs. 0.9.x libusb. Since in Buildroot, libusb-compat +# anyway depends on libusb, presence of libusb-compat means that +# libusb is enabled, so we only support libusb for dahdi-tools. +# +# Yet, we must ensure build-ordering in case libusb-compat id enabled.
That bit doesn't make sense to me. Since we always pass --without-libusb, why
would this be needed?
package/dahdi-tools/dahdi-tools.mk DAHDI_TOOLS_CONF_ENV = PERL=/usr/bin/perl · line 51
Quoted 8 lines
package/dahdi-tools/dahdi-tools.mk +8
-0+# +# Yes, this is very confusing. +# +ifeq ($(BR2_PACKAGE_LIBUSB),y) +DAHDI_TOOLS_DEPENDENCIES += libusb +DAHDI_TOOLS_CONF_OPTS += --with-usb --with-libusbx +ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y) +DAHDI_TOOLS_DEPENDENCIES += libusb-comapt
This will surely give a build error :-)
Regards,
Arnout
Quoted 7 lines
package/dahdi-tools/dahdi-tools.mk +5
-0+endif +else +DAHDI_TOOLS_CONF_OPTS += --without-usb --without-libusbx +endif + $(eval $(autotools-package))
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH v2 22/49 package/dahdi-tools: add USB support
On 2017-09-23 18:28 +0200, Arnout Vandecappelle spake thusly:
Quoted 9 lines
Hi Yann,
I'm in the process of applying this series. Small problem here.
Quoted 2 lines · Yann E. MORIN
dahdi-tools can use either libusb-1.0.x or libusb-0.1.x, and Buildroot packages both, respectively as libusb and as libusb-compat.
[snip]
Quoted 11 lines
package/dahdi-tools/dahdi-tools.mk DAHDI_TOOLS_CONF_ENV = PERL=/usr/bin/perl · line 43
Quoted 8 lines
package/dahdi-tools/dahdi-tools.mk +8
-0+# Note: libsubx was a fork of libusb, which was merged back into +# libusb for the 1.0.18 release in early 2014, but it looks like +# dahdi-tools uses the libusbx vs. libusb to differentiate whether +# to use the 1.0.x vs. 0.9.x libusb. Since in Buildroot, libusb-compat +# anyway depends on libusb, presence of libusb-compat means that +# libusb is enabled, so we only support libusb for dahdi-tools. +# +# Yet, we must ensure build-ordering in case libusb-compat id enabled.That bit doesn't make sense to me. Since we always pass --without-libusb, why
would this be needed?
Hmm.. Lemme get my mind back together...
Well, even since we do not enforce ordering at all in fact, this is probasbly a leftover from a previous tentative...
Quoted 10 lines
package/dahdi-tools/dahdi-tools.mk DAHDI_TOOLS_CONF_ENV = PERL=/usr/bin/perl · line 51
Quoted 8 lines
package/dahdi-tools/dahdi-tools.mk +8
-0+# +# Yes, this is very confusing. +# +ifeq ($(BR2_PACKAGE_LIBUSB),y) +DAHDI_TOOLS_DEPENDENCIES += libusb +DAHDI_TOOLS_CONF_OPTS += --with-usb --with-libusbx +ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y) +DAHDI_TOOLS_DEPENDENCIES += libusb-comaptThis will surely give a build error :-)
Meh... It means I did not try-build with libusb enabled... :-/
Regards,
Yann E. MORIN.
Quoted 18 lines
Regards,
ArnoutQuoted 7 lines
package/dahdi-tools/dahdi-tools.mk +5
-0+endif +else +DAHDI_TOOLS_CONF_OPTS += --without-usb --without-libusbx +endif + $(eval $(autotools-package))Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH v2 23/49 package/asterisk: add support for dahdi
In reply to Yann E. MORINDAHDI is the 'framework' to drive actual telehony cards. Using telephony cards without signalling is pretty much meaningless, so signalling will be added in later commits.
libtonezone is provided by dhadi-tools, while the dahdi headers are provided by dahdi-linux. Go figure.
--- package/asterisk/asterisk.mk | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
package/asterisk/asterisk.mk +7 -2
@@ -45,7 +45,6 @@ ASTERISK_CONF_OPTS = \ --without-cap \ --without-cpg \ --without-curses \ - --without-dahdi \ --without-gtk2 \ --without-gmime \ --without-h323 \
@@ -88,7 +87,6 @@ ASTERISK_CONF_OPTS = \ --without-termcap \ --without-timerfd \ --without-tinfo \ - --without-tonezone \ --without-unbound \ --without-unixodbc \ --without-vpb \
@@ -202,6 +200,13 @@ else ASTERISK_CONF_OPTS += --without-radius endif +ifeq ($(BR2_PACKAGE_DAHDI_LINUX)$(BR2_PACKAGE_DAHDI_TOOLS),yy) +ASTERISK_DEPENDENCIES += dahdi-linux dahdi-tools +ASTERISK_CONF_OPTS += --with-dahdi --with-tonezone +else +ASTERISK_CONF_OPTS += --without-dahdi --without-tonezone +endif # DAHDI + ifeq ($(BR2_PACKAGE_OPENSSL),y) ASTERISK_DEPENDENCIES += openssl ASTERISK_CONF_OPTS += --with-ssl
Signature · 1 line
2.11.0
PATCH v2 24/49 package/libss7: new package
In reply to Yann E. MORINThe Makefile in the package is not very versatile, so we need to go our way to only build and install what we can.
Fixing the Makefile is not worth it, considering that we can quite easily do all of that in our .mk.
--- package/Config.in | 1 + package/libss7/Config.in | 18 +++++++++++++++ package/libss7/libss7.hash | 3 +++ package/libss7/libss7.mk | 55 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 package/libss7/Config.in create mode 100644 package/libss7/libss7.hash create mode 100644 package/libss7/libss7.mk
package/Config.in +1 -0
@@ -1165,6 +1165,7 @@ menu "Hardware handling" source "package/libsigrok/Config.in" source "package/libsigrokdecode/Config.in" source "package/libsoc/Config.in" + source "package/libss7/Config.in" source "package/libusb/Config.in" source "package/libusb-compat/Config.in" source "package/libusbgx/Config.in"
package/libss7/Config.in new file +18 -0
@@ -0,0 +1,18 @@ +config BR2_PACKAGE_LIBSS7 + bool "libss7" + depends on BR2_LINUX_KERNEL + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_DAHDI_LINUX + select BR2_PACKAGE_DAHDI_TOOLS + help + libss7 is an open source library that encapsulates the + protocols used to communicate using Signaling System 7 + over ISDN (T1, E1). + + http://www.asterisk.org/downloads/libss7 + +comment "libss7 needs a kernel to be built" + depends on !BR2_LINUX_KERNEL + +comment "libss7 needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS
package/libss7/libss7.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Hashes from http://downloads.asterisk.org/pub/telephony/libss7/releases/ +sha1 7112a0717293fc273d5d488e1387ad28abe4e9b3 libss7-2.0.0.tar.gz +sha256 5af00853cfb2bc6bcf050947804db132ae6872db0cd2ab24b5378828f78eda52 libss7-2.0.0.tar.gz
package/libss7/libss7.mk new file +55 -0
55 lines not on this page · raw message
Signature · 1 line
2.11.0
PATCH v2 25/49 package/asterisk: add support for SS7
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
package/asterisk/asterisk.mk +9 -2
@@ -80,7 +80,6 @@ ASTERISK_CONF_OPTS = \ --without-sdl \ --without-SDL_image \ --without-spandsp \ - --without-ss7 \ --without-sqlite \ --without-suppserv \ --without-tds \
@@ -203,8 +202,16 @@ endif ifeq ($(BR2_PACKAGE_DAHDI_LINUX)$(BR2_PACKAGE_DAHDI_TOOLS),yy) ASTERISK_DEPENDENCIES += dahdi-linux dahdi-tools ASTERISK_CONF_OPTS += --with-dahdi --with-tonezone + +ifeq ($(BR2_PACKAGE_LIBSS7),y) +ASTERISK_DEPENDENCIES += libss7 +ASTERISK_CONF_OPTS += --with-ss7 else -ASTERISK_CONF_OPTS += --without-dahdi --without-tonezone +ASTERISK_CONF_OPTS += --without-ss7 +endif # SS7 + +else +ASTERISK_CONF_OPTS += --without-dahdi --without-tonezone --without-ss7 endif # DAHDI ifeq ($(BR2_PACKAGE_OPENSSL),y)
Signature · 1 line
2.11.0
PATCH v2 26/49 package/libpri: new package
In reply to Yann E. MORINThe Makefile in the package is not very versatile, so we need to go our way to only build and install what we can.
Fixing the Makefile is not worth it, considering that we can quite easily do all of that in our .mk.
--- package/Config.in | 1 + package/libpri/Config.in | 21 +++++++++++++++++++ package/libpri/libpri.hash | 3 +++ package/libpri/libpri.mk | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 package/libpri/Config.in create mode 100644 package/libpri/libpri.hash create mode 100644 package/libpri/libpri.mk
package/Config.in +1 -0
@@ -1156,6 +1156,7 @@ menu "Hardware handling" source "package/libnfc/Config.in" source "package/libpciaccess/Config.in" source "package/libphidget/Config.in" + source "package/libpri/Config.in" source "package/libqmi/Config.in" source "package/libraw1394/Config.in" source "package/librtas/Config.in"
package/libpri/Config.in new file +21 -0
@@ -0,0 +1,21 @@ +config BR2_PACKAGE_LIBPRI + bool "libpri" + depends on BR2_USE_MMU # fork() + depends on BR2_LINUX_KERNEL + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_DAHDI_LINUX + select BR2_PACKAGE_DAHDI_TOOLS + help + libpri is an open source library that encapsulates the + protocols used to communicate over ISDN Primary Rate + Interfaces (T1, E1, J1). + + http://www.asterisk.org/downloads/libpri + +comment "libpri needs a kernel to be built" + depends on BR2_USE_MMU + depends on !BR2_LINUX_KERNEL + +comment "libpri needs a toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS
package/libpri/libpri.hash new file +3 -0
@@ -0,0 +1,3 @@ +# sha1 and sha256 from http://downloads.asterisk.org/pub/telephony/libpri/releases/ +sha1 63536f3300fb007dfd5fe8064406992ca938bd9a libpri-1.5.0.tar.gz +sha256 ee224bc4aa65c54546bd09675c3f0b71817ce9e277332bce86989d8dcd556a24 libpri-1.5.0.tar.gz
package/libpri/libpri.mk new file +52 -0
52 lines not on this page · raw message
Signature · 1 line
2.11.0
PATCH v2 27/49 package/asterisk: add support for PRI signalling
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)
package/asterisk/asterisk.mk +10 -2
@@ -74,7 +74,6 @@ ASTERISK_CONF_OPTS = \ --without-postgres \ --without-pjproject \ --without-popt \ - --without-pri \ --without-pwlib \ --without-resample \ --without-sdl \
@@ -203,6 +202,13 @@ ifeq ($(BR2_PACKAGE_DAHDI_LINUX)$(BR2_PACKAGE_DAHDI_TOOLS),yy) ASTERISK_DEPENDENCIES += dahdi-linux dahdi-tools ASTERISK_CONF_OPTS += --with-dahdi --with-tonezone +ifeq ($(BR2_PACKAGE_LIBPRI),y) +ASTERISK_DEPENDENCIES += libpri +ASTERISK_CONF_OPTS += --with-pri +else +ASTERISK_CONF_OPTS += --without-pri +endif # PRI + ifeq ($(BR2_PACKAGE_LIBSS7),y) ASTERISK_DEPENDENCIES += libss7 ASTERISK_CONF_OPTS += --with-ss7
@@ -211,7 +217,9 @@ ASTERISK_CONF_OPTS += --without-ss7 endif # SS7 else -ASTERISK_CONF_OPTS += --without-dahdi --without-tonezone --without-ss7 +ASTERISK_CONF_OPTS += \ + --without-dahdi --without-tonezone \ + --without-pri --without-ss7 endif # DAHDI ifeq ($(BR2_PACKAGE_OPENSSL),y)
Signature · 1 line
2.11.0
PATCH v2 28/49 package/spandsp: new package
In reply to Yann E. MORIN--- package/Config.in | 1 + package/spandsp/0001-fix-msse4.x.patch | 29 +++++++++++++++++++++++++++++ package/spandsp/Config.in | 9 +++++++++ package/spandsp/spandsp.hash | 2 ++ package/spandsp/spandsp.mk | 28 ++++++++++++++++++++++++++++ 5 files changed, 69 insertions(+) create mode 100644 package/spandsp/0001-fix-msse4.x.patch create mode 100644 package/spandsp/Config.in create mode 100644 package/spandsp/spandsp.hash create mode 100644 package/spandsp/spandsp.mk
package/Config.in +1 -0
@@ -964,6 +964,7 @@ menu "Audio/Sound" source "package/opusfile/Config.in" source "package/portaudio/Config.in" source "package/sbc/Config.in" + source "package/spandsp/Config.in" source "package/speex/Config.in" source "package/taglib/Config.in" source "package/tinyalsa/Config.in"
package/spandsp/0001-fix-msse4.x.patch new file +29 -0
@@ -0,0 +1,29 @@ +diff -durN spandsp-20170713.orig/configure.ac spandsp-20170713/configure.ac +--- spandsp-20170713.orig/configure.ac 2014-08-09 10:19:27.000000000 +0200 ++++ spandsp-20170713/configure.ac 2017-09-07 21:38:36.990854021 +0200 +@@ -354,10 +354,10 @@ + COMP_VENDOR_CFLAGS="-msse4a $COMP_VENDOR_CFLAGS" + fi + if test "$enable_sse4_2" = "yes" ; then +- COMP_VENDOR_CFLAGS="-msse42 $COMP_VENDOR_CFLAGS" ++ COMP_VENDOR_CFLAGS="-msse4.2 $COMP_VENDOR_CFLAGS" + fi + if test "$enable_sse4_1" = "yes" ; then +- COMP_VENDOR_CFLAGS="-msse41 $COMP_VENDOR_CFLAGS" ++ COMP_VENDOR_CFLAGS="-msse4.1 $COMP_VENDOR_CFLAGS" + fi + if test "$enable_ssse3" = "yes" ; then + COMP_VENDOR_CFLAGS="-mssse3 $COMP_VENDOR_CFLAGS" +@@ -418,10 +418,10 @@ + COMP_VENDOR_CFLAGS="-msse4a $COMP_VENDOR_CFLAGS" + fi + if test "$enable_sse4_2" = "yes" ; then +- COMP_VENDOR_CFLAGS="-msse42 $COMP_VENDOR_CFLAGS" ++ COMP_VENDOR_CFLAGS="-msse4.2 $COMP_VENDOR_CFLAGS" + fi + if test "$enable_sse4_1" = "yes" ; then +- COMP_VENDOR_CFLAGS="-msse41 $COMP_VENDOR_CFLAGS" ++ COMP_VENDOR_CFLAGS="-msse4.1 $COMP_VENDOR_CFLAGS" + fi + if test "$enable_ssse3" = "yes" ; then + COMP_VENDOR_CFLAGS="-mssse3 $COMP_VENDOR_CFLAGS"
package/spandsp/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_SPANDSP + bool "spandsp" + select BR2_PACKAGE_TIFF + help + Spandsp is a library of many DSP functions for telephony. + These range from simple modules, such as DTMF detection, to + a complete software FAX machine. + + http://www.soft-switch.org/
package/spandsp/spandsp.hash new file +2 -0
@@ -0,0 +1,2 @@ +# sha256 locally computed +sha256 fcdc49aafbd4999514f2851f0dcfdc0bfa497eda600e66335a621cdead8b44cb spandsp-20170713.tar.gz
package/spandsp/spandsp.mk new file +28 -0
@@ -0,0 +1,28 @@ +################################################################################ +# +# spandsp +# +################################################################################ + +SPANDSP_VERSION = 20170713 +SPANDSP_SITE = https://www.soft-switch.org/downloads/spandsp/snapshots + +SPANDSP_LICENSE = LGPLv2.1 (library), GPLv2 (test suite) +SPANDSP_LICENSE_FILES = COPYING + +SPANDSP_AUTORECONF = YES +SPANDSP_DEPENDENCIES = tiff +SPANDSP_INSTALL_STAGING = YES + +SPANDSP_CONF_OPTS = \ + --disable-doc \ + --disable-builtin-tiff \ + $(if $(BR2_X86_CPU_HAS_MMX),--enable-mmx,--disable-mmx) \ + $(if $(BR2_X86_CPU_HAS_SSE),--enable-sse,--disable-sse) \ + $(if $(BR2_X86_CPU_HAS_SSE2),--enable-sse2,--disable-sse2) \ + $(if $(BR2_X86_CPU_HAS_SSE3),--enable-sse3,--disable-sse3) \ + $(if $(BR2_X86_CPU_HAS_SSSE3),--enable-ssse3,--disable-ssse3) \ + $(if $(BR2_X86_CPU_HAS_SSE4),--enable-sse4-1,--disable-sse4-1) \ + $(if $(BR2_X86_CPU_HAS_SSE42),--enable-sse4-2,--disable-sse4-2) + +$(eval $(autotools-package))
Signature · 1 line
2.11.0
PATCH v2 28/49 package/spandsp: new package
On 09-09-17 23:39, Yann E. MORIN wrote:
[snip]
package/spandsp/0001-fix-msse4.x.patch line 4
Quoted 10 lines
package/spandsp/0001-fix-msse4.x.patch new file +4
-0@@ -0,0 +1,29 @@ +diff -durN spandsp-20170713.orig/configure.ac spandsp-20170713/configure.ac +--- spandsp-20170713.orig/configure.ac 2014-08-09 10:19:27.000000000 +0200 ++++ spandsp-20170713/configure.ac 2017-09-07 21:38:36.990854021 +0200 +@@ -354,10 +354,10 @@
Missing message + SoB. I'd add it myself but I'm not sure what to add :-)
package/spandsp/0001-fix-msse4.x.patch line 9
Quoted 5 lines
package/spandsp/0001-fix-msse4.x.patch new file +5
-0+ COMP_VENDOR_CFLAGS="-msse4a $COMP_VENDOR_CFLAGS" + fi + if test "$enable_sse4_2" = "yes" ; then +- COMP_VENDOR_CFLAGS="-msse42 $COMP_VENDOR_CFLAGS" ++ COMP_VENDOR_CFLAGS="-msse4.2 $COMP_VENDOR_CFLAGS"
Are we sure that e.g. GCC 4.3 didn't have the -msse42 flag? So I checked, and
the flag was added in 4.3, so exactly right :-)
[snip]
package/spandsp/0001-fix-msse4.x.patch line 11
Quoted 2 lines
package/spandsp/0001-fix-msse4.x.patch new file +2
-0+ +SPANDSP_LICENSE = LGPLv2.1 (library), GPLv2 (test suite)
Please use SPDX license codes.
package/spandsp/0001-fix-msse4.x.patch line 12
Quoted 1 line
package/spandsp/0001-fix-msse4.x.patch new file +1
-0+SPANDSP_LICENSE_FILES = COPYING
And add license hashes.
I'm doing that for the other packages while I'm committing, but since you're
going to respin this one...
Regards,
Arnout
Quoted 18 lines
package/spandsp/0001-fix-msse4.x.patch new file +17
-0+ +SPANDSP_AUTORECONF = YES +SPANDSP_DEPENDENCIES = tiff +SPANDSP_INSTALL_STAGING = YES + +SPANDSP_CONF_OPTS = \ + --disable-doc \ + --disable-builtin-tiff \ + $(if $(BR2_X86_CPU_HAS_MMX),--enable-mmx,--disable-mmx) \ + $(if $(BR2_X86_CPU_HAS_SSE),--enable-sse,--disable-sse) \ + $(if $(BR2_X86_CPU_HAS_SSE2),--enable-sse2,--disable-sse2) \ + $(if $(BR2_X86_CPU_HAS_SSE3),--enable-sse3,--disable-sse3) \ + $(if $(BR2_X86_CPU_HAS_SSSE3),--enable-ssse3,--disable-ssse3) \ + $(if $(BR2_X86_CPU_HAS_SSE4),--enable-sse4-1,--disable-sse4-1) \ + $(if $(BR2_X86_CPU_HAS_SSE42),--enable-sse4-2,--disable-sse4-2) + +$(eval $(autotools-package))
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH v2 28/49 package/spandsp: new package
Arnout, All,
On 2017-09-23 18:40 +0200, Arnout Vandecappelle spake thusly:
Quoted 14 lines · Yann E. MORIN
[snip]
package/spandsp/0001-fix-msse4.x.patch line 4
Quoted 10 lines
package/spandsp/0001-fix-msse4.x.patch new file +4
-0@@ -0,0 +1,29 @@ +diff -durN spandsp-20170713.orig/configure.ac spandsp-20170713/configure.ac +--- spandsp-20170713.orig/configure.ac 2014-08-09 10:19:27.000000000 +0200 ++++ spandsp-20170713/configure.ac 2017-09-07 21:38:36.990854021 +0200 +@@ -354,10 +354,10 @@Missing message + SoB. I'd add it myself but I'm not sure what to add :-)
Well, there's not much to say: the flags are incorrectly named in the configure script, so we just fix them...
Quoted 8 lines
package/spandsp/0001-fix-msse4.x.patch line 9
Quoted 5 lines
package/spandsp/0001-fix-msse4.x.patch new file +5
-0+ COMP_VENDOR_CFLAGS="-msse4a $COMP_VENDOR_CFLAGS" + fi + if test "$enable_sse4_2" = "yes" ; then +- COMP_VENDOR_CFLAGS="-msse42 $COMP_VENDOR_CFLAGS" ++ COMP_VENDOR_CFLAGS="-msse4.2 $COMP_VENDOR_CFLAGS"Are we sure that e.g. GCC 4.3 didn't have the -msse42 flag? So I checked, and
the flag was added in 4.3, so exactly right :-)
Thanks for answering your own question! ;-)
Quoted 3 lines
package/spandsp/0001-fix-msse4.x.patch line 11
Quoted 2 lines
package/spandsp/0001-fix-msse4.x.patch new file +2
-0+ +SPANDSP_LICENSE = LGPLv2.1 (library), GPLv2 (test suite)Please use SPDX license codes.
ACK.
Quoted 2 lines
package/spandsp/0001-fix-msse4.x.patch line 12
Quoted 1 line
package/spandsp/0001-fix-msse4.x.patch new file +1
-0+SPANDSP_LICENSE_FILES = COPYINGAnd add license hashes.
ACK.
Quoted 2 lines
I'm doing that for the other packages while I'm committing, but since you're
going to respin this one...
Thanks! :-)
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH v2 29/49 package/asterisk: add optional spandsp support
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -78,7 +78,6 @@ ASTERISK_CONF_OPTS = \ --without-resample \ --without-sdl \ --without-SDL_image \ - --without-spandsp \ --without-sqlite \ --without-suppserv \ --without-tds \
@@ -229,6 +228,13 @@ else ASTERISK_CONF_OPTS += --without-ssl endif +ifeq ($(BR2_PACKAGE_SPANDSP),y) +ASTERISK_DEPENDENCIES += spandsp +ASTERISK_CONF_OPTS += --with-spandsp +else +ASTERISK_CONF_OPTS += --without-spandsp +endif + ifeq ($(BR2_PACKAGE_SPEEX),y) ASTERISK_DEPENDENCIES += speex ASTERISK_CONF_OPTS += --with-speex --with-speexdsp
Signature · 1 line
2.11.0
PATCH v2 30/49 package/libqb: new package
In reply to Yann E. MORIN--- package/Config.in | 1 + ...fix-CLOCK_MONOTONIC-check-for-cross-compi.patch | 33 ++++++++++++++++++++++ package/libqb/Config.in | 12 ++++++++ package/libqb/libqb.hash | 2 ++ package/libqb/libqb.mk | 32 +++++++++++++++++++++ 5 files changed, 80 insertions(+) create mode 100644 package/libqb/0001-bconfigure-fix-CLOCK_MONOTONIC-check-for-cross-compi.patch create mode 100644 package/libqb/Config.in create mode 100644 package/libqb/libqb.hash create mode 100644 package/libqb/libqb.mk
package/Config.in +1 -0
@@ -1453,6 +1453,7 @@ menu "Other" source "package/libpthread-stubs/Config.in" source "package/libpthsem/Config.in" source "package/libpwquality/Config.in" + source "package/libqb/Config.in" source "package/libseccomp/Config.in" source "package/libsigc/Config.in" source "package/libsigsegv/Config.in"
package/libqb/0001-bconfigure-fix-CLOCK_MONOTONIC-check-for-cross-compi.patch new file +33 -0
@@ -0,0 +1,33 @@ +From f9857721bfe5c47253bc2cf487d9dcc94cbce3c2 Mon Sep 17 00:00:00 2001 +From: "Yann E. MORIN" <[email protected]> +Date: Mon, 26 Dec 2016 19:38:45 +0100 +Subject: [PATCH] bconfigure: fix CLOCK_MONOTONIC check for cross-compilation + +In cross-compilation, we can't run test programs, so configure just +bails out. Since there is no cache variable (e.g. ac_cv_blabla, we can't +even provide the correct result. + +But in thise case, we don't really need to run to start with; we just +need to check if the toolchain headers know about CLOCK_MONOTONIC. + +Signed-off-by: "Yann E. MORIN" <[email protected]> +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 560b330..6972213 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -179,7 +179,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM( + ) + + AC_MSG_CHECKING(for a working clock_getres(CLOCK_MONOTONIC, &ts)) +-AC_RUN_IFELSE([AC_LANG_PROGRAM( ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM( + [[#include <time.h>]], + [[struct timespec ts; if(clock_getres(CLOCK_MONOTONIC, &ts)) return -1;]])], + [ +-- +2.7.4 +
package/libqb/Config.in new file +12 -0
@@ -0,0 +1,12 @@ +config BR2_PACKAGE_LIBQB + bool "libqb" + depends on BR2_TOOLCHAIN_HAS_THREADS + help + libqb is a library with the primary purpose of providing high + performance client server reusable features. It provides high + performance logging, tracing, ipc, and poll. + + https://github.com/clusterlabs/libqb/wiki + +comment "libqb needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS
package/libqb/libqb.hash new file +2 -0
@@ -0,0 +1,2 @@ +# sha256 locally computed +sha256 98a6f8d7b83013747788ff7f1aace387ec532a8e7fbecc354ad9260f426dd518 libqb-v1.0.1.tar.gz
package/libqb/libqb.mk new file +32 -0
@@ -0,0 +1,32 @@ +################################################################################ +# +# libqb +# +################################################################################ + +LIBQB_VERSION = v1.0.1 +LIBQB_SITE = $(call github,ClusterLabs,libqb,$(LIBQB_VERSION)) + +LIBQB_LICENSE = LGPLv2.1+ +LIBQB_LICENSE_FILES = COPYING + +LIBQB_DEPENDENCIES = host-pkgconf + +# Straight out of the repository, no configure present. Also, we do patch +# configure.ac. +LIBQB_AUTORECONF = YES + +LIBQB_INSTALL_STAGING = YES + +define LIBQB_M4 + $(INSTALL) -d -m 0755 $(@D)/m4 +endef +LIBQB_POST_EXTRACT_HOOKS += LIBQB_M4 + +# Don't build docs +LIBQB_CONF_ENV = ac_cv_prog_DOXYGEN= + +# Don't use -Werror +LIBQB_CONF_OPTS = --disable-fatal-warnings + +$(eval $(autotools-package))
Signature · 1 line
2.11.0
PATCH v2 30/49 package/libqb: new package
On 09-09-17 23:39, Yann E. MORIN wrote:
[snip]
package/libqb/0001-bconfigure-fix-CLOCK_MONOTONIC-check-for-cross-compi.patch line 4
Quoted 4 lines
package/libqb/0001-bconfigure-fix-CLOCK_MONOTONIC-check-for-cross-compi.patch new file +4
-0+From f9857721bfe5c47253bc2cf487d9dcc94cbce3c2 Mon Sep 17 00:00:00 2001 +From: "Yann E. MORIN" <[email protected]> +Date: Mon, 26 Dec 2016 19:38:45 +0100 +Subject: [PATCH] bconfigure: fix CLOCK_MONOTONIC check for cross-compilation
Upstream status?
Quoted 60 lines
package/libqb/0001-bconfigure-fix-CLOCK_MONOTONIC-check-for-cross-compi.patch new file +28
-0+ +In cross-compilation, we can't run test programs, so configure just +bails out. Since there is no cache variable (e.g. ac_cv_blabla, we can't +even provide the correct result. + +But in thise case, we don't really need to run to start with; we just +need to check if the toolchain headers know about CLOCK_MONOTONIC. + +Signed-off-by: "Yann E. MORIN" <[email protected]> +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 560b330..6972213 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -179,7 +179,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM( + ) + + AC_MSG_CHECKING(for a working clock_getres(CLOCK_MONOTONIC, &ts)) +-AC_RUN_IFELSE([AC_LANG_PROGRAM( ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM( + [[#include <time.h>]], + [[struct timespec ts; if(clock_getres(CLOCK_MONOTONIC, &ts)) return -1;]])> + [ +-- +2.7.4 +package/libqb/Config.in new file +12
-0@@ -0,0 +1,12 @@ +config BR2_PACKAGE_LIBQB + bool "libqb" + depends on BR2_TOOLCHAIN_HAS_THREADS + help + libqb is a library with the primary purpose of providing high + performance client server reusable features. It provides high + performance logging, tracing, ipc, and poll. + + https://github.com/clusterlabs/libqb/wiki + +comment "libqb needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADSpackage/libqb/libqb.hash new file +2
-0@@ -0,0 +1,2 @@ +# sha256 locally computed +sha256 98a6f8d7b83013747788ff7f1aace387ec532a8e7fbecc354ad9260f426dd518 libqb-v1.0.1.tar.gzpackage/libqb/libqb.mk new file +0
-0
package/libqb/libqb.mk line 8
Quoted 8 lines
package/libqb/libqb.mk new file +8
-0@@ -0,0 +1,32 @@ +################################################################################ +# +# libqb +# +################################################################################ + +LIBQB_VERSION = v1.0.1 +LIBQB_SITE = $(call github,ClusterLabs,libqb,$(LIBQB_VERSION))
There is an uploaded tarball (which probably contains a configure script).
There's also a 1.0.2 now.
package/libqb/libqb.mk line 11
Quoted 3 lines
package/libqb/libqb.mk new file +3
-0+ +LIBQB_LICENSE = LGPLv2.1+ +LIBQB_LICENSE_FILES = COPYING
SPDX + license hash.
package/libqb/libqb.mk line 22
Quoted 11 lines
package/libqb/libqb.mk new file +11
-0+ +LIBQB_DEPENDENCIES = host-pkgconf + +# Straight out of the repository, no configure present. Also, we do patch +# configure.ac. +LIBQB_AUTORECONF = YES + +LIBQB_INSTALL_STAGING = YES + +define LIBQB_M4 + $(INSTALL) -d -m 0755 $(@D)/m4
We use mkdir -p everywhere else.
package/libqb/libqb.mk line 26
Quoted 4 lines
package/libqb/libqb.mk new file +4
-0+endef +LIBQB_POST_EXTRACT_HOOKS += LIBQB_M4 + +# Don't build docs
We don't usually have these comments, do we?
Regards,
Arnout
Quoted 7 lines
package/libqb/libqb.mk new file +6
-0+LIBQB_CONF_ENV = ac_cv_prog_DOXYGEN= + +# Don't use -Werror +LIBQB_CONF_OPTS = --disable-fatal-warnings + +$(eval $(autotools-package))
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH v2 30/49 package/libqb: new package
Arnout, All,
On 2017-09-23 18:51 +0200, Arnout Vandecappelle spake thusly:
Quoted 10 lines · Yann E. MORIN
[snip]
package/libqb/0001-bconfigure-fix-CLOCK_MONOTONIC-check-for-cross-compi.patch line 4
Quoted 4 lines
package/libqb/0001-bconfigure-fix-CLOCK_MONOTONIC-check-for-cross-compi.patch new file +4
-0+From f9857721bfe5c47253bc2cf487d9dcc94cbce3c2 Mon Sep 17 00:00:00 2001 +From: "Yann E. MORIN" <[email protected]> +Date: Mon, 26 Dec 2016 19:38:45 +0100 +Subject: [PATCH] bconfigure: fix CLOCK_MONOTONIC check for cross-compilationUpstream status?
PR #279. ;-)
OK, I admit: I just sent it. ;-)
[--SNIP--]
Quoted 4 lines
package/libqb/libqb.mk line 8
Quoted 2 lines
package/libqb/libqb.mk new file +2
-0+LIBQB_VERSION = v1.0.1 +LIBQB_SITE = $(call github,ClusterLabs,libqb,$(LIBQB_VERSION))There is an uploaded tarball (which probably contains a configure script).
That tarball was uploaded in May 2017, while the release was tagged in November 2017. Of course, I did the package in-between those two dates...
Quoted 1 line
There's also a 1.0.2 now.
Yup, I've now seen that.
Quoted 4 lines
package/libqb/libqb.mk line 11
Quoted 2 lines
package/libqb/libqb.mk new file +2
-0+LIBQB_LICENSE = LGPLv2.1+ +LIBQB_LICENSE_FILES = COPYINGSPDX + license hash.
ACK.
Quoted 4 lines
Quoted 4 lines
package/libqb/libqb.mk new file +4
-0+LIBQB_DEPENDENCIES = host-pkgconf + +# Straight out of the repository, no configure present. Also, we do patch +# configure.ac.
Quoted 8 lines
package/libqb/libqb.mk line 22
Quoted 6 lines
package/libqb/libqb.mk new file +6
-0+LIBQB_AUTORECONF = YES + +LIBQB_INSTALL_STAGING = YES + +define LIBQB_M4 + $(INSTALL) -d -m 0755 $(@D)/m4We use mkdir -p everywhere else.
ACK.
Quoted 6 lines
package/libqb/libqb.mk line 26
Quoted 4 lines
package/libqb/libqb.mk new file +4
-0+endef +LIBQB_POST_EXTRACT_HOOKS += LIBQB_M4 + +# Don't build docsWe don't usually have these comments, do we?
ACK.
Thanks!
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH v2 30/49 package/libqb: new package
Arnout, All,
On 2017-09-24 21:45 +0200, Yann E. MORIN spake thusly:
Quoted 7 lines
On 2017-09-23 18:51 +0200, Arnout Vandecappelle spake thusly:
Quoted 6 lines · Yann E. MORIN
[snip]
package/libqb/libqb.mk line 8
Quoted 2 lines
package/libqb/libqb.mk new file +2
-0+LIBQB_VERSION = v1.0.1 +LIBQB_SITE = $(call github,ClusterLabs,libqb,$(LIBQB_VERSION))There is an uploaded tarball (which probably contains a configure script).
And even if there is a configure script, we still need to autoreconf, since we still need to patch configure.ac.
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH v2 31/49 package/corosync: new package
In reply to Yann E. MORIN--- package/Config.in | 1 + package/corosync/Config.in | 20 ++++++++++++++++++ package/corosync/corosync.hash | 2 ++ package/corosync/corosync.mk | 47 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 package/corosync/Config.in create mode 100644 package/corosync/corosync.hash create mode 100644 package/corosync/corosync.mk
package/Config.in +1 -0
@@ -1405,6 +1405,7 @@ menu "Other" source "package/boost/Config.in" source "package/clapack/Config.in" source "package/classpath/Config.in" + source "package/corosync/Config.in" source "package/cppcms/Config.in" source "package/cracklib/Config.in" source "package/dawgdic/Config.in"
package/corosync/Config.in new file +20 -0
@@ -0,0 +1,20 @@ +config BR2_PACKAGE_COROSYNC + bool "corosync" + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnss -> libnsp + depends on !BR2_STATIC_LIBS # libnss + select BR2_PACKAGE_LIBNSS + select BR2_PACKAGE_LIBQB + select BR2_PACKAGE_ZLIB + help + The Corosync Cluster Engine is a Group Communication System + with additional features for implementing high availability + within applications. + + https://corosync.github.io/corosync/ + +comment "corosync needs a toolchain w/ threads, dunamic library" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
package/corosync/corosync.hash new file +2 -0
@@ -0,0 +1,2 @@ +# sha256 locally computed +sha256 0dd0ee718253c18c5090e0304eec72a7be8b18b6fe5e03de59ce095fa08c8b63 corosync-v2.4.2.tar.gz
package/corosync/corosync.mk new file +47 -0
47 lines not on this page · raw message
Signature · 1 line
2.11.0
PATCH v2 31/49 package/corosync: new package
Quoted 29 lines · Yann E. MORIN
Signed-off-by "Yann E. MORIN" <[email protected]>--- package/Config.in | 1 + package/corosync/Config.in | 20 ++++++++++++++++++ package/corosync/corosync.hash | 2 ++ package/corosync/corosync.mk | 47 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 package/corosync/Config.in create mode 100644 package/corosync/corosync.hash create mode 100644 package/corosync/corosync.mkpackage/Config.in +1
-0@@ -1405,6 +1405,7 @@ menu "Other" source "package/boost/Config.in" source "package/clapack/Config.in" source "package/classpath/Config.in" + source "package/corosync/Config.in" source "package/cppcms/Config.in" source "package/cracklib/Config.in" source "package/dawgdic/Config.in"package/corosync/Config.in new file +0
-0
package/corosync/Config.in line 5
Quoted 5 lines
package/corosync/Config.in new file +5
-0@@ -0,0 +1,20 @@ +config BR2_PACKAGE_COROSYNC + bool "corosync" + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnss -> libnsp
Put arch deps in the beginning.
package/corosync/Config.in line 17
Quoted 12 lines
package/corosync/Config.in new file +12
-0+ depends on !BR2_STATIC_LIBS # libnss + select BR2_PACKAGE_LIBNSS + select BR2_PACKAGE_LIBQB + select BR2_PACKAGE_ZLIB + help + The Corosync Cluster Engine is a Group Communication System + with additional features for implementing high availability + within applications. + + https://corosync.github.io/corosync/ + +comment "corosync needs a toolchain w/ threads, dunamic library"
dynamic
Quoted 17 lines
package/corosync/Config.in new file +3
-0+ depends on BR2_USE_MMU + depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBSpackage/corosync/corosync.hash new file +2
-0@@ -0,0 +1,2 @@ +# sha256 locally computed +sha256 0dd0ee718253c18c5090e0304eec72a7be8b18b6fe5e03de59ce095fa08c8b63 corosync-v2.4.2.tar.gzpackage/corosync/corosync.mk new file +0
-0
package/corosync/corosync.mk line 8
Quoted 8 lines
package/corosync/corosync.mk new file +8
-0@@ -0,0 +1,47 @@ +################################################################################ +# +# corosync +# +################################################################################ + +COROSYNC_VERSION = v2.4.2 +COROSYNC_SITE = $(call github,corosync,corosync,$(COROSYNC_VERSION))
Anything wrong with the official
http://build.clusterlabs.org/corosync/releases/corosync-2.4.2.tar.gz download location?
Quoted 20 lines
package/corosync/corosync.mk new file +20
-0+ +COROSYNC_LICENSE = BSD-3c +COROSYNC_LICENSE_FILES = LICENSE + +COROSYNC_DEPENDENCIES = libnss libqb zlib +COROSYNC_AUTORECONF = YES +COROSYNC_INSTALL_STAGING = YES + +define COROSYNC_M4 + $(INSTALL) -d -m 0755 $(@D)/m4 +endef +COROSYNC_POST_EXTRACT_HOOKS += COROSYNC_M4 + +# Don't build HTML manpages +COROSYNC_CONF_ENV = ac_cv_prog_GROFF= + +COROSYNC_CONF_OPTS = \ + --disable-fatal-warnings \ + $(if $(BR2_ENABLE_DEBUG),--enable-debug,--disable-debug) \ + --enable-secure-build \
package/corosync/corosync.mk line 38
Quoted 10 lines
package/corosync/corosync.mk new file +10
-0+ --disable-user-flags \ + --disable-coverage \ + --disable-small-memory-footprint \ + --disable-dbus \ + --disable-testagents \ + --disable-rdma \ + --disable-monitoring \ + --disable-watchdog \ + --disable-augeas \ + --disable-systemd \
Hm, below you add a --enable-systemd...
package/corosync/corosync.mk line 40
Quoted 2 lines
package/corosync/corosync.mk new file +2
-0+ --disable-upstart \ + $(if $(BR2_INIT_SYSTEMD),--enable-systemd,--disable-systemd) \
No dependency on systemd needed? It just installs units?
Regards,
Arnout
Quoted 8 lines
package/corosync/corosync.mk new file +7
-0+ --disable-upstart \ + --disable-snmp \ + --disable-xmlconf \ + --disable-qdevices \ + --disable-qnet + +$(eval $(autotools-package))
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH v2 31/49 package/corosync: new package
Arnout, All,
On 2017-09-23 18:58 +0200, Arnout Vandecappelle spake thusly:
Quoted 2 lines · Yann E. MORIN
Quoted 1 line
Signed-off-by "Yann E. MORIN" <[email protected]>
[--SNIP--]
Quoted 10 lines
Quoted 10 lines
package/corosync/corosync.mk new file +4
-0@@ -0,0 +1,47 @@ +################################################################################ +# +# corosync +#
Quoted 8 lines
package/corosync/corosync.mk line 8
Quoted 4 lines
package/corosync/corosync.mk new file +4
-0+################################################################################ + +COROSYNC_VERSION = v2.4.2 +COROSYNC_SITE = $(call github,corosync,corosync,$(COROSYNC_VERSION))Anything wrong with the official
http://build.clusterlabs.org/corosync/releases/corosync-2.4.2.tar.gz download location?
No thing wrong I guess. I can't remember why I went for the github repository... Fixed.
[--SNIP--]
Quoted 2 lines
package/corosync/corosync.mk line 38
Quoted 1 line
package/corosync/corosync.mk new file +1
-0+ --disable-systemd \Hm, below you add a --enable-systemd...
Arg, forgot to remove...
Quoted 3 lines
package/corosync/corosync.mk line 40
Quoted 2 lines
package/corosync/corosync.mk new file +2
-0+ --disable-upstart \ + $(if $(BR2_INIT_SYSTEMD),--enable-systemd,--disable-systemd) \No dependency on systemd needed? It just installs units?
Yes, it only installs unit files.
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH v2 31/49 package/corosync: new package
Quoted 4 lines · Yann E. MORIN
Quoted 3 lines
package/corosync/corosync.mk line 40
Quoted 2 lines
package/corosync/corosync.mk new file +2
-0+ --disable-upstart \ + $(if $(BR2_INIT_SYSTEMD),--enable-systemd,--disable-systemd) \No dependency on systemd needed? It just installs units?
Yes, it only installs unit files.
Could you mention that in the commit message? Adding a comment for it is
probably overkill, but it's nice to have a record somewhere of such things.
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH v2 32/49 package/corosync: add optional dbus support
In reply to Yann E. MORIN--- package/corosync/corosync.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/corosync/corosync.mk +7 -1
@@ -29,7 +29,6 @@ COROSYNC_CONF_OPTS = \ --disable-user-flags \ --disable-coverage \ --disable-small-memory-footprint \ - --disable-dbus \ --disable-testagents \ --disable-rdma \ --disable-monitoring \
@@ -44,4 +43,11 @@ COROSYNC_CONF_OPTS = \ --disable-qdevices \ --disable-qnet +ifeq ($(BR2_PACKAGE_DBUS),y) +COROSYNC_DEPENDENCIES += dbus +COROSYNC_CONF_OPTS += --enable-dbus +else +COROSYNC_CONF_OPTS += --disable-dbus +endif + $(eval $(autotools-package))
Signature · 1 line
2.11.0
PATCH v2 33/49 package/corosync: add optional snmp support
In reply to Yann E. MORIN--- package/corosync/corosync.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
package/corosync/corosync.mk +8 -1
@@ -38,7 +38,6 @@ COROSYNC_CONF_OPTS = \ --disable-upstart \ $(if $(BR2_INIT_SYSTEMD),--enable-systemd,--disable-systemd) \ --disable-upstart \ - --disable-snmp \ --disable-xmlconf \ --disable-qdevices \ --disable-qnet
@@ -50,4 +49,12 @@ else COROSYNC_CONF_OPTS += --disable-dbus endif +ifeq ($(BR2_PACKAGE_NETSNMP),y) +COROSYNC_DEPENDENCIES += netsnmp +COROSYNC_CONF_OPTS += --enable-snmp +COROSYNC_CONF_ENV += SNMPCONFIG=$(STAGING_DIR)/usr/bin/net-snmp-config +else +COROSYNC_CONF_OPTS += --disable-snmp +endif + $(eval $(autotools-package))
Signature · 1 line
2.11.0
PATCH v2 34/49 package/asterisk: add optional corosync dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -43,7 +43,6 @@ ASTERISK_CONF_OPTS = \ --disable-rpath \ --without-bfd \ --without-cap \ - --without-cpg \ --without-curses \ --without-gtk2 \ --without-gmime \
@@ -132,6 +131,13 @@ else ASTERISK_CONF_OPTS += --without-bluetooth endif +ifeq ($(BR2_PACKAGE_COROSYNC),y) +ASTERISK_DEPENDENCIES += corosync +ASTERISK_CONF_OPTS += --with-cpg +else +ASTERISK_CONF_OPTS += --without-cpg +endif + ifeq ($(BR2_PACKAGE_LIBICAL),y) ASTERISK_DEPENDENCIES += libical ASTERISK_CONF_OPTS += --with-ical
Signature · 1 line
2.11.0
PATCH v2 35/49 package/libpjsip: add option to enable GSM codec
In reply to Yann E. MORIN--- package/libpjsip/Config.in | 12 ++++++++++++ package/libpjsip/libpjsip.mk | 14 +++++++++++++- 2 files changed, 25 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +12 -0
@@ -10,5 +10,17 @@ config BR2_PACKAGE_LIBPJSIP http://www.pjsip.org +if BR2_PACKAGE_LIBPJSIP + +config BR2_PACKAGE_LIBPJSIP_CODEC_GSM + bool "GSM codec" + depends on !BR2_STATIC_LIBS # libgsm + select BR2_PACKAGE_LIBGSM + +comment "GSM codec needs a toolchain w/ shared libraries" + depends on BR2_STATIC_LIBS + +endif # BR2_PACKAGE_LIBPJSIP + comment "libpjsip needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
package/libpjsip/libpjsip.mk +13 -1
@@ -26,7 +26,6 @@ LIBPJSIP_CONF_ENV = \ LIBPJSIP_CONF_OPTS = \ --disable-sound \ - --disable-gsm-codec \ --disable-speex-codec \ --disable-speex-aec \ --disable-resample \
@@ -70,4 +69,17 @@ ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) LIBPJSIP_DEPENDENCIES += util-linux endif +# Codecs can only be disabled. If explictly enabled, the check is +# omitted (but successful), and there is no configure trace "Checking +# if [codec] codec is disabled...no". So we only explicitly disable it +# and we do not explictly enable it, so we get the configure log in +# both cases. + +ifeq ($(BR2_PACKAGE_LIBPJSIP_CODEC_GSM),y) +LIBPJSIP_DEPENDENCIES += libgsm +LIBPJSIP_CONF_OPTS += --with-external-gsm +else +LIBPJSIP_CONF_OPTS += --disable-gsm-codec +endif + $(eval $(autotools-package))
Signature · 1 line
2.11.0
PATCH v2 35/49 package/libpjsip: add option to enable GSM codec
Quoted 11 lines · Yann E. MORIN
Signed-off-by "Yann E. MORIN" <[email protected]>--- package/libpjsip/Config.in | 12 ++++++++++++ package/libpjsip/libpjsip.mk | 14 +++++++++++++- 2 files changed, 25 insertions(+), 1 deletion(-)package/libpjsip/Config.in +0
-0
package/libpjsip/Config.in config BR2_PACKAGE_LIBPJSIP · line 18
Quoted 9 lines
package/libpjsip/Config.in +6
-0@@ -10,5 +10,17 @@ config BR2_PACKAGE_LIBPJSIP http://www.pjsip.org +if BR2_PACKAGE_LIBPJSIP + +config BR2_PACKAGE_LIBPJSIP_CODEC_GSM + bool "GSM codec" + depends on !BR2_STATIC_LIBS # libgsm + select BR2_PACKAGE_LIBGSM
Is there a good reason to make this an explicit suboption rather than an
automatic one like we usually do?
I would be more inclined to add something like this to the pjsip help text:
pjsip will include the following codecs if the corresponding package is enabled in Buildroot: GSM, Speex, iLBC.
Regards,
Arnout
Quoted 39 lines
package/libpjsip/Config.in +6
-0+ +comment "GSM codec needs a toolchain w/ shared libraries" + depends on BR2_STATIC_LIBS + +endif # BR2_PACKAGE_LIBPJSIP + comment "libpjsip needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADSpackage/libpjsip/libpjsip.mk +13
-1@@ -26,7 +26,6 @@ LIBPJSIP_CONF_ENV = \ LIBPJSIP_CONF_OPTS = \ --disable-sound \ - --disable-gsm-codec \ --disable-speex-codec \ --disable-speex-aec \ --disable-resample \@@ -70,4 +69,17 @@ ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) LIBPJSIP_DEPENDENCIES += util-linux endif +# Codecs can only be disabled. If explictly enabled, the check is +# omitted (but successful), and there is no configure trace "Checking +# if [codec] codec is disabled...no". So we only explicitly disable it +# and we do not explictly enable it, so we get the configure log in +# both cases. + +ifeq ($(BR2_PACKAGE_LIBPJSIP_CODEC_GSM),y) +LIBPJSIP_DEPENDENCIES += libgsm +LIBPJSIP_CONF_OPTS += --with-external-gsm +else +LIBPJSIP_CONF_OPTS += --disable-gsm-codec +endif + $(eval $(autotools-package))
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH v2 35/49 package/libpjsip: add option to enable GSM codec
Arnout, All,
On 2017-09-23 19:05 +0200, Arnout Vandecappelle spake thusly:
Quoted 15 lines · Yann E. MORIN
Quoted 14 lines
Signed-off-by "Yann E. MORIN" <[email protected]>--- package/libpjsip/Config.in | 12 ++++++++++++ package/libpjsip/libpjsip.mk | 14 +++++++++++++- 2 files changed, 25 insertions(+), 1 deletion(-)package/libpjsip/Config.in +0
-0@@ -10,5 +10,17 @@ config BR2_PACKAGE_LIBPJSIP http://www.pjsip.org
Quoted 9 lines
package/libpjsip/Config.in config BR2_PACKAGE_LIBPJSIP · line 18
Quoted 6 lines
package/libpjsip/Config.in +6
-0+if BR2_PACKAGE_LIBPJSIP + +config BR2_PACKAGE_LIBPJSIP_CODEC_GSM + bool "GSM codec" + depends on !BR2_STATIC_LIBS # libgsm + select BR2_PACKAGE_LIBGSMIs there a good reason to make this an explicit suboption rather than an
automatic one like we usually do?
The issue I see is that the handling of codecs is not orthogonal (accounting for your reply to the G711 codec):
- codecs without external dependency will always be built,
- codecs with external dependencies need those dependencies to be manually selected.
By adding a config for each codec, the behaviour is then the same for all codecs, so the user experiences a _consistent_ behaviour.
Quoted 4 lines
I would be more inclined to add something like this to the pjsip help text:
pjsip will include the following codecs if the corresponding package is enabled in Buildroot: GSM, Speex, iLBC.
Well, that is what I originally thought, yes, but as explained above, I still believe that usrr experience should be more consistent.
Regards,
Yann E. MORIN.
Quoted 50 lines
Regards,
ArnoutQuoted 39 lines
package/libpjsip/Config.in +6
-0+ +comment "GSM codec needs a toolchain w/ shared libraries" + depends on BR2_STATIC_LIBS + +endif # BR2_PACKAGE_LIBPJSIP + comment "libpjsip needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADSpackage/libpjsip/libpjsip.mk +13
-1@@ -26,7 +26,6 @@ LIBPJSIP_CONF_ENV = \ LIBPJSIP_CONF_OPTS = \ --disable-sound \ - --disable-gsm-codec \ --disable-speex-codec \ --disable-speex-aec \ --disable-resample \@@ -70,4 +69,17 @@ ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) LIBPJSIP_DEPENDENCIES += util-linux endif +# Codecs can only be disabled. If explictly enabled, the check is +# omitted (but successful), and there is no configure trace "Checking +# if [codec] codec is disabled...no". So we only explicitly disable it +# and we do not explictly enable it, so we get the configure log in +# both cases. + +ifeq ($(BR2_PACKAGE_LIBPJSIP_CODEC_GSM),y) +LIBPJSIP_DEPENDENCIES += libgsm +LIBPJSIP_CONF_OPTS += --with-external-gsm +else +LIBPJSIP_CONF_OPTS += --disable-gsm-codec +endif + $(eval $(autotools-package))Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH v2 35/49 package/libpjsip: add option to enable GSM codec
Quoted 29 lines · Yann E. MORIN
Arnout, All,
On 2017-09-23 19:05 +0200, Arnout Vandecappelle spake thusly:
Quoted 15 lines · Yann E. MORIN
Quoted 14 lines
Signed-off-by "Yann E. MORIN" <[email protected]>--- package/libpjsip/Config.in | 12 ++++++++++++ package/libpjsip/libpjsip.mk | 14 +++++++++++++- 2 files changed, 25 insertions(+), 1 deletion(-)package/libpjsip/Config.in +0
-0@@ -10,5 +10,17 @@ config BR2_PACKAGE_LIBPJSIP http://www.pjsip.orgQuoted 8 lines
package/libpjsip/Config.in config BR2_PACKAGE_LIBPJSIP · line 18
Quoted 6 lines
package/libpjsip/Config.in +6
-0+if BR2_PACKAGE_LIBPJSIP + +config BR2_PACKAGE_LIBPJSIP_CODEC_GSM + bool "GSM codec" + depends on !BR2_STATIC_LIBS # libgsm + select BR2_PACKAGE_LIBGSMIs there a good reason to make this an explicit suboption rather than an
automatic one like we usually do?The issue I see is that the handling of codecs is not orthogonal (accounting for your reply to the G711 codec):
Quoted 7 lines
- codecs without external dependency will always be built,
- codecs with external dependencies need those dependencies to be manually selected.
By adding a config for each codec, the behaviour is then the same for all codecs, so the user experiences a _consistent_ behaviour.
So how does this differ with e.g. freeswitch, where e.g. speex is enabled if it
is enabled, while zrtp (with no external dependencies) is always enabled? I'm taking this example because it is one I could fine where we explicitly pass --enable-zrtp from Buildroot, but there are many others where we don't pass anything explicitly.
The general guideline is: enable everything if it doesn't increase the size
much, automatically enable things with external dependencies if it doesn't increase the size much, and only add explicit options if there is a good reason, like it would increase the size too much, or the external dependency is not obvious, or something exceptional.
Clearly, we have (many) exceptions to these principles. I just want to make
sure that we spend conscious thought on such exceptions and don't do it randomly.
Note that personally I have nothing against adding config options all over the
place. I just want to make sure we follow consistent principles.
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH v2 36/49 package/asterisk: add optional netsnmp dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -65,7 +65,6 @@ ASTERISK_CONF_OPTS = \ --without-mysqlclient \ --without-nbs \ --without-neon29 \ - --without-netsnmp \ --without-newt \ --without-openr2 \ --without-osptk \
@@ -175,6 +174,13 @@ else ASTERISK_CONF_OPTS += --without-neon endif +ifeq ($(BR2_PACKAGE_NETSNMP),y) +ASTERISK_DEPENDENCIES += netsnmp +ASTERISK_CONF_OPTS += --with-netsnmp=$(STAGING_DIR)/usr +else +ASTERISK_CONF_OPTS += --without-netsnmp +endif + ifeq ($(BR2_PACKAGE_LIBOGG),y) ASTERISK_DEPENDENCIES += libogg ASTERISK_CONF_OPTS += --with-ogg
Signature · 1 line
2.11.0
PATCH v2 37/49 package/libpjsip: add option to enable SPEEX codec
In reply to Yann E. MORIN--- package/libpjsip/Config.in | 4 ++++ package/libpjsip/libpjsip.mk | 9 +++++++-- 2 files changed, 11 insertions(+), 2 deletions(-)
package/libpjsip/Config.in +4 -0
@@ -20,6 +20,10 @@ config BR2_PACKAGE_LIBPJSIP_CODEC_GSM comment "GSM codec needs a toolchain w/ shared libraries" depends on BR2_STATIC_LIBS +config BR2_PACKAGE_LIBPJSIP_CODEC_SPEEX + bool "Speex codec" + select BR2_PACKAGE_SPEEX + endif # BR2_PACKAGE_LIBPJSIP comment "libpjsip needs a toolchain w/ C++, threads"
package/libpjsip/libpjsip.mk +7 -2
@@ -26,8 +26,6 @@ LIBPJSIP_CONF_ENV = \ LIBPJSIP_CONF_OPTS = \ --disable-sound \ - --disable-speex-codec \ - --disable-speex-aec \ --disable-resample \ --disable-video \ --disable-opencore-amr \
@@ -82,4 +80,11 @@ else LIBPJSIP_CONF_OPTS += --disable-gsm-codec endif +ifeq ($(BR2_PACKAGE_LIBPJSIP_CODEC_SPEEX),y) +LIBPJSIP_DEPENDENCIES += speex +LIBPJSIP_CONF_OPTS += --with-external-speex +else +LIBPJSIP_CONF_OPTS += --disable-speex-codec --disable-speex-aec +endif + $(eval $(autotools-package))
Signature · 1 line
2.11.0
PATCH v2 38/49 package/libpjsip: add option to enable G.711 codec
In reply to Yann E. MORIN--- package/libpjsip/Config.in | 3 +++ package/libpjsip/libpjsip.mk | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +3 -0
@@ -12,6 +12,9 @@ config BR2_PACKAGE_LIBPJSIP if BR2_PACKAGE_LIBPJSIP +config BR2_PACKAGE_LIBPJSIP_CODEC_G711 + bool "G.711 codec" + config BR2_PACKAGE_LIBPJSIP_CODEC_GSM bool "GSM codec" depends on !BR2_STATIC_LIBS # libgsm
package/libpjsip/libpjsip.mk +4 -1
@@ -37,7 +37,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-ext-sound \ --disable-small-filter \ --disable-large-filter \ - --disable-g711-codec \ --disable-l16-codec \ --disable-g722-codec \ --disable-libsamplerate \
@@ -73,6 +72,10 @@ endif # and we do not explictly enable it, so we get the configure log in # both cases. +ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_G711),y) +LIBPJSIP_CONF_OPTS += --disable-g711-codec +endif + ifeq ($(BR2_PACKAGE_LIBPJSIP_CODEC_GSM),y) LIBPJSIP_DEPENDENCIES += libgsm LIBPJSIP_CONF_OPTS += --with-external-gsm
Signature · 1 line
2.11.0
PATCH v2 38/49 package/libpjsip: add option to enable G.711 codec
Quoted 11 lines · Yann E. MORIN
Signed-off-by "Yann E. MORIN" <[email protected]>--- package/libpjsip/Config.in | 3 +++ package/libpjsip/libpjsip.mk | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-)package/libpjsip/Config.in +0
-0
package/libpjsip/Config.in config BR2_PACKAGE_LIBPJSIP · line 16
Quoted 5 lines
package/libpjsip/Config.in +2
-0@@ -12,6 +12,9 @@ config BR2_PACKAGE_LIBPJSIP if BR2_PACKAGE_LIBPJSIP +config BR2_PACKAGE_LIBPJSIP_CODEC_G711 + bool "G.711 codec"
I believe this codec (and the other ones as well) is rather small. Is there any
reason to make it optional?
Regards,
Arnout
Quoted 28 lines
package/libpjsip/Config.in +1
-0+ config BR2_PACKAGE_LIBPJSIP_CODEC_GSM bool "GSM codec" depends on !BR2_STATIC_LIBS # libgsmpackage/libpjsip/libpjsip.mk +4
-1@@ -37,7 +37,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-ext-sound \ --disable-small-filter \ --disable-large-filter \ - --disable-g711-codec \ --disable-l16-codec \ --disable-g722-codec \ --disable-libsamplerate \@@ -73,6 +72,10 @@ endif # and we do not explictly enable it, so we get the configure log in # both cases. +ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_G711),y) +LIBPJSIP_CONF_OPTS += --disable-g711-codec +endif + ifeq ($(BR2_PACKAGE_LIBPJSIP_CODEC_GSM),y) LIBPJSIP_DEPENDENCIES += libgsm LIBPJSIP_CONF_OPTS += --with-external-gsm
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH v2 38/49 package/libpjsip: add option to enable G.711 codec
Arnout, All,
On 2017-09-23 19:06 +0200, Arnout Vandecappelle spake thusly:
Quoted 13 lines · Yann E. MORIN
Quoted 12 lines
Signed-off-by "Yann E. MORIN" <[email protected]>--- package/libpjsip/Config.in | 3 +++ package/libpjsip/libpjsip.mk | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-)package/libpjsip/Config.in +0
-0@@ -12,6 +12,9 @@ config BR2_PACKAGE_LIBPJSIP
Quoted 7 lines
package/libpjsip/Config.in config BR2_PACKAGE_LIBPJSIP · line 16
Quoted 4 lines
package/libpjsip/Config.in +2
-0if BR2_PACKAGE_LIBPJSIP +config BR2_PACKAGE_LIBPJSIP_CODEC_G711 + bool "G.711 codec"I believe this codec (and the other ones as well) is rather small. Is there any
reason to make it optional?
Please see my reply to your comment on adding the GSM codec.
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH v2 39/49 package/libpjsip: add option to enable G.722 codec
In reply to Yann E. MORIN--- package/libpjsip/Config.in | 3 +++ package/libpjsip/libpjsip.mk | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +3 -0
@@ -15,6 +15,9 @@ if BR2_PACKAGE_LIBPJSIP config BR2_PACKAGE_LIBPJSIP_CODEC_G711 bool "G.711 codec" +config BR2_PACKAGE_LIBPJSIP_CODEC_G722 + bool "G.722 codec" + config BR2_PACKAGE_LIBPJSIP_CODEC_GSM bool "GSM codec" depends on !BR2_STATIC_LIBS # libgsm
package/libpjsip/libpjsip.mk +4 -1
@@ -38,7 +38,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-small-filter \ --disable-large-filter \ --disable-l16-codec \ - --disable-g722-codec \ --disable-libsamplerate \ --disable-sdl \ --disable-ffmpeg \
@@ -76,6 +75,10 @@ ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_G711),y) LIBPJSIP_CONF_OPTS += --disable-g711-codec endif +ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_G722),y) +LIBPJSIP_CONF_OPTS += --disable-g722-codec +endif + ifeq ($(BR2_PACKAGE_LIBPJSIP_CODEC_GSM),y) LIBPJSIP_DEPENDENCIES += libgsm LIBPJSIP_CONF_OPTS += --with-external-gsm
Signature · 1 line
2.11.0
PATCH v2 40/49 package/libpjsip: add option to enable G.7221 codec
In reply to Yann E. MORINWe do have a standalone libg7221 package, but pjsip can only use a bundled version.
Patching pjsip so it can use the standalone version is not trivial, so we have to live with that... :-(
Fortunately, the library that pjsip installs does not conflict with the one from the libg7221 package, as it is named differently.
---
Changes v1 -> v2:
- fix variable name (Adam)
--- package/libpjsip/Config.in | 3 +++ package/libpjsip/libpjsip.mk | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +3 -0
@@ -18,6 +18,9 @@ config BR2_PACKAGE_LIBPJSIP_CODEC_G711 config BR2_PACKAGE_LIBPJSIP_CODEC_G722 bool "G.722 codec" +config BR2_PACKAGE_LIBPJSIP_CODEC_G7221 + bool "G.722.1 codec" + config BR2_PACKAGE_LIBPJSIP_CODEC_GSM bool "GSM codec" depends on !BR2_STATIC_LIBS # libgsm
package/libpjsip/libpjsip.mk +5 -1
@@ -29,7 +29,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-resample \ --disable-video \ --disable-opencore-amr \ - --disable-g7221-codec \ --disable-ilbc-codec \ --disable-libwebrtc \ --disable-opus \
@@ -79,6 +78,11 @@ ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_G722),y) LIBPJSIP_CONF_OPTS += --disable-g722-codec endif +# libpjsip can only use a bundled version of libg7221 +ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_G7221),y) +LIBPJSIP_CONF_OPTS += --disable-g7221-codec +endif + ifeq ($(BR2_PACKAGE_LIBPJSIP_CODEC_GSM),y) LIBPJSIP_DEPENDENCIES += libgsm LIBPJSIP_CONF_OPTS += --with-external-gsm
Signature · 1 line
2.11.0
PATCH v2 41/49 package/libpjsip: add option to enable iLBC codec
In reply to Yann E. MORINWe do have a standalone libgilbc package, but pjsip can only use a bundled version.
Patching pjsip so it can use the standalone version is not trivial, so we have to live with that... :-(
Fortunately, the library that pjsip installs does nto conflict with the one from the libilbc package, as it is named differently.
--- package/libpjsip/Config.in | 3 +++ package/libpjsip/libpjsip.mk | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +3 -0
@@ -29,6 +29,9 @@ config BR2_PACKAGE_LIBPJSIP_CODEC_GSM comment "GSM codec needs a toolchain w/ shared libraries" depends on BR2_STATIC_LIBS +config BR2_PACKAGE_LIBPJSIP_CODEC_ILBC + bool "iLBC codec" + config BR2_PACKAGE_LIBPJSIP_CODEC_SPEEX bool "Speex codec" select BR2_PACKAGE_SPEEX
package/libpjsip/libpjsip.mk +5 -1
@@ -29,7 +29,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-resample \ --disable-video \ --disable-opencore-amr \ - --disable-ilbc-codec \ --disable-libwebrtc \ --disable-opus \ --disable-oss \
@@ -90,6 +89,11 @@ else LIBPJSIP_CONF_OPTS += --disable-gsm-codec endif +# libpjsip can only use a bundled version of libgilbc +ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_ILBC),y) +LIBPJSIP_CONF_OPTS += --disable-ilbc-codec +endif + ifeq ($(BR2_PACKAGE_LIBPJSIP_CODEC_SPEEX),y) LIBPJSIP_DEPENDENCIES += speex LIBPJSIP_CONF_OPTS += --with-external-speex
Signature · 1 line
2.11.0
PATCH v2 42/49 package/libpjsip: add option to enable L16 codec
In reply to Yann E. MORIN--- package/libpjsip/Config.in | 3 +++ package/libpjsip/libpjsip.mk | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-)
package/libpjsip/Config.in +3 -0
@@ -32,6 +32,9 @@ comment "GSM codec needs a toolchain w/ shared libraries" config BR2_PACKAGE_LIBPJSIP_CODEC_ILBC bool "iLBC codec" +config BR2_PACKAGE_LIBPJSIP_L16_CODEC + bool "L16 codec" + config BR2_PACKAGE_LIBPJSIP_CODEC_SPEEX bool "Speex codec" select BR2_PACKAGE_SPEEX
package/libpjsip/libpjsip.mk +4 -1
@@ -35,7 +35,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-ext-sound \ --disable-small-filter \ --disable-large-filter \ - --disable-l16-codec \ --disable-libsamplerate \ --disable-sdl \ --disable-ffmpeg \
@@ -94,6 +93,10 @@ ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_ILBC),y) LIBPJSIP_CONF_OPTS += --disable-ilbc-codec endif +ifneq ($(BR2_PACKAGE_LIBPJSIP_L16_CODEC),y) +LIBPJSIP_CONF_OPTS += --disable-l16-codec +endif + ifeq ($(BR2_PACKAGE_LIBPJSIP_CODEC_SPEEX),y) LIBPJSIP_DEPENDENCIES += speex LIBPJSIP_CONF_OPTS += --with-external-speex
Signature · 1 line
2.11.0
PATCH v2 43/49 package/libpjsip: add optional portaudio support
In reply to Yann E. MORIN--- package/libpjsip/libpjsip.mk | 5 +++++ 1 file changed, 5 insertions(+)
package/libpjsip/libpjsip.mk +5 -0
@@ -62,6 +62,11 @@ ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) LIBPJSIP_DEPENDENCIES += util-linux endif +ifeq ($(BR2_PACKAGE_PORTAUDIO),y) +LIBPJSIP_DEPENDENCIES += portaudio +LIBPJSIP_CONF_OPTS += --with-external-pa +endif + # Codecs can only be disabled. If explictly enabled, the check is # omitted (but successful), and there is no configure trace "Checking # if [codec] codec is disabled...no". So we only explicitly disable it
Signature · 1 line
2.11.0
PATCH v2 44/49 package/asterisk: add optional pjsip support
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -70,7 +70,6 @@ ASTERISK_CONF_OPTS = \ --without-osptk \ --without-oss \ --without-postgres \ - --without-pjproject \ --without-popt \ --without-pwlib \ --without-resample \
@@ -240,6 +239,13 @@ else ASTERISK_CONF_OPTS += --without-ssl endif +ifeq ($(BR2_PACKAGE_LIBPJSIP),y) +ASTERISK_DEPENDENCIES += libpjsip +ASTERISK_CONF_OPTS += --with-pjproject +else +ASTERISK_CONF_OPTS += --without-pjproject +endif + ifeq ($(BR2_PACKAGE_SPANDSP),y) ASTERISK_DEPENDENCIES += spandsp ASTERISK_CONF_OPTS += --with-spandsp
Signature · 1 line
2.11.0
PATCH v2 44/49 package/asterisk: add optional pjsip support
Quoted 18 lines · Yann E. MORIN
Signed-off-by "Yann E. MORIN" <[email protected]>--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)package/asterisk/asterisk.mk +0
-1@@ -70,7 +70,6 @@ ASTERISK_CONF_OPTS = \ --without-osptk \ --without-oss \ --without-postgres \ - --without-pjproject \ --without-popt \ --without-pwlib \ --without-resample \
package/asterisk/asterisk.mk else · line 244
Quoted 6 lines
package/asterisk/asterisk.mk +3
-0@@ -240,6 +239,13 @@ else ASTERISK_CONF_OPTS += --without-ssl endif +ifeq ($(BR2_PACKAGE_LIBPJSIP),y) +ASTERISK_DEPENDENCIES += libpjsip +ASTERISK_CONF_OPTS += --with-pjproject
I believe Asterisk maintains a fork of pjsip with some specific patches. Does
it work well with upstream pjsip?
Regards,
Arnout
Quoted 8 lines
package/asterisk/asterisk.mk +4
-0+else +ASTERISK_CONF_OPTS += --without-pjproject +endif + ifeq ($(BR2_PACKAGE_SPANDSP),y) ASTERISK_DEPENDENCIES += spandsp ASTERISK_CONF_OPTS += --with-spandsp
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH v2 44/49 package/asterisk: add optional pjsip support
Arnout, All,
On 2017-09-23 19:07 +0200, Arnout Vandecappelle spake thusly:
Quoted 22 lines · Yann E. MORIN
Quoted 21 lines
Signed-off-by "Yann E. MORIN" <[email protected]>--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)package/asterisk/asterisk.mk +0
-1@@ -70,7 +70,6 @@ ASTERISK_CONF_OPTS = \ --without-osptk \ --without-oss \ --without-postgres \ - --without-pjproject \ --without-popt \ --without-pwlib \ --without-resample \@@ -240,6 +239,13 @@ else ASTERISK_CONF_OPTS += --without-ssl endif
Quoted 6 lines
package/asterisk/asterisk.mk else · line 244
Quoted 3 lines
package/asterisk/asterisk.mk +3
-0+ifeq ($(BR2_PACKAGE_LIBPJSIP),y) +ASTERISK_DEPENDENCIES += libpjsip +ASTERISK_CONF_OPTS += --with-pjprojectI believe Asterisk maintains a fork of pjsip with some specific patches. Does
it work well with upstream pjsip?
Asterisk at least has a configure option to use an externalk pjsip instead of the bundeld one.
I spotted an issue with this patch, so I'll have to respin it anyway.
Regards,
Yann E. MORIN.
Quoted 16 lines
Quoted 8 lines
package/asterisk/asterisk.mk +4
-0+else +ASTERISK_CONF_OPTS += --without-pjproject +endif + ifeq ($(BR2_PACKAGE_SPANDSP),y) ASTERISK_DEPENDENCIES += spandsp ASTERISK_CONF_OPTS += --with-spandspSignature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH v2 45/49 package/asterisk: add optional libcap dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -42,7 +42,6 @@ ASTERISK_CONF_OPTS = \ --disable-asteriskssl \ --disable-rpath \ --without-bfd \ - --without-cap \ --without-curses \ --without-gtk2 \ --without-gmime \
@@ -157,6 +156,13 @@ else ASTERISK_CONF_OPTS += --without-ldap endif +ifeq ($(BR2_PACKAGE_LIBCAP),y) +ASTERISK_DEPENDENCIES += libcap +ASTERISK_CONF_OPTS += --with-cap +else +ASTERISK_CONF_OPTS += --without-cap +endif + ifeq ($(BR2_PACKAGE_LIBCURL),y) ASTERISK_DEPENDENCIES += libcurl ASTERISK_CONF_OPTS += --with-libcurl
Signature · 1 line
2.11.0
PATCH v2 46/49 package/asterisk: add optional iconv support
In reply to Yann E. MORINiconv support is available if iether the toolchain has iconv built-in (glibc, musl, or uclibc-with-iconv) or if the libiconv package is enabled. Both are exclusive one to the other, so we need only test one.
--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -47,7 +47,6 @@ ASTERISK_CONF_OPTS = \ --without-gmime \ --without-h323 \ --without-hoard \ - --without-iconv \ --without-iksemel \ --without-imap \ --without-inotify \
@@ -149,6 +148,13 @@ else ASTERISK_CONF_OPTS += --without-ilbc endif +ifeq ($(BR2_ENABLE_LOCALE)$(BR2_PACKAGE_LIBICONV),y) +ASTERISK_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) +ASTERISK_CONF_OPTS += --with-iconv +else +ASTERISK_CONF_OPTS += --without-iconv +endif + ifeq ($(BR2_PACKAGE_OPENLDAP),y) ASTERISK_DEPENDENCIES += openldap ASTERISK_CONF_OPTS += --without-ldap
Signature · 1 line
2.11.0
PATCH v2 47/49 package/asterisk: enable inotify when possible
In reply to Yann E. MORINAs for DBus, we disable support for inotify only for microblaze, because the toolchain does not provide a complete inotify.
--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -49,7 +49,6 @@ ASTERISK_CONF_OPTS = \ --without-hoard \ --without-iksemel \ --without-imap \ - --without-inotify \ --without-iodbc \ --without-isdnnet \ --without-jack \
@@ -100,6 +99,13 @@ ASTERISK_CONF_OPTS += --without-avcodec ASTERISK_CONF_ENV = \ ac_cv_path_CONFIG_LIBXML2=$(STAGING_DIR)/usr/bin/xml2-config +ifeq ($(BR2_microblaze),y) +# microblaze toolchain doesn't provide inotify_rm_* but does have sys/inotify.h +ASTERISK_CONF_OPTS += --without-inotify +else +ASTERISK_CONF_OPTS += --with-inotify +endif + ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y) ASTERISK_CONF_OPTS += --with-execinfo else
Signature · 1 line
2.11.0
PATCH v2 48/49 package/asterisk: add optional unixodbc dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -79,7 +79,6 @@ ASTERISK_CONF_OPTS = \ --without-timerfd \ --without-tinfo \ --without-unbound \ - --without-unixodbc \ --without-vpb \ --without-x11 \ --with-crypt \
@@ -292,6 +291,13 @@ else ASTERISK_CONF_OPTS += --without-vorbis endif +ifeq ($(BR2_PACKAGE_UNIXODBC),y) +ASTERISK_DEPENDENCIES += unixodbc +ASTERISK_CONF_OPTS += --with-unixodbc +else +ASTERISK_CONF_OPTS += --without-unixodbc +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) ASTERISK_DEPENDENCIES += zlib ASTERISK_CONF_OPTS += --with-z
Signature · 1 line
2.11.0
PATCH v2 49/49 package/asterisk: add optional jack2 dependency
In reply to Yann E. MORIN--- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/asterisk/asterisk.mk +7 -1
@@ -51,7 +51,6 @@ ASTERISK_CONF_OPTS = \ --without-imap \ --without-iodbc \ --without-isdnnet \ - --without-jack \ --without-uriparser \ --without-kqueue \ --without-libedit \
@@ -139,6 +138,13 @@ else ASTERISK_CONF_OPTS += --without-cpg endif +ifeq ($(BR2_PACKAGE_JACK2),y) +ASTERISK_DEPENDENCIES += jack2 +ASTERISK_CONF_OPTS += --with-jack +else +ASTERISK_CONF_OPTS += --without-jack +endif + ifeq ($(BR2_PACKAGE_LIBICAL),y) ASTERISK_DEPENDENCIES += libical ASTERISK_CONF_OPTS += --with-ical
Signature · 1 line
2.11.0
v2 cover package/asterisk: add a complete asterisk stack
In reply to Yann E. MORINOn 09-09-17 23:39, Yann E. MORIN wrote:
[snip]
Quoted 21 lines
----------------------------------------------------------------
Yann E. MORIN (49):
package/asterisk: new package
package/asterisk: enable backtrace when available package/asterisk: add optional libgsm dependency package/asterisk: add optional zlib dependency package/asterisk: add optional support for SSL package/asterisk: add optional alsa-lib dependency package/asterisk: add optional curl dependency package/asterisk: add optional neon dependency package/asterisk: add optional libogg dependency package/asterisk: add optionalbluez_utilsdependency package/asterisk: add optional opus dependency package/asterisk: add optional speex dependency package/asterisk: add optional libvorbis dependency package/asterisk: add optional libilbc dependency package/asterisk: add optional portaudio dependency package/asterisk: add optional libical dependency package/asterisk: add optional openldap dependency package/asterisk: add optional freeradius-client dependency package/asterisk: add optional libsrtp dependency
Quoted 8 lines
package/dahdi-linux: new package package/dahdi-tools: new package package/dahdi-tools: add USB support package/asterisk: add support for dahdi package/libss7: new package package/asterisk: add support for SS7 package/libpri: new package package/asterisk: add support for PRI signalling
All of the above is applied except the two I rejected.
Quoted 7 lines
package/spandsp: new package package/asterisk: add optional spandsp support package/libqb: new package package/corosync: new package package/corosync: add optional dbus support package/corosync: add optional snmp support package/asterisk: add optional corosync dependency
I had comments on the above so marked as changes requested.
Quoted 1 line
package/libpjsip: add option to enable GSM codec
Maybe you have a good reason to make this an explicit option, so I have kept it
as New.
Quoted 1 line
package/asterisk: add optional netsnmp dependency
This one I applied.
Quoted 9 lines
package/libpjsip: add option to enable SPEEX codec package/libpjsip: add option to enable G.711 codec package/libpjsip: add option to enable G.722 codec package/libpjsip: add option to enable G.7221 codec package/libpjsip: add option to enable iLBC codec package/libpjsip: add option to enable L16 codec package/libpjsip: add optional portaudio support package/asterisk: add optional pjsip support package/asterisk: add optional libcap dependency
I could have applied this one and the following ones, but it gives conflicts
because the rest is not yet applied, so I didn't bother.
Regards,
Arnout
Quoted 74 lines
package/asterisk: add optional iconv support package/asterisk: enable inotify when possible package/asterisk: add optional unixodbc dependency package/asterisk: add optional jack2 dependency
package/Config.in | 8 + ...-configure-do-not-configure-in-menuselect.patch | 58 ++++ ...02-sounds-do-not-download-and-check-sha1s.patch | 52 +++ .../0003-configure-fix-detection-of-libcrypt.patch | 43 +++ ...n-cross-complation-assimne-eventfd-are-av.patch | 37 +++ package/asterisk/Config.in | 25 ++ package/asterisk/asterisk.hash | 9 + package/asterisk/asterisk.mk | 356 +++++++++++++++++++++ package/corosync/Config.in | 20 ++ package/corosync/corosync.hash | 2 + package/corosync/corosync.mk | 60 ++++ package/dahdi-linux/Config.in | 19 ++ package/dahdi-linux/dahdi-linux.hash | 23 ++ package/dahdi-linux/dahdi-linux.mk | 88 +++++ package/dahdi-tools/0001-no-build-docs.patch | 16 + package/dahdi-tools/0002-no-perl-manpages.patch | 37 +++ package/dahdi-tools/Config.in | 23 ++ package/dahdi-tools/dahdi-tools.hash | 4 + package/dahdi-tools/dahdi-tools.mk | 57 ++++ package/libpjsip/Config.in | 31 ++ package/libpjsip/libpjsip.mk | 55 +++- package/libpri/Config.in | 21 ++ package/libpri/libpri.hash | 3 + package/libpri/libpri.mk | 52 +++ ...fix-CLOCK_MONOTONIC-check-for-cross-compi.patch | 33 ++ package/libqb/Config.in | 12 + package/libqb/libqb.hash | 2 + package/libqb/libqb.mk | 32 ++ package/libss7/Config.in | 18 ++ package/libss7/libss7.hash | 3 + package/libss7/libss7.mk | 55 ++++ package/spandsp/0001-fix-msse4.x.patch | 29 ++ package/spandsp/Config.in | 9 + package/spandsp/spandsp.hash | 2 + package/spandsp/spandsp.mk | 28 ++ 35 files changed, 1314 insertions(+), 8 deletions(-) create mode 100644 package/asterisk/0001-configure-do-not-configure-in-menuselect.patch create mode 100644 package/asterisk/0002-sounds-do-not-download-and-check-sha1s.patch create mode 100644 package/asterisk/0003-configure-fix-detection-of-libcrypt.patch create mode 100644 package/asterisk/0004-configure-in-cross-complation-assimne-eventfd-are-av.patch create mode 100644 package/asterisk/Config.in create mode 100644 package/asterisk/asterisk.hash create mode 100644 package/asterisk/asterisk.mk create mode 100644 package/corosync/Config.in create mode 100644 package/corosync/corosync.hash create mode 100644 package/corosync/corosync.mk create mode 100644 package/dahdi-linux/Config.in create mode 100644 package/dahdi-linux/dahdi-linux.hash create mode 100644 package/dahdi-linux/dahdi-linux.mk create mode 100644 package/dahdi-tools/0001-no-build-docs.patch create mode 100644 package/dahdi-tools/0002-no-perl-manpages.patch create mode 100644 package/dahdi-tools/Config.in create mode 100644 package/dahdi-tools/dahdi-tools.hash create mode 100644 package/dahdi-tools/dahdi-tools.mk create mode 100644 package/libpri/Config.in create mode 100644 package/libpri/libpri.hash create mode 100644 package/libpri/libpri.mk create mode 100644 package/libqb/0001-bconfigure-fix-CLOCK_MONOTONIC-check-for-cross-compi.patch create mode 100644 package/libqb/Config.in create mode 100644 package/libqb/libqb.hash create mode 100644 package/libqb/libqb.mk create mode 100644 package/libss7/Config.in create mode 100644 package/libss7/libss7.hash create mode 100644 package/libss7/libss7.mk create mode 100644 package/spandsp/0001-fix-msse4.x.patch create mode 100644 package/spandsp/Config.in create mode 100644 package/spandsp/spandsp.hash create mode 100644 package/spandsp/spandsp.mk
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF