pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc update pear-Log to (most recent) 1.8.1. Changes since ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9160abbbb528
branches:  trunk
changeset: 464916:9160abbbb528
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Wed Dec 17 19:58:13 2003 +0000

description:
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:

 doc/CHANGES                |   3 ++-
 sysutils/pear-Log/DESCR    |   4 ++--
 sysutils/pear-Log/Makefile |  17 +++++++++++++++--
 sysutils/pear-Log/PLIST    |  17 ++++++++++++++++-
 sysutils/pear-Log/distinfo |   6 +++---
 5 files changed, 38 insertions(+), 9 deletions(-)

diffs (85 lines):

diff -r c62d36c7e709 -r 9160abbbb528 doc/CHANGES
--- a/doc/CHANGES       Wed Dec 17 19:27:29 2003 +0000
+++ b/doc/CHANGES       Wed Dec 17 19:58:13 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.4165 2003/12/17 19:30:12 jdolecek Exp $
+$NetBSD: CHANGES,v 1.4166 2003/12/17 19:58:13 jdolecek Exp $
 
 Changes to the packages collection and infrastructure in 2003:
 
@@ -5216,3 +5216,4 @@
        Added pear-HTML_Common-1.2.1 [jdolecek 2003-12-17]
        Added pear-HTML_Select-1.2 [jdolecek 2003-12-17]
        Added pear-Log-1.7.0 [jdolecek 2003-12-17]
+       Updated pear-Log to 1.8.1 [jdolecek 2003-12-17]
diff -r c62d36c7e709 -r 9160abbbb528 sysutils/pear-Log/DESCR
--- a/sysutils/pear-Log/DESCR   Wed Dec 17 19:27:29 2003 +0000
+++ b/sysutils/pear-Log/DESCR   Wed Dec 17 19:58:13 2003 +0000
@@ -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 -r c62d36c7e709 -r 9160abbbb528 sysutils/pear-Log/Makefile
--- a/sysutils/pear-Log/Makefile        Wed Dec 17 19:27:29 2003 +0000
+++ b/sysutils/pear-Log/Makefile        Wed Dec 17 19:58:13 2003 +0000
@@ -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@localhost
 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 -r c62d36c7e709 -r 9160abbbb528 sysutils/pear-Log/PLIST
--- a/sysutils/pear-Log/PLIST   Wed Dec 17 19:27:29 2003 +0000
+++ b/sysutils/pear-Log/PLIST   Wed Dec 17 19:58:13 2003 +0000
@@ -1,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 -r c62d36c7e709 -r 9160abbbb528 sysutils/pear-Log/distinfo
--- a/sysutils/pear-Log/distinfo        Wed Dec 17 19:27:29 2003 +0000
+++ b/sysutils/pear-Log/distinfo        Wed Dec 17 19:58:13 2003 +0000
@@ -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



Home | Main Index | Thread Index | Old Index