* Set dir /www-data with www-data as owner, see https://github.com/clicon/clixo\

n/issues/37
This commit is contained in:
Olof Hagsand 2018-07-26 12:54:14 +02:00
parent 968435ec5e
commit 156660419e
2 changed files with 7 additions and 3 deletions

View file

@ -11,6 +11,7 @@
* Added -l option for clixon_backend for directing syslog to stderr or stdout if running in foreground
### Corrected Bugs
* Setting /www-data with www-data as owner, see https://github.com/clicon/clixon/issues/37
### Known issues
* Namespace name relabeling is not supported.

View file

@ -45,12 +45,14 @@ bindir = @bindir@
libdir = @libdir@
mandir = @mandir@
libexecdir = @libexecdir@
wwwdir = /www-data
localstatedir = @localstatedir@
sysconfdir = @sysconfdir@
includedir = @includedir@
HOST_VENDOR = @host_vendor@
wwwdir = /www-data
wwwuser = www-data
SH_SUFFIX = @SH_SUFFIX@
CLIXON_MAJOR = @CLIXON_VERSION_MAJOR@
CLIXON_MINOR = @CLIXON_VERSION_MINOR@
@ -97,8 +99,9 @@ distclean: clean
# Put other executables in libexec/
# Also create a libexec/ directory for writeable/temporary files.
# Put config file in etc/
# Shouldnt www-dir be owned by www-data?
install: install-lib $(APPL)
install -d -m 0755 $(DESTDIR)$(wwwdir)
install -d -m 0755 -o $(wwwuser) -g $(wwwuser) $(DESTDIR)$(wwwdir)
install -m 0755 $(INSTALLFLAGS) $(APPL) $(DESTDIR)$(wwwdir)
install-lib: $(MYLIB)