ports/149684: [patch] port www/p5-CGI-SpeedyCGI

Olli Hauer ohauer at gmx.de
Sun Aug 15 23:40:01 UTC 2010


>Number:         149684
>Category:       ports
>Synopsis:       [patch] port www/p5-CGI-SpeedyCGI
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 15 23:40:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     ohauer
>Release:        
>Organization:
>Environment:


>Description:
After updateing my tinderbox to head I recogniced a long time hidden
bug in pkg-plist for p5-CGI-SpeedyCGI.

If build with option apache the port installs a module and activate
this in httpd.conf but it is not removed during deinstall.
Even the module is only activated if installed from the port.

>How-To-Repeat:
Build with apache and inspect httpd.conf before and after install/
deinstall from port/package

>Fix:
--- patch_www_p5-CGI-SpeedyCGI.txt begins here ---
--- Makefile
+++ Makefile
@@ -7,7 +7,7 @@

 PORTNAME=      CGI-SpeedyCGI
 PORTVERSION=   2.22
-PORTREVISION=  5
+PORTREVISION=  6
 CATEGORIES=    www perl5
 MASTER_SITES=  CPAN
 PKGNAMEPREFIX= p5-
--- pkg-plist
+++ pkg-plist
@@ -1,4 +1,6 @@
 %%APACHE%%%%APACHEMODDIR%%/mod_speedycgi.so
+%%APACHE%%@exec %D/sbin/apxs -e -a -n speedycgi %D/%F
+%%APACHE%%@unexec %D/sbin/apxs -e -A -n speedycgi %D/%F
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/SpeedyCGI/.packlist
 %%SITE_PERL%%/CGI/SpeedyCGI.pm
 bin/speedy
--- patch_www_p5-CGI-SpeedyCGI.txt ends here ---

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



More information about the freebsd-ports-bugs mailing list