luban-monit 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12d795955876620867c934ee877168fb3ee58caa
4
- data.tar.gz: 51f200570098c07915fb7b5c27ddf60c3c322334
3
+ metadata.gz: 5b17b119e8484f1468a96063ce56f153a386c24f
4
+ data.tar.gz: b6e232d7921bd61b32c76347091dd4928d79fb58
5
5
  SHA512:
6
- metadata.gz: 463c773276964c0d3b1ab3eab24434fea68d068fa4424c6b563d4761281069ecf9832014f52f782f5edc92c07eb8733a314b1d78cde30855a795da097a0dfb97
7
- data.tar.gz: af5fe138bfe318302296de523b11620134a0d4fdf72de2acbb99037f4b565d1e338a9c58e5bece0bf3c261ff7f127e7809059661b5aee75766558397935aa780
6
+ metadata.gz: 7de3e3b8a1d235c70b8b5a4cf5e00fb6e4366e0755c1e38fdd7dc248f670009e7c404a352591984e2807d1bbf0b381ac10144ef0e30980c36ff204a467184c0e
7
+ data.tar.gz: f3228233cfe029845375b550e652104b796c88af667289d247f680b8bfd6c42a542c0bbd171c3c3b1a56e99dd306e7cf0c76cb08757d4b703ee2d62a8b3844f7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.2.2 (Sept 06, 2016)
4
+
5
+ Minor enhancements:
6
+ * Added the build option of Monit to disable PAM support (--without-pam)
7
+
3
8
  ## Version 0.2.1 (Aug 18, 2016)
4
9
 
5
10
  Minor enhancements:
@@ -20,6 +20,7 @@ module Luban
20
20
 
21
21
  def setup_install_tasks
22
22
  super
23
+ commands[:install].switch :without_pam, "Disable PAM support"
23
24
  commands[:install].option :openssl, "OpenSSL version"
24
25
  end
25
26
 
@@ -5,6 +5,10 @@ module Luban
5
5
  class Installer < Luban::Deployment::Service::Installer
6
6
  include Controller::Commands
7
7
 
8
+ def without_pam?
9
+ task.opts.without_pam
10
+ end
11
+
8
12
  def source_repo
9
13
  @source_repo ||= "http://mmonit.com"
10
14
  end
@@ -25,6 +29,11 @@ module Luban
25
29
 
26
30
  protected
27
31
 
32
+ def configure_build_options
33
+ super
34
+ @configure_opts << "--without-pam" if without_pam?
35
+ end
36
+
28
37
  def install!
29
38
  super
30
39
  # Symlink 'etc' to the profile path
@@ -2,7 +2,7 @@ module Luban
2
2
  module Deployment
3
3
  module Packages
4
4
  class Monit
5
- VERSION = '0.2.1'
5
+ VERSION = '0.2.2'
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban-monit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Chi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-18 00:00:00.000000000 Z
11
+ date: 2016-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: luban