Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7FDD5E00521; Tue, 2 Dec 2014 19:00:24 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [65.55.169.122 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0122.outbound.protection.outlook.com [65.55.169.122]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 013AEE00521 for ; Tue, 2 Dec 2014 19:00:21 -0800 (PST) Received: from CH1PR03CA007.namprd03.prod.outlook.com (10.255.156.152) by BN1PR0301MB0756.namprd03.prod.outlook.com (25.160.78.150) with Microsoft SMTP Server (TLS) id 15.1.26.15; Wed, 3 Dec 2014 03:00:17 +0000 Received: from BL2FFO11FD048.protection.gbl (10.255.156.132) by CH1PR03CA007.outlook.office365.com (10.255.156.152) with Microsoft SMTP Server (TLS) id 15.1.26.15 via Frontend Transport; Wed, 3 Dec 2014 03:00:17 +0000 Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD048.mail.protection.outlook.com (10.173.161.210) with Microsoft SMTP Server (TLS) id 15.1.6.13 via Frontend Transport; Wed, 3 Dec 2014 03:00:17 +0000 Received: from sun.ap.freescale.net (sun.ap.freescale.net [10.192.208.75]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id sB330Ert021151; Tue, 2 Dec 2014 20:00:15 -0700 From: YangHaibo To: Date: Wed, 3 Dec 2014 11:00:11 +0800 Message-ID: <1417575611-10434-1-git-send-email-b40869@freescale.com> X-Mailer: git-send-email 1.9.2 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(377424004)(88136002)(87936001)(95666004)(106466001)(89996001)(87286001)(105606002)(84676001)(62966003)(450100001)(77156002)(4396001)(31966008)(50226001)(21056001)(86362001)(92566001)(92726001)(93916002)(50986999)(120916001)(33646002)(36756003)(110136001)(104016003)(97736003)(99396003)(15975445006)(104166001)(46102003)(50466002)(48376002)(102836001)(68736005)(107046002)(2351001)(229853001)(77096005)(64706001)(44976005)(20776003)(47776003)(6806004)(19580395003)(19580405001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR0301MB0756; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BN1PR0301MB0756; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:BN1PR0301MB0756; X-Forefront-PRVS: 0414DF926F Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=B40869@freescale.com; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:BN1PR0301MB0756; X-OriginatorOrg: freescale.com Subject: [PATCH] hiera: add recipe for hiera 1.3.4 X-BeenThere: meta-virtualization@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Discussion of layer enabling hypervisor, virtualization tool stack, and cloud support" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2014 03:00:24 -0000 Content-Type: text/plain --- .../hiera/hiera/add_hiera_gemspec.patch | 23 ++++++++++++++++++++++ .../recipes-support/hiera/hiera_1.3.4.bb | 20 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 meta-openstack/recipes-support/hiera/hiera/add_hiera_gemspec.patch create mode 100644 meta-openstack/recipes-support/hiera/hiera_1.3.4.bb diff --git a/meta-openstack/recipes-support/hiera/hiera/add_hiera_gemspec.patch b/meta-openstack/recipes-support/hiera/hiera/add_hiera_gemspec.patch new file mode 100644 index 0000000..7e302cf --- /dev/null +++ b/meta-openstack/recipes-support/hiera/hiera/add_hiera_gemspec.patch @@ -0,0 +1,23 @@ +diff -urN hiera-1.3.4_ori/hiera.gemspec hiera-1.3.4/hiera.gemspec +--- hiera-1.3.4_ori/hiera.gemspec 1970-01-01 08:00:00.000000000 +0800 ++++ hiera-1.3.4/hiera.gemspec 2014-11-12 14:30:07.000000000 +0800 +@@ -0,0 +1,19 @@ ++$:.unshift(File.dirname(__FILE__) + '/lib') ++require 'hiera/version' ++ ++Gem::Specification.new do |s| ++ s.name = 'hiera' ++ s.version = Hiera::VERSION ++ s.platform = Gem::Platform::RUBY ++ s.summary = 'A simple pluggable Hierarchical Database.' ++ s.description = s.summary ++ s.author = 'Yang Haibo' ++ s.email = 'b40869@freescale.com' ++ s.homepage = 'https://projects.puppetlabs.com/projects/hiera' ++ s.license = 'Apache 2.0' ++ ++ s.bindir = 'bin' ++ s.executables = ['hiera'] ++ s.require_path = 'lib' ++ s.files = %w(LICENSE README.md Rakefile) + Dir.glob('{lib,spec}/**/*') ++end diff --git a/meta-openstack/recipes-support/hiera/hiera_1.3.4.bb b/meta-openstack/recipes-support/hiera/hiera_1.3.4.bb new file mode 100644 index 0000000..eb633ff --- /dev/null +++ b/meta-openstack/recipes-support/hiera/hiera_1.3.4.bb @@ -0,0 +1,20 @@ +SUMMARY = "A simple pluggable Hierarchical Database" +HOMEPAGE = "https://projects.puppetlabs.com/projects/hiera" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=8ac92c91fbec097f798223679c1a7491" + +SRC_URI = " \ + https://downloads.puppetlabs.com/hiera/hiera-${PV}.tar.gz \ + file://add_hiera_gemspec.patch \ +" +SRC_URI[md5sum] = "6abccc518edb55291a63129ef30888cd" +SRC_URI[sha256sum] = "d3ecbfedc7d8493fd00c7dd624efbb225705d289442fe7706cb81a3a7230e70e" + + +inherit ruby + +DEPENDS += " \ + ruby \ +" + +RUBY_INSTALL_GEMS = "hiera-${PV}.gem" -- 1.9.2