From 4cb02d243d423dae10ab4ba9d3eb54210d675d38 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 23 Apr 2010 15:31:29 +0200 Subject: [PATCH] util-linux-ng: set tty group to wall(1)/write(1) via INSTALL script. --HG-- extra : convert_revision : c8023146e2d69937d7f2bce5aaf9f3ca74a95084 --- srcpkgs/util-linux-ng/INSTALL | 10 ++++++++++ srcpkgs/util-linux-ng/template | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/util-linux-ng/INSTALL diff --git a/srcpkgs/util-linux-ng/INSTALL b/srcpkgs/util-linux-ng/INSTALL new file mode 100644 index 0000000000..fe13feadd9 --- /dev/null +++ b/srcpkgs/util-linux-ng/INSTALL @@ -0,0 +1,10 @@ +# +# This script fixes group owner in some files. +# +case "${ACTION}" in +post) + # Change group in some files. + bin/chgrp tty usr/bin/write usr/bin/wall + [ $? -eq 0 ] && echo "Setting 'tty' group to wall(1) and write(1)." + ;; +esac diff --git a/srcpkgs/util-linux-ng/template b/srcpkgs/util-linux-ng/template index 5db0dadb6e..f7901208ba 100644 --- a/srcpkgs/util-linux-ng/template +++ b/srcpkgs/util-linux-ng/template @@ -1,10 +1,12 @@ # Template file for 'util-linux-ng' pkgname=util-linux-ng version=2.17.2 +revision=1 distfiles="${KERNEL_SITE}/utils/$pkgname/v2.17/$pkgname-$version.tar.bz2" build_style=gnu_configure configure_args="--enable-partx --enable-write --enable-libuuid - --enable-libblkid --disable-fsck --disable-rpath --with-gnu-ld" +--enable-libblkid --disable-fsck --disable-rpath --with-gnu-ld +--disable-makeinstall-chown" short_desc="Miscellaneous linux utilities" maintainer="Juan RP " checksum=c9ae801b6a5ab20b7749a278a8bf6830ef53adc5e8b7eb0ac1a9f410c774118f @@ -23,6 +25,7 @@ Add_dependency run zlib Add_dependency run libuuid Add_dependency run libblkid Add_dependency run ncursesw +Add_dependency run shadow Add_dependency build pkg-config Add_dependency build gettext Add_dependency build zlib-devel