[DRE-commits] [ruby-fauxhai] 03/06: A bit of work on package

Hleb Valoshka tsfgnu-guest at moszumanska.debian.org
Fri Aug 14 12:53:29 UTC 2015


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

tsfgnu-guest pushed a commit to branch master
in repository ruby-fauxhai.

commit f7828459372ff7fc040e121c60181073167e54c0
Author: Hleb Valoshka <375gnu at gmail.com>
Date:   Tue Aug 4 17:15:11 2015 +0300

    A bit of work on package
---
 debian/control               |  8 ++++++--
 debian/copyright             | 45 +++++++++++++++++++++-----------------------
 debian/fauxhai.1             | 13 +++++++++++++
 debian/ruby-fauxhai.docs     |  2 ++
 debian/ruby-fauxhai.examples |  3 ---
 debian/ruby-fauxhai.manpages |  1 +
 6 files changed, 43 insertions(+), 29 deletions(-)

diff --git a/debian/control b/debian/control
index ca4bfb1..a95274f 100644
--- a/debian/control
+++ b/debian/control
@@ -22,5 +22,9 @@ Depends: ohai,
          ruby-net-ssh,
          ${misc:Depends},
          ${shlibs:Depends}
-Description: Fauxhai provides an easy way to mock out your ohai data for testing with chefspec!
- Easily mock out ohai data
+Description: library for mocking out ohai data in your chef testing
+ Fauxhai provides an easy way to mock out your ohai data for testing with
+ chefspec.
+ .
+ It has a bunch of default attributes so that you don't need to mock out
+ your entire infastructure to write a simple test.
diff --git a/debian/copyright b/debian/copyright
index 2683f46..8d56127 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,32 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: fauxhai
-Source: FIXME <http://example.com/>
+Source: https://github.com/customink/fauxhai
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2012-1015 Seth Vargo and CustomInk, LCC <sethvargo at gmail.com>
+License: Expat
 
 Files: debian/*
 Copyright: 2015 Hleb Valoshka <375gnu at gmail.com>
-License: GPL-2+ (FIXME)
+License: Expat
 Comment: the Debian packaging is licensed under the same terms as the original package.
 
-License: GPL-2+ (FIXME)
- 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.
+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:
  .
- 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.
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
  .
- 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'.
+ 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/fauxhai.1 b/debian/fauxhai.1
new file mode 100644
index 0000000..70d21ec
--- /dev/null
+++ b/debian/fauxhai.1
@@ -0,0 +1,13 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.46.4.
+.TH FAUXHAI "1" "August 2015" "fauxhai 2.3.0" "User Commands"
+.SH NAME
+fauxhai \- tool to gather information about machine
+.SH SYNOPSIS
+.B fauxhai
+
+.SH DESCRIPTION
+Fauxhai has no flags nor options.
+
+Running fauxhai on a machine effectively runs ohai, but then sanitizes the data, removing/replacing things like users, ssh keys, usernames in paths and sensitive system information.
+
+Fauxhai should only be used by developers wishing to submit a new json file.
diff --git a/debian/ruby-fauxhai.docs b/debian/ruby-fauxhai.docs
index b43bf86..062defd 100644
--- a/debian/ruby-fauxhai.docs
+++ b/debian/ruby-fauxhai.docs
@@ -1 +1,3 @@
 README.md
+examples/chefspec.md
+examples/rspec-chef.md
diff --git a/debian/ruby-fauxhai.examples b/debian/ruby-fauxhai.examples
deleted file mode 100644
index d970cc8..0000000
--- a/debian/ruby-fauxhai.examples
+++ /dev/null
@@ -1,3 +0,0 @@
-# FIXME: examples/ dir found in source. Consider installing the examples.
-# Examples:
-# examples/*
diff --git a/debian/ruby-fauxhai.manpages b/debian/ruby-fauxhai.manpages
new file mode 100644
index 0000000..20fca50
--- /dev/null
+++ b/debian/ruby-fauxhai.manpages
@@ -0,0 +1 @@
+debian/fauxhai.1

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



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