[arch-commits] Commit in oprofile/trunk (PKGBUILD oprofile.install oprofile.sysusers)

Eli Schwartz eschwartz at archlinux.org
Tue Jan 9 20:13:15 UTC 2018


    Date: Tuesday, January 9, 2018 @ 20:13:14
  Author: eschwartz
Revision: 280759

upgpkg: oprofile 1.2.0-2

migrate to systemd-sysusers

Added:
  oprofile/trunk/oprofile.sysusers
Modified:
  oprofile/trunk/PKGBUILD
Deleted:
  oprofile/trunk/oprofile.install

-------------------+
 PKGBUILD          |    9 +++++----
 oprofile.install  |    8 --------
 oprofile.sysusers |    1 +
 3 files changed, 6 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-09 20:11:02 UTC (rev 280758)
+++ PKGBUILD	2018-01-09 20:13:14 UTC (rev 280759)
@@ -3,7 +3,7 @@
 
 pkgname=oprofile
 pkgver=1.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc='System-wide profiler for Linux systems'
 arch=('x86_64')
 url="http://oprofile.sourceforge.net"
@@ -10,9 +10,10 @@
 license=('GPL')
 depends=('popt' 'gcc-libs' 'zlib' 'sh')
 options=('staticlibs')
-install=oprofile.install
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
-sha1sums=('7bf28b74953bd042ff23dc53c399be96d37f144c')
+source=(https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
+        oprofile.sysusers)
+sha1sums=('7bf28b74953bd042ff23dc53c399be96d37f144c'
+          'efcd625073759b69f95cf74dbb4c2839e03af017')
 
 build() {
   cd $pkgname-$pkgver

Deleted: oprofile.install
===================================================================
--- oprofile.install	2018-01-09 20:11:02 UTC (rev 280758)
+++ oprofile.install	2018-01-09 20:13:14 UTC (rev 280759)
@@ -1,8 +0,0 @@
-post_install(){
-  post_upgrade $1 ''
-}
-
-post_upgrade(){
-  getent group oprofile >/dev/null || groupadd -g 492 oprofile &>/dev/null
-  getent passwd oprofile >/dev/null || useradd -u 492 -g oprofile -d /var/lib/oprofile -s /bin/false oprofile &>/dev/null
-}

Added: oprofile.sysusers
===================================================================
--- oprofile.sysusers	                        (rev 0)
+++ oprofile.sysusers	2018-01-09 20:13:14 UTC (rev 280759)
@@ -0,0 +1 @@
+u oprofile 492 - /var/lib/oprofile



More information about the arch-commits mailing list