From Dom.Mitchell@palmerharvey.co.uk Tue Jun 29 06:43:15 1999
Return-Path: <Dom.Mitchell@palmerharvey.co.uk>
Received: from mail.palmerharvey.co.uk (mail.palmerharvey.co.uk [62.172.109.58])
	by hub.freebsd.org (Postfix) with ESMTP id 1CA2514C56
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 29 Jun 1999 06:43:13 -0700 (PDT)
	(envelope-from Dom.Mitchell@palmerharvey.co.uk)
Received: from ho-nt-01.pandhm.co.uk (unverified) by mail.palmerharvey.co.uk
 (Content Technologies SMTPRS 2.0.15) with ESMTP id <B0000051915@mail.palmerharvey.co.uk> for <FreeBSD-gnats-submit@freebsd.org>;
 Tue, 29 Jun 1999 14:43:03 +0100
Received: from voodoo.pandhm.co.uk (VOODOO [10.100.35.12]) by ho-nt-01.pandhm.co.uk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0)
	id NHL6LZA7; Tue, 29 Jun 1999 14:34:03 +0100
Received: from dom by voodoo.pandhm.co.uk with local (Exim 2.10 #1)
	id 10yyAE-0004AW-00
	for FreeBSD-gnats-submit@freebsd.org; Tue, 29 Jun 1999 14:43:06 +0100
Message-Id: <E10yyAE-0004AW-00@voodoo.pandhm.co.uk>
Date: Tue, 29 Jun 1999 14:43:06 +0100
From: Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>
Reply-To: Dom.Mitchell@palmerharvey.co.uk
To: FreeBSD-gnats-submit@freebsd.org
Subject: ssh port doesn't build
X-Send-Pr-Version: 3.2

>Number:         12446
>Category:       ports
>Synopsis:       ssh port doesn't build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 29 08:50:06 PDT 1999
>Closed-Date:    Sat Oct 2 17:14:35 PDT 1999
>Last-Modified:  Sat Oct  2 17:15:46 PDT 1999
>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:
State-Changed-From-To: open->closed  
State-Changed-By: cpiazza 
State-Changed-When: Sat Oct 2 17:14:35 PDT 1999 
State-Changed-Why:  
Not reproducable on my machines or on the package building 
machines (http://bento.freebsd.org).  Please try again or 
use a package if you need to.. 
>Unformatted:
