Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2002 19:29:57 -0500 (EST)
From:      Garrett Wollman <wollman@hergotha.lcs.mit.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34362: security/openssh-portable doesn't build on -current
Message-ID:  <200201280029.g0S0Tv042094@hergotha.lcs.mit.edu>

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

>Number:         34362
>Category:       ports
>Synopsis:       security/openssh-portable doesn't build on -current
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 27 16:30:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Wollman
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
MIT Laboratory for Computer Science
>Environment:
System: FreeBSD hergotha.lcs.mit.edu 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sat Jan 26 16:37:15 EST 2002 wollman@hergotha.lcs.mit.edu:/usr/src/sys/i386/compile/HERGOTHA i386

$FreeBSD: ports/security/openssh-portable/Makefile,v 1.18 2002/01/05 11:37:49 dinoex Exp $
>Description:
	Someone in the OpenSSH world doesn't understand the difference
between application and implementation namespaces.  This causes
conflicts with <readpassphrase.h>.

>How-To-Repeat:
	cd /usr/ports/security/openssh-portable && make

>Fix:

Add the following patch as files/patch-readpassphrase.h:

--- openbsd-compat/readpassphrase.h.orig	Sun Jan 27 19:18:10 2002
+++ openbsd-compat/readpassphrase.h	Sun Jan 27 19:18:54 2002
@@ -28,6 +28,6 @@
  */
 
-#ifndef _READPASSPHRASE_H_
-#define _READPASSPHRASE_H_
+#ifndef READPASSPHRASE_H_
+#define READPASSPHRASE_H_
 
 #include "includes.h"
@@ -43,6 +43,7 @@
 
 char *readpassphrase(const char *, char *, size_t, int);
-
+#else /* HAVE_READPASSPHRASE */
+#include <readpassphrase.h>
 #endif /* HAVE_READPASSPHRASE */
 
-#endif /* !_READPASSPHRASE_H_ */
+#endif /* !READPASSPHRASE_H_ */


>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?200201280029.g0S0Tv042094>