Subject: pkg/23475: security/p0f does not compile under Solaris8
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <rquinn@sec.sprint.net>
List: netbsd-bugs
Date: 11/18/2003 12:56:54
>Number: 23475
>Category: pkg
>Synopsis: security/p0f does not compile under Solaris8
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Nov 18 12:57:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Rob Quinn
>Release: pkgsrc-current
>Organization:
>Environment:
SunOS crn-sen 5.8 Generic_108528-19 sun4u sparc SUNW,Netra-T4
>Description:
pkgsrc/security/p0f fails to compile under Solaris2.8:
crn-sen:/usr/pkgsrc/security/p0f #bmake
===> Checking for vulnerabilities in p0f-2.0.3
=> Checksum OK for p0f-2.0.3/p0f-2.0.3.tgz.
work -> /usr/obj/pkg/security/p0f/work
===> Extracting for p0f-2.0.3
===> Required installed package libpcap>=0.7.2: libpcap-0.7.2 found
===> Required installed package gcc3>=3.3: gcc3-3.3nb5 found
===> Patching for p0f-2.0.3
===> Applying pkgsrc patches for p0f-2.0.3
===> Overriding tools for p0f-2.0.3
===> Buildlinking for p0f-2.0.3
===> Configuring for p0f-2.0.3
===> Building for p0f-2.0.3
/usr/bin/cp /usr/obj/pkg/security/p0f/work/p0f/config.h.new /usr/obj/pkg/security/p0f/work/p0f/config.h
/usr/bin/cp /usr/obj/pkg/security/p0f/work/p0f/p0f.1.new /usr/obj/pkg/security/p0f/work/p0f/p0f.1
./Build all
Your system type is: SunOS
Please help with p0f 2:
http://lcamtuf.coredump.cx/p0f-help/
GNU make found at /usr/pkg/bin/gmake, trying to use it...
mk/SunOS:21: *** Recursive variable `CFLAGS' references itself (eventually). Stop.
*** Error code 2
Stop.
bmake: stopped in /usr/obj/pkg/security/p0f/work/p0f
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/security/p0f
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/security/p0f
>How-To-Repeat:
>Fix:
The included patch to mk/SunOS sets "CFLAGS = $(CFLAGS) -D....". If I change that
to "CFLAGS += -D....." then it compiles and installs fine.
>Release-Note:
>Audit-Trail:
>Unformatted: