Commit graph

1510 commits

Author SHA1 Message Date
Sebastian Kemper
f808a0b76c libpri: update install defines
- Use $(INSTALL_DATA) for the header file.

- Make sure that also the libpri.so symlink gets installed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:46:34 +01:00
Sebastian Kemper
c228dd21b1 libosip2: simplify install define
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:37:25 +01:00
Sebastian Kemper
0791cc6f49 libosip2: remove $(FPIC) from TARGET_CFLAGS
libosip2 already makes sure that the compiler emits position-independent
code. Adding $(FPIC) makes no difference. In addition the libosip2 build
system puts its own flag behind the CFLAGS, overriding whatever was set
before.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:35:37 +01:00
Sebastian Kemper
babc530fc7 dahdi-tools: update install defines
- use $(INSTALL_BIN) and $(INSTALL_DATA) where possible.
- instead of creating symlinks manually just copy them.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:28:15 +01:00
Sebastian Kemper
e124b74296 bcg729: fix a typo
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:23:27 +01:00
Sebastian Kemper
b05e390a84 dahdi-tools: clean up make flags, remove $(FPIC)
- Remove all flags/variables that are not used at all.

- dahdi-tools already makes sure that the compiler emits
  position-independent code for libtonezone. Adding $(FPIC) makes no
  difference. In addition the dahdi-toolsbuild system puts its own flag
  behind the CFLAGS, overriding whatever was set before. Also the
  applications should never be built with PIC, it should only be done for
  the lib.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:15:22 +01:00
Sebastian Kemper
b4392fbc2e dahdi-linux: clean up make flags
Remove all flags/variables that are not used at all. Remove some ':'
that are not needed in the context.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:10:18 +01:00
Sebastian Kemper
1d1651c7a1 bcg729: remove $(FPIC) from TARGET_CFLAGS
bgg729 already makes sure that the compiler emits position-independent
code. Adding $(FPIC) makes no difference. In addition the bcg729 build
system puts its own flag behind the CFLAGS, overriding whatever was set
before.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 09:45:25 +01:00
Sebastian Kemper
2341abf358 bcg729: add OpenWrt CPPFLAGS
Add TARGET_CPPFLAGS to TARGET_CFLAGS, otherwise OpenWrt's CPPFLAGS are
ignored (i.e. fortify-source headers are not picked up).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 09:42:54 +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