summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-03-21 08:49:06 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-03-21 08:49:06 +0000
commit2318ef98fea9797d7db5b11e323d89ad7d0876ee (patch)
tree85d4809b9bd42562b2f3a771b65042f002c774dc /sys-apps/e2fsprogs
parentsmall fixor (diff)
downloadgentoo-2-2318ef98fea9797d7db5b11e323d89ad7d0876ee.tar.gz
gentoo-2-2318ef98fea9797d7db5b11e323d89ad7d0876ee.tar.bz2
gentoo-2-2318ef98fea9797d7db5b11e323d89ad7d0876ee.zip
new version
Diffstat (limited to 'sys-apps/e2fsprogs')
-rw-r--r--sys-apps/e2fsprogs/ChangeLog4
-rw-r--r--sys-apps/e2fsprogs/e2fsprogs-1.27.ebuild86
-rw-r--r--sys-apps/e2fsprogs/files/digest-e2fsprogs-1.271
3 files changed, 90 insertions, 1 deletions
diff --git a/sys-apps/e2fsprogs/ChangeLog b/sys-apps/e2fsprogs/ChangeLog
index 000c4640d51c..f787af8a2fda 100644
--- a/sys-apps/e2fsprogs/ChangeLog
+++ b/sys-apps/e2fsprogs/ChangeLog
@@ -1,6 +1,8 @@
# ChangeLog for sys-apps/e2fsprogs
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/e2fsprogs/ChangeLog,v 1.1 2002/02/01 21:53:36 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/e2fsprogs/ChangeLog,v 1.2 2002/03/21 08:49:06 azarah Exp $
+
+*e2fsprogs-1.27 (21 March 2002)
*e2fsprogs-1.25-r3 (1 Feb 2002)
diff --git a/sys-apps/e2fsprogs/e2fsprogs-1.27.ebuild b/sys-apps/e2fsprogs/e2fsprogs-1.27.ebuild
new file mode 100644
index 000000000000..42f130d8d413
--- /dev/null
+++ b/sys-apps/e2fsprogs/e2fsprogs-1.27.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/e2fsprogs/e2fsprogs-1.27.ebuild,v 1.1 2002/03/21 08:49:06 azarah Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Standard EXT2 and EXT3 filesystem utilities"
+SRC_URI="http://prdownloads.sourceforge.net/${PN}/${P}.tar.gz"
+HOMEPAGE="http://e2fsprogs.sourceforge.net/"
+
+#debianutils is for 'readlink'
+DEPEND="virtual/glibc
+ nls? ( sys-devel/gettext )
+ sys-apps/debianutils"
+
+RDEPEND="virtual/glibc"
+
+src_compile() {
+ local myconf
+ if [ "`use nls`" ]
+ then
+ myconf="--enable-nls"
+ else
+ myconf="--disable-nls"
+ fi
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --enable-dynamic-e2fsck \
+ --enable-elf-shlibs \
+ ${myconf} || die
+
+ # Parallel make sometimes fails
+ make || die
+}
+
+src_install() {
+ make DESTDIR=${D} libdir=zapme install || die
+ #evil e2fsprogs makefile -- I'll get you!
+ rm -rf ${D}/zapme
+
+ make DESTDIR=${D} install-libs || die
+
+ if [ "`use nls`" ]
+ then
+ ( cd po; make DESTDIR=${D} install || die )
+ fi
+
+ dodoc COPYING ChangeLog README RELEASE-NOTES SHLIBS
+ docinto e2fsck
+ dodoc e2fsck/ChangeLog e2fsck/CHANGES
+
+ dodir /lib /bin /sbin
+ cd ${D}/usr/lib
+ mv * ../../lib
+ cd ${D}/lib
+ mv *.a ../usr/lib
+ local mylib
+ local x
+ #normalize evil symlinks
+ cd ${D}/lib
+ for x in *
+ do
+ [ ! -L $x ]&& continue
+ mylib=`readlink $x`
+ mylib=`basename $mylib`
+ ln -sf $mylib $x
+ done
+ mv ${D}/usr/bin/* ${D}/bin
+ mv ${D}/usr/sbin/* ${D}/sbin
+ cd ${D}/usr/bin
+ mv lsattr chattr uuidgen ../usr/bin
+ cd ${D}/sbin
+ mv mklost+found ../usr/sbin
+ #time to convert hard links/duplicates to symbolic links
+ cd ${D}/sbin
+ rm fsck.*
+ ln -sf e2fsck fsck.ext2
+ ln -sf e2fsck fsck.ext3
+ rm mkfs.*
+ ln -sf mke2fs mkfs.ext2
+ rm -rf ${D}/usr/share/et ${D}/usr/share/ss
+}
+
diff --git a/sys-apps/e2fsprogs/files/digest-e2fsprogs-1.27 b/sys-apps/e2fsprogs/files/digest-e2fsprogs-1.27
new file mode 100644
index 000000000000..49f077eb9d73
--- /dev/null
+++ b/sys-apps/e2fsprogs/files/digest-e2fsprogs-1.27
@@ -0,0 +1 @@
+MD5 485b43875becc98dd11ac4c2a30dd734 e2fsprogs-1.27.tar.gz 1376698