wok diff dislocker/stuff/fix-spelling.patch @ rev 22060

created package get-uae
author Hans-G?nter Theisgen
date Thu Oct 24 16:03:15 2019 +0100 (2019-10-24)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dislocker/stuff/fix-spelling.patch	Thu Oct 24 16:03:15 2019 +0100
     1.3 @@ -0,0 +1,148 @@
     1.4 +Description: Fix a few typos on the manpages and source code.
     1.5 +Author: Giovani Augusto Ferreira <giovani@debian.org>
     1.6 +Last-Update: 2016-07-07
     1.7 +Index: dislocker-0.7.1/man/linux/dislocker-file.1
     1.8 +===================================================================
     1.9 +--- dislocker-0.7.1.orig/man/linux/dislocker-file.1
    1.10 ++++ dislocker-0.7.1/man/linux/dislocker-file.1
    1.11 +@@ -2,7 +2,7 @@
    1.12 + .\"
    1.13 + .TH DISLOCKER 1 2011-09-07 "Linux" "DISLOCKER"
    1.14 + .SH NAME
    1.15 +-Dislocker file - Read BitLocker encrypted volumes under Linux, OSX and FreeBSD.
    1.16 ++Dislocker-file \- Read BitLocker encrypted volumes under Linux, OSX and FreeBSD.
    1.17 + .SH SYNOPSIS
    1.18 + dislocker-file [-hqrsv] [-l \fILOG_FILE\fR] [-O \fIOFFSET\fR] [-V \fIVOLUME\fR \fIDECRYPTMETHOD\fR -F[\fIN\fR]] [--] \fINTFS_FILE\fR
    1.19 + 
    1.20 +@@ -16,7 +16,7 @@ This NTFS file won't have any link with
    1.21 + .SH OPTIONS
    1.22 + For program's options description, see dislocker-fuse(1). The only change in the command line is the last argument, which in this case is the \fINTFS_FILE\fR argument:
    1.23 + .PP
    1.24 +-.TB
    1.25 ++.TP
    1.26 + .B NTFS_FILE
    1.27 + the newly created file where NTFS data will be put to, once decrypted from the BitLocker encrypted volume.
    1.28 + .SH EXAMPLES
    1.29 +Index: dislocker-0.7.1/man/linux/dislocker-fuse.1
    1.30 +===================================================================
    1.31 +--- dislocker-0.7.1.orig/man/linux/dislocker-fuse.1
    1.32 ++++ dislocker-0.7.1/man/linux/dislocker-fuse.1
    1.33 +@@ -2,7 +2,7 @@
    1.34 + .\"
    1.35 + .TH DISLOCKER-FUSE 1 2011-09-07 "Linux" "DISLOCKER-FUSE"
    1.36 + .SH NAME
    1.37 +-Dislocker fuse - Read/write BitLocker encrypted volumes under Linux, OSX and FreeBSD.
    1.38 ++Dislocker-fuse \- Read/write BitLocker encrypted volumes under Linux, OSX and FreeBSD.
    1.39 + .SH SYNOPSIS
    1.40 + dislocker-fuse [-hqrsv] [-l \fILOG_FILE\fR] [-O \fIOFFSET\fR] [-V \fIVOLUME\fR \fIDECRYPTMETHOD\fR -F[\fIN\fR]] [-- \fIARGS\fR...]
    1.41 + 
    1.42 +@@ -49,7 +49,7 @@ do NOT display any information.
    1.43 + This option has priority on any previous `\fB-v\fR'. One probably wants to check the return value of the program when using this option
    1.44 + .TP
    1.45 + .B -r, --readonly
    1.46 +-do not allow to write on the BitLocker volume (read only mode)
    1.47 ++do not allow one to write on the BitLocker volume (read only mode)
    1.48 + .TP
    1.49 + .B -s, --stateok
    1.50 + do not check the volume's state, assume it's ok to mount it.
    1.51 +Index: dislocker-0.7.1/src/metadata/datums.c
    1.52 +===================================================================
    1.53 +--- dislocker-0.7.1.orig/src/metadata/datums.c
    1.54 ++++ dislocker-0.7.1/src/metadata/datums.c
    1.55 +@@ -326,7 +326,7 @@ void print_datum_key(DIS_LOGS level, voi
    1.56 + 	datum_key_t* datum = (datum_key_t*) vdatum;
    1.57 + 	char* cipher_str = cipherstr((cipher_t) datum->algo);
    1.58 + 
    1.59 +-	dis_printf(level, "Unkown: \n");
    1.60 ++	dis_printf(level, "Unknown: \n");
    1.61 + 	hexdump(level, (void*) &datum->padd, 2);
    1.62 + 	dis_printf(level, "Algo: %s (%#hx)\n", cipher_str, datum->algo);
    1.63 + 	dis_printf(level, "Key:\n");
    1.64 +@@ -367,7 +367,7 @@ void print_datum_stretch_key(DIS_LOGS le
    1.65 + {
    1.66 + 	datum_stretch_key_t* datum = (datum_stretch_key_t*) vdatum;
    1.67 + 
    1.68 +-	dis_printf(level, "Unkown: \n");
    1.69 ++	dis_printf(level, "Unknown: \n");
    1.70 + 	hexdump(level, (void*) &datum->padd, 2);
    1.71 + 	dis_printf(level, "Algo: %#x\n", datum->algo);
    1.72 + 	dis_printf(level, "Salt: \n");
    1.73 +Index: dislocker-0.7.1/src/metadata/metadata.c
    1.74 +===================================================================
    1.75 +--- dislocker-0.7.1.orig/src/metadata/metadata.c
    1.76 ++++ dislocker-0.7.1/src/metadata/metadata.c
    1.77 +@@ -202,7 +202,7 @@ int dis_metadata_initialize(dis_metadata
    1.78 + 	{
    1.79 + 		dis_printf(
    1.80 + 			L_CRITICAL,
    1.81 +-			"A problem occured during the retrieving of metadata. Abort.\n"
    1.82 ++			"A problem occurred during the retrieving of metadata. Abort.\n"
    1.83 + 		);
    1.84 + 		return DIS_RET_ERROR_METADATA_CHECK;
    1.85 + 	}
    1.86 +Index: dislocker-0.7.1/src/metadata/print_metadata.c
    1.87 +===================================================================
    1.88 +--- dislocker-0.7.1.orig/src/metadata/print_metadata.c
    1.89 ++++ dislocker-0.7.1/src/metadata/print_metadata.c
    1.90 +@@ -59,7 +59,7 @@ void print_volume_header(DIS_LOGS level,
    1.91 + 	format_guid(volume_header->guid, rec_id);
    1.92 + 
    1.93 + 
    1.94 +-	dis_printf(level, "=====[ Volume header informations ]=====\n");
    1.95 ++	dis_printf(level, "=====[ Volume header information ]=====\n");
    1.96 + 	dis_printf(level, "  Signature: '%.8s'\n", volume_header->signature);
    1.97 + 	dis_printf(level, "  Sector size: 0x%1$04x (%1$hu) bytes\n", volume_header->sector_size);
    1.98 + 	dis_printf(level, "  Sector per cluster: 0x%1$02x (%1$hhu) bytes\n", volume_header->sectors_per_cluster);
    1.99 +@@ -122,7 +122,7 @@ void print_information(DIS_LOGS level, d
   1.100 + 	dis_printf(level, "  Current state: %s (%hu)\n", get_state_str(information->curr_state), information->curr_state);
   1.101 + 	dis_printf(level, "  Next state: %s (%hu)\n",    get_state_str(information->next_state), information->next_state);
   1.102 + 	dis_printf(level, "  Encrypted volume size: %1$" PRIu64 " bytes (%1$#" PRIx64 "), ~%2$" PRIu64 " MB\n", information->encrypted_volume_size, information->encrypted_volume_size / (1024*1024));
   1.103 +-	dis_printf(level, "  Size of convertion region: %1$#x (%1$u)\n", information->convert_size);
   1.104 ++	dis_printf(level, "  Size of conversion region: %1$#x (%1$u)\n", information->convert_size);
   1.105 + 	dis_printf(level, "  Number of boot sectors backuped: %1$u sectors (%1$#x)\n", information->nb_backup_sectors);
   1.106 + 	dis_printf(level, "  First metadata header offset:  %#" PRIx64 "\n", information->information_off[0]);
   1.107 + 	dis_printf(level, "  Second metadata header offset: %#" PRIx64 "\n", information->information_off[1]);
   1.108 +@@ -187,7 +187,7 @@ void print_eow_infos(DIS_LOGS level, dis
   1.109 + 
   1.110 + 	bitlocker_eow_infos_t* eow_infos = dis_meta->eow_information;
   1.111 + 
   1.112 +-	dis_printf(level, "=======================[ BitLocker EOW informations ]========================\n");
   1.113 ++	dis_printf(level, "=======================[ BitLocker EOW information ]========================\n");
   1.114 + 	dis_printf(level, "  Signature: '%.8s'\n", eow_infos->signature);
   1.115 + 	dis_printf(level, "  Structure size: 0x%1$04x (%1$hu)\n", eow_infos->header_size);
   1.116 + 	dis_printf(level, "  On-disk size: 0x%1$04x (%1$hu)\n", eow_infos->infos_size);
   1.117 +@@ -243,7 +243,7 @@ void print_data(DIS_LOGS level, dis_meta
   1.118 + 			break;
   1.119 + 
   1.120 + 		dis_printf(level, "\n");
   1.121 +-		dis_printf(level, "=======[ Datum n°%d informations ]=======\n", ++loop);
   1.122 ++		dis_printf(level, "=======[ Datum n°%d information ]=======\n", ++loop);
   1.123 + 		print_one_datum(level, data);
   1.124 + 		dis_printf(level, "=========================================\n");
   1.125 + 
   1.126 +Index: dislocker-0.7.1/src/config.c
   1.127 +===================================================================
   1.128 +--- dislocker-0.7.1.orig/src/config.c
   1.129 ++++ dislocker-0.7.1/src/config.c
   1.130 +@@ -181,7 +181,7 @@ PROGNAME " by " AUTHOR ", v" VERSION " (
   1.131 + "    -p, --recovery-password=[RECOVERY_PASSWORD]\n"
   1.132 + "                          decrypt volume using the recovery password method\n"
   1.133 + "    -q, --quiet           do NOT display anything\n"
   1.134 +-"    -r, --readonly        do not allow to write on the BitLocker volume\n"
   1.135 ++"    -r, --readonly        do not allow one to write on the BitLocker volume\n"
   1.136 + "    -s, --stateok         do not check the volume's state, assume it's ok to mount it\n"
   1.137 + "    -u, --user-password=[USER_PASSWORD]\n"
   1.138 + "                          decrypt volume using the user password method\n"
   1.139 +Index: dislocker-0.7.1/man/linux/dislocker-find.1
   1.140 +===================================================================
   1.141 +--- dislocker-0.7.1.orig/man/linux/dislocker-find.1
   1.142 ++++ dislocker-0.7.1/man/linux/dislocker-find.1
   1.143 +@@ -2,7 +2,7 @@
   1.144 + .\"
   1.145 + .TH DISLOCKER-FIND 1 2011-09-07 "Linux" "DISLOCKER-FIND"
   1.146 + .SH NAME
   1.147 +-Dislocker find - Find BitLocker-encrypted volumes.
   1.148 ++Dislocker-find \- Find BitLocker-encrypted volumes.
   1.149 + .SH SYNOPSIS
   1.150 + dislocker-find [-h] [files...]
   1.151 + .SH DESCRIPTION