[DRE-commits] [ruby-serverspec] 01/07: Imported Debian patch 1.14.0-2

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Jun 13 22:23:13 UTC 2015


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

terceiro pushed a commit to branch master
in repository ruby-serverspec.

commit 3abba3a8b5907570140a52300e37ad93bffa8c83
Author: KURASHIKI Satoru <lurdan at gmail.com>
Date:   Wed Oct 8 09:04:59 2014 +0900

    Imported Debian patch 1.14.0-2
---
 debian/changelog                | 51 +++++++++++++++++++++++++++++++++++++++++
 debian/compat                   |  1 +
 debian/control                  | 25 ++++++++++++++++++++
 debian/copyright                | 32 ++++++++++++++++++++++++++
 debian/patches/fix-sample       | 32 ++++++++++++++++++++++++++
 debian/patches/old-rspec        | 12 ++++++++++
 debian/patches/series           |  2 ++
 debian/ruby-serverspec.docs     |  1 +
 debian/ruby-serverspec.manpages |  1 +
 debian/ruby-tests.rake          | 25 ++++++++++++++++++++
 debian/rules                    | 15 ++++++++++++
 debian/serverspec-init.1        | 48 ++++++++++++++++++++++++++++++++++++++
 debian/source/format            |  1 +
 debian/watch                    |  2 ++
 14 files changed, 248 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..63ccd52
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,51 @@
+ruby-serverspec (1.14.0-2) unstable; urgency=medium
+
+  * New Standard-Version: 3.9.6
+  * patch to use old rspec (< 3) (Closes: #761729)
+
+ -- KURASHIKI Satoru <lurdan at gmail.com>  Wed, 08 Oct 2014 09:04:59 +0900
+
+ruby-serverspec (1.14.0-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- KURASHIKI Satoru <lurdan at gmail.com>  Fri, 22 Aug 2014 00:04:56 +0900
+
+ruby-serverspec (1.6.0-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- KURASHIKI Satoru <lurdan at gmail.com>  Fri, 09 May 2014 16:02:34 +0900
+
+ruby-serverspec (0.15.5-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- KURASHIKI Satoru <lurdan at gmail.com>  Wed, 26 Mar 2014 21:51:52 +0900
+
+ruby-serverspec (0.14.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * fix FTBFS by changing test config. (Closes: #730924)
+  * Now depends on ruby-specinfra.
+
+ -- KURASHIKI Satoru <lurdan at gmail.com>  Sat, 28 Dec 2013 11:31:34 +0900
+
+ruby-serverspec (0.9.8-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control: add VCS-* field.
+
+ -- KURASHIKI Satoru <lurdan at gmail.com>  Tue, 08 Oct 2013 17:58:36 +0900
+
+ruby-serverspec (0.9.4-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- KURASHIKI Satoru <lurdan at gmail.com>  Tue, 24 Sep 2013 16:49:08 +0900
+
+ruby-serverspec (0.7.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #716662)
+
+ -- KURASHIKI Satoru <lurdan at gmail.com>  Thu, 31 Jul 2013 09:52:26 +0900
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..07b2a6e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: ruby-serverspec
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: KURASHIKI Satoru <lurdan at gmail.com>
+Build-Depends: debhelper (>= 7.0.50~), gem2deb, ruby-rspec (>= 2.13.0~), ruby-specinfra (>= 1.25.4~)
+Standards-Version: 3.9.6
+Vcs-Git: https://github.com/lurdan/serverspec.git
+Vcs-Browser: https://github.com/lurdan/serverspec/tree/dpkg
+Homepage: http://serverspec.org/
+XS-Ruby-Versions: all
+
+Package: ruby-serverspec
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-net-ssh, ruby-rspec (>= 2.13.0~), ruby-highline, ruby-specinfra (>= 1.25.4~)
+Recommends: bundler (>= 1.3~), rake
+Description: RSpec tests for your servers configured by Puppet, Chef or anything else
+ With serverspec, you can write RSpec tests for checking your servers
+ are configured correctly.
+ .
+ Serverspec tests your servers' actual state through SSH access, so
+ you don't need to install any agent software on your servers and
+ can use any configuration management tools, Puppet, Chef, CFEngine
+ and so on.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..bc83438
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: serverspec
+Source: http://serverspec.org
+
+Files: *
+Copyright: 2013 Gosuke Miyashita
+License: MIT
+
+Files: debian/*
+Copyright: 2013 KURASHIKI Satoru <lurdan at gmail.com>
+License: MIT
+Comment: the Debian packaging is licensed under the same terms as the original package.
+
+License: MIT
+ 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-sample b/debian/patches/fix-sample
new file mode 100644
index 0000000..85d29dc
--- /dev/null
+++ b/debian/patches/fix-sample
@@ -0,0 +1,32 @@
+Description: fix generated sample to fit debian
+Author: KURASHIKI Satoru <lurdan at gmail.com>
+Bug-Debian: http://bugs.debian.org/716662
+Origin: vendor
+
+Index: serverspec/lib/serverspec/setup.rb
+===================================================================
+--- serverspec.orig/lib/serverspec/setup.rb	2014-03-26 22:00:46.000000000 +0900
++++ serverspec/lib/serverspec/setup.rb	2014-03-26 22:00:46.000000000 +0900
+@@ -94,11 +94,11 @@
+       content = <<-EOF
+ require 'spec_helper'
+ 
+-describe package('httpd') do
++describe package('apache2') do
+   it { should be_installed }
+ end
+ 
+-describe service('httpd') do
++describe service('apache2') do
+   it { should be_enabled   }
+   it { should be_running   }
+ end
+@@ -107,7 +107,7 @@
+   it { should be_listening }
+ end
+ 
+-describe file('/etc/httpd/conf/httpd.conf') do
++describe file('/etc/apache2/sites-enabled/000-default') do
+   it { should be_file }
+   its(:content) { should match /ServerName #{@hostname}/ }
+ end
diff --git a/debian/patches/old-rspec b/debian/patches/old-rspec
new file mode 100644
index 0000000..8922e36
--- /dev/null
+++ b/debian/patches/old-rspec
@@ -0,0 +1,12 @@
+Index: serverspec/lib/serverspec.rb
+===================================================================
+--- serverspec.orig/lib/serverspec.rb
++++ serverspec/lib/serverspec.rb
+@@ -1,6 +1,6 @@
+ require 'rubygems'
+ require 'rspec'
+-require 'rspec/its'
++#require 'rspec/its'
+ require 'specinfra'
+ require 'serverspec/version'
+ require 'serverspec/matchers'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f91b641
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+old-rspec
+fix-sample
diff --git a/debian/ruby-serverspec.docs b/debian/ruby-serverspec.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/ruby-serverspec.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/ruby-serverspec.manpages b/debian/ruby-serverspec.manpages
new file mode 100644
index 0000000..3e5f1b4
--- /dev/null
+++ b/debian/ruby-serverspec.manpages
@@ -0,0 +1 @@
+debian/serverspec-init.1
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..acaba32
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,25 @@
+require 'rspec/core/rake_task'
+
+task :default => 'spec:all'
+
+namespace :spec do
+  oses = %w( darwin debian gentoo plamo redhat aix solaris solaris10 solaris11 smartos windows freebsd)
+
+  task :all => [ oses.map {|os| "spec:#{os}" }, :helpers, :exec, :ssh, :cmd, :winrm, :powershell ].flatten
+
+  oses.each do |os|
+    RSpec::Core::RakeTask.new(os.to_sym) do |t|
+      t.pattern = "spec/#{os}/*_spec.rb"
+    end
+  end
+
+  RSpec::Core::RakeTask.new(:helpers) do |t|
+    t.pattern = "spec/helpers/*_spec.rb"
+  end
+
+  [:exec, :ssh, :cmd, :winrm, :powershell].each do |backend|
+    RSpec::Core::RakeTask.new(backend) do |t|
+      t.pattern = "spec/backend/#{backend.to_s}/*_spec.rb"
+    end
+  end
+end
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3e62b68
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#
+# Uncomment to ignore all test failures (but the tests will run anyway)
+#export DH_RUBY_IGNORE_TESTS=all
+#
+# Uncomment to ignore some test failures (but the tests will run anyway).
+# Valid values:
+export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 ruby2.0 ruby2.1 require-rubygems
+#
+# If you need to specify the .gemspec (eg there is more than one)
+#export DH_RUBY_GEMSPEC=gem.gemspec
+
+%:
+	dh $@ --buildsystem=ruby --with ruby
diff --git a/debian/serverspec-init.1 b/debian/serverspec-init.1
new file mode 100644
index 0000000..7ff5f1b
--- /dev/null
+++ b/debian/serverspec-init.1
@@ -0,0 +1,48 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH GOLDENCHEETAH 1 "December 30, 2010"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+GoldenCheetah \- Cycling Performance Software
+.SH SYNOPSIS
+.B GoldenCheetah
+.SH DESCRIPTION
+This manual page was written for the Debian GNU/Linux distribution
+because the original program does not have a manual page.
+.PP
+GoldenCheetah is a software package that:
+.IP
+\(bu Downloads ride data directly from the CycleOps PowerTap and the SRM PowerControl V. Support for SRM PowerControl VI and VII is planned for the future.
+.br
+\(bu Imports ride data downloaded with other programs, including TrainingPeaks WKO+ and the manufacturers' software for the Ergomo, Garmin, Polar, PowerTap, and SRM devices.
+.br
+\(bu Provides a rich set of analysis tools, including a critical power graph, BikeScore calculation, histogram analysis, a best interval finder, and a pedal force versus pedal velocity chart, to name just a few.
+.br
+\(bu Is available for Linux, Mac OS X, and Windows. (The Windows version does not yet support direct downloads from the SRM PowerControl.)
+.br
+\(bu Is released under an Open Source license. 
+.PP
+We believe that cyclists should be able to download their power data to the computer of their choice, analyze it in whatever way they see fit, and share their methods of analysis with others. 
+.SH OPTIONS
+There are no options.
+.SH COPYRIGHT
+Copyright \(co since 2006 Sean Rhea.
+.SH AUTHOR
+GoldenCheetah was written by Sean Rhea <sean.c.rhea at gmail.com>.
+.PP
+This manual page was written by KURASHIKI Satoru <lurdan at gmail.com>,
+for the Debian project (but may be used by others).
+
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..bd370a1
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/serverspec .*/serverspec-(.*).tar.gz

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



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