|
|||||||||||
|
Re: [RFC] Renaming libnet-1.1.1 to libnet2-1.1.1
From: Dan Kegel <dkegel(at)ixiacom.com>
Date: Wed Mar 05 2003 - 18:25:02 EST James Ralston wrote: >>One approach is to rename libnet-1.1.1 to libnet2-1.1.1. (I'm sure >>there are many other approaches, but this one seemed obvious.) > > > While I (and others) appreciate your efforts in trying to solve this > problem, I don't feel that this is the correct solution. > > ABIs occasionally change. This is life. (In fact, this is one of the > reasons why ELF shared libraries have SONAMEs: to indicate ABI > compatibility, or lack thereof.) > > It is the responsibility of the packages which use a particular > library to support multiple versions of the library. > > And in the case of libnet, it's not particularly difficult to patch an > application to be able to compile with either libnet-1.0 or libnet > 1.1. > > For example, Jon Allen Boone made an official patch for tcptraceroute, > to make it work with only libnet-1.1 (instead of libnet-1.0). With a > little #ifdef'ing, and a few autoconf tests, I was able to take Jon's > patch and produce a patch for tcptraceroute to enable it to compile > and run against either libnet-1.0 or libnet-1.1. It was fairly > simple. > A renaming approach could be used temporarily, until the authors of
Your approach requires apps using libnet-1.0 have to be modified to use the renamed libnet-1.0. However, if you think it's better, I'd be happy to submit a patch for libnet-1.0.2a to rename it to libnet0-1.0.2a (I think Debian is following this scheme, at least partly.) Would that be more acceptable? In any case, I'd like to come to a generally agreeable conclusion soon, as I have users screaming at me for a way to build both libnet1.0 and libnet1.1 apps.
To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.com Received on Wed Mar 5 18:35:16 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:23 EDT |
||||||||||
|
|||||||||||