Initialize Tizen 2.3
[external/prelink.git] / debian / patches / md5sha.dpatch
1 #! /bin/sh -e
2 ##
3 ## All lines beginning with `## DP:' are a description of the patch.
4 ## DP: Changes confusing reference to --md5 and --sha. Bug#274146 
5
6 [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
7 patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
8
9 if [ $# -ne 1 ]; then
10     echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
11     exit 1
12 fi
13 case "$1" in
14        -patch) patch $patch_opts -p1 < $0;;
15        -unpatch) patch $patch_opts -p1 -R < $0;;
16         *)
17                 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
18                 exit 1;;
19 esac
20
21 exit 0
22 @DPATCH@
23
24 diff -urN prelink-0.0.20040908.orig/doc/prelink.8 prelink-0.0.20040908/doc/prelink.8
25 --- prelink-0.0.20040908.orig/doc/prelink.8     2003-08-05 08:27:59.000000000 +0000
26 +++ prelink-0.0.20040908/doc/prelink.8  2004-10-01 14:43:24.000000000 +0000
27 @@ -173,7 +173,7 @@
28  unprobable case of modified file and original file having the same digest
29  or checksum).
30  .TP
31 -.B \-\-md5
32 +.B \-y \-\-md5
33  This is similar to
34  .I \-\-verify
35  option, except instead of outputing the content of the binary or library
36 @@ -181,7 +181,7 @@
37  See
38  .BR md5sum (1).
39  .TP
40 -.B \-\-sha
41 +.B \-y \-\-sha
42  This is similar to
43  .I \-\-verify
44  option, except instead of outputing the content of the binary or library