Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2005 11:02:51 +0300
From:      Vasil Dimov <vd@datamax.bg>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        apache@FreeBSD.org
Subject:   ports/87773: duplicate INDEX entry: www/mod_rpaf*
Message-ID:  <20051021080251.GA46069@qlovarnika.bg.datamax>
Resent-Message-ID: <200510210810.j9L8AHZ0075796@freefall.freebsd.org>

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

>Number:         87773
>Category:       ports
>Synopsis:       duplicate INDEX entry: www/mod_rpaf*
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 21 08:10:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vasil Dimov
>Release:        FreeBSD 6.0-RC1 amd64
>Organization:
DataMax
>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 ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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