Update ruby-facter pacakge to 1.5. 1.5: Fixed #1400 - OperatingSystemRelease should now work on CentOS Changed 'timeout' option to 'limit' to avoid scope issue Fixes #1376 - Display memory facts for AIX Fixes #1334 - Forced Facter to use LANG=C Fixes #1357 - Change ps syntax for OSX and BSD Set the timeout on the AIX kernelrelease fact to 5 seconds. Refactored so each fact resolution can specify a separate timeout, but the default is still 0.5. Refactered ipmess.rb and util/ip.rb to support separate *BSD logic for *BSD aliased interfaces. Updated dmidecode facts fixing ticket #60 Added AIX support for some facts Add lsbmajdistrelease fact for CentOS and Red Hat Updated Red Hat spec file for new version The 'facter' executable now has an option (-p|--puppet) for loading the Puppet libraries, which gives it access to Puppet's facts. Added autoloading to Facter with a default of not loading all facts, which results in a significant speedup when only one fact is sought. Facts are autoloaded in either a single file named after the fact or in any file in a directory named after the fact. Significantly refactored Facter's internals, including creating tests for all internal classes. A netmask fact has been added closing ticket #46. It only returns the netmask of the primary interface (in the same behaviour as the ipaddress and macaddress facts). Facts to return multiple interfaces on a host have also been updated. If you have multiple interfaces on Linux, *BSD, or Solaris/SunOS you will now get facts for each interface's IP address, MAC address and netmask. The facts will be structured like: ipaddress_int = 10.0.0.x macaddress_int = xx:xx:xx:xx netmask_int = 255.255.255.0 Facter now identifies Ubuntu hosts and their releases using the operatingsystem and operatingsystemrelease facts. The Debian operatingsystemrelease fact now correctly returns the current Debian release. Fixed ticket #48 - ioperatingsystem and operatingsystemrelease for CentOS Fixed ticket #44 and allowed support for Xen multiple interfaces and aliased interfaces. Supports both Linux and *BSD. Added interfaces fact to add as index for ip/MAC address facts Added Mandrake support for operatingsystem fact - closed ticket #47 Fixed ticket #45 Added netmask.rb closing ticket #46diff -r1.2 -r1.3 pkgsrc/sysutils/ruby-facter/Makefile
(taca)
@@ -1,15 +1,14 @@ | @@ -1,15 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2008/04/04 15:30:01 jlam Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2008/09/15 15:32:00 taca Exp $ | |
2 | 2 | |||
3 | DISTNAME= facter-1.3.8 | 3 | DISTNAME= facter-1.5 | |
4 | PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= sysutils | 5 | CATEGORIES= sysutils | |
7 | 6 | |||
8 | MAINTAINER= tonnerre@NetBSD.org | 7 | MAINTAINER= tonnerre@NetBSD.org | |
9 | HOMEPAGE= http://www.reductivelabs.com/projects/facter/ | 8 | HOMEPAGE= http://www.reductivelabs.com/projects/facter/ | |
10 | COMMENT= Cross-platform Ruby library for retrieving facts from OS | 9 | COMMENT= Cross-platform Ruby library for retrieving facts from OS | |
11 | 10 | |||
12 | GEM_BUILD= gemspec | 11 | GEM_BUILD= gemspec | |
13 | 12 | |||
14 | .include "../../misc/rubygems/rubygem.mk" | 13 | .include "../../misc/rubygems/rubygem.mk" | |
15 | .include "../../mk/bsd.pkg.mk" | 14 | .include "../../mk/bsd.pkg.mk" |
@@ -1,31 +1,66 @@ | @@ -1,31 +1,66 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2008/04/04 15:30:01 jlam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2008/09/15 15:32:00 taca Exp $ | |
2 | bin/facter | 2 | bin/facter | |
3 | ${GEM_HOME}/cache/facter-${PKGVERSION}.gem | 3 | ${GEM_HOME}/cache/facter-${PKGVERSION}.gem | |
4 | ${GEM_LIBDIR}/CHANGELOG | 4 | ${GEM_LIBDIR}/CHANGELOG | |
5 | ${GEM_LIBDIR}/COPYING | 5 | ${GEM_LIBDIR}/COPYING | |
6 | ${GEM_LIBDIR}/INSTALL | 6 | ${GEM_LIBDIR}/INSTALL | |
7 | ${GEM_LIBDIR}/LICENSE | 7 | ${GEM_LIBDIR}/LICENSE | |
8 | ${GEM_LIBDIR}/README | 8 | ${GEM_LIBDIR}/README | |
9 | ${GEM_LIBDIR}/Rakefile | 9 | ${GEM_LIBDIR}/Rakefile | |
10 | ${GEM_LIBDIR}/TODO | 10 | ${GEM_LIBDIR}/TODO | |
11 | ${GEM_LIBDIR}/bin/facter | 11 | ${GEM_LIBDIR}/bin/facter | |
12 | ${GEM_LIBDIR}/etc/facter.conf | 12 | ${GEM_LIBDIR}/etc/facter.conf | |
13 | ${GEM_LIBDIR}/install.rb | 13 | ${GEM_LIBDIR}/install.rb | |
14 | ${GEM_LIBDIR}/lib/facter.rb | 14 | ${GEM_LIBDIR}/lib/facter.rb | |
15 | ${GEM_LIBDIR}/lib/facter/Cfkey.rb | |||
16 | ${GEM_LIBDIR}/lib/facter/architecture.rb | |||
17 | ${GEM_LIBDIR}/lib/facter/domain.rb | |||
18 | ${GEM_LIBDIR}/lib/facter/facterversion.rb | |||
19 | ${GEM_LIBDIR}/lib/facter/fqdn.rb | |||
20 | ${GEM_LIBDIR}/lib/facter/hardwareisa.rb | |||
21 | ${GEM_LIBDIR}/lib/facter/hardwaremodel.rb | |||
22 | ${GEM_LIBDIR}/lib/facter/hostname.rb | |||
23 | ${GEM_LIBDIR}/lib/facter/id.rb | |||
24 | ${GEM_LIBDIR}/lib/facter/ipaddress.rb | |||
25 | ${GEM_LIBDIR}/lib/facter/iphostnumber.rb | |||
15 | ${GEM_LIBDIR}/lib/facter/ipmess.rb | 26 | ${GEM_LIBDIR}/lib/facter/ipmess.rb | |
27 | ${GEM_LIBDIR}/lib/facter/kernel.rb | |||
28 | ${GEM_LIBDIR}/lib/facter/kernelrelease.rb | |||
29 | ${GEM_LIBDIR}/lib/facter/lsb.rb | |||
30 | ${GEM_LIBDIR}/lib/facter/lsbmajdistrelease.rb | |||
31 | ${GEM_LIBDIR}/lib/facter/macaddress.rb | |||
16 | ${GEM_LIBDIR}/lib/facter/macosx.rb | 32 | ${GEM_LIBDIR}/lib/facter/macosx.rb | |
17 | ${GEM_LIBDIR}/lib/facter/manufacturer.rb | 33 | ${GEM_LIBDIR}/lib/facter/manufacturer.rb | |
18 | ${GEM_LIBDIR}/lib/facter/memory.rb | 34 | ${GEM_LIBDIR}/lib/facter/memory.rb | |
35 | ${GEM_LIBDIR}/lib/facter/netmask.rb | |||
36 | ${GEM_LIBDIR}/lib/facter/operatingsystem.rb | |||
37 | ${GEM_LIBDIR}/lib/facter/operatingsystemrelease.rb | |||
19 | ${GEM_LIBDIR}/lib/facter/processor.rb | 38 | ${GEM_LIBDIR}/lib/facter/processor.rb | |
39 | ${GEM_LIBDIR}/lib/facter/ps.rb | |||
40 | ${GEM_LIBDIR}/lib/facter/puppetversion.rb | |||
41 | ${GEM_LIBDIR}/lib/facter/rubysitedir.rb | |||
42 | ${GEM_LIBDIR}/lib/facter/rubyversion.rb | |||
43 | ${GEM_LIBDIR}/lib/facter/ssh.rb | |||
44 | ${GEM_LIBDIR}/lib/facter/uniqueid.rb | |||
45 | ${GEM_LIBDIR}/lib/facter/util/collection.rb | |||
46 | ${GEM_LIBDIR}/lib/facter/util/confine.rb | |||
47 | ${GEM_LIBDIR}/lib/facter/util/fact.rb | |||
48 | ${GEM_LIBDIR}/lib/facter/util/ip.rb | |||
49 | ${GEM_LIBDIR}/lib/facter/util/loader.rb | |||
50 | ${GEM_LIBDIR}/lib/facter/util/macosx.rb | |||
51 | ${GEM_LIBDIR}/lib/facter/util/manufacturer.rb | |||
52 | ${GEM_LIBDIR}/lib/facter/util/memory.rb | |||
53 | ${GEM_LIBDIR}/lib/facter/util/netmask.rb | |||
20 | ${GEM_LIBDIR}/lib/facter/util/plist.rb | 54 | ${GEM_LIBDIR}/lib/facter/util/plist.rb | |
21 | ${GEM_LIBDIR}/lib/facter/util/plist/generator.rb | 55 | ${GEM_LIBDIR}/lib/facter/util/plist/generator.rb | |
22 | ${GEM_LIBDIR}/lib/facter/util/plist/parser.rb | 56 | ${GEM_LIBDIR}/lib/facter/util/plist/parser.rb | |
57 | ${GEM_LIBDIR}/lib/facter/util/resolution.rb | |||
23 | ${GEM_HOME}/specifications/facter-${PKGVERSION}.gemspec | 58 | ${GEM_HOME}/specifications/facter-${PKGVERSION}.gemspec | |
24 | @dirrm ${GEM_LIBDIR}/lib/facter/util/plist | 59 | @dirrm ${GEM_LIBDIR}/lib/facter/util/plist | |
25 | @dirrm ${GEM_LIBDIR}/lib/facter/util | 60 | @dirrm ${GEM_LIBDIR}/lib/facter/util | |
26 | @dirrm ${GEM_LIBDIR}/lib/facter | 61 | @dirrm ${GEM_LIBDIR}/lib/facter | |
27 | @dirrm ${GEM_LIBDIR}/lib | 62 | @dirrm ${GEM_LIBDIR}/lib | |
28 | @dirrm ${GEM_LIBDIR}/etc | 63 | @dirrm ${GEM_LIBDIR}/etc | |
29 | @dirrm ${GEM_LIBDIR}/bin | 64 | @dirrm ${GEM_LIBDIR}/bin | |
30 | @dirrm ${GEM_LIBDIR} | 65 | @dirrm ${GEM_LIBDIR} | |
31 | @exec ${MKDIR} %D/${GEM_DOCDIR} | 66 | @exec ${MKDIR} %D/${GEM_DOCDIR} |
@@ -1,6 +1,5 @@ | @@ -1,6 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2008/04/04 15:30:01 jlam Exp $ | 1 | $NetBSD: distinfo,v 1.3 2008/09/15 15:32:00 taca Exp $ | |
2 | 2 | |||
3 | SHA1 (facter-1.3.8.gem) = 0cc38ff23b1316b23a6378744be1fea3e5d348a1 | 3 | SHA1 (facter-1.5.gem) = 060c25aacb2b0094e8ae2b31ff25c1eb2f422c46 | |
4 | RMD160 (facter-1.3.8.gem) = d2f889963724cd14fc03c19c1ad8099d00210cf5 | 4 | RMD160 (facter-1.5.gem) = 9aee444e19587394de9b2f25461b75891e9912ca | |
5 | Size (facter-1.3.8.gem) = 32256 bytes | 5 | Size (facter-1.5.gem) = 36864 bytes | |
6 | SHA1 (patch-aa) = e0d792edf8438811398ffbb2b67253c832b98b64 |