wok rev 23059

zoneminder: use openssl
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 07 17:19:32 2020 +0100 (2020-03-07)
parents 74421a6c9fbb
children cf080d84743a
files zoneminder/receipt
line diff
     1.1 --- a/zoneminder/receipt	Sat Mar 07 17:11:49 2020 +0100
     1.2 +++ b/zoneminder/receipt	Sat Mar 07 17:19:32 2020 +0100
     1.3 @@ -11,15 +11,16 @@
     1.4  TARBALL="$SOURCE-$VERSION.tar.gz"
     1.5  WGET_URL="http://www2.zoneminder.com/downloads/$TARBALL"
     1.6  
     1.7 -DEPENDS="mysql jpeg bzlib zlib ffmpeg x264 perl perl-dbi-dbd \
     1.8 +DEPENDS="mysql jpeg bzlib zlib ffmpeg x264 perl perl-dbi-dbd libssl \
     1.9  perl-dbd-mysql perl-time-hires perl-getopt-long perl-date-manip perl-libwww \
    1.10  perl-archive-zip"
    1.11 -BUILD_DEPENDS="mysql-dev jpeg-dev ffmpeg-dev gnutls-dev libav-dev libgnutls \
    1.12 +BUILD_DEPENDS="mysql-dev jpeg-dev ffmpeg-dev openssl-dev libav-dev \
    1.13  linux-api-headers $DEPENDS"
    1.14  
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
    1.18 +	export ZM_SSL_LIB=openssl
    1.19  	sed -i 's|\(jpeg_set_quality.*\)false|\1boolean(false)|' src/zm_image.cpp
    1.20  	sed -i 's/.*fcntl.h.*/#include <limits.h>\n&/' src/zm_event.cpp \
    1.21  		src/zm_local_camera.cpp