Package not found. Please check the package name and try again.
taosource 6.2.0
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 +7 -0
- data/lib/taosource/rootpaths.rb +20 -0
- data/mkrf_conf_taogem.rb +75 -0
- data/src/ACE+TAO-src-6.2.0.tar.gz +0 -0
- metadata +47 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: f4eac756fec2691225bad8ef77f3a1da14f5355a
|
|
4
|
+
data.tar.gz: 95ae4f5dbd2dea21a2d03c46e45231ec46c7c151
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 6754e564da3d26e8b94aca5c61ce1661cbb2281c7cc680493cdc014644dbdd477bdef55bce59142855b17f3e4126f859dd3357ae019af37b26a15509ec962aa3
|
|
7
|
+
data.tar.gz: 1909a031a875e4ec92bac104e568b0533eb7097951550203272ee1635c94ddfb400d98ed17542dc54ccdcc5484d0f34da6943d8188f94ff774929cde0cc50b19
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#--------------------------------------------------------------------
|
|
2
|
+
# rootpaths.rb - Source paths
|
|
3
|
+
#
|
|
4
|
+
# Author: Martin Corino
|
|
5
|
+
#
|
|
6
|
+
# This program is free software; you can redistribute it and/or
|
|
7
|
+
# modify it under the terms of the R2CORBA LICENSE which is
|
|
8
|
+
# included with this program.
|
|
9
|
+
#
|
|
10
|
+
# Copyright (c) Remedy IT Expertise BV
|
|
11
|
+
# Chamber of commerce Rotterdam nr.276339, The Netherlands
|
|
12
|
+
#--------------------------------------------------------------------
|
|
13
|
+
|
|
14
|
+
module TAOGem
|
|
15
|
+
|
|
16
|
+
ENV['ACE_ROOT'] = File.expand_path(File.join(File.dirname(__FILE__), '..', '..' , 'src', 'ACE_wrappers'))
|
|
17
|
+
ENV['TAO_ROOT'] = File.join(ENV['ACE_ROOT'], 'TAO')
|
|
18
|
+
ENV['MPC_ROOT'] = File.join(ENV['ACE_ROOT'], 'MPC')
|
|
19
|
+
|
|
20
|
+
end
|
data/mkrf_conf_taogem.rb
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
#--------------------------------------------------------------------
|
|
2
|
+
# mkrf_conf_taogem.rb - Rakefile generator toasource gem installation
|
|
3
|
+
#
|
|
4
|
+
# Author: Martin Corino
|
|
5
|
+
#
|
|
6
|
+
# This program is free software; you can redistribute it and/or
|
|
7
|
+
# modify it under the terms of the R2CORBA LICENSE which is
|
|
8
|
+
# included with this program.
|
|
9
|
+
#
|
|
10
|
+
# Copyright (c) Remedy IT Expertise BV
|
|
11
|
+
# Chamber of commerce Rotterdam nr.276339, The Netherlands
|
|
12
|
+
#--------------------------------------------------------------------
|
|
13
|
+
|
|
14
|
+
# generate Rakefile with empty default task
|
|
15
|
+
File.open('Rakefile', 'w') do |f|
|
|
16
|
+
f.puts <<EOF__
|
|
17
|
+
#--------------------------------------------------------------------
|
|
18
|
+
# Rakefile - build file for taosource installation
|
|
19
|
+
#
|
|
20
|
+
# Author: Martin Corino
|
|
21
|
+
#
|
|
22
|
+
# This program is free software; you can redistribute it and/or
|
|
23
|
+
# modify it under the terms of the R2CORBA LICENSE which is
|
|
24
|
+
# included with this program.
|
|
25
|
+
#
|
|
26
|
+
# Copyright (c) Remedy IT Expertise BV
|
|
27
|
+
# Chamber of commerce Rotterdam nr.276339, The Netherlands
|
|
28
|
+
#--------------------------------------------------------------------
|
|
29
|
+
|
|
30
|
+
task :default
|
|
31
|
+
EOF__
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
require 'fileutils'
|
|
35
|
+
require 'rubygems'
|
|
36
|
+
require 'rubygems/package'
|
|
37
|
+
|
|
38
|
+
# unpack TAO source archive
|
|
39
|
+
src_root = File.expand_path(File.join(File.dirname(__FILE__), 'src'))
|
|
40
|
+
src_pkg = Dir[File.join(src_root, "ACE+TAO-src*.tar.gz")].first
|
|
41
|
+
curdir = Dir.getwd
|
|
42
|
+
begin
|
|
43
|
+
Dir.chdir src_root
|
|
44
|
+
puts "Unpacking source archive. Please wait, this could take a while..."
|
|
45
|
+
# following code has been nicked from RubyGems
|
|
46
|
+
File.open src_pkg, 'rb' do |io|
|
|
47
|
+
Zlib::GzipReader.wrap io do |gzio|
|
|
48
|
+
tar = Gem::Package::TarReader.new gzio
|
|
49
|
+
tar.each do |entry|
|
|
50
|
+
|
|
51
|
+
raise "Failed to extract #{src_pkg}: invalid source path #{entry.full_name}" if entry.full_name.start_with? '/'
|
|
52
|
+
|
|
53
|
+
destination = File.join src_root, entry.full_name
|
|
54
|
+
destination = File.expand_path destination
|
|
55
|
+
|
|
56
|
+
raise "Failed to extract #{src_pkg}: invalid destination path #{destination}" unless destination.start_with? src_root
|
|
57
|
+
|
|
58
|
+
destination.untaint
|
|
59
|
+
|
|
60
|
+
FileUtils.rm_rf destination
|
|
61
|
+
|
|
62
|
+
FileUtils.mkdir_p File.dirname destination
|
|
63
|
+
|
|
64
|
+
open destination, 'wb', entry.header.mode do |out|
|
|
65
|
+
out.write entry.read
|
|
66
|
+
out.fsync rescue nil # for filesystems without fsync(2)
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
puts destination
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
ensure
|
|
74
|
+
Dir.chdir curdir
|
|
75
|
+
end
|
|
Binary file
|
metadata
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: taosource
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 6.2.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Martin Corino
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2013-08-09 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: TAO sourcecode for building R2CORBA.
|
|
14
|
+
email: mcorino@remedy.nl
|
|
15
|
+
executables: []
|
|
16
|
+
extensions:
|
|
17
|
+
- mkrf_conf_taogem.rb
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- lib/taosource/rootpaths.rb
|
|
21
|
+
- src/ACE+TAO-src-6.2.0.tar.gz
|
|
22
|
+
- mkrf_conf_taogem.rb
|
|
23
|
+
homepage: https://osportal.remedy.nl/projects/r2corba
|
|
24
|
+
licenses:
|
|
25
|
+
- ACE
|
|
26
|
+
metadata: {}
|
|
27
|
+
post_install_message:
|
|
28
|
+
rdoc_options: []
|
|
29
|
+
require_paths:
|
|
30
|
+
- lib
|
|
31
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
32
|
+
requirements:
|
|
33
|
+
- - '>='
|
|
34
|
+
- !ruby/object:Gem::Version
|
|
35
|
+
version: 1.8.6
|
|
36
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - '>='
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
41
|
+
requirements: []
|
|
42
|
+
rubyforge_project:
|
|
43
|
+
rubygems_version: 2.0.3
|
|
44
|
+
signing_key:
|
|
45
|
+
specification_version: 4
|
|
46
|
+
summary: TAO sourcecode for building R2CORBA
|
|
47
|
+
test_files: []
|