Compare commits

...

5 commits

Author SHA1 Message Date
cb7eee5c92 Adopt SPDX identifiers for license fields 2024-07-21 07:32:40 +02:00
585bfb8ee6 upgpkg: systemtap 5.1-1
upstream release
2024-05-13 06:56:52 +02:00
15c42590fd upgpkg: systemtap 5.0-2: fix conflict, add check
* Fix filesystem conflict by excluding include files already provided by glibc
* Add make check target
2024-04-24 07:19:24 +02:00
bce4538d21 systemtap: Remove redundant .gitignore 2024-04-08 22:53:57 +02:00
1ebdb388c1 upgpkg: systemtap 5.0-1
upstream release
2024-04-08 21:54:49 +02:00
4 changed files with 57 additions and 69 deletions

View file

@ -1,26 +1,23 @@
pkgbase = systemtap pkgbase = systemtap
pkgdesc = Infrastructure to simplify the gathering of information about the running Linux system pkgdesc = Infrastructure to simplify the gathering of information about the running Linux system
pkgver = 4.8 pkgver = 5.1
pkgrel = 1 pkgrel = 1
url = http://sourceware.org/systemtap/ url = https://sourceware.org/systemtap/
install = systemtap.install install = systemtap.install
arch = x86_64 arch = x86_64
arch = i686 license = GPL-2.0-or-later
license = GPL
makedepends = python-setuptools makedepends = python-setuptools
makedepends = python2-setuptools
makedepends = xmlto makedepends = xmlto
depends = elfutils depends = elfutils
depends = nss depends = nss
depends = python depends = python
depends = cpio depends = cpio
optdepends = sqlite3: for storing results in a database optdepends = sqlite3: for storing results in a database
source = systemtap-4.8.tar.gz::https://sourceware.org/ftp/systemtap/releases/systemtap-4.8.tar.gz options = !emptydirs
source = systemtap-4.8.tar.gz.asc::https://sourceware.org/ftp/systemtap/releases/systemtap-4.8.tar.gz.sig source = https://sourceware.org/ftp/systemtap/releases/systemtap-5.1.tar.gz
validpgpkeys = F75E6545B9F8AA15AA932A444DE16D68FDBFFFB8 source = https://sourceware.org/ftp/systemtap/releases/systemtap-5.1.tar.gz.asc
validpgpkeys = 5D38116FA4D3A7CC77E378D37E83610126DCC2E8 validpgpkeys = 41A0C11274B1E87FE28E4C53E3D77E1F95161991
validpgpkeys = 159B0DF71150B8A8539A8802D7C256443CC637CA sha512sums = da0fe237d2124031a5786d1221dbb420d90da5497376715fd43a7a9f61a354a229c1128e67ce6becbc012aa3796dc5d337149e239e3c1def0651b179e5bf199f
sha512sums = fdcbc48ba17b2155c1419d99147a4cfbee2e69db945bfd0e6881b71ab11165bd23ea7ce9456856ae36807fb18f9934880a6b7c44456b63833ea260038744d9f2
sha512sums = SKIP sha512sums = SKIP
pkgname = systemtap pkgname = systemtap

5
.gitignore vendored
View file

@ -1,5 +0,0 @@
*.tar.xz
*.tar.gz
*.asc
pkg
src

View file

@ -1,56 +1,52 @@
# Maintainer: Christian Pellegrin (chripell) <chripell@fsfe.org> # Maintainer: Manuel Hüsers <aur@huesers.de>
# Original Maintainer: An Nguyen (stk) <an@linux.com> # Contributor: Christian Pellegrin (chripell) <chripell@fsfe.org>
# Original Maintainer: George Angelopoulos <george@usermod.net> # Contributor: An Nguyen (stk) <an@linux.com>
# Original Maintainer: Christian Rebischke <Chris.Rebischke@archlinux.org> # Contributor: George Angelopoulos <george@usermod.net>
# Original Maintainer: dront78 <dront78@gmail.com> # Contributor: Christian Rebischke <Chris.Rebischke@archlinux.org>
# Contributor: dront78 <dront78@gmail.com>
pkgname=systemtap pkgname=systemtap
pkgver=4.8 pkgver=5.1
pkgrel=1 pkgrel=1
pkgdesc="Infrastructure to simplify the gathering of information about the running Linux system" pkgdesc="Infrastructure to simplify the gathering of information about the running Linux system"
url="http://sourceware.org/systemtap/" url="https://sourceware.org/systemtap/"
arch=('x86_64' 'i686') arch=('x86_64')
license=('GPL') license=('GPL-2.0-or-later')
depends=('elfutils' 'nss' 'python' 'cpio') depends=('elfutils' 'nss' 'python' 'cpio')
makedepends=('python-setuptools' 'python2-setuptools' 'xmlto') makedepends=('python-setuptools' 'xmlto')
optdepends=('sqlite3: for storing results in a database') optdepends=('sqlite3: for storing results in a database')
source=("${pkgname}-${pkgver}.tar.gz::https://sourceware.org/ftp/systemtap/releases/${pkgname}-${pkgver}.tar.gz" options=('!emptydirs')
"${pkgname}-${pkgver}.tar.gz.asc::https://sourceware.org/ftp/systemtap/releases/${pkgname}-${pkgver}.tar.gz.sig" install="${pkgname}.install"
) source=("https://sourceware.org/ftp/${pkgname}/releases/${pkgname}-${pkgver}.tar.gz"{,.asc})
sha512sums=('fdcbc48ba17b2155c1419d99147a4cfbee2e69db945bfd0e6881b71ab11165bd23ea7ce9456856ae36807fb18f9934880a6b7c44456b63833ea260038744d9f2' sha512sums=('da0fe237d2124031a5786d1221dbb420d90da5497376715fd43a7a9f61a354a229c1128e67ce6becbc012aa3796dc5d337149e239e3c1def0651b179e5bf199f'
'SKIP') 'SKIP')
install='systemtap.install'
# Note, you need to run:
# gpg --recv-keys --keyserver hkps://keys.openpgp.org/ 0xD7C256443CC637CA
# unless /etc/pacman.d/gnupg/gpg.conf is updated.
validpgpkeys=('F75E6545B9F8AA15AA932A444DE16D68FDBFFFB8' # "Serhei Makarov (for Red Hat 2018..onwards) <smakarov@redhat.com>"
'5D38116FA4D3A7CC77E378D37E83610126DCC2E8'
'159B0DF71150B8A8539A8802D7C256443CC637CA')
prepare() { validpgpkeys=('41A0C11274B1E87FE28E4C53E3D77E1F95161991')
cd "${pkgname}-${pkgver}"
}
build() { build() {
cd "${pkgname}-${pkgver}" cd "${pkgname}-${pkgver}"
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
--libexecdir=/usr/lib/"${pkgname}" \ --libexecdir=/usr/lib/"${pkgname}" \
--libdir=/usr/lib/"${pkgname}" \ --libdir=/usr/lib/"${pkgname}" \
--mandir=/usr/share/man/ \ --mandir=/usr/share/man/ \
--sbindir=/usr/bin \ --sbindir=/usr/bin \
--localstatedir=/var \ --localstatedir=/var \
--enable-pie \ --enable-pie \
--disable-docs \ --disable-docs \
--enable-htmldocs \ --enable-htmldocs \
--with-python3 --with-python3
make make
}
check() {
cd "${pkgname}-${pkgver}"
make check
} }
package() { package() {
cd "${srcdir}/${pkgname}-${pkgver}" cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
rmdir "${pkgdir}/var/run/stap-server/" rm -r "${pkgdir}/usr/include/sys"
rmdir "${pkgdir}/var/run/"
rm -r "${pkgdir}/usr/include"
} }

View file

@ -1,18 +1,18 @@
post_install() { post_install() {
getent group stapusr >/dev/null || groupadd -g 156 -r stapusr 2>/dev/null || groupadd -r stapusr 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 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 stapdev >/dev/null || groupadd -g 158 -r stapdev 2>/dev/null || groupadd -r stapdev
getent group stapusr >/dev/null && chgrp stapusr /usr/bin/stapbpf getent group stapusr >/dev/null && chgrp stapusr /usr/bin/stapbpf
chmod 04110 /usr/bin/stapbpf chmod 04110 /usr/bin/stapbpf
getent group stapusr >/dev/null && chgrp stapusr /usr/bin/staprun getent group stapusr >/dev/null && chgrp stapusr /usr/bin/staprun
chmod 04110 /usr/bin/staprun chmod 04110 /usr/bin/staprun
echo "CONFIG_DEBUG_INFO is disabled on default. You need to recompile" echo "CONFIG_DEBUG_INFO is disabled on default. You need to recompile"
echo "the kernel with CONFIG_DEBUG_INFO enabled." echo "the kernel with CONFIG_DEBUG_INFO enabled."
} }
post_upgrade() { post_upgrade() {
post_install $1 post_install $1
} }