/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Teddy Hogeborn
  • Date: 2016-07-03 02:56:00 UTC
  • Revision ID: teddy@recompile.se-20160703025600-bn12vpzejr6zxx5v
mandos-client: Bug fix: flush stdout to detect write errors.

* plugins.d/mandos-client.c (start_mandos_communication): Do
                            fflush(stdout) to detect any write errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
OPTIMIZE=-Os -fno-strict-aliasing
41
41
LANGUAGE=-std=gnu11
42
42
htmldir=man
43
 
version=1.7.6
 
43
version=1.7.10
44
44
SED=sed
45
45
 
46
46
USER=$(firstword $(subst :, ,$(shell getent passwd _mandos || getent passwd nobody || echo 65534)))
339
339
                chown -- $(USER):$(GROUP) $(STATEDIR) || :; \
340
340
        fi
341
341
        if [ "$(TMPFILES)" != "$(DESTDIR)" -a -d "$(TMPFILES)" ]; then \
342
 
                install --mode=u=rwx,go=r tmpfiles.d-mandos.conf \
 
342
                install --mode=u=rw,go=r tmpfiles.d-mandos.conf \
343
343
                        $(TMPFILES)/mandos.conf; \
344
344
        fi
345
345
        install --mode=u=rwx,go=rx mandos $(PREFIX)/sbin/mandos
383
383
                $(LIBDIR)/mandos/plugin-helpers
384
384
        if [ "$(CONFDIR)" != "$(LIBDIR)/mandos" ]; then \
385
385
                install --mode=u=rwx \
386
 
                        --directory "$(CONFDIR)/plugins.d"; \
387
 
                install --directory "$(CONFDIR)/plugin-helpers"; \
 
386
                        --directory "$(CONFDIR)/plugins.d" \
 
387
                        "$(CONFDIR)/plugin-helpers"; \
388
388
        fi
389
389
        install --mode=u=rwx,go=rx --directory \
390
390
                "$(CONFDIR)/network-hooks.d"