public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] deprecating libnet-1.0.x (it's about time)
@ 2003-08-19 20:56 Mike Frysinger
  2003-08-19 21:12 ` Brian Jackson
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Mike Frysinger @ 2003-08-19 20:56 UTC (permalink / raw
  To: gentoo-dev

libnet-1.0.x has been deprecated for sometime (well, since 1.1.x has been 
releeased), but we still were using libnet-1.0.x as the only libnet in 
portage ... reason being that many (well the majority) of apps that use 
libnet use libnet-1.0 ...
unfortunately, 1.0.x and 1.1.x are not API compatible ...

i just released a short time ago libnet versions that SLOT into 1.0 and 1.1 
... right now, libnet-1.0 occupies the 'default' position (libnet.a, 
libnet.h, libnet-config, etc...) while libnet-1.1 occupies libnet-1.1.a and 
libnet-1.1.h ... i would like to switch that around and patch all the apps 
that use libnet-1.0.x to point to the 'old' libnet location (-lnet becomes 
-lnet-1.0, libnet-config becomes libnet-1.0-config, etc...) ...
the benefits (for those who havent caught on yet):
rather than constantly maintaining patches for new apps that use 1.1, we only 
have to patch once (see below) for the 1.0 apps

the good news !
first: libnet is a static library, thus all your install apps will not be 
affected :D
second: if a libnet app tries to link against the wrong libnet, you *will* 
know :)  they bomb out with some sweet compile/linker errors
third: ive already made the ebuilds to put libnet-1.0.x into the 'deprecated' 
position and to put libnet-1.1.x into the 'regular' position
fourth: ive already made the patches against all libnet-1.0.x apps in portage 
:D
fifth: umm, it's a good thing

the bad news !
well, none really ... but if you help maintain any of the following apps i'd 
like to hear about it since ive got a patch for your source:
net-analyzer/angst
net-analyzer/arping (has 1.0 and 1.1 version)
net-analyzer/dsniff
net-analyzer/egressor
net-analyzer/hogwash (this needs a lot of work ...)
net-analyzer/isic
net-analyzer/paketto (well not really, it uses a bundled libnet)
net-analyzer/snort (has 1.0 and 1.1 version)
net-analyzer/tcptraceroute
net-analyzer/zodiac
net-dns/dnshijacker
net-libs/libnids (this is SLOT-ed now too since it works with 1.0 and 1.1)
net-libs/libnet
net-misc/nemesis
net-misc/rarpd
sys-cluster/heartbeat

i'd like to roll these changes into ~ (and well, afaik, all i gotta do is 
commit these ebuilds in my local portdir) soon

feedback is welcome :)
-mike


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-08-21  5:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-19 20:56 [gentoo-dev] deprecating libnet-1.0.x (it's about time) Mike Frysinger
2003-08-19 21:12 ` Brian Jackson
2003-08-19 22:19 ` Ned Ludd
2003-08-19 22:35   ` Mike Frysinger
2003-08-21  5:21 ` [gentoo-dev] libnet-1.0.x is now deprecated in unstable Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox