From nobody@FreeBSD.org  Mon Aug 13 09:50:34 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0FF2A16A41A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Aug 2007 09:50:34 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id F3F7113C4A3
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Aug 2007 09:50:33 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l7D9oX9r031342
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Aug 2007 09:50:33 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l7D9oXax031338;
	Mon, 13 Aug 2007 09:50:33 GMT
	(envelope-from nobody)
Message-Id: <200708130950.l7D9oXax031338@www.freebsd.org>
Date: Mon, 13 Aug 2007 09:50:33 GMT
From: Alexey Rubtsov <arubtsov@swsoft.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] Create packages for apache modules with unique names
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         115461
>Category:       ports
>Synopsis:       [patch] bsd.apache.mk - Create packages for apache modules with unique names
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pgollucci
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 13 10:00:03 GMT 2007
>Closed-Date:    Wed Apr 28 21:10:14 UTC 2010
>Last-Modified:  Wed May 19 23:10:02 UTC 2010
>Originator:     Alexey Rubtsov
>Release:        6.2-RELEASE-p4
>Organization:
>Environment:
FreeBSD rubtsov.plesk.ru 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007     root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Apache module has the same package name for various apache versions. 
>How-To-Repeat:
1. Install www/apache20.
2. Install some apache module, like www/mod_python3
3. pkg_info -qO www/mod_python3
4. Deinstall www/apache20 and install apache22
5. Reinstall apache module(www/mod_python3)
6. pkg_info -qO www/mod_python3

Compare output for item 3 and 6
>Fix:
Add PKGNAMEPREFIX variable for create package name into Mk/bsd.apache.mk

Patch attached with submission follows:

--- bsd.apache.mk-orig	Mon Jul 23 10:37:52 2007
+++ bsd.apache.mk	Mon Aug 13 13:53:27 2007
@@ -335,6 +335,8 @@
 .  endif
 .endfor
 
+PKGNAMEPREFIX?= ap${APACHE_VERSION}-
+
 BUILD_DEPENDS+=	${APXS}:${PORTSDIR}/${APACHE_PORT}
 RUN_DEPENDS+=	${APXS}:${PORTSDIR}/${APACHE_PORT}
 PLIST_SUB+=	AP_NAME="${SHORTMODNAME}"


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clement 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Aug 13 10:58:38 UTC 2007 
Responsible-Changed-Why:  
bsd.apache.mk is clement territory 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115461 

From: "Alexey Rubtsov" <arubtsov@swsoft.com>
To: bug-followup@freebsd.org, arubtsov@swsoft.com
Cc:  
Subject: Re: ports/115461: [patch] bsd.apache.mk - Create packages for apache modules with unique names
Date: Mon, 03 Sep 2007 15:22:24 +0700

 Are you remember about this bug?
State-Changed-From-To: open->suspended 
State-Changed-By: clement 
State-Changed-When: Tue Sep 18 19:27:09 UTC 2007 
State-Changed-Why:  
It was discussed already in the past. No consensus were found. 
The first step was bsd.apache.mk (and the removal of apache2). 
Now, all (or most of) apache modules must use USE_APACHE properly 
(i.e. no USE_APACHE=YES). When it gets done, we can add uniq prefix to  
modules. 
BTW, you can help us to make this happen. 

Thanks, 
clem 


http://www.freebsd.org/cgi/query-pr.cgi?pr=115461 
Responsible-Changed-From-To: clement->apache 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Wed Feb 4 10:33:32 UTC 2009 
Responsible-Changed-Why:  
over to apache@ 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115461 
Responsible-Changed-From-To: apache->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Mon May 18 10:45:38 UTC 2009 
Responsible-Changed-Why:  
99% of modules now USE_APACHE != yes (wee!) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115461 
State-Changed-From-To: suspended->open 
State-Changed-By: pgollucci 
State-Changed-When: Thu Jun 11 21:36:15 UTC 2009 
State-Changed-Why:  
unstalled, not too far off 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115461 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Wed Apr 28 21:10:13 UTC 2010 
State-Changed-Why:  
consolidate to 141688 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115461 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/115461: commit references a PR
Date: Wed, 19 May 2010 23:01:13 +0000 (UTC)

 pgollucci    2010-05-19 23:01:04 UTC
 
   FreeBSD ports repository
 
   Modified files:
     Mk                   bsd.apache.mk 
   Log:
   *****************************************************************************
               Implement PKGNAMEPREFIX=ap13|ap20|ap22
   *****************************************************************************
   
   - Create packages for USE_APACHE=x ports with PKGNAMEPREFIX [1]
   - Rephrase IGNORE statement, kill EOL spaces, reformat in Mk/bsd.apache.mk [2]
   - Remove USE_APACHE=yes, USE_APACHE=apr, and APR_DEPS=foo
   - Remove APACHE_COMPAT=X
   - Drop support for 21 [dev only release, not in tree for years now]
   
   PR:             ports/115461 [1], ports/133197 [2], ports/141688
   Submitted by:   myself (pgollucci@),
                   Alexey Rubtsov <arubtsov@swsoft.com> [1],
                   dafne [2]
   Requested by:   Several [1]
   Tested by:      2 -exp runs by pav
   Approved by:    portmgr (pav)
   With Hat:       apache@
   
   Revision  Changes    Path
   1.22      +8 -49     ports/Mk/bsd.apache.mk
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
