diff options
author | Wout Mertens <wmertens@gentoo.org> | 2003-06-17 22:23:00 +0000 |
---|---|---|
committer | Wout Mertens <wmertens@gentoo.org> | 2003-06-17 22:23:00 +0000 |
commit | a0118ee322054beb33da0871dcec582f732f6bf4 (patch) | |
tree | ff81ec5961fa99fa3eb31010a192f97687b7f01f /net-fs/sfs | |
parent | new package - GNU Ada compiler (diff) | |
download | gentoo-2-a0118ee322054beb33da0871dcec582f732f6bf4.tar.gz gentoo-2-a0118ee322054beb33da0871dcec582f732f6bf4.tar.bz2 gentoo-2-a0118ee322054beb33da0871dcec582f732f6bf4.zip |
fix bug 22791
Diffstat (limited to 'net-fs/sfs')
-rw-r--r-- | net-fs/sfs/ChangeLog | 7 | ||||
-rw-r--r-- | net-fs/sfs/Manifest | 8 | ||||
-rw-r--r-- | net-fs/sfs/sfs-0.7.2.ebuild | 33 |
3 files changed, 21 insertions, 27 deletions
diff --git a/net-fs/sfs/ChangeLog b/net-fs/sfs/ChangeLog index c4dd0ce5c8a8..a28194b57094 100644 --- a/net-fs/sfs/ChangeLog +++ b/net-fs/sfs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-fs/sfs # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/sfs/ChangeLog,v 1.2 2003/04/22 10:24:42 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/sfs/ChangeLog,v 1.3 2003/06/17 22:23:00 wmertens Exp $ + + 17 Jun 2003; Wout Mertens <wmertens@gentoo.org> sfs-0.7.2.ebuild : + Fixed bug #22791 and now uses enewuser and enewgroup. No revision bump + because only fixes compilation problem and built executables are exactly the + same. *sfs-0.7.2 (19 Mar 2003) diff --git a/net-fs/sfs/Manifest b/net-fs/sfs/Manifest index ee82b1531a86..b0d9ebb4a459 100644 --- a/net-fs/sfs/Manifest +++ b/net-fs/sfs/Manifest @@ -1,6 +1,6 @@ -MD5 711833562186fb0e708112c8e3d72d68 ChangeLog 360 -MD5 70e1d96c7032ed281b8e4f033c8e54de sfs-0.7.2.ebuild 2588 -MD5 577ce14c65c9362770201f0539b18419 files/digest-sfs-0.7.2 62 +MD5 4ca9cb3812b18edddca3e6c8e4241f7c sfs-0.7.2.ebuild 2228 +MD5 e72943489ab1fdf20f299c7b16f26c47 ChangeLog 590 MD5 565459d840de54c759d9e81541ac04c9 files/sfscd 511 -MD5 9c4921627d6c6d02417475d705da4ba6 files/sfsrwsd_config 570 MD5 1760e4892c3501c326ac3491b54c7c1f files/sfssd 722 +MD5 9c4921627d6c6d02417475d705da4ba6 files/sfsrwsd_config 570 +MD5 577ce14c65c9362770201f0539b18419 files/digest-sfs-0.7.2 62 diff --git a/net-fs/sfs/sfs-0.7.2.ebuild b/net-fs/sfs/sfs-0.7.2.ebuild index a0c640b86ebc..947e65818ef9 100644 --- a/net-fs/sfs/sfs-0.7.2.ebuild +++ b/net-fs/sfs/sfs-0.7.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/sfs/sfs-0.7.2.ebuild,v 1.1 2003/03/19 01:43:05 wmertens Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/sfs/sfs-0.7.2.ebuild,v 1.2 2003/06/17 22:23:00 wmertens Exp $ DESCRIPTION="SFS (Self-certifying File System) client and server daemons" HOMEPAGE="http://www.fs.net/" @@ -22,32 +22,21 @@ RDEPEND="$DEPEND S="${WORKDIR}/${P}" pkg_setup() { - local sfs_gid=71 - local sfs_uid=71 - # checking for NFS support *seems* like a good idea, but since # nfs-utils doesn't do it, sfs won't either - # add the sfs group if necessary - if ! grep "^sfs:" /etc/group &>/dev/null; then - while grep ":${sfs_gid}:" /etc/group &>/dev/null; do - sfs_gid++ ; - done - - ewarn "Creating group 'sfs' (w/ gid ${sfs_gid})..." - groupadd -g ${sfs_gid} sfs - fi + # add the sfs user and group if necessary + enewuser sfs + enewgroup sfs +} - # add the sfs user if necessary - if ! grep "^sfs:" /etc/passwd &>/dev/null; then - while grep "^[^:]*:[^:]*:${sfs_uid}:" /etc/passwd &>/dev/null; do - sfs_uid++ ; - done +src_unpack() { + unpack ${A} - ewarn "Creating user 'sfs' (w/ uid ${sfs_uid})..." - useradd -u ${sfs_uid} -g sfs -d / -s /dev/null \ - -c "Self-certifying file system" sfs - fi + # Temporary workaround so that it will compile. Remove this on + # the next version. See bug #22791 + cd ${S} + sed -i~ 's/-Werror//g' configure } src_compile() { |