summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Holland <tigger@gentoo.org>2004-07-27 10:47:24 +0000
committerRob Holland <tigger@gentoo.org>2004-07-27 10:47:24 +0000
commita6148965e3147272c1d3563516d7e8ad9a7b0b77 (patch)
treef015abc0ce528eed12ea8fdf66716b92de3f3203 /net-www
parentVersion bump. Added description to metadata.xml. Changed python dependency to... (diff)
downloadgentoo-2-a6148965e3147272c1d3563516d7e8ad9a7b0b77.tar.gz
gentoo-2-a6148965e3147272c1d3563516d7e8ad9a7b0b77.tar.bz2
gentoo-2-a6148965e3147272c1d3563516d7e8ad9a7b0b77.zip
Fix user/group additions re #58526.
Diffstat (limited to 'net-www')
-rw-r--r--net-www/publicfile/ChangeLog6
-rw-r--r--net-www/publicfile/publicfile-0.52-r1.ebuild10
-rw-r--r--net-www/publicfile/publicfile-0.52.ebuild12
3 files changed, 17 insertions, 11 deletions
diff --git a/net-www/publicfile/ChangeLog b/net-www/publicfile/ChangeLog
index 706dd49ab46a..58b442916355 100644
--- a/net-www/publicfile/ChangeLog
+++ b/net-www/publicfile/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-www/publicfile
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/publicfile/ChangeLog,v 1.13 2004/06/25 01:10:38 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/publicfile/ChangeLog,v 1.14 2004/07/27 10:47:24 tigger Exp $
+
+ 27 Jul 2004; Rob Holland <tigger@gentoo.org> publicfile-0.52-r1.ebuild,
+ publicfile-0.52.ebuild:
+ Fix user/group additions re #58526.
06 Jun 2004; Jason Wever <weeve@gentoo.org> publicfile-0.52-r1.ebuild:
Stable on sparc.
diff --git a/net-www/publicfile/publicfile-0.52-r1.ebuild b/net-www/publicfile/publicfile-0.52-r1.ebuild
index 11cb8844f242..ee4f255383b8 100644
--- a/net-www/publicfile/publicfile-0.52-r1.ebuild
+++ b/net-www/publicfile/publicfile-0.52-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/publicfile/publicfile-0.52-r1.ebuild,v 1.6 2004/06/25 01:10:38 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/publicfile/publicfile-0.52-r1.ebuild,v 1.7 2004/07/27 10:47:24 tigger Exp $
inherit eutils
@@ -47,10 +47,10 @@ src_install() {
dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION
}
-pkg_setup() {
- groupadd nofiles
- id ftp || useradd -g nofiles -d /home/public ftp
- id ftplog || useradd -g nofiles -d /home/public ftplog
+pkg_preinst() {
+ enewgroup nofiles
+ enewuser ftp -1 /bin/false /home/public nofiles
+ enewuser ftplog -1 /bin/false /home/public nofiles
}
pkg_postinst() {
diff --git a/net-www/publicfile/publicfile-0.52.ebuild b/net-www/publicfile/publicfile-0.52.ebuild
index 6e39c349ea0c..42fff529fea6 100644
--- a/net-www/publicfile/publicfile-0.52.ebuild
+++ b/net-www/publicfile/publicfile-0.52.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/publicfile/publicfile-0.52.ebuild,v 1.15 2004/06/25 01:10:38 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/publicfile/publicfile-0.52.ebuild,v 1.16 2004/07/27 10:47:24 tigger Exp $
+
+inherit eutils
IUSE="selinux"
S=${WORKDIR}/${P}
@@ -35,10 +37,10 @@ src_install() {
dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION
}
-pkg_setup() {
- groupadd nofiles
- id ftp || useradd -g nofiles -d /home/public ftp
- id ftplog || useradd -g nofiles -d /home/public ftplog
+pkg_preinst() {
+ enewgroup nofiles
+ enewuser ftp -1 /bin/false /home/public nofiles
+ enewuser ftplog -1 /bin/false /home/public nofiles
}
pkg_postinst() {