Bug 87773

Summary: duplicate INDEX entry: www/mod_rpaf*
Product: Ports & Packages Reporter: Vasil Dimov <vd>
Component: Individual Port(s)Assignee: freebsd-apache (Nobody) <apache>
Status: Closed FIXED    
Severity: Affects Only Me CC: apache
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
mod_rpaf.diff
none
file.diff none

Description Vasil Dimov 2005-10-21 09:10:16 UTC
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...

Fix: I invented 2 other fixes, but this one is the simplest.
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2005-10-21 09:21:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

Over to maintainer(s)
Comment 2 Clement Laforet freebsd_committer freebsd_triage 2005-12-05 13:15:33 UTC
State Changed
From-To: open->closed

It's the correct behavior. Because you have WITH_APACHE2 defined. 
BTW, it's harmless in this case.
Comment 3 Vasil Dimov 2005-12-05 13:55:59 UTC
On Mon, Dec 05, 2005 at 01:16:27PM +0000, Clement Laforet wrote:
> Synopsis: duplicate INDEX entry: www/mod_rpaf*
>
> It's the correct behavior. Because you have WITH_APACHE2 defined.
> BTW, it's harmless in this case.
> 


No, I don't have WITH_APACHE2 defined:

# make -C /usr/ports/www/mod_rpaf -V WITH_APACHE2

# make -C /usr/ports/www/mod_rpaf2 -V WITH_APACHE2

#

I am not sure if this is harmless:

# make -C /usr/ports/www/mod_rpaf -V PKGNAME
mod_rpaf-ap20-0.5
# make -C /usr/ports/www/mod_rpaf2 -V PKGNAME
mod_rpaf-ap20-0.5
#

but it is surely tumultuous during ``make index''.

-- 
Vasil Dimov