[DRE-commits] [ruby-zip] 01/13: Imported Debian patch 0.9.4-1

David Suárez deiv-guest at moszumanska.debian.org
Sun Dec 29 19:42:43 UTC 2013


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

deiv-guest pushed a commit to branch master
in repository ruby-zip.

commit 9f84196c4350ce4c941e0de598df26b34deee043
Author: Tatsuki Sugiura <sugi at nemui.org>
Date:   Wed Feb 24 17:45:27 2010 +0900

    Imported Debian patch 0.9.4-1
---
 debian/README.Debian             |  7 +++++
 debian/changelog                 | 61 ++++++++++++++++++++++++++++++++++++
 debian/compat                    |  1 +
 debian/control                   | 30 ++++++++++++++++++
 debian/copyright                 | 67 ++++++++++++++++++++++++++++++++++++++++
 debian/libzip-ruby1.8.docs       |  3 ++
 debian/libzip-ruby1.8.examples   |  1 +
 debian/libzip-ruby1.9.1.docs     |  3 ++
 debian/libzip-ruby1.9.1.examples |  1 +
 debian/patches/fixes-for-ruby1.9 | 35 +++++++++++++++++++++
 debian/patches/series            |  1 +
 debian/rules                     |  7 +++++
 debian/source/format             |  1 +
 debian/watch.broken              |  7 +++++
 14 files changed, 225 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..89b06bd
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,7 @@
+libzip-ruby for Debian
+----------------------
+
+You can generate the rdoc from library soruce code
+or visit http://rubyzip.sourceforge.net/doc.
+
+ -- Tatsuki Sugiura <sugi at nemui.org>, Tue, 16 Sep 2003 02:31:19 +0900
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b5fa835
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,61 @@
+libzip-ruby (0.9.4-1) unstable; urgency=medium
+
+  * New upstream release
+  * Add ruby 1.9.1 support
+
+ -- Tatsuki Sugiura <sugi at nemui.org>  Wed, 24 Feb 2010 17:45:27 +0900
+
+libzip-ruby (0.9.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Tatsuki Sugiura <sugi at nemui.org>  Tue, 25 Jul 2006 04:49:39 +0900
+
+libzip-ruby (0.5.12-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Tatsuki Sugiura <sugi at nemui.org>  Sun, 30 Oct 2005 05:07:30 +0900
+
+libzip-ruby (0.5.6-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Tatsuki Sugiura <sugi at nemui.org>  Sun, 19 Dec 2004 01:28:05 +0900
+
+libzip-ruby (0.5.5-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Tatsuki Sugiura <sugi at nemui.org>  Wed, 31 Mar 2004 16:19:19 +0900
+
+libzip-ruby (0.5.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Tatsuki Sugiura <sugi at nemui.org>  Thu, 11 Mar 2004 22:10:05 +0900
+
+libzip-ruby (0.5.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Tatsuki Sugiura <sugi at nemui.org>  Sat, 21 Feb 2004 17:15:56 +0900
+
+libzip-ruby (0.5.1-3) unstable; urgency=low
+
+  * fixed: commit will break files.
+
+ -- Tatsuki Sugiura <sugi at nemui.org>  Fri, 16 Jan 2004 08:20:51 +0900
+
+libzip-ruby (0.5.1-2) unstable; urgency=low
+
+  * fixed; install dir.
+
+ -- Tatsuki Sugiura <sugi at nemui.org>  Sun, 19 Oct 2003 08:13:51 +0900
+
+libzip-ruby (0.5.1-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Tatsuki Sugiura <sugi at nemui.org>  Tue, 16 Sep 2003 02:31:19 +0900
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7a86dcc
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: libzip-ruby
+Section: ruby
+Priority: optional
+Maintainer: Tatsuki Sugiura <sugi at nemui.org>
+Build-Depends: debhelper (>> 5.0.0), quilt, cdbs (>= 0.4.26-2), ruby1.8, ruby1.9.1, ruby-pkg-tools
+Standards-Version: 3.8.4
+Homepage: http://sourceforge.net/projects/rubyzip/
+Uploaders: Taku YASUI <tach at debian.or.jp>
+
+Package: libzip-ruby1.8
+Architecture: all
+Provides: libzip-ruby
+Depends: libruby1.8 (>= 1.8.2-3) | libzlib-ruby1.8, ${misc:Depends}
+Description: a ruby module for reading and writing zip files
+ rubyzip is a ruby library for reading and writing zip (pkzip format)
+ files, with the restriction that only uncompressed and deflated zip
+ entries are supported. All this library does is handling of the zip
+ file format. the actual compression/decompression is handled by
+ zlib. zlib is accessible from ruby thanks to ruby/zlib
+
+Package: libzip-ruby1.9.1
+Architecture: all
+Provides: libzip-ruby
+Depends: libruby1.9.1, ${misc:Depends}
+Description: a ruby module for reading and writing zip files
+ rubyzip is a ruby library for reading and writing zip (pkzip format)
+ files, with the restriction that only uncompressed and deflated zip
+ entries are supported. All this library does is handling of the zip
+ file format. the actual compression/decompression is handled by
+ zlib. zlib is accessible from ruby thanks to ruby/zlib
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8b7c784
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,67 @@
+This package was debianized by Tatsuki Sugiura <sugi at nemui.org> on
+Tue, 16 Sep 2003 02:31:19 +0900.
+
+It was downloaded from http://sourceforge.net/projects/rubyzip
+
+Upstream Author: Thomas Sondergaard <thomas at thomassondergaard.com>
+
+Copyright: Ruby's
+
+-----------------------------------------------------------------------------
+You can redistribute this program  and/or modify it under either the terms of 
+the LGPL (see the file LGPL), or the conditions below:
+
+  1. You may make and give away verbatim copies of the source form of the
+     software without restriction, provided that you duplicate all of the
+     original copyright notices and associated disclaimers.
+
+  2. You may modify your copy of the software in any way, provided that
+     you do at least ONE of the following:
+
+       a) place your modifications in the Public Domain or otherwise
+          make them Freely Available, such as by posting said
+	  modifications to Usenet or an equivalent medium, or by allowing
+	  the author to include your modifications in the software.
+
+       b) use the modified software only within your corporation or
+          organization.
+
+       c) rename any non-standard executables so the names do not conflict
+	  with standard executables, which must also be provided.
+
+       d) make other distribution arrangements with the author.
+
+  3. You may distribute the software in object code or executable
+     form, provided that you do at least ONE of the following:
+
+       a) distribute the executables and library files of the software,
+	  together with instructions (in the manual page or equivalent)
+	  on where to get the original distribution.
+
+       b) accompany the distribution with the machine-readable source of
+	  the software.
+
+       c) give non-standard executables non-standard names, with
+          instructions on where to get the original software distribution.
+
+       d) make other distribution arrangements with the author.
+
+  4. You may modify and include the part of the software into any other
+     software (possibly commercial).  But some files in the distribution
+     are not written by the author, so that they are not under these terms.
+
+     For the list of those files and their copying conditions, see the
+     file LEGAL.
+
+  5. The scripts and library files supplied as input to or produced as 
+     output from the software do not automatically fall under the
+     copyright of the software, but belong to whomever generated them, 
+     and may be sold commercially, and may be aggregated with this
+     software.
+
+  6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
+     IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+     PURPOSE.
+-----------------------------------------------------------------------------
+and you can find GPL: /usr/share/common-licenses/GPL
diff --git a/debian/libzip-ruby1.8.docs b/debian/libzip-ruby1.8.docs
new file mode 100644
index 0000000..5502ed8
--- /dev/null
+++ b/debian/libzip-ruby1.8.docs
@@ -0,0 +1,3 @@
+NEWS
+README
+TODO
diff --git a/debian/libzip-ruby1.8.examples b/debian/libzip-ruby1.8.examples
new file mode 100644
index 0000000..781fb73
--- /dev/null
+++ b/debian/libzip-ruby1.8.examples
@@ -0,0 +1 @@
+samples/*
diff --git a/debian/libzip-ruby1.9.1.docs b/debian/libzip-ruby1.9.1.docs
new file mode 100644
index 0000000..5502ed8
--- /dev/null
+++ b/debian/libzip-ruby1.9.1.docs
@@ -0,0 +1,3 @@
+NEWS
+README
+TODO
diff --git a/debian/libzip-ruby1.9.1.examples b/debian/libzip-ruby1.9.1.examples
new file mode 100644
index 0000000..781fb73
--- /dev/null
+++ b/debian/libzip-ruby1.9.1.examples
@@ -0,0 +1 @@
+samples/*
diff --git a/debian/patches/fixes-for-ruby1.9 b/debian/patches/fixes-for-ruby1.9
new file mode 100644
index 0000000..9f8089f
--- /dev/null
+++ b/debian/patches/fixes-for-ruby1.9
@@ -0,0 +1,35 @@
+Index: libzip-ruby/lib/zip/ioextras.rb
+===================================================================
+--- libzip-ruby.orig/lib/zip/ioextras.rb	2010-02-19 19:33:42.000000000 +0900
++++ libzip-ruby/lib/zip/ioextras.rb	2010-02-19 19:39:39.000000000 +0900
+@@ -128,7 +128,7 @@
+ 
+ 
+     def print(*params)
+-      self << params.to_s << $\.to_s
++      self << params.join($,) << $\.to_s
+     end
+ 
+     def printf(aFormatString, *params)
+Index: libzip-ruby/test/ziptest.rb
+===================================================================
+--- libzip-ruby.orig/test/ziptest.rb	2010-02-19 20:03:24.000000000 +0900
++++ libzip-ruby/test/ziptest.rb	2010-02-19 20:06:46.000000000 +0900
+@@ -642,7 +642,7 @@
+       zos << stored_text
+     end
+ 
+-    assert(File.read(TEST_ZIP.zip_name).grep(stored_text))
++    assert(File.read(TEST_ZIP.zip_name)[stored_text])
+     ZipFile.open(TEST_ZIP.zip_name) do
+       |zf|
+       assert_equal(stored_text, zf.read(entry_name))
+@@ -676,7 +676,7 @@
+       |element, index|
+       return false unless yield(element, otherAsArray[index])
+     }
+-    return index+1 == otherAsArray.size
++    return self.size == otherAsArray.size
+   end
+ end
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f68af23
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fixes-for-ruby1.9
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0e89dde
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
+
+DEB_INSTALL_CHANGELOGS_ALL = ChangeLog
+
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.broken b/debian/watch.broken
new file mode 100644
index 0000000..b4fb9f9
--- /dev/null
+++ b/debian/watch.broken
@@ -0,0 +1,7 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site		Directory		Pattern			Version	Script
+version=3
+# uscan sf.net support is broken.
+#http://sf.net/rubyzip/rubyzip-([.0-9]+)\.tar\.gz

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



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