ports/50441: update port: www/p5-CGI-SpeedyCGI

Yen-Ming Lee leeym at utopia.leeym.com
Sun Mar 30 01:20:13 UTC 2003


>Number:         50441
>Category:       ports
>Synopsis:       update port: www/p5-CGI-SpeedyCGI
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 29 17:20:08 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.0-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.0-RELEASE-p3 FreeBSD 5.0-RELEASE-p3 #41: Sun Mar 2 05:56:42 CST 2003 root at utopia.leeym.com:/mnt/obj/usr/src/sys/UTOPIA i386


	
>Description:
add SUID support, which is required by mail/openwebmail

>How-To-Repeat:
	
>Fix:

	

--- p5-CGI-SpeedyCGI.diff begins here ---
diff -ruN --exclude CVS /usr/ports/www/p5-CGI-SpeedyCGI/Makefile p5-CGI-SpeedyCGI/Makefile
--- /usr/ports/www/p5-CGI-SpeedyCGI/Makefile	Sat Mar  1 14:02:40 2003
+++ p5-CGI-SpeedyCGI/Makefile	Sun Mar 30 09:08:20 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	CGI-SpeedyCGI
 PORTVERSION=	2.21
+PORTREVISION=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	CGI
@@ -15,7 +16,10 @@
 MAINTAINER=	lars at thegler.dk
 COMMENT=	Speed up perl CGI scripts by running them persistently
 
-#SITE_PERL=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
 PERL_CONFIGURE=	yes
+
+post-install:
+	@${INSTALL_PROGRAM} ${WRKSRC}/speedy/speedy ${PREFIX}/bin/speedy_suid
+	@${CHMOD} 4555 ${PREFIX}/bin/speedy_suid
 
 .include <bsd.port.mk>
diff -ruN --exclude CVS /usr/ports/www/p5-CGI-SpeedyCGI/files/patch-src::SpeedyMake.pl p5-CGI-SpeedyCGI/files/patch-src::SpeedyMake.pl
--- /usr/ports/www/p5-CGI-SpeedyCGI/files/patch-src::SpeedyMake.pl	Thu Jan  1 08:00:00 1970
+++ p5-CGI-SpeedyCGI/files/patch-src::SpeedyMake.pl	Sun Mar 30 08:19:10 2003
@@ -0,0 +1,10 @@
+--- src/SpeedyMake.pl.orig	Sun Mar 30 08:17:01 2003
++++ src/SpeedyMake.pl	Sun Mar 30 08:18:59 2003
+@@ -214,6 +214,7 @@
+     join(' ',
+ 	"-DSPEEDY_PROGNAME=\\\"" . $class->my_name_full . "\\\"",
+ 	"-DSPEEDY_VERSION=\\\"\$(VERSION)\\\"",
++	"-DIAMSUID",
+ 	'-DSPEEDY_' . ($class->am_frontend ? 'FRONTEND' : 'BACKEND'),
+     );
+ }
diff -ruN --exclude CVS /usr/ports/www/p5-CGI-SpeedyCGI/pkg-plist p5-CGI-SpeedyCGI/pkg-plist
--- /usr/ports/www/p5-CGI-SpeedyCGI/pkg-plist	Mon Mar 25 21:42:29 2002
+++ p5-CGI-SpeedyCGI/pkg-plist	Sun Mar 30 08:26:37 2003
@@ -2,6 +2,7 @@
 lib/perl5/site_perl/%%PERL_VER%%/CGI/SpeedyCGI.pm
 bin/speedy
 bin/speedy_backend
+bin/speedy_suid
 @dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CGI/SpeedyCGI
 @unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CGI 2>/dev/null || true
 @unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/CGI 2>/dev/null || true
--- p5-CGI-SpeedyCGI.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list