Compare commits

..

6 Commits

Author SHA1 Message Date
Kienan Stewart a1e287d51f
Fix default gbp configuration
Upstream sources are found properly by default now.
2018-12-02 16:12:52 -05:00
Kienan Stewart bac396a52a
Fix lintian warnings for description 2018-12-02 14:23:46 -05:00
Kienan Stewart 7fec9cdd3f
Merge tag 'v1.8.9' 2018-12-02 14:17:27 -05:00
Kienan Stewart 42ce51d6d8
Bump version number for new release 2018-12-02 14:14:15 -05:00
Kienan Stewart 0c629a5de5 Add debian directory 2018-05-18 08:20:45 -04:00
Kienan Stewart 4dda89d1e8 Load locales from shared directory 2018-05-18 08:19:46 -04:00
16 changed files with 116 additions and 4 deletions

View File

@ -8,9 +8,6 @@ Vagrant Host Manager
`vagrant-hostmanager` is a Vagrant plugin that manages the `hosts` file on guest machines (and optionally the host). Its goal is to enable resolution of multi-machine environments deployed with a cloud provider where IP addresses are not known in advance.
Do you like what we do? Consider supporting us through Patreon. All of the money goes directly back into growing our collection of open source and free software.
[![Patreon](https://img.shields.io/badge/patreon-donate-red.svg)](https://www.patreon.com/devopsgroup)
Installation
------------

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
vagrant-hostmanager (1.8.9-1) unstable; urgency=medium
* Initial release (Closes: #898996)
-- Kienan Stewart <kienan.stewart@burntworld.ca> Thu, 17 May 2018 22:07:59 -0400

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
10

25
debian/control vendored Normal file
View File

@ -0,0 +1,25 @@
Source: vagrant-hostmanager
Section: ruby
Priority: optional
Maintainer: Kienan Stewart <kienan.stewart@burntworld.ca>
Build-Depends: debhelper (>= 10),
gem2deb,
rake,
vagrant
Standards-Version: 4.1.4
Homepage: https://github.com/devopsgroup-io/vagrant-hostmanager
Vcs-Git: https://salsa.debian.org/kienan-guest/vagrant-hostmanager.git
Vcs-Browser: https://salsa.debian.org/kienan-guest/vagrant-hostmanager
XS-Ruby-Versions: all
Package: vagrant-hostmanager
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
Depends: ruby | ruby-interpreter,
${shlibs:Depends},
${misc:Depends}
Description: Vagrant plugin for managing /etc/hosts on guests and host
vagrant-hostmanager is a Vagrant plugin that manages the hosts file on guest
machines (and optionally the host). Its goal is to enable resolution of
multi-machine environments deployed with a cloud provider where IP addresses
are not known in advance.

33
debian/copyright vendored Normal file
View File

@ -0,0 +1,33 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: vagrant-hostmanager
Source: https://github.com/devopsgroup-io/vagrant-hostmanager
Files: *
Copyright: 2013 Shawn Dahlen <shawn@dahlen.me>,
2015-2018 Seth Reeser <seth.reeser@devopsgroup.io>,
2013-2018 vagrant-hostmanager contributors
License: MPL-2.0
Files: debian/*
Copyright: 2018 Kienan Stewart <kienan.stewart@burntworld.ca>
License: MPL-2.0
Comment: the Debian packaging is licensed under the same terms as the original package.
Files: debian/tests/smoke-test
Copyright: 2016, Hans-Christoph Steiner <hans@eds.org>
License: MIT
License: MPL-2.0
Placeholder
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.

1
debian/docs vendored Normal file
View File

@ -0,0 +1 @@
README.md

2
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,2 @@
[DEFAULT]
upstream-tag = v%(version)s

1
debian/install vendored Normal file
View File

@ -0,0 +1 @@
locales usr/share/vagrant-plugins/vagrant-hostmanager/

View File

@ -0,0 +1,14 @@
Description: Use different locales directory
Locale files are installed into /usr/share/vagrant-plugins instead of
being located relative to the source root.
--- vagrant-hostmanager-1.8.8.orig/lib/vagrant-hostmanager.rb
+++ vagrant-hostmanager-1.8.8/lib/vagrant-hostmanager.rb
@@ -8,7 +8,7 @@ module VagrantPlugins
@source_root ||= Pathname.new(File.expand_path('../../', __FILE__))
end
- I18n.load_path << File.expand_path('locales/en.yml', source_root)
+ I18n.load_path << File.expand_path("/usr/share/vagrant-plugins/vagrant-hostmanager/locales/en.yml", __FILE__)
I18n.reload!
end
end

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
01_use_different_locale_directory

18
debian/rules vendored Executable file
View File

@ -0,0 +1,18 @@
#!/usr/bin/make -f
include /usr/share/dpkg/default.mk
export GEM2DEB_TEST_RUNNER = --check-dependencies
%:
dh $@ --buildsystem=ruby --with ruby
override_dh_auto_install:
dh_auto_install
dh_vagrant_plugin
newtarball = new$(DEB_VERSION_UPSTREAM).tar.gz
get-orig-source:
wget --continue -O $(newtarball) \
https://github.com/devopsgroup-io/vagrant-hostmanager/releases/v$(DEB_VERSION_UPSTREAM).tar.gz
mk-origtargz --rename $(newtarball)

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

2
debian/tests/control vendored Normal file
View File

@ -0,0 +1,2 @@
Tests: smoke-test
Depends: vagrant, @

9
debian/tests/smoke-test vendored Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
exec 2>&1
set -e
vagrant plugin list | grep vagrant-hostmanager
vagrant global-status

2
debian/watch vendored Normal file
View File

@ -0,0 +1,2 @@
version=4
https://gemwatch.debian.net/vagrant-hostmanager .*/vagrant-hostmanager-(.*).tar.gz

View File

@ -8,7 +8,7 @@ module VagrantPlugins
@source_root ||= Pathname.new(File.expand_path('../../', __FILE__))
end
I18n.load_path << File.expand_path('locales/en.yml', source_root)
I18n.load_path << File.expand_path("/usr/share/vagrant-plugins/vagrant-hostmanager/locales/en.yml", __FILE__)
I18n.reload!
end
end