tpkg 1.27.4 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/bin/cpan2tpkg +3 -3
- data/lib/tpkg.rb +2 -2
- metadata +6 -6
data/Rakefile
CHANGED
@@ -5,7 +5,7 @@ spec = Gem::Specification.new do |s|
|
|
5
5
|
s.add_dependency('facter')
|
6
6
|
s.add_dependency('net-ssh')
|
7
7
|
s.add_dependency('ddao-kwalify')
|
8
|
-
s.version = '
|
8
|
+
s.version = '2.0.0'
|
9
9
|
s.authors = ['Darren Dao', 'Jason Heiss']
|
10
10
|
s.email = 'tpkg-users@lists.sourceforge.net'
|
11
11
|
s.homepage = 'http://tpkg.sourceforge.net'
|
data/bin/cpan2tpkg
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/
|
1
|
+
#!/opt/tpkg/bin/perl
|
2
2
|
|
3
3
|
use warnings;
|
4
4
|
use strict;
|
@@ -275,8 +275,8 @@ MODULE: foreach my $name ($extinst->modules)
|
|
275
275
|
my $depmod = CPAN::Shell->expand('Module', $dep);
|
276
276
|
# This is a bit of an indirect way to identify core
|
277
277
|
# modules but the only way I can figure out. Core stuff
|
278
|
-
# gets installed with perl into /
|
279
|
-
# CPAN modules into /
|
278
|
+
# gets installed with perl into /opt/tpkg/perl-version,
|
279
|
+
# CPAN modules into /opt/tpkg/lib/perl5/site_perl.
|
280
280
|
#
|
281
281
|
# What seems like it should be the "right" way is that
|
282
282
|
# the "D" (aka "Development Stage") field in
|
data/lib/tpkg.rb
CHANGED
@@ -56,7 +56,7 @@ require 'kwalify' # for validating yaml
|
|
56
56
|
|
57
57
|
class Tpkg
|
58
58
|
|
59
|
-
VERSION = '
|
59
|
+
VERSION = '2.0.0'
|
60
60
|
CONFIGDIR = '/etc'
|
61
61
|
|
62
62
|
GENERIC_ERR = 1
|
@@ -1202,7 +1202,7 @@ class Tpkg
|
|
1202
1202
|
# Instance methods
|
1203
1203
|
#
|
1204
1204
|
|
1205
|
-
DEFAULT_BASE = '/
|
1205
|
+
DEFAULT_BASE = '/opt/tpkg'
|
1206
1206
|
|
1207
1207
|
def initialize(options)
|
1208
1208
|
# Options
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tpkg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
|
-
-
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version:
|
7
|
+
- 2
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 2.0.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Darren Dao
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-08-
|
19
|
+
date: 2010-08-23 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|