I'm making the port for ZoneMinder, I have several questions:
1. I need writable directory under /usr/local/www/zoneminder
I try to do it in post-install section of Makefile
I see directory in stage folder with right permissions, however it installs with default one. How to change them?
2. Application introduces ELF in cgi-bin. Should I put it /usr/local/libexec as hier suggests or I can leave it in that folder? (webserver will run it).
3. Application generates HUGE number of files (it writes video as jpegs), however they should be in www root. Upstream has plans to move it elsewhere and now they make symlinks. However, this will break chrooted php-fpm installations, but HUGE number of files are candidates to /var according hier Can I keep them in www root ? I saw different approach where to keep big folders depending on slice layout. (/home, /var /usr). If someone want to move them, he can symlink my himself.
4. Application uses /dev/shm Should I suggest users to mount it as tempfs or change defaults to /tmp, mentioning that this will be perfomance hog if placed outside of tmpfs (but, it least it will work).
5. Betatesters, maybe ? This is my first port
PS: Ohh, and they type FreeBSD incorrectly! https://github.com/ZoneMinder/ZoneMinder/blob/master/CMakeLists.txt#L185 Should I patch CMake files or emorage in their irc should be enough? :-D
1. I need writable directory under /usr/local/www/zoneminder
I try to do it in post-install section of Makefile
Code:
@${MKDIR} ${STAGEDIR}${WWWDIR}/images
@${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/images
2. Application introduces ELF in cgi-bin. Should I put it /usr/local/libexec as hier suggests or I can leave it in that folder? (webserver will run it).
3. Application generates HUGE number of files (it writes video as jpegs), however they should be in www root. Upstream has plans to move it elsewhere and now they make symlinks. However, this will break chrooted php-fpm installations, but HUGE number of files are candidates to /var according hier Can I keep them in www root ? I saw different approach where to keep big folders depending on slice layout. (/home, /var /usr). If someone want to move them, he can symlink my himself.
4. Application uses /dev/shm Should I suggest users to mount it as tempfs or change defaults to /tmp, mentioning that this will be perfomance hog if placed outside of tmpfs (but, it least it will work).
5. Betatesters, maybe ? This is my first port
PS: Ohh, and they type FreeBSD incorrectly! https://github.com/ZoneMinder/ZoneMinder/blob/master/CMakeLists.txt#L185 Should I patch CMake files or emorage in their irc should be enough? :-D