ports/82829: Update port security/base - add missing dependency

Linh Pham question+fbsdports at closedsrc.org
Thu Jun 30 15:40:12 UTC 2005


>Number:         82829
>Category:       ports
>Synopsis:       Update port security/base - add missing dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 30 15:40:11 GMT 2005
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list