aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2001-12-02 07:04:27 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2001-12-02 07:04:27 +0000
commit9f5e495359c9077a9859c9ee0147f9143a0eedcb (patch)
tree02e46a34c446b1c2bfd19068d171a87a4b976d49 /security
parentb8cb1c43d7e8cb30d2fa5bfd59c54fabe5076adc (diff)
downloadports-9f5e495359c9077a9859c9ee0147f9143a0eedcb.tar.gz
ports-9f5e495359c9077a9859c9ee0147f9143a0eedcb.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/hpn-ssh/files/batch.patch40
-rw-r--r--security/openssh-portable/files/batch.patch40
2 files changed, 78 insertions, 2 deletions
diff --git a/security/hpn-ssh/files/batch.patch b/security/hpn-ssh/files/batch.patch
index 3dc880149595..91391aa4228f 100644
--- a/security/hpn-ssh/files/batch.patch
+++ b/security/hpn-ssh/files/batch.patch
@@ -1,5 +1,5 @@
--- Makefile.in.orig Mon Nov 12 00:34:23 2001
-+++ Makefile.in Sun Dec 2 07:45:09 2001
++++ Makefile.in Sun Dec 2 08:01:27 2001
@@ -176,7 +176,7 @@
autoreconf
(cd scard && $(MAKE) -f Makefile.in distprep)
@@ -9,3 +9,41 @@
install-nokeys: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files
scard-install:
+@@ -213,37 +213,6 @@
+ -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
+ ln -s ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
+ #@FILEPRIV@ -f dev,filesys,driver $(DESTDIR)$(bindir)/ssh $(DESTDIR)$(bindir)/slogin
+- if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \
+- $(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir); \
+- fi
+- if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_config ]; then \
+- $(INSTALL) -m 644 ssh_config.out $(DESTDIR)$(sysconfdir)/ssh_config; \
+- else \
+- echo "$(DESTDIR)$(sysconfdir)/ssh_config already exists, install will not overwrite"; \
+- fi
+- if [ ! -f $(DESTDIR)$(sysconfdir)/sshd_config ]; then \
+- $(INSTALL) -m 644 sshd_config.out $(DESTDIR)$(sysconfdir)/sshd_config; \
+- else \
+- echo "$(DESTDIR)$(sysconfdir)/sshd_config already exists, install will not overwrite"; \
+- fi
+- if [ -f ssh_prng_cmds -a ! -z "$(INSTALL_SSH_PRNG_CMDS)" ]; then \
+- $(PERL) $(srcdir)/fixprogs ssh_prng_cmds $(ENT); \
+- if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_prng_cmds ] ; then \
+- $(INSTALL) -m 644 ssh_prng_cmds.out $(DESTDIR)$(sysconfdir)/ssh_prng_cmds; \
+- else \
+- echo "$(DESTDIR)$(sysconfdir)/ssh_prng_cmds already exists, install will not overwrite"; \
+- fi ; \
+- fi
+- if [ ! -f $(DESTDIR)$(sysconfdir)/moduli ]; then \
+- if [ -f $(DESTDIR)$(sysconfdir)/primes ]; then \
+- echo "moving $(DESTDIR)$(sysconfdir)/primes to $(DESTDIR)$(sysconfdir)/moduli"; \
+- mv "$(DESTDIR)$(sysconfdir)/primes" "$(DESTDIR)$(sysconfdir)/moduli"; \
+- else \
+- $(INSTALL) -m 644 moduli.out $(DESTDIR)$(sysconfdir)/moduli; \
+- fi ; \
+- else \
+- echo "$(DESTDIR)$(sysconfdir)/moduli already exists, install will not overwrite"; \
+- fi
+
+ host-key: ssh-keygen$(EXEEXT)
+ if [ -z "$(DESTDIR)" ] ; then \
diff --git a/security/openssh-portable/files/batch.patch b/security/openssh-portable/files/batch.patch
index 3dc880149595..91391aa4228f 100644
--- a/security/openssh-portable/files/batch.patch
+++ b/security/openssh-portable/files/batch.patch
@@ -1,5 +1,5 @@
--- Makefile.in.orig Mon Nov 12 00:34:23 2001
-+++ Makefile.in Sun Dec 2 07:45:09 2001
++++ Makefile.in Sun Dec 2 08:01:27 2001
@@ -176,7 +176,7 @@
autoreconf
(cd scard && $(MAKE) -f Makefile.in distprep)
@@ -9,3 +9,41 @@
install-nokeys: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files
scard-install:
+@@ -213,37 +213,6 @@
+ -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
+ ln -s ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
+ #@FILEPRIV@ -f dev,filesys,driver $(DESTDIR)$(bindir)/ssh $(DESTDIR)$(bindir)/slogin
+- if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \
+- $(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir); \
+- fi
+- if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_config ]; then \
+- $(INSTALL) -m 644 ssh_config.out $(DESTDIR)$(sysconfdir)/ssh_config; \
+- else \
+- echo "$(DESTDIR)$(sysconfdir)/ssh_config already exists, install will not overwrite"; \
+- fi
+- if [ ! -f $(DESTDIR)$(sysconfdir)/sshd_config ]; then \
+- $(INSTALL) -m 644 sshd_config.out $(DESTDIR)$(sysconfdir)/sshd_config; \
+- else \
+- echo "$(DESTDIR)$(sysconfdir)/sshd_config already exists, install will not overwrite"; \
+- fi
+- if [ -f ssh_prng_cmds -a ! -z "$(INSTALL_SSH_PRNG_CMDS)" ]; then \
+- $(PERL) $(srcdir)/fixprogs ssh_prng_cmds $(ENT); \
+- if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_prng_cmds ] ; then \
+- $(INSTALL) -m 644 ssh_prng_cmds.out $(DESTDIR)$(sysconfdir)/ssh_prng_cmds; \
+- else \
+- echo "$(DESTDIR)$(sysconfdir)/ssh_prng_cmds already exists, install will not overwrite"; \
+- fi ; \
+- fi
+- if [ ! -f $(DESTDIR)$(sysconfdir)/moduli ]; then \
+- if [ -f $(DESTDIR)$(sysconfdir)/primes ]; then \
+- echo "moving $(DESTDIR)$(sysconfdir)/primes to $(DESTDIR)$(sysconfdir)/moduli"; \
+- mv "$(DESTDIR)$(sysconfdir)/primes" "$(DESTDIR)$(sysconfdir)/moduli"; \
+- else \
+- $(INSTALL) -m 644 moduli.out $(DESTDIR)$(sysconfdir)/moduli; \
+- fi ; \
+- else \
+- echo "$(DESTDIR)$(sysconfdir)/moduli already exists, install will not overwrite"; \
+- fi
+
+ host-key: ssh-keygen$(EXEEXT)
+ if [ -z "$(DESTDIR)" ] ; then \