mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
b89b72de26
This is remote Perl code execution via crafted GET variable "debugenableplugins", http://twiki.org/cgi-bin/view/Codev/SecurityAlert-CVE-2014-7236 MFH: 2014Q4 Security: 21ce1840-6107-11e4-9e84-0022156e8794
52 lines
1.6 KiB
Makefile
52 lines
1.6 KiB
Makefile
# Created by: Justin Hawkins <justin@hawkins.id.au>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= twiki
|
|
PORTVERSION= 5.1.4
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= SF/${PORTNAME}/TWiki%20for%20all%20Platforms/${DISTNAME} \
|
|
http://twiki.org/p/pub/Codev/Release/
|
|
DISTNAME= TWiki-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Flexible, powerful, and easy to use enterprise wiki
|
|
|
|
RUN_DEPENDS= \
|
|
p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \
|
|
p5-Algorithm-Diff>=0:${PORTSDIR}/devel/p5-Algorithm-Diff \
|
|
p5-Error>=0:${PORTSDIR}/lang/p5-Error \
|
|
p5-Text-Diff>=0:${PORTSDIR}/textproc/p5-Text-Diff \
|
|
p5-CGI-Session>=0:${PORTSDIR}/www/p5-CGI-Session \
|
|
p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \
|
|
p5-Locale-Maketext-Lexicon>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Lexicon \
|
|
p5-URI>=0:${PORTSDIR}/net/p5-URI \
|
|
p5-Archive-Tar>=0:${PORTSDIR}/archivers/p5-Archive-Tar \
|
|
p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
|
|
p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
|
|
twiki-TWikiUserMappingContrib>=0:${PORTSDIR}/www/twiki-TWikiUserMappingContrib
|
|
|
|
USES= perl5 tar:tgz
|
|
WRKSRC= ${WRKDIR}/twiki
|
|
|
|
USES+= cpe
|
|
|
|
post-extract:
|
|
@${RM} -rf ${WRKSRC}/lib/CPAN
|
|
@${CAT} ${.CURDIR}/../twiki-*/pkg-plist |\
|
|
${SED} -e 's|%%TWDIR%%|${WRKSRC}|;/^@/d' |\
|
|
${XARGS} ${RM} -f
|
|
@${FIND} ${WRKSRC} -name \*,v | while read f; do\
|
|
[ -e $${f%%,v} ] || ${RM} -f $$f; done
|
|
@${FIND} ${WRKSRC} -type d -empty -delete
|
|
|
|
post-patch:
|
|
${SED} -i "" -e "s|/home/httpd/twiki|${WWWDIR}|g" \
|
|
${WRKSRC}/lib/TWiki.spec \
|
|
${WRKSRC}/twiki_httpd_conf.txt
|
|
${FIND} ${WRKSRC} -name \*.orig -delete
|
|
|
|
.include "${.CURDIR}/bsd.twiki.mk"
|
|
.include <bsd.port.mk>
|