ports/79652: openssh-askpass fails to install as non-root

John Baldwin jhb at FreeBSD.org
Thu Apr 7 21:00:18 UTC 2005


>Number:         79652
>Category:       ports
>Synopsis:       openssh-askpass fails to install as non-root
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 07 21:00:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     John Baldwin
>Release:        6.0-CURRENT
>Organization:
>Environment:
n/a      
>Description:
The pre-install target is run as the user that invoked 'make install'.  If this user is not root, they can't create files or directories under ${PREFIX}.      
>How-To-Repeat:
      
>Fix:
Use pre-su-install instead:

Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/security/openssh-askpass/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile    8 Feb 2004 06:48:19 -0000       1.11
+++ Makefile    6 Apr 2005 14:12:30 -0000
@@ -26,7 +26,7 @@
        ${ECHO_MSG} ">> \"${DISTNAME}.tar.gz\"."; \
        ${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME}

-pre-install:
+pre-su-install:
        ${MKDIR} ${PREFIX}/share/doc/ssh-askpass
        ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ssh-askpass/


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list