diff options
author | jgh <jgh@FreeBSD.org> | 2013-02-26 09:06:40 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2013-02-26 09:06:40 +0800 |
commit | ca41a165b3280ae42353ae62af7d1f40adc48dea (patch) | |
tree | 6dc03737c4c282704c72b0e4798d039ccc579d42 /sysutils/loganalyzer | |
parent | b716ac60088a72597d7ae920e6992532d4e9db69 (diff) | |
download | freebsd-ports-gnome-ca41a165b3280ae42353ae62af7d1f40adc48dea.tar.gz freebsd-ports-gnome-ca41a165b3280ae42353ae62af7d1f40adc48dea.tar.zst freebsd-ports-gnome-ca41a165b3280ae42353ae62af7d1f40adc48dea.zip |
- 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
Diffstat (limited to 'sysutils/loganalyzer')
-rw-r--r-- | sysutils/loganalyzer/Makefile | 61 | ||||
-rw-r--r-- | sysutils/loganalyzer/distinfo | 4 | ||||
-rw-r--r-- | sysutils/loganalyzer/pkg-plist | 9 |
3 files changed, 39 insertions, 35 deletions
diff --git a/sysutils/loganalyzer/Makefile b/sysutils/loganalyzer/Makefile index cf9266f0a804..5dca610d876f 100644 --- a/sysutils/loganalyzer/Makefile +++ b/sysutils/loganalyzer/Makefile @@ -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 diff --git a/sysutils/loganalyzer/distinfo b/sysutils/loganalyzer/distinfo index d54354119946..8efd0ebeda97 100644 --- a/sysutils/loganalyzer/distinfo +++ b/sysutils/loganalyzer/distinfo @@ -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 diff --git a/sysutils/loganalyzer/pkg-plist b/sysutils/loganalyzer/pkg-plist index 14cc5be9fdc4..83dcd196bf5c 100644 --- a/sysutils/loganalyzer/pkg-plist +++ b/sysutils/loganalyzer/pkg-plist @@ -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 |