summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/zoneminder/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-09-08 14:30:08 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-09-08 14:30:08 (GMT)
commitfc7e1cd23de947c5ef6fcbb06561038f610b055f (patch)
treec548e96db39ed2048c65b8565181b628d3239370 /abs/core-testing/zoneminder/PKGBUILD
parent8beb20649824b0bc50d953e11a6d49f01a76cace (diff)
parentba38d110a556bc739c6306b4ecdb0c2765d15deb (diff)
downloadlinhes_pkgbuild-fc7e1cd23de947c5ef6fcbb06561038f610b055f.zip
linhes_pkgbuild-fc7e1cd23de947c5ef6fcbb06561038f610b055f.tar.gz
linhes_pkgbuild-fc7e1cd23de947c5ef6fcbb06561038f610b055f.tar.bz2
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
* 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD: Fuppes:bumped to compile latest. mytharchive:bumped to compile latest. fuppes:Added logrotation. udev:modified usb-storage rule to cleanly unmount. Local-website:Added zoneminder. ZoneMinder:Further enhancements to run on LinHES. zoneminder:bumped to recompile for ffmpeg-svn. LinHES-config:Added mythzoneminder. MythInstall:Added MythZoneMinder to list of installable software. Zoneminder:Changes needed to run on LinHES. PHP: Updated md5sum for php.ini. PHP:Changes to php.ini for Zoneminder. scanfw scte65scan: initial inclusion MythAppleTrailers:Fixes the URL change.
Diffstat (limited to 'abs/core-testing/zoneminder/PKGBUILD')
-rw-r--r--abs/core-testing/zoneminder/PKGBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/abs/core-testing/zoneminder/PKGBUILD b/abs/core-testing/zoneminder/PKGBUILD
index 5071e81..94a543a 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=10
pkgdesc="Capture, analyse, record and monitor video security cameras."
arch=('i686')
url="http://www.zoneminder.com"
@@ -26,11 +26,12 @@ source=(http://www2.zoneminder.com/downloads/ZoneMinder-$pkgver.tar.gz \
customdb \
mootools.v1.11.js \
http://www.charliemouse.com:8080/code/cambozola/cambozola-0.50.tar.gz \
- zmeventdump)
+ zmeventdump \
+ run)
noextract=()
md5sums=('ee803f0f71d6e67adf602c3557fb6bc9'
'af8631abe20cd7dcab1a023af7d4f3e8'
- '246852035905589617b9e0dc63759d27'
+ '1a6c94411f8adb53a10dc7c19c3bbf02'
'320dd41725945218de0672f899e1d739'
'818cec2eba7e1efb3f5c410f6dd8d528'
'f9720872736f26d17bc49d8725b75ae4'
@@ -51,11 +52,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 +72,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/
@@ -84,6 +85,8 @@ build() {
-o -name ".packlist" \
-o -name "*.bs" \
|xargs -i rm -f {}
+ mkdir -p $pkgdir/etc/sv/zm
+ install -D -m 755 $srcdir/run $pkgdir/etc/sv/zm
}