diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2022-10-22 17:23:51 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2023-02-08 16:04:52 -0500 |
commit | 90ddcc454bf432d72ce2d522ac292c13715f1f00 (patch) | |
tree | a01270e2af33a0fc460753dd6a55b8af70558ada | |
parent | 05500588bb19b768b4f7dc70ff633f8cc51cdaa6 (diff) |
wip procps-ng
-rw-r--r-- | libre-testing/procps-ng/PKGBUILD | 47 | ||||
-rw-r--r-- | libre-testing/procps-ng/install | 14 | ||||
-rw-r--r-- | libre/procps-ng/PKGBUILD | 60 |
3 files changed, 60 insertions, 61 deletions
diff --git a/libre-testing/procps-ng/PKGBUILD b/libre-testing/procps-ng/PKGBUILD deleted file mode 100644 index 4f3277812..000000000 --- a/libre-testing/procps-ng/PKGBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> -# Contributor: Gaetan Bisson <bisson@archlinux.org> -# Contributor: Eric Bélanger <eric@archlinux.org> - -pkgname=procps-ng -pkgver=3.3.15 -pkgrel=1 -pkgdesc='Utilities for monitoring your system and its processes' -url='https://gitlab.com/procps-ng/procps' -license=(GPL LGPL) -arch=(x86_64 ppc64le) -groups=(base) -depends=(ncurses libsystemd) -makedepends=(systemd) -conflicts=(procps sysvinit-tools) -provides=(procps sysvinit-tools) -replaces=(procps sysvinit-tools) -install=install -source=(https://downloads.sourceforge.net/project/$pkgname/Production/${pkgname}-${pkgver}.tar.xz) -sha256sums=('10bd744ffcb3de2d591d2f6acf1a54a7ba070fdcc432a855931a5057149f0465') - -prepare() { - cd $pkgname-$pkgver - sed 's:<ncursesw/:<:g' -i watch.c -} - -build() { - cd $pkgname-$pkgver - ./configure \ - --prefix=/usr \ - --exec-prefix=/ \ - --sysconfdir=/etc \ - --libdir=/usr/lib \ - --bindir=/usr/bin \ - --sbindir=/usr/bin \ - --enable-watch8bit \ - --with-systemd \ - --disable-modern-top \ - --disable-kill - - make -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install -} diff --git a/libre-testing/procps-ng/install b/libre-testing/procps-ng/install deleted file mode 100644 index 2e6546ecc..000000000 --- a/libre-testing/procps-ng/install +++ /dev/null @@ -1,14 +0,0 @@ -post_upgrade() { - if [[ $(vercmp $2 3.3.8-3) = -1 ]]; then - cat <<EOF - -==> The file /etc/sysctl.conf has been removed from this -==> package, as all its settings are now kernel defaults. - -==> If you had customized it, you need to rename it as -==> /etc/sysctl.d/99-sysctl.conf since from version 207 on -==> systemd only applies settings from /etc/sysctl.d/* . - -EOF - fi -} diff --git a/libre/procps-ng/PKGBUILD b/libre/procps-ng/PKGBUILD new file mode 100644 index 000000000..d87b35a37 --- /dev/null +++ b/libre/procps-ng/PKGBUILD @@ -0,0 +1,60 @@ +# Maintainer (arch): Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> +# Contributor: Gaetan Bisson <bisson@archlinux.org> +# Contributor: Eric Bélanger <eric@archlinux.org> +# Maintainer: Parabola Hackers <dev@lists.parabola.nu> + + +pkgname=procps-ng +pkgver=3.3.17 +pkgrel=1 +pkgrel+=.parabola1 +pkgdesc='Utilities for monitoring your system and its processes' +url='https://gitlab.com/procps-ng/procps' +license=(GPL LGPL) +arch=(x86_64) +arch+=(armv7h i686 ppc64le) +groups=(base) +depends=(glibc ncurses libncursesw.so systemd-libs) +depends=( ${depends[*]/systemd-libs/libsystemd}) +makedepends=(systemd) +conflicts=(procps sysvinit-tools) +provides=(procps sysvinit-tools libprocps.so) +replaces=(procps sysvinit-tools) +options=('!emptydirs') +source=(https://downloads.sourceforge.net/project/$pkgname/Production/${pkgname}-${pkgver}.tar.xz{,.asc}) +sha256sums=('4518b3e7aafd34ec07d0063d250fd474999b20b200218c3ae56f5d2113f141b4' + 'SKIP') +b2sums=('43aa1a21d4f0725b1c02457f343cf1fc66bc1771b25c6eaf689c9775c190e90545bfac1729f027abc4d3d13de37ffac4828554b5b25e12bcf6af9540de1695f3' + 'SKIP') +validpgpkeys=( + '5D3DF0F538B327C0AA7A77A2022166C0FF3C84E3' # Craig Small <csmall@debian.org> + '5D2FB320B825D93904D205193938F96BDF50FEA5' # Craig Small <csmall@debian.org> +) + +prepare() { + cd procps-$pkgver + sed 's:<ncursesw/:<:g' -i watch.c +} + +build() { + cd procps-$pkgver + ./configure \ + --prefix=/usr \ + --exec-prefix=/ \ + --sysconfdir=/etc \ + --libdir=/usr/lib \ + --bindir=/usr/bin \ + --sbindir=/usr/bin \ + --enable-watch8bit \ + --with-systemd \ + --disable-modern-top \ + --disable-kill + + make +} + +package() { + cd procps-$pkgver + make DESTDIR="$pkgdir" install +} |