diff options
| author | root <root@alpha.trunkmasters.com> | 2026-09-14 03:04:42 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-09-14 03:04:42 -0500 |
| commit | d09313d7f2546bde376a20ff739a5e90cb229e25 (patch) | |
| tree | a409e87d73f1fd8dc145a1210d1a44bb1b1982c7 /app-admin | |
| parent | 98066fc1faacac449ddea472e456f23ad0e2a515 (diff) | |
| download | baldeagleos-repo-d09313d7f2546bde376a20ff739a5e90cb229e25.tar.gz baldeagleos-repo-d09313d7f2546bde376a20ff739a5e90cb229e25.tar.xz baldeagleos-repo-d09313d7f2546bde376a20ff739a5e90cb229e25.zip | |
Adding metadata
Diffstat (limited to 'app-admin')
| -rw-r--r-- | app-admin/awscli/awscli-1.46.0.ebuild | 2 | ||||
| -rw-r--r-- | app-admin/openvox/openvox-8.27.0-r1.ebuild | 135 | ||||
| -rw-r--r-- | app-admin/puppet/puppet-8.10.0-r2.ebuild | 125 |
3 files changed, 261 insertions, 1 deletions
diff --git a/app-admin/awscli/awscli-1.46.0.ebuild b/app-admin/awscli/awscli-1.46.0.ebuild index 9a90371bff57..0f645e277a69 100644 --- a/app-admin/awscli/awscli-1.46.0.ebuild +++ b/app-admin/awscli/awscli-1.46.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86" # technically they bundle an older version but let's keep it in sync # with the latest, just in case diff --git a/app-admin/openvox/openvox-8.27.0-r1.ebuild b/app-admin/openvox/openvox-8.27.0-r1.ebuild new file mode 100644 index 000000000000..3bde779b8b59 --- /dev/null +++ b/app-admin/openvox/openvox-8.27.0-r1.ebuild @@ -0,0 +1,135 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRAINSTALL="locales" + +inherit ruby-fakegem systemd tmpfiles + +DESCRIPTION="OpenVox agent and apply tools for Puppet-compatible configuration management" +HOMEPAGE="https://github.com/OpenVoxProject/openvox" +SRC_URI="https://github.com/OpenVoxProject/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="augeas diff doc ldap selinux shadow sqlite test" + +ruby_add_rdepend " + dev-ruby/concurrent-ruby + dev-ruby/deep_merge + dev-ruby/fast_gettext + dev-ruby/getoptlong + dev-ruby/hocon + dev-ruby/json:= + dev-ruby/locale + dev-ruby/openfact + dev-ruby/ostruct + dev-ruby/puppet-resource_api:2 + dev-ruby/racc + dev-ruby/scanf + dev-ruby/semantic_puppet + virtual/ruby-ssl + augeas? ( dev-ruby/ruby-augeas ) + diff? ( dev-ruby/diff-lcs ) + doc? ( dev-ruby/rdoc ) + ldap? ( dev-ruby/ruby-ldap ) + shadow? ( dev-ruby/ruby-shadow ) + sqlite? ( dev-ruby/sqlite3 ) +" + +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( + dev-ruby/json-schema:0 + dev-ruby/mocha + dev-ruby/rack + dev-ruby/rspec-its + dev-ruby/scanf + dev-ruby/vcr:6 + dev-ruby/webrick + dev-ruby/webmock:3 + ) +" + +RDEPEND+=" + acct-group/puppet + acct-user/puppet + !app-admin/puppet + !app-admin/puppet-agent + >=app-portage/eix-0.18.0 + selinux? ( + sec-policy/selinux-puppet + sys-libs/libselinux[ruby] + ) +" + +PATCHES=( + "${FILESDIR}/openvox-systemd.patch" + "${FILESDIR}/openvox-spec-load-path.patch" +) + +all_ruby_prepare() { + # RDoc::Parser#initialize signature changed in rdoc 6.4+ (4 args vs 5) + rm spec/integration/util/rdoc/parser_spec.rb || die + + # puppetserver_gem provider tries to read /etc/puppetlabs/puppetserver/puppetserver.conf + sed -i '/puppet_gem provider_command.*list local gems/s/^\(\s*\)it /\1xit /' \ + spec/unit/provider/package/puppetserver_gem_spec.rb || die + + # TODO: investigate why these are failing + sed -i \ + -e '/ask the provider whether it is enabled/s/^\(\s*\)it /\1xit /' \ + -e '/enable the service if it is supposed to be enabled/s/^\(\s*\)it /\1xit /' \ + -e '/disable the service if it is supposed to be disabled/s/^\(\s*\)it /\1xit /' \ + spec/unit/type/service_spec.rb || die +} + +all_ruby_install() { + all_fakegem_install + + # agent systemd unit + systemd_newunit "${WORKDIR}/all/${P}/ext/systemd/puppet.service" openvox.service + + # tmpfiles + newtmpfiles "${FILESDIR}"/openvox.tmpfiles puppet.conf + + # agent openrc init + newinitd "${FILESDIR}/openvox.init" openvox + + keepdir /etc/puppetlabs/puppet/ssl + + keepdir /var/lib/puppet/facts + keepdir /var/lib/puppet/files + fowners -R puppet:puppet /var/lib/puppet + + fperms 0750 /var/lib/puppet + + fperms 0750 /etc/puppetlabs{,/puppet,/puppet/ssl} + fowners -R :puppet /etc/puppetlabs + + # ext and examples files + local f + while IFS= read -r -d '' f ; do + docinto "${f%/*}" + dodoc "${f}" + done < <(find ext examples -type f -print0 || die) +} + +pkg_postinst() { + tmpfiles_process puppet.conf + + elog + elog "OpenVox is a community fork of Puppet." + elog "All existing Puppet documentation and modules are compatible." + elog + elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" + elog "cause puppet to hang while installing packages." + elog + elog "Portage Puppet module with Gentoo-specific resources:" + elog "http://forge.puppetlabs.com/gentoo/portage" + elog +} diff --git a/app-admin/puppet/puppet-8.10.0-r2.ebuild b/app-admin/puppet/puppet-8.10.0-r2.ebuild new file mode 100644 index 000000000000..1cff290e2bf7 --- /dev/null +++ b/app-admin/puppet/puppet-8.10.0-r2.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +USE_RUBY="ruby32 ruby33 ruby34 ruby40" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="doc:all" +RUBY_FAKEGEM_EXTRAINSTALL="locales" + +inherit ruby-fakegem systemd tmpfiles + +DESCRIPTION="A system automation and configuration management software" +HOMEPAGE="https://www.puppet.com/" +SRC_URI="https://downloads.puppetlabs.com/puppet/${P}.tar.gz" + +LICENSE="Apache-2.0 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="augeas diff doc emacs hiera ldap rrdtool selinux shadow sqlite vim-syntax" +RESTRICT="test" + +ruby_add_rdepend " + hiera? ( dev-ruby/hiera ) + dev-ruby/json:= + dev-ruby/semantic_puppet + >=dev-ruby/facter-4.4.1 + dev-ruby/deep_merge + dev-ruby/concurrent-ruby + dev-ruby/puppet-resource_api + augeas? ( dev-ruby/ruby-augeas ) + diff? ( dev-ruby/diff-lcs ) + doc? ( dev-ruby/rdoc ) + ldap? ( dev-ruby/ruby-ldap ) + shadow? ( dev-ruby/ruby-shadow ) + sqlite? ( dev-ruby/sqlite3 ) + virtual/ruby-ssl + dev-ruby/hocon" + +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( + dev-ruby/mocha + dev-ruby/rack + dev-ruby/rspec-its + )" +# this should go in the above lists, but isn't because of test deps not being keyworded +# dev-ruby/rspec-collection_matchers + +RDEPEND+=" ${RDEPEND} + rrdtool? ( + || ( + >=dev-ruby/rrdtool-bindings-1.2.23 + >=net-analyzer/rrdtool-1.2.23[ruby(-)] + ) + ) + selinux? ( + sys-libs/libselinux[ruby] + sec-policy/selinux-puppet + ) + vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 ) + >=app-portage/eix-0.18.0 + acct-user/puppet + acct-group/puppet" +PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )" + +PATCHES=( + "${FILESDIR}"/puppet-openrc.patch +) + +all_ruby_prepare() { + # fix systemd path + eapply -p0 "${FILESDIR}/puppet-systemd.patch" +} + +each_ruby_install() { + each_fakegem_install +# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" \ +# "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}" +} + +all_ruby_install() { + all_fakegem_install + + # systemd stuffs + systemd_dounit "${WORKDIR}/all/${P}/ext/systemd/puppet.service" + + # tmpfiles stuff + newtmpfiles "${FILESDIR}/tmpfiles.d-2" "puppet.conf" + + # openrc init stuff + newinitd "${FILESDIR}"/puppet.init puppet + + keepdir /etc/puppetlabs/puppet/ssl + + keepdir /var/lib/puppet/facts + keepdir /var/lib/puppet/files + fowners -R puppet:puppet /var/lib/puppet + + fperms 0750 /var/lib/puppet + + fperms 0750 /etc/puppetlabs + fperms 0750 /etc/puppetlabs/puppet + fperms 0750 /etc/puppetlabs/puppet/ssl + fowners -R :puppet /etc/puppetlabs + fowners -R :puppet /var/lib/puppet + + # ext and examples files + for f in $(find ext examples -type f) ; do + docinto "$(dirname ${f})" + dodoc "${f}" + done +} + +pkg_postinst() { + tmpfiles_process puppet.conf + + elog + elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" + elog "cause puppet to hang while installing packages." + elog + elog "Portage Puppet module with Gentoo-specific resources:" + elog "http://forge.puppetlabs.com/gentoo/portage" + elog +} |
