Gentoo Archives: gentoo-dev

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