From c5b4443b73df81d0c53ef8822aad046d700cfbd2 Mon Sep 17 00:00:00 2001 From: leeym Date: Fri, 11 Apr 2003 02:17:22 +0000 Subject: add SUID support, which is required by mail/openwebmail bump PORTREVISION PR: 50441 Submitted by: leeym Reviewed by: lars@thegler.dk (MAINTAINER) Approved by: lars@thegler.dk (MAINTAINER) --- www/p5-CGI-SpeedyCGI/Makefile | 6 +++++- www/p5-CGI-SpeedyCGI/files/patch-src::SpeedyMake.pl | 10 ++++++++++ www/p5-CGI-SpeedyCGI/pkg-plist | 1 + 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 www/p5-CGI-SpeedyCGI/files/patch-src::SpeedyMake.pl (limited to 'www') diff --git a/www/p5-CGI-SpeedyCGI/Makefile b/www/p5-CGI-SpeedyCGI/Makefile index ec24ff8d62dc..d2e5d13c4b36 100644 --- a/www/p5-CGI-SpeedyCGI/Makefile +++ b/www/p5-CGI-SpeedyCGI/Makefile @@ -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 @@ PKGNAMEPREFIX= p5- MAINTAINER= lars@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} 4755 ${PREFIX}/bin/speedy_suid + .include diff --git a/www/p5-CGI-SpeedyCGI/files/patch-src::SpeedyMake.pl b/www/p5-CGI-SpeedyCGI/files/patch-src::SpeedyMake.pl new file mode 100644 index 000000000000..41f7688a19e0 --- /dev/null +++ b/www/p5-CGI-SpeedyCGI/files/patch-src::SpeedyMake.pl @@ -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 --git a/www/p5-CGI-SpeedyCGI/pkg-plist b/www/p5-CGI-SpeedyCGI/pkg-plist index c92974411c67..1ecddc1b1222 100644 --- a/www/p5-CGI-SpeedyCGI/pkg-plist +++ b/www/p5-CGI-SpeedyCGI/pkg-plist @@ -2,6 +2,7 @@ lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CGI/SpeedyCGI/.packlist 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 -- cgit