Update e2fsprogs to 1.41.12 from 1.40.7. Fix PR pkg/43950. Major change from 1.40.7: * ext4 filesystem support * many translation updates * many bug-fixes in detail, see RELEASE-NOTES.diff -r1.17 -r1.18 pkgsrc/sysutils/e2fsprogs/Makefile
(ryoon)
@@ -1,27 +1,27 @@ | @@ -1,27 +1,27 @@ | |||
1 | # $NetBSD: Makefile,v 1.17 2008/04/12 22:43:12 jlam Exp $ | 1 | # $NetBSD: Makefile,v 1.18 2010/12/23 06:34:50 ryoon Exp $ | |
2 | 2 | |||
3 | DISTNAME= e2fsprogs-1.40.7 | 3 | DISTNAME= e2fsprogs-1.41.12 | |
4 | CATEGORIES= sysutils | 4 | CATEGORIES= sysutils | |
5 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=e2fsprogs/} | 5 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=e2fsprogs/} | |
6 | 6 | |||
7 | MAINTAINER= pkgsrc-users@NetBSD.org | 7 | MAINTAINER= pkgsrc-users@NetBSD.org | |
8 | HOMEPAGE= http://e2fsprogs.sourceforge.net/ | 8 | HOMEPAGE= http://e2fsprogs.sourceforge.net/ | |
9 | COMMENT= Second extended file system (ext2fs) management programs | 9 | COMMENT= Second extended file system (ext2fs) management programs | |
10 | 10 | |||
11 | PKG_DESTDIR_SUPPORT= user-destdir | 11 | PKG_DESTDIR_SUPPORT= user-destdir | |
12 | 12 | |||
13 | GNU_CONFIGURE= yes | 13 | GNU_CONFIGURE= yes | |
14 | USE_TOOLS+= makeinfo | 14 | USE_TOOLS+= makeinfo gmake | |
15 | INFO_FILES= # PLIST | 15 | INFO_FILES= # PLIST | |
16 | 16 | |||
17 | .include "../../mk/bsd.prefs.mk" | 17 | .include "../../mk/bsd.prefs.mk" | |
18 | 18 | |||
19 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} | 19 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} | |
20 | 20 | |||
21 | # Only build fsck(8) on platforms that need it. | 21 | # Only build fsck(8) on platforms that need it. | |
22 | PLIST_VARS+= fsck | 22 | PLIST_VARS+= fsck | |
23 | .if ${OPSYS} == "Linux" | 23 | .if ${OPSYS} == "Linux" | |
24 | PLIST.fsck= yes | 24 | PLIST.fsck= yes | |
25 | .else | 25 | .else | |
26 | CONFIGURE_ARGS+= --disable-fsck | 26 | CONFIGURE_ARGS+= --disable-fsck | |
27 | .endif | 27 | .endif |
@@ -1,63 +1,77 @@ | @@ -1,63 +1,77 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.5 2008/04/12 22:43:12 jlam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.6 2010/12/23 06:34:50 ryoon Exp $ | |
2 | bin/chattr | 2 | bin/chattr | |
3 | bin/lsattr | 3 | bin/lsattr | |
4 | bin/uuidgen | 4 | bin/uuidgen | |
5 | info/libext2fs.info | 5 | info/libext2fs.info | |
6 | lib/e2initrd_helper | 6 | lib/e2initrd_helper | |
7 | man/man1/chattr.1 | 7 | man/man1/chattr.1 | |
8 | man/man1/lsattr.1 | 8 | man/man1/lsattr.1 | |
9 | man/man1/uuidgen.1 | 9 | man/man1/uuidgen.1 | |
10 | man/man5/e2fsck.conf.5 | 10 | man/man5/e2fsck.conf.5 | |
11 | man/man5/mke2fs.conf.5 | 11 | man/man5/mke2fs.conf.5 | |
12 | man/man8/badblocks.8 | 12 | man/man8/badblocks.8 | |
13 | man/man8/blkid.8 | 13 | man/man8/blkid.8 | |
14 | man/man8/debugfs.8 | 14 | man/man8/debugfs.8 | |
15 | man/man8/dumpe2fs.8 | 15 | man/man8/dumpe2fs.8 | |
16 | man/man8/e2freefrag.8 | |||
16 | man/man8/e2fsck.8 | 17 | man/man8/e2fsck.8 | |
17 | man/man8/e2image.8 | 18 | man/man8/e2image.8 | |
18 | man/man8/e2label.8 | 19 | man/man8/e2label.8 | |
20 | man/man8/e2undo.8 | |||
19 | man/man8/filefrag.8 | 21 | man/man8/filefrag.8 | |
20 | man/man8/findfs.8 | 22 | man/man8/findfs.8 | |
21 | ${PLIST.fsck}man/man8/fsck.8 | 23 | ${PLIST.fsck}man/man8/fsck.8 | |
22 | man/man8/fsck.ext2.8 | 24 | man/man8/fsck.ext2.8 | |
23 | man/man8/fsck.ext3.8 | 25 | man/man8/fsck.ext3.8 | |
26 | man/man8/fsck.ext4.8 | |||
27 | man/man8/fsck.ext4dev.8 | |||
24 | man/man8/logsave.8 | 28 | man/man8/logsave.8 | |
25 | man/man8/mke2fs.8 | 29 | man/man8/mke2fs.8 | |
26 | man/man8/mkfs.ext2.8 | 30 | man/man8/mkfs.ext2.8 | |
27 | man/man8/mkfs.ext3.8 | 31 | man/man8/mkfs.ext3.8 | |
32 | man/man8/mkfs.ext4.8 | |||
33 | man/man8/mkfs.ext4dev.8 | |||
28 | man/man8/mklost+found.8 | 34 | man/man8/mklost+found.8 | |
29 | man/man8/resize2fs.8 | 35 | man/man8/resize2fs.8 | |
30 | man/man8/tune2fs.8 | 36 | man/man8/tune2fs.8 | |
31 | man/man8/uuidd.8 | 37 | man/man8/uuidd.8 | |
32 | sbin/badblocks | 38 | sbin/badblocks | |
33 | sbin/blkid | 39 | sbin/blkid | |
34 | sbin/debugfs | 40 | sbin/debugfs | |
35 | sbin/dumpe2fs | 41 | sbin/dumpe2fs | |
42 | sbin/e2freefrag | |||
36 | sbin/e2fsck | 43 | sbin/e2fsck | |
37 | sbin/e2image | 44 | sbin/e2image | |
38 | sbin/e2label | 45 | sbin/e2label | |
46 | sbin/e2undo | |||
39 | sbin/filefrag | 47 | sbin/filefrag | |
40 | sbin/findfs | 48 | sbin/findfs | |
41 | ${PLIST.fsck}sbin/fsck | 49 | ${PLIST.fsck}sbin/fsck | |
42 | sbin/fsck.ext2 | 50 | sbin/fsck.ext2 | |
43 | sbin/fsck.ext3 | 51 | sbin/fsck.ext3 | |
52 | sbin/fsck.ext4 | |||
53 | sbin/fsck.ext4dev | |||
44 | sbin/logsave | 54 | sbin/logsave | |
45 | sbin/mke2fs | 55 | sbin/mke2fs | |
46 | sbin/mkfs.ext2 | 56 | sbin/mkfs.ext2 | |
47 | sbin/mkfs.ext3 | 57 | sbin/mkfs.ext3 | |
58 | sbin/mkfs.ext4 | |||
59 | sbin/mkfs.ext4dev | |||
48 | sbin/mklost+found | 60 | sbin/mklost+found | |
49 | sbin/resize2fs | 61 | sbin/resize2fs | |
50 | sbin/tune2fs | 62 | sbin/tune2fs | |
51 | sbin/uuidd | 63 | sbin/uuidd | |
52 | share/examples/ext2fs/mke2fs.conf | 64 | share/examples/ext2fs/mke2fs.conf | |
53 | share/locale/ca/LC_MESSAGES/e2fsprogs.mo | 65 | share/locale/ca/LC_MESSAGES/e2fsprogs.mo | |
54 | share/locale/cs/LC_MESSAGES/e2fsprogs.mo | 66 | share/locale/cs/LC_MESSAGES/e2fsprogs.mo | |
55 | share/locale/de/LC_MESSAGES/e2fsprogs.mo | 67 | share/locale/de/LC_MESSAGES/e2fsprogs.mo | |
56 | share/locale/es/LC_MESSAGES/e2fsprogs.mo | 68 | share/locale/es/LC_MESSAGES/e2fsprogs.mo | |
57 | share/locale/fr/LC_MESSAGES/e2fsprogs.mo | 69 | share/locale/fr/LC_MESSAGES/e2fsprogs.mo | |
70 | share/locale/id/LC_MESSAGES/e2fsprogs.mo | |||
58 | share/locale/it/LC_MESSAGES/e2fsprogs.mo | 71 | share/locale/it/LC_MESSAGES/e2fsprogs.mo | |
59 | share/locale/nl/LC_MESSAGES/e2fsprogs.mo | 72 | share/locale/nl/LC_MESSAGES/e2fsprogs.mo | |
60 | share/locale/pl/LC_MESSAGES/e2fsprogs.mo | 73 | share/locale/pl/LC_MESSAGES/e2fsprogs.mo | |
61 | share/locale/sv/LC_MESSAGES/e2fsprogs.mo | 74 | share/locale/sv/LC_MESSAGES/e2fsprogs.mo | |
62 | share/locale/tr/LC_MESSAGES/e2fsprogs.mo | 75 | share/locale/tr/LC_MESSAGES/e2fsprogs.mo | |
63 | share/locale/vi/LC_MESSAGES/e2fsprogs.mo | 76 | share/locale/vi/LC_MESSAGES/e2fsprogs.mo | |
77 | share/locale/zh_CN/LC_MESSAGES/e2fsprogs.mo |
@@ -1,19 +1,17 @@ | @@ -1,19 +1,17 @@ | |||
1 | $NetBSD: distinfo,v 1.15 2008/09/21 16:16:06 joerg Exp $ | 1 | $NetBSD: distinfo,v 1.16 2010/12/23 06:34:50 ryoon Exp $ | |
2 | 2 | |||
3 | SHA1 (e2fsprogs-1.40.7.tar.gz) = 56ff55add64c34bddf9cf15c3825811d230dd8b1 | 3 | SHA1 (e2fsprogs-1.41.12.tar.gz) = 62b002fe507b2ddafc24b89532e472fe4b55a14f | |
4 | RMD160 (e2fsprogs-1.40.7.tar.gz) = bfab47555ff31b8ae8d72d2e4de54c099bfc3b18 | 4 | RMD160 (e2fsprogs-1.41.12.tar.gz) = aa7f9a2e350fcab85c72deaaee5fdc2a5e9fb6e7 | |
5 | Size (e2fsprogs-1.40.7.tar.gz) = 4087067 bytes | 5 | Size (e2fsprogs-1.41.12.tar.gz) = 4496194 bytes | |
6 | SHA1 (patch-aa) = 446233b75bd23227c5c7d003cce0a19017f3f71b | |||
7 | SHA1 (patch-ab) = f18d86265be543bab68813200fb49099ad8af909 | 6 | SHA1 (patch-ab) = f18d86265be543bab68813200fb49099ad8af909 | |
8 | SHA1 (patch-ac) = 8f47354ee719d4b933eccc8c8f0a0c7fb7b0feff | 7 | SHA1 (patch-ac) = 8f47354ee719d4b933eccc8c8f0a0c7fb7b0feff | |
9 | SHA1 (patch-af) = c2c8b373fcba36f031005d364c0de2fbae97106f | 8 | SHA1 (patch-af) = 8e1c2f5b90b78fdd4c5a4fcb573f23fc1db6e90f | |
10 | SHA1 (patch-al) = e976de195735cf1f96aaceff1b978b1be405dfc9 | 9 | SHA1 (patch-am) = 9c3be47010f6101e4f41343e108b967c88847c12 | |
11 | SHA1 (patch-am) = 05a547a48b02d267e200d6161e982e5cf1226d3b | 10 | SHA1 (patch-an) = 62acb3f18f61ae6a729a8eebd308a1a1efe83e50 | |
12 | SHA1 (patch-an) = 0324fe2a0b7a9464f8af401d554e07a0bcfa22e2 | 11 | SHA1 (patch-ao) = 241b33700249d09f60f11f3167ef8cf771d1e588 | |
13 | SHA1 (patch-ao) = 57c8757cd378a72d728475f26cdf9a452afbf64b | 12 | SHA1 (patch-ap) = 4f9f8e47ecbea53acb1318e5ef0abe58cfbbb9ce | |
14 | SHA1 (patch-ap) = 175e97acf1a7cfcbd3a18c80ed513f26ac111e13 | 13 | SHA1 (patch-ar) = 9103ed55e0f13451fbb2f34c4bee28f5e24c216a | |
15 | SHA1 (patch-ar) = 8a4a7ba5bd51ba8d68e6954c82ac6fd4cdf6153d | 14 | SHA1 (patch-as) = 6066be5bf84753419407d2ee70cd8934b918c298 | |
16 | SHA1 (patch-as) = e8c444fe4e1e443d1d841dc44ce54d50d31b5994 | 15 | SHA1 (patch-at) = 53cbd25d89a9df733ba931490c1dcb77b20ddbe3 | |
17 | SHA1 (patch-at) = 80785a73eaa57a4a73bd0a683697ea2f890f8dbc | 16 | SHA1 (patch-av) = 92c9d34c82cba121744cfff5b23e4b92c9442545 | |
18 | SHA1 (patch-av) = 07f3fbf646e2e9716ea10d55580fa15dd99db01d | 17 | SHA1 (patch-aw) = cb5e382077c07f0ced114fcbf195537cc7b0058c | |
19 | SHA1 (patch-aw) = 4f25dc800f6fc3a428f43eba2b9674c7b3256ea6 |
@@ -1,13 +0,0 @@ | @@ -1,13 +0,0 @@ | |||
1 | $NetBSD: patch-aa,v 1.6 2008/03/07 22:40:29 tron Exp $ | |||
2 | ||||
3 | --- configure.orig 2008-02-28 23:03:53.000000000 +0000 | |||
4 | +++ configure 2008-03-07 20:24:01.000000000 +0000 | |||
5 | @@ -15107,7 +15107,7 @@ | |||
6 | fi | |||
7 | { echo "$as_me:$LINENO: checking for unified diff option" >&5 | |||
8 | echo $ECHO_N "checking for unified diff option... $ECHO_C" >&6; } | |||
9 | -if diff -u $0 $0 >& /dev/null ; then | |||
10 | +if diff -u $0 $0 /dev/null 2>&1; then | |||
11 | UNI_DIFF_OPTS=-u | |||
12 | else | |||
13 | UNI_DIFF_OPTS=-c |
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | $NetBSD: patch-af,v 1.6 2008/03/07 22:40:29 tron Exp $ | 1 | $NetBSD: patch-af,v 1.7 2010/12/23 06:34:50 ryoon Exp $ | |
2 | 2 | |||
3 | --- lib/ext2fs/ismounted.c.orig 2008-02-28 23:03:53.000000000 +0000 | 3 | --- lib/ext2fs/ismounted.c.orig 2010-05-18 03:04:39.000000000 +0000 | |
4 | +++ lib/ext2fs/ismounted.c 2008-03-07 21:08:08.000000000 +0000 | 4 | +++ lib/ext2fs/ismounted.c | |
5 | @@ -196,7 +196,11 @@ | 5 | @@ -198,7 +198,11 @@ static errcode_t check_mntent(const char | |
6 | static errcode_t check_getmntinfo(const char *file, int *mount_flags, | 6 | static errcode_t check_getmntinfo(const char *file, int *mount_flags, | |
7 | char *mtpt, int mtlen) | 7 | char *mtpt, int mtlen) | |
8 | { | 8 | { | |
9 | - struct statfs *mp; | 9 | - struct statfs *mp; | |
10 | +#if defined(__NetBSD__) && __NetBSD_Version__ >= 299000900 | 10 | +#if defined(__NetBSD__) && __NetBSD_Version__ >= 299000900 | |
11 | + struct statvfs *mp; | 11 | + struct statvfs *mp; | |
12 | +#else | 12 | +#else | |
13 | + struct statfs *mp; | 13 | + struct statfs *mp; | |
14 | +#endif | 14 | +#endif | |
15 | int len, n; | 15 | int len, n; | |
16 | const char *s1; | 16 | const char *s1; | |
17 | char *s2; | 17 | char *s2; |
@@ -1,14 +0,0 @@ | @@ -1,14 +0,0 @@ | |||
1 | $NetBSD: patch-al,v 1.2 2008/03/07 22:40:29 tron Exp $ | |||
2 | ||||
3 | --- debugfs/util.c.orig 2008-02-28 23:03:53.000000000 +0000 | |||
4 | +++ debugfs/util.c 2008-03-07 21:11:18.000000000 +0000 | |||
5 | @@ -6,7 +6,8 @@ | |||
6 | * | |||
7 | */ | |||
8 | ||||
9 | -#define _XOPEN_SOURCE /* needed for strptime */ | |||
10 | + | |||
11 | +#define _XOPEN_SOURCE 500 /* needed for strptime */ | |||
12 | ||||
13 | #include <stdio.h> | |||
14 | #include <unistd.h> |
@@ -1,13 +1,13 @@ | @@ -1,13 +1,13 @@ | |||
1 | $NetBSD: patch-as,v 1.2 2008/03/07 22:40:29 tron Exp $ | 1 | $NetBSD: patch-as,v 1.3 2010/12/23 06:34:50 ryoon Exp $ | |
2 | 2 | |||
3 | --- misc/blkid.c.orig 2008-02-19 04:33:10.000000000 +0000 | 3 | --- misc/blkid.c.orig 2009-08-13 01:39:57.000000000 +0000 | |
4 | +++ misc/blkid.c 2008-03-07 20:19:07.000000000 +0000 | 4 | +++ misc/blkid.c | |
5 | @@ -40,7 +40,7 @@ | 5 | @@ -52,7 +52,7 @@ static void usage(int error) | |
6 | fprintf(out, | 6 | fprintf(out, | |
7 | "usage:\t%s [-c <file>] [-ghl] [-o format] " | 7 | "usage:\t%s [-c <file>] [-ghlLv] [-o format] " | |
8 | "[-s <tag>] [-t <token>]\n [-v] [-w <file>] [dev ...]\n" | 8 | "[-s <tag>] [-t <token>]\n [-w <file>] [dev ...]\n" | |
9 | - "\t-c\tcache file (default: /etc/blkid.tab, /dev/null = none)\n" | 9 | - "\t-c\tcache file (default: /etc/blkid.tab, /dev/null = none)\n" | |
10 | + "\t-c\tcache file (default: " ROOT_SYSCONFDIR "/blkid.tab, /dev/null = none)\n" | 10 | + "\t-c\tcache file (default: " ROOT_SYSCONFDIR "/blkid.tab, /dev/null = none)\n" | |
11 | "\t-h\tprint this usage message and exit\n" | 11 | "\t-h\tprint this usage message and exit\n" | |
12 | "\t-g\tgarbage collect the blkid cache\n" | 12 | "\t-g\tgarbage collect the blkid cache\n" | |
13 | "\t-s\tshow specified tag(s) (default show all tags)\n" | 13 | "\t-s\tshow specified tag(s) (default show all tags)\n" |
@@ -1,13 +1,13 @@ | @@ -1,13 +1,13 @@ | |||
1 | $NetBSD: patch-am,v 1.1 2007/06/20 19:51:09 jlam Exp $ | 1 | $NetBSD: patch-am,v 1.2 2010/12/23 06:34:50 ryoon Exp $ | |
2 | 2 | |||
3 | --- e2fsck/e2fsck.conf.5.in.orig 2006-03-27 00:55:38.000000000 -0500 | 3 | --- e2fsck/e2fsck.conf.5.in.orig 2010-05-13 22:59:49.000000000 +0000 | |
4 | +++ e2fsck/e2fsck.conf.5.in | 4 | +++ e2fsck/e2fsck.conf.5.in | |
5 | @@ -157,7 +157,7 @@ things out may be dangerous.) | 5 | @@ -238,7 +238,7 @@ things out may be dangerous.) | |
6 | } | 6 | } | |
7 | .SH FILES | 7 | .SH FILES | |
8 | .TP | 8 | .TP | |
9 | -.I /etc/e2fsck.conf | 9 | -.I /etc/e2fsck.conf | |
10 | +.I @root_sysconfdir@/e2fsck.conf | 10 | +.I @root_sysconfdir@/e2fsck.conf | |
11 | The configuration file for | 11 | The configuration file for | |
12 | .BR e2fsck (8). | 12 | .BR e2fsck (8). | |
13 | .SH SEE ALSO | 13 | .SH SEE ALSO |
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | $NetBSD: patch-an,v 1.1 2007/06/20 19:51:10 jlam Exp $ | 1 | $NetBSD: patch-an,v 1.2 2010/12/23 06:34:50 ryoon Exp $ | |
2 | 2 | |||
3 | --- e2fsck/e2fsck.h.orig 2006-03-18 21:33:55.000000000 -0500 | 3 | --- e2fsck/e2fsck.h.orig 2010-05-13 22:59:49.000000000 +0000 | |
4 | +++ e2fsck/e2fsck.h | 4 | +++ e2fsck/e2fsck.h | |
5 | @@ -58,6 +58,10 @@ | 5 | @@ -61,6 +61,10 @@ | |
6 | #define P_(singular, plural, n) ((n) == 1 ? (singular) : (plural)) | 6 | #define P_(singular, plural, n) ((n) == 1 ? (singular) : (plural)) | |
7 | #endif | 7 | #endif | |
8 | 8 | |||
9 | +#ifndef ETC_DIR | 9 | +#ifndef ETC_DIR | |
10 | +#define ETC_DIR "/etc" /* Where to find the config file */ | 10 | +#define ETC_DIR "/etc" /* Where to find the config file */ | |
11 | +#endif | 11 | +#endif | |
12 | + | 12 | + | |
13 | /* | 13 | /* | |
14 | * Exit codes used by fsck-type programs | 14 | * Exit codes used by fsck-type programs | |
15 | */ | 15 | */ |
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | $NetBSD: patch-ao,v 1.1 2007/06/20 19:51:10 jlam Exp $ | 1 | $NetBSD: patch-ao,v 1.2 2010/12/23 06:34:50 ryoon Exp $ | |
2 | 2 | |||
3 | --- lib/blkid/blkidP.h.orig 2006-02-20 14:16:42.000000000 -0500 | 3 | --- lib/blkid/blkidP.h.orig 2009-08-13 01:39:57.000000000 +0000 | |
4 | +++ lib/blkid/blkidP.h | 4 | +++ lib/blkid/blkidP.h | |
5 | @@ -104,7 +104,11 @@ struct blkid_struct_cache | 5 | @@ -104,7 +104,11 @@ struct blkid_struct_cache | |
6 | extern char *blkid_strdup(const char *s); | 6 | extern char *blkid_strdup(const char *s); | |
7 | extern char *blkid_strndup(const char *s, const int length); | 7 | extern char *blkid_strndup(const char *s, const int length); | |
8 | 8 | |||
9 | -#define BLKID_CACHE_FILE "/etc/blkid.tab" | 9 | -#define BLKID_CACHE_FILE "/etc/blkid.tab" | |
10 | +#ifndef ETC_DIR | 10 | +#ifndef ETC_DIR | |
11 | +#define ETC_DIR "/etc" /* Where to find the config file */ | 11 | +#define ETC_DIR "/etc" /* Where to find the config file */ | |
12 | +#endif | 12 | +#endif | |
13 | + | 13 | + | |
14 | +#define BLKID_CACHE_FILE ETC_DIR "/blkid.tab" | 14 | +#define BLKID_CACHE_FILE ETC_DIR "/blkid.tab" | |
15 | extern const char *blkid_devdirs[]; | |||
16 | 15 | |||
17 | #define BLKID_ERR_IO 5 | 16 | #define BLKID_ERR_IO 5 | |
17 | #define BLKID_ERR_PROC 9 |
@@ -1,22 +1,22 @@ | @@ -1,22 +1,22 @@ | |||
1 | $NetBSD: patch-ap,v 1.1 2007/06/20 19:51:10 jlam Exp $ | 1 | $NetBSD: patch-ap,v 1.2 2010/12/23 06:34:50 ryoon Exp $ | |
2 | 2 | |||
3 | --- lib/blkid/libblkid.3.in.orig 2005-09-06 05:40:14.000000000 -0400 | 3 | --- lib/blkid/libblkid.3.in.orig 2009-08-13 01:39:57.000000000 +0000 | |
4 | +++ lib/blkid/libblkid.3.in | 4 | +++ lib/blkid/libblkid.3.in | |
5 | @@ -24,7 +24,7 @@ A common use is to allow use of LABEL= a | 5 | @@ -24,7 +24,7 @@ A common use is to allow use of LABEL= a | |
6 | specific block device names into configuration files. | 6 | specific block device names into configuration files. | |
7 | .P | 7 | .P | |
8 | Block device information is normally kept in a cache file | 8 | Block device information is normally kept in a cache file | |
9 | -.I /etc/blkid.tab | 9 | -.I /etc/blkid.tab | |
10 | +.I @root_sysconfdir@/blkid.tab | 10 | +.I @root_sysconfdir@/blkid.tab | |
11 | and is verified to still be valid before being returned to the user | 11 | and is verified to still be valid before being returned to the user | |
12 | (if the user has read permission on the raw block device, otherwise not). | 12 | (if the user has read permission on the raw block device, otherwise not). | |
13 | The cache file also allows unprivileged users (normally anyone other | 13 | The cache file also allows unprivileged users (normally anyone other | |
14 | @@ -49,7 +49,7 @@ was written by Andreas Dilger for the ex | 14 | @@ -51,7 +51,7 @@ was written by Andreas Dilger for the ex | |
15 | from Ted Ts'o. The library was subsequently heavily modified by Ted Ts'o. | 15 | from Ted Ts'o. The library was subsequently heavily modified by Ted Ts'o. | |
16 | .SH FILES | 16 | .SH FILES | |
17 | .TP | 17 | .TP | |
18 | -.I /etc/blkid.tab | 18 | -.I /etc/blkid.tab | |
19 | +.I @root_sysconfdir@/blkid.tab | 19 | +.I @root_sysconfdir@/blkid.tab | |
20 | Caches data extracted from each recognized block device. | 20 | Caches data extracted from each recognized block device. | |
21 | .SH AVAILABILITY | 21 | .SH AVAILABILITY | |
22 | .B libblkid | 22 | .B libblkid |
@@ -1,22 +1,22 @@ | @@ -1,22 +1,22 @@ | |||
1 | $NetBSD: patch-ar,v 1.1 2007/06/20 19:51:11 jlam Exp $ | 1 | $NetBSD: patch-ar,v 1.2 2010/12/23 06:34:50 ryoon Exp $ | |
2 | 2 | |||
3 | --- misc/blkid.8.in.orig 2005-09-06 05:40:14.000000000 -0400 | 3 | --- misc/blkid.8.in.orig 2009-08-13 01:39:57.000000000 +0000 | |
4 | +++ misc/blkid.8.in | 4 | +++ misc/blkid.8.in | |
5 | @@ -55,7 +55,7 @@ more devices. | 5 | @@ -55,7 +55,7 @@ more devices. | |
6 | Read from | 6 | Read from | |
7 | .I cachefile | 7 | .I cachefile | |
8 | instead of reading from the default cache file | 8 | instead of reading from the default cache file | |
9 | -.IR /etc/blkid.tab . | 9 | -.IR /etc/blkid.tab . | |
10 | +.IR @root_sysconfdir@/blkid.tab . | 10 | +.IR @root_sysconfdir@/blkid.tab . | |
11 | If you want to start with a clean cache (i.e. don't report devices previously | 11 | If you want to start with a clean cache (i.e. don't report devices previously | |
12 | scanned but not necessarily available at this time), specify | 12 | scanned but not necessarily available at this time), specify | |
13 | .IR /dev/null. | 13 | .IR /dev/null . | |
14 | @@ -139,7 +139,7 @@ Display version number and exit. | 14 | @@ -133,7 +133,7 @@ Display version number and exit. | |
15 | Write the device cache to | 15 | Write the device cache to | |
16 | .I writecachefile | 16 | .I writecachefile | |
17 | instead of writing it to the default cache file | 17 | instead of writing it to the default cache file | |
18 | -.IR /etc/blkid.tab . | 18 | -.IR /etc/blkid.tab . | |
19 | +.IR @root_sysconfdir@/blkid.tab . | 19 | +.IR @root_sysconfdir@/blkid.tab . | |
20 | If you don't want to save the cache to the default file, specify | 20 | If you don't want to save the cache to the default file, specify | |
21 | .IR /dev/null. | 21 | .IR /dev/null. | |
22 | If not specified it will be the same file as that given by the | 22 | If not specified it will be the same file as that given by the |
@@ -1,22 +1,46 @@ | @@ -1,22 +1,46 @@ | |||
1 | $NetBSD: patch-at,v 1.1 2007/06/20 19:51:11 jlam Exp $ | 1 | $NetBSD: patch-at,v 1.2 2010/12/23 06:34:50 ryoon Exp $ | |
2 | 2 | |||
3 | --- misc/mke2fs.8.in.orig 2006-05-28 21:39:03.000000000 -0400 | 3 | --- misc/mke2fs.8.in.orig 2010-02-06 03:51:19.000000000 +0000 | |
4 | +++ misc/mke2fs.8.in | 4 | +++ misc/mke2fs.8.in | |
5 | @@ -347,7 +347,7 @@ enabled by default are specified by the | 5 | @@ -159,7 +159,7 @@ option was specified. | |
6 | .PP | |||
7 | The defaults of the parameters for the newly created filesystem, if not | |||
8 | overridden by the options listed below, are controlled by the | |||
9 | -.B /etc/mke2fs.conf | |||
10 | +.B @root_sysconfdir@/mke2fs.conf | |||
11 | configuration file. See the | |||
12 | .BR mke2fs.conf (5) | |||
13 | manual page for more details. | |||
14 | @@ -445,7 +445,7 @@ enabled by default are specified by the | |||
6 | relation, either in the | 15 | relation, either in the | |
7 | .I [libdefaults] | 16 | .I [defaults] | |
8 | section in the | 17 | section in the | |
9 | -.B /etc/mke2fs.conf | 18 | -.B /etc/mke2fs.conf | |
10 | +.B @root_sysconfdir@/mke2fs.conf | 19 | +.B @root_sysconfdir@/mke2fs.conf | |
11 | configuration file, or in the subsection of the | 20 | configuration file, | |
21 | or in the | |||
12 | .I [fs_types] | 22 | .I [fs_types] | |
13 | section for the filesystem type as specified by the | 23 | @@ -578,12 +578,12 @@ If this option is not specified, | |
14 | @@ -441,7 +441,7 @@ Specify how the filesystem is going to b | 24 | will pick a default either via how | |
15 | .B mke2fs | 25 | the command was run (for example, using a name of the form mkfs.ext2, | |
16 | can choose optimal filesystem parameters for that use. The filesystem | 26 | mkfs.ext3, etc.) or via a default as defined by the | |
17 | types that are can be supported are defined in the configuration file | 27 | -.BR /etc/mke2fs.conf (5) | |
28 | +.BR @root_sysconfdir@/mke2fs.conf (5) | |||
29 | file. This option controls which filesystem options are used by | |||
30 | default, based on the | |||
31 | .B fstypes | |||
32 | configuration stanza in | |||
33 | -.BR /etc/mke2fs.conf (5). | |||
34 | +.BR @root_sysconfdir@/mke2fs.conf (5). | |||
35 | .sp | |||
36 | If the | |||
37 | .B \-O | |||
38 | @@ -602,7 +602,7 @@ Specify how the filesystem is going to b | |||
39 | .B mke2fs | |||
40 | can choose optimal filesystem parameters for that use. The usage | |||
41 | types that are supported are defined in the configuration file | |||
18 | -.BR /etc/mke2fs.conf (5). | 42 | -.BR /etc/mke2fs.conf (5). | |
19 | +.BR @root_sysconfdir@/mke2fs.conf (5). | 43 | +.BR @root_sysconfdir@/mke2fs.conf (5). | |
20 | The default configuration file contains definitions for the filesystem | 44 | The user may specify one or more usage types | |
21 | types: small, floppy, news, largefile, and largefile4. | 45 | using a comma separated list. | |
22 | .TP | 46 | .sp |
@@ -1,13 +1,13 @@ | @@ -1,13 +1,13 @@ | |||
1 | $NetBSD: patch-av,v 1.1 2007/06/20 19:51:12 jlam Exp $ | 1 | $NetBSD: patch-av,v 1.2 2010/12/23 06:34:50 ryoon Exp $ | |
2 | 2 | |||
3 | --- misc/mke2fs.conf.5.in.orig 2006-05-22 17:50:10.000000000 -0400 | 3 | --- misc/mke2fs.conf.5.in.orig 2009-08-13 01:39:57.000000000 +0000 | |
4 | +++ misc/mke2fs.conf.5.in | 4 | +++ misc/mke2fs.conf.5.in | |
5 | @@ -183,7 +183,7 @@ This relation specifies the default inod | 5 | @@ -354,7 +354,7 @@ by | |
6 | specify one on the command line. | 6 | on a per-filesystem type basis. | |
7 | .SH FILES | 7 | .SH FILES | |
8 | .TP | 8 | .TP | |
9 | -.I /etc/mke2fs.conf | 9 | -.I /etc/mke2fs.conf | |
10 | +.I @root_sysconfdir@/mke2fs.conf | 10 | +.I @root_sysconfdir@/mke2fs.conf | |
11 | The configuration file for | 11 | The configuration file for | |
12 | .BR mke2fs (8). | 12 | .BR mke2fs (8). | |
13 | .SH SEE ALSO | 13 | .SH SEE ALSO |
@@ -1,13 +1,13 @@ | @@ -1,13 +1,13 @@ | |||
1 | $NetBSD: patch-aw,v 1.1 2007/06/20 19:51:12 jlam Exp $ | 1 | $NetBSD: patch-aw,v 1.2 2010/12/23 06:34:50 ryoon Exp $ | |
2 | 2 | |||
3 | --- doc/Makefile.in.orig 2005-09-06 05:40:13.000000000 -0400 | 3 | --- doc/Makefile.in.orig 2010-02-10 23:16:03.000000000 +0000 | |
4 | +++ doc/Makefile.in | 4 | +++ doc/Makefile.in | |
5 | @@ -26,8 +26,6 @@ install-doc-libs: | 5 | @@ -26,8 +26,6 @@ install-doc-libs: libext2fs.info libext2 | |
6 | echo " INSTALL_DATA $(infodir)/$$i" ; \ | 6 | echo " INSTALL_DATA $(infodir)/$$i" ; \ | |
7 | $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i ; \ | 7 | $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i ; \ | |
8 | done | 8 | done | |
9 | - @echo " GZIP $(infodir)/libext2fs.info*" | 9 | - $(E) " GZIP $(infodir)/libext2fs.info*" | |
10 | - @gzip -9 $(DESTDIR)$(infodir)/libext2fs.info* | 10 | - -$(Q) gzip -9 $(DESTDIR)$(infodir)/libext2fs.info* | |
11 | 11 | |||
12 | uninstall-doc-libs: | 12 | uninstall-doc-libs: | |
13 | $(RM) -rf $(DESTDIR)$(infodir)/libext2fs.info* | 13 | $(RM) -rf $(DESTDIR)$(infodir)/libext2fs.info* |