racount fix for FreeBSD
Carter Bullard
carter at qosient.com
Tue Jun 20 08:28:22 EDT 2006
Hey Robin,
Fixed in racount.c, but I can't find a -D anywhere in argus or
the clients.
Do you have a line number, diff file?
The -D option for install() is suppose to create directories,
when needed
and it was offered as a solution from a Fedora shop. On MacOS X 10.4.x,
it should be a -d.
Carter
On Jun 20, 2006, at 3:01 AM, Robin Gruyters wrote:
> Hi ya,
>
> still one patch to go for racount.c
>
> --- clients/racount.c.orig Thu Jun 8 20:20:12 2006
> +++ clients/racount.c Tue Jun 20 08:58:06 2006
> @@ -174,7 +174,7 @@
> } else {
>
> printf ("racount records total_pkts
> src_pkts dst_pkts total_bytes src_bytes
> dst_bytes\n");
> -#if defined(__APPLE_CC__) || defined(__APPLE__)
> +#if defined(__APPLE_CC__) || defined(__APPLE__) || defined
> (__FreeBSD__)
> printf (" sum %-11lld %-14lld %-14lld %-14lld
> %-18lld %-18lld %-18lld\n",
> #else
> printf (" sum %-11Ld %-14Ld %-14Ld %-14Ld %-18Ld
> %-18Ld %-18Ld\n",
>
> Also the ${INSTALL} -D still exists in Makefile.in for
> argus-3.0.0.rc.10. Please remove it, or tell me what is the idea
> behind the -D option. Because FreeBSD doesn't have it.
>
> Regards,
>
> Robin Gruyters
> Network and Security Engineer
> Yirdis B.V.
> I: http://yirdis.com
> P: +31 (0)36 5300394
> F: +31 (0)36 5489119
>
More information about the argus
mailing list