summaryrefslogtreecommitdiffstats
path: root/abs/core/zoneminder/Makefile.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-09-20 22:28:16 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-09-20 22:28:16 (GMT)
commitb105c311213d976f2470b21adcdafa5ed2886dcc (patch)
tree95740396eac6606cb231093953a4c7d32835256f /abs/core/zoneminder/Makefile.patch
parentae5fc8a102437e1671eb2d4a53a3c999cf1e1339 (diff)
downloadlinhes_pkgbuild-b105c311213d976f2470b21adcdafa5ed2886dcc.zip
linhes_pkgbuild-b105c311213d976f2470b21adcdafa5ed2886dcc.tar.gz
linhes_pkgbuild-b105c311213d976f2470b21adcdafa5ed2886dcc.tar.bz2
zoneminder: Bump to latest. ref #770
Diffstat (limited to 'abs/core/zoneminder/Makefile.patch')
-rwxr-xr-x[-rw-r--r--]abs/core/zoneminder/Makefile.patch20
1 files changed, 9 insertions, 11 deletions
diff --git a/abs/core/zoneminder/Makefile.patch b/abs/core/zoneminder/Makefile.patch
index d033e72..efafc48 100644..100755
--- a/abs/core/zoneminder/Makefile.patch
+++ b/abs/core/zoneminder/Makefile.patch
@@ -1,13 +1,11 @@
---- ZoneMinder-1.23.3.orig/Makefile 2008-03-13 17:41:47.000000000 -0700
-+++ ZoneMinder-1.23.3/Makefile 2008-03-15 06:21:22.000000000 -0700
-@@ -687,8 +687,8 @@
+--- ZoneMinder-1.24.0.orig/Makefile 2008-03-13 17:41:47.000000000 -0700
++++ ZoneMinder-1.24.0/Makefile 2008-03-15 06:21:22.000000000 -0700
+@@ -815,7 +815,7 @@
# Yes, you are correct. This is a HACK!
install-data-hook:
- ( cd $(DESTDIR)$(sysconfdir); chown $(webuser):$(webgroup) $(sysconf_DATA); chmod 600 $(sysconf_DATA) )
-- -( if ! test -e $(RUNDIR); then mkdir $(RUNDIR); fi )
-- ( if ! test -e $(ZM_RUNDIR); then mkdir $(ZM_RUNDIR); fi; chown $(webuser):$(webgroup) $(ZM_RUNDIR); chmod u+w $(ZM_RUNDIR) )
-+ -( if ! test -e$(DESTDIR)$(RUNDIR); then mkdir -p $(DESTDIR)$(RUNDIR); fi )
-+ ( if ! test -e $(DESTDIR)$(ZM_RUNDIR); then mkdir -p $(DESTDIR)$(ZM_RUNDIR); fi; chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_RUNDIR); chmod u+w $(DESTDIR)$(ZM_RUNDIR) )
-
- uninstall-hook:
- @-( cd $(DESTDIR)$(webdir); rm -rf events graphics images sounds temp )
+ ( cd $(DESTDIR)$(sysconfdir); chown $(webuser):$(webgroup) $(sysconf_DATA); chmod 600 $(sysconf_DATA) )
+- ( if ! test -e $(ZM_RUNDIR); then mkdir -p $(ZM_RUNDIR); fi; if test "$(ZM_RUNDIR)" != "/var/run"; then chown $(webuser):$(webgroup) $(ZM_RUNDIR); chmod u+w $(ZM_RUNDIR); fi )
++ ( if ! test -e $(DESTDIR)$(ZM_RUNDIR); then mkdir -p $(DESTDIR)$(ZM_RUNDIR); fi; if test "$(DESTDIR)$(ZM_RUNDIR)" != "/var/run"; then chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_RUNDIR); chmod u+w $(DESTDIR)$(ZM_RUNDIR); fi )
+ ( if ! test -e $(ZM_TMPDIR); then mkdir -m 700 -p $(ZM_TMPDIR); fi; if test "$(ZM_TMPDIR)" != "/tmp"; then chown $(webuser):$(webgroup) $(ZM_TMPDIR); chmod u+w $(ZM_TMPDIR); fi )
+ ( if ! test -e $(ZM_LOGDIR); then mkdir -p $(ZM_LOGDIR); fi; if test "$(ZM_LOGDIR)" != "/var/log"; then chown $(webuser):$(webgroup) $(ZM_LOGDIR); chmod u+w $(ZM_LOGDIR); fi )
+