Commit Graph

22 Commits

Author SHA1 Message Date
Nick Hainke 3e96c851a7 treewide: remove AUTORELEASE
OpenWrt/packages removed AUTORELEASE treewide. Remove it also in the
routing feed.

This is just copied from [0] with modification to the sed cmd because it
was not working for the routing feed:

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/routing; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's/\/Makefile$//';);
do
  make package/$i/download
done

[0] - 0c10c224be

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-04-27 17:14:16 +02:00
Josef Schlehofer 9652952036 mcproxy: Makefile cleanup
- Switched to AUTORELEASE
- Fixed SPDX License Identifier and added PKG_LICENSE_FILES
- Use HTTPS for project website
- Changed versioning
Before: mcproxy_2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99-3_arm_cortex-a9_vfpv3-d16.ipk
After: mcproxy_2017-08-24-93b5ace4-1_arm_cortex-a9_vfpv3-d16.ipk

Downloaded tarball is smaller by 0,2 MB

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-02-26 15:36:43 +01:00
Eneas U de Queiroz 564ca99e2c mcproxy: include PKG_MIRROR_HASH, refresh patches
This avoids unnecessary downloads and rebuilds.
Patches were refreshed to please github PR checks.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-11-19 07:04:33 +01:00
Jo-Philipp Wich 7fc5c6e56f
Merge pull request #476 from blogic/master
mcproxy: some add some fixes
2019-07-30 12:10:34 +02:00
John Crispin ff7c509caa mcproxy: fix up sourcefilter patch
this spewed out 2 compile warnings

In file included from build_dir/target-mipsel_24kc_musl/mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/utils/mc_socket.cpp:43:0:

build_dir/target-mipsel_24kc_musl/mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/utils/sourcefilter.cpp: In function 'int setsourcefilter(int, uint32_t, const sockaddr*, socklen_t, uint32_t, uint32_t, const sockaddr_storage*)':
build_dir/target-mipsel_24kc_musl/mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/utils/sourcefilter.cpp:157:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   else
   ^~~~
build_dir/target-mipsel_24kc_musl/mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/utils/sourcefilter.cpp:160:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
     int save_errno = errno;
     ^~~

Signed-off-by: John Crispin <john@phrozen.org>
2019-06-30 13:03:23 +02:00
John Crispin a56d996b94 mcproxy: add igmpV2 reply support
mcproxy has no way to send an IGMPv2 query today. If you force IGMPv2 (by
setting the protocol in the mcproxy config and setting the force_igmp_version
flag on all interfaces) the bridge will send v2 queries but if mcproxy takes
over as the querier it will send v3 queries. The patch below adds support for
sending v2 queries so everyone stays in sync:

Signed-off-by: Sukru Senli <sukru.senli@iopsys.eu>
Signed-off-by: Chad Monroe <chad.monroe@smartrg.com>
Signed-off-by: John Crispin <john@phrozen.org>
2019-06-30 13:03:18 +02:00
Rosen Penev b3ebe49dab mcproxy: Fix compilation with uClibc-ng
uClibc-ng also defines __GLIBC__, which messes up the check.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-17 15:38:10 -07:00
John Crispin 490971e8e5 mcproxy: fix block/filtering code
mcproxy supports a generic filtering/blacklisting mechanism but it’s currently
broken. In the case of routed video (e.g. mcproxy routing video from
WAN -> LAN), it will forward multicast between the LAN and WAN. There are
perfectly valid use cases for this like reporting but other less-appropriate
things like mDNS and SSDP leak through from LAN -> WAN which is bad.

Signed-off-by: Sukru Senli <sukru.senli@iopsys.eu>
Signed-off-by: Chad Monroe <chad.monroe@smartrg.com>
Signed-off-by: John Crispin <john@phrozen.org>
2019-06-05 20:33:21 +02:00
Daniel Engberg 43449bcbbd treewide: Basic cleanup and alignment to package guidelines (#383)
This is a very basic cleanup, several packages needs more work
but this at least drops git for https and removes the use of
PKG_MD5SUM and some minor fixes.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-07-12 16:50:47 +02:00
Álvaro Fernández Rojas 9abfeba603 mcproxy: update to latest version (#339)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2018-01-06 22:34:31 +01:00
Stefan Peter 91e76a2f56 mcproxy: remove pedantic flag to allow compilation with musl
Signed-off-by: Stefan Peter <s.peter@mpl.ch>
2017-02-27 10:05:34 +01:00
Álvaro Fernández Rojas 898cc963d6 mcproxy: fix build with musl
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2015-06-17 21:36:42 +02:00
Álvaro Fernández Rojas 90ec859959 mcproxy: uci config improvements and fixes
- fix /var/etc race condition (uci config)
- start mcproxy later
- rework mcproxy config trigger
- add network triggers
- simplify uci instances generation and allow querier only configs
- improve uci tables generation
- fix uci behaviour generation for specific interface names

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2015-01-31 15:51:47 +01:00
Álvaro Fernández Rojas e03ee22d04 mcproxy: update to latest version, add UCI support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2014-12-31 21:22:02 +01:00
Steven Barth 69f203d5c3 Add SPDX license tags
Signed-off-by: Steven Barth <steven@midlink.org>
2014-11-03 13:17:00 +01:00
Steven Barth 2db474d808 mcproxy: bump to latest
Signed-off-by: Steven Barth <steven@midlink.org>
2014-08-12 08:11:48 +02:00
Álvaro Fernández Rojas 1b7452314c [mcproxy] Update to latest version. 2014-05-02 19:16:23 +02:00
Álvaro Fernández Rojas 983c205bec [mcproxy] Add sourcefilter only for uClibc. 2014-04-05 14:21:28 +02:00
Álvaro Fernández Rojas 0e39fefd7f [mcproxy] Split patches. 2014-04-05 14:15:16 +02:00
Álvaro Fernández Rojas 7682bd9039 [mcproxy] Update to latest version.
Avoid building for GCC 4.4 and GCC 4.6 (no c++11 support).
Move to routing and redirection menu.
Config cleanup (disable until configured, protocol info, example instances).
2014-04-05 14:00:31 +02:00
Steven Barth 8f98d53e1d mcproxy: add initial
Conflicts:

	mcproxy/Makefile
	mcproxy/files/mcproxy.conf
	mcproxy/files/mcproxy.init
2014-03-26 18:16:07 +01:00
Álvaro Fernández Rojas ad9d95cca2 [mcproxy] Add support for mcproxy v1.1.0. 2014-03-20 16:46:14 +01:00