wok-6.x rev 24919

updated motion (4.3.0 -> 4.4.0)
author Hans-G?nter Theisgen
date Sun Apr 10 07:17:22 2022 +0100 (2022-04-10)
parents f07afdedc98a
children e1a8d87ac28c
files moosefs/receipt motion/description.txt motion/receipt motion/stuff/init.d/motion
line diff
     1.1 --- a/moosefs/receipt	Sun Apr 10 06:58:04 2022 +0100
     1.2 +++ b/moosefs/receipt	Sun Apr 10 07:17:22 2022 +0100
     1.3 @@ -11,8 +11,8 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WGET_URL="https://github.com/moosefs/moosefs/archive/v$VERSION.tar.gz"
     1.6  
     1.7 -DEPENDS="fuse2 python zlib"
     1.8 -BUILD_DEPENDS="fuse2-dev pkg-config python zlib-dev"
     1.9 +DEPENDS="fuse python zlib"
    1.10 +BUILD_DEPENDS="fuse-dev pkg-config python zlib-dev"
    1.11  
    1.12  current_version()
    1.13  {
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/motion/description.txt	Sun Apr 10 07:17:22 2022 +0100
     2.3 @@ -0,0 +1,21 @@
     2.4 +Motion is a highly configurable program that monitors video signals
     2.5 +from many types of cameras.
     2.6 +
     2.7 +Set it up to monitor your security cameras, watch birds, check in
     2.8 +on your pet, create timelapse videos and more.
     2.9 +
    2.10 +- Create videos or save pictures of the activity
    2.11 +- Passthrough recording from many IP cameras
    2.12 +- View live stream of cameras
    2.13 +- Invoke scripts when activities occur
    2.14 +- Log activity into multiple types of databases
    2.15 +- Fully customizable masks for privacy or motion detection
    2.16 +- Full tls(https) support with authentication for webcontrol and streams
    2.17 +
    2.18 +Use Motion with many types of devices
    2.19 +
    2.20 +- Network cameras via RTSP, RTMP and HTTP
    2.21 +- PI cameras
    2.22 +- V4L2 webcams
    2.23 +- Video capture cards
    2.24 +- Existing movie files
     3.1 --- a/motion/receipt	Sun Apr 10 06:58:04 2022 +0100
     3.2 +++ b/motion/receipt	Sun Apr 10 07:17:22 2022 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="motion"
     3.7 -VERSION="4.3.0"
     3.8 +VERSION="4.4.0"
     3.9  CATEGORY="multimedia"
    3.10  SHORT_DESC="Monitors the video signal from cameras."
    3.11  MAINTAINER="pankso@slitaz.org"
    3.12 @@ -12,8 +12,8 @@
    3.13  WGET_URL="https://github.com/Motion-Project/$PACKAGE/archive/release-$VERSION.tar.gz"
    3.14  
    3.15  DEPENDS="ffmpeg jpeg libmicrohttpd libpthread-stubs libv4l"
    3.16 -BUILD_DEPENDS="automake ffmpeg-dev jpeg-dev libmicrohttpd-dev libpthread-stubs \
    3.17 -	libtool libv4l-dev"
    3.18 +BUILD_DEPENDS="automake ffmpeg-dev jpeg-dev libatomic libmicrohttpd-dev
    3.19 +	libpthread-stubs libtool libv4l-dev"
    3.20  
    3.21  current_version()
    3.22  {
    3.23 @@ -24,12 +24,15 @@
    3.24  # Rules to configure and make the package.
    3.25  compile_rules()
    3.26  {
    3.27 -	sed -i 's@<linux/videodev.h>@<libv4l1.h>\n#include <linux/videodev2.h>@' \
    3.28 -		src/*.c \
    3.29 -		src/*.h
    3.30 +#	sed -i 's@<linux/videodev.h>@<libv4l1.h>\n#include <linux/videodev2.h>@' \
    3.31 +#		src/*.c \
    3.32 +#		src/*.h
    3.33  
    3.34  	autoreconf -fiv &&
    3.35 -	./configure			\
    3.36 +	./configure				\
    3.37 +		CFLAGS="$CFLAGS -lvpx"		\
    3.38 +		LDFLAGS="$LDFLAGS -latomic"	\
    3.39 +		--disable-nls			\
    3.40  		--sysconfdir=/etc/motion &&
    3.41  	make &&
    3.42  	make install
     4.1 --- a/motion/stuff/init.d/motion	Sun Apr 10 06:58:04 2022 +0100
     4.2 +++ b/motion/stuff/init.d/motion	Sun Apr 10 07:17:22 2022 +0100
     4.3 @@ -11,8 +11,9 @@
     4.4  PIDFILE=/run/motion/motion.pid
     4.5  
     4.6  case "$1" in
     4.7 -	start)
     4.8 -		if active_pidfile $PIDFILE motion ; then
     4.9 +	(start)
    4.10 +		if active_pidfile $PIDFILE motion
    4.11 +		  then
    4.12  			_ '%s is already running.' $NAME
    4.13  			exit 1
    4.14  		fi
    4.15 @@ -21,8 +22,9 @@
    4.16  		$DAEMON -p $PIDFILE
    4.17  		status
    4.18  		;;
    4.19 -	stop)
    4.20 -		if ! active_pidfile $PIDFILE motion ; then
    4.21 +	(stop)
    4.22 +		if ! active_pidfile $PIDFILE motion
    4.23 +		  then
    4.24  			_ '%s is not running.' $NAME
    4.25  			exit 1
    4.26  		fi
    4.27 @@ -31,8 +33,9 @@
    4.28  		rm $PIDFILE
    4.29  		status
    4.30  		;;
    4.31 -	restart)
    4.32 -		if ! active_pidfile $PIDFILE motion ; then
    4.33 +	(restart)
    4.34 +		if ! active_pidfile $PIDFILE motion
    4.35 +		  then
    4.36  			echo "$NAME is not running."
    4.37  			exit 1
    4.38  		fi
    4.39 @@ -43,10 +46,11 @@
    4.40  		$DAEMON -p $PIDFILE
    4.41  		status
    4.42  		;;
    4.43 -	*)
    4.44 +	(*)
    4.45  		emsg "<n><b>$(_ 'Usage:')</b> $0 [start|stop|restart]"
    4.46  		newline
    4.47 -		exit 1 ;;
    4.48 +		exit 1
    4.49 +		;;
    4.50  esac
    4.51  
    4.52  exit 0