From owner-freebsd-ports Sat Mar 13 17: 0:18 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1E62914F67 for ; Sat, 13 Mar 1999 17:00:13 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id RAA16120; Sat, 13 Mar 1999 17:00:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from ns.issei.org (ns.issei.org [210.169.187.130]) by hub.freebsd.org (Postfix) with ESMTP id 8ED4C14EAD for ; Sat, 13 Mar 1999 16:51:14 -0800 (PST) (envelope-from issei@issei.org) Received: (from issei@localhost) by ns.issei.org (8.9.3/3.7W-hub) id JAA16182; Sun, 14 Mar 1999 09:50:55 +0900 (JST) Message-Id: <199903140050.JAA16182@ns.issei.org> Date: Sun, 14 Mar 1999 09:50:55 +0900 (JST) From: issei@jp.FreeBSD.ORG Reply-To: issei@jp.FreeBSD.ORG To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/10577: Fix port bug: security/ssh2 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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