Go to file
Isaac Connor b5ee966d90 Add some -> and test for ControlDevice so as not to give a warning 2025-01-05 13:12:40 -05:00
.github add gsoap to bookworm build 2024-09-16 13:47:41 -04:00
.well-known Add funding-manifest-urls 2025-01-03 14:00:57 -05:00
cmake Strip build time from compressed manpages 2024-12-16 16:07:43 +01:00
conf.d Merge pull request #3792 from Simpler1/patch-7 2023-12-07 10:08:30 -05:00
db Handle Users no longer having MOnitorIds column 2025-01-04 12:51:53 -05:00
dep Remove generated files 2024-10-21 17:40:01 -04:00
distros Bump version to 1.37.65 for visibility for GHSA-qm8h-3xvf-m7j3 2024-10-31 13:52:38 -04:00
docs Add mysql install and db creation to Jammy instructions. Add a couple hints that it also applies to newer. Fixes #4185 2024-11-12 06:56:16 -05:00
email_content Rough in some email content templates 2023-10-26 18:29:13 -04:00
fonts ZmFont: Store character padding in font file 2021-04-25 23:13:21 +02:00
icons/16x16
misc Add TP-Link to MacVendors 2024-05-31 14:53:23 -04:00
onvif Onvif corrections 2023-08-13 18:57:36 +02:00
scripts Add some -> and test for ControlDevice so as not to give a warning 2025-01-05 13:12:40 -05:00
src Fix adding rotation when not needed. 2025-01-02 14:15:01 -05:00
tests Update to Catch2 v3 2024-05-08 14:16:05 -04:00
utils Add noble and do package install test for jammy 2024-08-19 12:25:45 -04:00
web Don't include empty fields in filter query string, just to shorten it a bit 2024-12-21 14:34:35 -05:00
.cirrus.yml Switch to catch2 for freebsd 2024-09-18 09:49:47 -04:00
.dockerignore
.eslintignore Fix eslint 2024-10-15 18:10:05 -04:00
.eslintrc.js Update eslint setting to ecma2021 which is the latest my installed eslint supports. All this in unnamed functions which we do a lot of jquery.each() 2024-05-08 13:47:30 -04:00
.git-blame-ignore-revs
.gitignore Remove tools dir from .gitignore 2024-09-25 10:44:42 -04:00
.gitlab-ci.yml Bumped up the timeout due to build server being slow sometimes 2022-04-24 13:36:05 -05:00
.gitmodules remove booleval 2022-07-14 17:28:15 -04:00
.readthedocs.yaml Add explicit path to sphinx conf.py as required by readthedocs 2024-12-18 12:27:38 -05:00
CHANGELOG.md
CMakeLists.txt Correct MQTT library addition to ZM_BIN_LIBS 2024-10-21 17:40:01 -04:00
CONTRIBUTING.md
COPYING
LICENSE
README.md Add Discord logo and link. 2023-01-09 17:57:27 -07:00
SECURITY.md Update ZM version in SECURITY.md 2023-11-12 04:59:37 -08:00
cmakecacheimport.sh cmakecacheimport parameters 2023-08-19 12:41:07 +02:00
code_of_conduct.md
funding.json Fixed funding.json 2025-01-03 14:45:53 -05:00
version.txt Bump version to 1.37.65 for visibility for GHSA-qm8h-3xvf-m7j3 2024-10-31 13:52:38 -04:00
zm.conf.in Text corrections 2023-08-27 02:00:59 +02:00
zmconfgen.pl.in build: Store all generated sources in CMAKE_BINARY_DIR 2021-04-11 01:28:23 +02:00
zmlinkcontent.sh.in Text corrections 2023-08-27 02:00:59 +02:00
zoneminder-config.cmake Have to add MOSQUITTO_FOUND and MOSQUITTOPP_FOUDN to zoneminder-config.cmake in order for those defines to show up in config.h 2024-10-21 17:40:01 -04:00

README.md

ZoneMinder

Bounty Source Join Slack drawing

All documentation for ZoneMinder is now online at https://zoneminder.readthedocs.org

Overview

ZoneMinder is an integrated set of applications which provide a complete surveillance solution allowing capture, analysis, recording and monitoring of any CCTV or security cameras attached to a Linux based machine. It is designed to run on distributions which support the Video For Linux (V4L) interface and has been tested with video cameras attached to BTTV cards, various USB cameras and also supports most IP network cameras.

Contacting the Development Team

Before creating an issue in our github forum, please read our posting rules: https://github.com/ZoneMinder/ZoneMinder/wiki/Github-Posting-Rules

Our Dockerfile has moved

Please file issues against the ZoneMinder Dockerfile here: https://github.com/ZoneMinder/zmdockerfiles

Installation Methods

Install from a Package Repository

This is the recommended method to install ZoneMinder onto your system. ZoneMinder packages are maintained for the following distros:

If a repository that hosts ZoneMinder packages is not available for your distro, then you are encouraged to build your own package, rather than build from source. While each distro is different in ways that set it apart from all the others, they are often similar enough to allow you to adapt another distro's package building instructions to your own.

Building from Source is Discouraged

Historically, installing ZoneMinder onto your system required building from source code by issuing the traditional configure, make, make install commands. To get ZoneMinder to build, all of its dependencies had to be determined and installed beforehand. Init and logrotate scripts had to be manually copied into place following the build. Optional packages such as jscalendar and Cambozola had to be manually installed. Uninstalls could leave stale files around, which could cause problems during an upgrade. Speaking of upgrades, when it comes time to upgrade all these manual steps must be repeated again.

Better methods exist today that do much of this for you. The current development team, along with other volunteers, have taken great strides in providing the resources necessary to avoid building from source.

Building a ZoneMinder Package

Building ZoneMinder into a package is not any harder than building from source. As a matter of fact, if you have successfully built ZoneMinder from source in the past, then you may find these steps to be easier.

When building a package, it is best to do this work in a separate environment, dedicated to development purposes. This could be as simple as creating a virtual machine, using Docker, or using mock. All it takes is one “Oops” to regret doing this work on your production server.

Lastly, if you desire to build a development snapshot from the master branch, it is recommended you first build your package using an official release of ZoneMinder. This will help identify whether any problems you may encounter are caused by the build process or is a new issue in the master branch.

Please visit our ReadtheDocs site for distro specific instructions.

Package Maintainers

Many of the ZoneMinder configuration variable default values are not configurable at build time through autotools or cmake. A new tool called zmeditconfigdata.sh has been added to allow package maintainers to manipulate any variable stored in ConfigData.pm without patching the source.

For example, let's say I have created a new ZoneMinder package that contains the cambozola javascript file. However, by default cambozola support is turned off. To fix that, add this to the packaging script:

./utils/zmeditconfigdata.sh ZM_OPT_CAMBOZOLA yes

Note that zmeditconfigdata.sh is intended to be called, from the root build folder, prior to running cmake or configure.

Docker

Docker is a system to run applications inside isolated containers. ZoneMinder, and the ZM webserver, will run using the Dockerfile contained in this repository. However, there is still work needed to ensure that the main ZM features work properly and are documented.

Contribution Model and Development

Pull requests are very welcome! If you would like to contribute, please follow the following steps. While step 3 is optional, it is preferred.

  1. Fork the repo
  2. Open an issue at our GitHub Issues Tracker. Follow the issue template to describe the bug or security issue you found. Please note feature requests or questions should be posted in our user forum or Slack channel.
  3. Create your feature branch (git checkout -b 456-my-new-feature)
  4. Commit your changes (git commit -am 'Added some feature') It is preferred that you 'commit early and often' instead of bunching all changes into a single commit.
  5. Push your branch to your fork on github (git push origin 456-my-new-feature)
  6. Create new Pull Request
  7. The team will then review, discuss and hopefully merge your changes.

Analytics