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

tosmi at users.sourceforge.net tosmi at users.sourceforge.net
Mon Jan 19 20:41:11 CET 2015


Revision: 24573
          http://sourceforge.net/p/gar/code/24573
Author:   tosmi
Date:     2015-01-19 19:41:00 +0000 (Mon, 19 Jan 2015)
Log Message:
-----------
facter2: import new pkg

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

Copied: csw/mgar/pkg/facter2/Makefile (from rev 24569, csw/mgar/pkg/template/Makefile)
===================================================================
--- csw/mgar/pkg/facter2/Makefile	                        (rev 0)
+++ csw/mgar/pkg/facter2/Makefile	2015-01-19 19:41:00 UTC (rev 24573)
@@ -0,0 +1,15 @@
+# vim: ft=make ts=4 sw=4 noet
+
+default:
+	@echo "You are in the pkg/ directory."
+
+%:
+	$(MAKE) -C trunk $* 
+
+paranoid-%:
+	$(MAKE) -C trunk $* || exit 2 
+
+export BUILDLOG ?= $(shell pwd)/buildlog.txt
+
+report-%:
+	$(MAKE) -C trunk $* || echo "	*** make $* in $$i failed ***" >> $(BUILDLOG) 

Index: csw/mgar/pkg/facter2/trunk
===================================================================
--- csw/mgar/pkg/facter2/trunk	2015-01-19 18:55:36 UTC (rev 24572)
+++ csw/mgar/pkg/facter2/trunk	2015-01-19 19:41:00 UTC (rev 24573)

Property changes on: csw/mgar/pkg/facter2/trunk
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,2 ##
+work
+
Added: csw/mgar/pkg/facter2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/facter2/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/facter2/trunk/Makefile	2015-01-19 19:41:00 UTC (rev 24573)
@@ -0,0 +1,50 @@
+# Copyright 2009 OpenCSW
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+NAME = facter2
+VERSION = 2.3.0
+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
+SPKG_SOURCEURL = http://puppetlabs.com/
+LICENSE        = LICENSE
+
+RUNTIME_DEP_PKGS = CSWruby20
+BUILD_DEP_PKGS  = $(RUNTIME_DEP_PKGS)
+
+INCOMPATIBLE_PKGS += CSWfacter-ruby18
+INCOMPATIBLE_PKGS += CSWfacter
+
+ARCHALL = 1
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS     =
+TEST_SCRIPTS      =
+INSTALL_SCRIPTS   = facter
+
+CHECKPKG_OVERRIDES_CSWfacter += file-with-bad-content|/usr/local|root/opt/csw/lib/ruby/site_ruby/2.0.0/facter/ssh.rb
+CHECKPKG_OVERRIDES_CSWfacter += file-with-bad-content|/usr/local|root/opt/csw/lib/ruby/site_ruby/2.0.0/facter/Cfkey.rb
+CHECKPKG_OVERRIDES_CSWfacter += file-with-bad-content|/usr/local|root/opt/csw/lib/ruby/site_ruby/2.0.0/facter/util/manufacturer.rb
+CHECKPKG_OVERRIDES_CSWfacter += file-collision|/opt/csw/bin/facter|CSWfacter|CSWfacter-ruby18
+CHECKPKG_OVERRIDES_CSWfacter += file-collision|/opt/csw/share/man/man8/facter.8|CSWfacter|CSWfacter-ruby18
+
+include gar/category.mk
+
+install-facter:
+	(cd $(WORKDIR)/$(DISTNAME); ruby2.0 install.rb --destdir=$(DESTDIR))
+	# we depend on ruby20 so fix the shebang
+	find $(DESTDIR)$(bindir) -type f -depth -print | xargs -n 1 gsed -i -e '1 s|ruby$$|ruby2.0|g'
+	gunzip $(DESTDIR)/$(mandir)/man8/facter.8.gz


Property changes on: csw/mgar/pkg/facter2/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: csw/mgar/pkg/facter2/trunk/checksums
===================================================================
--- csw/mgar/pkg/facter2/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/facter2/trunk/checksums	2015-01-19 19:41:00 UTC (rev 24573)
@@ -0,0 +1 @@
+7bb6dbeaef86cd79300b4723c06932bc  facter-2.3.0.tar.gz

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