[arch-commits] Commit in procps-ng/repos (8 files)

Gaetan Bisson bisson at archlinux.org
Fri Aug 14 20:40:39 UTC 2015


    Date: Friday, August 14, 2015 @ 22:40:38
  Author: bisson
Revision: 243707

db-move: moved procps-ng from [staging] to [testing] (i686, x86_64)

Added:
  procps-ng/repos/testing-i686/
  procps-ng/repos/testing-i686/PKGBUILD
    (from rev 243706, procps-ng/repos/staging-i686/PKGBUILD)
  procps-ng/repos/testing-i686/install
    (from rev 243706, procps-ng/repos/staging-i686/install)
  procps-ng/repos/testing-x86_64/
  procps-ng/repos/testing-x86_64/PKGBUILD
    (from rev 243706, procps-ng/repos/staging-x86_64/PKGBUILD)
  procps-ng/repos/testing-x86_64/install
    (from rev 243706, procps-ng/repos/staging-x86_64/install)
Deleted:
  procps-ng/repos/staging-i686/
  procps-ng/repos/staging-x86_64/

-------------------------+
 testing-i686/PKGBUILD   |   52 ++++++++++++++++++++++++++++++++++++++++++++++
 testing-i686/install    |   14 ++++++++++++
 testing-x86_64/PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/install  |   14 ++++++++++++
 4 files changed, 132 insertions(+)

Copied: procps-ng/repos/testing-i686/PKGBUILD (from rev 243706, procps-ng/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-08-14 20:40:38 UTC (rev 243707)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=procps-ng
+pkgver=3.3.11
+pkgrel=1
+pkgdesc='Utilities for monitoring your system and its processes'
+url='https://gitlab.com/procps-ng/procps'
+license=('GPL' 'LGPL')
+arch=('i686' 'x86_64')
+makedepends=('systemd')
+depends=('ncurses' 'libsystemd')
+source=("http://downloads.sourceforge.net/project/${pkgname}/Production/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('1bdca65547df9ed019bd83649b0f8b8eaa017e25')
+
+groups=('base')
+
+conflicts=('procps' 'sysvinit-tools')
+provides=('procps' 'sysvinit-tools')
+replaces=('procps' 'sysvinit-tools')
+
+install=install
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	sed 's:<ncursesw/:<:g' -i watch.c
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure \
+		--prefix=/usr \
+		--exec-prefix=/ \
+		--sysconfdir=/etc \
+		--libdir=/usr/lib \
+		--bindir=/usr/bin \
+		--sbindir=/usr/bin \
+		--enable-watch8bit \
+		--with-systemd \
+
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+
+	# provided by util-linux
+	rm "${pkgdir}/usr/bin/kill"
+	rm "${pkgdir}/usr/share/man/man1/kill.1"
+}

Copied: procps-ng/repos/testing-i686/install (from rev 243706, procps-ng/repos/staging-i686/install)
===================================================================
--- testing-i686/install	                        (rev 0)
+++ testing-i686/install	2015-08-14 20:40:38 UTC (rev 243707)
@@ -0,0 +1,14 @@
+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
+}

Copied: procps-ng/repos/testing-x86_64/PKGBUILD (from rev 243706, procps-ng/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-08-14 20:40:38 UTC (rev 243707)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=procps-ng
+pkgver=3.3.11
+pkgrel=1
+pkgdesc='Utilities for monitoring your system and its processes'
+url='https://gitlab.com/procps-ng/procps'
+license=('GPL' 'LGPL')
+arch=('i686' 'x86_64')
+makedepends=('systemd')
+depends=('ncurses' 'libsystemd')
+source=("http://downloads.sourceforge.net/project/${pkgname}/Production/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('1bdca65547df9ed019bd83649b0f8b8eaa017e25')
+
+groups=('base')
+
+conflicts=('procps' 'sysvinit-tools')
+provides=('procps' 'sysvinit-tools')
+replaces=('procps' 'sysvinit-tools')
+
+install=install
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	sed 's:<ncursesw/:<:g' -i watch.c
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure \
+		--prefix=/usr \
+		--exec-prefix=/ \
+		--sysconfdir=/etc \
+		--libdir=/usr/lib \
+		--bindir=/usr/bin \
+		--sbindir=/usr/bin \
+		--enable-watch8bit \
+		--with-systemd \
+
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+
+	# provided by util-linux
+	rm "${pkgdir}/usr/bin/kill"
+	rm "${pkgdir}/usr/share/man/man1/kill.1"
+}

Copied: procps-ng/repos/testing-x86_64/install (from rev 243706, procps-ng/repos/staging-x86_64/install)
===================================================================
--- testing-x86_64/install	                        (rev 0)
+++ testing-x86_64/install	2015-08-14 20:40:38 UTC (rev 243707)
@@ -0,0 +1,14 @@
+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
+}



More information about the arch-commits mailing list