diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-04-20 19:00:23 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-04-20 19:00:23 +0000 |
commit | 8650cd63986b3b2a583919a5010cf372c0f3fc80 (patch) | |
tree | cb0f1e4d3c6218c4cd9d28406b4f2d63819e639f /sys-fs | |
parent | Fix copy-paste mistake in eerror message. (diff) | |
download | gentoo-2-8650cd63986b3b2a583919a5010cf372c0f3fc80.tar.gz gentoo-2-8650cd63986b3b2a583919a5010cf372c0f3fc80.tar.bz2 gentoo-2-8650cd63986b3b2a583919a5010cf372c0f3fc80.zip |
Install fsck binaries into /sbin #218540.
(Portage version: 2.2_pre5)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/dosfstools/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/dosfstools/dosfstools-2.11-r4.ebuild | 46 |
2 files changed, 53 insertions, 1 deletions
diff --git a/sys-fs/dosfstools/ChangeLog b/sys-fs/dosfstools/ChangeLog index b5f23ddffa99..57f419a031b0 100644 --- a/sys-fs/dosfstools/ChangeLog +++ b/sys-fs/dosfstools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/dosfstools # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/dosfstools/ChangeLog,v 1.43 2008/02/17 12:47:54 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/dosfstools/ChangeLog,v 1.44 2008/04/20 19:00:23 vapier Exp $ + +*dosfstools-2.11-r4 (20 Apr 2008) + + 20 Apr 2008; Mike Frysinger <vapier@gentoo.org> + +dosfstools-2.11-r4.ebuild: + Install fsck binaries into /sbin #218540. 17 Feb 2008; Christoph Mende <angelos@gentoo.org> dosfstools-2.11-r3.ebuild: diff --git a/sys-fs/dosfstools/dosfstools-2.11-r4.ebuild b/sys-fs/dosfstools/dosfstools-2.11-r4.ebuild new file mode 100644 index 000000000000..f08894eddf58 --- /dev/null +++ b/sys-fs/dosfstools/dosfstools-2.11-r4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/dosfstools/dosfstools-2.11-r4.ebuild,v 1.1 2008/04/20 19:00:23 vapier Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="DOS filesystem tools - provides mkdosfs, mkfs.msdos, mkfs.vfat" +HOMEPAGE="ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/" +SRC_URI="ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/${P}.src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e '/^PREFIX/s:=:=/usr:' \ + -e '/^MANDIR/s:/usr:/share:' \ + Makefile || die "sed Makefile" + epatch "${FILESDIR}"/dosfstools-2.11-fat32size.patch + epatch "${FILESDIR}"/dosfstools-2.11-verify-double-count-fix.patch + epatch "${FILESDIR}"/dosfstools-2.11-build.patch + epatch "${FILESDIR}"/dosfstools-2.11-preen.patch +} + +src_compile() { + tc-export CC + emake || die +} + +src_install() { + emake PREFIX="${D}"/usr install || die + dodir /sbin + mv "${D}"/usr/sbin/*fsck* "${D}"/sbin/ || die + + dodoc CHANGES TODO + newdoc dosfsck/README README.dosfsck + newdoc dosfsck/CHANGES CHANGES.dosfsck + newdoc mkdosfs/README README.mkdosfs + newdoc mkdosfs/ChangeLog ChangeLog.mkdosfs +} |