summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/zoneminder/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-05 21:08:49 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-05 21:08:49 (GMT)
commit87af0223bb6bf389e73bd6d474b31b6a7177f86f (patch)
tree97ae5882f5c20de6e78fe542e207a11ddf4b5fc9 /abs/core-testing/zoneminder/PKGBUILD
parent8151fa32c2bf2c112d9110ecf9232b0f7bab331d (diff)
downloadlinhes_pkgbuild-87af0223bb6bf389e73bd6d474b31b6a7177f86f.zip
linhes_pkgbuild-87af0223bb6bf389e73bd6d474b31b6a7177f86f.tar.gz
linhes_pkgbuild-87af0223bb6bf389e73bd6d474b31b6a7177f86f.tar.bz2
Zoneminder:Changes needed to run on LinHES.
Diffstat (limited to 'abs/core-testing/zoneminder/PKGBUILD')
-rw-r--r--abs/core-testing/zoneminder/PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/abs/core-testing/zoneminder/PKGBUILD b/abs/core-testing/zoneminder/PKGBUILD
index 5071e81..91723cb 100644
--- a/abs/core-testing/zoneminder/PKGBUILD
+++ b/abs/core-testing/zoneminder/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=zoneminder
pkgver=1.23.3
-pkgrel=7
+pkgrel=8
pkgdesc="Capture, analyse, record and monitor video security cameras."
arch=('i686')
url="http://www.zoneminder.com"
@@ -30,7 +30,7 @@ source=(http://www2.zoneminder.com/downloads/ZoneMinder-$pkgver.tar.gz \
noextract=()
md5sums=('ee803f0f71d6e67adf602c3557fb6bc9'
'af8631abe20cd7dcab1a023af7d4f3e8'
- '246852035905589617b9e0dc63759d27'
+ '1a6c94411f8adb53a10dc7c19c3bbf02'
'320dd41725945218de0672f899e1d739'
'818cec2eba7e1efb3f5c410f6dd8d528'
'f9720872736f26d17bc49d8725b75ae4'
@@ -51,11 +51,11 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
- --with-webuser=nobody \
- --with-webgroup=nobody \
+ --with-webuser=http \
+ --with-webgroup=http \
--with-mysql=/usr \
- --with-webdir=/home/httpd/html/zm \
- --with-cgidir=/home/httpd/cgi-bin \
+ --with-webdir=/data/srv/httpd/htdocs/zm \
+ --with-cgidir=/data/srv/httpd/htdocs/cgi-bin \
--bindir=/usr/lib/zm/bin
patch -p1 < $startdir/src/Makefile.patch
@@ -71,9 +71,9 @@ build() {
install -D -m 700 $startdir/src/zmeventdump $startdir/pkg/etc/cron.hourly/zmeventdump
tar -zxf $startdir/src/cambozola-0.50.tar.gz
- install -m 644 cambozola-0.50/dist/cambozola.jar $startdir/pkg/home/httpd/html/zm/cambozola.jar
+ install -m 644 cambozola-0.50/dist/cambozola.jar $startdir/pkg/data/srv/httpd/htdocs/zm/cambozola.jar
- install $startdir/src/mootools.v1.11.js $startdir/pkg/home/httpd/html/zm/mootools.js
+ install $startdir/src/mootools.v1.11.js $startdir/pkg/data/srv/httpd/htdocs/zm/mootools.js
install -D -m 700 $startdir/src/customdb $startdir/pkg/usr/lib/zm/upgrade/customdb
install -D db/zm*.sql $startdir/pkg/usr/lib/zm/upgrade/