Skip to content

Commit ec41f60

Browse files
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2 parents 810e2e8 + 42b4ee0 commit ec41f60

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

distros/redhat/zoneminder.spec

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ BuildRequires: desktop-file-utils
7676
BuildRequires: gzip
7777
BuildRequires: zlib-devel
7878

79+
# jwt-cpp looks for nlohmann_json which is part of json-devel
80+
BuildRequires: json-devel
81+
7982
# ZoneMinder looks for and records the location of the ffmpeg binary during build
8083
BuildRequires: ffmpeg
8184
BuildRequires: ffmpeg-devel
@@ -195,7 +198,6 @@ rm -rf ./dep/RtspServer
195198
mv -f RtspServer-%{rtspserver_commit} ./dep/RtspServer
196199

197200
# Change the following default values
198-
./utils/zmeditconfigdata.sh ZM_OPT_CAMBOZOLA yes
199201
./utils/zmeditconfigdata.sh ZM_OPT_CONTROL yes
200202
./utils/zmeditconfigdata.sh ZM_CHECK_FOR_UPDATES no
201203

@@ -224,6 +226,10 @@ desktop-file-install \
224226
# Remove unwanted files and folders
225227
find %{buildroot} \( -name .htaccess -or -name .editorconfig -or -name .packlist -or -name .git -or -name .gitignore -or -name .gitattributes -or -name .travis.yml \) -type f -delete > /dev/null 2>&1 || :
226228

229+
# Remove third-party header and cmake files that should not have been installed
230+
rm -rf %{buildroot}%{_prefix}/cmake
231+
rm -rf %{buildroot}%{_includedir}
232+
227233
# Recursively change shebang in all relevant scripts and set execute permission
228234
find %{buildroot}%{_datadir}/zoneminder/www/api \( -name cake -or -name cake.php \) -type f -exec sed -i 's\^#!/usr/bin/env bash$\#!%{_buildshell}\' {} \; -exec %{__chmod} 755 {} \;
229235

@@ -336,12 +342,15 @@ ln -sf %{_sysconfdir}/zm/www/zoneminder.nginx.conf %{_sysconfdir}/zm/www/zonemin
336342

337343
%{_unitdir}/zoneminder.service
338344
%{_datadir}/polkit-1/actions/com.zoneminder.systemctl.policy
345+
%{_datadir}/polkit-1/actions/com.zoneminder.arp-scan.policy
346+
%{_datadir}/polkit-1/rules.d/com.zoneminder.arp-scan.rules
339347
%{_bindir}/zmsystemctl.pl
340348

341349
%{_bindir}/zmaudit.pl
342350
%{_bindir}/zmc
343351
%{_bindir}/zmcontrol.pl
344352
%{_bindir}/zmdc.pl
353+
%{_bindir}/zmeventtool.pl
345354
%{_bindir}/zmfilter.pl
346355
%{_bindir}/zmpkg.pl
347356
%{_bindir}/zmtrack.pl

utils/packpack/startpackpack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ commonprep () {
118118
fi
119119
fi
120120

121-
RTSPVER="eab32851421ffe54fec0229c3efc44c642bc8d46"
121+
RTSPVER="055d81fe1293429e496b19104a9ed3360755a440"
122122
if [ -e "build/RtspServer-${RTSPVER}.tar.gz" ]; then
123123
echo "Found existing RtspServer ${RTSPVER} tarball..."
124124
else

0 commit comments

Comments
 (0)