Compare commits
40 commits
b43228e4bd
...
5d5194dd5f
Author | SHA1 | Date | |
---|---|---|---|
5d5194dd5f | |||
7afc2c3cea | |||
|
3995c198a8 | ||
|
b60360437f | ||
|
6e6e2b0358 | ||
|
c044ef5973 | ||
|
9108e8dc18 | ||
|
6b093b9789 | ||
|
235267cff6 | ||
|
98c14eecc2 | ||
|
dce23c79e4 | ||
|
59033bcbc4 | ||
|
576926108e | ||
|
69c45dce7d | ||
|
422e628c9f | ||
|
559c72395d | ||
|
c3d5d8188c | ||
|
487ece75eb | ||
|
8266ddd4f8 | ||
|
cbf19e9238 | ||
|
0512430e39 | ||
|
a2db70026d | ||
|
dda4d2e898 | ||
|
fd091df491 | ||
|
c012fdf64e | ||
|
68ebb46082 | ||
|
5a3ef0f5d1 | ||
|
12037b90a4 | ||
|
cf13ef22d0 | ||
|
504a01b4e8 | ||
|
50d15a59a5 | ||
|
4849189ad8 | ||
|
61aa95a135 | ||
|
a655ab75d2 | ||
|
d7a259767b | ||
|
1130736383 | ||
|
b20665c2a9 | ||
|
7401ef4d0e | ||
|
590933edee | ||
|
b35ca95fd4 |
4 changed files with 92 additions and 0 deletions
23
systemtap/.SRCINFO
Normal file
23
systemtap/.SRCINFO
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
pkgbase = systemtap
|
||||||
|
pkgdesc = Infrastructure to simplify the gathering of information about the running Linux system
|
||||||
|
pkgver = 5.0
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://sourceware.org/systemtap/
|
||||||
|
install = systemtap.install
|
||||||
|
arch = x86_64
|
||||||
|
license = GPL
|
||||||
|
makedepends = python-setuptools
|
||||||
|
makedepends = xmlto
|
||||||
|
depends = elfutils
|
||||||
|
depends = nss
|
||||||
|
depends = python
|
||||||
|
depends = cpio
|
||||||
|
optdepends = sqlite3: for storing results in a database
|
||||||
|
options = !emptydirs
|
||||||
|
source = https://sourceware.org/ftp/systemtap/releases/systemtap-5.0.tar.gz
|
||||||
|
source = https://sourceware.org/ftp/systemtap/releases/systemtap-5.0.tar.gz.asc
|
||||||
|
validpgpkeys = 41A0C11274B1E87FE28E4C53E3D77E1F95161991
|
||||||
|
sha512sums = dc511a05e66abcbbd8c926973962751196180f3c571d0cd2a3b158ae367c5339ad32967a680ecd03224ab5f7ed2c55be7064867e4fb1b1cd7ea1cb21b2436e4c
|
||||||
|
sha512sums = SKIP
|
||||||
|
|
||||||
|
pkgname = systemtap
|
5
systemtap/.gitignore
vendored
Normal file
5
systemtap/.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
*.tar.xz
|
||||||
|
*.tar.gz
|
||||||
|
*.asc
|
||||||
|
pkg
|
||||||
|
src
|
46
systemtap/PKGBUILD
Normal file
46
systemtap/PKGBUILD
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
# Maintainer: Manuel Hüsers <aur@huesers.de>
|
||||||
|
# Contributor: Christian Pellegrin (chripell) <chripell@fsfe.org>
|
||||||
|
# Contributor: An Nguyen (stk) <an@linux.com>
|
||||||
|
# Contributor: George Angelopoulos <george@usermod.net>
|
||||||
|
# Contributor: Christian Rebischke <Chris.Rebischke@archlinux.org>
|
||||||
|
# Contributor: dront78 <dront78@gmail.com>
|
||||||
|
|
||||||
|
pkgname=systemtap
|
||||||
|
pkgver=5.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Infrastructure to simplify the gathering of information about the running Linux system"
|
||||||
|
url="https://sourceware.org/systemtap/"
|
||||||
|
arch=('x86_64')
|
||||||
|
license=('GPL')
|
||||||
|
depends=('elfutils' 'nss' 'python' 'cpio')
|
||||||
|
makedepends=('python-setuptools' 'xmlto')
|
||||||
|
optdepends=('sqlite3: for storing results in a database')
|
||||||
|
options=('!emptydirs')
|
||||||
|
install="${pkgname}.install"
|
||||||
|
source=("https://sourceware.org/ftp/${pkgname}/releases/${pkgname}-${pkgver}.tar.gz"{,.asc})
|
||||||
|
sha512sums=('dc511a05e66abcbbd8c926973962751196180f3c571d0cd2a3b158ae367c5339ad32967a680ecd03224ab5f7ed2c55be7064867e4fb1b1cd7ea1cb21b2436e4c'
|
||||||
|
'SKIP')
|
||||||
|
|
||||||
|
validpgpkeys=('41A0C11274B1E87FE28E4C53E3D77E1F95161991')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${pkgname}-${pkgver}"
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--libexecdir=/usr/lib/"${pkgname}" \
|
||||||
|
--libdir=/usr/lib/"${pkgname}" \
|
||||||
|
--mandir=/usr/share/man/ \
|
||||||
|
--sbindir=/usr/bin \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--enable-pie \
|
||||||
|
--disable-docs \
|
||||||
|
--enable-htmldocs \
|
||||||
|
--with-python3
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${pkgname}-${pkgver}"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
18
systemtap/systemtap.install
Normal file
18
systemtap/systemtap.install
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
post_install() {
|
||||||
|
getent group stapusr >/dev/null || groupadd -g 156 -r stapusr 2>/dev/null || groupadd -r stapusr
|
||||||
|
getent group stapsys >/dev/null || groupadd -g 157 -r stapsys 2>/dev/null || groupadd -r stapsys
|
||||||
|
getent group stapdev >/dev/null || groupadd -g 158 -r stapdev 2>/dev/null || groupadd -r stapdev
|
||||||
|
|
||||||
|
getent group stapusr >/dev/null && chgrp stapusr /usr/bin/stapbpf
|
||||||
|
chmod 04110 /usr/bin/stapbpf
|
||||||
|
|
||||||
|
getent group stapusr >/dev/null && chgrp stapusr /usr/bin/staprun
|
||||||
|
chmod 04110 /usr/bin/staprun
|
||||||
|
|
||||||
|
echo "CONFIG_DEBUG_INFO is disabled on default. You need to recompile"
|
||||||
|
echo "the kernel with CONFIG_DEBUG_INFO enabled."
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
post_install $1
|
||||||
|
}
|
Loading…
Reference in a new issue