Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Aug 2011 02:15:51 GMT
From:      Doug Barton <dougb@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/159542: security/pantera has a direct dependency on mysqld
Message-ID:  <201108060215.p762FpUG021531@freefall.freebsd.org>
Resent-Message-ID: <201108060220.p762K9Zc022162@freefall.freebsd.org>

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

>Number:         159542
>Category:       ports
>Synopsis:       security/pantera has a direct dependency on mysqld
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 06 02:20:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Doug Barton
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
AAAG
>Environment:
	DNA
>Description:
	The port has a direct dependency on mysqld, which is a problem
	when using WITH_MYSQL_VER= 52:

	/usr/ports/security/pantera (pantera-0.1.1) Error.
	BUILD_DEPENDS /usr/ports/databases/mysql52-server -- dependency not found
>How-To-Repeat:
	See above.
>Fix:
	Apply the following patch:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/pantera/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	19 Oct 2010 21:29:04 -0000	1.4
+++ Makefile	6 Aug 2011 02:12:55 -0000
@@ -21,13 +21,14 @@
 BROKEN=		bad dependency line
 
 .if !defined(WITHOUT_MYSQL_SERVER)
-BUILD_DEPENDS+=	mysql:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
+USE_MYSQL=	server
+.else
+USE_MYSQL=	yes
 .endif
 
 WRKSRC=		${WRKDIR}/Pantera_Release
 USE_ZIP=	yes
 USE_PYTHON=	yes
-USE_MYSQL=	yes
 NO_BUILD=	yes
 SUB_FILES=	pkg-message pantera.sh
 SUB_LIST+=	SCRIPTDIR=${SCRIPTDIR}


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



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