Date: Mon, 6 Apr 2009 14:44:57 +0900 (JST) From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Cc: turutani@scphys.kyoto-u.ac.jp Subject: ports/133412: install trouble of security/openssh-portable with OPENSSH_OVERWRITE_BASE=1 Message-ID: <200904060544.n365ivC7001496@h120.65.226.10.32118.vlan.kuins.net> Resent-Message-ID: <200904060550.n365o1A2092495@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 133412 >Category: ports >Synopsis: install trouble of security/openssh-portable with OPENSSH_OVERWRITE_BASE=1 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 06 05:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Tsurutani Naoki >Release: FreeBSD 7.1-STABLE i386 >Organization: >Environment: System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 7.1-STABLE FreeBSD 7.1-STABLE #17: Wed Jan 7 11:14:01 JST 2009 turutani@h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386 >Description: installing security/openssh-portable from ports with "OPENSSH_OVERWRITE_BASE=1" makes error: ===> Installing rc.d startup script(s) install: /usr/local/etc/rc.d/openssh: No such file or directory *** Error code 71 Stop in /usr/ports/security/openssh-portable. *** Error code 1 Stop in /usr/ports/security/openssh-portable. this is the first port i installed after installation of the OS. >How-To-Repeat: install security/openssh-portable with the above mentioned way. >Fix: openssh does not know about the path of startup script. here is a patch to security/openssh-portable: --- Makefile.orig 2009-03-27 06:17:57.000000000 +0900 +++ Makefile 2009-04-06 14:34:51.000000000 +0900 @@ -249,6 +249,7 @@ .if defined(WITH_OVERWRITE_BASE) @${ECHO_CMD} "===> Installing rc.d startup script(s)" @${ECHO_CMD} "@cwd ${LOCALBASE}" >> ${TMPPLIST} + @${MKDIR} ${LOCALBASE}/etc/rc.d @${INSTALL_SCRIPT} ${WRKDIR}/openssh ${LOCALBASE}/etc/rc.d/${RC_SCRIPT_NAME} @${ECHO_CMD} "etc/rc.d/${RC_SCRIPT_NAME}" >> ${TMPPLIST} @${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST} >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904060544.n365ivC7001496>