diff options
author | Roy Marples <uberlord@gentoo.org> | 2007-08-02 14:10:35 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2007-08-02 14:10:35 +0000 |
commit | 87ed94ec5bab7137f858d9b762bdcb967244b01b (patch) | |
tree | effbdf9e123ca89febe081ea6b987f5a72973dfd /sys-fs/reiserfsprogs | |
parent | alpha stable (diff) | |
download | gentoo-2-87ed94ec5bab7137f858d9b762bdcb967244b01b.tar.gz gentoo-2-87ed94ec5bab7137f858d9b762bdcb967244b01b.tar.bz2 gentoo-2-87ed94ec5bab7137f858d9b762bdcb967244b01b.zip |
Patch 3.6.19 for fsck -f -n too.
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'sys-fs/reiserfsprogs')
4 files changed, 51 insertions, 1 deletions
diff --git a/sys-fs/reiserfsprogs/ChangeLog b/sys-fs/reiserfsprogs/ChangeLog index 6fd8185ddce6..b04d54ad07df 100644 --- a/sys-fs/reiserfsprogs/ChangeLog +++ b/sys-fs/reiserfsprogs/ChangeLog @@ -1,10 +1,12 @@ # ChangeLog for sys-fs/reiserfsprogs # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiserfsprogs/ChangeLog,v 1.40 2007/08/02 09:20:20 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiserfsprogs/ChangeLog,v 1.41 2007/08/02 14:10:35 uberlord Exp $ +*reiserfsprogs-3.6.19-r2 (02 Aug 2007) *reiserfsprogs-3.6.20-r1 (02 Aug 2007) 02 Aug 2007; Roy Marples <uberlord@gentoo.org> + +files/reiserfsprogs-3.6.19-fsck-n.patch, +reiserfsprogs-3.6.19-r2.ebuild, +files/reiserfsprogs-3.6.20-fsck-n.patch, +reiserfsprogs-3.6.20-r1.ebuild: Add a patch to allow fsck -f -n to work, #116016 diff --git a/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.19-r2 b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.19-r2 new file mode 100644 index 000000000000..dafe8ed8d8bd --- /dev/null +++ b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.19-r2 @@ -0,0 +1,3 @@ +MD5 b42cf15f6651c3ceff5cb84996c0d539 reiserfsprogs-3.6.19.tar.gz 406895 +RMD160 a082eb9de980b3d24dd9d08e5028a19f448ed40a reiserfsprogs-3.6.19.tar.gz 406895 +SHA256 c0862c53aecd23724a72d32fb54706d61d9858925c78408a2852d042417e68bf reiserfsprogs-3.6.19.tar.gz 406895 diff --git a/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.19-fsck-n.patch b/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.19-fsck-n.patch new file mode 100644 index 000000000000..2146c94d4f36 --- /dev/null +++ b/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.19-fsck-n.patch @@ -0,0 +1,12 @@ +diff -ur reiserfsprogs-3.6.19.orig/fsck/main.c reiserfsprogs-3.6.19/fsck/main.c +--- reiserfsprogs-3.6.19.orig/fsck/main.c 2004-10-07 15:04:08.000000000 +0100 ++++ reiserfsprogs-3.6.19/fsck/main.c 2007-05-02 16:05:08.000000000 +0100 +@@ -416,7 +416,7 @@ + (data->log == stdout) ? "stdout" : + (data->log_file_name ? data->log_file_name : "fsck.run")); + +- if (!(data->options & OPT_YES) && !user_confirmed (warn_to, "\nDo you want to " ++ if (!(data->options & OPT_YES) && !(data->options & OPT_SILENT) && !user_confirmed (warn_to, "\nDo you want to " + "run this program?[N/Yes] (note need to type Yes if you do):", "Yes\n")) + exit (EXIT_USER); + } diff --git a/sys-fs/reiserfsprogs/reiserfsprogs-3.6.19-r2.ebuild b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.19-r2.ebuild new file mode 100644 index 000000000000..7ea7a3c6a7d9 --- /dev/null +++ b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.19-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiserfsprogs/reiserfsprogs-3.6.19-r2.ebuild,v 1.1 2007/08/02 14:10:35 uberlord Exp $ + +inherit eutils + +DESCRIPTION="Reiserfs Utilities" +HOMEPAGE="http://www.namesys.com/" +SRC_URI="http://www.namesys.com/pub/reiserfsprogs/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-unaligned.patch + epatch "${FILESDIR}"/${P}-fsck-n.patch +} + +src_compile() { + econf --prefix=/ || die "Failed to configure" + emake || die "Failed to compile" +} + +src_install() { + emake DESTDIR="${D}" install || die "Failed to install" + dosym reiserfsck /sbin/fsck.reiserfs + dosym mkreiserfs /sbin/mkfs.reiserfs + dodoc ChangeLog INSTALL README +} |