Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2013 01:06:40 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r312947 - head/sysutils/loganalyzer
Message-ID:  <201302260106.r1Q16e5G095796@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Tue Feb 26 01:06:40 2013
New Revision: 312947
URL: http://svnweb.freebsd.org/changeset/ports/312947

Log:
  - update to 3.6.2, and adoption of optionsNG
  - update historical header with new format and email address
  - while here drop phpv4 and deprecated knob of WITHOUT_PHP_DEPENDS
    shift to INSTALL_macros for installations in favor of CP
    shift pre-everything target to where other targets are placed
  
  PR:		176302
  Submitted by:	maintainer, cristianorolim@outlook.com

Modified:
  head/sysutils/loganalyzer/Makefile
  head/sysutils/loganalyzer/distinfo
  head/sysutils/loganalyzer/pkg-plist

Modified: head/sysutils/loganalyzer/Makefile
==============================================================================
--- head/sysutils/loganalyzer/Makefile	Tue Feb 26 01:01:53 2013	(r312946)
+++ head/sysutils/loganalyzer/Makefile	Tue Feb 26 01:06:40 2013	(r312947)
@@ -1,13 +1,8 @@
-# New ports collection Makefile for: sysutils/phplogcon
-# Date created:	        21 December 2008
-# Whom:                 Cristiano Rolim Pereira <cristianorolim@hotmail.com>
-#
+# Created by: Cristiano Rolim Pereira <cristianorolim@outlook.com>
 # $FreeBSD$
-#
 
 PORTNAME=	loganalyzer
-PORTVERSION=	3.4.5
-PORTREVISION=	1
+PORTVERSION=	3.6.2
 CATEGORIES=	sysutils www
 MASTER_SITES=	http://download.adiscon.com/loganalyzer/
 
@@ -18,63 +13,63 @@ NO_BUILD=	YES
 ANALYZERDIR?=	www/loganalyzer
 PLIST_SUB+=	ANALYZERDIR=${ANALYZERDIR}
 
-pre-everything::
-	@${ECHO_CMD} "# you can customize the installation directory"
-	@${ECHO_CMD} "# by setting ANALYZER in /etc/make.conf"
-
-OPTIONS=	PHP_MYSQL "MySQL database support (PHP extension)" Off \
-		PDO_DBLIB "Microsoft SQL Server and Sybase PDO driver" Off \
-		PDO_FIREBIRD "Firebird/Interbase PDO driver" Off \
-		PDO_MYSQL "MySQL Server PDO driver" Off \
-		PDO_ODBC "ODBC and DB2 PDO driver" Off \
-		PDO_PGSQL "PostgreSQL PDO driver" Off \
-		PDO_SQLITE "SQLite PDO driver" Off
+OPTIONS_DEFINE=	PHP_MYSQL PDO_DBLIB PDO_FIREBIRD PDO_MYSQL PDO_ODBC PDO_PGSQL \
+	PDO_SQLITE
+PHP_MYSQL_DESC=		MySQL database support (PHP extension)
+PDO_DBLIB_DESC=		Microsoft SQL Server and Sybase PDO driver
+PDO_FIREBIRD_DESC=	Firebird/Interbase PDO driver
+PDO_MYSQL_DESC=		MySQL Server PDO driver
+PDO_ODBC_DESC=		ODBC and DB2 PDO driver
+PDO_PGSQL_DESC=		PostgreSQL PDO driver
+PDO_SQLITE_DESC=	SQLite PDO driver
 
-.if !defined(WITHOUT_PHP_DEPENDS)
 USE_PHP=	session pdo gd xml zlib
 WANT_PHP_WEB=	YES
-IGNORE_WITH_PHP=4
 DEFAULT_PHP_VER=5
-.endif
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if !defined(WITHOUT_PHP_DEPENDS)
-.if defined(WITH_PHP_MYSQL)
+.if ${PORT_OPTIONS:MPHP_MYSQL}
 USE_PHP+=	mysql
 .endif
 
-.if defined(WITH_PDO_DBLIB)
+.if ${PORT_OPTIONS:MPDO_DBLIB}
 RUN_DEPENDS+=	${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_dblib.so:${PORTSDIR}/databases/php5-pdo_dblib
 .endif
 
-.if defined(WITH_PDO_FIREBIRD)
+.if ${PORT_OPTIONS:MPDO_FIREBIRD}
 RUN_DEPENDS+=	${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_firebird.so:${PORTSDIR}/databases/php5-pdo_firebird
 .endif
 
-.if defined(WITH_PDO_MYSQL)
+.if ${PORT_OPTIONS:MPDO_MYSQL}
 USE_PHP+=	pdo_mysql
 .endif
 
-.if defined(WITH_PDO_ODBC)
+.if ${PORT_OPTIONS:MPDO_ODBC}
 RUN_DEPENDS+=	${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_odbc.so:${PORTSDIR}/databases/php5-pdo_odbc
 .endif
 
-.if defined(WITH_PDO_PGSQL)
+.if ${PORT_OPTIONS:MPDO_PGSQL}
 RUN_DEPENDS+=	${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/php5-pdo_pgsql
 .endif
 
-.if defined(WITH_PDO_SQLITE)
+.if ${PORT_OPTIONS:MPDO_SQLITE}
 USE_PHP+=	pdo_sqlite
 .endif
-.endif
+
+.include <bsd.port.pre.mk>
+
+pre-everything::
+	@${ECHO_CMD} "# you can customize the installation directory"
+	@${ECHO_CMD} "# by setting ANALYZERDIR in /etc/make.conf"
 
 do-install:
 	${MKDIR} ${PREFIX}/${ANALYZERDIR}
-	${CP} -Rp ${WRKSRC}/src/ ${PREFIX}/${ANALYZERDIR}/
+	cd ${WRKSRC}/src/ && ${COPYTREE_SHARE} \* ${PREFIX}/${ANALYZERDIR}/
+	${INSTALL_DATA} ${WRKSRC}/src/.htaccess ${PREFIX}/${ANALYZERDIR}/
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_MAN} ${WRKSRC}/doc/* ${DOCSDIR}
 .endif

Modified: head/sysutils/loganalyzer/distinfo
==============================================================================
--- head/sysutils/loganalyzer/distinfo	Tue Feb 26 01:01:53 2013	(r312946)
+++ head/sysutils/loganalyzer/distinfo	Tue Feb 26 01:06:40 2013	(r312947)
@@ -1,2 +1,2 @@
-SHA256 (loganalyzer-3.4.5.tar.gz) = bfe27f30b17f7f2dbdbd3efb3f668c6ba901e269538b9f394c69411f166e4f13
-SIZE (loganalyzer-3.4.5.tar.gz) = 1003789
+SHA256 (loganalyzer-3.6.2.tar.gz) = 4d29c9ab1928e7a5012acaff7116c6ef1ba1a6f85d76e60b27dce554209da9d0
+SIZE (loganalyzer-3.6.2.tar.gz) = 1043284

Modified: head/sysutils/loganalyzer/pkg-plist
==============================================================================
--- head/sysutils/loganalyzer/pkg-plist	Tue Feb 26 01:01:53 2013	(r312946)
+++ head/sysutils/loganalyzer/pkg-plist	Tue Feb 26 01:06:40 2013	(r312947)
@@ -104,6 +104,7 @@
 %%ANALYZERDIR%%/classes/logstreamconfig.class.php
 %%ANALYZERDIR%%/classes/logstreamconfigdb.class.php
 %%ANALYZERDIR%%/classes/logstreamconfigdisk.class.php
+%%ANALYZERDIR%%/classes/logstreamconfigmongodb.class.php
 %%ANALYZERDIR%%/classes/logstreamconfigpdo.class.php
 %%ANALYZERDIR%%/classes/logstreamdb.class.php
 %%ANALYZERDIR%%/classes/logstreamdisk.class.php
@@ -112,6 +113,7 @@
 %%ANALYZERDIR%%/classes/logstreamlineparsersyslog.class.php
 %%ANALYZERDIR%%/classes/logstreamlineparsersyslog23.class.php
 %%ANALYZERDIR%%/classes/logstreamlineparserwinsyslog.class.php
+%%ANALYZERDIR%%/classes/logstreammongodb.class.php
 %%ANALYZERDIR%%/classes/logstreampdo.class.php
 %%ANALYZERDIR%%/classes/msgparser.class.php
 %%ANALYZERDIR%%/classes/msgparsers/msgparser.apache2.class.php
@@ -119,6 +121,11 @@
 %%ANALYZERDIR%%/classes/msgparsers/msgparser.eventlog.class.php
 %%ANALYZERDIR%%/classes/msgparsers/msgparser.iis.class.php
 %%ANALYZERDIR%%/classes/reports/report.class.php
+%%ANALYZERDIR%%/classes/reports/report.eventlog.auditsummary.class.php
+%%ANALYZERDIR%%/classes/reports/report.eventlog.auditsummary/report.eventlog.auditsummary.css
+%%ANALYZERDIR%%/classes/reports/report.eventlog.auditsummary/report.eventlog.auditsummary.lang.en.php
+%%ANALYZERDIR%%/classes/reports/report.eventlog.auditsummary/report.eventlog.auditsummary.template.html
+%%ANALYZERDIR%%/classes/reports/report.eventlog.auditsummary/report.eventlog.auditsummary.template.pdf
 %%ANALYZERDIR%%/classes/reports/report.eventlog.eventsummary.class.php
 %%ANALYZERDIR%%/classes/reports/report.eventlog.eventsummary/report.eventlog.eventsummary.css
 %%ANALYZERDIR%%/classes/reports/report.eventlog.eventsummary/report.eventlog.eventsummary.lang.en.php
@@ -242,6 +249,7 @@
 %%ANALYZERDIR%%/images/icons/media_rewind.png
 %%ANALYZERDIR%%/images/icons/media_step_back.png
 %%ANALYZERDIR%%/images/icons/media_step_forward.png
+%%ANALYZERDIR%%/images/icons/mongodb.png
 %%ANALYZERDIR%%/images/icons/nav_down_blue.png
 %%ANALYZERDIR%%/images/icons/nav_up_blue.png
 %%ANALYZERDIR%%/images/icons/navigate_check.png
@@ -393,6 +401,7 @@
 @dirrm %%ANALYZERDIR%%/classes/reports/report.syslog.syslogsummary
 @dirrm %%ANALYZERDIR%%/classes/reports/report.eventlog.logonlogoff
 @dirrm %%ANALYZERDIR%%/classes/reports/report.eventlog.eventsummary
+@dirrm %%ANALYZERDIR%%/classes/reports/report.eventlog.auditsummary
 @dirrm %%ANALYZERDIR%%/classes/reports
 @dirrm %%ANALYZERDIR%%/classes/msgparsers
 @dirrm %%ANALYZERDIR%%/classes/jpgraph/lang



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