summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2000-10-31 19:58:54 +0000
committerDaniel Robbins <drobbins@gentoo.org>2000-10-31 19:58:54 +0000
commit48ba83be257fc3e034973249c0049d615d72e114 (patch)
treea9d6f5088d3925f15e5ab65c4062961a1e74ceb1 /sys-apps
parentjerry's first package! (diff)
downloadgentoo-2-48ba83be257fc3e034973249c0049d615d72e114.tar.gz
gentoo-2-48ba83be257fc3e034973249c0049d615d72e114.tar.bz2
gentoo-2-48ba83be257fc3e034973249c0049d615d72e114.zip
new fileutils and a small portage fix
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/fileutils/files/digest-fileutils-4.0.291
-rw-r--r--sys-apps/fileutils/fileutils-4.0.29.ebuild26
-rw-r--r--sys-apps/portage/files/portage.py5
3 files changed, 32 insertions, 0 deletions
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)