[arch-commits] Commit in pcp/repos (4 files)

Felix Yan felixonmars at archlinux.org
Sun Jun 21 16:24:49 UTC 2020


    Date: Sunday, June 21, 2020 @ 16:24:48
  Author: felixonmars
Revision: 649782

archrelease: copy trunk to community-staging-x86_64

Added:
  pcp/repos/community-staging-x86_64/
  pcp/repos/community-staging-x86_64/PKGBUILD
    (from rev 649780, pcp/trunk/PKGBUILD)
  pcp/repos/community-staging-x86_64/sysuser.conf
    (from rev 649780, pcp/trunk/sysuser.conf)
  pcp/repos/community-staging-x86_64/tmpfile.conf
    (from rev 649780, pcp/trunk/tmpfile.conf)

--------------+
 PKGBUILD     |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 sysuser.conf |    1 +
 tmpfile.conf |    7 +++++++
 3 files changed, 54 insertions(+)

Copied: pcp/repos/community-staging-x86_64/PKGBUILD (from rev 649780, pcp/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-06-21 16:24:48 UTC (rev 649782)
@@ -0,0 +1,46 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Iwan Timmer <irtimmer at gmail.com>
+
+pkgname=pcp
+pkgver=5.1.1
+pkgrel=2
+pkgdesc="System performance analysis toolkit"
+arch=('x86_64')
+url="https://pcp.io"
+license=('LGPL')
+depends=('python' 'avahi' 'procps-ng' 'which')
+makedepends=('libmicrohttpd' 'cairo' 'qt5-svg')
+optdepends=('libmicrohttpd: support for pmwebd'
+            'cairo: support for pmwebd'
+            'qt5-svg: support for PCP-GUI and pmchart'
+            'perl-xml-tokeparser: support for sar2pcp'
+            'perl-date-parse: support for sar2pcp')
+source=("https://github.com/performancecopilot/pcp/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+        "sysuser.conf"
+        "tmpfile.conf")
+sha256sums=('70b2cec444fbd6f6db5f544a84f93f436417a03cc3d1963c39b0525ac9b45609'
+            '3e21ef7925296f73c91fe85c8dba341ce00366163845dd8993e2813b0ad5e4a4'
+            '0166ffea180527de5a48a8e8f145cc80860b93e8f44bc5f96836c3d1cb4b01a2')
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --libexecdir=/usr/lib \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --with-rundir=/run/pcp \
+    --without-dstat-symlink
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DIST_ROOT="$pkgdir" PCP_USER=root PCP_GROUP=root install
+
+  install -D -m644 "$srcdir"/sysuser.conf "$pkgdir"/usr/lib/sysusers.d/pcp.conf
+  install -D -m644 "$srcdir"/tmpfile.conf "$pkgdir"/usr/lib/tmpfiles.d/pcp.conf
+
+  rm -vrf "$pkgdir"/var/lib/pcp/testsuite "$pkgdir"/run "$pkgdir"/var/tmp
+}

Copied: pcp/repos/community-staging-x86_64/sysuser.conf (from rev 649780, pcp/trunk/sysuser.conf)
===================================================================
--- community-staging-x86_64/sysuser.conf	                        (rev 0)
+++ community-staging-x86_64/sysuser.conf	2020-06-21 16:24:48 UTC (rev 649782)
@@ -0,0 +1 @@
+u pcp - "Performance Co-Pilot" /var/lib/pcp

Copied: pcp/repos/community-staging-x86_64/tmpfile.conf (from rev 649780, pcp/trunk/tmpfile.conf)
===================================================================
--- community-staging-x86_64/tmpfile.conf	                        (rev 0)
+++ community-staging-x86_64/tmpfile.conf	2020-06-21 16:24:48 UTC (rev 649782)
@@ -0,0 +1,7 @@
+d /etc/pcp/nssdb 775 pcp pcp
+d /run/pcp 775 pcp pcp
+Z /var/log/pcp 775 pcp pcp
+Z /var/lib/pcp/config/pmie 775 pcp pcp
+Z /var/lib/pcp/config/pmlogger 775 pcp pcp
+Z /var/lib/pcp/config/pmda 775 pcp pcp
+Z /var/lib/pcp/tmp 775 pcp pcp



More information about the arch-commits mailing list