summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-10 04:34:14 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-10 04:34:14 +0000
commit057b0b32ffac3a0db6281a16474d967d3d809aa9 (patch)
treea9bed7f71f48f4ddaf274e8840537cf66a1e0dfd /www-apps/nut
parentstupid hack in case patch doesnt exist (diff)
downloadgentoo-2-057b0b32ffac3a0db6281a16474d967d3d809aa9.tar.gz
gentoo-2-057b0b32ffac3a0db6281a16474d967d3d809aa9.tar.bz2
gentoo-2-057b0b32ffac3a0db6281a16474d967d3d809aa9.zip
Add the nut user/group #99601.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'www-apps/nut')
-rw-r--r--www-apps/nut/ChangeLog8
-rw-r--r--www-apps/nut/nut-2.0.0-r1.ebuild13
-rw-r--r--www-apps/nut/nut-2.0.0.ebuild15
-rw-r--r--www-apps/nut/nut-2.0.1_pre4.ebuild23
4 files changed, 39 insertions, 20 deletions
diff --git a/www-apps/nut/ChangeLog b/www-apps/nut/ChangeLog
index b99f5c1a2e5a..893bb4e22deb 100644
--- a/www-apps/nut/ChangeLog
+++ b/www-apps/nut/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-apps/nut
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/nut/ChangeLog,v 1.14 2005/12/17 21:16:47 corsair Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/nut/ChangeLog,v 1.15 2006/02/10 04:34:14 vapier Exp $
+
+ 10 Feb 2006; Mike Frysinger <vapier@gentoo.org> nut-2.0.0.ebuild,
+ nut-2.0.0-r1.ebuild, nut-2.0.1_pre4.ebuild:
+ Add the nut user/group #99601.
17 Dec 2005; Markus Rothe <corsair@gentoo.org> nut-2.0.1_pre4.ebuild:
Added ~ppc64
diff --git a/www-apps/nut/nut-2.0.0-r1.ebuild b/www-apps/nut/nut-2.0.0-r1.ebuild
index 1e1b28303a5a..42390ea86e7b 100644
--- a/www-apps/nut/nut-2.0.0-r1.ebuild
+++ b/www-apps/nut/nut-2.0.0-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/nut/nut-2.0.0-r1.ebuild,v 1.4 2005/09/16 12:05:33 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/nut/nut-2.0.0-r1.ebuild,v 1.5 2006/02/10 04:34:14 vapier Exp $
-inherit fixheadtails
+inherit eutils fixheadtails
DESCRIPTION="Network-UPS Tools"
HOMEPAGE="http://www.networkupstools.org/"
@@ -15,10 +15,15 @@ IUSE="cgi snmp usb"
RDEPEND="cgi? ( media-libs/gd )
snmp? ( net-analyzer/net-snmp )"
-DEPEND="$RDEPEND
+DEPEND="${RDEPEND}
>=sys-apps/sed-4
>=sys-devel/autoconf-2.58"
+pkg_setup() {
+ enewgroup nut 84
+ enewuser nut 84 -1 /var/state/nut nut
+}
+
src_unpack() {
unpack ${A} && cd "${S}"
diff --git a/www-apps/nut/nut-2.0.0.ebuild b/www-apps/nut/nut-2.0.0.ebuild
index a228ca0f4bcb..f48158a1d730 100644
--- a/www-apps/nut/nut-2.0.0.ebuild
+++ b/www-apps/nut/nut-2.0.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/nut/nut-2.0.0.ebuild,v 1.9 2005/02/21 02:43:58 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/nut/nut-2.0.0.ebuild,v 1.10 2006/02/10 04:34:14 vapier Exp $
-inherit fixheadtails
+inherit eutils fixheadtails
DESCRIPTION="Network-UPS Tools"
HOMEPAGE="http://www.networkupstools.org/"
@@ -10,15 +10,20 @@ SRC_URI="mirror://nut/source/${PV%.*}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 sparc ppc ~alpha ~amd64"
+KEYWORDS="~alpha ~amd64 ppc sparc x86"
IUSE="cgi snmp usb"
RDEPEND="cgi? ( media-libs/gd )
snmp? ( net-analyzer/net-snmp )"
-DEPEND="$RDEPEND
+DEPEND="${RDEPEND}
>=sys-apps/sed-4
>=sys-devel/autoconf-2.58"
+pkg_setup() {
+ enewgroup nut 84
+ enewuser nut 84 -1 /var/state/nut nut
+}
+
src_unpack() {
unpack ${A} && cd "${S}"
diff --git a/www-apps/nut/nut-2.0.1_pre4.ebuild b/www-apps/nut/nut-2.0.1_pre4.ebuild
index 3ea739e3418a..7ca5e31f818a 100644
--- a/www-apps/nut/nut-2.0.1_pre4.ebuild
+++ b/www-apps/nut/nut-2.0.1_pre4.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/nut/nut-2.0.1_pre4.ebuild,v 1.4 2005/12/17 21:16:47 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/nut/nut-2.0.1_pre4.ebuild,v 1.5 2006/02/10 04:34:14 vapier Exp $
-inherit fixheadtails
+inherit eutils fixheadtails
MY_P="${P/_/-}"
@@ -10,18 +10,23 @@ DESCRIPTION="Network-UPS Tools"
HOMEPAGE="http://www.networkupstools.org/"
SRC_URI="mirror://nut/source/2.0/testing/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P/-pre4//}
-
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="cgi snmp usb"
RDEPEND="cgi? ( media-libs/gd )
- snmp? ( net-analyzer/net-snmp )"
-DEPEND="$RDEPEND
- >=sys-apps/sed-4
- >=sys-devel/autoconf-2.58"
+ snmp? ( net-analyzer/net-snmp )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
+ >=sys-devel/autoconf-2.58"
+
+S=${WORKDIR}/${MY_P/-pre4//}
+
+pkg_setup() {
+ enewgroup nut 84
+ enewuser nut 84 -1 /var/state/nut nut
+}
src_unpack() {
unpack ${A}