kostya-sigar 2.0.4 → 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 32d0a91e9e5b9496a5cfc40464dcad3bc9938374
4
- data.tar.gz: 7a2100fe26037fc0d5577c1bb76bb93dabeecb24
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZjNiOTg4ZjVhOTc5OGVlZDhkZTIzMzVhNGI5OGM5ZTg4OGRlYTc3MQ==
5
+ data.tar.gz: !binary |-
6
+ NWEwOTJhMzY1N2U5NDA0Nzk3OTUxMjdjMTM1MWNjYjUyN2NhNDMwMg==
5
7
  SHA512:
6
- metadata.gz: fcbbbf9385352766816a3b0728a4815c145af1e67ff8b7cbd39fe1c0fb78ef157334e9dfba9f8e5284d53f8e92bc38b27514a5491af98ea3ed5328d6439e1082
7
- data.tar.gz: c155a48830d92ef09928f7f41353600c0ea6d42ca37da7062e7db096450420bb59d7cee7e828e0772d4d0bf14b4b4731a7225074b34900f29f6e4646a67b286d
8
+ metadata.gz: !binary |-
9
+ YTIzZjZjNmE0ZjQ0M2M0YTkyNDZlMGIyNTEwYmVmMmFiMjUwYjViZDcwZDFh
10
+ NTI4ZGNiNTQ0MTNkYjc4ZWUyMzVmNWI3MWZkNzk0Zjg1NGQxY2VhY2E5ZjNh
11
+ ZWIyOGIwZGNlZTQ4OWUyZmNlNzZiZThhNDE0YjBkOTYxMWU1MmM=
12
+ data.tar.gz: !binary |-
13
+ YmNkYTFlMjMwOGFjZWZmOGY0YmRlODRiYzM5YWFiMWFhNzU0NDBhODllZWJi
14
+ YmIxMWQ0YzE5ZDU5YThiMGE3YTQwYjhmYzdiYThkZThiOWZmNmNmY2UyNTZh
15
+ NjU2MGE2MGFmZjMwOTJhNTRlNGUwOTc5MDgxYmJiN2RmYjViN2U=
data/README.md CHANGED
@@ -1,22 +1,25 @@
1
1
  # System Information Gatherer And Reporter.
2
2
 
3
- Fork of hyperic/sigar with some fixes. Support only ruby binding.
3
+ Fork of hyperic/sigar with some fixes. Support only ruby binding. Part of [Eye gem](https://github.com/kostya/eye).
4
4
 
5
5
  ## Fixed:
6
6
 
7
- [2.0.0]
7
+ ### [2.0.0] 22-01-2018
8
8
  * sigfaulted logger, [#28](https://github.com/hyperic/sigar/pull/28)([commit](https://github.com/kostya/sigar/commit/c2a1af))
9
9
  * bug undefined symbol: sigar_skip_token, [#60](https://github.com/hyperic/sigar/pull/60)([commit](https://github.com/kostya/sigar/commit/dfe8fe))
10
10
  * bug detection boot_time on linux (now it works like gnu ps, and fix some issues with process start_time) ([commit](https://github.com/kostya/sigar/commit/660259))
11
11
 
12
- [2.0.1]
12
+ ### [2.0.1] 10-04-2018
13
13
  * FreeBSD: don't use v_cache_min/max [#68](https://github.com/hyperic/sigar/pull/68)([commit](https://github.com/kostya/sigar/commit/800076db97bcacb1ba90805d740b4f9a5a1d3cca))
14
14
 
15
- [2.0.2]
16
- * Remove obsolete rpc usage (fix compilation fail with glibc 2.27) ([commit](https://github.com/kostya/sigar/commit/a971b9e8e1443fdf236c5ffa199c1994c05fcd4b))
15
+ ### [2.0.2] 30-05-2018
16
+ * Remove obsolete rpc usage (fix compilation fail with glibc 2.27) [#213](https://github.com/kostya/eye/issues/213)([commit](https://github.com/kostya/sigar/commit/a971b9e8e1443fdf236c5ffa199c1994c05fcd4b))
17
17
 
18
- [2.0.4]
19
- * fix compilation with glibc 2.26, major/minor functions ([commit](https://github.com/kostya/sigar/commit/a2c67588d0f686e0007dadcaf0e4bbb35c0e1e83))
18
+ ### [2.0.4] 10-06-2018
19
+ * fix compilation with glibc 2.26, major/minor functions [#2](https://github.com/kostya/sigar/issues/2)([commit](https://github.com/kostya/sigar/commit/a2c67588d0f686e0007dadcaf0e4bbb35c0e1e83))
20
+
21
+ ### [2.0.5] 02-12-2018
22
+ * Fix compilation with musl libc [#4](https://github.com/kostya/sigar/pull/4)([commit](https://github.com/kostya/sigar/pull/4/commits/cd07923dd2ed34aca353dfd182f2f85c13853fd9))
20
23
 
21
24
 
22
25
  ## Installation:
@@ -50,6 +50,10 @@
50
50
  #define PROC_PARTITIONS PROC_FS_ROOT "partitions"
51
51
  #define PROC_DISKSTATS PROC_FS_ROOT "diskstats"
52
52
 
53
+ #ifndef HZ
54
+ #define HZ 100
55
+ #endif
56
+
53
57
  /*
54
58
  * /proc/self/stat fields:
55
59
  * 1 - pid
@@ -70,7 +70,7 @@ struct sigar_t {
70
70
  };
71
71
 
72
72
  #define HAVE_STRERROR_R
73
- #ifndef __USE_XOPEN2K
73
+ #if !defined(__USE_XOPEN2K) && defined(__GLIBC__)
74
74
  /* use gnu version of strerror_r */
75
75
  #define HAVE_STRERROR_R_GLIBC
76
76
  #endif
@@ -1,7 +1,7 @@
1
1
  copyright.year=2004-2011
2
2
  version.major=2
3
3
  version.minor=0
4
- version.maint=4
4
+ version.maint=5
5
5
  version.build=0
6
6
  project.name=kostya-sigar
7
7
  project.author=Doug MacEachern
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kostya-sigar
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug MacEachern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-10 00:00:00.000000000 Z
11
+ date: 2018-12-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: System Information Gatherer And Reporter
14
14
  email: sigar-users@hyperic.org
@@ -73,17 +73,17 @@ require_paths:
73
73
  - lib
74
74
  required_ruby_version: !ruby/object:Gem::Requirement
75
75
  requirements:
76
- - - ">="
76
+ - - ! '>='
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
79
  required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ">="
81
+ - - ! '>='
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  requirements: []
85
85
  rubyforge_project:
86
- rubygems_version: 2.4.5
86
+ rubygems_version: 2.6.6
87
87
  signing_key:
88
88
  specification_version: 4
89
89
  summary: System Information Gatherer And Reporter