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:
parent
6db9e82001
commit
87a7fb201a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78718
@ -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>
|
||||
|
10
www/p5-CGI-SpeedyCGI/files/patch-src::SpeedyMake.pl
Normal file
10
www/p5-CGI-SpeedyCGI/files/patch-src::SpeedyMake.pl
Normal 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'),
|
||||
);
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user