Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 1999 09:50:55 +0900 (JST)
From:      issei@jp.FreeBSD.ORG
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/10577: Fix port bug: security/ssh2
Message-ID:  <199903140050.JAA16182@ns.issei.org>

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

>Number:         10577
>Category:       ports
>Synopsis:       Fix port bug: security/ssh2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 13 17:00:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Issei Suzuki
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
Personal
>Environment:

	

>Description:

	security/ssh2 port fails on "install" stage when you have not installed
	security/ssh port before.

>How-To-Repeat:

	# pkg_delete ssh-1.2.26
	# cd /usr/ports/security/ssh2
	# make install

	At the end of "install" stage, you will encounter the following errors.

	===>   Generating temporary packing list
	/bin/mv -f /usr/local/man/man1/ssh.1.gz /usr/local/man/man1/ssh.old.1.gz
	mv: rename /usr/local/man/man1/ssh.1.gz to
	/usr/local/man/man1/ssh.old.1.gz: No such file or directory
	*** Error code 1
	
	Stop.
	*** Error code 1
	
	Stop.
	*** Error code 1
	
	Stop.

>Fix:
	
	Apply the following patch to that of ports-current.  You should define
	USE_SSH1 macro before using it.


diff -urN ssh2.old/Makefile ssh2/Makefile
--- ssh2.old/Makefile	Sun Mar 14 09:19:19 1999
+++ ssh2/Makefile	Sun Mar 14 09:37:02 1999
@@ -24,22 +24,27 @@
 #Uncomment if all your users are in their own group and their homedir
 #is writeable by that group.  Beware the security implications!
 #CONFIGURE_ARGS+= --enable-group-writeability
-#
+
 # Include support for ssh1 client backward compatibility
+USE_SSH1?=	YES
+# Include tcp_wrappers support
+USE_TCPWRAP?=	NO
+# Warning: untested !
+# Include support for the TIS authentication server
+USE_TIS?=	NO
+# Include support for the SecureID card
+USE_SECUREID?=	NO
+
 .if defined(USE_SSH1) && ${USE_SSH1} == YES
 BUILD_DEPENDS+=	ssh1:${PORTSDIR}/security/ssh
 RUN_DEPENDS+=	ssh1:${PORTSDIR}/security/ssh
 .endif
-# Warning: untested !
-# Include support for the SecureID card
 .if defined(USE_SECUREID) && ${USE_SECUREID} == YES
 CONFIGURE_ARGS+= --with-secureid
 .endif
 .if defined(USE_TIS) && ${USE_TIS} == YES
-# Include support for the TIS authentication server
 CONFIGURE_ARGS+= --with-tis
 .endif
-# Include tcp_wrappers support
 .if defined(USE_TCPWRAP) && ${USE_TCPWRAP} == YES
 CONFIGURE_ARGS+= --with-libwrap="-L ${PREFIX}/lib -lwrap"
 LIB_DEPENDS+=   wrap.7:${PORTSDIR}/security/tcp_wrapper
@@ -49,10 +54,6 @@
 	scp2.1 sftp2.1
 MAN8=	sshd2.8
 
-USE_SSH1?=	YES
-USE_TCPWRAP?=	NO
-USE_TIS?=	NO
-USE_SECUREID?=	NO
 PORTDOCS=	CHANGES LICENSING README
 .if !defined(USE_SSH1) || (defined(USE_SSH1) && ${USE_SSH1} != YES)
 PLIST=		${PKGDIR}/PLIST.ssh2_only

>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?199903140050.JAA16182>