Commit graph

25 commits

Author SHA1 Message Date
Kuan-Yi Li
87275752df treewide: replace AUTORELEASE with real PKG_RELEASE
Based on Paul Fertser <fercerpav@gmail.com>'s guidance:
Change AUTORELEASE in rules.mk to:
```
AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
```

then update all affected packages by:
```
for i in $(git grep -l PKG_RELEASE:=.*AUTORELEASE | sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
	make package/$i/clean
done
```

Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
2023-07-19 04:41:35 +08:00
Sebastian Kemper
e024681271 rtpproxy: use return in init script
"check_ipaddr()" & "start_service()" are functions, hence "return"
should be used instead of "exit".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-11-08 22:19:29 +01:00
Sebastian Kemper
10b7fcd4d1 rtpproxy: add build fix
- add upstream build fix related to libsrtp version bump
- switch to $(AUTORELEASE)
- refresh patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-28 18:18:16 +01:00
Sebastian Kemper
20da222b60 rtpproxy: fix RTP crypto setup
Compile fails when both libsrtp and libsrtp2 are available. Patch sent
upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-05 10:20:29 +02:00
Sebastian Kemper
6280803f1c rtpproxy: update to current snapshot
Upstream accepted OpenWrt patches, so most can be removed.

Other changes:

- version handling changed to use PKG_SOURCE_DATE and PKG_SOURCE_VERSION
  as per OpenWrt package policies [1]
- ./files/rtpproxy.config renamed to ./files/rtpproxy.conf also as per
  OpenWrt package policies [1]
- no longer needed Makefile variables dropped (PKG_SOURCE_SUBDIR etc.)
- PKG_CHECK_FORMAT_SECURITY:=0 dropped, patch for that upstreamed as
  well
- PKG_BUILD_PARALLEL:=1 added
- PKG_LICENSE_FILES updated
- dropped bcg729 deactivation hack (fixed by adding bcg729 pkg-config
  file in other commit)
- dependency on libatomic now required
- updated rtpproxy-mod-acct-csv TITLE
- added --without-xsltproc to CONFIGURE_ARGS to prevent build failure
- added new module rtpproxy-mod-acct-rtcp-hep
- added utilities extractaudio and makeann
- updated patch to prevent debug build of rtpp_acct_rtcp_hep

[1] https://openwrt.org/docs/guide-developer/package-policies

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-02 21:22:47 +02:00
Sebastian Kemper
072d2ce320 rtpproxy: fix hotplug script file name
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-02 12:27:15 +01:00
Sebastian Kemper
3da92d2359 rtpproxy: add iface translation to init
rtpproxy expects IPs as parameters. Lots of OpenWrt devices use
connections where the IP is dynamically assigned. This commit adds shell
functions to convert an iface like 'wan' to an IP address before adding
the parameter to the rtpproxy command line.

Explanation is provided in /etc/config/rtpproxy. Some whitespace issues
were also fixed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-11-05 20:59:31 +01:00
Sebastian Kemper
76b09155bc rtpproxy: add uci log switch
Add log_level option to uci config. Paired with the comment it makes
setting the log level easier when no man page is around.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-11-05 20:43:27 +01:00
Sebastian Kemper
a3767c5f00 rtpproxy: convert init to procd
Update rtpproxy init script to use procd.

Also increases the start priority to 90 (like the hotplug script) to
make sure rtpproxy is started before kamailio.

Fixes some whitespace issues along the way, too.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-11-05 20:42:39 +01:00
Sebastian Kemper
325bbe9bbb rtpproxy: add a note about the uci file
Echoes a message upon installation and points the user to
/etc/config/rtpproxy.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-11-05 20:21:09 +01:00
Sebastian Kemper
0b092cbe2b rtpproxy: add hotplug script
Install hotplug script along with rtpproxy. It will only be used if
enabled by the user (via uci config file).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-11-05 20:16:56 +01:00
Sebastian Kemper
a0dc2c7607 rtpproxy: remove underscores from package names
Underscores should not be used in package base names as they're used as
semantic separators by opkg.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-09 23:42:24 +02: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
64294b937d rtpproxy: add PKG_MIRROR_HASH
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-20 20:28:18 +01:00
Jiri Slachta
84e65ca0fc rtpproxy: fix build for bcg729 >1.0.1
Several method signatures have changed in bcg729 1.0.1
and higher. This issue was already resolved in upstream.
In the current development branch, there is no compilable
version. Due to those changes, I have disabled linking
against bcg729 since we have bcg729 at version 1.0.2.

By disabling bcg729 the internal g729 rtpproxy API
will be used.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-11-07 20:07:03 +01:00
Sebastian Kemper
3dccee6e76 telephony: replace git:// URIs with https:// equivalents
Plain git:// doesn't add security. Use https:// instead. See
https://gist.github.com/grawity/4392747.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-10-08 09:52:21 +02:00
Daniel Golle
d1c2023088 rtpproxy: fix build on musl
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-24 13:48:30 +02:00
Jiri Slachta
9509e49d82 rtpproxy: update to 2.0.0
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2015-04-28 11:30:00 +02:00
Jiri Slachta
d631b536ac rtpproxy: add init script and UCI config
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-12-21 12:25:42 +01:00
Jiri Slachta
30ffae1ecc Add PKG_LICENSE to the rest of the packages
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-11-04 17:00:24 +01:00
Etienne Champetier
bbddc7adb8 Disable PKG_CHECK_FORMAT_SECURITY for miax, rtpproxy and sipp
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-08-10 04:22:02 +02:00
Jiri Slachta
100f27f3bb Directory structure restructuralized.
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2013-06-21 13:55:47 +02:00