Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Feb 2011 09:01:16 -0500
From:      Dean Freeman <wfreeman@sourcefire.com>
To:        Michael Scheidell <michael.scheidell@secnap.com>
Cc:        wfreeman@gmail.com, Andrea Venturoli <ml@netfence.it>, freebsd-ports@freebsd.org
Subject:   Re: Snort troubles
Message-ID:  <AANLkTikZmarDbCLmfg5hEnN3TvoybSsznMB3zBizc_-W@mail.gmail.com>
In-Reply-To: <4D53EB58.6000605@secnap.com>
References:  <4D53AFC3.4030107@netfence.it> <4D53EB58.6000605@secnap.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikZmarDbCLmfg5hEnN3TvoybSsznMB3zBizc_-W>