diff options
author | Brandon Low <lostlogic@gentoo.org> | 2004-02-23 15:43:31 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2004-02-23 15:43:31 +0000 |
commit | 4cc9a792869716a80fb4085b822543c42a7b9e9f (patch) | |
tree | ce524bf803b849016b90b34869c48544dfd40515 /sys-fs | |
parent | Stable on sparc. (Slow, bloated piece of Java...) (Manifest recommit) (diff) | |
download | gentoo-2-4cc9a792869716a80fb4085b822543c42a7b9e9f.tar.gz gentoo-2-4cc9a792869716a80fb4085b822543c42a7b9e9f.tar.bz2 gentoo-2-4cc9a792869716a80fb4085b822543c42a7b9e9f.zip |
Bump to official release same as -r1 only official
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/reiserfsprogs/ChangeLog | 9 | ||||
-rw-r--r-- | sys-fs/reiserfsprogs/Manifest | 2 | ||||
-rw-r--r-- | sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.12-r1 | 1 | ||||
-rw-r--r-- | sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.13 | 1 | ||||
-rw-r--r-- | sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.12-check_root-bug | 231 | ||||
-rw-r--r-- | sys-fs/reiserfsprogs/reiserfsprogs-3.6.13.ebuild (renamed from sys-fs/reiserfsprogs/reiserfsprogs-3.6.12-r1.ebuild) | 8 |
6 files changed, 12 insertions, 240 deletions
diff --git a/sys-fs/reiserfsprogs/ChangeLog b/sys-fs/reiserfsprogs/ChangeLog index 0a39eaf1b087..d91418241f1f 100644 --- a/sys-fs/reiserfsprogs/ChangeLog +++ b/sys-fs/reiserfsprogs/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-fs/reiserfsprogs # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiserfsprogs/ChangeLog,v 1.11 2004/02/12 22:11:05 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiserfsprogs/ChangeLog,v 1.12 2004/02/23 15:43:31 lostlogic Exp $ + +*reiserfsprogs-3.6.13 (23 Feb 2004) + + 23 Feb 2004; Brandon Low <lostlogic@gentoo.org> + reiserfsprogs-3.6.12-r1.ebuild, reiserfsprogs-3.6.13.ebuild, + files/reiserfsprogs-3.6.12-check_root-bug: + Bump to official release same as -r1 only official 12 Feb 2004; Brandon Low <lostlogic@gentoo.org> reiserfsprogs-3.6.12.ebuild: Remove bad version diff --git a/sys-fs/reiserfsprogs/Manifest b/sys-fs/reiserfsprogs/Manifest index b1a7b5c3dea8..3d8550f4c777 100644 --- a/sys-fs/reiserfsprogs/Manifest +++ b/sys-fs/reiserfsprogs/Manifest @@ -3,6 +3,7 @@ MD5 332831ecaa175074e761e64e7a280562 reiserfsprogs-3.6.4-r1.ebuild 1345 MD5 a62836ca07aa397b600c5415974dbd9d reiserfsprogs-3.6.12-r1.ebuild 877 MD5 4bef3863abd4e25f922f95b91d48f8a5 reiserfsprogs-3.6.11.ebuild 835 MD5 181aa987f6c90780d9db0a1a1d863c7c reiserfsprogs-3.6.8.ebuild 791 +MD5 40ad2b0eb3fa1f2f16c695a971dd360f reiserfsprogs-3.6.13.ebuild 790 MD5 dff576738dba0df38c3f4a1716b8e23b reiserfsprogs-3.6.11-r1.ebuild 1073 MD5 6fb4588a5c08ad3418e6e49cb5aea242 reiserfsprogs-3.6.10.ebuild 796 MD5 21c7e4396dccb5dd70222aac4452fa40 ChangeLog 6144 @@ -18,4 +19,5 @@ MD5 c29a2b313930bcc6a2c0fba4354c0520 files/digest-reiserfsprogs-3.6.11-r1 72 MD5 232aa13ef642676a3979b9d794536e41 files/digest-reiserfsprogs-3.6.12-r1 72 MD5 5e0eb61e5ed2aacbd317342fc3acfb7b files/digest-reiserfsprogs-3.6.10 72 MD5 c29a2b313930bcc6a2c0fba4354c0520 files/digest-reiserfsprogs-3.6.11 72 +MD5 e551421a01540edae18f223f5dca87ff files/digest-reiserfsprogs-3.6.13 72 MD5 617a3648008a53096dc4eec756d9facd files/reiserfsprogs-3.6.12-check_root-bug 7949 diff --git a/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.12-r1 b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.12-r1 deleted file mode 100644 index b9f10eaf5659..000000000000 --- a/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.12-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 8b7ea8ac43626aaf8d1deec2863732ba reiserfsprogs-3.6.12.tar.gz 373074 diff --git a/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.13 b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.13 new file mode 100644 index 000000000000..09c3a82b8962 --- /dev/null +++ b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.13 @@ -0,0 +1 @@ +MD5 df231047d8df4fb7917b96938947671b reiserfsprogs-3.6.13.tar.gz 373224 diff --git a/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.12-check_root-bug b/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.12-check_root-bug deleted file mode 100644 index 4f2f7a024e3e..000000000000 --- a/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.12-check_root-bug +++ /dev/null @@ -1,231 +0,0 @@ -# This is a BitKeeper generated diff -Nru style patch. -# -# ChangeSet -# 2004/02/12 23:28:01+03:00 vitaly@bitstream.namesys.com -# a few bugs were fixed in the mount entry detection code. -# -# reiserfsprogs/tune/tune.c -# 2004/02/12 23:27:42+03:00 vitaly@bitstream.namesys.com +1 -1 -# -# reiserfsprogs/resize_reiserfs/resize_reiserfs.c -# 2004/02/12 23:27:42+03:00 vitaly@bitstream.namesys.com +2 -2 -# -# reiserfsprogs/reiserfscore/reiserfslib.c -# 2004/02/12 23:27:42+03:00 vitaly@bitstream.namesys.com +1 -1 -# -# reiserfsprogs/lib/misc.c -# 2004/02/12 23:27:42+03:00 vitaly@bitstream.namesys.com +6 -29 -# -# reiserfsprogs/include/misc.h -# 2004/02/12 23:27:42+03:00 vitaly@bitstream.namesys.com +4 -4 -# -# reiserfsprogs/fsck/main.c -# 2004/02/12 23:27:42+03:00 vitaly@bitstream.namesys.com +11 -9 -# -# reiserfsprogs/fsck/fsck.h -# 2004/02/12 23:27:42+03:00 vitaly@bitstream.namesys.com +1 -0 -# -# reiserfsprogs/debugreiserfs/unpack.c -# 2004/02/12 23:27:42+03:00 vitaly@bitstream.namesys.com +1 -1 -# -diff -Nru a/reiserfsprogs/debugreiserfs/unpack.c b/reiserfsprogs/debugreiserfs/unpack.c ---- a/reiserfsprogs/debugreiserfs/unpack.c Thu Feb 12 23:29:27 2004 -+++ b/reiserfsprogs/debugreiserfs/unpack.c Thu Feb 12 23:29:27 2004 -@@ -616,7 +616,7 @@ - /* only one non-option argument is permitted */ - print_usage_and_exit(); - -- if (misc_device_mounted(argv[optind], 0)) -+ if (misc_device_mounted(argv[optind]) > 0) - reiserfs_panic ("%s seems mounted, umount it first\n", argv[optind]); - - fd = open (argv[optind], O_RDWR | O_LARGEFILE); -diff -Nru a/reiserfsprogs/fsck/fsck.h b/reiserfsprogs/fsck/fsck.h ---- a/reiserfsprogs/fsck/fsck.h Thu Feb 12 23:29:27 2004 -+++ b/reiserfsprogs/fsck/fsck.h Thu Feb 12 23:29:27 2004 -@@ -408,6 +408,7 @@ - struct fsck_data { - unsigned short mode; /* check, rebuild, etc*/ - unsigned long options; -+ unsigned long mounted; - - struct rebuild_info rebuild; - struct check_info check; -diff -Nru a/reiserfsprogs/fsck/main.c b/reiserfsprogs/fsck/main.c ---- a/reiserfsprogs/fsck/main.c Thu Feb 12 23:29:27 2004 -+++ b/reiserfsprogs/fsck/main.c Thu Feb 12 23:29:27 2004 -@@ -746,10 +746,10 @@ - - mark_filesystem_consistent (fs); - clear_buffer_do_not_flush (fs->fs_super_bh); -- -- if (misc_device_mounted(fs->fs_file_name, MF_RO)) { -- reiserfs_warning(stderr, "\nThe partition is mounted ro. It is better " -- "to umount and mount it again.\n\n"); -+ -+ if (fsck_data(fs)->mounted == MF_RO) { -+ reiserfs_warning(stderr, "\nThe partition is mounted ro. It " -+ "is better to umount and mount it again.\n\n"); - ret = EXIT_REBOOT; - } - -@@ -764,18 +764,20 @@ - } - - /* check umounted or read-only mounted filesystems only */ --void prepare_fs_for_check(reiserfs_filsys_t * fs) { -+static void prepare_fs_for_check(reiserfs_filsys_t * fs) { - /* The method could be called from auto_check already. */ - if (fs->fs_flags == O_RDWR) - return; - - reiserfs_reopen (fs, O_RDWR); - -- if (misc_device_mounted(fs->fs_file_name, 0)) { -- if (!misc_device_mounted(fs->fs_file_name, MF_RO)) { -+ fsck_data(fs)->mounted = misc_device_mounted(fs->fs_file_name); -+ -+ if (fsck_data(fs)->mounted > 0) { -+ if (fsck_data(fs)->mounted == MF_RW) { - fsck_progress ("Partition %s is mounted with write permissions, " - "cannot check it\n", fs->fs_file_name); -- reiserfs_close (fs); -+ reiserfs_close(fs); - exit(EXIT_USER); - } - -@@ -1093,7 +1095,7 @@ - stage_report (5, fs); - - if (fsck_mode(fs) != FSCK_CHECK) { -- if (misc_device_mounted(fs->fs_file_name, MF_RO)) { -+ if (misc_device_mounted(fs->fs_file_name) == MF_RO) { - reiserfs_warning(stderr, "\nThe partition is mounted ro. It is better " - "to umount and mount it again.\n\n"); - retval = EXIT_REBOOT; -diff -Nru a/reiserfsprogs/include/misc.h b/reiserfsprogs/include/misc.h ---- a/reiserfsprogs/include/misc.h Thu Feb 12 23:29:27 2004 -+++ b/reiserfsprogs/include/misc.h Thu Feb 12 23:29:27 2004 -@@ -35,9 +35,9 @@ - char * kdevname (int dev); - - typedef enum mount_flags { -- MF_MOUNTED = 0x1, -- MF_RO = 0x2, -- MF_RW = 0x4 -+ MF_NOT_MOUNTED = 0x0, -+ MF_RO = 0x1, -+ MF_RW = 0x2 - } mount_flags_t; - - typedef struct mount_hint { -@@ -47,7 +47,7 @@ - } mount_hint_t; - - struct mntent *misc_mntent(char *device); --int misc_device_mounted(char *device, __u32 options); -+int misc_device_mounted(char *device); - - void misc_print_credit(FILE *out); - -diff -Nru a/reiserfsprogs/lib/misc.c b/reiserfsprogs/lib/misc.c ---- a/reiserfsprogs/lib/misc.c Thu Feb 12 23:29:27 2004 -+++ b/reiserfsprogs/lib/misc.c Thu Feb 12 23:29:27 2004 -@@ -328,46 +328,23 @@ - return (!proc && !path) ? INVAL_PTR : NULL; - } - --static int callback_misc_mounted(char *device, __u32 options) { -- fprintf(stderr, "Could not figure out, is '%s' '%s' mounted?", -- device, options & MF_RO ? "RO" : options & MF_RW ? "RW" : ""); -- return (user_confirmed (stderr, " (Yes)", "Yes\n")); --} -- --int misc_device_mounted(char *device, __u32 options) { -+int misc_device_mounted(char *device) { - struct mntent *mnt; - - /* Check for the "/" first to avoid any possible problem with - reflecting the root fs info in mtab files. */ -- if (misc_root_mounted(device)) { -- if (options & MF_RO) -- return misc_file_ro(device); -- -- if (options & MF_RW) -- return !misc_file_ro(device); -- -- return 1; -+ if (misc_root_mounted(device) == 1) { -+ return misc_file_ro("/") ? MF_RO : MF_RW; - } - - /* Lookup the mount entry. */ - if ((mnt = misc_mntent(device)) == NULL) { -- return 0; -+ return MF_NOT_MOUNTED; - } else if (mnt == INVAL_PTR) { -- goto error; -+ return 0; - } - -- if (options & MF_RO) -- return hasmntopt(mnt, MNTOPT_RO) != 0; -- -- if (options & MF_RW) -- return hasmntopt(mnt, MNTOPT_RW) != 0; -- -- return 1; -- -- error: -- /* Failed to lookup in /proc/mounts and /etc/mtab. -- Check if the "/" first and ask the user then. */ -- return callback_misc_mounted(device, options); -+ return hasmntopt(mnt, MNTOPT_RO) ? MF_RO : MF_RW; - } - - char buf1 [100]; -diff -Nru a/reiserfsprogs/reiserfscore/reiserfslib.c b/reiserfsprogs/reiserfscore/reiserfslib.c ---- a/reiserfsprogs/reiserfscore/reiserfslib.c Thu Feb 12 23:29:27 2004 -+++ b/reiserfsprogs/reiserfscore/reiserfslib.c Thu Feb 12 23:29:27 2004 -@@ -1197,7 +1197,7 @@ - dev_t rdev; - - -- if (misc_device_mounted(device_name, 0)) { -+ if (misc_device_mounted(device_name) > 0) { - /* device looks mounted */ - reiserfs_warning (stderr, "'%s' looks mounted.", device_name); - check_forcing_ask_confirmation (force); -diff -Nru a/reiserfsprogs/resize_reiserfs/resize_reiserfs.c b/reiserfsprogs/resize_reiserfs/resize_reiserfs.c ---- a/reiserfsprogs/resize_reiserfs/resize_reiserfs.c Thu Feb 12 23:29:27 2004 -+++ b/reiserfsprogs/resize_reiserfs/resize_reiserfs.c Thu Feb 12 23:29:27 2004 -@@ -152,7 +152,7 @@ - } - - if (new_size < get_sb_block_count(fs->fs_ondisk_sb)) { -- if (misc_device_mounted(fs->fs_file_name, 0)) { -+ if (misc_device_mounted(fs->fs_file_name) > 0) { - reiserfs_warning (stderr, "Can't shrink filesystem on-line.\n\n"); - return 1; - } -@@ -276,7 +276,7 @@ - if (resizer_check_fs_size(fs, block_count_new)) - return 1; - -- if (misc_device_mounted(devname, 0)) { -+ if (misc_device_mounted(devname) > 0) { - reiserfs_close(fs); - error = resize_fs_online(devname, block_count_new); - reiserfs_warning(stderr, "\n\nresize_reiserfs: On-line resizing %s.\n\n", -diff -Nru a/reiserfsprogs/tune/tune.c b/reiserfsprogs/tune/tune.c ---- a/reiserfsprogs/tune/tune.c Thu Feb 12 23:29:27 2004 -+++ b/reiserfsprogs/tune/tune.c Thu Feb 12 23:29:27 2004 -@@ -467,7 +467,7 @@ - --no-journal-available has been specified by user */ - - /* make sure filesystem is not mounted */ -- if (misc_device_mounted(fs->fs_file_name, 0)) { -+ if (misc_device_mounted(fs->fs_file_name) > 0) { - /* fixme: it can not be mounted, btw */ - message ("Reiserfstune is not allowed to be run on mounted filesystem."); - reiserfs_close (fs); diff --git a/sys-fs/reiserfsprogs/reiserfsprogs-3.6.12-r1.ebuild b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.13.ebuild index aceef485f357..3061d3a53d16 100644 --- a/sys-fs/reiserfsprogs/reiserfsprogs-3.6.12-r1.ebuild +++ b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.13.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiserfsprogs/reiserfsprogs-3.6.12-r1.ebuild,v 1.2 2004/02/23 00:13:20 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiserfsprogs/reiserfsprogs-3.6.13.ebuild,v 1.1 2004/02/23 15:43:31 lostlogic Exp $ inherit flag-o-matic eutils @@ -12,12 +12,6 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64 ~mips ~ppc ~ppc64 ~sparc ~ia64 ~hppa" -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-check_root-bug || die -} - src_compile() { filter-flags -fPIC econf --prefix=/ || die "Failed to configure" |