duplicate INDEX entry: www/mod_rpaf*

Vasil Dimov vd at datamax.bg
Fri Oct 21 01:02:54 PDT 2005


>Submitter-Id:	current-users
>Originator:	Vasil Dimov
>Organization:	DataMax
>Confidential:	no 
>Synopsis:	duplicate INDEX entry: www/mod_rpaf*
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 6.0-RC1 amd64
>Environment:

>Description:

If apache2 is installed then www/mod_rpaf and www/mod_rpaf2 get
the same name: mod_rpaf-ap2-0.5, which causes warning to be emitted
during "make index" and incorrect "make search" results.

Btw AP_FAST_BUILD is defined twice with the same value...

>How-To-Repeat:

# cd /usr/ports/www/apache2 && make install clean
# cd /usr/ports/www/mod_rpaf && make describe
# cd /usr/ports/www/mod_rpaf2 && make describe

>Fix:

I invented 2 other fixes, but this one is the simplest.

--- mod_rpaf.diff begins here ---
diff -urN mod_rpaf.orig/Makefile mod_rpaf/Makefile
--- mod_rpaf.orig/Makefile	Mon Nov  8 18:17:20 2004
+++ mod_rpaf/Makefile	Fri Oct 21 10:48:33 2005
@@ -14,10 +14,8 @@
 COMMENT=	Make proxied requests appear with client IP
 
 AP_FAST_BUILD=	YES
-AP_FAST_BUILD=	YES
 AP_GENPLIST=	YES
 AP2_SRC_FILE=	mod_rpaf-2.0.c
-AP2_PKGNAMESUFFIX=	-ap2
 
 .include <bsd.port.pre.mk>
 .include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
--- mod_rpaf.diff ends here ---

--- mod_rpaf2.diff begins here ---
diff -urN mod_rpaf2.orig/Makefile mod_rpaf2/Makefile
--- mod_rpaf2.orig/Makefile	Mon Apr 26 16:09:45 2004
+++ mod_rpaf2/Makefile	Fri Oct 21 10:48:49 2005
@@ -6,6 +6,7 @@
 #
 
 WANT_APACHE=	2
+AP2_PKGNAMESUFFIX=	-ap2
 LATEST_LINK=	mod_rpaf2
 MASTERDIR=	${.CURDIR}/../mod_rpaf
 
--- mod_rpaf2.diff ends here ---


More information about the freebsd-apache mailing list