From jh@sirocco.sandstorm.net  Wed May 27 07:02:39 2009
Return-Path: <jh@sirocco.sandstorm.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 8FEC31065673
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 27 May 2009 07:02:39 +0000 (UTC)
	(envelope-from jh@sirocco.sandstorm.net)
Received: from sirocco.sandstorm.net (sirocco.sandstorm.net [69.33.111.75])
	by mx1.freebsd.org (Postfix) with ESMTP id 492478FC2E
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 27 May 2009 07:02:39 +0000 (UTC)
	(envelope-from jh@sirocco.sandstorm.net)
Received: from sirocco.sandstorm.net (localhost [127.0.0.1])
	by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id n4R6mQtu032904
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 27 May 2009 02:48:26 -0400 (EDT)
	(envelope-from jh@sirocco.sandstorm.net)
Received: (from jh@localhost)
	by sirocco.sandstorm.net (8.13.8/8.13.3/Submit) id n4R6mN0A032879;
	Wed, 27 May 2009 02:48:23 -0400 (EDT)
	(envelope-from jh)
Message-Id: <200905270648.n4R6mN0A032879@sirocco.sandstorm.net>
Date: Wed, 27 May 2009 02:48:23 -0400 (EDT)
From: john hood <jh@sirocco.sandstorm.net>
Reply-To: john hood <jh@sirocco.sandstorm.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] security/lsh: bad dependencies
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         134976
>Category:       ports
>Synopsis:       [patch] security/lsh: bad dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 27 07:10:00 UTC 2009
>Closed-Date:    Tue Jun 02 11:14:49 UTC 2009
>Last-Modified:  Tue Jun  2 11:20:06 UTC 2009
>Originator:     john hood
>Release:        FreeBSD 7.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD lister.sandstorm.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Thu May 21 18:38:42 EDT 2009 root@lister.sandstorm.net:/usr/src/sys/amd64/compile/NOCD amd64


>Description:

	The 7.2-release package of lsh fails to run X clients, with:
	"lsh: Can't find any xauth information for X11 display." at
	startup.  This appears to be because the port's missing a
	dependency on libXau, and configure quietly disables support
	for X authorization (but not X11) in lsh.  Patch to add it included.
	While I'm at it, remove a (now?) unnecessary build dependency
	for a Scheme interpreter (the source tarball includes premade
	bits).  (It also removes a build dependency on libgmp4 because
	-head already has this.)

>How-To-Repeat:
	pkg_add -r lsh; lsh -x localhost xdpyinfo
>Fix:

	Patch against 7.2-release port Makefile:

--- Makefile.orig	2009-03-09 15:29:09.000000000 -0400
+++ Makefile	2009-05-27 02:09:57.000000000 -0400
@@ -15,10 +15,9 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A secure (encrypted) remote shell compatible with ssh 2.0
 
-BUILD_DEPENDS+=	${LOCALBASE}/include/gmp.h:${PORTSDIR}/math/libgmp4 \
-		${LOCALBASE}/share/guile/1.8/slibcat:${PORTSDIR}/lang/slib-guile
 LIB_DEPENDS+=	oop:${PORTSDIR}/devel/liboop \
-		gmp.7:${PORTSDIR}/math/libgmp4
+		gmp.7:${PORTSDIR}/math/libgmp4 \
+		Xau.6:${PORTSDIR}/x11/libXau
 
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Tue Jun 2 11:14:31 UTC 2009 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134976 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/134976: commit references a PR
Date: Tue,  2 Jun 2009 11:14:47 +0000 (UTC)

 pav         2009-06-02 11:14:38 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/lsh         Makefile 
   Log:
   - Drop build dependency on scheme, tarball comes with prebuilt bits
   - Add dependency on libXau, otherwise xauth support is not working
   
   PR:             ports/134976
   Submitted by:   john hood <jh@sirocco.sandstorm.net>
   
   Revision  Changes    Path
   1.47      +3 -4      ports/security/lsh/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
