debian/0000755000000000000000000000000012226611076007171 5ustar debian/control0000644000000000000000000000236612226607535010610 0ustar Source: node-log4js Section: web Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: Mike Gabriel , Build-Depends: debhelper (>= 8.0.0), dh-buildinfo, nodejs, Standards-Version: 3.9.4 Homepage: https://github.com/nomiddlename/log4js-node Vcs-Git: git://anonscm.debian.org/collab-maint/node-log4js.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/node-log4js.git Package: node-log4js Architecture: all Depends: ${misc:Depends}, nodejs (>= 0.10.0), node-async (>= 0.1.15), Description: Conversion of the log4js framework to work with Node.js Logging support for Node.js based on the log4js Javascript (browser/client) framework. . Supported features: . - coloured console logging - replacement of node's console.log functions (optional) - file appender, with log rolling based on file size - SMTP appender - GELF appender - hook.io appender - multiprocess appender (useful when you've got worker processes) - a logger for connect/express servers - configurable log message layout/patterns - different log levels for different log categories (make some parts of your app log as DEBUG, others only ERRORS, etc.) debian/rules0000755000000000000000000000041612211221205010233 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_install: dh_install # no executables in /usr/lib/nodejs/log4js/ find debian/node-log4js/usr/lib/nodejs/log4js/ -type f -exec chmod a-x {} \; debian/links0000644000000000000000000000020312143545542010231 0ustar usr/lib/nodejs/log4js/log4js.js usr/lib/nodejs/log4js/index.js usr/lib/nodejs/log4js usr/share/doc/node-log4js/examples/lib/log4js debian/install0000644000000000000000000000003612143533155010560 0ustar lib/* usr/lib/nodejs/log4js/ debian/compat0000644000000000000000000000000212142142326010361 0ustar 8 debian/patches/0000755000000000000000000000000012226606741010623 5ustar debian/patches/series0000644000000000000000000000007512226606741012042 0ustar 001_debian-log4js-examples.patch 002_remove_semver_dep.patch debian/patches/002_remove_semver_dep.patch0000644000000000000000000000335012226606741015734 0ustar Description: remove code using semver, unneeded for nodejs >= 0.10.x Forwarded: not-needed Author: Jérémy Lal Last-Update: 2013-10-13 --- a/lib/streams/BaseRollingFileStream.js +++ b/lib/streams/BaseRollingFileStream.js @@ -2,14 +2,9 @@ var fs = require('fs') , stream , debug = require('../debug')('BaseRollingFileStream') -, util = require('util') -, semver = require('semver'); +, util = require('util'); -if (semver.satisfies(process.version, '>=0.10.0')) { - stream = require('stream'); -} else { - stream = require('readable-stream'); -} +stream = require('stream'); module.exports = BaseRollingFileStream; --- a/test/streams/DateRollingFileStream-test.js +++ b/test/streams/DateRollingFileStream-test.js @@ -2,16 +2,12 @@ var vows = require('vows') , assert = require('assert') , fs = require('fs') -, semver = require('semver') , streams , DateRollingFileStream , testTime = new Date(2012, 8, 12, 10, 37, 11); -if (semver.satisfies(process.version, '>=0.10.0')) { - streams = require('stream'); -} else { - streams = require('readable-stream'); -} +streams = require('stream'); + DateRollingFileStream = require('../../lib/streams').DateRollingFileStream; function cleanUp(filename) { --- a/test/streams/rollingFileStream-test.js +++ b/test/streams/rollingFileStream-test.js @@ -4,15 +4,11 @@ , assert = require('assert') , events = require('events') , fs = require('fs') -, semver = require('semver') , streams , RollingFileStream; -if (semver.satisfies(process.version, '>=0.10.0')) { - streams = require('stream'); -} else { - streams = require('readable-stream'); -} +streams = require('stream'); + RollingFileStream = require('../../lib/streams').RollingFileStream; function remove(filename) { debian/patches/001_debian-log4js-examples.patch0000644000000000000000000000107612143547125016464 0ustar Description: Adapt module import in example files to Debian package Author: Mike Gabriel --- a/examples/example.js +++ b/examples/example.js @@ -1,4 +1,4 @@ -var log4js = require('../lib/log4js'); +var log4js = require('./lib/log4js'); //log the cheese logger messages to a file, and the console ones as well. log4js.configure({ appenders: [ --- a/examples/log-rolling.js +++ b/examples/log-rolling.js @@ -1,4 +1,4 @@ -var log4js = require('../lib/log4js') +var log4js = require('./lib/log4js') , log , i = 0; log4js.configure({ debian/copyright0000644000000000000000000000233312211220743011114 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: log4js-node Upstream-Contact: Gareth Jones Source: https://github.com/nomiddlename/log4js-node Files: * Copyright: 2010-2013, Gareth Jones 2005-2010, Stephan Strittmatter - http://jroller.com/page/stritti 2005-2010, Seth Chisamore - http://www.chisamore.com 2005-2010, Jan Schmidle License: Apache-2.0 Files: debian/* Copyright: 2013, Mike Gabriel License: Apache-2.0 License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian systems, the full text of the Apache-2.0 License can be found in the file `/usr/share/common-licenses/Apache-2.0'. debian/docs0000644000000000000000000000003412150371247010040 0ustar README.md package.json test debian/watch0000644000000000000000000000024312143515561010221 0ustar version=3 opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-log4js-$1.tar.gz/ \ https://github.com/nomiddlename/log4js-node/tags .*/archive/v?([\d\.]+).tar.gz debian/examples0000644000000000000000000000001212143526646010731 0ustar examples/*debian/source/0000755000000000000000000000000012142142326010463 5ustar debian/source/format0000644000000000000000000000001412142142326011671 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000213412226611076011043 0ustar node-log4js (0.6.9-1) unstable; urgency=low * New upstream release. * Add patch: 002_remove_semver_dep.patch. Avoid dependency on node-semver. * /debian/control: + Drop node-semver from Depends: field. (Closes: #722902). + Drop node-dequeue from Depends: field. Removed from dependency list (package.json) since this upstream release. + Add nodejs to Build-Depends: field. -- Mike Gabriel Sun, 13 Oct 2013 23:35:55 +0200 node-log4js (0.6.8-1) unstable; urgency=low * New upstream release. * /debian/docs: + Install package.json into doc folder. * /debian/control: + Canonicalize Vcs-*: fields (Alioth Git). * /debian/copyright: + Use short version of Apache-2.0 and refer to common-licenses. * /debian/rules: + Make sure there are no executable files in /usr/lib/nodejs/log4js. -- Mike Gabriel Tue, 03 Sep 2013 01:47:34 +0200 node-log4js (0.6.4-1~exp1) experimental; urgency=low * Initial release. (Closes: #707883). -- Mike Gabriel Sat, 25 May 2013 15:16:00 +0200