1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

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)
This commit is contained in:
Yen-Ming Lee 2003-04-11 02:17:22 +00:00
parent 6db9e82001
commit 87a7fb201a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78718
3 changed files with 16 additions and 1 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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'),
);
}

View File

@ -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