/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: 2008-09-19 17:30:43 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080919173043-oar4cbayx4ow122x
* debian/control (mandos, mandos-client): Depend on "adduser".
  (mandos): Removed unused substitution variables.

* debian/mandos-client.postinst (update_initramfs, create_key): Do not
                                                                use
                                                                "type".
  (add_mandos_user): Do not call the user "Mandos password daemon".

* debian/mandos.postinst (add_mandos_user): - '' -

* debian/mandos-client.postrm (purge): Do not use "type".  Do not
                                       remove config directories; this
                                       is done automatically.

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
                $(DESTDIR)/etc/init.d/mandos
152
152
        install --mode=u=rw,go=r default-mandos \
153
153
                $(DESTDIR)/etc/default/mandos
154
 
        if [ -z $(DESTDIR) ]; then \
155
 
                update-rc.d mandos defaults 25 15;\
156
 
        fi
 
154
        if [ -z $(DESTDIR) ]; then update-rc.d mandos defaults; fi
157
155
        gzip --best --to-stdout mandos.8 \
158
156
                > $(MANDIR)/man8/mandos.8.gz
159
157
        gzip --best --to-stdout mandos.conf.5 \
167
165
                $(PREFIX)/lib/mandos/plugins.d
168
166
        if [ "$(CONFDIR)" != "$(PREFIX)/lib/mandos" ]; then \
169
167
                install --mode=u=rwx \
170
 
                        --directory "$(CONFDIR)/plugins.d"; \
 
168
                        --directory "$(CONFDIR)/plugins.d" && \
 
169
                install --mode=u=rw,go=r etc-plugins.d-README \
 
170
                        $(CONFDIR)/plugins.d/README ; \
171
171
        fi
172
172
        install --mode=u=rwx,go=rx \
173
173
                --target-directory=$(PREFIX)/lib/mandos plugin-runner