[DRE-commits] [SCM] ruby-net-scp.git branch, master, updated. upstream/1.0.4-2-g3ab7e36

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Apr 16 09:16:18 UTC 2011


The following commit has been merged in the master branch:
commit 3ab7e36bf012a7a00df6d305685c22bc147d84e9
Author: Lucas Nussbaum <lucas at lucas-nussbaum.net>
Date:   Sat Apr 16 10:55:25 2011 +0200

    continue packaging

diff --git a/debian/changelog b/debian/changelog
index f11d3da..1479052 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,23 @@
-ruby-net-scp (1.0.4-1) UNRELEASED; urgency=low
+ruby-net-scp (1.0.4-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  * Switch to gem2deb-based packaging. Rename source and binary package.
 
  -- Lucas Nussbaum <lucas at lucas-nussbaum.net>  Sat, 16 Apr 2011 09:56:36 +0200
+
+libnet-scp-ruby (1.0.2-2) unstable; urgency=low
+
+  * Added myself as an uploader
+  * Standards-version 3.8.3→3.8.4 (no changes needed)
+  * Port the package to Ruby 1.9.1 (Closes: #569855)
+
+ -- Gunnar Wolf <gwolf at debian.org>  Tue, 16 Feb 2010 16:12:26 -0600
+
+libnet-scp-ruby (1.0.2-1) unstable; urgency=low
+  
+  [ Gunnar Wolf ]
+  * Changed section to Ruby as per ftp-masters' request
+
+  [ Leandro Nunes dos Santos ]
+  * Initial release (Closes: #500335)
+
+ -- Christopher Lunsford <binarymutant at gmail.com>  Sun, 23 Aug 2009 05:19:00 -0400
diff --git a/debian/control b/debian/control
index 65bcb84..e6c1fb3 100644
--- a/debian/control
+++ b/debian/control
@@ -4,17 +4,45 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Lucas Nussbaum <lucas at lucas-nussbaum.net>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.1)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.1), ruby-mocha, ruby-net-ssh
 Standards-Version: 3.9.1
-#Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-net-scp.git
-#Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-net-scp.git;a=summary
-Homepage: http://net-ssh.rubyforge.org/scp
+Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-net-scp.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-net-scp.git;a=summary
+Homepage: http://net-ssh.github.com/scp/v1/api/
 XS-Ruby-Versions: all
 
 Package: ruby-net-scp
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby1.8 | ruby-interpreter
-# net-ssh (>= 1.99.1, runtime)
-Description: A pure Ruby implementation of the SCP client protocol
- A pure Ruby implementation of the SCP client protocol
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby1.8 | ruby-interpreter, ruby-net-ssh
+Replaces: libnet-scp-ruby (<< 1.0.4-1~), libnet-scp-ruby1.8 (<< 1.0.4-1~), libnet-scp-ruby1.9.1 (<< 1.0.4-1~)
+Conflicts: libnet-scp-ruby (<< 1.0.4-1~), libnet-scp-ruby1.8 (<< 1.0.4-1~), libnet-scp-ruby1.9.1 (<< 1.0.4-1~)
+Provides: libnet-scp-ruby, libnet-scp-ruby1.8, libnet-scp-ruby1.9.1
+Description: pure ruby implementation of the SCP protocol
+ Net::SCP is a pure-Ruby implementation of the SCP protocol.
+ This operates over SSH (and requires the Net::SSH library), and allows
+ files and directory trees to copied to and from a remote server.
+
+Package: libnet-scp-ruby
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends}, ruby-net-scp
+Description: Transitional package for ruby-net-scp
+ This is a transitional package to ease upgrades to the ruby-net-scp
+ package. It can safely be removed.
+
+Package: libnet-scp-ruby1.8
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends}, ruby-net-scp
+Description: Transitional package for ruby-net-scp
+ This is a transitional package to ease upgrades to the ruby-net-scp
+ package. It can safely be removed.
+
+Package: libnet-scp-ruby1.9.1
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends}, ruby-net-scp
+Description: Transitional package for ruby-net-scp
+ This is a transitional package to ease upgrades to the ruby-net-scp
+ package. It can safely be removed.
diff --git a/debian/copyright b/debian/copyright
index 01b190c..e4f04e0 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,33 +1,37 @@
-FIXME. fill-in with DEP5 copyright file. http://dep.debian.net/deps/dep5/
-Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=173
-Upstream-Name: net-scp
-Source: FIXME (URL where source can be downloaded)
-
-Files: *
-Copyright: Copyright 1998 John Doe <jdoe at example.com>
-License: GPL-2+
- This program is free software; you can redistribute it
- and/or modify it under the terms of the GNU General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later
- version.
- .
- This program is distributed in the hope that it will be
- useful, but WITHOUT ANY WARRANTY; without even the implied
- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.  See the GNU General Public License for more
- details.
- .
- You should have received a copy of the GNU General Public
- License along with this package; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- Boston, MA  02110-1301 USA
- .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
-
-Files: debian/*
-Copyright: Copyright 1998 Jane Smith <jsmith at example.net>
+This package was debianized by Leandro Nunes dos Santos <leandronunes at safernet.org.br> on
+Sat, 27 Sep 2008 08:12:31 -0300.
+
+It was downloaded from http://net-ssh.rubyforge.org/
+
+Upstream Author:
+
+    Jamis Buck <jamis at 37signals.com>
+
+Copyright:
+
+    Copyright © 2008 by Jamis Buck
+
 License:
- [LICENSE TEXT]
+
+    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.
+
+The Debian packaging is © 2009, Christopher Lunsford <binarymutant at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'.
+
diff --git a/debian/patches/disable-gem-in-tests.patch b/debian/patches/disable-gem-in-tests.patch
new file mode 100644
index 0000000..27933d6
--- /dev/null
+++ b/debian/patches/disable-gem-in-tests.patch
@@ -0,0 +1,27 @@
+--- a/test/common.rb
++++ b/test/common.rb
+@@ -1,10 +1,11 @@
+ require 'test/unit'
+ require 'mocha'
++ require 'net/ssh'
+ 
+-begin
+-  gem 'net-ssh', ">= 2.0.0"
+-  require 'net/ssh'
+-rescue LoadError
++#begin
++#  gem 'net-ssh', ">= 2.0.0"
++#  require 'net/ssh'
++#rescue LoadError
+   $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../net-ssh/lib"
+ 
+   begin
+@@ -14,7 +15,7 @@ rescue LoadError
+   rescue LoadError => e
+     abort "could not load net/ssh v2 (#{e.inspect})"
+   end
+-end
++#end
+ 
+ $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b50efae
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+disable-gem-in-tests.patch
diff --git a/debian/ruby-net-scp.docs b/debian/ruby-net-scp.docs
index 0d5eab8..e475c53 100644
--- a/debian/ruby-net-scp.docs
+++ b/debian/ruby-net-scp.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.rdoc
+README.rdoc
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 071a51b..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
---- 
-- test/test_all.rb
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..3485877
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,2 @@
+$: << 'test' << 'lib' << '.'
+require './test/test_all.rb'

-- 
ruby-net-scp.git



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