[arch-commits] Commit in oprofile/repos (6 files)

2015-12-05 Thread Allan McRae
Date: Saturday, December 5, 2015 @ 16:32:39
  Author: allan
Revision: 148488

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  oprofile/repos/community-staging-i686/
  oprofile/repos/community-staging-i686/PKGBUILD
(from rev 148487, oprofile/trunk/PKGBUILD)
  oprofile/repos/community-staging-i686/oprofile.install
(from rev 148487, oprofile/trunk/oprofile.install)
  oprofile/repos/community-staging-x86_64/
  oprofile/repos/community-staging-x86_64/PKGBUILD
(from rev 148487, oprofile/trunk/PKGBUILD)
  oprofile/repos/community-staging-x86_64/oprofile.install
(from rev 148487, oprofile/trunk/oprofile.install)

---+
 community-staging-i686/PKGBUILD   |   42 
 community-staging-i686/oprofile.install   |   21 ++
 community-staging-x86_64/PKGBUILD |   42 
 community-staging-x86_64/oprofile.install |   21 ++
 4 files changed, 126 insertions(+)

Copied: oprofile/repos/community-staging-i686/PKGBUILD (from rev 148487, 
oprofile/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-05 15:32:39 UTC (rev 148488)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer : Aaron Griffin 
+
+pkgname=oprofile
+pkgver=1.1.0
+pkgrel=2
+pkgdesc='System-wide profiler for Linux systems'
+arch=('i686' 'x86_64')
+url="http://oprofile.sourceforge.net";
+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=('38c0d8812fe605f6ddd1cd183a482aa7605c0e81')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-x
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -d "$pkgdir/var/lib/oprofile"
+
+# installing development libraries and headers - FS#20089
+  install -d  "$pkgdir/usr/include/oprofile"
+  install -m644 config.h libop/op_*.h libregex/op_*.h libdb/odb.h \
+libpp/{locate_images.h,image_errors.h} libutil/op_*.h \
+libutil++/{op_*.h,bfd_support.h,utility.h,cached_value.h} 
"$pkgdir/usr/include/oprofile"
+  install -m644 libop/libop.a libdb/libodb.a "$pkgdir/usr/lib/"
+  install -m644 libabi/libabi.a "$pkgdir/usr/lib/libopabi.a"
+  install -m644 libutil/libutil.a "$pkgdir/usr/lib/liboputil.a"
+  install -m644 libutil++/libutil++.a "$pkgdir/usr/lib/liboputil++.a"
+}

Copied: oprofile/repos/community-staging-i686/oprofile.install (from rev 
148487, oprofile/trunk/oprofile.install)
===
--- community-staging-i686/oprofile.install (rev 0)
+++ community-staging-i686/oprofile.install 2015-12-05 15:32:39 UTC (rev 
148488)
@@ -0,0 +1,21 @@
+post_install(){
+  groupadd -g 492 oprofile &>/dev/null
+  useradd -u 492 -g oprofile -d /var/lib/oprofile -s /bin/false oprofile 
&>/dev/null
+}
+
+post_upgrade(){
+  getent group oprofile >/dev/null 2>&1 || groupadd -g 492 oprofile &>/dev/null
+  getent passwd oprofile >/dev/null 2>&1 || useradd -u 492 -g oprofile -d 
/var/lib/oprofile -s /bin/false oprofile &>/dev/null
+  if [ "$(vercmp $2 0.9.7-2)" -lt 0 ] ; then
+usermod -d /var/lib/oprofile oprofile
+  fi
+}
+
+post_remove(){
+  if getent passwd oprofile >/dev/null 2>&1; then
+userdel oprofile
+  fi
+  if getent group oprofile >/dev/null 2>&1; then
+groupdel oprofile
+  fi
+}

Copied: oprofile/repos/community-staging-x86_64/PKGBUILD (from rev 148487, 
oprofile/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-05 15:32:39 UTC (rev 148488)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer : Aaron Griffin 
+
+pkgname=oprofile
+pkgver=1.1.0
+pkgrel=2
+pkgdesc='System-wide profiler for Linux systems'
+arch=('i686' 'x86_64')
+url="http://oprofile.sourceforge.net";
+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=('38c0d8812fe605f6ddd1cd183a482aa7605c0e81')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-x
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -d "$pkgdir/var/lib/oprofile"
+
+# installing development libraries and headers - FS#20089
+  install -d  "$pkgdir/usr/include/oprofile"
+  install -m644 config.h libop/op_*.h libregex/op_*.h libdb/odb.h \
+libpp/{locate_images.h,image_errors.h} libutil/op_*.h \
+libutil++/{op_*.h,bfd_support.h

[arch-commits] Commit in oprofile/repos (6 files)

2013-02-20 Thread Bartłomiej Piotrowski
Date: Wednesday, February 20, 2013 @ 18:55:15
  Author: bpiotrowski
Revision: 84618

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  oprofile/repos/community-staging-i686/
  oprofile/repos/community-staging-i686/PKGBUILD
(from rev 84617, oprofile/trunk/PKGBUILD)
  oprofile/repos/community-staging-i686/oprofile.install
(from rev 84617, oprofile/trunk/oprofile.install)
  oprofile/repos/community-staging-x86_64/
  oprofile/repos/community-staging-x86_64/PKGBUILD
(from rev 84617, oprofile/trunk/PKGBUILD)
  oprofile/repos/community-staging-x86_64/oprofile.install
(from rev 84617, oprofile/trunk/oprofile.install)

---+
 community-staging-i686/PKGBUILD   |   46 
 community-staging-i686/oprofile.install   |   21 
 community-staging-x86_64/PKGBUILD |   46 
 community-staging-x86_64/oprofile.install |   21 
 4 files changed, 134 insertions(+)

Copied: oprofile/repos/community-staging-i686/PKGBUILD (from rev 84617, 
oprofile/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-02-20 17:55:15 UTC (rev 84618)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer : Aaron Griffin 
+
+pkgname=oprofile
+pkgver=0.9.8
+pkgrel=2
+pkgdesc='System-wide profiler for Linux systems'
+arch=('i686' 'x86_64')
+url="http://oprofile.sourceforge.net";
+license=('GPL')
+depends=('popt' 'gcc-libs' 'zlib' 'sh')
+makedepends=('qt4')
+optdepends=('qt4: for oprof_start gui')
+options=('!libtool')
+install=oprofile.install
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+sha1sums=('28416b853641f913e5f90954f2e3837efd96f6cd')
+
+build() {
+  . /etc/profile.d/qt4.sh
+
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --with-kernel-support --with-x --enable-gui=qt4
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make check
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  install -d "$pkgdir/var/lib/oprofile"
+
+# installing development libraries and headers - FS#20089
+  install -d  "$pkgdir/usr/include/oprofile"
+  install -m644 config.h libop/op_*.h libregex/op_*.h libdb/odb.h \
+libpp/{locate_images.h,image_errors.h} libutil/op_*.h \
+libutil++/{op_*.h,bfd_support.h,utility.h,cached_value.h} 
"$pkgdir/usr/include/oprofile"
+  install -m644 libop/libop.a libdb/libodb.a "$pkgdir/usr/lib/"
+  install -m644 libabi/libabi.a "$pkgdir/usr/lib/libopabi.a"
+  install -m644 libutil/libutil.a "$pkgdir/usr/lib/liboputil.a"
+  install -m644 libutil++/libutil++.a "$pkgdir/usr/lib/liboputil++.a"
+}

Copied: oprofile/repos/community-staging-i686/oprofile.install (from rev 84617, 
oprofile/trunk/oprofile.install)
===
--- community-staging-i686/oprofile.install (rev 0)
+++ community-staging-i686/oprofile.install 2013-02-20 17:55:15 UTC (rev 
84618)
@@ -0,0 +1,21 @@
+post_install(){
+  groupadd -g 492 oprofile &>/dev/null
+  useradd -u 492 -g oprofile -d /var/lib/oprofile -s /bin/false oprofile 
&>/dev/null
+}
+
+post_upgrade(){
+  getent group oprofile >/dev/null 2>&1 || groupadd -g 492 oprofile &>/dev/null
+  getent passwd oprofile >/dev/null 2>&1 || useradd -u 492 -g oprofile -d 
/var/lib/oprofile -s /bin/false oprofile &>/dev/null
+  if [ "$(vercmp $2 0.9.7-2)" -lt 0 ] ; then
+usermod -d /var/lib/oprofile oprofile
+  fi
+}
+
+post_remove(){
+  if getent passwd oprofile >/dev/null 2>&1; then
+userdel oprofile
+  fi
+  if getent group oprofile >/dev/null 2>&1; then
+groupdel oprofile
+  fi
+}

Copied: oprofile/repos/community-staging-x86_64/PKGBUILD (from rev 84617, 
oprofile/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2013-02-20 17:55:15 UTC (rev 84618)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer : Aaron Griffin 
+
+pkgname=oprofile
+pkgver=0.9.8
+pkgrel=2
+pkgdesc='System-wide profiler for Linux systems'
+arch=('i686' 'x86_64')
+url="http://oprofile.sourceforge.net";
+license=('GPL')
+depends=('popt' 'gcc-libs' 'zlib' 'sh')
+makedepends=('qt4')
+optdepends=('qt4: for oprof_start gui')
+options=('!libtool')
+install=oprofile.install
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+sha1sums=('28416b853641f913e5f90954f2e3837efd96f6cd')
+
+build() {
+  . /etc/profile.d/qt4.sh
+
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --with-kernel-support --with-x --enable-gui=qt4
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make check
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  in

[arch-commits] Commit in oprofile/repos (6 files)

2013-01-27 Thread Andrea Scarpino
Date: Sunday, January 27, 2013 @ 10:59:19
  Author: andrea
Revision: 83066

archrelease: copy trunk to community-i686, community-x86_64

Added:
  oprofile/repos/community-i686/
  oprofile/repos/community-i686/PKGBUILD
(from rev 83065, oprofile/trunk/PKGBUILD)
  oprofile/repos/community-i686/oprofile.install
(from rev 83065, oprofile/trunk/oprofile.install)
  oprofile/repos/community-x86_64/
  oprofile/repos/community-x86_64/PKGBUILD
(from rev 83065, oprofile/trunk/PKGBUILD)
  oprofile/repos/community-x86_64/oprofile.install
(from rev 83065, oprofile/trunk/oprofile.install)

---+
 community-i686/PKGBUILD   |   44 
 community-i686/oprofile.install   |   21 +
 community-x86_64/PKGBUILD |   44 
 community-x86_64/oprofile.install |   21 +
 4 files changed, 130 insertions(+)

Copied: oprofile/repos/community-i686/PKGBUILD (from rev 83065, 
oprofile/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-01-27 09:59:19 UTC (rev 83066)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer : Aaron Griffin 
+
+pkgname=oprofile
+pkgver=0.9.8
+pkgrel=1
+pkgdesc="A system-wide profiler for Linux systems, capable of profiling all 
running code at low overhead"
+arch=('i686' 'x86_64')
+url="http://oprofile.sourceforge.net";
+license=('GPL')
+depends=('popt' 'gcc-libs' 'zlib' 'sh')
+makedepends=('qt')
+optdepends=('qt: for oprof_start gui')
+options=('!libtool')
+install=oprofile.install
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+sha1sums=('28416b853641f913e5f90954f2e3837efd96f6cd')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --with-kernel-support --with-x --enable-gui=qt4
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make check
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  install -d "$pkgdir/var/lib/oprofile"
+
+# installing development libraries and headers - FS#20089
+  install -d  "$pkgdir/usr/include/oprofile"
+  install -m644 config.h libop/op_*.h libregex/op_*.h libdb/odb.h \
+libpp/{locate_images.h,image_errors.h} libutil/op_*.h \
+libutil++/{op_*.h,bfd_support.h,utility.h,cached_value.h} 
"$pkgdir/usr/include/oprofile"
+  install -m644 libop/libop.a libdb/libodb.a "$pkgdir/usr/lib/"
+  install -m644 libabi/libabi.a "$pkgdir/usr/lib/libopabi.a"
+  install -m644 libutil/libutil.a "$pkgdir/usr/lib/liboputil.a"
+  install -m644 libutil++/libutil++.a "$pkgdir/usr/lib/liboputil++.a"
+}

Copied: oprofile/repos/community-i686/oprofile.install (from rev 83065, 
oprofile/trunk/oprofile.install)
===
--- community-i686/oprofile.install (rev 0)
+++ community-i686/oprofile.install 2013-01-27 09:59:19 UTC (rev 83066)
@@ -0,0 +1,21 @@
+post_install(){
+  groupadd -g 492 oprofile &>/dev/null
+  useradd -u 492 -g oprofile -d /var/lib/oprofile -s /bin/false oprofile 
&>/dev/null
+}
+
+post_upgrade(){
+  getent group oprofile >/dev/null 2>&1 || groupadd -g 492 oprofile &>/dev/null
+  getent passwd oprofile >/dev/null 2>&1 || useradd -u 492 -g oprofile -d 
/var/lib/oprofile -s /bin/false oprofile &>/dev/null
+  if [ "$(vercmp $2 0.9.7-2)" -lt 0 ] ; then
+usermod -d /var/lib/oprofile oprofile
+  fi
+}
+
+post_remove(){
+  if getent passwd oprofile >/dev/null 2>&1; then
+userdel oprofile
+  fi
+  if getent group oprofile >/dev/null 2>&1; then
+groupdel oprofile
+  fi
+}

Copied: oprofile/repos/community-x86_64/PKGBUILD (from rev 83065, 
oprofile/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2013-01-27 09:59:19 UTC (rev 83066)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer : Aaron Griffin 
+
+pkgname=oprofile
+pkgver=0.9.8
+pkgrel=1
+pkgdesc="A system-wide profiler for Linux systems, capable of profiling all 
running code at low overhead"
+arch=('i686' 'x86_64')
+url="http://oprofile.sourceforge.net";
+license=('GPL')
+depends=('popt' 'gcc-libs' 'zlib' 'sh')
+makedepends=('qt')
+optdepends=('qt: for oprof_start gui')
+options=('!libtool')
+install=oprofile.install
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+sha1sums=('28416b853641f913e5f90954f2e3837efd96f6cd')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --with-kernel-support --with-x --enable-gui=qt4
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make check
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  install -d "$pkgdir/var/lib/oprofile"
+
+# installing development libraries and headers - FS#20089
+  instal

[arch-commits] Commit in oprofile/repos (6 files)

2012-10-25 Thread Stéphane Gaudreault
Date: Thursday, October 25, 2012 @ 17:03:57
  Author: stephane
Revision: 169683

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  oprofile/repos/testing-i686/
  oprofile/repos/testing-i686/PKGBUILD
(from rev 169682, oprofile/trunk/PKGBUILD)
  oprofile/repos/testing-i686/oprofile.install
(from rev 169682, oprofile/trunk/oprofile.install)
  oprofile/repos/testing-x86_64/
  oprofile/repos/testing-x86_64/PKGBUILD
(from rev 169682, oprofile/trunk/PKGBUILD)
  oprofile/repos/testing-x86_64/oprofile.install
(from rev 169682, oprofile/trunk/oprofile.install)

-+
 testing-i686/PKGBUILD   |   44 ++
 testing-i686/oprofile.install   |   21 ++
 testing-x86_64/PKGBUILD |   44 ++
 testing-x86_64/oprofile.install |   21 ++
 4 files changed, 130 insertions(+)

Copied: oprofile/repos/testing-i686/PKGBUILD (from rev 169682, 
oprofile/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-10-25 21:03:57 UTC (rev 169683)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer : Aaron Griffin 
+
+pkgname=oprofile
+pkgver=0.9.8
+pkgrel=1
+pkgdesc="A system-wide profiler for Linux systems, capable of profiling all 
running code at low overhead"
+arch=('i686' 'x86_64')
+url="http://oprofile.sourceforge.net";
+license=('GPL')
+depends=('popt' 'gcc-libs' 'zlib' 'sh')
+makedepends=('qt')
+optdepends=('qt: for oprof_start gui')
+options=('!libtool')
+install=oprofile.install
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+sha1sums=('28416b853641f913e5f90954f2e3837efd96f6cd')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --with-kernel-support --with-x --enable-gui=qt4
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make check
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  install -d "$pkgdir/var/lib/oprofile"
+
+# installing development libraries and headers - FS#20089
+  install -d  "$pkgdir/usr/include/oprofile"
+  install -m644 config.h libop/op_*.h libregex/op_*.h libdb/odb.h \
+libpp/{locate_images.h,image_errors.h} libutil/op_*.h \
+libutil++/{op_*.h,bfd_support.h,utility.h,cached_value.h} 
"$pkgdir/usr/include/oprofile"
+  install -m644 libop/libop.a libdb/libodb.a "$pkgdir/usr/lib/"
+  install -m644 libabi/libabi.a "$pkgdir/usr/lib/libopabi.a"
+  install -m644 libutil/libutil.a "$pkgdir/usr/lib/liboputil.a"
+  install -m644 libutil++/libutil++.a "$pkgdir/usr/lib/liboputil++.a"
+}

Copied: oprofile/repos/testing-i686/oprofile.install (from rev 169682, 
oprofile/trunk/oprofile.install)
===
--- testing-i686/oprofile.install   (rev 0)
+++ testing-i686/oprofile.install   2012-10-25 21:03:57 UTC (rev 169683)
@@ -0,0 +1,21 @@
+post_install(){
+  groupadd -g 492 oprofile &>/dev/null
+  useradd -u 492 -g oprofile -d /var/lib/oprofile -s /bin/false oprofile 
&>/dev/null
+}
+
+post_upgrade(){
+  getent group oprofile >/dev/null 2>&1 || groupadd -g 492 oprofile &>/dev/null
+  getent passwd oprofile >/dev/null 2>&1 || useradd -u 492 -g oprofile -d 
/var/lib/oprofile -s /bin/false oprofile &>/dev/null
+  if [ "$(vercmp $2 0.9.7-2)" -lt 0 ] ; then
+usermod -d /var/lib/oprofile oprofile
+  fi
+}
+
+post_remove(){
+  if getent passwd oprofile >/dev/null 2>&1; then
+userdel oprofile
+  fi
+  if getent group oprofile >/dev/null 2>&1; then
+groupdel oprofile
+  fi
+}

Copied: oprofile/repos/testing-x86_64/PKGBUILD (from rev 169682, 
oprofile/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-10-25 21:03:57 UTC (rev 169683)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer : Aaron Griffin 
+
+pkgname=oprofile
+pkgver=0.9.8
+pkgrel=1
+pkgdesc="A system-wide profiler for Linux systems, capable of profiling all 
running code at low overhead"
+arch=('i686' 'x86_64')
+url="http://oprofile.sourceforge.net";
+license=('GPL')
+depends=('popt' 'gcc-libs' 'zlib' 'sh')
+makedepends=('qt')
+optdepends=('qt: for oprof_start gui')
+options=('!libtool')
+install=oprofile.install
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+sha1sums=('28416b853641f913e5f90954f2e3837efd96f6cd')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --with-kernel-support --with-x --enable-gui=qt4
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make check
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  install -d "$pkgdir/var/lib/oprofile"
+
+# installing development libraries and headers - FS#20089
+  install -d  "$pkg