Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 1999 14:43:06 +0100
From:      Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12446: ssh port doesn't build
Message-ID:  <E10yyAE-0004AW-00@voodoo.pandhm.co.uk>

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

>Number:         12446
>Category:       ports
>Synopsis:       ssh port doesn't build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 29 08:50:06 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Mitchell
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Palmer & Harvey McLane Ltd.
>Environment:

FreeBSD voodoo.pandhm.co.uk 4.0-CURRENT FreeBSD 4.0-CURRENT #18: Tue Jun  8 05:00:06 BST 1999     root@voodoo.pandhm.co.uk:/usr/src/sys/compile/VOODOO  i386

>Description:

The ssh port doesn't build, complaining about a symbol used with ulimit
in sshd.c

>How-To-Repeat:

cd /usr/ports/security/ssh && make

>Fix:
	
Add in this as patches/patch-ay

--- sshd.c.orig	Tue Jun 29 14:36:10 1999
+++ sshd.c	Tue Jun 29 14:39:24 1999
@@ -3729,10 +3729,12 @@
       umask(value);
     }
 
+#ifdef HAVE_ULIMIT
   /* Set up the file size ulimit if ULIMIT is set. */
   def = child_get_env(defenv, "ULIMIT");
   if (def != NULL && atoi(def) > 0)
     ulimit(UL_SETFSIZE, atoi(def));
+#endif
 
   /* Free the temporary environment. */
   for (i = 0; defenv[i]; i++)

-- 
**********************************************************************
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they   
are addressed. If you have received this email in error please notify 
the system manager.

This footnote also confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.
**********************************************************************

>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?E10yyAE-0004AW-00>