From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6684 invoked by uid 1002); 19 Aug 2003 21:13:01 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 10965 invoked from network); 19 Aug 2003 21:13:00 -0000 From: Brian Jackson Organization: Gentoo Linux To: gentoo-dev@gentoo.org Date: Tue, 19 Aug 2003 16:12:58 -0500 User-Agent: KMail/1.5.9 References: <200308191656.50226.vapier@gentoo.org> In-Reply-To: <200308191656.50226.vapier@gentoo.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200308191612.58708.iggy@gentoo.org> Subject: Re: [gentoo-dev] deprecating libnet-1.0.x (it's about time) X-Archives-Salt: ace24258-52da-46bf-b835-1ddbef70ced4 X-Archives-Hash: b59d50bc0cc2853b549474f003325949 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