Skip site navigation (1)Skip section navigation (2)
Date:      12 Jul 2001 17:45:36 -0000
From:      saito@sets.ne.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28921: security/openssh can't make on 3.5-STABLE
Message-ID:  <20010712174536.50606.qmail@sets.ne.jp>

next in thread | raw e-mail | index | archive | help

>Number:         28921
>Category:       ports
>Synopsis:       security/openssh can't make on 3.5-STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 12 10:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Nobuhiro Saito
>Release:        FreeBSD 3.5-STABLE i386
>Organization:
SETS Co.,Ltd
>Environment:

FreeBSD merry2.sets.ne.jp 3.5-STABLE FreeBSD 3.5-STABLE #9: Wed Jul 11 15:18:57 JST 2001     saito@merry2.sets.ne.jp:/usr/src/sys/compile/MERRY2  i386

>Description:

security/openssh can't make on 3.5-STABLE

cd /usr/ports/security/openssh
make
(snip)
cc -O -pipe -I/ccd/ports/security/openssh/work/ssh/sftp-server/.. -Wall -I/usr/local/include    -I/usr/local/usr/include -o sftp-server sftp-server.o sftp-common.o  -L/ccd/ports/security/openssh/work/ssh/sftp-server/../lib -lssh -lcrypto
/usr/libexec/elf/ld: cannot open -lcrypto: No such file or directory
*** Error code 1

Stop.
(snip)

>How-To-Repeat:

cd /usr/ports/security/openssh
make

>Fix:

diff -u /usr/ports/security/openssh/files/patch-sftp-Makefile ./security/openssh/files/patch-sftp-Makefile
--- /usr/ports/security/openssh/files/patch-sftp-Makefile	Thu Jul 12 19:36:20 2001
+++ ./security/openssh/files/patch-sftp-Makefile	Thu Jul 12 19:53:20 2001
@@ -1,6 +1,6 @@
---- sftp/Makefile.orig	Mon Apr 16 04:31:52 2001
-+++ sftp/Makefile	Sat May 26 15:49:42 2001
-@@ -7,8 +7,8 @@
+--- sftp/Makefile.orig	Mon Apr 16 11:31:52 2001
++++ sftp/Makefile	Thu Jul 12 18:59:02 2001
+@@ -7,13 +7,13 @@
  
  BINMODE?=555
  
@@ -10,4 +10,10 @@
 +MAN1=	sftp.1
  
  SRCS=	sftp.c sftp-client.c sftp-int.c sftp-common.c sftp-glob.c scp-common.c
+ 
+ .include <bsd.prog.mk>
+ 
+-LDADD+=	-lcrypto
++LDADD+=	${CRYPTOLIBS}
+ DPADD+=	${LIBCRYPTO}
  
diff -u /usr/ports/security/openssh/files/patch-sftp-server-Makefile ./security/openssh/files/patch-sftp-server-Makefile
--- /usr/ports/security/openssh/files/patch-sftp-server-Makefile	Thu Jul 12 19:36:10 2001
+++ ./security/openssh/files/patch-sftp-server-Makefile	Thu Jul 12 19:53:20 2001
@@ -1,6 +1,6 @@
---- sftp-server/Makefile.orig	Sun Mar  4 00:59:36 2001
-+++ sftp-server/Makefile	Sat May 26 15:47:57 2001
-@@ -7,8 +7,8 @@
+--- sftp-server/Makefile.orig	Sun Mar  4 08:59:36 2001
++++ sftp-server/Makefile	Thu Jul 12 19:19:06 2001
+@@ -7,12 +7,12 @@
  
  BINMODE?=555
  
@@ -11,3 +11,8 @@
  
  SRCS=	sftp-server.c sftp-common.c
  
+ .include <bsd.prog.mk>
+ 
+-LDADD+=	-lcrypto
++LDADD+=	${CRYPTOLIBS}
+ DPADD+=	${LIBCRYPTO}
diff -u /usr/ports/security/openssh/files/patch-ssh-keyscan-Makefile ./security/openssh/files/patch-ssh-keyscan-Makefile
--- /usr/ports/security/openssh/files/patch-ssh-keyscan-Makefile	Thu Jul 12 19:36:28 2001
+++ ./security/openssh/files/patch-ssh-keyscan-Makefile	Thu Jul 12 19:53:20 2001
@@ -1,6 +1,6 @@
---- ssh-keyscan/Makefile.orig	Sun Mar  4 00:59:39 2001
-+++ ssh-keyscan/Makefile	Sat May 26 16:14:05 2001
-@@ -7,8 +7,8 @@
+--- ssh-keyscan/Makefile.orig	Sun Mar  4 08:59:39 2001
++++ ssh-keyscan/Makefile	Thu Jul 12 18:57:39 2001
+@@ -7,12 +7,12 @@
  
  BINMODE?=555
  
@@ -11,3 +11,8 @@
  
  SRCS=	ssh-keyscan.c
  
+ .include <bsd.prog.mk>
+ 
+-LDADD+=	-lcrypto
++LDADD+=	${CRYPTOLIBS}
+ DPADD+=	${LIBCRYPTO}
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010712174536.50606.qmail>