summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortonnerre <tonnerre@pkgsrc.org>2008-03-12 23:47:05 +0000
committertonnerre <tonnerre@pkgsrc.org>2008-03-12 23:47:05 +0000
commit05eb28ddb9c048d9adfa5af4b31a586f6fd4b9a6 (patch)
tree03803a27fb9a167c5c02fff014dc03471b52e193
parent2959d878c5cc8633b557030597763ec0a0a9a09a (diff)
downloadpkgsrc-05eb28ddb9c048d9adfa5af4b31a586f6fd4b9a6.tar.gz
Add Facter Ruby module in version 1.3.8 to prepare addition of Puppet
-rw-r--r--sysutils/ruby-facter/DESCR5
-rw-r--r--sysutils/ruby-facter/Makefile19
-rw-r--r--sysutils/ruby-facter/PLIST14
-rw-r--r--sysutils/ruby-facter/distinfo5
4 files changed, 43 insertions, 0 deletions
diff --git a/sysutils/ruby-facter/DESCR b/sysutils/ruby-facter/DESCR
new file mode 100644
index 00000000000..5c19326dc5b
--- /dev/null
+++ b/sysutils/ruby-facter/DESCR
@@ -0,0 +1,5 @@
+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.
diff --git a/sysutils/ruby-facter/Makefile b/sysutils/ruby-facter/Makefile
new file mode 100644
index 00000000000..e4d48e7f253
--- /dev/null
+++ b/sysutils/ruby-facter/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/03/12 23:47:05 tonnerre Exp $
+#
+
+DISTNAME= facter-1.3.8
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES= sysutils ruby
+MASTER_SITES= http://www.reductivelabs.com/downloads/facter/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= tonnerre@NetBSD.org
+HOMEPAGE= http://www.reductivelabs.com/projects/facter/
+COMMENT= Cross-platform Ruby library for retrieving facts from OS
+
+NO_BUILD= yes
+USE_RUBY_INSTALL= yes
+
+.include "../../lang/ruby/modules.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/ruby-facter/PLIST b/sysutils/ruby-facter/PLIST
new file mode 100644
index 00000000000..aa61f3df256
--- /dev/null
+++ b/sysutils/ruby-facter/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/12 23:47:05 tonnerre Exp $
+bin/facter
+${RUBY_SITELIBDIR}/facter/util/plist/parser.rb
+${RUBY_SITELIBDIR}/facter/util/plist/generator.rb
+${RUBY_SITELIBDIR}/facter/util/plist.rb
+${RUBY_SITELIBDIR}/facter/processor.rb
+${RUBY_SITELIBDIR}/facter/memory.rb
+${RUBY_SITELIBDIR}/facter/manufacturer.rb
+${RUBY_SITELIBDIR}/facter/macosx.rb
+${RUBY_SITELIBDIR}/facter/ipmess.rb
+${RUBY_SITELIBDIR}/facter.rb
+@dirrm ${RUBY_SITELIBDIR}/facter/util/plist
+@dirrm ${RUBY_SITELIBDIR}/facter/util
+@dirrm ${RUBY_SITELIBDIR}/facter
diff --git a/sysutils/ruby-facter/distinfo b/sysutils/ruby-facter/distinfo
new file mode 100644
index 00000000000..f0a8a913d86
--- /dev/null
+++ b/sysutils/ruby-facter/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/03/12 23:47:05 tonnerre Exp $
+
+SHA1 (facter-1.3.8.tgz) = c59edc74df09599e8c723121c65826c4a6ecbc67
+RMD160 (facter-1.3.8.tgz) = 12e578271dd44e9eed33465fde4aec94d645d994
+Size (facter-1.3.8.tgz) = 29336 bytes