# HG changeset patch # User Hans-G?nter Theisgen # Date 1649571442 -3600 # Node ID 7c04901ef47005afc2bbb593cb83087189ecbc2e # Parent f07afdedc98adabd210a89b0fa9cc0d7b1d56aed updated motion (4.3.0 -> 4.4.0) diff -r f07afdedc98a -r 7c04901ef470 moosefs/receipt --- a/moosefs/receipt Sun Apr 10 06:58:04 2022 +0100 +++ b/moosefs/receipt Sun Apr 10 07:17:22 2022 +0100 @@ -11,8 +11,8 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/moosefs/moosefs/archive/v$VERSION.tar.gz" -DEPENDS="fuse2 python zlib" -BUILD_DEPENDS="fuse2-dev pkg-config python zlib-dev" +DEPENDS="fuse python zlib" +BUILD_DEPENDS="fuse-dev pkg-config python zlib-dev" current_version() { diff -r f07afdedc98a -r 7c04901ef470 motion/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/motion/description.txt Sun Apr 10 07:17:22 2022 +0100 @@ -0,0 +1,21 @@ +Motion is a highly configurable program that monitors video signals +from many types of cameras. + +Set it up to monitor your security cameras, watch birds, check in +on your pet, create timelapse videos and more. + +- Create videos or save pictures of the activity +- Passthrough recording from many IP cameras +- View live stream of cameras +- Invoke scripts when activities occur +- Log activity into multiple types of databases +- Fully customizable masks for privacy or motion detection +- Full tls(https) support with authentication for webcontrol and streams + +Use Motion with many types of devices + +- Network cameras via RTSP, RTMP and HTTP +- PI cameras +- V4L2 webcams +- Video capture cards +- Existing movie files diff -r f07afdedc98a -r 7c04901ef470 motion/receipt --- a/motion/receipt Sun Apr 10 06:58:04 2022 +0100 +++ b/motion/receipt Sun Apr 10 07:17:22 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="motion" -VERSION="4.3.0" +VERSION="4.4.0" CATEGORY="multimedia" SHORT_DESC="Monitors the video signal from cameras." MAINTAINER="pankso@slitaz.org" @@ -12,8 +12,8 @@ WGET_URL="https://github.com/Motion-Project/$PACKAGE/archive/release-$VERSION.tar.gz" DEPENDS="ffmpeg jpeg libmicrohttpd libpthread-stubs libv4l" -BUILD_DEPENDS="automake ffmpeg-dev jpeg-dev libmicrohttpd-dev libpthread-stubs \ - libtool libv4l-dev" +BUILD_DEPENDS="automake ffmpeg-dev jpeg-dev libatomic libmicrohttpd-dev + libpthread-stubs libtool libv4l-dev" current_version() { @@ -24,12 +24,15 @@ # Rules to configure and make the package. compile_rules() { - sed -i 's@@\n#include @' \ - src/*.c \ - src/*.h +# sed -i 's@@\n#include @' \ +# src/*.c \ +# src/*.h autoreconf -fiv && - ./configure \ + ./configure \ + CFLAGS="$CFLAGS -lvpx" \ + LDFLAGS="$LDFLAGS -latomic" \ + --disable-nls \ --sysconfdir=/etc/motion && make && make install diff -r f07afdedc98a -r 7c04901ef470 motion/stuff/init.d/motion --- a/motion/stuff/init.d/motion Sun Apr 10 06:58:04 2022 +0100 +++ b/motion/stuff/init.d/motion Sun Apr 10 07:17:22 2022 +0100 @@ -11,8 +11,9 @@ PIDFILE=/run/motion/motion.pid case "$1" in - start) - if active_pidfile $PIDFILE motion ; then + (start) + if active_pidfile $PIDFILE motion + then _ '%s is already running.' $NAME exit 1 fi @@ -21,8 +22,9 @@ $DAEMON -p $PIDFILE status ;; - stop) - if ! active_pidfile $PIDFILE motion ; then + (stop) + if ! active_pidfile $PIDFILE motion + then _ '%s is not running.' $NAME exit 1 fi @@ -31,8 +33,9 @@ rm $PIDFILE status ;; - restart) - if ! active_pidfile $PIDFILE motion ; then + (restart) + if ! active_pidfile $PIDFILE motion + then echo "$NAME is not running." exit 1 fi @@ -43,10 +46,11 @@ $DAEMON -p $PIDFILE status ;; - *) + (*) emsg "$(_ 'Usage:') $0 [start|stop|restart]" newline - exit 1 ;; + exit 1 + ;; esac exit 0