[DRE-commits] [ruby-syslog-logger] 01/01: Imported Debian patch 1.6.8-1

Lucas Kanashiro kanashiro.duarte at gmail.com
Thu Mar 31 19:19:25 UTC 2016


This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository ruby-syslog-logger.

commit c2b8b86300067049c7a127adea3caeb1c7ee4905
Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
Date:   Thu Mar 31 13:56:39 2016 -0300

    Imported Debian patch 1.6.8-1
---
 debian/changelog                               |  5 ++++
 debian/compat                                  |  1 +
 debian/control                                 | 29 ++++++++++++++++++++
 debian/copyright                               | 37 ++++++++++++++++++++++++++
 debian/patches/fix-encoding-of-test-file.patch | 14 ++++++++++
 debian/patches/series                          |  1 +
 debian/ruby-syslog-logger.docs                 |  1 +
 debian/ruby-tests.rake                         |  6 +++++
 debian/rules                                   |  6 +++++
 debian/source/format                           |  1 +
 debian/watch                                   |  2 ++
 11 files changed, 103 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6a567ed
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ruby-syslog-logger (1.6.8-1) unstable; urgency=medium
+
+  * Initial release (Closes: #819580)
+
+ -- Lucas Kanashiro <kanashiro.duarte at gmail.com>  Thu, 31 Mar 2016 16:10:06 -0300
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b7b411a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: ruby-syslog-logger
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Lucas Kanashiro <kanashiro.duarte at gmail.com>
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               rake
+Standards-Version: 3.9.7
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-syslog-logger.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-syslog-logger.git
+Homepage: http://github.com/ngmoco/syslog_logger
+Testsuite: autopkgtest-pkg-ruby
+XS-Ruby-Versions: all
+
+Package: ruby-syslog-logger
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ruby | ruby-interpreter,
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: improved Logger replacement that logs to syslog
+ Logger::Syslog is a Logger replacement that logs to syslog. It is almost
+ drop-in with a few caveats. Add Logger::Syslog to your Rails production
+ environment to aggregate logs between multiple machines.                        
+ .                                                                                
+ This particular Logger::Syslog improves the original by correctly
+ mapping Rails log severities to the Syslog counterparts. It also adds
+ the ability to select a syslog facility other than "user".
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..44af13b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,37 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ruby-syslog-logger
+Source: http://github.com/ngmoco/syslog_logger
+
+Files: *
+Copyright: 2008-2009 Eric Hodel
+ 2008-2009 Christopher Powell
+ 2008-2009 Ian Lesperance        
+ 2008-2009 Dana Contreras
+ 2008-2009 Brian Smith
+ 2008-2009 Ashley Martens
+License: Expat
+
+Files: debian/*
+Copyright: 2016 Lucas Kanashiro <kanashiro.duarte at gmail.com>
+License: Expat
+Comment: the Debian packaging is licensed under the same terms as the original package.
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ 'Software'), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/patches/fix-encoding-of-test-file.patch b/debian/patches/fix-encoding-of-test-file.patch
new file mode 100644
index 0000000..9d64450
--- /dev/null
+++ b/debian/patches/fix-encoding-of-test-file.patch
@@ -0,0 +1,14 @@
+Description: Fix enconding of test file
+ Set the enconding to US-ASCII is necessary to prevent syntax error (invalid
+ multibyte escape).
+Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
+Last-Updated: 2016-03-31
+
+--- a/test/test_syslog_logger.rb
++++ b/test/test_syslog_logger.rb
+@@ -1,3 +1,5 @@
++# encoding: US-ASCII
++
+ require 'test/unit'
+ require 'tempfile'
+ require 'syslog-logger'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7154fff
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-encoding-of-test-file.patch
diff --git a/debian/ruby-syslog-logger.docs b/debian/ruby-syslog-logger.docs
new file mode 100644
index 0000000..e475c53
--- /dev/null
+++ b/debian/ruby-syslog-logger.docs
@@ -0,0 +1 @@
+README.rdoc
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..63f3fd6
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,6 @@
+require 'gem2deb/rake/testtask'
+
+Gem2Deb::Rake::TestTask.new do |t|
+  t.libs = ['test']
+  t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb']
+end
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3454d59
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+export GEM2DEB_TEST_RUNNER = --check-dependencies
+
+%:
+	dh $@ --buildsystem=ruby --with ruby
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..252bbc1
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/ruby-syslog-logger .*/ruby-syslog-logger-(.*).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-syslog-logger.git



More information about the Pkg-ruby-extras-commits mailing list