From question@closedsrc.org  Thu Jun 30 15:33:20 2005
Return-Path: <question@closedsrc.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 256AB16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 30 Jun 2005 15:33:20 +0000 (GMT)
	(envelope-from question@closedsrc.org)
Received: from q.closedsrc.org (q.closedsrc.org [72.1.133.20])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CC95A43D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 30 Jun 2005 15:33:19 +0000 (GMT)
	(envelope-from question@closedsrc.org)
Received: by q.closedsrc.org (Postfix, from userid 1001)
	id 9B9A045041; Thu, 30 Jun 2005 08:31:06 -0700 (PDT)
Message-Id: <20050630153106.9B9A045041@q.closedsrc.org>
Date: Thu, 30 Jun 2005 08:31:06 -0700 (PDT)
From: Linh Pham <question+fbsdports@closedsrc.org>
Reply-To: Linh Pham <question+fbsdports@closedsrc.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update port security/base - add missing dependency
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         82829
>Category:       ports
>Synopsis:       Update port security/base - add missing dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 30 15:40:11 GMT 2005
>Closed-Date:    Thu Jun 30 17:10:09 GMT 2005
>Last-Modified:  Thu Jun 30 17:10:09 GMT 2005
>Originator:     Linh Pham
>Release:        FreeBSD 5.4-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD q.internal.closedsrc.org 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #14: Sun Jun 12 23:59:50 PDT 2005 root@q.internal.closedsrc.org:/usr/obj/usr/src/sys/Q i386
>Description:
Add pear-Image_Graph as a dependency for security/base as it is required for
the different graphing functions.

Also tweak pkg-message.in to mention adding an Alias to Apache configuration
file since the port does not install into ${REPFIX}/www/data and mention the
need for including the PEAR library path into php.ini file.
>How-To-Repeat:
>Fix:

--- base-1.1.3_1.diff begins here ---
diff -ruN /usr/ports/security/base/Makefile base/Makefile
--- /usr/ports/security/base/Makefile	Tue Jun 14 09:06:21 2005
+++ base/Makefile	Thu Jun 30 01:14:40 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	base
 PORTVERSION=	1.1.3
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	secureideas
@@ -15,7 +16,8 @@
 COMMENT=	Basic Analysis and Security Engine - analyzing Snort alerts
 
 RUN_DEPENDS=	${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort \
-		${ADODB_DIR}/adodb.inc.php:${PORTSDIR}/databases/adodb
+		${ADODB_DIR}/adodb.inc.php:${PORTSDIR}/databases/adodb \
+		${LOCALBASE}/share/pear/Image/Graph.php:${PORTSDIR}/graphics/pear-Image_Graph
 
 USE_PHP=	yes
 USE_REINPLACE=	yes
diff -ruN /usr/ports/security/base/files/pkg-message.in base/files/pkg-message.in
--- /usr/ports/security/base/files/pkg-message.in	Sun Feb 20 16:17:25 2005
+++ base/files/pkg-message.in	Thu Jun 30 01:18:41 2005
@@ -1,8 +1,21 @@
-************************************************************
+========================================================================
+
 Please read the README file located at:
 
 %%DOCSDIR%%/README
 
 for how to configure %%PREFIX%%/www/base/base_conf.php after
 installation.
-************************************************************
+
+
+To make BASE accessible through your web site, you will need to add
+the following to your Apache configuration file:
+
+    Alias /base/ "%%PREFIX%%/www/base"
+
+In order for the graphing functions to work in BASE, make sure you
+include PEAR in your %%LOCALBASE%%/etc/php.ini configuration file, like:
+
+    include_path = ".:%%PREFIX%%/share/pear"
+
+========================================================================
--- base-1.1.3_1.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: flz 
State-Changed-When: Thu Jun 30 17:10:01 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82829 
>Unformatted:
