ports/115461: [patch] Create packages for apache modules with unique names

Alexey Rubtsov arubtsov at swsoft.com
Mon Aug 13 10:00:04 UTC 2007


>Number:         115461
>Category:       ports
>Synopsis:       [patch] Create packages for apache modules with unique names
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 13 10:00:03 GMT 2007
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list