diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-09-17 13:24:37 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-09-17 13:24:37 +0800 |
commit | bca85a048755c5832c85aa051ce4027e4ec571ca (patch) | |
tree | 0ebd41a4d2b756e7b18bb0c2d270769f54c14ece /security | |
parent | d88ca89b852ad80e73bcd92507f530ef3ad050d8 (diff) | |
download | freebsd-ports-gnome-bca85a048755c5832c85aa051ce4027e4ec571ca.tar.gz freebsd-ports-gnome-bca85a048755c5832c85aa051ce4027e4ec571ca.tar.zst freebsd-ports-gnome-bca85a048755c5832c85aa051ce4027e4ec571ca.zip |
Craete moduli on bento.
Diffstat (limited to 'security')
-rw-r--r-- | security/hpn-ssh/files/batch.patch | 20 | ||||
-rw-r--r-- | security/openssh-portable/files/batch.patch | 20 |
2 files changed, 10 insertions, 30 deletions
diff --git a/security/hpn-ssh/files/batch.patch b/security/hpn-ssh/files/batch.patch index 3844d78d03d8..52a684c645d7 100644 --- a/security/hpn-ssh/files/batch.patch +++ b/security/hpn-ssh/files/batch.patch @@ -1,5 +1,5 @@ --- Makefile.in.orig Wed Jun 26 01:45:42 2002 -+++ Makefile.in Thu Jul 4 20:23:43 2002 ++++ Makefile.in Tue Sep 17 07:22:43 2002 @@ -199,6 +199,7 @@ (cd scard && $(MAKE) -f Makefile.in distprep) @@ -8,7 +8,7 @@ install-nokeys: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files check-user: -@@ -251,37 +252,6 @@ +@@ -251,27 +252,6 @@ ln -s ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 ln -s ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 @@ -33,16 +33,6 @@ - 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 \ + if [ ! -f $(DESTDIR)$(sysconfdir)/moduli ]; then \ + if [ -f $(DESTDIR)$(sysconfdir)/primes ]; then \ + echo "moving $(DESTDIR)$(sysconfdir)/primes to $(DESTDIR)$(sysconfdir)/moduli"; \ diff --git a/security/openssh-portable/files/batch.patch b/security/openssh-portable/files/batch.patch index 3844d78d03d8..52a684c645d7 100644 --- a/security/openssh-portable/files/batch.patch +++ b/security/openssh-portable/files/batch.patch @@ -1,5 +1,5 @@ --- Makefile.in.orig Wed Jun 26 01:45:42 2002 -+++ Makefile.in Thu Jul 4 20:23:43 2002 ++++ Makefile.in Tue Sep 17 07:22:43 2002 @@ -199,6 +199,7 @@ (cd scard && $(MAKE) -f Makefile.in distprep) @@ -8,7 +8,7 @@ install-nokeys: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files check-user: -@@ -251,37 +252,6 @@ +@@ -251,27 +252,6 @@ ln -s ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 ln -s ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 @@ -33,16 +33,6 @@ - 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 \ + if [ ! -f $(DESTDIR)$(sysconfdir)/moduli ]; then \ + if [ -f $(DESTDIR)$(sysconfdir)/primes ]; then \ + echo "moving $(DESTDIR)$(sysconfdir)/primes to $(DESTDIR)$(sysconfdir)/moduli"; \ |