diff options
author | ache <ache@FreeBSD.org> | 1996-10-16 04:56:12 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-10-16 04:56:12 +0000 |
commit | f2362ad99056c88bc96410884ea7c0b9fed906d2 (patch) | |
tree | 4d5f125506804f2a0c330a6661e51b5c8ff16743 | |
parent | bc0544526614a8584478fe09b7dc8b94cb1cbacf (diff) | |
download | FreeBSD-ports-f2362ad99056c88bc96410884ea7c0b9fed906d2.zip FreeBSD-ports-f2362ad99056c88bc96410884ea7c0b9fed906d2.tar.gz |
Upgrade to official 1.2.16
Fix PLIST
-rw-r--r-- | security/ssh/Makefile | 6 | ||||
-rw-r--r-- | security/ssh/distinfo | 2 | ||||
-rw-r--r-- | security/ssh/files/patch-ac | 45 | ||||
-rw-r--r-- | security/ssh/files/patch-af | 108 | ||||
-rw-r--r-- | security/ssh/pkg-plist | 6 | ||||
-rw-r--r-- | security/ssh2/Makefile | 6 | ||||
-rw-r--r-- | security/ssh2/distinfo | 2 | ||||
-rw-r--r-- | security/ssh2/files/patch-ab | 12 | ||||
-rw-r--r-- | security/ssh2/files/patch-ac | 45 | ||||
-rw-r--r-- | security/ssh2/files/patch-af | 108 | ||||
-rw-r--r-- | security/ssh2/pkg-plist | 6 |
11 files changed, 202 insertions, 144 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile index 2927e41..cee9486 100644 --- a/security/ssh/Makefile +++ b/security/ssh/Makefile @@ -1,15 +1,15 @@ # New ports collection makefile for: ssh -# Version required: 1.2.14 +# Version required: 1.2.16 # Date created: 30 Jul 1995 # Whom: torstenb@FreeBSD.ORG # -# $Id: Makefile,v 1.32 1996/08/08 13:56:52 peter Exp $ +# $Id: Makefile,v 1.33 1996/08/19 10:31:04 asami Exp $ # # Maximal ssh package requires YES values for # USE_PERL, USE_TCPWRAP # -DISTNAME= ssh-1.2.14 +DISTNAME= ssh-1.2.16 CATEGORIES= security net MASTER_SITES= ftp://ftp.cs.hut.fi/pub/ssh/ diff --git a/security/ssh/distinfo b/security/ssh/distinfo index 90174b8..61e457d 100644 --- a/security/ssh/distinfo +++ b/security/ssh/distinfo @@ -1,2 +1,2 @@ -MD5 (ssh-1.2.14.tar.gz) = c95349f27d32ad270dda4b87051f2a5f +MD5 (ssh-1.2.16.tar.gz) = 4b36e9d1d651e5230c6717834d739ed4 MD5 (rsaref2.tar.gz) = 0b474c97bf1f1c0d27e5a95f1239c08d diff --git a/security/ssh/files/patch-ac b/security/ssh/files/patch-ac index 7701a51..3ae8d80 100644 --- a/security/ssh/files/patch-ac +++ b/security/ssh/files/patch-ac @@ -1,24 +1,23 @@ -*** login.c.bak Thu Jun 6 15:39:34 1996 ---- login.c Mon Jun 17 19:56:43 1996 +*** gmp-2.0.2/Makefile.in.bak Mon Sep 30 02:29:39 1996 +--- gmp-2.0.2/Makefile.in Wed Oct 16 07:33:48 1996 *************** -*** 236,241 **** ---- 236,254 ---- - strncpy(u.ut_user, user, sizeof(u.ut_user)); - #endif /* HAVE_NAME_IN_UTMP */ - #ifdef HAVE_HOST_IN_UTMP -+ #ifdef __FreeBSD__ -+ if (strlen(host) > UT_HOSTSIZE) { -+ struct hostent *hp = gethostbyname(host); -+ -+ if (hp != NULL) { -+ struct in_addr in; -+ -+ memmove(&in, hp->h_addr, sizeof(in)); -+ host = inet_ntoa(in); -+ } else -+ host = "invalid hostname"; -+ } -+ #endif - strncpy(u.ut_host, host, sizeof(u.ut_host)); - #endif /* HAVE_HOST_IN_UTMP */ - #ifdef HAVE_ADDR_IN_UTMP +*** 27,35 **** + infodir = $(prefix)/info + includedir = $(prefix)/include + +! CC = gcc + LOCAL_CC = $(CC) +! CFLAGS = -g -O + XCFLAGS = + AR = ar + AR_FLAGS = rc +--- 27,35 ---- + infodir = $(prefix)/info + includedir = $(prefix)/include + +! #CC = gcc + LOCAL_CC = $(CC) +! #CFLAGS = -g -O + XCFLAGS = + AR = ar + AR_FLAGS = rc diff --git a/security/ssh/files/patch-af b/security/ssh/files/patch-af index a100f6d..bdeef63 100644 --- a/security/ssh/files/patch-af +++ b/security/ssh/files/patch-af @@ -1,41 +1,67 @@ ---- Makefile.in.orig Thu Jun 6 19:39:35 1996 -+++ Makefile.in Fri Jun 7 11:58:02 1996 -@@ -137,12 +137,16 @@ - SHELL = /bin/sh - - GMPDIR = gmp-1.3.2 --GMPLIBS = -L$(GMPDIR) -lgmp --GMPDEP = $(GMPDIR)/gmp.h $(GMPDIR)/libgmp.a -+GMPINCDIR = $(GMPDIR) -+GMPLIBDIR = $(GMPDIR) -+GMPDEP = $(GMPINCDIR)/gmp.h $(GMPLIBDIR)/libgmp.a -+GMPLIBS = -L$(GMPLIBDIR) -lgmp - - ZLIBDIR = zlib095 --ZLIBDEP = $(ZLIBDIR)/libz.a --ZLIBLIBS = -L$(ZLIBDIR) -lz -+ZLIBINCDIR = $(ZLIBDIR) -+ZLIBLIBDIR = $(ZLIBDIR) -+ZLIBDEP = $(ZLIBINCDIR)/zlib.h $(ZLIBLIBDIR)/libz.a -+ZLIBLIBS = -L$(ZLIBLIBDIR) -lz - - RSAREFDIR = rsaref2 - RSAREFSRCDIR = $(RSAREFDIR)/source -@@ -223,7 +227,7 @@ - $(CC) -o rfc-pg rfc-pg.c - - .c.o: -- $(CC) -c -I. -I$(srcdir)/$(GMPDIR) -I$(srcdir)/$(ZLIBDIR) $(DEFS) -DHOST_KEY_FILE=\"$(HOST_KEY_FILE)\" -DHOST_CONFIG_FILE=\"$(HOST_CONFIG_FILE)\" -DSERVER_CONFIG_FILE=\"$(SERVER_CONFIG_FILE)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DETCDIR=\"$(etcdir)\" -DPIDDIR=\"$(piddir)\" -DBINDIR=\"$(bindir)\" $(CFLAGS) $(X_CFLAGS) $< -+ $(CC) -c -I. -I$(GMPINCDIR) -I$(ZLIBINCDIR) $(DEFS) -DHOST_KEY_FILE=\"$(HOST_KEY_FILE)\" -DHOST_CONFIG_FILE=\"$(HOST_CONFIG_FILE)\" -DSERVER_CONFIG_FILE=\"$(SERVER_CONFIG_FILE)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DETCDIR=\"$(etcdir)\" -DPIDDIR=\"$(piddir)\" -DBINDIR=\"$(bindir)\" $(CFLAGS) $(X_CFLAGS) $< - - sshd: $(SSHD_OBJS) $(GMPDEP) $(RSAREFDEP) $(ZLIBDEP) - -rm -f sshd -@@ -282,7 +286,7 @@ - CC="$(CC)" CFLAGS="$(CFLAGS) -I. -I$(srcdir)/$(GMPDIR) \ - -I../$(srcdir)/$(GMPDIR)" RANLIB="$(RANLIB)" - --$(ZLIBDEP): -+$(ZLIBDIR)/libz.a: - -if test '!' -d $(ZLIBDIR); then \ - mkdir $(ZLIBDIR); \ - cp $(srcdir)/$(ZLIBDIR)/Makefile $(ZLIBDIR); \ +*** Makefile.in.orig Fri Oct 4 17:00:43 1996 +--- Makefile.in Wed Oct 16 06:40:44 1996 +*************** +*** 159,170 **** + SHELL = /bin/sh + + GMPDIR = gmp-2.0.2 +! GMPLIBS = -L$(GMPDIR) -lgmp +! GMPDEP = $(GMPDIR)/gmp.h $(GMPDIR)/libgmp.a + + ZLIBDIR = zlib-1.0.3 +! ZLIBDEP = $(ZLIBDIR)/libz.a +! ZLIBLIBS = -L$(ZLIBDIR) -lz + + RSAREFDIR = rsaref2 + RSAREFSRCDIR = $(RSAREFDIR)/source +--- 159,174 ---- + SHELL = /bin/sh + + GMPDIR = gmp-2.0.2 +! GMPINCDIR = $(GMPDIR) +! GMPLIBDIR = $(GMPDIR) +! GMPDEP = $(GMPINCDIR)/gmp.h $(GMPLIBDIR)/libgmp.a +! GMPLIBS = -L$(GMPLIBDIR) -lgmp + + ZLIBDIR = zlib-1.0.3 +! ZLIBINCDIR = $(ZLIBDIR) +! ZLIBLIBDIR = $(ZLIBDIR) +! ZLIBDEP = $(ZLIBINCDIR)/zlib.h $(ZLIBLIBDIR)/libz.a +! ZLIBLIBS = -L$(ZLIBLIBDIR) -lz + + RSAREFDIR = rsaref2 + RSAREFSRCDIR = $(RSAREFDIR)/source +*************** +*** 248,254 **** + $(CC) -o rfc-pg rfc-pg.c + + .c.o: +! $(CC) -c -I. -I$(srcdir)/$(GMPDIR) -I$(srcdir)/$(ZLIBDIR) $(DEFS) -DHOST_KEY_FILE=\"$(HOST_KEY_FILE)\" -DHOST_CONFIG_FILE=\"$(HOST_CONFIG_FILE)\" -DSERVER_CONFIG_FILE=\"$(SERVER_CONFIG_FILE)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DETCDIR=\"$(etcdir)\" -DPIDDIR=\"$(piddir)\" -DBINDIR=\"$(bindir)\" $(CFLAGS) $(X_CFLAGS) $< + + sshd: $(SSHD_OBJS) $(GMPDEP) $(RSAREFDEP) $(ZLIBDEP) + -rm -f sshd +--- 252,258 ---- + $(CC) -o rfc-pg rfc-pg.c + + .c.o: +! $(CC) -c -I. -I$(GMPINCDIR) -I$(ZLIBINCDIR) $(DEFS) -DHOST_KEY_FILE=\"$(HOST_KEY_FILE)\" -DHOST_CONFIG_FILE=\"$(HOST_CONFIG_FILE)\" -DSERVER_CONFIG_FILE=\"$(SERVER_CONFIG_FILE)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DETCDIR=\"$(etcdir)\" -DPIDDIR=\"$(piddir)\" -DBINDIR=\"$(bindir)\" $(CFLAGS) $(X_CFLAGS) $< + + sshd: $(SSHD_OBJS) $(GMPDEP) $(RSAREFDEP) $(ZLIBDEP) + -rm -f sshd +*************** +*** 297,303 **** + $(GMPDIR)/libgmp.a: + cd $(GMPDIR); $(MAKE) + +! $(ZLIBDEP): + -if test '!' -d $(ZLIBDIR); then \ + mkdir $(ZLIBDIR); \ + cp $(srcdir)/$(ZLIBDIR)/Makefile $(ZLIBDIR); \ +--- 301,307 ---- + $(GMPDIR)/libgmp.a: + cd $(GMPDIR); $(MAKE) + +! $(ZLIBDIR)/libz.a: + -if test '!' -d $(ZLIBDIR); then \ + mkdir $(ZLIBDIR); \ + cp $(srcdir)/$(ZLIBDIR)/Makefile $(ZLIBDIR); \ diff --git a/security/ssh/pkg-plist b/security/ssh/pkg-plist index 55844f3..29cc5a4 100644 --- a/security/ssh/pkg-plist +++ b/security/ssh/pkg-plist @@ -1,7 +1,8 @@ etc/rc.d/sshd.sh bin/scp -bin/slogin bin/ssh +@exec ln -fs %f %B/slogin +@unexec rm -f %B/slogin bin/ssh-add bin/ssh-agent bin/ssh-askpass @@ -15,6 +16,9 @@ man/man1/ssh-add.1.gz man/man1/ssh-agent.1.gz man/man1/ssh-keygen.1.gz man/man1/ssh.1.gz +@exec ln -fs %f %B/slogin.1.gz +@unexec rm -f %B/slogin.1.gz man/man8/sshd.8.gz sbin/sshd @exec if [ ! -f %D/etc/ssh_host_key ]; then echo "Generating a secret host key.." ; %D/bin/ssh-keygen -N "" -f %D/etc/ssh_host_key; fi +@unexec rm -f %D/etc/ssh_host_key diff --git a/security/ssh2/Makefile b/security/ssh2/Makefile index 2927e41..cee9486 100644 --- a/security/ssh2/Makefile +++ b/security/ssh2/Makefile @@ -1,15 +1,15 @@ # New ports collection makefile for: ssh -# Version required: 1.2.14 +# Version required: 1.2.16 # Date created: 30 Jul 1995 # Whom: torstenb@FreeBSD.ORG # -# $Id: Makefile,v 1.32 1996/08/08 13:56:52 peter Exp $ +# $Id: Makefile,v 1.33 1996/08/19 10:31:04 asami Exp $ # # Maximal ssh package requires YES values for # USE_PERL, USE_TCPWRAP # -DISTNAME= ssh-1.2.14 +DISTNAME= ssh-1.2.16 CATEGORIES= security net MASTER_SITES= ftp://ftp.cs.hut.fi/pub/ssh/ diff --git a/security/ssh2/distinfo b/security/ssh2/distinfo index 90174b8..61e457d 100644 --- a/security/ssh2/distinfo +++ b/security/ssh2/distinfo @@ -1,2 +1,2 @@ -MD5 (ssh-1.2.14.tar.gz) = c95349f27d32ad270dda4b87051f2a5f +MD5 (ssh-1.2.16.tar.gz) = 4b36e9d1d651e5230c6717834d739ed4 MD5 (rsaref2.tar.gz) = 0b474c97bf1f1c0d27e5a95f1239c08d diff --git a/security/ssh2/files/patch-ab b/security/ssh2/files/patch-ab index ac0c513..320d136 100644 --- a/security/ssh2/files/patch-ab +++ b/security/ssh2/files/patch-ab @@ -1,19 +1,19 @@ -*** configure.orig Fri Oct 6 21:16:53 1995 ---- configure Fri Oct 6 21:17:16 1995 +*** configure.orig Fri Oct 4 17:00:44 1996 +--- configure Wed Oct 16 06:32:03 1996 *************** -*** 3621,3627 **** +*** 5092,5098 **** EOF cat >> $CONFIG_STATUS <<EOF -! CONFIG_FILES=\${CONFIG_FILES-"Makefile sshd.8 ssh.1 make-ssh-known-hosts.1"} +! CONFIG_FILES=\${CONFIG_FILES-"Makefile sshd.8 ssh.1 make-ssh-known-hosts.1 zlib-1.0.3/Makefile"} EOF cat >> $CONFIG_STATUS <<\EOF for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then ---- 3621,3627 ---- +--- 5092,5098 ---- EOF cat >> $CONFIG_STATUS <<EOF -! CONFIG_FILES=\${CONFIG_FILES-"Makefile sshd.8 ssh.1 make-ssh-known-hosts.1 make-ssh-known-hosts.pl"} +! CONFIG_FILES=\${CONFIG_FILES-"Makefile sshd.8 ssh.1 make-ssh-known-hosts.1 make-ssh-known-hosts.pl zlib-1.0.3/Makefile"} EOF cat >> $CONFIG_STATUS <<\EOF for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then diff --git a/security/ssh2/files/patch-ac b/security/ssh2/files/patch-ac index 7701a51..3ae8d80 100644 --- a/security/ssh2/files/patch-ac +++ b/security/ssh2/files/patch-ac @@ -1,24 +1,23 @@ -*** login.c.bak Thu Jun 6 15:39:34 1996 ---- login.c Mon Jun 17 19:56:43 1996 +*** gmp-2.0.2/Makefile.in.bak Mon Sep 30 02:29:39 1996 +--- gmp-2.0.2/Makefile.in Wed Oct 16 07:33:48 1996 *************** -*** 236,241 **** ---- 236,254 ---- - strncpy(u.ut_user, user, sizeof(u.ut_user)); - #endif /* HAVE_NAME_IN_UTMP */ - #ifdef HAVE_HOST_IN_UTMP -+ #ifdef __FreeBSD__ -+ if (strlen(host) > UT_HOSTSIZE) { -+ struct hostent *hp = gethostbyname(host); -+ -+ if (hp != NULL) { -+ struct in_addr in; -+ -+ memmove(&in, hp->h_addr, sizeof(in)); -+ host = inet_ntoa(in); -+ } else -+ host = "invalid hostname"; -+ } -+ #endif - strncpy(u.ut_host, host, sizeof(u.ut_host)); - #endif /* HAVE_HOST_IN_UTMP */ - #ifdef HAVE_ADDR_IN_UTMP +*** 27,35 **** + infodir = $(prefix)/info + includedir = $(prefix)/include + +! CC = gcc + LOCAL_CC = $(CC) +! CFLAGS = -g -O + XCFLAGS = + AR = ar + AR_FLAGS = rc +--- 27,35 ---- + infodir = $(prefix)/info + includedir = $(prefix)/include + +! #CC = gcc + LOCAL_CC = $(CC) +! #CFLAGS = -g -O + XCFLAGS = + AR = ar + AR_FLAGS = rc diff --git a/security/ssh2/files/patch-af b/security/ssh2/files/patch-af index a100f6d..bdeef63 100644 --- a/security/ssh2/files/patch-af +++ b/security/ssh2/files/patch-af @@ -1,41 +1,67 @@ ---- Makefile.in.orig Thu Jun 6 19:39:35 1996 -+++ Makefile.in Fri Jun 7 11:58:02 1996 -@@ -137,12 +137,16 @@ - SHELL = /bin/sh - - GMPDIR = gmp-1.3.2 --GMPLIBS = -L$(GMPDIR) -lgmp --GMPDEP = $(GMPDIR)/gmp.h $(GMPDIR)/libgmp.a -+GMPINCDIR = $(GMPDIR) -+GMPLIBDIR = $(GMPDIR) -+GMPDEP = $(GMPINCDIR)/gmp.h $(GMPLIBDIR)/libgmp.a -+GMPLIBS = -L$(GMPLIBDIR) -lgmp - - ZLIBDIR = zlib095 --ZLIBDEP = $(ZLIBDIR)/libz.a --ZLIBLIBS = -L$(ZLIBDIR) -lz -+ZLIBINCDIR = $(ZLIBDIR) -+ZLIBLIBDIR = $(ZLIBDIR) -+ZLIBDEP = $(ZLIBINCDIR)/zlib.h $(ZLIBLIBDIR)/libz.a -+ZLIBLIBS = -L$(ZLIBLIBDIR) -lz - - RSAREFDIR = rsaref2 - RSAREFSRCDIR = $(RSAREFDIR)/source -@@ -223,7 +227,7 @@ - $(CC) -o rfc-pg rfc-pg.c - - .c.o: -- $(CC) -c -I. -I$(srcdir)/$(GMPDIR) -I$(srcdir)/$(ZLIBDIR) $(DEFS) -DHOST_KEY_FILE=\"$(HOST_KEY_FILE)\" -DHOST_CONFIG_FILE=\"$(HOST_CONFIG_FILE)\" -DSERVER_CONFIG_FILE=\"$(SERVER_CONFIG_FILE)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DETCDIR=\"$(etcdir)\" -DPIDDIR=\"$(piddir)\" -DBINDIR=\"$(bindir)\" $(CFLAGS) $(X_CFLAGS) $< -+ $(CC) -c -I. -I$(GMPINCDIR) -I$(ZLIBINCDIR) $(DEFS) -DHOST_KEY_FILE=\"$(HOST_KEY_FILE)\" -DHOST_CONFIG_FILE=\"$(HOST_CONFIG_FILE)\" -DSERVER_CONFIG_FILE=\"$(SERVER_CONFIG_FILE)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DETCDIR=\"$(etcdir)\" -DPIDDIR=\"$(piddir)\" -DBINDIR=\"$(bindir)\" $(CFLAGS) $(X_CFLAGS) $< - - sshd: $(SSHD_OBJS) $(GMPDEP) $(RSAREFDEP) $(ZLIBDEP) - -rm -f sshd -@@ -282,7 +286,7 @@ - CC="$(CC)" CFLAGS="$(CFLAGS) -I. -I$(srcdir)/$(GMPDIR) \ - -I../$(srcdir)/$(GMPDIR)" RANLIB="$(RANLIB)" - --$(ZLIBDEP): -+$(ZLIBDIR)/libz.a: - -if test '!' -d $(ZLIBDIR); then \ - mkdir $(ZLIBDIR); \ - cp $(srcdir)/$(ZLIBDIR)/Makefile $(ZLIBDIR); \ +*** Makefile.in.orig Fri Oct 4 17:00:43 1996 +--- Makefile.in Wed Oct 16 06:40:44 1996 +*************** +*** 159,170 **** + SHELL = /bin/sh + + GMPDIR = gmp-2.0.2 +! GMPLIBS = -L$(GMPDIR) -lgmp +! GMPDEP = $(GMPDIR)/gmp.h $(GMPDIR)/libgmp.a + + ZLIBDIR = zlib-1.0.3 +! ZLIBDEP = $(ZLIBDIR)/libz.a +! ZLIBLIBS = -L$(ZLIBDIR) -lz + + RSAREFDIR = rsaref2 + RSAREFSRCDIR = $(RSAREFDIR)/source +--- 159,174 ---- + SHELL = /bin/sh + + GMPDIR = gmp-2.0.2 +! GMPINCDIR = $(GMPDIR) +! GMPLIBDIR = $(GMPDIR) +! GMPDEP = $(GMPINCDIR)/gmp.h $(GMPLIBDIR)/libgmp.a +! GMPLIBS = -L$(GMPLIBDIR) -lgmp + + ZLIBDIR = zlib-1.0.3 +! ZLIBINCDIR = $(ZLIBDIR) +! ZLIBLIBDIR = $(ZLIBDIR) +! ZLIBDEP = $(ZLIBINCDIR)/zlib.h $(ZLIBLIBDIR)/libz.a +! ZLIBLIBS = -L$(ZLIBLIBDIR) -lz + + RSAREFDIR = rsaref2 + RSAREFSRCDIR = $(RSAREFDIR)/source +*************** +*** 248,254 **** + $(CC) -o rfc-pg rfc-pg.c + + .c.o: +! $(CC) -c -I. -I$(srcdir)/$(GMPDIR) -I$(srcdir)/$(ZLIBDIR) $(DEFS) -DHOST_KEY_FILE=\"$(HOST_KEY_FILE)\" -DHOST_CONFIG_FILE=\"$(HOST_CONFIG_FILE)\" -DSERVER_CONFIG_FILE=\"$(SERVER_CONFIG_FILE)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DETCDIR=\"$(etcdir)\" -DPIDDIR=\"$(piddir)\" -DBINDIR=\"$(bindir)\" $(CFLAGS) $(X_CFLAGS) $< + + sshd: $(SSHD_OBJS) $(GMPDEP) $(RSAREFDEP) $(ZLIBDEP) + -rm -f sshd +--- 252,258 ---- + $(CC) -o rfc-pg rfc-pg.c + + .c.o: +! $(CC) -c -I. -I$(GMPINCDIR) -I$(ZLIBINCDIR) $(DEFS) -DHOST_KEY_FILE=\"$(HOST_KEY_FILE)\" -DHOST_CONFIG_FILE=\"$(HOST_CONFIG_FILE)\" -DSERVER_CONFIG_FILE=\"$(SERVER_CONFIG_FILE)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DETCDIR=\"$(etcdir)\" -DPIDDIR=\"$(piddir)\" -DBINDIR=\"$(bindir)\" $(CFLAGS) $(X_CFLAGS) $< + + sshd: $(SSHD_OBJS) $(GMPDEP) $(RSAREFDEP) $(ZLIBDEP) + -rm -f sshd +*************** +*** 297,303 **** + $(GMPDIR)/libgmp.a: + cd $(GMPDIR); $(MAKE) + +! $(ZLIBDEP): + -if test '!' -d $(ZLIBDIR); then \ + mkdir $(ZLIBDIR); \ + cp $(srcdir)/$(ZLIBDIR)/Makefile $(ZLIBDIR); \ +--- 301,307 ---- + $(GMPDIR)/libgmp.a: + cd $(GMPDIR); $(MAKE) + +! $(ZLIBDIR)/libz.a: + -if test '!' -d $(ZLIBDIR); then \ + mkdir $(ZLIBDIR); \ + cp $(srcdir)/$(ZLIBDIR)/Makefile $(ZLIBDIR); \ diff --git a/security/ssh2/pkg-plist b/security/ssh2/pkg-plist index 55844f3..29cc5a4 100644 --- a/security/ssh2/pkg-plist +++ b/security/ssh2/pkg-plist @@ -1,7 +1,8 @@ etc/rc.d/sshd.sh bin/scp -bin/slogin bin/ssh +@exec ln -fs %f %B/slogin +@unexec rm -f %B/slogin bin/ssh-add bin/ssh-agent bin/ssh-askpass @@ -15,6 +16,9 @@ man/man1/ssh-add.1.gz man/man1/ssh-agent.1.gz man/man1/ssh-keygen.1.gz man/man1/ssh.1.gz +@exec ln -fs %f %B/slogin.1.gz +@unexec rm -f %B/slogin.1.gz man/man8/sshd.8.gz sbin/sshd @exec if [ ! -f %D/etc/ssh_host_key ]; then echo "Generating a secret host key.." ; %D/bin/ssh-keygen -N "" -f %D/etc/ssh_host_key; fi +@unexec rm -f %D/etc/ssh_host_key |