tpkg 2.3.3 → 2.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE +20 -0
  5. data/Portfile +39 -0
  6. data/Portfile.template +39 -0
  7. data/README.md +43 -0
  8. data/Rakefile +468 -18
  9. data/bin/gem2tpkg +2 -2
  10. data/bin/tpkg +18 -13
  11. data/bin/tpkg_uploader +132 -0
  12. data/ca.pem +1 -0
  13. data/control +7 -0
  14. data/depend +3 -0
  15. data/externals-etch/authorized_keys +40 -0
  16. data/externals-etch/group +9 -0
  17. data/externals-etch/iptables +38 -0
  18. data/externals-etch/limits +30 -0
  19. data/externals-etch/nfs +30 -0
  20. data/externals-etch/sudo +30 -0
  21. data/externals-etch/supplemental_groups +8 -0
  22. data/externals-etch/sysctl +30 -0
  23. data/externals-etch/user +41 -0
  24. data/externals/group +39 -0
  25. data/externals/supplemental_groups +48 -0
  26. data/externals/user +39 -0
  27. data/lib/tpkg.rb +260 -991
  28. data/lib/tpkg/os.rb +164 -0
  29. data/lib/tpkg/os/debian.rb +159 -0
  30. data/lib/tpkg/os/freebsd.rb +113 -0
  31. data/lib/tpkg/os/macosx.rb +113 -0
  32. data/lib/tpkg/os/redhat.rb +173 -0
  33. data/lib/tpkg/os/solaris.rb +101 -0
  34. data/lib/tpkg/os/windows.rb +26 -0
  35. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify.rb +67 -0
  36. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/errors.rb +127 -0
  37. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/kwalify.schema.yaml +58 -0
  38. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/main.rb +442 -0
  39. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/messages.rb +173 -0
  40. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/meta-validator.rb +275 -0
  41. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/parser/base.rb +127 -0
  42. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/parser/yaml.rb +841 -0
  43. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/rule.rb +559 -0
  44. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/templates/genclass-java.eruby +222 -0
  45. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/templates/genclass-php.eruby +104 -0
  46. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/templates/genclass-ruby.eruby +113 -0
  47. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/types.rb +156 -0
  48. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/util.rb +158 -0
  49. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/util/assert-text-equal.rb +46 -0
  50. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/util/hash-interface.rb +18 -0
  51. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/util/hashlike.rb +51 -0
  52. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/util/option-parser.rb +220 -0
  53. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/util/ordered-hash.rb +57 -0
  54. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/util/testcase-helper.rb +112 -0
  55. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/validator.rb +282 -0
  56. data/lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/yaml-parser.rb +870 -0
  57. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh.rb +219 -0
  58. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/agent.rb +179 -0
  59. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/constants.rb +18 -0
  60. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/key_manager.rb +219 -0
  61. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/methods/abstract.rb +60 -0
  62. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/methods/hostbased.rb +71 -0
  63. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/methods/keyboard_interactive.rb +66 -0
  64. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/methods/password.rb +39 -0
  65. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/methods/publickey.rb +92 -0
  66. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/pageant.rb +183 -0
  67. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/session.rb +134 -0
  68. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/buffer.rb +340 -0
  69. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/buffered_io.rb +198 -0
  70. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/config.rb +205 -0
  71. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/connection/channel.rb +630 -0
  72. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/connection/constants.rb +33 -0
  73. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/connection/session.rb +597 -0
  74. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/connection/term.rb +178 -0
  75. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/errors.rb +85 -0
  76. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/key_factory.rb +102 -0
  77. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/known_hosts.rb +129 -0
  78. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/loggable.rb +61 -0
  79. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/packet.rb +102 -0
  80. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/prompt.rb +93 -0
  81. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/proxy/command.rb +75 -0
  82. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/proxy/errors.rb +14 -0
  83. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/proxy/http.rb +94 -0
  84. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/proxy/socks4.rb +70 -0
  85. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/proxy/socks5.rb +142 -0
  86. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/ruby_compat.rb +43 -0
  87. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/service/forward.rb +288 -0
  88. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test.rb +89 -0
  89. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test/channel.rb +129 -0
  90. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test/extensions.rb +152 -0
  91. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test/kex.rb +44 -0
  92. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test/local_packet.rb +51 -0
  93. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test/packet.rb +81 -0
  94. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test/remote_packet.rb +38 -0
  95. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test/script.rb +157 -0
  96. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test/socket.rb +64 -0
  97. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/algorithms.rb +384 -0
  98. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/cipher_factory.rb +97 -0
  99. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/constants.rb +30 -0
  100. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/hmac.rb +31 -0
  101. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/hmac/abstract.rb +79 -0
  102. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/hmac/md5.rb +12 -0
  103. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/hmac/md5_96.rb +11 -0
  104. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/hmac/none.rb +15 -0
  105. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/hmac/sha1.rb +13 -0
  106. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/hmac/sha1_96.rb +11 -0
  107. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/identity_cipher.rb +55 -0
  108. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/kex.rb +13 -0
  109. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb +208 -0
  110. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb +77 -0
  111. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/openssl.rb +127 -0
  112. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/packet_stream.rb +235 -0
  113. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/server_version.rb +71 -0
  114. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/session.rb +276 -0
  115. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/state.rb +206 -0
  116. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/verifiers/lenient.rb +30 -0
  117. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/verifiers/null.rb +12 -0
  118. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/verifiers/strict.rb +53 -0
  119. data/lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/version.rb +62 -0
  120. data/lib/tpkg/version.rb +3 -0
  121. data/man/man1/cpan2tpkg.1 +82 -0
  122. data/man/man1/gem2tpkg.1 +120 -0
  123. data/man/man1/tpkg.1 +411 -0
  124. data/pkginfo +8 -0
  125. data/postinstall.solaris +11 -0
  126. data/postremove.solaris +16 -0
  127. data/schema/schema-1.0.5.yml +0 -0
  128. data/schema/schema-1.0.6.yml +0 -0
  129. data/schema/schema-1.0.7.yml +0 -0
  130. data/schema/schema-1.0.8.yml +0 -0
  131. data/schema/schema-1.0.9.yml +0 -0
  132. data/schema/schema.yml +0 -0
  133. data/schema/tpkg-1.0.0.dtd +0 -0
  134. data/schema/tpkg-1.0.1.dtd +0 -0
  135. data/schema/tpkg-1.0.2.dtd +0 -0
  136. data/schema/tpkg-1.0.3.dtd +0 -0
  137. data/schema/tpkg-1.0.4.dtd +0 -0
  138. data/schema/tpkg-1.0.5.dtd +0 -0
  139. data/schema/tpkg-1.0.6.dtd +0 -0
  140. data/schema/tpkg-1.0.7.dtd +0 -0
  141. data/schema/tpkg-1.0.8.dtd +0 -0
  142. data/schema/tpkg-1.0.9.dtd +0 -0
  143. data/schema/tpkg.dtd +0 -0
  144. data/test/TODO +30 -0
  145. data/test/premadetestpkg/pkg_without_file_metadata-1.0-1.tpkg +0 -0
  146. data/test/test_checksum.rb +53 -0
  147. data/test/test_compress.rb +55 -0
  148. data/test/test_conflict.rb +41 -0
  149. data/test/test_crontabs.rb +398 -0
  150. data/test/test_dependency.rb +1113 -0
  151. data/test/test_downgrade.rb +80 -0
  152. data/test/test_download.rb +95 -0
  153. data/test/test_encrypt.rb +136 -0
  154. data/test/test_filemetadata.rb +131 -0
  155. data/test/test_initscript.rb +93 -0
  156. data/test/test_install.rb +186 -0
  157. data/test/test_lock.rb +82 -0
  158. data/test/test_make.rb +410 -0
  159. data/test/test_metadata.rb +805 -0
  160. data/test/test_misc.rb +379 -0
  161. data/test/test_options.rb +1711 -0
  162. data/test/test_os.rb +193 -0
  163. data/test/test_os_debian.rb +99 -0
  164. data/test/test_os_freebsd.rb +89 -0
  165. data/test/test_os_macosx.rb +79 -0
  166. data/test/test_os_redhat.rb +124 -0
  167. data/test/test_os_solaris.rb +85 -0
  168. data/test/test_os_windows.rb +26 -0
  169. data/test/test_query.rb +134 -0
  170. data/test/test_remove.rb +539 -0
  171. data/test/test_tar.rb +99 -0
  172. data/test/test_unpack.rb +977 -0
  173. data/test/test_upgrade.rb +398 -0
  174. data/test/test_version.rb +54 -0
  175. data/test/testcmds/crontab +14 -0
  176. data/test/testcmds/debian/apt-cache +145 -0
  177. data/test/testcmds/debian/dpkg-query +16 -0
  178. data/test/testcmds/freebsd/pkg_info +13 -0
  179. data/test/testcmds/macosx/port +35 -0
  180. data/test/testcmds/redhat/rpmbuild +6 -0
  181. data/test/testcmds/redhat/yum +90 -0
  182. data/test/testcmds/solaris/pkginfo +25 -0
  183. data/test/testcmds/solaris/pkgutil +36 -0
  184. data/test/testpkg/reloc/encfile +2 -0
  185. data/test/testpkg/reloc/file +2 -0
  186. data/test/testpkg/reloc/precryptfile +1 -0
  187. data/test/testpkg/reloc/precryptfile.plaintext +3 -0
  188. data/test/testpkg/tpkg-bad-ownergroup.xml +25 -0
  189. data/test/testpkg/tpkg-bad-ownergroup.yml +18 -0
  190. data/test/testpkg/tpkg-default-perms.xml +28 -0
  191. data/test/testpkg/tpkg-default-perms.yml +20 -0
  192. data/test/testpkg/tpkg-good-ownergroup.xml +25 -0
  193. data/test/testpkg/tpkg-good-ownergroup.yml +18 -0
  194. data/test/testpkg/tpkg-nativedeps.yml +13 -0
  195. data/test/testpkg/tpkg-nofiles.xml +14 -0
  196. data/test/testpkg/tpkg-nofiles.yml +9 -0
  197. data/test/testpkg/tpkg.xml +35 -0
  198. data/test/testpkg/tpkg.yml +25 -0
  199. data/test/tpkgtest.rb +300 -0
  200. data/tpkg.conf +16 -0
  201. data/tpkg.gemspec +24 -0
  202. data/tpkg.spec +28 -0
  203. data/tpkg.xml +17 -0
  204. data/tpkg_profile.sh +32 -0
  205. metadata +306 -31
@@ -0,0 +1,16 @@
1
+ # The base directory used for installing relocatable packages and for
2
+ # storing tpkg state. Defaults to /opt/tpkg
3
+ #base = /opt/tpkg
4
+
5
+ # Sources of packages. No default sources.
6
+ #source=http://tpkg.example.com/repo1
7
+ #source=http://tpkg2.example.com/repo2
8
+
9
+ # The reporting server where we report any changes in the set of
10
+ # installed packages. No default.
11
+ #report_server = http://tpkg.example.com/tpkg
12
+
13
+ # Script which returns the members of a host group. Used in association with
14
+ # the --group option. No default.
15
+ # host_group_script = /etc/tpkg/host_group_script
16
+
@@ -0,0 +1,24 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/tpkg/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ['Darren Dao', 'Jason Heiss']
6
+ gem.email = ['tpkg-users@lists.sourceforge.net']
7
+ gem.description = %q{tpkg is a tool for packaging and deploying applications}
8
+ gem.summary = %q{tpkg Application Packaging & Deployment}
9
+ gem.homepage = 'http://tpkg.github.com/'
10
+
11
+ gem.files = `git ls-files`.split($\)
12
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
+ gem.name = 'tpkg'
15
+ gem.require_paths = ['lib']
16
+ gem.version = Tpkg::VERSION
17
+
18
+ gem.add_dependency('facter', '~>2.3.0')
19
+ gem.add_dependency('net-ssh')
20
+ gem.add_dependency('kwalify')
21
+ gem.add_development_dependency('rake')
22
+ gem.add_development_dependency('mocha')
23
+ gem.add_development_dependency('open4')
24
+ end
@@ -0,0 +1,28 @@
1
+ Name: tpkg
2
+ Summary: tpkg client
3
+ Version: %VER%
4
+ Release: 1
5
+ Group: Applications/System
6
+ License: MIT
7
+ buildarch: noarch
8
+ Requires: ruby, facter, redhat-lsb, rpm-build, crontabs
9
+ BuildRoot: %{_builddir}/%{name}-buildroot
10
+ AutoReqProv: no
11
+ %description
12
+ tpkg client
13
+
14
+ %files
15
+ %defattr(-,root,root)
16
+ /usr/bin/tpkg
17
+ /usr/bin/cpan2tpkg
18
+ /usr/bin/gem2tpkg
19
+ /usr/bin/tpkg_xml_to_yml
20
+ /usr/lib/ruby/site_ruby/1.8/tpkg
21
+ /usr/lib/ruby/site_ruby/1.8/tpkg.rb
22
+ /usr/lib/tpkg/externals
23
+ /usr/share/man/man1/tpkg.1
24
+ /usr/share/man/man1/cpan2tpkg.1
25
+ /usr/share/man/man1/gem2tpkg.1
26
+ /etc/profile.d/tpkg.sh
27
+ %config /etc/tpkg.conf
28
+ /etc/tpkg
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE tpkg SYSTEM "http://tpkg.sourceforge.net/tpkg-1.0.dtd">
3
+ <tpkg>
4
+ <name>tpkg</name>
5
+ <version>%VER%</version>
6
+ <maintainer>tpkg-users@lists.sourceforge.net</maintainer>
7
+ <description>tpkg library</description>
8
+ <bugreporting>https://github.com/tpkg/client/issues</bugreporting>
9
+ <dependencies>
10
+ <dependency>
11
+ <name>ruby</name>
12
+ </dependency>
13
+ <dependency>
14
+ <name>gem-facter</name>
15
+ </dependency>
16
+ </dependencies>
17
+ </tpkg>
@@ -0,0 +1,32 @@
1
+ #!/bin/bash
2
+
3
+ tpkgbase="/opt/tpkg"
4
+
5
+ if [ -f /etc/tpkg.conf ]
6
+ then
7
+ base=`cat /etc/tpkg.conf | grep '^base\s*=' | awk -F= '{print $2}' | sed 's/^\s*//' | sed 's/\s*$//'`
8
+ if [ "$base" != "" ]
9
+ then
10
+ tpkgbase=$base
11
+ fi
12
+ fi
13
+
14
+ if [ -f $HOME/.tpkg.conf ]
15
+ then
16
+ base=`cat $HOME/.tpkg.conf | grep '^base\s*=' | awk -F= '{print $2}' | sed 's/^\s*//' | sed 's/\s*$//'`
17
+ if [ "$base" != "" ]
18
+ then
19
+ tpkgbase=$base
20
+ fi
21
+ fi
22
+
23
+ PATH=$tpkgbase/bin:$PATH
24
+ export PATH
25
+ MANPATH=$tpkgbase/man:$MANPATH
26
+ export MANPATH
27
+
28
+ for i in $tpkgbase/etc/profile.d/*.sh ; do
29
+ if [ -r "$i" ]; then
30
+ . $i
31
+ fi
32
+ done
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tpkg
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.3
5
- prerelease:
4
+ version: 2.3.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Darren Dao
@@ -10,77 +9,236 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-09-01 00:00:00.000000000 Z
12
+ date: 2014-12-10 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: facter
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - "~>"
21
19
  - !ruby/object:Gem::Version
22
- version: '0'
20
+ version: 2.3.0
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - "~>"
29
26
  - !ruby/object:Gem::Version
30
- version: '0'
27
+ version: 2.3.0
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: net-ssh
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - ">="
37
33
  - !ruby/object:Gem::Version
38
34
  version: '0'
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - ">="
45
40
  - !ruby/object:Gem::Version
46
41
  version: '0'
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: kwalify
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - ">="
53
47
  - !ruby/object:Gem::Version
54
48
  version: '0'
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rake
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: mocha
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
61
75
  - !ruby/object:Gem::Version
62
76
  version: '0'
63
- description:
64
- email: tpkg-users@lists.sourceforge.net
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: open4
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ description: tpkg is a tool for packaging and deploying applications
99
+ email:
100
+ - tpkg-users@lists.sourceforge.net
65
101
  executables:
66
- - tpkg
67
102
  - cpan2tpkg
68
103
  - gem2tpkg
104
+ - tpkg
105
+ - tpkg_uploader
69
106
  - tpkg_xml_to_yml
70
107
  extensions: []
71
108
  extra_rdoc_files: []
72
109
  files:
110
+ - ".gitignore"
111
+ - Gemfile
112
+ - LICENSE
113
+ - Portfile
114
+ - Portfile.template
115
+ - README.md
116
+ - Rakefile
73
117
  - bin/cpan2tpkg
74
118
  - bin/gem2tpkg
75
119
  - bin/tpkg
120
+ - bin/tpkg_uploader
76
121
  - bin/tpkg_xml_to_yml
122
+ - ca.pem
123
+ - control
124
+ - depend
125
+ - externals-etch/authorized_keys
126
+ - externals-etch/group
127
+ - externals-etch/iptables
128
+ - externals-etch/limits
129
+ - externals-etch/nfs
130
+ - externals-etch/sudo
131
+ - externals-etch/supplemental_groups
132
+ - externals-etch/sysctl
133
+ - externals-etch/user
134
+ - externals/group
135
+ - externals/supplemental_groups
136
+ - externals/user
137
+ - lib/tpkg.rb
77
138
  - lib/tpkg/deployer.rb
78
139
  - lib/tpkg/metadata.rb
140
+ - lib/tpkg/os.rb
141
+ - lib/tpkg/os/debian.rb
142
+ - lib/tpkg/os/freebsd.rb
143
+ - lib/tpkg/os/macosx.rb
144
+ - lib/tpkg/os/redhat.rb
145
+ - lib/tpkg/os/solaris.rb
146
+ - lib/tpkg/os/windows.rb
79
147
  - lib/tpkg/silently.rb
148
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify.rb
149
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/errors.rb
150
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/kwalify.schema.yaml
151
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/main.rb
152
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/messages.rb
153
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/meta-validator.rb
154
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/parser/base.rb
155
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/parser/yaml.rb
156
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/rule.rb
157
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/templates/genclass-java.eruby
158
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/templates/genclass-php.eruby
159
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/templates/genclass-ruby.eruby
160
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/types.rb
161
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/util.rb
162
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/util/assert-text-equal.rb
163
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/util/hash-interface.rb
164
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/util/hashlike.rb
165
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/util/option-parser.rb
166
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/util/ordered-hash.rb
167
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/util/testcase-helper.rb
168
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/validator.rb
169
+ - lib/tpkg/thirdparty/kwalify-0.7.2/lib/kwalify/yaml-parser.rb
170
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh.rb
171
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/agent.rb
172
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/constants.rb
173
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/key_manager.rb
174
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/methods/abstract.rb
175
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/methods/hostbased.rb
176
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/methods/keyboard_interactive.rb
177
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/methods/password.rb
178
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/methods/publickey.rb
179
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/pageant.rb
180
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/authentication/session.rb
181
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/buffer.rb
182
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/buffered_io.rb
183
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/config.rb
184
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/connection/channel.rb
185
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/connection/constants.rb
186
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/connection/session.rb
187
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/connection/term.rb
188
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/errors.rb
189
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/key_factory.rb
190
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/known_hosts.rb
191
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/loggable.rb
192
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/packet.rb
193
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/prompt.rb
194
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/proxy/command.rb
195
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/proxy/errors.rb
196
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/proxy/http.rb
197
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/proxy/socks4.rb
198
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/proxy/socks5.rb
199
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/ruby_compat.rb
200
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/service/forward.rb
201
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test.rb
202
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test/channel.rb
203
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test/extensions.rb
204
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test/kex.rb
205
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test/local_packet.rb
206
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test/packet.rb
207
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test/remote_packet.rb
208
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test/script.rb
209
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/test/socket.rb
210
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/algorithms.rb
211
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/cipher_factory.rb
212
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/constants.rb
213
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/hmac.rb
214
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/hmac/abstract.rb
215
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/hmac/md5.rb
216
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/hmac/md5_96.rb
217
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/hmac/none.rb
218
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/hmac/sha1.rb
219
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/hmac/sha1_96.rb
220
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/identity_cipher.rb
221
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/kex.rb
222
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb
223
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb
224
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/openssl.rb
225
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/packet_stream.rb
226
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/server_version.rb
227
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/session.rb
228
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/state.rb
229
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/verifiers/lenient.rb
230
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/verifiers/null.rb
231
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/verifiers/strict.rb
232
+ - lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/version.rb
80
233
  - lib/tpkg/thread_pool.rb
234
+ - lib/tpkg/version.rb
81
235
  - lib/tpkg/versiontype.rb
82
- - lib/tpkg.rb
83
- - Rakefile
236
+ - man/man1/cpan2tpkg.1
237
+ - man/man1/gem2tpkg.1
238
+ - man/man1/tpkg.1
239
+ - pkginfo
240
+ - postinstall.solaris
241
+ - postremove.solaris
84
242
  - schema/schema-1.0.5.yml
85
243
  - schema/schema-1.0.6.yml
86
244
  - schema/schema-1.0.7.yml
@@ -98,28 +256,145 @@ files:
98
256
  - schema/tpkg-1.0.8.dtd
99
257
  - schema/tpkg-1.0.9.dtd
100
258
  - schema/tpkg.dtd
259
+ - test/TODO
260
+ - test/premadetestpkg/pkg_without_file_metadata-1.0-1.tpkg
261
+ - test/test_checksum.rb
262
+ - test/test_compress.rb
263
+ - test/test_conflict.rb
264
+ - test/test_crontabs.rb
265
+ - test/test_dependency.rb
266
+ - test/test_downgrade.rb
267
+ - test/test_download.rb
268
+ - test/test_encrypt.rb
269
+ - test/test_filemetadata.rb
270
+ - test/test_initscript.rb
271
+ - test/test_install.rb
272
+ - test/test_lock.rb
273
+ - test/test_make.rb
274
+ - test/test_metadata.rb
275
+ - test/test_misc.rb
276
+ - test/test_options.rb
277
+ - test/test_os.rb
278
+ - test/test_os_debian.rb
279
+ - test/test_os_freebsd.rb
280
+ - test/test_os_macosx.rb
281
+ - test/test_os_redhat.rb
282
+ - test/test_os_solaris.rb
283
+ - test/test_os_windows.rb
284
+ - test/test_query.rb
285
+ - test/test_remove.rb
286
+ - test/test_tar.rb
287
+ - test/test_unpack.rb
288
+ - test/test_upgrade.rb
289
+ - test/test_version.rb
290
+ - test/testcmds/crontab
291
+ - test/testcmds/debian/apt-cache
292
+ - test/testcmds/debian/dpkg-query
293
+ - test/testcmds/freebsd/pkg_info
294
+ - test/testcmds/macosx/port
295
+ - test/testcmds/redhat/rpmbuild
296
+ - test/testcmds/redhat/yum
297
+ - test/testcmds/solaris/pkginfo
298
+ - test/testcmds/solaris/pkgutil
299
+ - test/testpkg/reloc/encfile
300
+ - test/testpkg/reloc/file
301
+ - test/testpkg/reloc/precryptfile
302
+ - test/testpkg/reloc/precryptfile.plaintext
303
+ - test/testpkg/tpkg-bad-ownergroup.xml
304
+ - test/testpkg/tpkg-bad-ownergroup.yml
305
+ - test/testpkg/tpkg-default-perms.xml
306
+ - test/testpkg/tpkg-default-perms.yml
307
+ - test/testpkg/tpkg-good-ownergroup.xml
308
+ - test/testpkg/tpkg-good-ownergroup.yml
309
+ - test/testpkg/tpkg-nativedeps.yml
310
+ - test/testpkg/tpkg-nofiles.xml
311
+ - test/testpkg/tpkg-nofiles.yml
312
+ - test/testpkg/tpkg.xml
313
+ - test/testpkg/tpkg.yml
314
+ - test/tpkgtest.rb
315
+ - tpkg.conf
316
+ - tpkg.gemspec
317
+ - tpkg.spec
318
+ - tpkg.xml
319
+ - tpkg_profile.sh
101
320
  homepage: http://tpkg.github.com/
102
321
  licenses: []
322
+ metadata: {}
103
323
  post_install_message:
104
324
  rdoc_options: []
105
325
  require_paths:
106
326
  - lib
107
327
  required_ruby_version: !ruby/object:Gem::Requirement
108
- none: false
109
328
  requirements:
110
- - - ! '>='
329
+ - - ">="
111
330
  - !ruby/object:Gem::Version
112
- version: '1.8'
331
+ version: '0'
113
332
  required_rubygems_version: !ruby/object:Gem::Requirement
114
- none: false
115
333
  requirements:
116
- - - ! '>='
334
+ - - ">="
117
335
  - !ruby/object:Gem::Version
118
336
  version: '0'
119
337
  requirements: []
120
- rubyforge_project: tpkg
121
- rubygems_version: 1.8.24
338
+ rubyforge_project:
339
+ rubygems_version: 2.2.2
122
340
  signing_key:
123
- specification_version: 3
341
+ specification_version: 4
124
342
  summary: tpkg Application Packaging & Deployment
125
- test_files: []
343
+ test_files:
344
+ - test/TODO
345
+ - test/premadetestpkg/pkg_without_file_metadata-1.0-1.tpkg
346
+ - test/test_checksum.rb
347
+ - test/test_compress.rb
348
+ - test/test_conflict.rb
349
+ - test/test_crontabs.rb
350
+ - test/test_dependency.rb
351
+ - test/test_downgrade.rb
352
+ - test/test_download.rb
353
+ - test/test_encrypt.rb
354
+ - test/test_filemetadata.rb
355
+ - test/test_initscript.rb
356
+ - test/test_install.rb
357
+ - test/test_lock.rb
358
+ - test/test_make.rb
359
+ - test/test_metadata.rb
360
+ - test/test_misc.rb
361
+ - test/test_options.rb
362
+ - test/test_os.rb
363
+ - test/test_os_debian.rb
364
+ - test/test_os_freebsd.rb
365
+ - test/test_os_macosx.rb
366
+ - test/test_os_redhat.rb
367
+ - test/test_os_solaris.rb
368
+ - test/test_os_windows.rb
369
+ - test/test_query.rb
370
+ - test/test_remove.rb
371
+ - test/test_tar.rb
372
+ - test/test_unpack.rb
373
+ - test/test_upgrade.rb
374
+ - test/test_version.rb
375
+ - test/testcmds/crontab
376
+ - test/testcmds/debian/apt-cache
377
+ - test/testcmds/debian/dpkg-query
378
+ - test/testcmds/freebsd/pkg_info
379
+ - test/testcmds/macosx/port
380
+ - test/testcmds/redhat/rpmbuild
381
+ - test/testcmds/redhat/yum
382
+ - test/testcmds/solaris/pkginfo
383
+ - test/testcmds/solaris/pkgutil
384
+ - test/testpkg/reloc/encfile
385
+ - test/testpkg/reloc/file
386
+ - test/testpkg/reloc/precryptfile
387
+ - test/testpkg/reloc/precryptfile.plaintext
388
+ - test/testpkg/tpkg-bad-ownergroup.xml
389
+ - test/testpkg/tpkg-bad-ownergroup.yml
390
+ - test/testpkg/tpkg-default-perms.xml
391
+ - test/testpkg/tpkg-default-perms.yml
392
+ - test/testpkg/tpkg-good-ownergroup.xml
393
+ - test/testpkg/tpkg-good-ownergroup.yml
394
+ - test/testpkg/tpkg-nativedeps.yml
395
+ - test/testpkg/tpkg-nofiles.xml
396
+ - test/testpkg/tpkg-nofiles.yml
397
+ - test/testpkg/tpkg.xml
398
+ - test/testpkg/tpkg.yml
399
+ - test/tpkgtest.rb
400
+ has_rdoc: