diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 4b3e27865..7eb8ec268 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: Makefile.in,v 1.215 2002/06/21 01:38:53 mouring Exp $ | 1 | # $Id: Makefile.in,v 1.216 2002/06/25 00:24:47 djm Exp $ |
2 | 2 | ||
3 | # uncomment if you run a non bourne compatable shell. Ie. csh | 3 | # uncomment if you run a non bourne compatable shell. Ie. csh |
4 | #SHELL = @SH@ | 4 | #SHELL = @SH@ |
@@ -26,6 +26,7 @@ SFTP_SERVER=$(libexecdir)/sftp-server | |||
26 | SSH_KEYSIGN=$(libexecdir)/ssh-keysign | 26 | SSH_KEYSIGN=$(libexecdir)/ssh-keysign |
27 | RAND_HELPER=$(libexecdir)/ssh-rand-helper | 27 | RAND_HELPER=$(libexecdir)/ssh-rand-helper |
28 | PRIVSEP_PATH=@PRIVSEP_PATH@ | 28 | PRIVSEP_PATH=@PRIVSEP_PATH@ |
29 | SSH_PRIVSEP_USER=@SSH_PRIVSEP_USER@ | ||
29 | 30 | ||
30 | PATHS= -DSSHDIR=\"$(sysconfdir)\" \ | 31 | PATHS= -DSSHDIR=\"$(sysconfdir)\" \ |
31 | -D_PATH_SSH_PROGRAM=\"$(SSH_PROGRAM)\" \ | 32 | -D_PATH_SSH_PROGRAM=\"$(SSH_PROGRAM)\" \ |
@@ -197,9 +198,13 @@ distprep: catman-do | |||
197 | $(AUTORECONF) | 198 | $(AUTORECONF) |
198 | (cd scard && $(MAKE) -f Makefile.in distprep) | 199 | (cd scard && $(MAKE) -f Makefile.in distprep) |
199 | 200 | ||
200 | install: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files host-key | 201 | install: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files host-key check-user |
201 | install-nokeys: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files | 202 | install-nokeys: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files |
202 | 203 | ||
204 | check-user: | ||
205 | id $(SSH_PRIVSEP_USER) || \ | ||
206 | echo "WARNING: Privilege separation user \"$(SSH_PRIVSEP_USER)\" does not exist" | ||
207 | |||
203 | scard-install: | 208 | scard-install: |
204 | (cd scard && $(MAKE) DESTDIR=$(DESTDIR) install) | 209 | (cd scard && $(MAKE) DESTDIR=$(DESTDIR) install) |
205 | 210 | ||
@@ -212,6 +217,8 @@ install-files: scard-install | |||
212 | $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)5 | 217 | $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)5 |
213 | $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)8 | 218 | $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)8 |
214 | $(srcdir)/mkinstalldirs $(DESTDIR)$(libexecdir) | 219 | $(srcdir)/mkinstalldirs $(DESTDIR)$(libexecdir) |
220 | $(srcdir)/mkinstalldirs $(DESTDIR)$(PRIVSEP_PATH) | ||
221 | chmod 0700 $(DESTDIR)$(PRIVSEP_PATH) | ||
215 | $(INSTALL) -m 0755 -s ssh $(DESTDIR)$(bindir)/ssh | 222 | $(INSTALL) -m 0755 -s ssh $(DESTDIR)$(bindir)/ssh |
216 | $(INSTALL) -m 0755 -s scp $(DESTDIR)$(bindir)/scp | 223 | $(INSTALL) -m 0755 -s scp $(DESTDIR)$(bindir)/scp |
217 | $(INSTALL) -m 0755 -s ssh-add $(DESTDIR)$(bindir)/ssh-add | 224 | $(INSTALL) -m 0755 -s ssh-add $(DESTDIR)$(bindir)/ssh-add |