[Forensics-changes] [SCM] debian-forensics/wipe branch, debian, updated. debian/0.21-9-17-g4cbbef1

Julien Valroff julien at kirya.net
Sat Sep 17 07:47:56 UTC 2011


The following commit has been merged in the debian branch:
commit fc5ef467d9207bc87bcdf96c52ed13a9f13bfd9f
Author: Julien Valroff <julien at kirya.net>
Date:   Sat Sep 17 09:40:39 2011 +0200

    Fix some more nroff warnings

diff --git a/debian/patches/001_fix-manpages.diff b/debian/patches/001_fix-manpages.diff
index fb4f7dc..3af7601 100644
--- a/debian/patches/001_fix-manpages.diff
+++ b/debian/patches/001_fix-manpages.diff
@@ -4,37 +4,304 @@ Last-Update: 2011-09-17
 
 --- a/wipe.1
 +++ b/wipe.1
-@@ -203,7 +203,6 @@
+@@ -172,10 +172,10 @@
+ With this option which requires an argument you can specify an
+ alternate /dev/random device, or a command who's standard output
+ will be hashed using MD5-hashed. The distinction can be made using
+-the -S option.
++the \-S option.
+ 
+ .TP 0.5i
+-.B -S (random seed method)
++.B \-S (random seed method)
+ 
+ This option takes a single-character argument, which specifies
+ how the random device/random seed argument is to be used. The default random device
+@@ -203,10 +203,9 @@
  time, its process id. etc. (the random device
  argument will not be used). This is of course
  the least secure setting.
 -.SP
  
  .TP 0.5i
- .B -M (select pseudo-random number generator algorythm)
-@@ -234,7 +233,6 @@
+-.B -M (select pseudo-random number generator algorythm)
++.B \-M (select pseudo-random number generator algorythm)
+ 
+ .PP
+ .PD 0
+@@ -234,12 +233,11 @@
  of RC6, which is faster. In order to be able to use RC6, wipe must be compiled
  with ENABLE_RC6 defined; see the Makefile for warnings about patent issues.
  
 -.SP
  In all cases the PRNG is seeded with the data gathered from the random device
- (see -R and -S options).
+-(see -R and -S options).
++(see \-R and \-S options).
+ 
+ .TP 0.5i
+-.B -l <length>
++.B \-l <length>
+ As there can be some problems in determining the actual size of a block device
+ (as some devices do not even have fixed sizes, such as floppy disks or tapes),
+ you might need to specify the size of the device by hand; <length> is the
+@@ -263,26 +261,26 @@
+ 	114M32K = 114*1024*1024+32*1024.
+ 
+ .TP 0.5i
+-.B -o <offset>
++.B \-o <offset>
+ This allows you to specify an offset inside the file or device to be wiped. The
+ syntax of <offset> is the same as for the
+-.B -l
++.B \-l
+ option.
+ 
+ .TP 0.5i
+-.B -e
++.B \-e
+ Use exact file size: do not round up file size to wipe possible remaining junk
+ on the last block.
+ 
+ .TP 0.5i
+-.B -Z
++.B \-Z
+ Don't try to wipe file sizes by repeatedly halving the file size. Note that
+ this is only attempted on regular files so there is no use if you use
+ .B wipe
+ for cleaning a block or special device.
+ 
+ .TP 0.5i
+-.B -F
++.B \-F
+ Don't try to wipe file names. Normally,
+ .B wipe
+ tries to cover file names by renaming them; this does NOT guarantee that the
+@@ -294,72 +292,72 @@
+ after every rename () makes filename wiping extremely slow.
+ 
+ .TP 0.5i
+-.B -k
++.B \-k
+ Keep files: do not unlink the files after they have been overwritten. Useful if
+ you want to wipe a device, while keeping the device special file. This implies
+-.B -F.
++.B \-F.
+ 
+ .TP 0.5i
+-.B -D
++.B \-D
+ Dereference symlinks: by default, wipe will never follow symlinks. If you
+-specify -D however, wipe will consent to, well, wipe the targets of any
++specify \-D however, wipe will consent to, well, wipe the targets of any
+ symlinks you might happen to name on the command line.  You can't specify both
+--D and -r (recursive) options, first because of possible cycles in the
++\-D and \-r (recursive) options, first because of possible cycles in the
+ symlink-enhanced directory graph, I'd have to keep track of visited files to
+ guarantee termination, which, you'll easily admit, is a pain in C, and, second,
+ for fear of having a (surprise!!) block device buried somewhere unexpected.
+ 
+ .TP 0.5i
+-.B -v
++.B \-v
+ Show version information and quit.
+ 
+ .TP 0.5i
+-.B -h
++.B \-h
+ Display help.
+ 
+ .SH EXAMPLES
+ .PP
+ 
+ .TP 0.5i
+-.B wipe -rcf /home/berke/plaintext/
+-Wipe every file and every directory (option -r) listed under
++.B wipe \-rcf /home/berke/plaintext/
++Wipe every file and every directory (option \-r) listed under
+ /home/berke/plaintext/, including /home/berke/plaintext/.
+ 
+ Regular files will be wiped with 34 passes and their sizes will then be halved
+ a random number of times. Special files (character and block devices, FIFOs...)
+ will not. All directory entries (files, special files and directories) will be
+ renamed 10 times and then unlinked. Things with inappropriate permissions will
+-be chmod()'ed (option -c).  All of this will happen without user confirmation
+-(option -f).
++be chmod()'ed (option \-c).  All of this will happen without user confirmation
++(option \-f).
+ 
+ .TP 0.5i
+-.B wipe -kq /dev/hda3
++.B wipe \-kq /dev/hda3
+ Assuming /dev/hda3 is the block device corresponding to the third partition of
+ the master drive on the primary IDE interface, it will be wiped in quick mode
+-(option -q) i.e. with four random passes.  The inode won't be renamed or
+-unlinked (option -k). Before starting, it will ask you to type ``yes''.
++(option \-q) i.e. with four random passes.  The inode won't be renamed or
++unlinked (option \-k). Before starting, it will ask you to type ``yes''.
+ 
+ .TP 0.5i
+-.B wipe -kqD /dev/floppy
++.B wipe \-kqD /dev/floppy
+ Since
+ .B wipe
+ never follows symlinks unless explicitly told to do so, if you want to wipe
+ /dev/floppy which happens to be a symlink to /dev/fd0u1440 you will have to
+-specify the -D option. Before starting, it will ask you to type ``yes''.
++specify the \-D option. Before starting, it will ask you to type ``yes''.
+ 
+ .TP 0.5i
+-.B wipe -rfi >wipe.log /var/log/*
+-Here, wipe will recursively (option -r) destroy everything under /var/log,
++.B wipe \-rfi >wipe.log /var/log/*
++Here, wipe will recursively (option \-r) destroy everything under /var/log,
+ excepting /var/log. It will not attempt to chmod() things. It will however be
+-verbose (option -i). It won't ask you to type ``yes'' because of the -f option.
++verbose (option \-i). It won't ask you to type ``yes'' because of the \-f option.
+ 
+ .TP 0.5i
+-.B wipe -Kq -l 1440k /dev/fd0
++.B wipe \-Kq \-l 1440k /dev/fd0
+ Due to various idiosyncracies of the operating system, it's not always easy
+ to obtain the number of bytes a given device might contain (in fact, that
+ quantity can be variable). This is why you sometimes need to tell
+ .B wipe
+-the amount of bytes to destroy. That's what the -l option is for. Plus,
++the amount of bytes to destroy. That's what the \-l option is for. Plus,
+ you can use b,K,M and G as multipliers, respectively for 2^9 (512),
+ 2^10 (1024 or a Kilo), 2^20 (a Mega) and 2^30 (a Giga) bytes.
+ You can even combine more than one multiplier !! So that 1M416K = 1474560 bytes.
+@@ -379,7 +377,7 @@
+ For wiping floppy disks, at least under Linux, there is no way, besides obscure
+ floppy-driver specific ioctl's to determine the block size of the disk. In
+ particular, the BLKGETSIZE ioctl is not implemented in the floppy driver. So,
+-for wiping floppies, you must specify the size of the floppy disk using the -l
++for wiping floppies, you must specify the size of the floppy disk using the \-l
+ option, as in the last example. This option is normally not needed for other
+ fixed block devices, like IDE and SCSI devices.
  
 --- a/wipe.tr.1
 +++ b/wipe.tr.1
-@@ -113,7 +113,6 @@
+@@ -3,7 +3,7 @@
+ wipe \- dosyaların manyetik ortamdan güvenli bir şekilde silinmesini sağlar
+ .SH ÖZET
+ 
+-wipe [-f][-c][-r][-q][-i] <filespec>
++wipe [\-f][\-c][\-r][\-q][\-i] <filespec>
+ .br
+ 
+ .SH UYARI
+@@ -32,58 +32,58 @@
+ .PP
+ .SH "KOMUT SATIRI SEÇENEKLERİ"
+ .TP 0.5i
+-.B -f (onay sorusunu etkisizleştir)
++.B \-f (onay sorusunu etkisizleştir)
+ Bu seçenek belirtilmediği takdirde 
+ .B wipe
+ silinecek dosya ve dizinlerin sayılarını belirtip onay istiyecektir.
+ Bu onay sorusuna "yes" veya "no" cevabı vermeniz gerekiyor.
+ 
+ .TP 0.5i
+-.B -r (altdizinlere gir)
++.B \-r (altdizinlere gir)
+ Tüm altdizinleriyle beraber dizinlerin silinmesine olanak sağlar. Simgesel
+ bağlar takip edilmez.
+ 
+ .TP 0.5i
+-.B -c (gerekirse dosya izin bitlerini değiştir)
++.B \-c (gerekirse dosya izin bitlerini değiştir)
+ Bu seçenek, eğer silinecek bir dosyanın (dizinin) yazma (yazma, okuma veya çalıştırma)
+ izin bitleri kapalı ise izinleri değiştirmek için chmod () sistem çağrısını
+ kullanılmasını sağlar.
+ 
+ .TP 0.5i
+-.B -i (ayrıntılı bilgi konumu)
++.B \-i (ayrıntılı bilgi konumu)
+ Bu konum stdout'a ayrıntılı bilgi yazılmasını sağlar. Olağan konumda
+ bütün iletiler stderr'e yazılır.
+ 
+ .TP 0.5i
+-.B -s (sessiz çalışma konumu)
++.B \-s (sessiz çalışma konumu)
+ Bu konumda hata iletileri ile başlangıçtaki onay sorusu dışındaki bütün iletileri
+ kaldırır.
+ 
+ .TP 0.5i
+-.B -q (hızlı silme konumu)
++.B \-q (hızlı silme konumu)
+ Bu konumda
+ .B wipe
+ her dosya üstünde sadece 4 geçiş yapacaktır. Bu geçişlerde rasgele bilgi
+ yazacaktır.
+ 
+ .TP 0.5i
+-.B -a (hata durumda işlemi iptal et)
++.B \-a (hata durumda işlemi iptal et)
+ Program kurtarılamaz bir hata durumunda EXIT_FAILURE koduyla çıkacaktır.
+ 
+ .TP 0.5i
+-.B -R <rasgele bilgi aygıtı VEYA rasgele tohum komutu>
++.B \-R <rasgele bilgi aygıtı VEYA rasgele tohum komutu>
+ 
+ Bir tane parametre gerektiren bu seçenekle farklı bir
+ /dev/random aygıtı veya olağan çıktısı MD5 öz çıkarma algoritmasıyla
+ kıyılacak bir komut belirtebilirsiniz. Bu parametrenin
+-tam anlamı -S seçeneği ile belli edilir.
++tam anlamı \-S seçeneği ile belli edilir.
+ 
+ .TP 0.5i
+-.B -S (rasgele tohumlama yöntemi)
++.B \-S (rasgele tohumlama yöntemi)
+ 
+ Bu seçenek tek harflik bir parametre alır; bu harf rasgele bilgi aygıtı/rasgele
+ tohum komutunu parametresinin nasıl kullanılacağını belirler. Olağan
+-rasgele bilgi aygıtı /dev/random'dur, farklı değerleri -R seçeneği ile
++rasgele bilgi aygıtı /dev/random'dur, farklı değerleri \-R seçeneği ile
+ belirtilebilir.
+ .PP
+ .PD 0
+@@ -113,10 +113,9 @@
  çevre değişkenlerini, tarihi ve zamanı,
  program numarasını vs. kullanarak elde
  edecektir.
 -.SP
  
  .TP 0.5i
- .B -M (l|a|r|p) (sözde rasgele sayı üretici algoritması)
-@@ -155,7 +154,6 @@
+-.B -M (l|a|r|p) (sözde rasgele sayı üretici algoritması)
++.B \-M (l|a|r|p) (sözde rasgele sayı üretici algoritması)
+ 
+ .PP
+ .PD 0
+@@ -155,26 +154,25 @@
  ise wipe'ı ENABLE_RC6 ile derlemeniz
  gerekir.
  
 -.SP
  Her durumda SRSÜ rasgele bilgi aygıtının çıktısıyla
- tohumlanır (-R ve -S seçeneklerine bakınız).
+-tohumlanır (-R ve -S seçeneklerine bakınız).
++tohumlanır (\-R ve \-S seçeneklerine bakınız).
+ 
+ .TP 0.5i
+-.B -v (sürüm)
++.B \-v (sürüm)
+ Sürüm bilgisini gösterir ve çıkar.
+ 
+ .TP 0.5i
+-.B -h (yardım)
++.B \-h (yardım)
+ Bununla kısa bir yardım bilgisi gösterir.
+ 
+ .SH ÖRNEKLER
+ .PP
+ 
+-wipe -rcf /home/berke/plaintext/*
++wipe \-rcf /home/berke/plaintext/*
+ 
+-wipe -q /dev/hda3
++wipe \-q /dev/hda3
+ 
+-wipe -rfi >wipe.log /var/log/auth.*
++wipe \-rfi >wipe.log /var/log/auth.*
  
+ .SH HATALAR/SINIRLAMALAR
+ .PP

-- 
debian-forensics/wipe



More information about the forensics-changes mailing list