diff options
author | leeym <leeym@FreeBSD.org> | 2003-04-11 10:17:22 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-04-11 10:17:22 +0800 |
commit | c5b4443b73df81d0c53ef8822aad046d700cfbd2 (patch) | |
tree | e611b419ea31bb2b5ba2c82425f76e3956331882 /www | |
parent | 6f7e27b9a43bb628b2483207ebd4684d56f8ecbd (diff) | |
download | freebsd-ports-gnome-c5b4443b73df81d0c53ef8822aad046d700cfbd2.tar.gz freebsd-ports-gnome-c5b4443b73df81d0c53ef8822aad046d700cfbd2.tar.zst freebsd-ports-gnome-c5b4443b73df81d0c53ef8822aad046d700cfbd2.zip |
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)
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-CGI-SpeedyCGI/Makefile | 6 | ||||
-rw-r--r-- | www/p5-CGI-SpeedyCGI/files/patch-src::SpeedyMake.pl | 10 | ||||
-rw-r--r-- | www/p5-CGI-SpeedyCGI/pkg-plist | 1 |
3 files changed, 16 insertions, 1 deletions
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 <bsd.port.mk> 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 |