aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-12-14 17:29:58 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-15 15:13:37 +0100
commit58442929f2f8d8f09b8223997ace0186d1225c20 (patch)
tree94efde42d7ee384e5a9b21d8eb40409779df9c06
parent979c4b9f632c5ef4b481dcaa26ce20f4c3dcf6e5 (diff)
system/ZoneMinder: Removed.
Unmaintained and not compatible yet with fmpeg-0.11.x Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--system/ZoneMinder/README18
-rw-r--r--system/ZoneMinder/README.PERLDEPS41
-rw-r--r--system/ZoneMinder/README.SLACKWARE60
-rw-r--r--system/ZoneMinder/ZoneMinder.SlackBuild174
-rw-r--r--system/ZoneMinder/ZoneMinder.info14
-rw-r--r--system/ZoneMinder/doinst.sh33
-rw-r--r--system/ZoneMinder/patches/01_gcc_4.7.patch55
-rw-r--r--system/ZoneMinder/patches/02_destdir-fix.patch16
-rw-r--r--system/ZoneMinder/patches/db_upgrade_script_location.patch11
-rw-r--r--system/ZoneMinder/slack-desc19
-rw-r--r--system/ZoneMinder/zm_apache.conf9
-rw-r--r--system/ZoneMinder/zm_logrotate9
12 files changed, 0 insertions, 459 deletions
diff --git a/system/ZoneMinder/README b/system/ZoneMinder/README
deleted file mode 100644
index 3ca6da6dabe4..000000000000
--- a/system/ZoneMinder/README
+++ /dev/null
@@ -1,18 +0,0 @@
-ZoneMinder is a Linux video camera security and surveillance solution.
-
-This suite is intended for use in single or multi-camera video
-security applications, commercial or home CCTV. It supports capture,
-analysis, recording, and monitoring of video data. PTZ cameras can
-be controlled via web or semi-automatically using a variety of
-protocols. It can also be integrated into a home automation system
-via X.10 or other protocols.
-This build includes cambozola and jscalendar.
-
-Optional dependencies are ffmpeg (video streaming and recoding
-support), perl-Archive-Zip (automatic event uploading), perl-X10
-(integration with X10-based home automation), perl-Device-SerialPort
-(RS232/RS485 PTZ camera control), perl-MIME-Lite, and perl-MIME-Entity
-(automatic event mail notification). See README.PERLDEPS for a
-detailed description of the perl dependencies.
-
-See README.SLACKWARE for configuration information.
diff --git a/system/ZoneMinder/README.PERLDEPS b/system/ZoneMinder/README.PERLDEPS
deleted file mode 100644
index 1f4c3ad5ba20..000000000000
--- a/system/ZoneMinder/README.PERLDEPS
+++ /dev/null
@@ -1,41 +0,0 @@
-README-PERLDEPS.TXT
-This file summarizes perl dependencies for ZoneMinder 1.24.2.
-Exact modules Zoneminder needs are noted in square brackets.
-Packages that I (V'yacheslav Stetskevych) maintain, are marked with (x).
-
-perl-Date-Manip [Date::Manip] (x)
- \- perl-Test-Pod-Coverage [Test::Pod::Coverage] (x)
- \- perl-Pod-Coverage [Pod::Coverage] (x)
- \- perl-Devel-Symdump [Devel::Symdump] (x)
- \- perl-YAML-Syck [YAML::Syck] (x)
- \- perl-Test-Pod [Test::Pod]
- \- perl-Test-Inter [Test::Inter] (x)
-libwww-perl [LWP::UserAgent]
- \- perl-net-http [Net::HTTP]
- \- perl-http-message [HTTP::Message]
- \- perl-uri-escape [URI::Escape]
- \- perl-lwp-mediatypes [LWP::MediaTypes]
- \- perl-encode-locale [Encode::Locale]
- \- perl-http-date [HTTP::Date]
- \- perl-html-parser [HTML::Parser]
- \- perl-html-tagset [HTML::Tagset]
- \- perl-file-listing [File::Listing]
- \- perl-http-negotiate [HTTP::Negotiate]
- \- perl-http-daemon [HTTP::Daemon]
- \- perl-http-cookies [HTTP::Cookies]
- \- perl-www-robotrules [WWW::RobotRules]
-perl-PHP-Serialization [PHP::Serialization] (x)
-perl-Archive-Zip [Archive::Zip]
-perl-MIME-Lite [MIME::Lite] (x)
- \- perl-Email-Date-Format [Email::Date::Format] (x)
-perl-MIME-tools [MIME::Entity]
- \- perl-IO-stringy [IO::Stringy]
- \- perl-MailTools [Mail::Header]
- \- perl-TimeDate [Date::Format]
- \- perl-Test-Pod [Test::Pod]
-perl-Sys-Mmap [Sys::Mmap] (x)
-perl-Device-SerialPort [Device::SerialPort] (x)
-perl-X10 [X10::ActiveHome] (x)
- \- perl-Time-modules [Time::ParseDate] (x)
- \- perl-Astro-SunTime [Astro::SunTime] (x)
-
diff --git a/system/ZoneMinder/README.SLACKWARE b/system/ZoneMinder/README.SLACKWARE
deleted file mode 100644
index a6330bc00eef..000000000000
--- a/system/ZoneMinder/README.SLACKWARE
+++ /dev/null
@@ -1,60 +0,0 @@
-README.SLACKWARE
-Written by V'yacheslav Stetskevych <slava18@gmail.com>
-
-This build uses the mmap method for camera access, as opposed to shared memory.
-That means, there is no need to configure shared memory limits any more.
-You can revert back to the shm method by removing --enable-mmap from the build.
-
-To use ZoneMinder, you need to have Apache, PHP and MySQL.
-
-CONFIGURATION
-# Be sure to follow the dircetions in /etc/rc.d/rc.mysqld before you try and
- setup your database.
-
-1) Database setup:
-# mysql -u root -p
-source /usr/share/ZoneMinder/db/zm_create.sql
-use mysql;
-grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';
-quit;
-
-Reload the mysql server with "mysqladmin reload".
-
-2) Apache configuration:
-Uncomment mod_php at the end of /etc/httpd/httpd.conf.
-Add this line to httpd.conf:
- Include /etc/zm/zm_apache.conf
-
-# You may need to chmod +x /etc/rc.d/rc.httpd first
-Restart apache with "/etc/rc.d/rc.httpd restart".
-
-## NOTE: This should be fixed in perl-Date-Manip and not needed now. ###
-3) Populate /etc/timezone (fixes zmfilter.pl): #
-perl-Date-Manip requires the file /etc/timezone to be present. #
-Slackware does not ship this file, so use this script to populate it: #
- #
- localTime="$(readlink /etc/localtime-copied-from)"; #
- echo ${localTime#*/usr/share/zoneinfo/} > /etc/timezone #
-########################################################################
-
-To make ZoneMinder launch on system boot:
-/etc/rc.d/rc.local:
-==================================
-if [ -x /etc/rc.d/rc.zm ]; then
- /etc/rc.d/rc.zm start
-fi
-
-/etc/rc.d/rc.local_shutdown:
-==================================
-if [ -x /etc/rc.d/rc.zm ]; then
- /etc/rc.d/rc.zm stop
-fi
-
-Database upgrade files are provided in /usr/share/ZoneMinder/db.
-
-See http://www.zoneminder.com/wiki/index.php/Documentation#Logging for info
-on how to counter the massive amount of syslog spam that ZoneMinder generates.
-
-The ZoneMinder web interface shall be available at http://hostname/zm/
-
-Have fun!
diff --git a/system/ZoneMinder/ZoneMinder.SlackBuild b/system/ZoneMinder/ZoneMinder.SlackBuild
deleted file mode 100644
index 0c25b6e4a3ec..000000000000
--- a/system/ZoneMinder/ZoneMinder.SlackBuild
+++ /dev/null
@@ -1,174 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ZoneMinder
-
-# Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Heavily modified by the SlackBuilds.org project 2010 --dsomero
-
-PRGNAM=ZoneMinder
-VERSION=${VERSION:-r3649}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-CAMBOZOLA_VERSION=${CAMBOZOLA_VERSION:-0.76} # Java streaming client
-JSCALENDAR_VERSION=${JSCALENDAR_VERSION:-1.0} # Calendar plugin (use 1.0 here)
-DOCOWN=${DOCOWN:-apache}
-DOCGRP=${DOCGRP:-apache}
-DOCROOT=${DOCROOT:-"/srv/httpd/htdocs/zm"}
-CGIROOT=${CGIROOT:-"/srv/httpd/cgi-bin"}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-tar xvf $CWD/cambozola-$CAMBOZOLA_VERSION.tar.gz
-unzip $CWD/jscalendar-$JSCALENDAR_VERSION.zip
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Apply all the patches in $CWD/patches
-for patch in $CWD/patches/* ; do
- patch -p1 < $patch
-done
-
-# Regenerate files for automake/autoconf.
-autoreconf
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -D__STDC_CONSTANT_MACROS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc/zm \
- --localstatedir=/var \
- --mandir=/usr/man \
- --build=$ARCH-slackware-linux \
- --with-libarch=lib${LIBDIRSUFFIX} \
- --with-mysql=/usr \
- --with-ffmpeg=/usr \
- --with-webdir=$DOCROOT \
- --with-cgidir=$CGIROOT \
- --with-webuser=$DOCOWN \
- --with-webgroup=$DOCGRP \
- --disable-crashtrace \
- --disable-debug \
- --enable-mmap=yes
-
-make
-make install DESTDIR=$PKG INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3
-
-# Strip binaries
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Compress manpages
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
-# Remove junk files and dirs
-find $PKG -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f || true
-
-find $PKG/usr -depth -type d -empty -delete || true
-
-mkdir -p $PKG/var/{log,lock/subsys}
-install -d -o $DOCOWN -g $DOCGRP $PKG/var/log/zm
-
-for DIR in events images sound; do
- install -d -o $DOCOWN -g $DOCGRP $PKG$DOCROOT/$DIR
-done
-
-# Install logrotate script
-mkdir -p $PKG/etc/logrotate.d/
-cat $CWD/zm_logrotate > $PKG/etc/logrotate.d/zm.new
-
-# Install apache config
-sed "s%@DOCROOT@%$DOCROOT%" $CWD/zm_apache.conf > $PKG/etc/zm/zm_apache.conf.new
-
-# Do not clobber the config file
-mv $PKG/etc/zm/zm.conf $PKG/etc/zm/zm.conf.new
-
-# Install startup script
-install -D -m 755 scripts/zm $PKG/etc/rc.d/rc.zm.new
-
-# Install cambozola
-install -m 644 cambozola-$CAMBOZOLA_VERSION/dist/cambozola.jar $PKG$DOCROOT
-
-# Install jscalendar
-mkdir -p $PKG$DOCROOT/tools/jscalendar
-cp -Rp jscalendar-$JSCALENDAR_VERSION/* $PKG$DOCROOT/tools/jscalendar
-
-mkdir -p $PKG/usr/share/$PRGNAM/db
-cp -a db/zm_create.sql db/zm_update-*.sql $PKG/usr/share/$PRGNAM/db
-
-# Remove other dangerous junk
-rm -fR $PKG/tmp
-
-# Copy documentation
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
-cat $CWD/README.PERLDEPS > $PKG/usr/doc/$PRGNAM-$VERSION/README.PERLDEPS
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/ZoneMinder/ZoneMinder.info b/system/ZoneMinder/ZoneMinder.info
deleted file mode 100644
index 0c64f56253eb..000000000000
--- a/system/ZoneMinder/ZoneMinder.info
+++ /dev/null
@@ -1,14 +0,0 @@
-PRGNAM="ZoneMinder"
-VERSION="r3649"
-HOMEPAGE="http://www.zoneminder.com"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/ZoneMinder-r3649.tar.gz \
- http://www.charliemouse.com:8080/code/cambozola/cambozola-0.76.tar.gz \
- http://downloads.sourceforge.net/jscalendar/jscalendar-1.0.zip"
-MD5SUM="a761d0355bcf8427b403791aa616b434 \
- 30c17059bbba8da69bb971b4082eb712 \
- 10f2160fe68294013efcd1473cd36f72"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libwww-perl perl-Date-Manip perl-PHP-Serialization perl-Sys-Mmap"
-MAINTAINER="V'yacheslav Stetskevych"
-EMAIL="slava18@gmail.com"
diff --git a/system/ZoneMinder/doinst.sh b/system/ZoneMinder/doinst.sh
deleted file mode 100644
index 45b15510f2c4..000000000000
--- a/system/ZoneMinder/doinst.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-# Keep same perms on rc.zm.new:
-if [ -e etc/rc.d/rc.zm ]; then
- cp -a etc/rc.d/rc.zm etc/rc.d/rc.zm.new.incoming
- cat etc/rc.d/rc.zm.new > etc/rc.d/rc.zm.new.incoming
- mv etc/rc.d/rc.zm.new.incoming etc/rc.d/rc.zm.new
-fi
-
-config etc/rc.d/rc.zm.new
-config etc/zm/zm.conf.new
-config etc/zm/zm_apache.conf.new
-config etc/logrotate.d/zm.new
-
-echo ""
-echo " If this is a new installation, you will need to create a MySQL database"
-echo " for ZoneMinder to use. See /usr/doc/ZoneMinder-<version>/README.SLACKWARE"
-echo ""
-echo " If you are upgrading, you will need to run the zmupdate.pl script:"
-echo " /usr/bin/zmupdate.pl version=<from version> [--user=<my_database_user> --pass=<my_database_pass>]"
-echo ""
-
diff --git a/system/ZoneMinder/patches/01_gcc_4.7.patch b/system/ZoneMinder/patches/01_gcc_4.7.patch
deleted file mode 100644
index 9678661e9c65..000000000000
--- a/system/ZoneMinder/patches/01_gcc_4.7.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-diff -Naur ZoneMinder-r3649.orig/src/zm_logger.cpp ZoneMinder-r3649/src/zm_logger.cpp
---- ZoneMinder-r3649.orig/src/zm_logger.cpp 2011-06-28 13:07:35.197263000 +0200
-+++ ZoneMinder-r3649/src/zm_logger.cpp 2012-06-20 15:00:53.054661523 +0200
-@@ -22,6 +22,7 @@
- #include "zm_config.h"
- #include "zm_utils.h"
-
-+#include <unistd.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-diff -Naur ZoneMinder-r3649.orig/src/zm_rtp_data.cpp ZoneMinder-r3649/src/zm_rtp_data.cpp
---- ZoneMinder-r3649.orig/src/zm_rtp_data.cpp 2010-11-11 13:22:35.884567000 +0100
-+++ ZoneMinder-r3649/src/zm_rtp_data.cpp 2012-06-20 15:05:36.466118392 +0200
-@@ -17,6 +17,7 @@
- // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- //
-
-+#include <unistd.h>
- #include "zm.h"
-
- #if HAVE_LIBAVFORMAT
-diff -Naur ZoneMinder-r3649.orig/src/zm_rtp_source.cpp ZoneMinder-r3649/src/zm_rtp_source.cpp
---- ZoneMinder-r3649.orig/src/zm_rtp_source.cpp 2010-07-04 20:00:35.480475000 +0200
-+++ ZoneMinder-r3649/src/zm_rtp_source.cpp 2012-06-20 15:05:26.907237894 +0200
-@@ -17,6 +17,7 @@
- // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- //
-
-+#include <unistd.h>
- #include "zm_rtp_source.h"
-
- #include "zm_time.h"
-diff -Naur ZoneMinder-r3649.orig/src/zm_thread.cpp ZoneMinder-r3649/src/zm_thread.cpp
---- ZoneMinder-r3649.orig/src/zm_thread.cpp 2011-06-21 11:19:10.272416000 +0200
-+++ ZoneMinder-r3649/src/zm_thread.cpp 2012-06-20 15:06:50.786189262 +0200
-@@ -17,6 +17,7 @@
- // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- //
-
-+#include <unistd.h>
- #include "zm_thread.h"
-
- #include "zm_logger.h"
-diff -Naur ZoneMinder-r3649.orig/src/zm_timer.cpp ZoneMinder-r3649/src/zm_timer.cpp
---- ZoneMinder-r3649.orig/src/zm_timer.cpp 2011-06-21 11:19:10.272416000 +0200
-+++ ZoneMinder-r3649/src/zm_timer.cpp 2012-06-20 15:07:44.437518529 +0200
-@@ -17,6 +17,7 @@
- // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- //
-
-+#include <unistd.h>
- #include "zm_timer.h"
-
- #include "zm_logger.h"
diff --git a/system/ZoneMinder/patches/02_destdir-fix.patch b/system/ZoneMinder/patches/02_destdir-fix.patch
deleted file mode 100644
index ffc74157960a..000000000000
--- a/system/ZoneMinder/patches/02_destdir-fix.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -Naur ZoneMinder-r3649.orig/Makefile.am ZoneMinder-r3649/Makefile.am
---- ZoneMinder-r3649.orig/Makefile.am 2011-05-20 11:46:14.321490000 +0200
-+++ ZoneMinder-r3649/Makefile.am 2012-06-20 14:55:04.474019380 +0200
-@@ -21,9 +21,9 @@
- # Yes, you are correct. This is a HACK!
- install-data-hook:
- ( cd $(DESTDIR)$(sysconfdir); chown $(webuser):$(webgroup) $(sysconf_DATA); chmod 600 $(sysconf_DATA) )
-- ( if ! test -e $(ZM_RUNDIR); then mkdir -p $(ZM_RUNDIR); fi; if test "$(ZM_RUNDIR)" != "/var/run"; then chown $(webuser):$(webgroup) $(ZM_RUNDIR); chmod u+w $(ZM_RUNDIR); fi )
-- ( if ! test -e $(ZM_TMPDIR); then mkdir -m 700 -p $(ZM_TMPDIR); fi; if test "$(ZM_TMPDIR)" != "/tmp"; then chown $(webuser):$(webgroup) $(ZM_TMPDIR); chmod u+w $(ZM_TMPDIR); fi )
-- ( if ! test -e $(ZM_LOGDIR); then mkdir -p $(ZM_LOGDIR); fi; if test "$(ZM_LOGDIR)" != "/var/log"; then chown $(webuser):$(webgroup) $(ZM_LOGDIR); chmod u+w $(ZM_LOGDIR); fi )
-+ ( if ! test -e $(DESTDIR)$(ZM_RUNDIR); then mkdir -p $(DESTDIR)$(ZM_RUNDIR); fi; if test "$(ZM_RUNDIR)" != "/var/run"; then chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_RUNDIR); chmod u+w $(DESTDIR)$(ZM_RUNDIR); fi )
-+ ( if ! test -e $(DESTDIR)$(ZM_TMPDIR); then mkdir -m 700 -p $(DESTDIR)$(ZM_TMPDIR); fi; if test "$(ZM_TMPDIR)" != "/tmp"; then chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_TMPDIR); chmod u+w $(DESTDIR)$(ZM_TMPDIR); fi )
-+ ( if ! test -e $(DESTDIR)$(ZM_LOGDIR); then mkdir -p $(DESTDIR)$(ZM_LOGDIR); fi; if test "$(ZM_LOGDIR)" != "/var/log"; then chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_LOGDIR); chmod u+w $(DESTDIR)$(ZM_LOGDIR); fi )
-
- uninstall-hook:
- @-( cd $(DESTDIR)$(webdir); rm -rf events graphics images sounds temp )
diff --git a/system/ZoneMinder/patches/db_upgrade_script_location.patch b/system/ZoneMinder/patches/db_upgrade_script_location.patch
deleted file mode 100644
index ca32afc34c44..000000000000
--- a/system/ZoneMinder/patches/db_upgrade_script_location.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ZoneMinder-1.24.1/zm.conf.in.orig 2009-03-23 13:55:43.000000000 +0000
-+++ ZoneMinder-1.24.1/zm.conf.in 2009-03-23 13:57:22.000000000 +0000
-@@ -13,7 +13,7 @@
- ZM_VERSION=@VERSION@
-
- # Path to build directory, used mostly for finding DB upgrade scripts
--ZM_PATH_BUILD=@PATH_BUILD@
-+ZM_PATH_BUILD=/usr/share/ZoneMinder
-
- # Build time, used to record when to trigger various checks
- ZM_TIME_BUILD=@TIME_BUILD@
diff --git a/system/ZoneMinder/slack-desc b/system/ZoneMinder/slack-desc
deleted file mode 100644
index 1667ccdaa50b..000000000000
--- a/system/ZoneMinder/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-ZoneMinder: ZoneMinder (Linux video camera security and surveillance solution)
-ZoneMinder:
-ZoneMinder: This suite is intended for use in single or multi-camera video
-ZoneMinder: security applications, commercial or home CCTV. It supports capture,
-ZoneMinder: analysis, recording, and monitoring of video data. PTZ cameras can
-ZoneMinder: be controlled via web or semi-automatically using a variety of
-ZoneMinder: protocols. It can also be integrated into a home automation system
-ZoneMinder: via X.10 or other protocols. This build includes cambozola and
-ZoneMinder: jscalendar.
-ZoneMinder:
-ZoneMinder: Homepage: http://www.zoneminder.com/
diff --git a/system/ZoneMinder/zm_apache.conf b/system/ZoneMinder/zm_apache.conf
deleted file mode 100644
index 1fc10c54d340..000000000000
--- a/system/ZoneMinder/zm_apache.conf
+++ /dev/null
@@ -1,9 +0,0 @@
-<Directory "@DOCROOT@">
- AllowOverride FileInfo Options
- Options FollowSymLinks
- php_flag register_globals off
- php_flag short_open_tag on
- <IfModule dir_module>
- DirectoryIndex index.php
- </IfModule>
-</Directory>
diff --git a/system/ZoneMinder/zm_logrotate b/system/ZoneMinder/zm_logrotate
deleted file mode 100644
index 72c736c6dfa1..000000000000
--- a/system/ZoneMinder/zm_logrotate
+++ /dev/null
@@ -1,9 +0,0 @@
-/var/log/zm/*log {
- weekly
- rotate 4
- notifempty
- missingok
- postrotate
- /usr/bin/zmpkg.pl logrot
- endscript
-}