diff options
author | Peter Volkov <pva@gentoo.org> | 2008-09-10 10:46:31 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-09-10 10:46:31 +0000 |
commit | a045ed88dadfe021aece85fa68dab2120a314d2f (patch) | |
tree | f9613da0aaeca8a01976a315d705e3361c6d468a /net-misc/ip-sentinel | |
parent | alpha/ia64/sparc/x86 stable wrt #236515 (diff) | |
download | gentoo-2-a045ed88dadfe021aece85fa68dab2120a314d2f.tar.gz gentoo-2-a045ed88dadfe021aece85fa68dab2120a314d2f.tar.bz2 gentoo-2-a045ed88dadfe021aece85fa68dab2120a314d2f.zip |
enewuser/enewgroup die on their own. Also use pkg_setup for this functions.
(Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 i686)
Diffstat (limited to 'net-misc/ip-sentinel')
-rw-r--r-- | net-misc/ip-sentinel/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/ip-sentinel/ip-sentinel-0.12.ebuild | 10 |
2 files changed, 11 insertions, 7 deletions
diff --git a/net-misc/ip-sentinel/ChangeLog b/net-misc/ip-sentinel/ChangeLog index d15dc109035d..0c31ea100928 100644 --- a/net-misc/ip-sentinel/ChangeLog +++ b/net-misc/ip-sentinel/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/ip-sentinel -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ip-sentinel/ChangeLog,v 1.8 2007/10/04 08:50:41 pva Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ip-sentinel/ChangeLog,v 1.9 2008/09/10 10:46:31 pva Exp $ + + 10 Sep 2008; Peter Volkov <pva@gentoo.org> ip-sentinel-0.12.ebuild: + enewuser/enewgroup die on their own. Also use pkg_setup for this + functions. 04 Oct 2007; <pva@gentoo.org> files/ip-sentinel.conf.d: Fixed typo. diff --git a/net-misc/ip-sentinel/ip-sentinel-0.12.ebuild b/net-misc/ip-sentinel/ip-sentinel-0.12.ebuild index 9606e4d603d8..5f7da1f07a66 100644 --- a/net-misc/ip-sentinel/ip-sentinel-0.12.ebuild +++ b/net-misc/ip-sentinel/ip-sentinel-0.12.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ip-sentinel/ip-sentinel-0.12.ebuild,v 1.4 2007/04/22 06:33:47 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ip-sentinel/ip-sentinel-0.12.ebuild,v 1.5 2008/09/10 10:46:31 pva Exp $ inherit eutils @@ -27,9 +27,9 @@ src_install() { newins "${FILESDIR}"/ip-sentinel.cfg ip-sentinel.cfg } -pkg_preinst() { - enewgroup ipsentinel || die "Failed to add group ipsentinel" - enewuser ipsentinel -1 -1 -1 ipsentinel || die "Failed to add user ipsentinel" +pkg_setup() { + enewgroup ipsentinel + enewuser ipsentinel -1 -1 -1 ipsentinel } pkg_postinst() { |