ports/134976: [patch] security/lsh: bad dependencies

john hood jh at sirocco.sandstorm.net
Wed May 27 07:10:01 UTC 2009

>Number:         134976
>Category:       ports
>Synopsis:       [patch] security/lsh: bad dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 27 07:10:00 UTC 2009
>Originator:     john hood
>Release:        FreeBSD 7.2-RELEASE amd64
System: FreeBSD lister.sandstorm.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Thu May 21 18:38:42 EDT 2009 root at lister.sandstorm.net:/usr/src/sys/amd64/compile/NOCD amd64


	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.)

	pkg_add -r lsh; lsh -x localhost xdpyinfo

	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 at 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

More information about the freebsd-ports-bugs mailing list