[arch-commits] Commit in puppet5/repos/community-testing-any (4 files)
Christian Rebischke
shibumi at archlinux.org
Mon Nov 19 09:10:54 UTC 2018
Date: Monday, November 19, 2018 @ 09:10:54
Author: shibumi
Revision: 408771
archrelease: copy trunk to community-testing-any
Added:
puppet5/repos/community-testing-any/PKGBUILD
(from rev 408770, puppet5/trunk/PKGBUILD)
puppet5/repos/community-testing-any/puppet.install
(from rev 408770, puppet5/trunk/puppet.install)
Deleted:
puppet5/repos/community-testing-any/PKGBUILD
puppet5/repos/community-testing-any/puppet.install
----------------+
PKGBUILD | 120 +++++++++++++++++++++++++++----------------------------
puppet.install | 10 ++--
2 files changed, 66 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-19 09:10:48 UTC (rev 408770)
+++ PKGBUILD 2018-11-19 09:10:54 UTC (rev 408771)
@@ -1,59 +0,0 @@
-# Maintainer: 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>
-
-_pkgname=puppet
-pkgname=puppet5
-pkgver=5.5.8
-pkgrel=1
-pkgdesc="Server automation framework and application"
-arch=('any')
-url="https://puppet.com/products/open-source-projects"
-license=('Apache')
-depends=('facter' 'hiera')
-optdepends=('ruby-shadow: user password management')
-backup=('etc/puppetlabs/puppet/auth.conf'
- 'etc/puppetlabs/puppet/puppet.conf')
-install=$_pkgname.install
-source=(https://downloads.puppetlabs.com/$_pkgname/$_pkgname-$pkgver.tar.gz)
-md5sums=('416e3a34ee78d6e6df1f8077807a838a')
-conflicts=('puppet')
-provides=('puppet')
-
-prepare() {
- cd $_pkgname-$pkgver
-
- # FS#45044: fix file location
- sed -i 's_/opt/puppetlabs/puppet_/usr_' ext/systemd/puppet.service
-}
-
-package() {
- cd $_pkgname-$pkgver
-
- 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
-}
Copied: puppet5/repos/community-testing-any/PKGBUILD (from rev 408770, puppet5/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-19 09:10:54 UTC (rev 408771)
@@ -0,0 +1,61 @@
+# Maintainer: 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>
+
+_pkgname=puppet
+pkgname=puppet5
+pkgver=5.5.8
+pkgrel=2
+pkgdesc="Server automation framework and application"
+arch=('any')
+url="https://puppet.com/products/open-source-projects"
+license=('Apache')
+depends=('facter' 'hiera')
+optdepends=('ruby-shadow: user password management')
+backup=('etc/puppetlabs/puppet/auth.conf'
+ 'etc/puppetlabs/puppet/puppet.conf')
+install=$_pkgname.install
+source=("https://downloads.puppetlabs.com/$_pkgname/$_pkgname-$pkgver.tar.gz"{,.asc})
+sha512sums=('2ed960c0fcd4f6b0a7eacfffd8bc3ca88387bade0ce5ac6cbb247752f18927959286b1238c146d3d2bda7f8bee171fc502b44b129c4778feafbda90d993ee816'
+ 'SKIP')
+validpgpkeys=('6F6B15509CF8E59E6E469F327F438280EF8D349F')
+conflicts=('puppet')
+provides=('puppet')
+
+prepare() {
+ cd $_pkgname-$pkgver
+
+ # FS#45044: fix file location
+ sed -i 's_/opt/puppetlabs/puppet_/usr_' ext/systemd/puppet.service
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ 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
+}
Deleted: puppet.install
===================================================================
--- puppet.install 2018-11-19 09:10:48 UTC (rev 408770)
+++ puppet.install 2018-11-19 09:10:54 UTC (rev 408771)
@@ -1,5 +0,0 @@
-pre_remove() {
- if [[ -f /run/puppetlabs/agent.pid ]]; then
- systemctl stop puppet
- fi
-}
Copied: puppet5/repos/community-testing-any/puppet.install (from rev 408770, puppet5/trunk/puppet.install)
===================================================================
--- puppet.install (rev 0)
+++ puppet.install 2018-11-19 09:10:54 UTC (rev 408771)
@@ -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