Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2009 02:48:23 -0400 (EDT)
From:      john hood <jh@sirocco.sandstorm.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/134976: [patch] security/lsh: bad dependencies
Message-ID:  <200905270648.n4R6mN0A032879@sirocco.sandstorm.net>
Resent-Message-ID: <200905270710.n4R7A1aV010621@freefall.freebsd.org>

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

>Number:         134976
>Category:       ports
>Synopsis:       [patch] security/lsh: bad dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 27 07:10:00 UTC 2009
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905270648.n4R6mN0A032879>