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
commit1ccfe2a72dcb1437484c3c70bf5877e8e862059d (patch)
tree0d77800b2a09df1723bfa2157dd88fa397cda2d2 /net-www/publicfile
parentVersion bump. Added description to metadata.xml. Changed python dependency to... (diff)
downloadhistorical-1ccfe2a72dcb1437484c3c70bf5877e8e862059d.tar.gz
historical-1ccfe2a72dcb1437484c3c70bf5877e8e862059d.tar.bz2
historical-1ccfe2a72dcb1437484c3c70bf5877e8e862059d.zip
Fix user/group additions re #58526.
Diffstat (limited to 'net-www/publicfile')
-rw-r--r--net-www/publicfile/ChangeLog6
-rw-r--r--net-www/publicfile/Manifest6
-rw-r--r--net-www/publicfile/publicfile-0.52-r1.ebuild10
-rw-r--r--net-www/publicfile/publicfile-0.52.ebuild12
4 files changed, 20 insertions, 14 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/Manifest b/net-www/publicfile/Manifest
index 73a25d2f4800..9398a3c3aed5 100644
--- a/net-www/publicfile/Manifest
+++ b/net-www/publicfile/Manifest
@@ -1,6 +1,6 @@
-MD5 d2f628d6dd3bdf2c5f7ca3fac05af869 publicfile-0.52.ebuild 1465
-MD5 cce97352c91ac8d7606f1490dcf2cb8b publicfile-0.52-r1.ebuild 1615
-MD5 163c74718380b9685cee9a702521d03e ChangeLog 1436
+MD5 dae89bdccd8be24dd0807ad4d5ae229c publicfile-0.52.ebuild 1477
+MD5 1bf9762985de7d3dd18b41ec139907ab publicfile-0.52-r1.ebuild 1611
+MD5 b9c3c9396c63d542b48604924ee9840d ChangeLog 1573
MD5 b82331f0d138fde33044c0d189b0b732 metadata.xml 292
MD5 47e5a95f216722242ffb60588a0a821e files/digest-publicfile-0.52 66
MD5 41a5f38461e3450d6a3e1a9a8dd93daf files/digest-publicfile-0.52-r1 193
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() {