diff options
Diffstat (limited to 'security/openssh/patches/patch-ah')
-rw-r--r-- | security/openssh/patches/patch-ah | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/security/openssh/patches/patch-ah b/security/openssh/patches/patch-ah index ba1be47a482..3e1eafc745d 100644 --- a/security/openssh/patches/patch-ah +++ b/security/openssh/patches/patch-ah @@ -1,36 +1,36 @@ -$NetBSD: patch-ah,v 1.1 2000/01/17 05:34:35 christos Exp $ +$NetBSD: patch-ah,v 1.2 2000/01/27 17:12:05 hubertf Exp $ ---- Makefile.in.orig Thu Jan 13 23:45:46 2000 -+++ Makefile.in Mon Jan 17 00:24:48 2000 -@@ -5,6 +5,7 @@ - libexecdir=@libexecdir@ +--- Makefile.in.orig Thu Jan 27 04:15:48 2000 ++++ Makefile.in Thu Jan 27 17:07:34 2000 +@@ -6,6 +6,7 @@ mandir=@mandir@ + mansubdir=@mansubdir@ sysconfdir=@sysconfdir@ +examplesdir=@prefix@/share/examples/ssh - - srcdir = @srcdir@ - top_srcdir = @top_srcdir@ -@@ -137,16 +138,16 @@ - $(INSTALL) -s @GNOME_ASKPASS@ ${ASKPASS_LOCATION} ; \ + piddir=@piddir@ + srcdir=@srcdir@ + top_srcdir=@top_srcdir@ +@@ -130,16 +131,16 @@ + $(INSTALL) -s @GNOME_ASKPASS@ $(DESTDIR)${ASKPASS_LOCATION} ; \ fi -- if [ ! -f $(sysconfdir)/ssh_config -a ! -f $(sysconfdir)/sshd_config ]; then \ -- $(INSTALL) -d $(sysconfdir); \ -- $(INSTALL) -m 644 ssh_config $(sysconfdir)/ssh_config; \ -- $(INSTALL) -m 644 sshd_config $(sysconfdir)/sshd_config; \ -+ if [ ! -f $(examplesdir)/ssh_config -a ! -f $(examplesdir)/sshd_config ]; then \ -+ $(INSTALL) -d $(examplesdir); \ -+ $(INSTALL) -m 644 ssh_config $(examplesdir)/ssh_config; \ -+ $(INSTALL) -m 644 sshd_config $(examplesdir)/sshd_config; \ +- if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_config -a ! -f $(DESTDIR)$(sysconfdir)/sshd_config ]; then \ +- $(INSTALL) -d $(DESTDIR)$(sysconfdir); \ +- $(INSTALL) -m 644 ssh_config.out $(DESTDIR)$(sysconfdir)/ssh_config; \ +- $(INSTALL) -m 644 sshd_config.out $(DESTDIR)$(sysconfdir)/sshd_config; \ ++ if [ ! -f $(DESTDIR)$(examplesdir)/ssh_config -a ! -f $(DESTDIR)$(examplesdir)/sshd_config ]; then \ ++ $(INSTALL) -d $(DESTDIR)$(examplesdir); \ ++ $(INSTALL) -m 644 ssh_config.out $(DESTDIR)$(examplesdir)/ssh_config; \ ++ $(INSTALL) -m 644 sshd_config.out $(DESTDIR)$(examplesdir)/sshd_config; \ fi uninstallall: uninstall -- -rm -f $(sysconfdir)/ssh_config -- -rm -f $(sysconfdir)/sshd_config -- -rmdir $(sysconfdir) -+ -rm -f $(examplesdir)/ssh_config -+ -rm -f $(examplesdir)/sshd_config -+ -rmdir $(examplesdir) - -rmdir $(bindir) - -rmdir $(sbindir) - -rmdir $(mandir)/man1 +- -rm -f $(DESTDIR)$(sysconfdir)/ssh_config +- -rm -f $(DESTDIR)$(sysconfdir)/sshd_config +- -rmdir $(DESTDIR)$(sysconfdir) ++ -rm -f $(DESTDIR)$(examplesdir)/ssh_config ++ -rm -f $(DESTDIR)$(examplesdir)/sshd_config ++ -rmdir $(DESTDIR)$(examplesdir) + -rmdir $(DESTDIR)$(bindir) + -rmdir $(DESTDIR)$(sbindir) + -rmdir $(DESTDIR)$(mandir)/$(mansubdir)1 |