diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2000-10-31 19:58:54 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2000-10-31 19:58:54 +0000 |
commit | 48ba83be257fc3e034973249c0049d615d72e114 (patch) | |
tree | a9d6f5088d3925f15e5ab65c4062961a1e74ceb1 | |
parent | jerry's first package! (diff) | |
download | gentoo-2-48ba83be257fc3e034973249c0049d615d72e114.tar.gz gentoo-2-48ba83be257fc3e034973249c0049d615d72e114.tar.bz2 gentoo-2-48ba83be257fc3e034973249c0049d615d72e114.zip |
new fileutils and a small portage fix
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | sys-apps/fileutils/files/digest-fileutils-4.0.29 | 1 | ||||
-rw-r--r-- | sys-apps/fileutils/fileutils-4.0.29.ebuild | 26 | ||||
-rw-r--r-- | sys-apps/portage/files/portage.py | 5 |
4 files changed, 34 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 58c00a8f4443..13ca2ae84e4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,6 @@ 31.10.2000 + -New sys-apps/fileutils-4.0.29 (drobbins) + [getting ready for 4.0.30] -New net-mail/exim-3.16 (jerry) -Update libmng 0.9.2 -> 0.9.3 (achim) -Update amavis 0.2.1_p3 -> 0.2.1 (achim) diff --git a/sys-apps/fileutils/files/digest-fileutils-4.0.29 b/sys-apps/fileutils/files/digest-fileutils-4.0.29 new file mode 100644 index 000000000000..111ebd87fc82 --- /dev/null +++ b/sys-apps/fileutils/files/digest-fileutils-4.0.29 @@ -0,0 +1 @@ +MD5 f5266df2b133b34fb1d2dfb581d05501 fileutils-4.0.29.tar.gz diff --git a/sys-apps/fileutils/fileutils-4.0.29.ebuild b/sys-apps/fileutils/fileutils-4.0.29.ebuild new file mode 100644 index 000000000000..db6949b811fa --- /dev/null +++ b/sys-apps/fileutils/fileutils-4.0.29.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/fileutils/fileutils-4.0.29.ebuild,v 1.1 2000/10/31 19:58:54 drobbins Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Standard GNU file utilities (chmod, cp, dd, dir, ls, etc)" +SRC_URI="ftp://alpha.gnu.org/gnu/fetish/${A}" +HOMEPAGE="http://www.gnu.org/software/fileutils/fileutils.html" + +src_compile() { + #we are waiting for GNU fileutils 4.0.30 which will become standard in Gentoo 1.0 + #until then, we wait. + try ./configure --prefix=/usr + try make +} + +src_install() { + dodoc COPYING NEWS README* THANKS TODO ChangeLog ChangeLog-1997 AUTHORS + make prefix=${D}/usr install + cd ${D} + mv usr/bin . + prepall +} + diff --git a/sys-apps/portage/files/portage.py b/sys-apps/portage/files/portage.py index 58a9742b4bf0..d1fde200bc25 100644 --- a/sys-apps/portage/files/portage.py +++ b/sys-apps/portage/files/portage.py @@ -197,6 +197,11 @@ def merge(mycategory,mypackage,mystart): print print ">>> Merging contents of",mystart,"to "+root print ">>> Logging merge to "+root+"var/db/pkg/"+mycategory+"/"+mypackage+"/CONTENTS" + if not os.path.exists(root): + os.makedirs(root,0700) + elif not os.path.isdir(root): + print "!!! Error: ROOT setting points to a non-directory. Exiting." + return prepare_db(mycategory,mypackage) outfile=open(root+"var/db/pkg/"+mycategory+"/"+mypackage+"/CONTENTS","w") mergefiles(outfile,mystart) |