summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-09-15 06:56:56 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-09-15 06:56:56 +0000
commitcddb713c85514c3c5dabc0d0d44e45d7224b4f4b (patch)
treec04a82c117edbcf7e030c1a5b174c742ef7c8263 /sys-power/nut
parentVersion bump; bug #147613 (diff)
downloadgentoo-2-cddb713c85514c3c5dabc0d0d44e45d7224b4f4b.tar.gz
gentoo-2-cddb713c85514c3c5dabc0d0d44e45d7224b4f4b.tar.bz2
gentoo-2-cddb713c85514c3c5dabc0d0d44e45d7224b4f4b.zip
Add gpasswd usage to ensure tty group.
(Portage version: 2.1.1_rc1-r3)
Diffstat (limited to 'sys-power/nut')
-rw-r--r--sys-power/nut/ChangeLog5
-rw-r--r--sys-power/nut/nut-2.0.4-r1.ebuild4
2 files changed, 7 insertions, 2 deletions
diff --git a/sys-power/nut/ChangeLog b/sys-power/nut/ChangeLog
index 51daca552e9f..c7e2e919a251 100644
--- a/sys-power/nut/ChangeLog
+++ b/sys-power/nut/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-power/nut
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/ChangeLog,v 1.14 2006/08/13 21:43:09 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/ChangeLog,v 1.15 2006/09/15 06:56:56 robbat2 Exp $
+
+ 15 Sep 2006; Robin H. Johnson <robbat2@gentoo.org> nut-2.0.4-r1.ebuild:
+ Add gpasswd usage to ensure tty group.
*nut-2.0.4-r1 (13 Aug 2006)
diff --git a/sys-power/nut/nut-2.0.4-r1.ebuild b/sys-power/nut/nut-2.0.4-r1.ebuild
index aa738ca94bea..1e9a40ccdcd4 100644
--- a/sys-power/nut/nut-2.0.4-r1.ebuild
+++ b/sys-power/nut/nut-2.0.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/nut-2.0.4-r1.ebuild,v 1.1 2006/08/13 21:43:09 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/nut-2.0.4-r1.ebuild,v 1.2 2006/09/15 06:56:56 robbat2 Exp $
inherit eutils fixheadtails
@@ -35,6 +35,8 @@ NUT_PRIVATE_FILES="/etc/nut/{upsd.conf,upsd.users,upsmon.conf}"
pkg_setup() {
enewgroup nut 84
enewuser nut 84 -1 /var/state/nut nut,tty
+ # try to add nut to the tty group for old cases where it already existed
+ gpasswd -a nut tty
warningmsg
}