[arch-commits] Commit in puppet/repos/community-any (4 files)
Thore Bödecker
foxxx0 at archlinux.org
Fri Oct 30 17:00:34 UTC 2020
Date: Friday, October 30, 2020 @ 17:00:34
Author: foxxx0
Revision: 736779
archrelease: copy trunk to community-any
Added:
puppet/repos/community-any/PKGBUILD
(from rev 736778, puppet/trunk/PKGBUILD)
puppet/repos/community-any/puppet.install
(from rev 736778, puppet/trunk/puppet.install)
Deleted:
puppet/repos/community-any/PKGBUILD
puppet/repos/community-any/puppet.install
----------------+
PKGBUILD | 234 ++++++++++++++++++++++++++++---------------------------
puppet.install | 10 +-
2 files changed, 125 insertions(+), 119 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-30 17:00:30 UTC (rev 736778)
+++ PKGBUILD 2020-10-30 17:00:34 UTC (rev 736779)
@@ -1,114 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Jonathan Steel <jsteel at archlinux.org>
-# Contributor: Greg Sutcliffe <puppet-aur (at) emeraldreverie (dot) org>
-# Contributor: Hyacinthe Cartiaux <hyacinthe (dot) cartiaux (at) free (dot) fr>
-# Contributor: Thomas S Hatch <thatch45 (at) Gmail (dot) com>
-# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
-# Contributor: Miah Johnson <miah (at) chia-pet dot org>
-# Contributor: Dave Simons <miouhpi (at) Gmail (dot) com>
-# Contributor: Niels Abspoel <aboe76 (at) Gmail (dot) com>
-# Contributor: Tim Meusel <tim (at) bastelfreak (dot) de>
-
-pkgname=puppet
-pkgver=6.18.0
-pkgrel=1
-pkgdesc="Server automation framework and application"
-arch=('any')
-url="https://puppet.com/products/open-source-projects"
-license=('Apache')
-depends=('ruby' 'facter' 'hiera' 'ruby-semantic_puppet' 'ruby-augeas'
-'ruby-shadow' 'ruby-concurrent' 'ruby-multi_json' 'ruby-puppet-resource_api'
-'ruby-httpclient' 'ruby-deep_merge' 'ruby-sync')
-makedepends=('git' 'ruby-rspec')
-checkdepends=('ruby-rake' 'ruby-rspec' 'ruby-yard')
-backup=('etc/puppetlabs/puppet/auth.conf'
- 'etc/puppetlabs/puppet/puppet.conf'
- 'etc/puppetlabs/puppet/hiera.yaml')
-install="$pkgname.install"
-
-_augeas_commit=416e8fe9df9d467289e2923c083367b04e7d8bd1
-_cron_commit=cebfbf3365b08e967366c8e1b26e0297d17268d3
-_host_commit=34dca65fe54ba08bd764691e2619371c213df70b
-_mount_commit=1e56e2588058551360269472823bf3426c5e1900
-_selinux_commit=cfa0d78156c507f1e95a4fbd91bd5a7b0c2a2ddc
-_sshkeys_commit=8eacd67a7235fc36370084ef2b094ea2e032b536
-_yumrepo_commit=4bf78c89309e2539342aaed5b9c92ea6a0a96281
-_zfs_commit=98192e8adecd7fa60bcb8c49c6af62faeda22730
-_zone_commit=7880999cdcf15b9a3594b78a06e47399c78baba1
-
-source=("https://github.com/puppetlabs/puppet/archive/${pkgver}/puppet-${pkgver}.tar.gz"
- "augeas_core::git+https://github.com/puppetlabs/puppetlabs-augeas_core#commit=${_augeas_commit}"
- "cron_core::git+https://github.com/puppetlabs/puppetlabs-cron_core#commit=${_cron_commit}"
- "host_core::git+https://github.com/puppetlabs/puppetlabs-host_core#commit=${_host_commit}"
- "mount_core::git+https://github.com/puppetlabs/puppetlabs-mount_core#commit=${_mount_commit}"
- "selinux_core::git+https://github.com/puppetlabs/puppetlabs-selinux_core#commit=${_selinux_commit}"
- "sshkeys_core::git+https://github.com/puppetlabs/puppetlabs-sshkeys_core#commit=${_sshkeys_commit}"
- "yumrepo_core::git+https://github.com/puppetlabs/puppetlabs-yumrepo_core#commit=${_yumrepo_commit}"
- "zfs_core::git+https://github.com/puppetlabs/puppetlabs-zfs_core#commit=${_zfs_commit}"
- "zone_core::git+https://github.com/puppetlabs/puppetlabs-zone_core#commit=${_zone_commit}"
- )
-sha512sums=('35bd0d987a0b2fe716ae623a3b39a5d97f56e6db04f02b779527f32bd085f2fbc1530f8d3e9bcf87065aeedd2d877b1b7fe66219940489a9fca1be8506519e6f'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP')
-conflicts=('puppet5')
-provides=('puppet')
-
-prepare() {
- cd "${pkgname}-${pkgver}"
-
- # FS#45044: fix file location
- sed -i 's_/opt/puppetlabs/puppet_/usr_' ext/systemd/puppet.service
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- # This breaks right now due to missing dependencies
- #rake --tasks # show all tasks
- #rake commits # requires a git repo
- #rake warnings # requires a git repo
- #rake spec # run tests single threaded
- #rake parallel:spec[8]
-}
-
-package() {
- cd $pkgname-$pkgver
-
- # generate manpages | this breaks right now..
- #rake gen_manpages
-
- ruby install.rb --destdir="$pkgdir" --sitelibdir="$( ruby -e \
- 'puts RbConfig::CONFIG["vendorlibdir"]' )"
-
- install -d "$pkgdir"/usr/lib/{sysusers.d,tmpfiles.d}
-
- echo 'u puppet 52 "Puppet" /var/lib/puppet' > \
- "$pkgdir"/usr/lib/sysusers.d/$pkgname.conf
- echo "d /run/puppetlabs 0755 $pkgname $pkgname -" > \
- "$pkgdir"/usr/lib/tmpfiles.d/$pkgname.conf
-
- # systemd
- install -Dm644 "$srcdir"/$pkgname-$pkgver/ext/systemd/$pkgname.service \
- "$pkgdir"/usr/lib/systemd/system/$pkgname.service
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
- # Match permissions that puppet sets when running
- install -dm775 "$pkgdir"/var/lib/puppet
- chmod 750 "$pkgdir"/var/log/puppetlabs/puppet
-
- rm -r "$pkgdir"/var/run
-
- cd ..
- install --directory "${pkgdir}/opt/puppetlabs/puppet/vendor_modules/"
- mv *_core "${pkgdir}/opt/puppetlabs/puppet/vendor_modules/"
- # Search for unwanted directories and files and delete them
- find "${pkgdir}/opt/puppetlabs/puppet/vendor_modules/" -type d -name .git -or -name spec -exec rm -rf {} +
- find "${pkgdir}/opt/puppetlabs/puppet/vendor_modules/" -name '.*' -exec rm -rf {} +
-}
Copied: puppet/repos/community-any/PKGBUILD (from rev 736778, puppet/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-30 17:00:34 UTC (rev 736779)
@@ -0,0 +1,120 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Greg Sutcliffe <puppet-aur (at) emeraldreverie (dot) org>
+# Contributor: Hyacinthe Cartiaux <hyacinthe (dot) cartiaux (at) free (dot) fr>
+# Contributor: Thomas S Hatch <thatch45 (at) Gmail (dot) com>
+# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
+# Contributor: Miah Johnson <miah (at) chia-pet dot org>
+# Contributor: Dave Simons <miouhpi (at) Gmail (dot) com>
+# Contributor: Niels Abspoel <aboe76 (at) Gmail (dot) com>
+# Contributor: Tim Meusel <tim (at) bastelfreak (dot) de>
+
+pkgname=puppet
+pkgver=6.19.1
+pkgrel=1
+pkgdesc="Server automation framework and application"
+arch=('any')
+url="https://puppet.com/products/open-source-projects"
+license=('Apache')
+depends=('ruby' 'facter' 'hiera' 'ruby-semantic_puppet' 'ruby-augeas'
+'ruby-shadow' 'ruby-concurrent' 'ruby-multi_json' 'ruby-puppet-resource_api'
+'ruby-httpclient' 'ruby-deep_merge' 'ruby-sync')
+makedepends=('git' 'ruby-rake')
+checkdepends=('ruby-rspec' 'ruby-yard')
+backup=('etc/puppetlabs/puppet/auth.conf'
+ 'etc/puppetlabs/puppet/puppet.conf'
+ 'etc/puppetlabs/puppet/hiera.yaml')
+install="$pkgname.install"
+
+_augeas_commit=416e8fe9df9d467289e2923c083367b04e7d8bd1
+_cron_commit=cebfbf3365b08e967366c8e1b26e0297d17268d3
+_host_commit=34dca65fe54ba08bd764691e2619371c213df70b
+_mount_commit=1e56e2588058551360269472823bf3426c5e1900
+_selinux_commit=cfa0d78156c507f1e95a4fbd91bd5a7b0c2a2ddc
+_sshkeys_commit=8eacd67a7235fc36370084ef2b094ea2e032b536
+_yumrepo_commit=4bf78c89309e2539342aaed5b9c92ea6a0a96281
+_zfs_commit=6edb72f72d6ae309e5a8d668fbb9cc50ab5d3f24
+_zone_commit=7880999cdcf15b9a3594b78a06e47399c78baba1
+
+source=("https://github.com/puppetlabs/puppet/archive/${pkgver}/puppet-${pkgver}.tar.gz"
+ "augeas_core::git+https://github.com/puppetlabs/puppetlabs-augeas_core#commit=${_augeas_commit}"
+ "cron_core::git+https://github.com/puppetlabs/puppetlabs-cron_core#commit=${_cron_commit}"
+ "host_core::git+https://github.com/puppetlabs/puppetlabs-host_core#commit=${_host_commit}"
+ "mount_core::git+https://github.com/puppetlabs/puppetlabs-mount_core#commit=${_mount_commit}"
+ "selinux_core::git+https://github.com/puppetlabs/puppetlabs-selinux_core#commit=${_selinux_commit}"
+ "sshkeys_core::git+https://github.com/puppetlabs/puppetlabs-sshkeys_core#commit=${_sshkeys_commit}"
+ "yumrepo_core::git+https://github.com/puppetlabs/puppetlabs-yumrepo_core#commit=${_yumrepo_commit}"
+ "zfs_core::git+https://github.com/puppetlabs/puppetlabs-zfs_core#commit=${_zfs_commit}"
+ "zone_core::git+https://github.com/puppetlabs/puppetlabs-zone_core#commit=${_zone_commit}"
+ )
+sha512sums=('c0b12faf944c8b2450dfe859d8a866243d6bcce3d97b888988e53a187c96bed6b25f44f071735cbff627a9a6c6c5978094044ce5ff19438ada975d7ea054f2af'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
+conflicts=('puppet5')
+provides=('puppet')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+
+ # FS#45044: fix file location
+ sed -i 's_/opt/puppetlabs/puppet_/usr_' ext/systemd/puppet.service
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ # This breaks right now due to missing dependencies
+ #rake --tasks # show all tasks
+ #rake commits # requires a git repo
+ #rake warnings # requires a git repo
+ #rake spec # run tests single threaded
+ #rake parallel:spec[8]
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ local _gemdir="$(gem env gemdir)"
+
+ # install the gemspec file
+ # this allows other gems to load puppet as a library (for example puppet-strings)
+ install -Dm644 .gemspec "${pkgdir}/${_gemdir}/specifications/puppet-${pkgver}.gemspec"
+
+ # generate manpages | this breaks right now..
+ #rake gen_manpages
+
+ ruby install.rb --destdir="$pkgdir" --sitelibdir="$( ruby -e \
+ 'puts RbConfig::CONFIG["vendorlibdir"]' )"
+
+ install -d "$pkgdir"/usr/lib/{sysusers.d,tmpfiles.d}
+
+ echo 'u puppet 52 "Puppet" /var/lib/puppet' > \
+ "$pkgdir"/usr/lib/sysusers.d/$pkgname.conf
+ echo "d /run/puppetlabs 0755 $pkgname $pkgname -" > \
+ "$pkgdir"/usr/lib/tmpfiles.d/$pkgname.conf
+
+ # systemd
+ install -Dm644 "$srcdir"/$pkgname-$pkgver/ext/systemd/$pkgname.service \
+ "$pkgdir"/usr/lib/systemd/system/$pkgname.service
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ # Match permissions that puppet sets when running
+ install -dm775 "$pkgdir"/var/lib/puppet
+ chmod 750 "$pkgdir"/var/log/puppetlabs/puppet
+
+ rm -r "$pkgdir"/var/run
+
+ cd ..
+ install --directory "${pkgdir}/opt/puppetlabs/puppet/vendor_modules/"
+ mv *_core "${pkgdir}/opt/puppetlabs/puppet/vendor_modules/"
+ # Search for unwanted directories and files and delete them
+ find "${pkgdir}/opt/puppetlabs/puppet/vendor_modules/" -type d -name .git -or -name spec -exec rm -rf {} +
+ find "${pkgdir}/opt/puppetlabs/puppet/vendor_modules/" -name '.*' -exec rm -rf {} +
+}
Deleted: puppet.install
===================================================================
--- puppet.install 2020-10-30 17:00:30 UTC (rev 736778)
+++ puppet.install 2020-10-30 17:00:34 UTC (rev 736779)
@@ -1,5 +0,0 @@
-pre_remove() {
- if [[ -f /run/puppetlabs/agent.pid ]]; then
- systemctl stop puppet
- fi
-}
Copied: puppet/repos/community-any/puppet.install (from rev 736778, puppet/trunk/puppet.install)
===================================================================
--- puppet.install (rev 0)
+++ puppet.install 2020-10-30 17:00:34 UTC (rev 736779)
@@ -0,0 +1,5 @@
+pre_remove() {
+ if [[ -f /run/puppetlabs/agent.pid ]]; then
+ systemctl stop puppet
+ fi
+}
More information about the arch-commits
mailing list