/mandos/release

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

« back to all changes in this revision

Viewing changes to Makefile

Merge in branch to interpret an empty device name to mean
"autodetect".

Show diffs side-by-side

added added

removed removed

Lines of Context:
209
209
 
210
210
# Run the client with a local config and key
211
211
run-client: all keydir/seckey.txt keydir/pubkey.txt
212
 
        @echo "###################################################################"
213
 
        @echo "# The following error messages are harmless and can be safely     #"
214
 
        @echo "# ignored.  The messages are caused by not running as root, but   #"
215
 
        @echo "# you should NOT run \"make run-client\" as root unless you also    #"
216
 
        @echo "# unpacked and compiled Mandos as root, which is NOT recommended. #"
217
 
        @echo "# From plugin-runner: setuid: Operation not permitted             #"
218
 
        @echo "# From askpass-fifo:  mkfifo: Permission denied                   #"
219
 
        @echo "# From mandos-client: setuid: Operation not permitted             #"
220
 
        @echo "#                     seteuid: Operation not permitted            #"
221
 
        @echo "#                     klogctl: Operation not permitted            #"
222
 
        @echo "###################################################################"
223
212
        ./plugin-runner --plugin-dir=plugins.d \
224
213
                --config-file=plugin-runner.conf \
225
214
                --options-for=mandos-client:--seckey=keydir/seckey.txt,--pubkey=keydir/pubkey.txt \
232
221
 
233
222
# Run the server with a local config
234
223
run-server: confdir/mandos.conf confdir/clients.conf
235
 
        @echo "#################################################################"
236
 
        @echo "# NOTE: Please IGNORE errors about \"No permission to bind to    #"
237
 
        @echo "# interface\" or \"Could not open file u'/var/run/mandos.pid'\" -  #"
238
 
        @echo "# they are harmless and are caused by the server not running as #"
239
 
        @echo "# root.  Do NOT run \"make run-server\" server as root if you did #"
240
 
        @echo "# not also unpack and compile it as root.                       #"
241
 
        @echo "#################################################################"
242
224
        ./mandos --debug --no-dbus --configdir=confdir $(SERVERARGS)
243
225
 
244
226
# Used by run-server
265
247
                mandos.conf
266
248
        install --mode=u=rw --target-directory=$(CONFDIR) \
267
249
                clients.conf
268
 
        install --mode=u=rw,go=r dbus-mandos.conf \
269
 
                $(DESTDIR)/etc/dbus-1/system.d/mandos.conf
270
250
        install --mode=u=rwx,go=rx init.d-mandos \
271
251
                $(DESTDIR)/etc/init.d/mandos
272
252
        install --mode=u=rw,go=r default-mandos \
376
356
 
377
357
purge-server: uninstall-server
378
358
        -rm --force $(CONFDIR)/mandos.conf $(CONFDIR)/clients.conf \
379
 
                $(DESTDIR)/etc/dbus-1/system.d/mandos.conf
380
359
                $(DESTDIR)/etc/default/mandos \
381
360
                $(DESTDIR)/etc/init.d/mandos \
382
361
                $(DESTDIR)/var/run/mandos.pid