Commit graph

1053 commits

Author SHA1 Message Date
Sebastian Kemper
dff826f128 yate: update install define
- Simplify lib install
- Use $(INSTALL_CONF) for config files

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 11:37:48 +01:00
Sebastian Kemper
1f76a5f991 yate: add DAHDI support
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 11:35:04 +01:00
Jiri Slachta
9a034c9775
Merge pull request #253 from neheb/patch-1
bcg729: Remove BUILD_PATENTED.
2018-02-21 08:23:34 +01:00
Jiri Slachta
dd42a681f3
Merge pull request #270 from micmac1/dahdi-linux-uaccess-fixes
dahdi-linux: include linux/uaccess.h rather than asm/uaccess.h
2018-02-18 18:59:59 +01:00
Jiri Slachta
25fb644f73
Merge pull request #272 from micmac1/baresip-version-bump
Re, Baresip: version bump
2018-02-18 18:57:36 +01:00
Jiri Slachta
5a871e44a2
Merge pull request #269 from micmac1/kam5-util-lib-rename
kamailio-5.x: update libs and utils handling
2018-02-18 18:56:56 +01:00
Jiri Slachta
8c640cfac1
Merge pull request #274 from micmac1/rtpproxy-bump
Rtpproxy bump
2018-02-18 18:55:01 +01:00
Jiri Slachta
6a34217a54
Merge pull request #273 from micmac1/asterisk-bumps
Asterisk bumps
2018-02-18 18:46:14 +01:00
Jiri Slachta
1b924f661a
Merge pull request #275 from micmac1/yate-fortify-off
net/yate: some tiny updates
2018-02-18 18:43:29 +01:00
Jiri Slachta
c603b46f58
Merge pull request #276 from micmac1/pcapsipdump-up
Pcapsipdump update
2018-02-18 18:42:50 +01:00
Sebastian Kemper
fb78b0b536 net/pcapsipdump: Simplify Makefile
Use the default Build/Compile. Use MAKE_VARS to set up the variables
that are used by pcapsipdump's Makefile.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-18 10:16:34 +01:00
Sebastian Kemper
6857bc21eb net/pcapsipdump: Remove uclibc++.mk include
The include injects a lib depend on libuClibc++.so.0 into the package,
even on musl. Remove it and replace the depend with libstcpp instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-18 10:14:16 +01:00
Sebastian Kemper
91e90c7f9b net/yate: Add some plugins
Add some plugins which are built by default anyway.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-18 10:11:28 +01:00
Sebastian Kemper
326df0e414 net/yate: Disable RTTI
Yate is the only package in OpenWrt which manually enables RTTI
(run-time type information). There's no explanation in the Makefile as
to why that would be needed or advisable. Remove it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-18 10:07:19 +01:00
Sebastian Kemper
b8b9818a13 net/yate: Remove uclibc++.mk include
With this include libuClibc++.so.0 gets added as a lib depend, even on
musl. readelf shows:

  Dynamic section at offset 0x10ea60 contains 23 entries:
    Tag        Type                         Name/Value
   0x0000000000000001 (NEEDED)             Shared library: [libuClibc++.so.0]
   0x0000000000000001 (NEEDED)             Shared library: [libc.so]
   0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
   0x000000000000000e (SONAME)             Library soname: [libyate.so.6.0.0]

Remove the include from the Makefile and add a depend on libstdcpp
instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-18 10:04:23 +01:00
Sebastian Kemper
b3dff13a07 net/yate: Disable FORTIFY_SOURCE properly
This reverts commit 4cc2afdcdc which
disabled FORTIFY_SOURCE by removing OpenWrt's CPPFLAGS from the built.
Instead PKG_FORTIFY_SOURCE:=0 is defined, which is the proper way to do
it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-17 18:39:25 +01:00
micmac1
a1603a253a
Merge pull request #271 from micmac1/sipgrep-fix
net/sipgrep: fix PKG_SOURCE_URL
2018-02-17 10:53:40 +01:00
Sebastian Kemper
b2200fbbe1 net/sipgrep: fix PKG_SOURCE_URL
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-17 10:51:07 +01:00
Sebastian Kemper
1d513a367b net/rtpproxy: improvide configuration file treatment
Protect configuration files.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-17 10:44:24 +01:00
Sebastian Kemper
2309d88a7a net/rtpproxy: update flags
rtpproxy doesn't use OpenWrt's CPPFLAGS (i.e. used for including
fortify-source headers). Add them to CFLAGS.

Run autoreconf. It's usually a good idea.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-17 10:40:35 +01:00
Sebastian Kemper
dea8fc71bd net/rtpproxy: add new CSV accounting module
Can be loaded by rtpproxy with -dso command line parameter.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-17 10:18:13 +01:00
Sebastian Kemper
a4462a7432 net/rtpproxy: bump to 2.1.0
- Version bump
- Refresh debug-disable patch
- Add patch to add missing includes to fix:

    rtpp_record.c: In function 'rtpp_record_open':
    rtpp_record.c:228:62: error: 'DEFFILEMODE' undeclared (first use in this function)
         rrc->fd = open(rrc->spath, O_WRONLY | O_CREAT | O_TRUNC, DEFFILEMODE);
                                                                  ^

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-17 10:11:35 +01:00
Sebastian Kemper
81f3fca695 net/asterisk-15.x: bump to 15.2.1
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-16 22:26:41 +01:00
Sebastian Kemper
b7e365fa0d net/asterisk-13.x: bump to 13.19.1
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-16 22:17:58 +01:00
Sebastian Kemper
bd08dc6577 net/baresip: bump to 0.5.8
One new module added: ctrl_tcp (TCP control interface using JSON
payload)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-16 21:58:15 +01:00
Sebastian Kemper
3f3340a007 libs/re: bump to 0.5.7
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-16 21:45:08 +01:00
Sebastian Kemper
a3d53ad562 dahdi-linux: include linux/uaccess.h rather than asm/uaccess.h
Starting with 4.12 there are module build errors due to the
arch-specific uaccess.h using a macro defined in the generic include.
The generic include has been around since 2.6.18 and has always included
asm/uaccess.h, so switch to using the generic include for all kernels
which have it.

Example build failure:

    CC [M]  /data/bowl-builder/mips64_octeon/build/sdk/build_dir/target-mips64_octeon_64_musl/linux-octeon/dahdi-linux-2.11.1-20180111/drivers/dahdi/wcb4xxp/base.o
  In file included from ../dahdi-linux-2.11.1-20180111/drivers/dahdi/wcb4xxp/base.c:38:0:
  ./arch/mips/include/asm/uaccess.h: In function 'eva_kernel_access':
  ./arch/mips/include/asm/uaccess.h:91:9: error: implicit declaration of function 'uaccess_kernel' [-Werror=implicit-function-declaration]
    return uaccess_kernel();
           ^
  cc1: some warnings being treated as errors

The same can currently be seen on arc_archs where also kernel 4.14.18 is
used.

The patch just follows what Ubuntu's Seth Forshee suggested for openafs,
which ran into the same problem. The commit message is largely just
copied from Seth's commit message as well :)

The issue has been reported to upstream here:

https://issues.asterisk.org/jira/browse/DAHLIN-360

The same patch has been uploaded there.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-12 21:57:06 +01:00
Sebastian Kemper
a885b29922 kamailio-5.x: update libs and utils handling
- The libraries and the Berkeley DB recovery utility are currently in
  Libraries/Telephony and Utilities/Telephony. That makes little sense
  as the are not general purpose libraries/utilities, hence it is better
  to move them to where Kamailio 5 sits in menuconfig.
- Rename them by adding prefixes "lib" and "util" to their name.
- Update their titles a bit.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-12 21:50:02 +01:00
Jiri Slachta
5eff04c674
Merge pull request #267 from micmac1/kam5-update
New PR: more kamailio5 updates
2018-02-12 07:05:00 +01:00
Sebastian Kemper
9113396032 kamailio-5.x: add kambdb_recover utility
The recently added mod-db-berkeley comes with a companion utility.
Package kambdb_recover so it becomes available.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 22:30:19 +01:00
Sebastian Kemper
28d380b376 kamailio-5.x: move lesser-used internal libraries into packages
This commit moves libkamailio-ims & libtrie into their own packages to
keep the main package small.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 19:43:16 +01:00
Sebastian Kemper
9bf1935987 kamailio-5.x: make internal libs available always
kamailio comes with internal libraries. Some are not built when only the
standard group of modules is compiled (i.e. no modules selected in
menuconfig).

The problem is that there is no way to rely on specific internal
libraries being available in the main kamailio package.

To fix this this add some modules (if they are not already selected)
that will kick of the build of the internal libraries in any case.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 19:39:07 +01:00
Sebastian Kemper
0d8d91c39b kamailio-5.x: run make cfg
The INSTALL file from kamailio suggests to make the target "cfg" first.
All settinggs will then be reused when make is called again.

This has the side effect that "$(FPIC)" can be dropped from CFLAGS as
the build system adds the flags automatically now.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 19:31:33 +01:00
Sebastian Kemper
fbf862318f kamailio-5.x: remove a gratuitous ":"
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 19:26:42 +01:00
Sebastian Kemper
bb248ce4ff kamailio-5.x: specify run directory
When not specifying "run_target" the kamailio build system assumes
$(DESTDIR)/var/run/kamailio to be the run directory on the target
device. Add the variable to address this.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 19:22:12 +01:00
Sebastian Kemper
4ac7a02e9f kamailio-5.x: fix RPATH of kamailio modules
The kamailio build system provides an RPATH "///usr/lib/kamailio/" when
linking. OpenWrt's rstrip.sh inspects this RPATH and drops it. Now the
modules cannot find the needed libraries. Fix this by specifying a path
that rstrip.sh accepts.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 19:18:07 +01:00
Sebastian Kemper
ae71bd2782 kamailio-5.x: add missing files from mod-xhttp_pi
The initial commit for this plugin missed that it comes with a
configuration file and extra files that go into
/usr/share/kamailio/xhttp_pi.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 19:13:15 +01:00
Sebastian Kemper
d3ebba27fd kamailio-5.x: add snmpstats mibs files
This installs the snmp mibs files provided by mod_snmpstats. A patch is
added to make the kamailio build system install the files in a proper
location in PKG_INSTALL_DIR.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 19:09:00 +01:00
Jiri Slachta
5f90ebdff0
Merge pull request #266 from micmac1/kam-master
kamailio-5.x: update PKG_MAKE_ARGS
2018-02-10 16:06:40 +01:00
Sebastian Kemper
2dd8c008bd kamailio-5.x: add various new modules
The aim is to add the missing modules that Debian packages, minus the
ones for which depends are missing on OpenWrt.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-10 15:15:35 +01:00
Sebastian Kemper
606fe5f10e kamailio-5.x: update configuration file handling
- add install/conffile routine
- use it for main package
- setup BuildKamailio5Module to allow inclusion of configuration files
  on a per-module basis (mod-tls is currently the only user)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-10 15:12:51 +01:00
Sebastian Kemper
000b984212 kamailio-5.x: bump to version 5.1.1
- dictionary.kamailio & kamailio-basic.cfg are gone, remove from
  Makefilei accordingly
- Install the config files from PKG_INSTALL_DIR
- Use $(INSTALL_CONF) for config files
- Remove gratuitous directory creation
- Refresh 050-fix-kamailio-utils.patch
- Remove src/modules/cnxcc/Makefile change from 120-libevent-libs.patch
  as $(EXTRA_LIBS) has been removed from Makefile in previous commit

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-10 15:07:45 +01:00
Jiri Slachta
e597e4c2d1
Merge pull request #257 from hnyman/flite
freeswitch: disable flite module
2018-02-10 09:59:08 +01:00
Sebastian Kemper
a088b930c4 kamailio-5.x: update PKG_MAKE_ARGS
- Removes TLS_HOOKS as this is default anyway
- Removes -DUSE_PTHREAD_MUTEX as on supported arches FAST_LOCK is used
  by default, which according to doc/tutorials/locking.txt is fastest.
  -DUSE_PTHREAD_MUTEX will be set by the build system automatically in
  case FAST_LOCK is unsupported, e.g. on ARC.
- Add OpenWrt LDFLAGS via LD_EXTRA_OPTS.
- With OpenWrt LDFLAGS and CPPFLAGS in place there is no need to declare
  PCREDEFS, PCRELIBS nor EXTRA_LIBS. Remove them all.
- With this setup mod-dialplan now links to libpcre as well; add the
  depend accordingly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-07 22:24:37 +01:00
micmac1
9a60912bae
Merge pull request #265 from micmac1/fs-redo-freetdm
freeswitch-stable: redo freetdm
2018-02-05 23:13:58 +01:00
Sebastian Kemper
bd66ecc3b7 freeswitch-stable: prevent libfreetdm from being installed twice
This patch takes care of that. This commit concludes the series with a
revision bump.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-05 23:08:20 +01:00
Sebastian Kemper
584c9841f3 freeswitch-stable: tidy up the Build defines
This commit changes Build/Compile, Build/Install and Build/InstallDev to
prevent building/installing items that are not selected. I.e. when
freeswitch-stable is not selected, only libfreetdm-stable gets built.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-05 23:07:09 +01:00
Sebastian Kemper
abacde6dd6 freeswitch-stable: move the config define
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-05 22:57:40 +01:00
Sebastian Kemper
d82451ec02 freeswitch-stable: redo FreeTDM handling
This commit renames libfreetdm to libfreetdm-stable. Also the depends
are changed to what they actually are, i.e. there is no depend on
freeswitch-stable anymore (libfreetdm.so is a standalone libary).

The FreeTDM modules get the same treatment.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-05 22:54:38 +01:00
Jiri Slachta
7da1a413c2
Merge pull request #264 from micmac1/yate-change-error-to-warning
yate: turn miniwebrtc error into warning
2018-02-05 21:59:04 +01:00