summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-07-29 01:35:53 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-07-29 01:35:53 +0000
commit9e205c29b7bce1031e1e67483f5334b488638f33 (patch)
treefdf369ea8665f3ca81654b14b85f9a511c6a5531 /dev-python
parentstable on ppc64, bug #58300 (Manifest recommit) (diff)
downloadgentoo-2-9e205c29b7bce1031e1e67483f5334b488638f33.tar.gz
gentoo-2-9e205c29b7bce1031e1e67483f5334b488638f33.tar.bz2
gentoo-2-9e205c29b7bce1031e1e67483f5334b488638f33.zip
fix enewuser enewgroup issues (#58526)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/skunkweb/ChangeLog5
-rw-r--r--dev-python/skunkweb/skunkweb-3.4_beta5.ebuild30
2 files changed, 8 insertions, 27 deletions
diff --git a/dev-python/skunkweb/ChangeLog b/dev-python/skunkweb/ChangeLog
index 0758466b6077..52d478d61443 100644
--- a/dev-python/skunkweb/ChangeLog
+++ b/dev-python/skunkweb/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/skunkweb
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/skunkweb/ChangeLog,v 1.5 2004/06/25 01:50:12 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/skunkweb/ChangeLog,v 1.6 2004/07/29 01:35:53 liquidx Exp $
+
+ 28 Jul 2004; Alastair Tse <liquidx@gentoo.org> skunkweb-3.4_beta5.ebuild:
+ fix enewuser enewgroup issues (#58526)
07 May 2004; Bryan Østergaard <kloeri@gentoo.org> skunkweb-3.4_beta5.ebuild:
Fix IUSE.
diff --git a/dev-python/skunkweb/skunkweb-3.4_beta5.ebuild b/dev-python/skunkweb/skunkweb-3.4_beta5.ebuild
index 99da1ba02e07..acf289c9bbc0 100644
--- a/dev-python/skunkweb/skunkweb-3.4_beta5.ebuild
+++ b/dev-python/skunkweb/skunkweb-3.4_beta5.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/skunkweb/skunkweb-3.4_beta5.ebuild,v 1.5 2004/06/25 01:50:12 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/skunkweb/skunkweb-3.4_beta5.ebuild,v 1.6 2004/07/29 01:35:53 liquidx Exp $
+inherit eutils
DESCRIPTION="robust Python web application server"
HOMEPAGE="http://skunkweb.sourceforge.net/"
@@ -18,31 +19,8 @@ DEPEND=">=dev-lang/python-2.2
!apache2? ( apache1? ( <=net-www/apache-2 ) )"
pkg_setup() {
- if ! groupmod skunkweb; then
- groupadd skunkweb || die "problem adding group skunkweb"
- fi
- if ! id skunkweb; then
- useradd -g skunkweb -s /bin/false -d /usr/share/skunkweb -c "SkunkWeb user" skunkweb \
- || die "problem adding user skunkweb"
- fi
-}
-
-pkg_postinst() {
- if [ -z "${INSTALLING}" ]; then
- einfo "NOTICE!"
- einfo "User and group 'skunkweb' have been added."
- fi
-}
-
-pkg_postrm() {
- if [ -z "${INSTALLING}" ] ; then
- einfo ">>> removing skunkweb user"
- userdel skunkweb || die "error removing skunk user"
- einfo ">>> removing skunkweb group"
- groupdel skunkweb || die "error removing skunkweb group"
- else
- einfo ">>> skunkweb user and group preserved"
- fi
+ enewgroup skunkweb
+ enewuser skunkweb -1 /bin/false /usr/share/skunkweb skunkweb
}
src_compile() {