SF.net SVN: gar:[24230] csw/mgar/pkg/facter/trunk

tosmi at users.sourceforge.net tosmi at users.sourceforge.net
Thu Oct 30 22:10:41 CET 2014


Revision: 24230
          http://sourceforge.net/p/gar/code/24230
Author:   tosmi
Date:     2014-10-30 21:10:41 +0000 (Thu, 30 Oct 2014)
Log Message:
-----------
update facter to 1.7.6

we also require ruby20 now, so its consistend with puppet3 > 3.3.1

Modified Paths:
--------------
    csw/mgar/pkg/facter/trunk/Makefile
    csw/mgar/pkg/facter/trunk/checksums

Modified: csw/mgar/pkg/facter/trunk/Makefile
===================================================================
--- csw/mgar/pkg/facter/trunk/Makefile	2014-10-30 21:09:14 UTC (rev 24229)
+++ csw/mgar/pkg/facter/trunk/Makefile	2014-10-30 21:10:41 UTC (rev 24230)
@@ -3,7 +3,7 @@
 # $Id$
 
 NAME = facter
-VERSION = 1.7.1
+VERSION = 1.7.6
 GARTYPE = v2
 
 DESCRIPTION = A system fact gatherer
@@ -23,7 +23,7 @@
 SPKG_SOURCEURL = http://puppetlabs.com/
 LICENSE        = LICENSE
 
-RUNTIME_DEP_PKGS = CSWruby18
+RUNTIME_DEP_PKGS = CSWruby20
 BUILD_DEP_PKGS  = $(RUNTIME_DEP_PKGS)
 
 ARCHALL = 1
@@ -39,5 +39,7 @@
 include gar/category.mk
 
 install-facter:
-	(cd $(WORKDIR)/$(DISTNAME); ruby install.rb --destdir=$(DESTDIR))
+	(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

Modified: csw/mgar/pkg/facter/trunk/checksums
===================================================================
--- csw/mgar/pkg/facter/trunk/checksums	2014-10-30 21:09:14 UTC (rev 24229)
+++ csw/mgar/pkg/facter/trunk/checksums	2014-10-30 21:10:41 UTC (rev 24230)
@@ -1,11 +1 @@
-21db7b613fe14a54e72ef062f3d5e190  facter-1.5.7.tar.gz
-4dd4daebc59fa985b8aa7eb247ac4030  facter-1.5.8.tar.gz
-435553aace9781ecff5dae593abc15fa  facter-1.5.9.tar.gz
-bf7e384bf247935e973cfd7bf5592dfe  facter-1.6.0.tar.gz
-bd7224e2f5b3743c3a81fb7680c26729  facter-1.6.4.tar.gz
-47670a59301d6c3e31a1c68747b139c8  facter-1.6.6.tar.gz
-945a332e46ccc59663b09fc7d3ce1086  facter-1.6.11.tar.gz
-573bf01ff662f4a3391a7e558b91d65d  facter-1.6.12.tar.gz
-b6c3df8ad1781c10d30785c58a4504ef  facter-1.6.14.tar.gz
-c209df5909ccd4112c19cf4b535027a7  facter-1.6.18.tar.gz
-fed2e78a44324505adfc7c6c09ca30f4  facter-1.7.1.tar.gz
+f29d0c33de0ec4d08c8a1b5f645f6399  facter-1.7.6.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