ports/79515: Update port: security/base to 1.1

Linh Pham question+fbsdports at closedsrc.org
Mon Apr 4 04:40:05 UTC 2005


>Number:         79515
>Category:       ports
>Synopsis:       Update port: security/base to 1.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 04 04:40:04 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Linh Pham
>Release:        FreeBSD 5.3-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD q.internal.closedsrc.org 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #5: Sat Jan 8 23:34:57 PST 2005 question at q.internal.closedsrc.org:/usr/obj/usr/src/sys/Q i386
>Description:
Update port to 1.1, which no longer requires graphics/jpgraph as a dependency.

Updated pkg-plist to not remove ${PREFIX}/www/base if there is anything left
(say base_conf.php). The base 1.1 source tarball includes a modified
base_conf.php which shouldn't be installed.

Hope everything looks good.
>How-To-Repeat:
>Fix:

--- base-1.1.diff begins here ---
diff -ruN /usr/ports/security/base/Makefile base/Makefile
--- /usr/ports/security/base/Makefile	Sun Feb 20 16:17:25 2005
+++ base/Makefile	Sun Apr  3 21:31:07 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	base
-PORTVERSION=	1.0.2
+PORTVERSION=	1.1
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	secureideas
@@ -15,25 +15,23 @@
 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 \
-		${JPGRAPH_DIR}/jpgraph.php:${PORTSDIR}/graphics/jpgraph
+		${ADODB_DIR}/adodb.inc.php:${PORTSDIR}/databases/adodb
 
 USE_PHP=	yes
 USE_REINPLACE=	yes
 
 ADODB_DIR=	${LOCALBASE}/share/adodb
-JPGRAPH_DIR=	${LOCALBASE}/share/jpgraph
 
 SUB_FILES=	pkg-message
 DOCS=		docs/CHANGELOG docs/CREDITS docs/README docs/TODO docs/UPGRADE
 
 do-build:
 	@${REINPLACE_CMD} -e 's,DBlib_path = "",DBlib_path = "${ADODB_DIR}",' \
-		-e 's,ChartLib_path = "",ChartLib_path = "${JPGRAPH_DIR}",' \
 		${WRKSRC}/base_conf.php.dist
 
 do-install:
 	@${MKDIR} ${PREFIX}/www/base/includes/templates/default
+	@${RM} ${WRKSRC}/base_conf.php
 	${INSTALL_DATA} ${WRKSRC}/*.php ${WRKSRC}/*.dist ${PREFIX}/www/base
 .for dir in admin help includes languages setup
 	@${MKDIR} ${PREFIX}/www/base/${dir}
diff -ruN /usr/ports/security/base/distinfo base/distinfo
--- /usr/ports/security/base/distinfo	Sun Feb 20 16:17:25 2005
+++ base/distinfo	Sun Apr  3 19:30:56 2005
@@ -1,2 +1,2 @@
-MD5 (base-1.0.2.tar.gz) = 579378300f88d3076d645f26c30b7ec4
-SIZE (base-1.0.2.tar.gz) = 265051
+MD5 (base-1.1.tar.gz) = 38a5e02337103754de743fbaaa1bfdae
+SIZE (base-1.1.tar.gz) = 277864
diff -ruN /usr/ports/security/base/pkg-plist base/pkg-plist
--- /usr/ports/security/base/pkg-plist	Sun Feb 20 16:17:25 2005
+++ base/pkg-plist	Sun Apr  3 20:55:19 2005
@@ -99,6 +99,7 @@
 www/base/sql/create_base_tbls_mssql.sql
 www/base/sql/create_base_tbls_mssql_extra.sql
 www/base/sql/create_base_tbls_mysql.sql
+www/base/sql/create_base_tbls_oracle.sql
 www/base/sql/create_base_tbls_pgsql.sql
 www/base/sql/create_base_tbls_pgsql_extra.sql
 www/base/sql/upgrade_0.9.x_to_1.0-mysql.sql
@@ -113,4 +114,4 @@
 @dirrm www/base/images
 @dirrm www/base/help
 @dirrm www/base/admin
- at dirrm www/base
+ at unexec rmdir %D/www/base 2>/dev/null || true
--- base-1.1.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list