rpms/iproute/F-8 iproute-2.6.26-ip-abbreviation.patch, NONE, 1.1 iproute.spec, 1.72, 1.73
Marcela Mašláňová
mmaslano at fedoraproject.org
Tue Nov 18 07:02:52 UTC 2008
- Previous message (by thread): rpms/xorg-x11-drv-ati/F-10 radeon-modeset.patch, 1.38, 1.39 xorg-x11-drv-ati.spec, 1.150, 1.151
- Next message (by thread): rpms/kernel/F-10 drm-next-intel-irq-test.patch, NONE, 1.1 drm-modesetting-radeon.patch, 1.59, 1.60 drm-next.patch, 1.7, 1.8 kernel.spec, 1.1151, 1.1152
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mmaslano
Update of /cvs/pkgs/rpms/iproute/F-8
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32202
Modified Files:
iproute.spec
Added Files:
iproute-2.6.26-ip-abbreviation.patch
Log Message:
* Tue Nov 18 2008 Marcela MaÅ¡láÅová <mmaslano at redhat.com> - 2.6.26-2
- ip: abbreviation of network-prefix is no longer possible with ip route
- Related: bz#460580
iproute-2.6.26-ip-abbreviation.patch:
--- NEW FILE iproute-2.6.26-ip-abbreviation.patch ---
>From 2ca4abdcb823e708b88156f947fa5b493055618a Mon Sep 17 00:00:00 2001
From: Andreas Henriksson <andreas at fatal.se>
Date: Fri, 29 Aug 2008 19:26:42 +0200
Subject: [PATCH] ip: abbreviation of network-prefix is no longer possible with ip route
Commit 516ffb6b7724e97ca035293dcfd9f94cf6ce3a47 says:
Stephen Hemminger [Thu, 22 May 2008 20:41:40 +0000 (13:41 -0700)]
> Use the standard POSIX inet_pton to convert from string to IPV4
> address. This avoids problems where ip parses "127.2" wrong.
Apparently inet_pton doesn't support abbreviated/shortened/classful
ipv4 addresses at all, but inet_aton does.
Since the function only deals with AF_INET anyway maybe using
inet_aton "to increse backwards compatability" (please those
who still want to use the format) could be considered?
(This will still not restore the 10/8 format which apparently used
to work in iproute, so people would have to settle for 10.0/8)
diff -up iproute-2.6.26/iproute2-2.6.26/lib/utils.c.abbrev iproute-2.6.26/iproute2-2.6.26/lib/utils.c
--- iproute-2.6.26/iproute2-2.6.26/lib/utils.c.abbrev 2008-07-25 22:46:07.000000000 +0200
+++ iproute-2.6.26/iproute2-2.6.26/lib/utils.c 2008-10-14 16:18:28.000000000 +0200
@@ -284,7 +284,7 @@ int get_addr_1(inet_prefix *addr, const
addr->family = AF_INET;
if (family != AF_UNSPEC && family != AF_INET)
return -1;
- if (inet_pton(AF_INET, name, addr->data) <= 0)
+ if (inet_aton(name, addr->data) <= 0)
return -1;
addr->bytelen = 4;
addr->bitlen = -1;
Index: iproute.spec
===================================================================
RCS file: /cvs/pkgs/rpms/iproute/F-8/iproute.spec,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- iproute.spec 12 Aug 2008 14:19:05 -0000 1.72
+++ iproute.spec 18 Nov 2008 07:02:21 -0000 1.73
@@ -3,7 +3,7 @@
Summary: Advanced IP routing and network device configuration tools
Name: iproute
Version: 2.6.26
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: Applications/System
Source: http://developer.osdl.org/dev/iproute2/download/iproute2-%{version}.tar.bz2
URL: http://linux-net.osdl.org/index.php/Iproute2
@@ -13,6 +13,7 @@
Patch4: iproute2-movelib.patch
Patch5: iproute2-2.6.25-aead.patch
Patch6: iproute2-2.6.25-segfault.patch
+Patch7: iproute-2.6.26-ip-abbreviation.patch
License: GPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -32,6 +33,7 @@
%patch4 -p1 -b .movelib
%patch5 -p1 -b .aead
%patch6 -p1 -b .seg
+%patch7 -p1 -b .abbrev
%build
export LIBDIR=%{_libdir}
@@ -97,6 +99,10 @@
%config(noreplace) %{_sysconfdir}/sysconfig/cbq/*
%changelog
+* Tue Nov 18 2008 Marcela MaÅ¡láÅová <mmaslano at redhat.com> - 2.6.26-2
+- ip: abbreviation of network-prefix is no longer possible with ip route
+- Related: bz#460580
+
* Tue Aug 12 2008 Marcela Maslanova <mmaslano at redhat.com> - 2.6.26-1
- update to 2.6.26
- clean patches
- Previous message (by thread): rpms/xorg-x11-drv-ati/F-10 radeon-modeset.patch, 1.38, 1.39 xorg-x11-drv-ati.spec, 1.150, 1.151
- Next message (by thread): rpms/kernel/F-10 drm-next-intel-irq-test.patch, NONE, 1.1 drm-modesetting-radeon.patch, 1.59, 1.60 drm-next.patch, 1.7, 1.8 kernel.spec, 1.1151, 1.1152
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list