ports/130673: [patch] - update sysutils/phplogcon

Cristiano Rolim Pereira cristianorolim at hotmail.com
Sun Jan 18 03:00:15 UTC 2009


>Number:         130673
>Category:       ports
>Synopsis:       [patch] - update sysutils/phplogcon
>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:   Sun Jan 18 03:00:08 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Cristiano Rolim Pereira
>Release:        7.1-RELEASE
>Organization:
>Environment:
FreeBSD bsd64.local 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 08:58:24 UTC 2009     root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
-Added necessary PHP dependencies:
    session
    gd
    xml
    pdo

-Added PHP version check
-Included pkg-message
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN ../phplogcon.ori/Makefile ./Makefile
--- ../phplogcon.ori/Makefile	2008-12-28 09:42:28.000000000 -0200
+++ ./Makefile	2009-01-17 18:41:54.000000000 -0200
@@ -7,6 +7,7 @@
 
 PORTNAME=	phplogcon
 PORTVERSION=	2.5.23
+PORTREVISION=	1
 CATEGORIES=	sysutils www
 MASTER_SITES=	http://download.adiscon.com/phplogcon/
 
@@ -14,8 +15,10 @@
 COMMENT=	Web Based Syslog Review
 
 .if !defined(WITHOUT_PHP_DEPENDS)
-USE_PHP=	YES
+USE_PHP=	session pdo gd xml
 WANT_PHP_WEB=	YES
+IGNORE_WITH_PHP=4
+DEFAULT_PHP_VER=5
 .endif
 NO_BUILD=	YES
 LOGCONDIR?=	www/phplogcon
@@ -41,4 +44,6 @@
 	${INSTALL_SCRIPT} ${WRKSRC}/contrib/* ${DATADIR}
 .endif
 
+	@${CAT} ${PKGMESSAGE}
+
 .include <bsd.port.post.mk>
diff -ruN ../phplogcon.ori/pkg-message ./pkg-message
--- ../phplogcon.ori/pkg-message	1969-12-31 21:00:00.000000000 -0300
+++ ./pkg-message	2009-01-17 18:35:43.000000000 -0200
@@ -0,0 +1,17 @@
+==========================================================================
+Additional notes:
+
+1. If you want access MySQL databases with built in php functions, install
+the port:
+	databases/php5-mysql
+
+2. If you want access some database via PDO, consider installing one of
+the following ports:
+	databases/php5-pdo_dblib
+	databases/php5-pdo_firebird
+	databases/php5-pdo_mysql
+	databases/php5-pdo_oci
+	databases/php5-pdo_odbc
+	databases/php5-pdo_pgsql
+	databases/php5-pdo_sqlite
+==========================================================================


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



More information about the freebsd-ports-bugs mailing list