Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2013 18:15:42 GMT
From:      Oleg_Sch <7zsfx@7zsfx.info>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175765: imspector ipfw support
Message-ID:  <201302011815.r11IFgGi057385@red.freebsd.org>
Resent-Message-ID: <201302011820.r11IK1sq058865@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175765
>Category:       ports
>Synopsis:       imspector ipfw support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 01 18:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Oleg_Sch
>Release:        8,3
>Organization:
>Environment:
FreeBSD hostname 8.3-RELEASE-p5 FreeBSD 8.3-RELEASE-p5 #1 r245701: Tue Jan 22 11:49:37 VLAT 2013     root@hostname:/usr/obj/usr/src/sys/GW8  i386

>Description:
net-im/imspector:
Ipfw transparent support already included in sources. Only 'Makefile' need small changes.
>How-To-Repeat:

>Fix:
--- Makefile.orig       2013-02-02 05:05:49.000000000 +1100
+++ Makefile    2013-02-02 05:10:08.000000000 +1100
@@ -28,6 +28,14 @@

 MAKE_ENV+=     ETCDIR=${ETCDIR}

+OPTIONS=       USE_IPFW        "Use IPFW instead of PF"        off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_USE_IPFW)
+CFLAGS += -DIPFW_TRANSPARENT=1
+.endif
+
 post-extract:
        ${MV}   ${WRKDIR}/${PORTNAME} ${WRKSRC}
 post-patch:
@@ -41,4 +49,5 @@
        fi
 .endfor

-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



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