From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Nov 6 19:20:08 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D2B5106564A for ; Sat, 6 Nov 2010 19:20:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 25C818FC16 for ; Sat, 6 Nov 2010 19:20:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA6JK7uw008053 for ; Sat, 6 Nov 2010 19:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA6JK7CV008036; Sat, 6 Nov 2010 19:20:07 GMT (envelope-from gnats) Date: Sat, 6 Nov 2010 19:20:07 GMT Message-Id: <201011061920.oA6JK7CV008036@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "Chris" Cc: Subject: Re: ports/150493: Update for: security/openssh-portable port from 5.2p1 to 5.6p1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Chris List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2010 19:20:08 -0000 The following reply was made to PR ports/150493; it has been noted by GNATS. From: "Chris" To: , Cc: Subject: Re: ports/150493: Update for: security/openssh-portable port from 5.2p1 to 5.6p1 Date: Sat, 6 Nov 2010 19:14:45 -0000 well my last followup hasnt appeared but here is a new followup. I applied the patches from John Hein, and now no .rej files when using -l with patch (ignore whitespaces) . However the port doesnt compile because one of the patches has a failed hunk. session.c 1 out of 9 hunks failed--saving rejects to session.c.rej => Patch patch-session.c failed to apply cleanly. => Patch(es) patch-Makefile.in patch-auth.c patch-auth1.c patch-auth2.c patch-loginrec.c patch-readconf.c patch-servconf.c applied cleanly. *** Error code 1 Stop in /usr/ports/security/openssh-portable. *** Error code 1 # less session.c.rej *************** *** 1791,1799 **** /* Change current directory to the user's home directory. */ if (chdir(pw->pw_dir) < 0) { /* Suppress missing homedir warning for chroot case */ - #ifdef HAVE_LOGIN_CAP - r = login_getcapbool(lc, "requirehome", 0); - #endif if (r || options.chroot_directory == NULL || strcasecmp(options.chroot_directory, "none") == 0) fprintf(stderr, "Could not chdir to home " --- 1844,1849 ---- /* Change current directory to the user's home directory. */ if (chdir(pw->pw_dir) < 0) { /* Suppress missing homedir warning for chroot case */ if (r || options.chroot_directory == NULL || strcasecmp(options.chroot_directory, "none") == 0) fprintf(stderr, "Could not chdir to home " Regards Chris