Gentoo Archives: gentoo-dev

From: Brian Jackson <iggy@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] deprecating libnet-1.0.x (it's about time)
Date: Tue, 19 Aug 2003 21:13:01
Message-Id: 200308191612.58708.iggy@gentoo.org
In Reply to: [gentoo-dev] deprecating libnet-1.0.x (it's about time) by Mike Frysinger
1 On Tuesday 19 August 2003 03:56 pm, Mike Frysinger wrote:
2 > libnet-1.0.x has been deprecated for sometime (well, since 1.1.x has been
3 > releeased), but we still were using libnet-1.0.x as the only libnet in
4 > portage ... reason being that many (well the majority) of apps that use
5 > libnet use libnet-1.0 ...
6 > unfortunately, 1.0.x and 1.1.x are not API compatible ...
7 >
8 > i just released a short time ago libnet versions that SLOT into 1.0 and 1.1
9 > ... right now, libnet-1.0 occupies the 'default' position (libnet.a,
10 > libnet.h, libnet-config, etc...) while libnet-1.1 occupies libnet-1.1.a and
11 > libnet-1.1.h ... i would like to switch that around and patch all the apps
12 > that use libnet-1.0.x to point to the 'old' libnet location (-lnet becomes
13 > -lnet-1.0, libnet-config becomes libnet-1.0-config, etc...) ...
14 > the benefits (for those who havent caught on yet):
15 > rather than constantly maintaining patches for new apps that use 1.1, we
16 > only have to patch once (see below) for the 1.0 apps
17 >
18 > the good news !
19 > first: libnet is a static library, thus all your install apps will not be
20 > affected :D
21 > second: if a libnet app tries to link against the wrong libnet, you *will*
22 > know :) they bomb out with some sweet compile/linker errors
23 > third: ive already made the ebuilds to put libnet-1.0.x into the
24 > 'deprecated' position and to put libnet-1.1.x into the 'regular' position
25 > fourth: ive already made the patches against all libnet-1.0.x apps in
26 > portage
27 >
28 > :D
29 >
30 > fifth: umm, it's a good thing
31 >
32 > the bad news !
33 > well, none really ... but if you help maintain any of the following apps
34 > i'd like to hear about it since ive got a patch for your source:
35 > net-analyzer/angst
36 > net-analyzer/arping (has 1.0 and 1.1 version)
37 > net-analyzer/dsniff
38 > net-analyzer/egressor
39 > net-analyzer/hogwash (this needs a lot of work ...)
40 > net-analyzer/isic
41 > net-analyzer/paketto (well not really, it uses a bundled libnet)
42 > net-analyzer/snort (has 1.0 and 1.1 version)
43 > net-analyzer/tcptraceroute
44 > net-analyzer/zodiac
45 > net-dns/dnshijacker
46 > net-libs/libnids (this is SLOT-ed now too since it works with 1.0 and 1.1)
47 > net-libs/libnet
48 > net-misc/nemesis
49 > net-misc/rarpd
50 > sys-cluster/heartbeat
51
52 AFAIK heartbeat will work with either version of libnet, and I know it will
53 work with 1.1 since that is the version I use.
54
55 --iggy
56
57 >
58 > i'd like to roll these changes into ~ (and well, afaik, all i gotta do is
59 > commit these ebuilds in my local portdir) soon
60 >
61 > feedback is welcome :)
62 > -mike
63 >
64 >
65 > --
66 > gentoo-dev@g.o mailing list
67
68 --
69 Home -- http://www.brianandsara.net
70 Gentoo -- http://gentoo.brianandsara.net
71
72 --
73 gentoo-dev@g.o mailing list