Compare commits
No commits in common. "master" and "remove_nfs" have entirely different histories.
master
...
remove_nfs
|
@ -4,12 +4,6 @@ Fork of hyperic/sigar with some fixes. Support only ruby binding. Part of [Eye g
|
||||||
|
|
||||||
## Fixed:
|
## Fixed:
|
||||||
|
|
||||||
### [2.0.11] 10-09-2024
|
|
||||||
* Fixing build issue on newer linux and also issues with newer Ruby [#16](https://github.com/kostya/sigar/pull/16)([commit](https://github.com/kostya/sigar/pull/16/commits/8b887b2380c4aadea82402904d9c1131bbb9c521))
|
|
||||||
|
|
||||||
### [2.0.10] 31-10-2021
|
|
||||||
* Fix compilation on MacOS 11.3.1 [#11](https://github.com/kostya/sigar/issues/11)([commit](https://github.com/kostya/sigar/commit/49a9aeeff54e97ac6f41d464c30ff6c8adf4bcf4))
|
|
||||||
|
|
||||||
### [2.0.9] 28-06-2021
|
### [2.0.9] 28-06-2021
|
||||||
* Fix compilation on FreeBSD 13 [#10](https://github.com/kostya/sigar/issues/10)([commit](https://github.com/kostya/sigar/commit/b78b558fb756a75dc7d6cbf704423be3c7098ae5))
|
* Fix compilation on FreeBSD 13 [#10](https://github.com/kostya/sigar/issues/10)([commit](https://github.com/kostya/sigar/commit/b78b558fb756a75dc7d6cbf704423be3c7098ae5))
|
||||||
|
|
||||||
|
|
10
Rakefile
10
Rakefile
|
@ -51,15 +51,15 @@ end
|
||||||
desc 'Build sigar extension'
|
desc 'Build sigar extension'
|
||||||
task :build do
|
task :build do
|
||||||
in_ext()
|
in_ext()
|
||||||
unless File.exist? "Makefile"
|
unless File.exists? "Makefile"
|
||||||
unless system("ruby extconf.rb")
|
unless system("ruby extconf.rb")
|
||||||
STDERR.puts "Failed to configure"
|
STDERR.puts "Failed to configure"
|
||||||
next
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
unless system(MAKE)
|
unless system(MAKE)
|
||||||
STDERR.puts 'Failed to ' + MAKE
|
STDERR.puts 'Failed to ' + MAKE
|
||||||
next
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -75,13 +75,13 @@ end
|
||||||
desc 'Clean sigar extension'
|
desc 'Clean sigar extension'
|
||||||
task :clean do
|
task :clean do
|
||||||
in_ext()
|
in_ext()
|
||||||
system(MAKE + ' clean') if File.exist? "Makefile"
|
system(MAKE + ' clean') if File.exists? "Makefile"
|
||||||
end
|
end
|
||||||
|
|
||||||
desc 'Dist Clean sigar extension'
|
desc 'Dist Clean sigar extension'
|
||||||
task :distclean do
|
task :distclean do
|
||||||
in_ext()
|
in_ext()
|
||||||
system(MAKE + ' distclean') if File.exist? "Makefile"
|
system(MAKE + ' distclean') if File.exists? "Makefile"
|
||||||
end
|
end
|
||||||
|
|
||||||
desc 'Run sigar examples (test)'
|
desc 'Run sigar examples (test)'
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = "kostya-sigar"
|
s.name = "kostya-sigar"
|
||||||
s.version = "2.0.11"
|
s.version = "2.0.9"
|
||||||
|
|
||||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||||
s.require_paths = ["lib"]
|
s.require_paths = ["lib"]
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/times.h>
|
#include <sys/times.h>
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
#include <sys/sysmacros.h>
|
|
||||||
|
|
||||||
#include "sigar.h"
|
#include "sigar.h"
|
||||||
#include "sigar_private.h"
|
#include "sigar_private.h"
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/time.h>
|
|
||||||
|
|
||||||
SIGAR_INLINE char *sigar_uitoa(char *buf, unsigned int n, int *len)
|
SIGAR_INLINE char *sigar_uitoa(char *buf, unsigned int n, int *len)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
copyright.year=2004-2011
|
copyright.year=2004-2011
|
||||||
version.major=2
|
version.major=2
|
||||||
version.minor=0
|
version.minor=0
|
||||||
version.maint=11
|
version.maint=9
|
||||||
version.build=0
|
version.build=0
|
||||||
project.name=kostya-sigar
|
project.name=kostya-sigar
|
||||||
project.author=Doug MacEachern
|
project.author=Doug MacEachern
|
||||||
|
|
Loading…
Reference in New Issue