/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

  • Committer: Teddy Hogeborn
  • Date: 2008-09-19 00:54:24 UTC
  • mto: This revision was merged to the branch mainline in revision 188.
  • Revision ID: teddy@fukt.bsnet.se-20080919005424-2kw5e1h9pjygj4ug
* debian/mandos.postinst: New. Create mandos user and group.

* debian/mandos.postrm: New.  Delete mandos user and group.

* initramfs-tools-hook: Add "--userid" and "--groupid" to
                        "plugin-runner.conf" if necessary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
install: install-server install-client-nokey
142
142
 
143
143
install-server: doc
144
 
        install --directory $(CONFDIR) $(MANDIR)/man5 \
145
 
                $(MANDIR)/man8 $(DESTDIR)/etc/init.d \
146
 
                $(DESTDIR)/etc/default $(PREFIX)/sbin
 
144
        install --directory $(CONFDIR)
147
145
        install --mode=u=rwx,go=rx mandos $(PREFIX)/sbin/mandos
148
146
        install --mode=u=rw,go=r --target-directory=$(CONFDIR) \
149
147
                mandos.conf
162
160
                > $(MANDIR)/man5/mandos-clients.conf.5.gz
163
161
 
164
162
install-client-nokey: all doc
165
 
        install --directory $(PREFIX)/lib/mandos $(CONFDIR) \
166
 
                $(MANDIR)/man8 $(PREFIX)/sbin \
167
 
                $(INITRAMFSTOOLS)/hooks \
168
 
                $(INITRAMFSTOOLS)/conf-hooks.d \
169
 
                $(INITRAMFSTOOLS)/scripts/local-top
170
 
        install --directory --mode=u=rwx $(KEYDIR)
171
 
        install --directory --mode=u=rwx \
 
163
        install --directory $(PREFIX)/lib/mandos $(CONFDIR)
 
164
        install --directory --mode=u=rwx $(KEYDIR) \
172
165
                $(PREFIX)/lib/mandos/plugins.d
173
166
        if [ "$(CONFDIR)" != "$(PREFIX)/lib/mandos" ]; then \
174
167
                install --mode=u=rwx \
191
184
                plugins.d/usplash
192
185
        install initramfs-tools-hook \
193
186
                $(INITRAMFSTOOLS)/hooks/mandos
194
 
        install initramfs-tools-hook-conf \
 
187
        install --mode=u=rw,go=r initramfs-tools-hook-conf \
195
188
                $(INITRAMFSTOOLS)/conf-hooks.d/mandos
196
189
        install initramfs-tools-script \
197
190
                $(INITRAMFSTOOLS)/scripts/local-top/mandos