Initial commit, with basic functionality.

This commit is contained in:
Scott Lamb
2016-01-01 22:06:47 -08:00
commit c9eda8ac15
36 changed files with 5074 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@@ -0,0 +1,5 @@
moonfire-nvr (0.1.0) UNRELEASED; urgency=medium
* Initial release.
-- Scott Lamb <slamb@slamb.org> Fri, 1 Jan 2016 21:00:00 -0800

1
debian/compat vendored Normal file
View File

@@ -0,0 +1 @@
9

12
debian/control vendored Normal file
View File

@@ -0,0 +1,12 @@
Source: moonfire-nvr
Maintainer: Scott Lamb <slamb@slamb.org>
Section: video
Priority: optional
Standards-Version: 3.9.6.1
Build-Depends: debhelper (>= 9), dh-systemd, cmake, libprotobuf-dev, libavcodec-dev, libavformat-dev, libevent-dev, libgflags-dev, libgoogle-glog-dev, libgoogle-perftools-dev, libre2-dev, pkgconf, protobuf-compiler
Package: moonfire-nvr
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
Description: security camera network video recorder
moonfire-nvr records video files from IP security cameras.

43
debian/copyright vendored Normal file
View File

@@ -0,0 +1,43 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Moonfire NVR
Upstream-Contact: Scott Lamb <slamb@slamb.org>
Source: http://github.com/scottlamb/moonfire-nvr
Files: *
Copyright: 2016 Scott Lamb
License: GPL-3+ with OpenSSL exception
License: GPL-3+ with OpenSSL exception
This program is free software: you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any
later version.
.
In addition, as a special exception, the copyright holders give
permission to link the code of portions of this program with the
OpenSSL library under certain conditions as described in each
individual source file, and distribute linked combinations including
the two.
.
You must obey the GNU General Public License in all respects for all
of the code used other than OpenSSL. If you modify file(s) with this
exception, you may extend this exception to your version of the
file(s), but you are not obligated to do so. If you do not wish to do
so, delete this exception statement from your version. If you delete
this exception statement from all source files in the program, then
also delete it here.
.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
.
You should have received a copy of the GNU General Public
License along with this program. If not, see
<http://www.gnu.org/licenses/>.
.
On Debian systems, the full text of the GNU General Public
License version 3 can be found in the file
`/usr/share/common-licenses/GPL-3'.

8
debian/moonfire-nvr.postinst vendored Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
set -e
adduser --system moonfire-nvr
#DEBHELPER#
exit 0

16
debian/moonfire-nvr.service vendored Normal file
View File

@@ -0,0 +1,16 @@
[Unit]
Description=Moonfire NVR
After=network-online.target
[Service]
ExecStart=/usr/bin/moonfire-nvr
Type=simple
User=moonfire-nvr
Nice=-20
Restart=on-abnormal
CPUAccounting=true
MemoryAccounting=true
BlockIOAccounting=true
[Install]
WantedBy=multi-user.target

3
debian/rules vendored Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/make -f
%:
dh $@ --with=systemd

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
3.0 (native)