20001116
- (bal) Added in MAXSYMLINK test in bsd-realpath.c. Required for some SCO releases. - (bal) Make builds work outside of source tree. Patch by Mark D. Roth <roth@feep.net>
This commit is contained in:
parent
457b5a2bed
commit
65571526b6
|
@ -1,3 +1,9 @@
|
||||||
|
20001116
|
||||||
|
- (bal) Added in MAXSYMLINK test in bsd-realpath.c. Required for some SCO
|
||||||
|
releases.
|
||||||
|
- (bal) Make builds work outside of source tree. Patch by Mark D. Roth
|
||||||
|
<roth@feep.net>
|
||||||
|
|
||||||
20001113
|
20001113
|
||||||
- (djm) Add pointer to http://www.imasy.or.jp/~gotoh/connect.c to
|
- (djm) Add pointer to http://www.imasy.or.jp/~gotoh/connect.c to
|
||||||
contrib/README
|
contrib/README
|
||||||
|
|
12
Makefile.in
12
Makefile.in
|
@ -179,24 +179,24 @@ host-key: ssh-keygen$(EXEEXT)
|
||||||
if [ -f "$(DESTDIR)$(sysconfdir)/ssh_host_key" ] ; then \
|
if [ -f "$(DESTDIR)$(sysconfdir)/ssh_host_key" ] ; then \
|
||||||
echo "$(DESTDIR)$(sysconfdir)/ssh_host_key already exists, skipping." ; \
|
echo "$(DESTDIR)$(sysconfdir)/ssh_host_key already exists, skipping." ; \
|
||||||
else \
|
else \
|
||||||
$(srcdir)/ssh-keygen -t rsa1 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N "" ; \
|
./ssh-keygen -t rsa1 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N "" ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
if [ -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key ] ; then \
|
if [ -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key ] ; then \
|
||||||
echo "$(DESTDIR)$(sysconfdir)/ssh_host_dsa_key already exists, skipping." ; \
|
echo "$(DESTDIR)$(sysconfdir)/ssh_host_dsa_key already exists, skipping." ; \
|
||||||
else \
|
else \
|
||||||
$(srcdir)/ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N "" ; \
|
./ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N "" ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
if [ -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key ] ; then \
|
if [ -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key ] ; then \
|
||||||
echo "$(DESTDIR)$(sysconfdir)/ssh_host_rsa_key already exists, skipping." ; \
|
echo "$(DESTDIR)$(sysconfdir)/ssh_host_rsa_key already exists, skipping." ; \
|
||||||
else \
|
else \
|
||||||
$(srcdir)/ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N "" ; \
|
./ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N "" ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
fi ;
|
fi ;
|
||||||
|
|
||||||
host-key-force: ssh-keygen$(EXEEXT)
|
host-key-force: ssh-keygen$(EXEEXT)
|
||||||
$(srcdir)/ssh-keygen -t rsa1 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N ""
|
./ssh-keygen -t rsa1 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N ""
|
||||||
$(srcdir)/ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N ""
|
./ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N ""
|
||||||
$(srcdir)/ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N ""
|
./ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N ""
|
||||||
|
|
||||||
uninstallall: uninstall
|
uninstallall: uninstall
|
||||||
-rm -f $(DESTDIR)$(sysconfdir)/ssh_config
|
-rm -f $(DESTDIR)$(sysconfdir)/ssh_config
|
||||||
|
|
|
@ -51,6 +51,13 @@ static char *rcsid = "$OpenBSD: realpath..c,v 1.4 1998/05/18 09:55:19 deraadt Ex
|
||||||
#define S_ISLNK(m) ((m & 0170000) == 0120000)
|
#define S_ISLNK(m) ((m & 0170000) == 0120000)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* MAXSYMLINKS
|
||||||
|
*/
|
||||||
|
#ifndef MAXSYMLINKS
|
||||||
|
#define MAXSYMLINKS 5
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* char *realpath(const char *path, char resolved_path[MAXPATHLEN]);
|
* char *realpath(const char *path, char resolved_path[MAXPATHLEN]);
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue