/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

Added sample OpenVPN network hook.

* network-hooks.d/openvpn: New.
* network-hooks.d/openvpn.conf: - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
250
250
        @echo "###################################################################"
251
251
        ./plugin-runner --plugin-dir=plugins.d \
252
252
                --config-file=plugin-runner.conf \
253
 
                --options-for=mandos-client:--seckey=keydir/seckey.txt,--pubkey=keydir/pubkey.txt \
 
253
                --options-for=mandos-client:--seckey=keydir/seckey.txt,--pubkey=keydir/pubkey.txt,--network-hook-dir=network-hooks.d \
254
254
                $(CLIENTARGS)
255
255
 
256
256
# Used by run-client
324
324
                install --mode=u=rwx \
325
325
                        --directory "$(CONFDIR)/plugins.d"; \
326
326
        fi
 
327
        install --mode=u=rwx,go=rx --directory \
 
328
                "$(CONFDIR)/network-hooks.d"
327
329
        install --mode=u=rwx,go=rx \
328
330
                --target-directory=$(PREFIX)/lib/mandos plugin-runner
329
331
        install --mode=u=rwx,go=rx --target-directory=$(PREFIX)/sbin \