SF.net SVN: gar:[24437] csw/mgar/pkg

tosmi at users.sourceforge.net tosmi at users.sourceforge.net
Thu Dec 11 12:51:31 CET 2014


Revision: 24437
          http://sourceforge.net/p/gar/code/24437
Author:   tosmi
Date:     2014-12-11 11:51:30 +0000 (Thu, 11 Dec 2014)
Log Message:
-----------
facter-ruby18: new facter pkg for puppet 2.7

Modified Paths:
--------------
    csw/mgar/pkg/puppet/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/facter-ruby18/
    csw/mgar/pkg/facter-ruby18/Makefile
    csw/mgar/pkg/facter-ruby18/branches/
    csw/mgar/pkg/facter-ruby18/tags/
    csw/mgar/pkg/facter-ruby18/trunk/
    csw/mgar/pkg/facter-ruby18/trunk/Makefile
    csw/mgar/pkg/facter-ruby18/trunk/checksums
    csw/mgar/pkg/facter-ruby18/trunk/files/

Added: csw/mgar/pkg/facter-ruby18/Makefile
===================================================================
--- csw/mgar/pkg/facter-ruby18/Makefile	                        (rev 0)
+++ csw/mgar/pkg/facter-ruby18/Makefile	2014-12-11 11:51:30 UTC (rev 24437)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*

Index: csw/mgar/pkg/facter-ruby18/trunk
===================================================================
--- csw/mgar/pkg/facter-ruby18/trunk	2014-12-11 10:20:33 UTC (rev 24436)
+++ csw/mgar/pkg/facter-ruby18/trunk	2014-12-11 11:51:30 UTC (rev 24437)

Property changes on: csw/mgar/pkg/facter-ruby18/trunk
___________________________________________________________________
Added: svn:ignore
## -0,0 +1 ##
+work
Added: csw/mgar/pkg/facter-ruby18/trunk/Makefile
===================================================================
--- csw/mgar/pkg/facter-ruby18/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/facter-ruby18/trunk/Makefile	2014-12-11 11:51:30 UTC (rev 24437)
@@ -0,0 +1,50 @@
+# Copyright 2009 OpenCSW
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+NAME = facter-ruby18
+VERSION = 1.7.6
+GARTYPE = v2
+
+DESCRIPTION = A system fact gatherer
+define BLURB
+  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.
+
+  It is easy to extend Facter to include your own custom facts or to include
+  additional mechanisms for retrieving facts.
+endef
+
+MASTER_SITES   = http://puppetlabs.com/downloads/facter/
+DISTFILES      = facter-$(VERSION).tar.gz
+DISTNAME       = facter-$(VERSION)
+SPKG_SOURCEURL = http://puppetlabs.com/
+LICENSE        = LICENSE
+
+RUNTIME_DEP_PKGS = CSWruby18
+BUILD_DEP_PKGS  = $(RUNTIME_DEP_PKGS)
+
+INCOMPATIBLE_PKGS = CSWfacter
+
+ARCHALL = 1
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS     =
+TEST_SCRIPTS      =
+INSTALL_SCRIPTS   = facter
+
+CHECKPKG_OVERRIDES_CSWfacter-ruby18 += file-with-bad-content|/usr/local|root/opt/csw/lib/ruby/site_ruby/1.8/facter/ssh.rb
+CHECKPKG_OVERRIDES_CSWfacter-ruby18 += file-with-bad-content|/usr/local|root/opt/csw/lib/ruby/site_ruby/1.8/facter/Cfkey.rb
+CHECKPKG_OVERRIDES_CSWfacter-ruby18 += file-with-bad-content|/usr/local|root/opt/csw/lib/ruby/site_ruby/1.8/facter/util/manufacturer.rb
+CHECKPKG_OVERRIDES_CSWfacter-ruby18 += file-collision|/opt/csw/bin/facter|CSWfacter|CSWfacter-ruby18
+CHECKPKG_OVERRIDES_CSWfacter-ruby18 += file-collision|/opt/csw/share/man/man8/facter.8|CSWfacter|CSWfacter-ruby18
+
+include gar/category.mk
+
+install-facter:
+	(cd $(WORKDIR)/$(DISTNAME); /opt/csw/bin/ruby18 install.rb --destdir=$(DESTDIR))
+	# we depend on ruby18 so fix the shebang
+	find $(DESTDIR)$(bindir) -type f -depth -print | xargs -n 1 gsed -i -e '1 s|ruby$$|ruby18|g'
+	gunzip $(DESTDIR)/$(mandir)/man8/facter.8.gz


Property changes on: csw/mgar/pkg/facter-ruby18/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: csw/mgar/pkg/facter-ruby18/trunk/checksums
===================================================================
--- csw/mgar/pkg/facter-ruby18/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/facter-ruby18/trunk/checksums	2014-12-11 11:51:30 UTC (rev 24437)
@@ -0,0 +1 @@
+f29d0c33de0ec4d08c8a1b5f645f6399  facter-1.7.6.tar.gz

Modified: csw/mgar/pkg/puppet/trunk/Makefile
===================================================================
--- csw/mgar/pkg/puppet/trunk/Makefile	2014-12-11 10:20:33 UTC (rev 24436)
+++ csw/mgar/pkg/puppet/trunk/Makefile	2014-12-11 11:51:30 UTC (rev 24437)
@@ -51,7 +51,7 @@
 SPKG_DESC_CSWpuppet       = System configuration management tool, client daemon
 SPKG_DESC_CSWpuppetmaster = System configuration management tool, server
 
-RUNTIME_DEP_PKGS                  = CSWfacter
+RUNTIME_DEP_PKGS                  = CSWfacter-ruby18
 RUNTIME_DEP_PKGS                 += CSWruby18
 RUNTIME_DEP_PKGS				 += CSWrubyaugeas
 RUNTIME_DEP_PKGS_CSWpuppetmaster += CSWpuppet

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list