pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-log4r Initial import of ruby18-log4r-1.0.5 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5cf3248c72d1
branches:  trunk
changeset: 540478:5cf3248c72d1
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Apr 04 15:17:37 2008 +0000

description:
Initial import of ruby18-log4r-1.0.5 as devel/ruby-log4r.

Log4r is a comprehensive and flexible logging library written in Ruby
for use in Ruby programs.  It features a hierarchical logging system of
any number of levels, custom level names, logger inheritance, multiple
output destinations, execution tracing, custom formatting, thread
safteyness, XML and YAML configuration, and more.

Log4r is an adherent to the philosophy of logging using simple print
statements.  What Log4r adds to this philosophy is a flexible way of
controling the information being logged.  Log information can be sent
to any kind of destination and with varying degrees of importance.
Log4r is designed so that logging statements can remain in production
code with almost no extra computational cost.

diffstat:

 devel/ruby-log4r/DESCR            |  12 ++++++
 devel/ruby-log4r/Makefile         |  26 +++++++++++++
 devel/ruby-log4r/PLIST            |  75 +++++++++++++++++++++++++++++++++++++++
 devel/ruby-log4r/distinfo         |   6 +++
 devel/ruby-log4r/patches/patch-aa |  20 ++++++++++
 5 files changed, 139 insertions(+), 0 deletions(-)

diffs (159 lines):

diff -r 1b1d6a134278 -r 5cf3248c72d1 devel/ruby-log4r/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-log4r/DESCR    Fri Apr 04 15:17:37 2008 +0000
@@ -0,0 +1,12 @@
+Log4r is a comprehensive and flexible logging library written in Ruby
+for use in Ruby programs.  It features a hierarchical logging system of
+any number of levels, custom level names, logger inheritance, multiple
+output destinations, execution tracing, custom formatting, thread
+safteyness, XML and YAML configuration, and more.
+
+Log4r is an adherent to the philosophy of logging using simple print
+statements.  What Log4r adds to this philosophy is a flexible way of
+controling the information being logged.  Log information can be sent
+to any kind of destination and with varying degrees of importance.
+Log4r is designed so that logging statements can remain in production
+code with almost no extra computational cost.
diff -r 1b1d6a134278 -r 5cf3248c72d1 devel/ruby-log4r/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-log4r/Makefile Fri Apr 04 15:17:37 2008 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:17:37 jlam Exp $
+
+DISTNAME=      log4r-1.0.5
+PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel
+
+HOMEPAGE=      http://log4r.sourceforge.net/
+COMMENT=       Flexible logging library
+
+GEM_BUILD=     gemspec
+
+# The log4r gem installs the RDoc files under ${GEM_LIBDIR}/doc instead of
+# ${GEM_DOCDIR}, so we need to generate the dynamic PLIST entries for
+# those files.
+#
+GENERATE_PLIST+=       \
+       ${ECHO} "@comment The following lines are automatically generated." && \
+       ( cd ${DESTDIR}${PREFIX} && \
+         ${FIND} ${GEM_LIBDIR:S|${PREFIX}/||}/doc \! -type d -print | \
+               ${SORT} && \
+         ${FIND} ${GEM_LIBDIR:S|${PREFIX}/||}/doc -type d -print | \
+               ${SORT} -r | ${SED} -e "s,^,@dirrm ," && \
+         ${ECHO} "@dirrm "${GEM_LIBDIR:S|${PREFIX}/||:Q} );
+
+.include "../../misc/rubygems/rubygem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1b1d6a134278 -r 5cf3248c72d1 devel/ruby-log4r/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-log4r/PLIST    Fri Apr 04 15:17:37 2008 +0000
@@ -0,0 +1,75 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/04 15:17:37 jlam Exp $
+${GEM_HOME}/cache/log4r-${PKGVERSION}.gem
+${GEM_LIBDIR}/.require_paths
+${GEM_LIBDIR}/examples/README
+${GEM_LIBDIR}/examples/customlevels.rb
+${GEM_LIBDIR}/examples/fileroll.rb
+${GEM_LIBDIR}/examples/log4r_yaml.yaml
+${GEM_LIBDIR}/examples/logclient.rb
+${GEM_LIBDIR}/examples/logserver.rb
+${GEM_LIBDIR}/examples/moderate.xml
+${GEM_LIBDIR}/examples/moderateconfig.rb
+${GEM_LIBDIR}/examples/myformatter.rb
+${GEM_LIBDIR}/examples/outofthebox.rb
+${GEM_LIBDIR}/examples/rrconfig.xml
+${GEM_LIBDIR}/examples/rrsetup.rb
+${GEM_LIBDIR}/examples/simpleconfig.rb
+${GEM_LIBDIR}/examples/xmlconfig.rb
+${GEM_LIBDIR}/examples/yaml.rb
+${GEM_LIBDIR}/src/log4r.rb
+${GEM_LIBDIR}/src/log4r/base.rb
+${GEM_LIBDIR}/src/log4r/config.rb
+${GEM_LIBDIR}/src/log4r/configurator.rb
+${GEM_LIBDIR}/src/log4r/formatter/formatter.rb
+${GEM_LIBDIR}/src/log4r/formatter/patternformatter.rb
+${GEM_LIBDIR}/src/log4r/lib/drbloader.rb
+${GEM_LIBDIR}/src/log4r/lib/xmlloader.rb
+${GEM_LIBDIR}/src/log4r/logevent.rb
+${GEM_LIBDIR}/src/log4r/logger.rb
+${GEM_LIBDIR}/src/log4r/loggerfactory.rb
+${GEM_LIBDIR}/src/log4r/logserver.rb
+${GEM_LIBDIR}/src/log4r/outputter/consoleoutputters.rb
+${GEM_LIBDIR}/src/log4r/outputter/datefileoutputter.rb
+${GEM_LIBDIR}/src/log4r/outputter/emailoutputter.rb
+${GEM_LIBDIR}/src/log4r/outputter/fileoutputter.rb
+${GEM_LIBDIR}/src/log4r/outputter/iooutputter.rb
+${GEM_LIBDIR}/src/log4r/outputter/outputter.rb
+${GEM_LIBDIR}/src/log4r/outputter/outputterfactory.rb
+${GEM_LIBDIR}/src/log4r/outputter/remoteoutputter.rb
+${GEM_LIBDIR}/src/log4r/outputter/rollingfileoutputter.rb
+${GEM_LIBDIR}/src/log4r/outputter/staticoutputter.rb
+${GEM_LIBDIR}/src/log4r/outputter/syslogoutputter.rb
+${GEM_LIBDIR}/src/log4r/rdoc/configurator
+${GEM_LIBDIR}/src/log4r/rdoc/emailoutputter
+${GEM_LIBDIR}/src/log4r/rdoc/formatter
+${GEM_LIBDIR}/src/log4r/rdoc/log4r
+${GEM_LIBDIR}/src/log4r/rdoc/logger
+${GEM_LIBDIR}/src/log4r/rdoc/logserver
+${GEM_LIBDIR}/src/log4r/rdoc/outputter
+${GEM_LIBDIR}/src/log4r/rdoc/patternformatter
+${GEM_LIBDIR}/src/log4r/rdoc/syslogoutputter
+${GEM_LIBDIR}/src/log4r/rdoc/yamlconfigurator
+${GEM_LIBDIR}/src/log4r/repository.rb
+${GEM_LIBDIR}/src/log4r/staticlogger.rb
+${GEM_LIBDIR}/src/log4r/yamlconfigurator.rb
+${GEM_LIBDIR}/tests/include.rb
+${GEM_LIBDIR}/tests/runtest.rb
+${GEM_LIBDIR}/tests/testbase.rb
+${GEM_LIBDIR}/tests/testcustom.rb
+${GEM_LIBDIR}/tests/testdefault.rb
+${GEM_LIBDIR}/tests/testformatter.rb
+${GEM_LIBDIR}/tests/testlogger.rb
+${GEM_LIBDIR}/tests/testoutputter.rb
+${GEM_LIBDIR}/tests/testpatternformatter.rb
+${GEM_LIBDIR}/tests/testxmlconf.rb
+${GEM_LIBDIR}/tests/xml/testconf.xml
+${GEM_HOME}/specifications/log4r-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/tests/xml
+@dirrm ${GEM_LIBDIR}/tests
+@dirrm ${GEM_LIBDIR}/src/log4r/rdoc
+@dirrm ${GEM_LIBDIR}/src/log4r/outputter
+@dirrm ${GEM_LIBDIR}/src/log4r/lib
+@dirrm ${GEM_LIBDIR}/src/log4r/formatter
+@dirrm ${GEM_LIBDIR}/src/log4r
+@dirrm ${GEM_LIBDIR}/src
+@dirrm ${GEM_LIBDIR}/examples
diff -r 1b1d6a134278 -r 5cf3248c72d1 devel/ruby-log4r/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-log4r/distinfo Fri Apr 04 15:17:37 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:17:37 jlam Exp $
+
+SHA1 (log4r-1.0.5.gem) = 4e85852ce03c7526ddf194b023b353d1784e0b48
+RMD160 (log4r-1.0.5.gem) = b5ea60108198bb88a24e5dc6c40d6df3447c178b
+Size (log4r-1.0.5.gem) = 311215 bytes
+SHA1 (patch-aa) = 88e9e7c0aea687ae844f263270984ca7dd8f2e4d
diff -r 1b1d6a134278 -r 5cf3248c72d1 devel/ruby-log4r/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-log4r/patches/patch-aa Fri Apr 04 15:17:37 2008 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/04/04 15:17:37 jlam Exp $
+
+--- ../log4r-1.0.5.gemspec.orig        2008-03-30 11:43:58.000000000 -0400
++++ ../log4r-1.0.5.gemspec
+@@ -178,7 +178,6 @@ files: 
+ - doc/images/crush/logo2.png
+ - examples/fileroll.rb
+ - examples/README
+-- examples/logs
+ - examples/customlevels.rb
+ - examples/log4r_yaml.yaml
+ - examples/logclient.rb
+@@ -233,7 +232,6 @@ files: 
+ - src/log4r/rdoc/patternformatter
+ - src/log4r/rdoc/syslogoutputter
+ - src/log4r/rdoc/yamlconfigurator
+-- tests/junk
+ - tests/xml
+ - tests/include.rb
+ - tests/runtest.rb



Home | Main Index | Thread Index | Old Index