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

* Re: [gentoo-dev] deprecating libnet-1.0.x (it's about time)
  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-21  5:21 ` [gentoo-dev] libnet-1.0.x is now deprecated in unstable Mike Frysinger
  2 siblings, 0 replies; 5+ messages in thread
From: Brian Jackson @ 2003-08-19 21:12 UTC (permalink / raw
  To: gentoo-dev

On Tuesday 19 August 2003 03:56 pm, Mike Frysinger wrote:
> 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

AFAIK heartbeat will work with either version of libnet, and I know it will 
work with 1.1 since that is the version I use.

--iggy

>
> 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

-- 
Home -- http://www.brianandsara.net
Gentoo -- http://gentoo.brianandsara.net

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] deprecating libnet-1.0.x (it's about time)
  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
  2 siblings, 1 reply; 5+ messages in thread
From: Ned Ludd @ 2003-08-19 22:19 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]

On Tue, 2003-08-19 at 16:56, Mike Frysinger wrote:
[snip]

> 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 ...)

I co develop hogwash and the 0.4 series has been depreciated and is
probably exploitable. Now at the current time the 0.5 series is the
current, but probably not ideal for use in portage yet.
I would recommend that it be removed until 0.5 is officially released or
cvs snapshots can be taken.

> 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
-- 
Ned Ludd <solar@gentoo.org>
Gentoo Linux Developer (Hardened)

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 307 bytes --]

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

* Re: [gentoo-dev] deprecating libnet-1.0.x (it's about time)
  2003-08-19 22:19 ` Ned Ludd
@ 2003-08-19 22:35   ` Mike Frysinger
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2003-08-19 22:35 UTC (permalink / raw
  To: gentoo-dev

On Tuesday 19 August 2003 18:19, Ned Ludd wrote:
> > net-analyzer/hogwash (this needs a lot of work ...)
>
> I co develop hogwash and the 0.4 series has been depreciated and is
> probably exploitable. Now at the current time the 0.5 series is the
> current, but probably not ideal for use in portage yet.
> I would recommend that it be removed until 0.5 is officially released or
> cvs snapshots can be taken.

yeah, i looked through the ebuilds/homepage and just gave up on trying to 
'fix' it ... glad to know we've got someone who knows a lot about it ;)

i'd ask you to do it since you are the much more knowledable person ... 
basically, like you said, i'd remove all the ebuilds and add in 0.5 and 
either ~ or package.mask it ...
-mike

--
gentoo-dev@gentoo.org mailing list


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

* [gentoo-dev] libnet-1.0.x is now deprecated in unstable
  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-21  5:21 ` Mike Frysinger
  2 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2003-08-21  5:21 UTC (permalink / raw
  To: gentoo-dev; +Cc: gentoo-security, gentoo-core

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 1024 bytes --]

sorry for the mass cross posting but i know theres a bunch of people who are 
probably interested in this change ...

libnet is now SLOT-ed such that 1.0.x is deprecated and 1.1.x is the default 
libnet package.  libnids had to be SLOT-ed along with it since 1.16 works 
with 1.0.x and 1.17 works with 1.1.x.

i guess a lot of the packages in the previous list i sent out i was actually 
the maintainer :D ... but once again, for completeness, here are the packages 
that have been patched to match this SLOT:


net-analyzer/angst
net-analyzer/arping
net-analyzer/dsniff
net-analyzer/egressor
net-analyzer/hogwash (this has been left alone for solar)
net-analyzer/isic
net-analyzer/snort
net-analyzer/tcptraceroute
net-analyzer/zodiac
net-dns/dnshijacker
net-libs/libnids
net-libs/libnet
net-misc/nemesis
net-misc/rarpd
sys-cluster/heartbeat (this has not been updated since it works with both 
1.0.x and 1.1.x ... good for them :D)

comments/flames/money/women feel free to send my way
-mike

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

^ 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