diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-03-11 01:15:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-03-11 01:15:38 +0000 |
commit | df49ea61fdcaae8b9088344ce9fef040dc622cee (patch) | |
tree | 0e7d08d88c0e52fa428b2c60d600596cfc3b8f94 /sys-fs | |
parent | old (diff) | |
download | historical-df49ea61fdcaae8b9088344ce9fef040dc622cee.tar.gz historical-df49ea61fdcaae8b9088344ce9fef040dc622cee.tar.bz2 historical-df49ea61fdcaae8b9088344ce9fef040dc622cee.zip |
Fix header install and lib/bin symlinks.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/e2fsprogs/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/e2fsprogs/Manifest | 7 | ||||
-rw-r--r-- | sys-fs/e2fsprogs/e2fsprogs-1.36-r2.ebuild | 89 | ||||
-rw-r--r-- | sys-fs/e2fsprogs/files/digest-e2fsprogs-1.36-r2 | 1 | ||||
-rw-r--r-- | sys-fs/e2fsprogs/files/e2fsprogs-1.36-makefile.patch | 75 |
5 files changed, 176 insertions, 4 deletions
diff --git a/sys-fs/e2fsprogs/ChangeLog b/sys-fs/e2fsprogs/ChangeLog index ce62913413d9..304f0c1a2674 100644 --- a/sys-fs/e2fsprogs/ChangeLog +++ b/sys-fs/e2fsprogs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/e2fsprogs # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/ChangeLog,v 1.47 2005/03/09 00:35:52 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/ChangeLog,v 1.48 2005/03/11 01:15:38 vapier Exp $ + +*e2fsprogs-1.36-r2 (10 Mar 2005) + + 10 Mar 2005; Mike Frysinger <vapier@gentoo.org> + +files/e2fsprogs-1.36-makefile.patch, +e2fsprogs-1.36-r2.ebuild: + Fix header install and lib/bin symlinks. *e2fsprogs-1.36-r1 (08 Mar 2005) diff --git a/sys-fs/e2fsprogs/Manifest b/sys-fs/e2fsprogs/Manifest index 405425b865a0..66019f4513b5 100644 --- a/sys-fs/e2fsprogs/Manifest +++ b/sys-fs/e2fsprogs/Manifest @@ -1,11 +1,12 @@ -MD5 f6ac2ae597ca7b4721fae620e8b7ef67 ChangeLog 9627 +MD5 69227ef9cb1469a1e974309e75914eec ChangeLog 9822 MD5 54432110b1e54ba458f618f72d355216 e2fsprogs-1.36.ebuild 3400 -MD5 f0331fecec48bbb41b39e888beaf1e67 e2fsprogs-1.36-r1.ebuild 2822 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +MD5 34f9da9ce2baaac51c1ea7bcbf1a683e e2fsprogs-1.36-r2.ebuild 2625 MD5 37cb0ccd95b17f3838109fb5c07bdd5c e2fsprogs-1.35-r1.ebuild 3377 MD5 e86bf4d241506baff5f647cbd30ae7a0 files/digest-e2fsprogs-1.36 67 MD5 4a7d54ccac4002d10462c40660712a72 files/e2fsprogs-1.36-sed-locale.patch 2142 -MD5 e86bf4d241506baff5f647cbd30ae7a0 files/digest-e2fsprogs-1.36-r1 67 MD5 1a896f2697b055d4b8b4139c3482ac9e files/e2fsprogs-1.32-mk_cmds-cosmetic.patch 316 +MD5 e86bf4d241506baff5f647cbd30ae7a0 files/digest-e2fsprogs-1.36-r2 67 MD5 f079047f6885f762f6fa838b55236cb2 files/e2fsprogs-sed-locale.patch 5989 +MD5 a47cce15da0a4e01bb3cec306d9d7dbe files/e2fsprogs-1.36-makefile.patch 2910 MD5 3d9735f2397680a4978124f6805219ae files/digest-e2fsprogs-1.35-r1 67 diff --git a/sys-fs/e2fsprogs/e2fsprogs-1.36-r2.ebuild b/sys-fs/e2fsprogs/e2fsprogs-1.36-r2.ebuild new file mode 100644 index 000000000000..ead739d5fe2a --- /dev/null +++ b/sys-fs/e2fsprogs/e2fsprogs-1.36-r2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.36-r2.ebuild,v 1.1 2005/03/11 01:15:38 vapier Exp $ + +inherit eutils flag-o-matic toolchain-funcs + +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="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="nls static diet" + +RDEPEND="diet? ( dev-libs/dietlibc )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + sys-apps/texinfo" + +src_unpack() { + unpack ${A} + cd "${S}" + # Fix a cosmetic error in mk_cmds's help output. + epatch "${FILESDIR}"/e2fsprogs-1.32-mk_cmds-cosmetic.patch + # Patch to make the configure and sed scripts more friendly to, + # for example, the Estonian locale + epatch "${FILESDIR}"/${P}-sed-locale.patch + chmod u+w po/*.po # Userpriv fix #27348 + # Clean up makefile to suck less + epatch "${FILESDIR}"/${P}-makefile.patch + + # kernel headers use the same defines as e2fsprogs and can cause issues #48829 + sed -i \ + -e 's:CONFIG_JBD_DEBUG:__CONFIG_JBD_DEBUG__E2FS:g' \ + $(grep -rl CONFIG_JBD_DEBUG *) \ + || die "sed jbd debug failed" + + # building e2fsprogs on sparc results in silo breaking + [[ ${ARCH} == "sparc" ]] && filter-flags -fstack-protector + + # Keep the package from doing silly things + export LDCONFIG=/bin/true + export CC=$(tc-getCC) + export STRIP=/bin/true +} + +src_compile() { + local myconf + use diet && myconf="${myconf} --with-diet-libc" + econf \ + --bindir=/bin \ + --sbindir=/sbin \ + --enable-elf-shlibs \ + --with-ldopts="${LDFLAGS}" \ + $(use_enable !static dynamic-e2fsck) \ + $(use_enable nls) \ + ${myconf} || die + # Parallel make sometimes fails + emake -j1 || die +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc ChangeLog README RELEASE-NOTES SHLIBS + docinto e2fsck + dodoc e2fsck/ChangeLog e2fsck/CHANGES + + # Move shared libraries to /lib/, install static libraries to /usr/lib/, + # and install linker scripts to /usr/lib/. + dodir /$(get_libdir) + mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)/ + dolib.a lib/*.a || die "dolib.a" + local x + cd "${D}"/$(get_libdir) + for x in *.so ; do + gen_usr_ldscript ${x} || die "gen ldscript ${x}" + done + + # move 'useless' stuff to /usr/ + dosbin "${D}"/sbin/mklost+found + rm -f "${D}"/sbin/mklost+found + + # Install template awk files for compile_et + insinto /usr/share/et + doins "${S}"/lib/et/*.awk || die "doins et awk" + insinto /usr/share/ss + doins "${S}"/lib/ss/*.awk || die "doins ss awk" +} diff --git a/sys-fs/e2fsprogs/files/digest-e2fsprogs-1.36-r2 b/sys-fs/e2fsprogs/files/digest-e2fsprogs-1.36-r2 new file mode 100644 index 000000000000..b9df1ce9da18 --- /dev/null +++ b/sys-fs/e2fsprogs/files/digest-e2fsprogs-1.36-r2 @@ -0,0 +1 @@ +MD5 1804ee96b76e5e7113fe3cecd6fe582b e2fsprogs-1.36.tar.gz 3264042 diff --git a/sys-fs/e2fsprogs/files/e2fsprogs-1.36-makefile.patch b/sys-fs/e2fsprogs/files/e2fsprogs-1.36-makefile.patch new file mode 100644 index 000000000000..02ecca735813 --- /dev/null +++ b/sys-fs/e2fsprogs/files/e2fsprogs-1.36-makefile.patch @@ -0,0 +1,75 @@ +Make sure headers are installed. +Also fix the symlinks that submakefiles create so that they don't suck at life. + +--- e2fsprogs-1.36/Makefile.in ++++ e2fsprogs-1.36/Makefile.in +@@ -48,3 +48,3 @@ + install-shlibs-libs-recursive install-doc-libs +- if test ! -d e2fsck && test ! -d debugfs && test ! -d misc && test ! -d ext2ed ; then $(MAKE) install-libs ; fi ++ $(MAKE) install-libs + +--- e2fsprogs-1.36/e2fsck/Makefile.in ++++ e2fsprogs-1.36/e2fsck/Makefile.in +@@ -163,6 +163,6 @@ + @echo " LINK $(root_sbindir)/fsck.ext2" +- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \ ++ @$(LN_S) -f e2fsck \ + $(DESTDIR)$(root_sbindir)/fsck.ext2 + @echo " LINK $(root_sbindir)/fsck.ext3" +- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \ ++ @$(LN_S) -f e2fsck \ + $(DESTDIR)$(root_sbindir)/fsck.ext3 +@@ -176,6 +176,6 @@ + @echo " LINK $(man8dir)/fsck.ext2.8" +- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \ ++ @$(LN_S) -f e2fsck.8 \ + $(DESTDIR)$(man8dir)/fsck.ext2.8 + @echo " LINK $(man8dir)/fsck.ext3.8" +- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \ ++ @$(LN_S) -f e2fsck.8 \ + $(DESTDIR)$(man8dir)/fsck.ext3.8 +--- e2fsprogs-1.36/misc/Makefile.in ++++ e2fsprogs-1.36/misc/Makefile.in +@@ -228,12 +228,12 @@ + @echo " LINK $(root_sbindir)/mkfs.ext2" +- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \ ++ @$(LN_S) -f mke2fs \ + $(DESTDIR)$(root_sbindir)/mkfs.ext2 + @echo " LINK $(root_sbindir)/mkfs.ext3" +- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \ ++ @$(LN_S) -f mke2fs \ + $(DESTDIR)$(root_sbindir)/mkfs.ext3 + @echo " LINK $(root_sbindir)/e2label" +- @$(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \ ++ @$(LN_S) -f tune2fs \ + $(DESTDIR)$(root_sbindir)/e2label + @echo " LINK $(root_sbindir)/findfs" +- @$(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \ ++ @$(LN_S) -f tune2fs \ + $(DESTDIR)$(root_sbindir)/findfs +@@ -257,6 +257,6 @@ + @echo " LINK mkfs.ext2.8" +- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \ ++ @$(LN_S) -f mke2fs.8 \ + $(DESTDIR)$(man8dir)/mkfs.ext2.8 + @echo " LINK mkfs.ext3.8" +- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \ ++ @$(LN_S) -f mke2fs.8 \ + $(DESTDIR)$(man8dir)/mkfs.ext3.8 +--- e2fsprogs-1.36/lib/uuid/Makefile.in ++++ e2fsprogs-1.36/lib/uuid/Makefile.in +@@ -148,5 +148,5 @@ + @echo " LINK $(man3dir)/uuid_generate_random.3" +- @$(LN) -f $(DESTDIR)$(man3dir)/uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_random.3 ++ @$(LN_S) -f uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_random.3 + @echo " LINK $(man3dir)/uuid_generate_time.3" +- @$(LN) -f $(DESTDIR)$(man3dir)/uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_time.3 ++ @$(LN_S) -f uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_time.3 + @echo " INSTALL_DATA $(libdir)/pkgconfig/uuid.pc" +--- e2fsprogs-1.36/lib/Makefile.elf-lib ++++ e2fsprogs-1.36/lib/Makefile.elf-lib +@@ -49,3 +49,3 @@ + @echo " SYMLINK $(libdir)/$(ELF_IMAGE).so" +- @$(LN_S) -f $(ELF_INSTALL_DIR)/$(ELF_SONAME) \ ++ @$(LN_S) -f $(ELF_SONAME) \ + $(DESTDIR)$(libdir)/$(ELF_IMAGE).so |