Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  6 Oct 2007 14:35:57 -0700 (PDT)
From:      "Cory R. King" <coryking@mozimedia.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        coryking@mozimedia.com
Subject:   ports/116984: [patch] www/apache13-modssl missing perl5.8 as RUN_DEPENDS
Message-ID:  <20071006213557.9890F11514@coryhome1.xlan.org>
Resent-Message-ID: <200710062200.l96M03e8048684@freefall.freebsd.org>

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

>Number:         116984
>Category:       ports
>Synopsis:       [patch] www/apache13-modssl missing perl5.8 as RUN_DEPENDS
>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:   Sat Oct 06 22:00:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Cory R. King <coryking@mozimedia.com>
>Release:        FreeBSD 6.2-RELEASE-p3 i386
>Organization:
Mozi Media Group, LLC.
>Environment:
System: FreeBSD compiler.local 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #2: Sat Apr 14 15:51:51 PDT 2007 root@compiler.mozimedia.local:/mnt/binaries/obj/usr/src/sys/CORE2_62VM i386

>Description:
This ports is missing perl as a run dependancy.  APXS is actually a perl script, and I think apachectl is as well.

>How-To-Repeat:
You have to use a system like tinderbox that cleans out packages between each step.  This bug was probably never found because on a real system
we all have perl5 installed anyway and pointyhat never builds www/mod_* using this as an APACHE_PORT.

1) Compile www/apache13-modssl with any flags (I was using MOD_DEFLATE)
2) Compile something like mod_dav or mod_gzip and make sure they are building against this port for their APACHE_PORT.  

Under a system like tinderbox that guts out all the packages between builds, modules that rely on apxs to do their magic will fail because apxs wants perl, 
specifically /usr/local/bin/perl.

>Fix:
mark perl as a run dependancy, not just a build dep.

--- Makefile.patch begins here ---
? Makefile.patch
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/apache13-modssl/Makefile,v
retrieving revision 1.184
diff -u -r1.184 Makefile
--- Makefile	16 Sep 2007 20:05:48 -0000	1.184
+++ Makefile	6 Oct 2007 21:22:37 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	apache+mod_ssl
 PORTVERSION=	${VERSION_APACHE}+${VERSION_MODSSL}
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES?=	www security
 MASTER_SITES=	${MASTER_SITE_APACHE_HTTPD} \
 		${MASTER_SITES_MODSSL:S/$/:mod_ssl/} \
@@ -43,7 +43,7 @@
 VERSION_MODDEFLATE=	1.0.21
 USE_OPENSSL=	yes
 HAS_CONFIGURE=	yes
-USE_PERL5_BUILD=	yes
+USE_PERL5=	yes
 MASTER_SITES_MODSSL=	http://www.modssl.org/source/ \
 		ftp://ftp.modssl.org/source/ \
 		ftp://ftp.blatzheim.com/pub/mod_ssl/ \
--- Makefile.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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