Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7296 - New libnet breaks snort emerge
Summary: New libnet breaks snort emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ben Lutgens (RETIRED)
URL:
Whiteboard:
Keywords:
: 7699 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-08-31 09:34 UTC by Matt Willsher
Modified: 2003-02-04 19:42 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Willsher 2002-08-31 09:34:27 UTC
I appears that the new libnet 1.1.0 submitted recently breaks the build of 
snort 1.8.7 during emerge/ebuild. Can be worked around by removing --enable-
flexresp switch (which, according to the docs, is an experimental feature) 
from snort-1.8.7.ebuild file in net-analyzer/snort. I imagine this could also 
be fixed by depending on the old version of libnet but I have not tried this.
Comment 1 Maurizio Disimino 2002-09-01 02:59:37 UTC
some info from the libnet package:

Please note this is libnet 1.1.x.  Any code written for 1.0.x will NOT work
without porting.  Read the MIGRATION document for more info

So, let's just wait snort guys .. they'll update their code.
In the meantime, we should force the old libnet fot the snort ebuild.

moreover .. other ebuilds are using this new libnet. 
So, a check is required.
here's the list:

sexybit scripts # ./check_dep libnet
/usr/portage/dev-perl/Audio-CD-disc-cover/Audio-CD-disc-cover-0.04.ebuild
/usr/portage/dev-perl/MailTools/MailTools-1.44.ebuild
/usr/portage/dev-perl/Net-SNMP/Net-SNMP-4.0.1-r1.ebuild
/usr/portage/dev-perl/Net-SNMP/Net-SNMP-4.0.1.ebuild
/usr/portage/dev-perl/Net-Telnet/Net-Telnet-3.02-r2.ebuild
/usr/portage/dev-perl/POP3Client/POP3Client-2.7-r1.ebuild
/usr/portage/dev-perl/libwww-perl/libwww-perl-5.64.ebuild
/usr/portage/net-analyzer/arping/arping-1.04.ebuild
/usr/portage/net-analyzer/hogwash/hogwash-0.1d-r2.ebuild
/usr/portage/net-analyzer/snort/snort-1.8.6.ebuild
/usr/portage/net-analyzer/snort/snort-1.8.7.ebuild
/usr/portage/net-analyzer/tcptraceroute/tcptraceroute-1.4.ebuild
/usr/portage/net-dns/dnshijacker/dnshijacker-1.2.ebuild
/usr/portage/net-libs/libnids/libnids-1.16.ebuild
/usr/portage/net-mail/disspam/disspam-0.10.ebuild
/usr/portage/net-mail/gotmail/gotmail-0.7.2_p1.ebuild
/usr/portage/net-misc/nemesis/nemesis-1.32.ebuild
/usr/portage/net-misc/rarpd/rarpd-1.1.ebuild

and here's my own dep_check script .. (just in case)

[ ${1:-set} = set ] && echo "specify one argument pls." && exit 1
find /usr/portage -name '*.ebuild' > /tmp/portage.list
for ebuild in `cat /tmp/portage.list`; do
[ ! -z "`sed -n '/DEPEND.*[^"]$/,/"$/p ; /DEPEND.*"$/p' $ebuild |grep ${1}`" ] \
&& echo $ebuild; done

regards,

Maurizio aka j2ee
Comment 2 Brandon Low (RETIRED) gentoo-dev 2002-09-03 02:35:39 UTC
hmm... so some things (tcptraceroute, snort) should dep on <libnet-1.1.0 and
others need to depend on >=libnet-1.1.0

Lets fixor this ;)
Comment 3 Maurizio Disimino 2002-09-07 04:51:46 UTC
lolo, what about masking the latest libnet ? 
as expected users are experiencing problem with tcptraceroute, snort, etc
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-10 04:56:34 UTC
*** Bug 7699 has been marked as a duplicate of this bug. ***
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-10 05:49:38 UTC
masked libnet-1.1.0 in portage per Maurizio's recommendation.