Skip to content

Commit f976eb1

Browse files
committed
Merge branch 'develop'
2 parents c60b78f + 696b1fd commit f976eb1

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

manifests/install/zoneminder.pp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
class zoneminder::install::zoneminder {
22

33
exec { "clone-zoneminder":
4-
command => "svn co $zoneminder::params::zoneminder_source zoneminder << EOF
5-
p
6-
EOF",
4+
command => "git clone $zoneminder::params::zoneminder_source zoneminder",
75
cwd => "/usr/local/src",
86
creates => "/usr/local/src/zoneminder",
7+
before => Exec["checkout-release-1.26"]
8+
}
9+
10+
exec { "checkout-release-1.26":
11+
command => "git checkout release-1.26",
12+
cwd => "/usr/local/src/zoneminder",
913
before => File["/usr/local/src/zoneminder/configure.sh"]
1014
}
1115

manifests/params.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
$prerequisites = ['apache2', 'mysql-server', 'php5', 'php5-mysql', 'build-essential', 'libmysqlclient-dev', 'libssl-dev', 'libbz2-dev', 'libpcre3-dev', 'libdbi-perl', 'libarchive-zip-perl', 'libdate-manip-perl', 'libdevice-serialport-perl', 'libmime-perl', 'libpcre3', 'libwww-perl', 'libdbd-mysql-perl', 'libsys-mmap-perl', 'yasm', 'subversion', 'automake', 'autoconf', 'libjpeg-turbo8-dev', 'libjpeg-turbo8', 'apache2-mpm-prefork', 'libapache2-mod-php5', 'php5-cli']
77

8-
$zoneminder_source = 'https://svn.unixmedia.net/public/zum/trunk/zum/'
8+
$zoneminder_source = 'https://github.com/ZoneMinder/ZoneMinder.git'
99

1010
$ffmpeg_source = 'git://source.ffmpeg.org/ffmpeg.git'
1111
$ffmpeg_configure_options = '--enable-shared --enable-swscale --enable-gpl'

templates/configure.sh.erb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#!/bin/bash
22

3+
libtoolize --force
4+
aclocal
5+
autoheader
6+
automake --force-missing --add-missing
7+
autoconf
8+
39
export LD_LIBRARY_PATH="/usr/local/lib:/opt/libjpeg-turbo/lib:$LD_LIBRARY_PATH"
410

511
DEB_HOST_GNU_TYPE=$(dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -8,5 +14,3 @@ DEB_BUILD_GNU_TYPE=$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)
814
CXXFLAGS=" -DZM_FFMPEG_CVS -DHAVE_LIBCRYPTO -msse2 -I/usr/local/include"
915

1016
CXXFLAGS="$CXXFLAGS" ./configure --with-libarch=lib/$DEB_HOST_GNU_TYPE --disable-debug --host=$DEB_HOST_GNU_TYPE --build=$DEB_BUILD_GNU_TYPE --with-mysql=/usr --with-webdir=/var/www/zm --with-ffmpeg=/usr --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data --enable-crashtrace=no --enable-mmap=yes ZM_SSL_LIB=openssl ZM_DB_USER=zm ZM_DB_PASS=zm
11-
12-
aclocal

0 commit comments

Comments
 (0)