summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2004-09-13 07:51:58 +0000
committerGuy Martin <gmsoft@gentoo.org>2004-09-13 07:51:58 +0000
commitd350839bcf26f19a63eb7a3645617e887689faca (patch)
tree41a358ef0b4babc80a98ec0f74936ffeb90f2b4f
parentminor touchups to the ebuild (diff)
downloadhistorical-d350839bcf26f19a63eb7a3645617e887689faca.tar.gz
historical-d350839bcf26f19a63eb7a3645617e887689faca.tar.bz2
historical-d350839bcf26f19a63eb7a3645617e887689faca.zip
Use -fPIC compiled shared files in .a files. Fix kdelibs-3.3.0 compilation on hppa => Stable on hppa.
-rw-r--r--sys-fs/e2fsprogs/ChangeLog8
-rw-r--r--sys-fs/e2fsprogs/Manifest24
-rw-r--r--sys-fs/e2fsprogs/e2fsprogs-1.35-r1.ebuild120
-rw-r--r--sys-fs/e2fsprogs/files/digest-e2fsprogs-1.35-r11
4 files changed, 136 insertions, 17 deletions
diff --git a/sys-fs/e2fsprogs/ChangeLog b/sys-fs/e2fsprogs/ChangeLog
index 92f3fe137c3a..da4ef76a14de 100644
--- a/sys-fs/e2fsprogs/ChangeLog
+++ b/sys-fs/e2fsprogs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/e2fsprogs
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/ChangeLog,v 1.31 2004/09/03 19:16:58 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/ChangeLog,v 1.32 2004/09/13 07:51:58 gmsoft Exp $
+
+*e2fsprogs-1.35-r1 (13 Sep 2004)
+
+ 13 Sep 2004; Guy Martin <gmsoft@gentoo.org> +e2fsprogs-1.35-r1.ebuild:
+ Use -fPIC compiled shared files in .a files. Fix kdelibs-3.3.0 compilation on
+ hppa => Stable on hppa.
03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
e2fsprogs-1.35.ebuild:
diff --git a/sys-fs/e2fsprogs/Manifest b/sys-fs/e2fsprogs/Manifest
index 6309a89719ec..2cd105b4a745 100644
--- a/sys-fs/e2fsprogs/Manifest
+++ b/sys-fs/e2fsprogs/Manifest
@@ -1,27 +1,19 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 d2ed1a9067e060a48c3002d3ee30859a ChangeLog 7858
MD5 7295f3452399877281fc761d36c48eba e2fsprogs-1.32-r2.ebuild 2276
MD5 5854a4ebf286618336853006fb70fa44 e2fsprogs-1.33.ebuild 2471
-MD5 11f6d7ba53227f4104cf0c76fc29d554 e2fsprogs-1.34.ebuild 2768
-MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 2edb0d073060c192284a71d32d02adcc e2fsprogs-1.34-r1.ebuild 2884
+MD5 11f6d7ba53227f4104cf0c76fc29d554 e2fsprogs-1.34.ebuild 2768
MD5 2ee511ac5e5941604b071c9a3ff3c916 e2fsprogs-1.35.ebuild 2794
+MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 096833618f49c2da6f1d0692ee12f4b5 ChangeLog 8070
+MD5 b8cc11a779fcaf0522dda9e4a4848496 e2fsprogs-1.35-r1.ebuild 2977
MD5 db361eb5cdf39ddae07e9f794d308b42 files/digest-e2fsprogs-1.32-r2 67
MD5 3307c0c209b26bf447ff2840b7118862 files/digest-e2fsprogs-1.33 67
MD5 9c39bba6702e492a7a01624ae60587bc files/digest-e2fsprogs-1.34 67
+MD5 9c39bba6702e492a7a01624ae60587bc files/digest-e2fsprogs-1.34-r1 67
+MD5 3d9735f2397680a4978124f6805219ae files/digest-e2fsprogs-1.35 67
MD5 0b77829b4c6500ac9722143384ddda95 files/e2fsprogs-1.27ea-0.8.21.diff 15214
MD5 1a896f2697b055d4b8b4139c3482ac9e files/e2fsprogs-1.32-mk_cmds-cosmetic.patch 316
MD5 d9d69b54c577273521f4b8c2013a7a09 files/e2fsprogs-1.34-kernel-2.6-fix.patch 934
-MD5 f079047f6885f762f6fa838b55236cb2 files/e2fsprogs-sed-locale.patch 5989
-MD5 9c39bba6702e492a7a01624ae60587bc files/digest-e2fsprogs-1.34-r1 67
MD5 b3b97c7ba36458e2842891e96e1ce0de files/e2fsprogs-1.34-swap-symlink.diff 1091
-MD5 3d9735f2397680a4978124f6805219ae files/digest-e2fsprogs-1.35 67
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBPjxOHTu7gpaalycRAvubAJ9IMKPdAkjJvGQQn8jsp5GrutiYQwCdG9dp
-I8RIjxMteGLAqxc868hxGzA=
-=zJ8I
------END PGP SIGNATURE-----
+MD5 f079047f6885f762f6fa838b55236cb2 files/e2fsprogs-sed-locale.patch 5989
+MD5 3d9735f2397680a4978124f6805219ae files/digest-e2fsprogs-1.35-r1 67
diff --git a/sys-fs/e2fsprogs/e2fsprogs-1.35-r1.ebuild b/sys-fs/e2fsprogs/e2fsprogs-1.35-r1.ebuild
new file mode 100644
index 000000000000..b00b0f41ac22
--- /dev/null
+++ b/sys-fs/e2fsprogs/e2fsprogs-1.35-r1.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.35-r1.ebuild,v 1.1 2004/09/13 07:51:58 gmsoft Exp $
+
+inherit eutils flag-o-matic gnuconfig
+
+DESCRIPTION="Standard EXT2 and EXT3 filesystem utilities"
+HOMEPAGE="http://e2fsprogs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm hppa ~amd64 ~ia64 ~ppc64 ~s390"
+IUSE="nls static"
+
+DEPEND="virtual/libc
+ nls? ( sys-devel/gettext )
+ sys-apps/texinfo"
+RDEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ # Fix a cosmetic error in mk_cmds's help output.
+ cd ${S}; epatch ${FILESDIR}/e2fsprogs-1.32-mk_cmds-cosmetic.patch
+ # Userpriv fix. Closes #27348
+ chmod u+w po/*.po
+ # Patch to make the configure and sed scripts more friendly to,
+ # for example, the Estonian locale
+ epatch ${FILESDIR}/${PN}-sed-locale.patch
+
+ gnuconfig_update
+
+ # Use -fPIC compiled shared files in .a files. Fix kdelibs-3.3.0 compilation on hppa.
+ use static || sed -e '/ARUPD/s:$(OBJS):elfshared/*.o:' -i ${S}/lib/Makefile.library
+}
+
+src_compile() {
+ local myconf
+
+ # building e2fsprogs on sparc results in silo breaking
+ [ "${ARCH}" = "sparc" ] && filter-flags "-fstack-protector"
+
+ use static \
+ && myconf="${myconf} --with-ldopts=-static" \
+ || myconf="${myconf} --enable-dynamic-e2fsck --enable-elf-shlibs"
+
+ econf \
+ `use_enable nls` \
+ ${myconf} || die
+
+ # Parallel make sometimes fails
+ emake -j1 || die
+}
+
+src_install() {
+ einstall libdir=zapme || die
+ #evil e2fsprogs makefile -- I'll get you!
+ rm -rf ${D}/zapme
+
+ make DESTDIR=${D} install-libs || die
+
+ #There is .po file b0rkage with 1.33; commenting this out (drobbins, 21 Apr 2003)
+ #if use nls; then
+ # make -C po DESTDIR=${D} install || die
+ #fi
+
+ dodoc 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/sbin/* ${D}/sbin
+ cd ${D}/usr/bin
+ mv lsattr chattr uuidgen ../../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
+ ln -sf mke2fs mkfs.ext3
+
+ # 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-fs/e2fsprogs/files/digest-e2fsprogs-1.35-r1 b/sys-fs/e2fsprogs/files/digest-e2fsprogs-1.35-r1
new file mode 100644
index 000000000000..38322e76f0f4
--- /dev/null
+++ b/sys-fs/e2fsprogs/files/digest-e2fsprogs-1.35-r1
@@ -0,0 +1 @@
+MD5 8d25ffd60d405ef32d341704a2323807 e2fsprogs-1.35.tar.gz 3152299