From owner-freebsd-ports@FreeBSD.ORG Thu Feb 10 14:32:43 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37B42106566C for ; Thu, 10 Feb 2011 14:32:43 +0000 (UTC) (envelope-from wfreeman@sourcefire.com) Received: from na3sys009aog112.obsmtp.com (na3sys009aog112.obsmtp.com [74.125.149.207]) by mx1.freebsd.org (Postfix) with SMTP id 931718FC0A for ; Thu, 10 Feb 2011 14:32:42 +0000 (UTC) Received: from source ([209.85.161.49]) (using TLSv1) by na3sys009aob112.postini.com ([74.125.148.12]) with SMTP ID DSNKTVP3CXBQ/Ah6lNwcUJ7DvjiprKhY80L4@postini.com; Thu, 10 Feb 2011 06:32:42 PST Received: by mail-fx0-f49.google.com with SMTP id 19so1644604fxm.22 for ; Thu, 10 Feb 2011 06:32:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.71.199 with SMTP id i7mr1513246faj.57.1297346476123; Thu, 10 Feb 2011 06:01:16 -0800 (PST) Received: by 10.223.143.88 with HTTP; Thu, 10 Feb 2011 06:01:16 -0800 (PST) In-Reply-To: <4D53EB58.6000605@secnap.com> References: <4D53AFC3.4030107@netfence.it> <4D53EB58.6000605@secnap.com> Date: Thu, 10 Feb 2011 09:01:16 -0500 Message-ID: From: Dean Freeman To: Michael Scheidell Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: wfreeman@gmail.com, Andrea Venturoli , freebsd-ports@freebsd.org Subject: Re: Snort troubles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2011 14:32:43 -0000 Snort 2.9.0.4 is getting released today, I believe, and I'll push an updated port either tomorrow or Monday which will also have the fix for the libnet issue in it as well. On Thu, Feb 10, 2011 at 8:42 AM, Michael Scheidell < michael.scheidell@secnap.com> wrote: > > > On 2/10/11 4:28 AM, Andrea Venturoli wrote: > >> Hello. >> >> # cd /usr/ports/security/snort >> # make extract >> /usr/local/bin/libnet11-config: not found >> Is this a bug in the port? >> > yep, my fault. > > Does snort require a newer perl? >> > no. > has been tried on perl 5.8.9, 7.3 i386, 7.2 amd64, perl 5.10 amd64 on 7.3, > 8.1, etc. > (even works on 6.4 i386), BUT WON'T COMPILE pcap on 5.5 > > Should I switch to 5.10? 5.12? >> > no > try this patch: DO A MAKE CLEAN first, then apply patch, then try > again. > > > diff -bBru /tmp/Makefile Makefile > --- /tmp/Makefile Tue Feb 8 22:50:03 2011 > +++ Makefile Wed Feb 9 10:41:46 2011 > > @@ -60,8 +61,13 @@ > USE_AUTOTOOLS= libtool > USE_LDCONFIG= yes > LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config > +.if exists($(LIBNET_CONFIG})) > LIBNET_CFLAGS!= ${LIBNET_CONFIG} --cflags > LIBNET_LIBS!= ${LIBNET_CONFIG} --libs > +.else > +LIBNET_CFLAGS=-I${LOCALBASE}/include/libnet11 > +LIBNET_LIBS=-L${LOCALBASE}/lib/libnet11 -lnet > +.endif > LIBNET_INCDIR= ${LIBNET_CFLAGS:M-I*:S/-I//} > LIBNET_LIBDIR= ${LIBNET_LIBS:M-L*:S/-L//} > > > -- > Michael Scheidell, CTO > o: 561-999-5000 > d: 561-948-2259 > ISN: 1259*1300 > >*| *SECNAP Network Security Corporation > > * Certified SNORT Integrator > * 2008-9 Hot Company Award Winner, World Executive Alliance > * Five-Star Partner Program 2009, VARBusiness > * Best in Email Security,2010: Network Products Guide > * King of Spam Filters, SC Magazine 2008 > > > ______________________________________________________________________ > This email has been scanned and certified safe by SpammerTrap(r). For > Information please see http://www.secnap.com/products/spammertrap/ > ______________________________________________________________________ > _______________________________________________ > > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > -- Dean Freeman Research Analyst, Sourcefire VRT