Currently motion is failing to compile on bcm27xx because of a missing
dependency.
Sorted the configure options based on the order they appear in the
configure script. Also removed outdated ones.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
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>
motion was previously forcing the use of libmicrohttp-ssl which is not
mandatory and it works just fine without SSL.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Disable the init script by default to avoid log pollution; motion is
very verbose when it cannot open the configured camera.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git
(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
The conffiles definition in Makefile should not contain leading whitespace.
Remove whitespace from Makefile of motion, dnscrypt-proxy and sstp-client.
Reference to discussion at #2652
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
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>