diff options
author | Ryan Steinmetz <zi@FreeBSD.org> | 2013-03-17 20:14:31 +0000 |
---|---|---|
committer | Ryan Steinmetz <zi@FreeBSD.org> | 2013-03-17 20:14:31 +0000 |
commit | 07754d72677babac467951330a13504ff1445f28 (patch) | |
tree | 6c5dff9c3d4bd04b0415ca525649314f695d40ac /sysutils/rubygem-facter | |
parent | c62c2ae05a16fbaa3a06938586ae2bdc072d19bf (diff) | |
download | ports-07754d72677babac467951330a13504ff1445f28.tar.gz ports-07754d72677babac467951330a13504ff1445f28.zip |
- Rename sysutils/facter to sysutils/rubygem-facter
- Update sysutils/rubygem-facter to 1.6.18
- Convert sysutils/rubygem-facter to utilize rubygem framework
- Update to new 'created by' header
- Add RG as additional MASTER_SITES for sysutils/rubygem-facter
- Update sysutils/puppet* RUN_DEPENDS due to rename of facter
- Bump PORTREVISION on sysutils/puppet* due to rename of facter
Approved by: Rouslan Iskhakov <rouslan@rshell.net> (maintainer)
Notes
Notes:
svn path=/head/; revision=314483
Diffstat (limited to 'sysutils/rubygem-facter')
-rw-r--r-- | sysutils/rubygem-facter/Makefile | 26 | ||||
-rw-r--r-- | sysutils/rubygem-facter/distinfo | 2 | ||||
-rw-r--r-- | sysutils/rubygem-facter/pkg-descr | 7 | ||||
-rw-r--r-- | sysutils/rubygem-facter/pkg-plist | 85 |
4 files changed, 120 insertions, 0 deletions
diff --git a/sysutils/rubygem-facter/Makefile b/sysutils/rubygem-facter/Makefile new file mode 100644 index 000000000000..1e0f78b92b70 --- /dev/null +++ b/sysutils/rubygem-facter/Makefile @@ -0,0 +1,26 @@ +# Created by: Tomoyuki Sakurai <cherry@trombik.org> +# $FreeBSD$ + +PORTNAME= facter +PORTVERSION= 1.6.18 +CATEGORIES= sysutils rubygems +MASTER_SITES= RG \ + http://downloads.puppetlabs.com/facter/ + +MAINTAINER= rouslan@rshell.net +COMMENT= A cross-platform Ruby library for retrieving facts from OS + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +PLIST_FILES= bin/facter + +.include <bsd.port.pre.mk> + +# Restrict dmidecode dependency to i386 and amd64 systems +.if ${ARCH} == "amd64" || ${ARCH} == "i386" +RUN_DEPENDS= dmidecode:${PORTSDIR}/sysutils/dmidecode +.endif + +.include <bsd.port.post.mk> diff --git a/sysutils/rubygem-facter/distinfo b/sysutils/rubygem-facter/distinfo new file mode 100644 index 000000000000..66936c99dd76 --- /dev/null +++ b/sysutils/rubygem-facter/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/facter-1.6.18.gem) = 5760265cbbd684b0c7e3b350b9b983d12a743b2b4818859feb623b4b1bcc5b55 +SIZE (rubygem/facter-1.6.18.gem) = 145920 diff --git a/sysutils/rubygem-facter/pkg-descr b/sysutils/rubygem-facter/pkg-descr new file mode 100644 index 000000000000..70997b0daabb --- /dev/null +++ b/sysutils/rubygem-facter/pkg-descr @@ -0,0 +1,7 @@ +A cross-platform Ruby library for retrieving facts from operating systems. +Supports multiple resolution mechanisms, any of which can be restricted to +working only on certain operating systems or environments. Facter is +especially useful for retrieving things like operating system names, IP +addresses, MAC addresses, and SSH keys. + +WWW: https://puppetlabs.com/puppet/related-projects/facter/ diff --git a/sysutils/rubygem-facter/pkg-plist b/sysutils/rubygem-facter/pkg-plist new file mode 100644 index 000000000000..f2d14f8d35ac --- /dev/null +++ b/sysutils/rubygem-facter/pkg-plist @@ -0,0 +1,85 @@ +bin/facter +%%RUBY_SITELIBDIR%%/facter.rb +%%RUBY_SITELIBDIR%%/facter/Cfkey.rb +%%RUBY_SITELIBDIR%%/facter/application.rb +%%RUBY_SITELIBDIR%%/facter/architecture.rb +%%RUBY_SITELIBDIR%%/facter/arp.rb +%%RUBY_SITELIBDIR%%/facter/augeasversion.rb +%%RUBY_SITELIBDIR%%/facter/domain.rb +%%RUBY_SITELIBDIR%%/facter/ec2.rb +%%RUBY_SITELIBDIR%%/facter/facterversion.rb +%%RUBY_SITELIBDIR%%/facter/fqdn.rb +%%RUBY_SITELIBDIR%%/facter/hardwareisa.rb +%%RUBY_SITELIBDIR%%/facter/hardwaremodel.rb +%%RUBY_SITELIBDIR%%/facter/hostname.rb +%%RUBY_SITELIBDIR%%/facter/id.rb +%%RUBY_SITELIBDIR%%/facter/interfaces.rb +%%RUBY_SITELIBDIR%%/facter/ipaddress.rb +%%RUBY_SITELIBDIR%%/facter/ipaddress6.rb +%%RUBY_SITELIBDIR%%/facter/iphostnumber.rb +%%RUBY_SITELIBDIR%%/facter/kernel.rb +%%RUBY_SITELIBDIR%%/facter/kernelmajversion.rb +%%RUBY_SITELIBDIR%%/facter/kernelrelease.rb +%%RUBY_SITELIBDIR%%/facter/kernelversion.rb +%%RUBY_SITELIBDIR%%/facter/lsbdistcodename.rb +%%RUBY_SITELIBDIR%%/facter/lsbdistdescription.rb +%%RUBY_SITELIBDIR%%/facter/lsbdistid.rb +%%RUBY_SITELIBDIR%%/facter/lsbdistrelease.rb +%%RUBY_SITELIBDIR%%/facter/lsbmajdistrelease.rb +%%RUBY_SITELIBDIR%%/facter/lsbrelease.rb +%%RUBY_SITELIBDIR%%/facter/macaddress.rb +%%RUBY_SITELIBDIR%%/facter/macosx.rb +%%RUBY_SITELIBDIR%%/facter/manufacturer.rb +%%RUBY_SITELIBDIR%%/facter/memory.rb +%%RUBY_SITELIBDIR%%/facter/netmask.rb +%%RUBY_SITELIBDIR%%/facter/network.rb +%%RUBY_SITELIBDIR%%/facter/operatingsystem.rb +%%RUBY_SITELIBDIR%%/facter/operatingsystemrelease.rb +%%RUBY_SITELIBDIR%%/facter/osfamily.rb +%%RUBY_SITELIBDIR%%/facter/path.rb +%%RUBY_SITELIBDIR%%/facter/physicalprocessorcount.rb +%%RUBY_SITELIBDIR%%/facter/processor.rb +%%RUBY_SITELIBDIR%%/facter/ps.rb +%%RUBY_SITELIBDIR%%/facter/puppetversion.rb +%%RUBY_SITELIBDIR%%/facter/rubysitedir.rb +%%RUBY_SITELIBDIR%%/facter/rubyversion.rb +%%RUBY_SITELIBDIR%%/facter/selinux.rb +%%RUBY_SITELIBDIR%%/facter/ssh.rb +%%RUBY_SITELIBDIR%%/facter/timezone.rb +%%RUBY_SITELIBDIR%%/facter/uniqueid.rb +%%RUBY_SITELIBDIR%%/facter/uptime.rb +%%RUBY_SITELIBDIR%%/facter/uptime_days.rb +%%RUBY_SITELIBDIR%%/facter/uptime_hours.rb +%%RUBY_SITELIBDIR%%/facter/uptime_seconds.rb +%%RUBY_SITELIBDIR%%/facter/util/collection.rb +%%RUBY_SITELIBDIR%%/facter/util/config.rb +%%RUBY_SITELIBDIR%%/facter/util/confine.rb +%%RUBY_SITELIBDIR%%/facter/util/ec2.rb +%%RUBY_SITELIBDIR%%/facter/util/fact.rb +%%RUBY_SITELIBDIR%%/facter/util/ip.rb +%%RUBY_SITELIBDIR%%/facter/util/loader.rb +%%RUBY_SITELIBDIR%%/facter/util/macaddress.rb +%%RUBY_SITELIBDIR%%/facter/util/macosx.rb +%%RUBY_SITELIBDIR%%/facter/util/manufacturer.rb +%%RUBY_SITELIBDIR%%/facter/util/memory.rb +%%RUBY_SITELIBDIR%%/facter/util/monkey_patches.rb +%%RUBY_SITELIBDIR%%/facter/util/netmask.rb +%%RUBY_SITELIBDIR%%/facter/util/plist.rb +%%RUBY_SITELIBDIR%%/facter/util/plist/generator.rb +%%RUBY_SITELIBDIR%%/facter/util/plist/parser.rb +%%RUBY_SITELIBDIR%%/facter/util/processor.rb +%%RUBY_SITELIBDIR%%/facter/util/registry.rb +%%RUBY_SITELIBDIR%%/facter/util/resolution.rb +%%RUBY_SITELIBDIR%%/facter/util/uptime.rb +%%RUBY_SITELIBDIR%%/facter/util/values.rb +%%RUBY_SITELIBDIR%%/facter/util/virtual.rb +%%RUBY_SITELIBDIR%%/facter/util/vlans.rb +%%RUBY_SITELIBDIR%%/facter/util/wmi.rb +%%RUBY_SITELIBDIR%%/facter/util/xendomains.rb +%%RUBY_SITELIBDIR%%/facter/version.rb +%%RUBY_SITELIBDIR%%/facter/virtual.rb +%%RUBY_SITELIBDIR%%/facter/vlans.rb +%%RUBY_SITELIBDIR%%/facter/xendomains.rb +@dirrm %%RUBY_SITELIBDIR%%/facter/util/plist +@dirrm %%RUBY_SITELIBDIR%%/facter/util +@dirrm %%RUBY_SITELIBDIR%%/facter |