Commit Graph

11 Commits

Author SHA1 Message Date
Robert N 30822cc2fb motion: refresh patches
Signed-off-by: Robert N <nrobert13@gmail.com>
2022-12-25 18:39:13 -08:00
Rosen Penev aa2509b9d5
motion: update to 4.3.2
Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-05 20:18:46 -08:00
Rosen Penev f2dae99c41
motion: fix old libmicrohttpd usage
Doesn't seem to be needed for this package but it does fix several
warnings.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-04 19:05:41 -07:00
Rosen Penev 78c0e2b06a
motion: update to 4.3.1
Remove upstreamed patch.

Added patch to remove man and po stuff to fix compilation and speed up
the build.

Added PKG_BUILD_PARALLEL for faster builds.

Added PKG_INSTALL for consistency between packages. Used those install
paths as well to make it easier.

Other small cleanups for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-13 18:54:22 -07:00
Stijn Tintel 34718f5c1d motion: fix streaming
Streaming was broken since version 4.2. Backport upstream fix.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2019-12-02 01:20:24 +02:00
Rosen Penev a66181f382 motion: Update to 4.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-05 20:38:56 -08:00
Rosen Penev 95cce73642 motion: Backport upstream commit to fix running on musl.
Reported on OpenWrt forums

https://forum.openwrt.org/t/motion-segmentation-fault-after-upgrade-to-4-14-68/21276

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-15 10:39:53 -07:00
Rosen Penev d0e2f0b7ce motion: Update to 4.1.1 and switch to codeload
Simpler.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-07-30 22:01:42 -07:00
Jo-Philipp Wich 926b68c15d motion: fix segmentation fault under musl libc
During startup, motion calls pthread_getspecific() through motion_log()
before pthread_key_create() has been called yet. This works on glibc and
uclibc but segfaults on musl because motion is relying on undefined
behaviour here.

Move the pthread initialization before motion_startup() so that
tls_key_threadnr is initialized when motion_log() is called.

Also enforce the use of strerror_r() on musl by defining XSI_STRERROR_R
on all non-glibc systems because the supposed replacement code is broken
and crashes on musl.

References:
http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2015x09x30x203633

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-08 02:15:28 +02:00
Roger f1f11a576b motion: remove outdated (?) patch
Signed-off-by: Roger D <rogerdammit@gmail.com>
2014-11-04 14:05:40 -06:00
Roger df02327dc1 motion: add from old packages
Signed-off-by: Roger D rogerdammit@gmail.com
2014-07-28 20:50:53 -05:00