ports/150493: Update for: security/openssh-portable port from 5.2p1 to 5.6p1
Chris
chris at chrysalisnet.org
Sat Nov 6 19:20:08 UTC 2010
The following reply was made to PR ports/150493; it has been noted by GNATS.
From: "Chris" <chris at chrysalisnet.org>
To: <bug-followup at FreeBSD.org>,
<magik at roorback.net>
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
More information about the freebsd-ports-bugs
mailing list