summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2003-12-17 19:58:13 +0000
committerjdolecek <jdolecek@pkgsrc.org>2003-12-17 19:58:13 +0000
commit7abced0a17e4f1ce95a6ab89acc27352e256a206 (patch)
tree57a8df72df5d70e994e9664456f696fb66a6f21a /sysutils
parentfbd15f795defb88c0b66990d37f53e3b9c0d6cb0 (diff)
downloadpkgsrc-7abced0a17e4f1ce95a6ab89acc27352e256a206.tar.gz
update pear-Log to (most recent) 1.8.1. Changes since 1.7.0:
1.8.1: * Fixed some bugs in the 'win' handler. * Updated the Log_observer::factory() method for consistency with Log::factory(). 1.8.0: * The Log package now includes a users guide, example scripts and unit tests. * A number of small improvements have been made to the 'win' log handler (based on suggestions from Paul Yanchenko). * A new 'display' log handler has been added to the distribution. Contributed by Paul Yanchenko, this handler simply prints the error message back to the browser. It respects the 'error_prepend_string' and 'error_append_string' PHP INI values and is useful when using PEAR::setErrorHandling()'s PEAR_ERROR_CALLBACK mechanism. 1.7.1: * The mail handler now uses "\n" to terminate lines instead of "\r\n". * The file handler's path creation routines now guard against potentially infinite recursion. * It is now possible to pass an object to the logging methods. If the object offers a PEAR_Error-style getMessage() or PHP5 exception-style toString() method, it will be used to extract the message text. Documentation and the guide are installed in ${LOCALBASE}/share/doc/pear-Log.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/pear-Log/DESCR4
-rw-r--r--sysutils/pear-Log/Makefile17
-rw-r--r--sysutils/pear-Log/PLIST17
-rw-r--r--sysutils/pear-Log/distinfo6
4 files changed, 36 insertions, 8 deletions
diff --git a/sysutils/pear-Log/DESCR b/sysutils/pear-Log/DESCR
index 3fcd6aeaf39..f263dabb44c 100644
--- a/sysutils/pear-Log/DESCR
+++ b/sysutils/pear-Log/DESCR
@@ -1,3 +1,3 @@
The Log framework provides an abstracted logging system for PHP. It supports
-logging to console, file, syslog, SQL, mail, and mcal targets. It also
-provides a subject - observer mechanism.
+logging to console, display, file, syslog, SQL, mail, and mcal targets.
+It also provides a subject - observer mechanism.
diff --git a/sysutils/pear-Log/Makefile b/sysutils/pear-Log/Makefile
index 8d52c852bcc..fc3ae8e31e6 100644
--- a/sysutils/pear-Log/Makefile
+++ b/sysutils/pear-Log/Makefile
@@ -1,11 +1,24 @@
-# $NetBSD: Makefile,v 1.1.1.1 2003/12/17 19:27:29 jdolecek Exp $
+# $NetBSD: Makefile,v 1.2 2003/12/17 19:58:13 jdolecek Exp $
-DISTNAME= Log-1.7.0
+DISTNAME= Log-1.8.1
CATEGORIES= sysutils
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.csh.rit.edu/~jon/projects/pear_log/
COMMENT= PHP Log framework provides an abstracted logging system
+DOCDIR= ${LOCALBASE}/share/doc/pear-Log
+MESSAGE_SUBST+= DOCDIR=${DOCDIR}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DOCDIR}/examples
+ ${INSTALL_DATA} ${WRKSRC}/docs/guide.txt ${DOCDIR}/guide.txt
+ (cd ${WRKSRC}/docs/examples; \
+ for file in *.php; do \
+ ${INSTALL_DATA} $$file ${DOCDIR}/examples/$$file; \
+ done; \
+ )
+
.include "../../www/php4/pear.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/pear-Log/PLIST b/sysutils/pear-Log/PLIST
index 828de102630..da7a5b9ec02 100644
--- a/sysutils/pear-Log/PLIST
+++ b/sysutils/pear-Log/PLIST
@@ -1 +1,16 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/17 19:27:29 jdolecek Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/12/17 19:58:13 jdolecek Exp $
+share/doc/pear-Log/guide.txt
+share/doc/pear-Log/examples/composite.php
+share/doc/pear-Log/examples/console.php
+share/doc/pear-Log/examples/display.php
+share/doc/pear-Log/examples/error_log.php
+share/doc/pear-Log/examples/file.php
+share/doc/pear-Log/examples/mail.php
+share/doc/pear-Log/examples/observer_mail.php
+share/doc/pear-Log/examples/pear_error_handler.php
+share/doc/pear-Log/examples/php_error_handler.php
+share/doc/pear-Log/examples/sql.php
+share/doc/pear-Log/examples/syslog.php
+share/doc/pear-Log/examples/win.php
+@dirrm share/doc/pear-Log/examples
+@dirrm share/doc/pear-Log
diff --git a/sysutils/pear-Log/distinfo b/sysutils/pear-Log/distinfo
index b3a04189cad..cc8eeca3ed7 100644
--- a/sysutils/pear-Log/distinfo
+++ b/sysutils/pear-Log/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/12/17 19:27:29 jdolecek Exp $
+$NetBSD: distinfo,v 1.2 2003/12/17 19:58:13 jdolecek Exp $
-SHA1 (Log-1.7.0.tgz) = 012b23b013a435cd6581161a30f46178e32841bd
-Size (Log-1.7.0.tgz) = 14384 bytes
+SHA1 (Log-1.8.1.tgz) = 44a9a02fc923983d58a6eb6ffaee12be50fb7748
+Size (Log-1.8.1.tgz) = 24960 bytes