summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-11-01 22:39:01 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-11-01 22:39:01 +0000
commit52c6f5e7d525315c84ca3c1d8d63e2efe70f01e7 (patch)
treeff9dbdfc63ec3d1706aaa7b3e7797bb9ba0090c9 /sys-apps
parentNew ebuild. See bug #7380 (diff)
downloadgentoo-2-52c6f5e7d525315c84ca3c1d8d63e2efe70f01e7.tar.gz
gentoo-2-52c6f5e7d525315c84ca3c1d8d63e2efe70f01e7.tar.bz2
gentoo-2-52c6f5e7d525315c84ca3c1d8d63e2efe70f01e7.zip
unstable new version
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/e2fsprogs/ChangeLog8
-rw-r--r--sys-apps/e2fsprogs/e2fsprogs-1.30.ebuild107
-rw-r--r--sys-apps/e2fsprogs/files/digest-e2fsprogs-1.301
3 files changed, 115 insertions, 1 deletions
diff --git a/sys-apps/e2fsprogs/ChangeLog b/sys-apps/e2fsprogs/ChangeLog
index 7a8f67bb4e78..f8667107e88e 100644
--- a/sys-apps/e2fsprogs/ChangeLog
+++ b/sys-apps/e2fsprogs/ChangeLog
@@ -1,6 +1,12 @@
# 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.7 2002/10/26 10:29:20 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/e2fsprogs/ChangeLog,v 1.8 2002/11/01 22:39:01 lostlogic Exp $
+
+*e2fsprogs-1.30 (01 Nov 2002)
+
+ 01 Nov 2002; Brandon Low <lostlogic@gentoo.org> :
+
+ New version, also updated the ebuild to use econf and einstall.
*e2fsprogs-1.29-r1 (26 Oct 2002)
diff --git a/sys-apps/e2fsprogs/e2fsprogs-1.30.ebuild b/sys-apps/e2fsprogs/e2fsprogs-1.30.ebuild
new file mode 100644
index 000000000000..bf18f9f76a1f
--- /dev/null
+++ b/sys-apps/e2fsprogs/e2fsprogs-1.30.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/e2fsprogs/e2fsprogs-1.30.ebuild,v 1.1 2002/11/01 22:39:01 lostlogic Exp $
+
+IUSE="nls"
+
+inherit eutils
+
+S="${WORKDIR}/${P}"
+DESCRIPTION="Standard EXT2 and EXT3 filesystem utilities"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://e2fsprogs.sourceforge.net/"
+
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha"
+SLOT="0"
+LICENSE="GPL-2"
+
+#debianutils is for 'readlink'
+DEPEND="virtual/glibc
+ nls? ( sys-devel/gettext )
+ sys-apps/debianutils
+ sys-apps/texinfo"
+
+RDEPEND="virtual/glibc"
+
+src_compile() {
+ local myconf=""
+
+ use nls \
+ && myconf="--enable-nls" \
+ || myconf="--disable-nls"
+
+ econf --enable-dynamic-e2fsck \
+ --enable-elf-shlibs \
+ ${myconf} || die
+
+ # Parallel make sometimes fails
+ MAKEOPTS="-j1" emake || die
+}
+
+src_install() {
+ einstall libdir=zapme || 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=""
+ #install ldscripts to fix bug #4411
+ cd ${D}/usr/lib
+ for x in *.a
+ do
+ [ ! -f ${x} ] && continue
+ gen_usr_ldscript ${x/a}so
+ done
+ #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
+
+ # 03 Aug 2002 <raker@gentoo.org>
+ # There are awk files that don't get installed when doing
+ # a 'make install'. They are the template files for
+ # /bin/compile_et.
+
+ cd ${S}/lib/et
+ insinto /usr/share/et
+ doins et_c.awk et_h.awk
+ cd ${S}/lib/ss
+ insinto /usr/share/ss
+ doins ct_c.awk
+}
+
diff --git a/sys-apps/e2fsprogs/files/digest-e2fsprogs-1.30 b/sys-apps/e2fsprogs/files/digest-e2fsprogs-1.30
new file mode 100644
index 000000000000..397c39fdd731
--- /dev/null
+++ b/sys-apps/e2fsprogs/files/digest-e2fsprogs-1.30
@@ -0,0 +1 @@
+MD5 81fb7a915ec53057a319995f0621a56f e2fsprogs-1.30.tar.gz 2886832