~ubuntu-branches/ubuntu/precise/iproute/precise

« back to all changes in this revision

Viewing changes to debian/patches/ip_address

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Wirt, Andreas Henriksson, Justin B Rye, Alexander Wirt
  • Date: 2008-05-11 11:18:29 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080511111829-rfewew7s6kiev0bh
Tags: 20080417-1
[ Andreas Henriksson ]
* New upstream release, v2.6.25 a.k.a. snapshot 20080417.
  - Initial documentation for xfrm (Partially fixes #451337)
  - Fixes manpage error caught by lintian!
* Fix typos (syntax error) in ip(8) manpage.
  - Introduced by upstream, caught by lintian yet again!
* Don't ship useless headers in iproute-dev (Closes: #467557)
* Cherry-pick "Fix bad hash calculation because of signed address" from
  upstream. (Closes: #480173)

[ Justin B Rye ]
* Update package description (Closes: #464521)

[ Alexander Wirt ]
* Fix typo in short package description.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh -e
2
 
## 
3
 
## All lines beginning with `## DP:' are a description of the patch.
4
 
## DP: Removed mentioning of "ip address" in the ip output 
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
 
diff -ruN iproute-20051007.orig/ip/ipaddress.c iproute-20051007/ip/ipaddress.c
24
 
--- iproute-20051007.orig/ip/ipaddress.c        2005-09-21 21:33:18.000000000 +0200
25
 
+++ iproute-20051007/ip/ipaddress.c     2006-03-14 07:26:26.830934712 +0100
26
 
@@ -901,7 +901,7 @@
27
 
                return ipaddr_list_or_flush(argc-1, argv+1, 1);
28
 
        if (matches(*argv, "help") == 0)
29
 
                usage();
30
 
-       fprintf(stderr, "Command \"%s\" is unknown, try \"ip address help\".\n", *argv);
31
 
+       fprintf(stderr, "Command \"%s\" is unknown, try \"ip addr help\".\n", *argv);
32
 
        exit(-1);
33
 
 }
34