ports/55807: [PATCH] net/libdnet: unbreak on -CURRENT
Yann Berthier
yb at sainte-barbe.org
Wed Aug 20 14:20:13 UTC 2003
>Number: 55807
>Category: ports
>Synopsis: [PATCH] net/libdnet: unbreak on -CURRENT
>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: Wed Aug 20 07:20:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Yann Berthier
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD taz.hsc.fr 5.1-CURRENT FreeBSD 5.1-CURRENT #67: Thu Aug 14 15:11:04 CEST 2003
>Description:
[DESCRIBE CHANGES]
This band-aid fix inhibits IPFW detection at configure time. At least it
will allow -CURRENT users to build ports depending on this one
(net/honeyd, net/arpd, net/ttlscan, security/fragroute).
Note that this doesn't solve the FreeBSD 4.x + IPFW2 case.
Added directory / file: files/configure.patch
Port maintainer (dominic.marks at btinternet.com) is cc'd.
Generated with FreeBSD Port Tools 0.25
>How-To-Repeat:
>Fix:
--- libdnet-1.7_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/libdnet/Makefile /home/yb/tmp/ports/net/libdnet/Makefile
--- /usr/ports/net/libdnet/Makefile Tue Jul 1 20:46:54 2003
+++ /home/yb/tmp/ports/net/libdnet/Makefile Tue Aug 19 14:50:42 2003
@@ -7,6 +7,7 @@
PORTNAME= libdnet
PORTVERSION= 1.7
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -19,7 +20,7 @@
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500037
-BROKEN= libdnet does not currently support ipfw 2
+EXTRA_PATCHES= ${PATCHDIR}/configure.patch
.endif
MAN3= dnet.3
diff -ruN --exclude=CVS /usr/ports/net/libdnet/files/configure.patch /home/yb/tmp/ports/net/libdnet/files/configure.patch
--- /usr/ports/net/libdnet/files/configure.patch Thu Jan 1 01:00:00 1970
+++ /home/yb/tmp/ports/net/libdnet/files/configure.patch Tue Aug 19 14:38:52 2003
@@ -0,0 +1,11 @@
+--- configure.orig Tue Aug 19 13:57:02 2003
++++ configure Tue Aug 19 13:57:21 2003
+@@ -4609,8 +4609,6 @@
+
+ if test "$ac_cv_header_net_pfvar_h" = yes ; then
+ LIBOBJS="$LIBOBJS fw-pf.$ac_objext"
+-elif test "$ac_cv_header_netinet_ip_fw_h" = yes ; then
+- LIBOBJS="$LIBOBJS fw-ipfw.$ac_objext"
+ elif test "$ac_cv_header_netinet_ip_fil_h" = yes ; then
+ LIBOBJS="$LIBOBJS fw-ipf.$ac_objext"
+ elif test "$ac_cv_header_linux_ip_fw_h" = yes ; then
--- libdnet-1.7_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list