From 75fe6837a281219fc8c1a676c01b7465d7c4b87e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 7 Nov 2014 08:28:14 +0100 Subject: [PATCH] procps-ng: provide an empty /etc/sysctl.conf (close #623). --- srcpkgs/procps-ng/files/sysctl.conf | 1 + srcpkgs/procps-ng/template | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/procps-ng/files/sysctl.conf diff --git a/srcpkgs/procps-ng/files/sysctl.conf b/srcpkgs/procps-ng/files/sysctl.conf new file mode 100644 index 0000000000..038502b546 --- /dev/null +++ b/srcpkgs/procps-ng/files/sysctl.conf @@ -0,0 +1 @@ +# See sysctl.conf(5) diff --git a/srcpkgs/procps-ng/template b/srcpkgs/procps-ng/template index 2a1fcaea6e..c69eee0d03 100644 --- a/srcpkgs/procps-ng/template +++ b/srcpkgs/procps-ng/template @@ -1,7 +1,7 @@ # Template file for 'procps-ng' pkgname=procps-ng version=3.3.10 -revision=1 +revision=2 build_style=gnu-configure configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin --libdir=/usr/lib --disable-static --disable-kill $(vopt_with systemd)" @@ -16,11 +16,13 @@ checksum=a02e6f98974dfceab79884df902ca3df30b0e9bad6d76aee0fb5dce17f267f04 # Package build options build_options="systemd" +conf_files="/etc/sysctl.conf" pre_configure() { autoreconf -fi } post_install() { + vconf ${FILESDIR}/sysctl.conf # Remove devel and docs. rm -rf ${DESTDIR}/usr/share/doc \ ${DESTDIR}/usr/include ${DESTDIR}/usr/lib/pkgconfig