Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2012 21:32:00 GMT
From:      Olivier Cochard-Labbé <olivier@cochard.me>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165755: [security/truecrypt] missing sudo as a RUN_DEPENDS
Message-ID:  <201203052132.q25LW0Il020653@red.freebsd.org>
Resent-Message-ID: <201203052140.q25LeAZB046112@freefall.freebsd.org>

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

>Number:         165755
>Category:       ports
>Synopsis:       [security/truecrypt] missing sudo as a RUN_DEPENDS
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 05 21:40:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Cochard-Labbé
>Release:        9.0
>Organization:
BSD Router Project
>Environment:
FreeBSD laptop.bsdrp.net 9.0-RELEASE FreeBSD 9.0-RELEASE #2: Sat Jan  7 19:01:08 CET 2012     root@laptop.bsdrp.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
security/truecrypt use sudo but the Makefile didn't include sudo as a RUN_DEPENDS
>How-To-Repeat:
Install, run and mount a truecrypt volume without sudo installed.
>Fix:
Apply the patch.

Patch attached with submission follows:

diff -ruN security/truecrypt.orig/Makefile security/truecrypt/Makefile
--- security/truecrypt.orig/Makefile	2012-03-05 22:24:04.000000000 +0100
+++ security/truecrypt/Makefile	2012-03-05 22:25:47.000000000 +0100
@@ -22,7 +22,8 @@
 BUILD_DEPENDS=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod \
 		nasm:${PORTSDIR}/devel/nasm
 LIB_DEPENDS=	fuse.2:${PORTSDIR}/sysutils/fusefs-libs
-RUN_DEPENDS=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
+RUN_DEPENDS=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod \
+				sudo:${PORTSDIR}/security/sudo
 
 WRKSRC=		${WRKDIR}/truecrypt-${PORTVERSION}-source
 


>Release-Note:
>Audit-Trail:
>Unformatted:



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