From nobody Tue Oct 01 07:03:45 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XHpnY4Bgbz5XNr0; Tue, 01 Oct 2024 07:03:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XHpnY3drcz4Ztr; Tue, 1 Oct 2024 07:03:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727766225; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4QKO8erWjOn5eGkVM6wKNGci0c74ZSeVcl3gG+dRM18=; b=L7GEunLc3H2/NWsHMIPLCgjuAjmn178+Q+5bUOG8J8UllQK1J3XUNrKEkKKiSjvX1hzDje gErtb544iYAjNUsb2tvOE1qIt3bSL+V05YjPuQeoLzYK33Mt6eGRxkL4jo9kN5EiNYMJJV kenMEhfPPRI5EkWoOsBVUO+Wlr68Ybar9J04FMU15AAu6Sae+hxh0jHHGqFU/OSvC9SdIg OqMrkIlSmjHjPRpnbXevli6rTsBM5cY1BBJQ4dT1ZB6pegP92pfgpiJNSK14JHVGomQG/V eRKMOx7fdlSF1BbnxPchRXUXD/gbpFLZogXS0pOsYPAWDJdIpkEWTwJlLLVCGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727766225; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4QKO8erWjOn5eGkVM6wKNGci0c74ZSeVcl3gG+dRM18=; b=qNVtOEewgfWPEp5lZp6vCdfZ9ruiZRS+biWH5e5AuwWIE2xGxK5I9AoHizk3dFhg5rtUOd PRP3MN8sZHq1xNF29qwKA+/iGYEF5yqDSjAlT4YTLY+tv343EoIb0Z7aNhlKpeaidGu1Kf IHYYwRQ22I2BsS2ZRTO1QqVBjnbVwJR2dEyRaPcrX7Lter70HgdfvBEZKu3J9am9MWCXk/ mfLrlQQmKtg4Ld7Xf23rkgqM3S1QdWQO9LcV75RxecKNpD8fP7Crw/koq5QriiGTsA1nZT MFpjzl++dErzsoCXvOmlID7t+MFD9Im1u3DqdPIpPJlquQmgARGulV54egan3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727766225; a=rsa-sha256; cv=none; b=wPqWS1o28L909KwVUPAi5w1r9KYF7ZUu3sW3DUNP8wWYIzMeZ87Cq30JPzMUK+1axzDfAJ Ehg2nVAdxKJATamPMKYaSewB3YWS+9P3ZXsRv9nn/psnMnW5+B0ZyZXedsLdpZI+502+Tj 6jqMe6QhJY92Bfbq0vOPjJrMp8F2SXnLGhq3UWyfCyZHzCpXCc7cGjvFWka470G/atNTn2 UsdqA/aqxjbtNMgGsTkAw0cn//1aUUFQ/lOd7Nyw+kNq/PKgwJ+KnzVwfbSfW0H2JV86vY xPuVrO7KVr29n5YuwUs87rqIlk6wg3xlRY8Ck9xHR94tho4oSMlujFNG64bkKw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XHpnY3BcYzSZy; Tue, 1 Oct 2024 07:03:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49173jhH011233; Tue, 1 Oct 2024 07:03:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49173j75011230; Tue, 1 Oct 2024 07:03:45 GMT (envelope-from git) Date: Tue, 1 Oct 2024 07:03:45 GMT Message-Id: <202410010703.49173j75011230@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Romain =?utf-8?Q?Tarti=C3=A8re?= Subject: git: 29d5e9f2c22c - main - devel/rubygem-puppet-modulebuilder: New port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: romain X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 29d5e9f2c22c5c27f165929f8b8236401f09aeb8 Auto-Submitted: auto-generated The branch main has been updated by romain: URL: https://cgit.FreeBSD.org/ports/commit/?id=29d5e9f2c22c5c27f165929f8b8236401f09aeb8 commit 29d5e9f2c22c5c27f165929f8b8236401f09aeb8 Author: Romain Tartière AuthorDate: 2024-10-01 06:52:23 +0000 Commit: Romain Tartière CommitDate: 2024-10-01 07:03:34 +0000 devel/rubygem-puppet-modulebuilder: New port The purpose of this tool is to take a given local module directory and compile it into a .tar file, known as the tarball, that can then be installed directly by Puppet on a target machine or uploaded onto the Puppet Forge so that it can be accessed publicly. As part of this process any non-deliverable aspects of the module, parts of it related to the modules development or testing for example, are stripped away leaving only the documentation and the puppet/ruby code that is needed for the module to function. The parts of the module to be excluded are defined in a .pdkignore, .pmtignore or .gitignore file with the first one to be found in this given order being used. Any directories or files that are listed in the ignore file are then excluded, allowing the user to customize what is and what is not excluded. It should have been committed prior to the update of devel/rubygem-pdk in 2891c0317f0e82c88fa061df625a5ffae826c6be but slipped through. PR: 281772 Reported by: cperciva, meta, Trond.Endrestol@ximalas.info --- devel/Makefile | 1 + devel/rubygem-puppet-modulebuilder/Makefile | 19 +++++++++++++++++++ devel/rubygem-puppet-modulebuilder/distinfo | 3 +++ .../files/patch-puppet-modulebuilder.gemspec | 10 ++++++++++ devel/rubygem-puppet-modulebuilder/pkg-descr | 14 ++++++++++++++ 5 files changed, 47 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 68192d2c0cde..374bdff53b8b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7574,6 +7574,7 @@ SUBDIR += rubygem-pry-remote-em SUBDIR += rubygem-pstore SUBDIR += rubygem-ptreloaded + SUBDIR += rubygem-puppet-modulebuilder SUBDIR += rubygem-puppet-resource_api SUBDIR += rubygem-pygments.rb SUBDIR += rubygem-que diff --git a/devel/rubygem-puppet-modulebuilder/Makefile b/devel/rubygem-puppet-modulebuilder/Makefile new file mode 100644 index 000000000000..546eb9b640b8 --- /dev/null +++ b/devel/rubygem-puppet-modulebuilder/Makefile @@ -0,0 +1,19 @@ +PORTNAME= puppet-modulebuilder +DISTVERSION= 1.0.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= puppet@FreeBSD.org +COMMENT= Reference implementation for building Puppet modules from source +WWW= https://github.com/puppetlabs/puppet-modulebuilder + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-minitar0>=0.9<1:archivers/rubygem-minitar0 \ + rubygem-pathspec>=0.2.1:devel/rubygem-pathspec + +USES= gem +NO_ARCH= yes + +.include diff --git a/devel/rubygem-puppet-modulebuilder/distinfo b/devel/rubygem-puppet-modulebuilder/distinfo new file mode 100644 index 000000000000..30ab5414cb02 --- /dev/null +++ b/devel/rubygem-puppet-modulebuilder/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1726334924 +SHA256 (rubygem/puppet-modulebuilder-1.0.0.gem) = cf9d9e8146aeae780b7c61f30847a4cb631debcf708c21281976d5ed79820cfd +SIZE (rubygem/puppet-modulebuilder-1.0.0.gem) = 16896 diff --git a/devel/rubygem-puppet-modulebuilder/files/patch-puppet-modulebuilder.gemspec b/devel/rubygem-puppet-modulebuilder/files/patch-puppet-modulebuilder.gemspec new file mode 100644 index 000000000000..a8ae165dbbe7 --- /dev/null +++ b/devel/rubygem-puppet-modulebuilder/files/patch-puppet-modulebuilder.gemspec @@ -0,0 +1,10 @@ +--- puppet-modulebuilder.gemspec.orig 2024-09-14 17:43:35 UTC ++++ puppet-modulebuilder.gemspec +@@ -22,6 +22,6 @@ Gem::Specification.new do |s| + s.specification_version = 4 + + s.add_runtime_dependency(%q.freeze, ["~> 0.9".freeze]) +- s.add_runtime_dependency(%q.freeze, [">= 0.2.1".freeze, "< 2.0.0".freeze]) ++ s.add_runtime_dependency(%q.freeze, [">= 0.2.1".freeze, "< 3.0.0".freeze]) + end + diff --git a/devel/rubygem-puppet-modulebuilder/pkg-descr b/devel/rubygem-puppet-modulebuilder/pkg-descr new file mode 100644 index 000000000000..1c81dff923c2 --- /dev/null +++ b/devel/rubygem-puppet-modulebuilder/pkg-descr @@ -0,0 +1,14 @@ +The purpose of this tool is to take a given local module directory and compile +it into a .tar file, known as the tarball, that can then be installed directly +by Puppet on a target machine or uploaded onto the Puppet Forge so that it can +be accessed publicly. + +As part of this process any non-deliverable aspects of the module, parts of it +related to the modules development or testing for example, are stripped away +leaving only the documentation and the puppet/ruby code that is needed for the +module to function. + +The parts of the module to be excluded are defined in a .pdkignore, .pmtignore +or .gitignore file with the first one to be found in this given order being +used. Any directories or files that are listed in the ignore file are then +excluded, allowing the user to customize what is and what is not excluded.