luban 0.11.2 → 0.11.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5bfdac90e3be004eaf61bb816f54479a51592a3
|
4
|
+
data.tar.gz: 479bbe9ed933df387977557a5a28ad2138f0d017
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4851bb38fa007fd4aa7aa74aafea3dc08a1d79ebb04370d991ead74ac6b842d1f51f329aced85f698f132c11c33e4ad36504eda0be4002c30c7275eaf58e2f3
|
7
|
+
data.tar.gz: 0ee3f50877b21a2f8fd85bb9dde6f4b82a47d9240af3a9f9431f9a33e5262bb030130afab0af2ba0e2a536c21d0ef5602288e5f29902a986ab2190b4a052fa75
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,17 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
-
## Version 0.11.
|
3
|
+
## Version 0.11.3 (Jan 09, 2017)
|
4
4
|
|
5
5
|
Minor enhancements:
|
6
6
|
* Separated package installations by application instead of by project
|
7
|
+
* Enhanced the Curl package configure to set a hard-coded path to the run-time linker for SSL
|
8
|
+
* Enhanced Git installation:
|
9
|
+
* Added package dependency of Curl and an install option to specify Curl version
|
10
|
+
* Added install switch, #install_tcltk, to turn on/off tcltk installation (default: off)
|
11
|
+
* Turned off localization for Git installation (NO_GETTEXT=1)
|
12
|
+
|
13
|
+
Bug fixes:
|
14
|
+
* Corrected the long descriptions for package provision commands
|
7
15
|
|
8
16
|
## Version 0.11.1 (Jan 04, 2017)
|
9
17
|
|
@@ -230,6 +230,7 @@ module Luban
|
|
230
230
|
commands[:provision].alter do
|
231
231
|
task :install do
|
232
232
|
desc "Install a given version"
|
233
|
+
long_desc "Install a given version in #{_package.parent.class.name}"
|
233
234
|
option :version, "Version to install", short: :v, required: true,
|
234
235
|
assure: ->(v){ _package.versions.include?(v) }
|
235
236
|
switch :force, "Force to install", short: :f
|
@@ -238,12 +239,14 @@ module Luban
|
|
238
239
|
|
239
240
|
task :install_all do
|
240
241
|
desc "Install all versions"
|
242
|
+
long_desc "Install all versions in #{_package.parent.class.name}"
|
241
243
|
switch :force, "Force to install", short: :f
|
242
244
|
action! :install_all
|
243
245
|
end
|
244
246
|
|
245
247
|
task :uninstall do
|
246
248
|
desc "Uninstall a given version"
|
249
|
+
long_desc "Uninstall a given version in #{_package.parent.class.name}"
|
247
250
|
option :version, "Version to uninstall", short: :v, required: true,
|
248
251
|
assure: ->(v){ _package.versions.include?(v) }
|
249
252
|
switch :force, "Force to uninstall", short: :f
|
@@ -252,6 +255,7 @@ module Luban
|
|
252
255
|
|
253
256
|
task :uninstall_all do
|
254
257
|
desc "Uninstall all versions"
|
258
|
+
long_desc "Uninstall all versions in #{_package.parent.class.name}"
|
255
259
|
switch :force, "Force to uninstall", short: :f, required: true
|
256
260
|
action! :uninstall_all
|
257
261
|
end
|
@@ -29,7 +29,8 @@ module Luban
|
|
29
29
|
if osx?
|
30
30
|
@configure_opts << "--with-darwinssl"
|
31
31
|
else
|
32
|
-
@configure_opts << "--with-ssl=\"#{dir}
|
32
|
+
@configure_opts << "--with-ssl=\"#{dir}\""
|
33
|
+
@configure_opts << "LDFLAGS=\"-Wl,-rpath -Wl,#{dir.join('lib')}\""
|
33
34
|
end
|
34
35
|
end
|
35
36
|
end
|
@@ -5,6 +5,7 @@ module Luban
|
|
5
5
|
apply_to :all do
|
6
6
|
before_install do
|
7
7
|
depend_on 'openssl', version: '1.0.2j'
|
8
|
+
depend_on 'curl', version: '7.52.1'
|
8
9
|
end
|
9
10
|
end
|
10
11
|
|
@@ -12,10 +13,16 @@ module Luban
|
|
12
13
|
|
13
14
|
def setup_provision_tasks
|
14
15
|
super
|
16
|
+
provision_tasks[:install].switch :install_tcltk, "Install with TclTk"
|
15
17
|
provision_tasks[:install].option :openssl, "OpenSSL version"
|
18
|
+
provision_tasks[:install].option :curl, "Curl version"
|
16
19
|
end
|
17
20
|
|
18
21
|
class Installer < Luban::Deployment::Package::Installer
|
22
|
+
def install_tcltk?
|
23
|
+
task.opts.install_tcltk
|
24
|
+
end
|
25
|
+
|
19
26
|
define_executable 'git'
|
20
27
|
|
21
28
|
def source_repo
|
@@ -35,6 +42,25 @@ module Luban
|
|
35
42
|
def with_openssl_dir(dir)
|
36
43
|
@configure_opts << "--with-openssl=#{dir}"
|
37
44
|
end
|
45
|
+
|
46
|
+
def with_curl_dir(dir)
|
47
|
+
@configure_opts << "--with-curl=#{dir}"
|
48
|
+
end
|
49
|
+
|
50
|
+
protected
|
51
|
+
|
52
|
+
def configure_build_options
|
53
|
+
super
|
54
|
+
@configure_opts << "--without-tcltk" unless install_tcltk?
|
55
|
+
end
|
56
|
+
|
57
|
+
def make_package!
|
58
|
+
test(:make, "NO_GETTEXT=1 >> #{install_log_file_path} 2>&1")
|
59
|
+
end
|
60
|
+
|
61
|
+
def install_package!
|
62
|
+
test(:make, "NO_GETTEXT=1 install >> #{install_log_file_path} 2>&1")
|
63
|
+
end
|
38
64
|
end
|
39
65
|
end
|
40
66
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: luban
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rubyist Lei
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: luban-cli
|