openbsd-ports/www/drupal6/FCKeditor/Makefile
sthen 0ac32ec156 SECURITY update to drupal-FCKeditor 2.3; XSS and arbitrary PHP code execution
for users with FCKeditor access privileges. ok espie@
2012-03-18 16:16:24 +00:00

22 lines
656 B
Makefile

# $OpenBSD: Makefile,v 1.13 2012/03/18 16:16:24 sthen Exp $
COMMENT = FCKeditor for drupal
DISTNAME = fckeditor-6.x-2.3
PKGNAME = drupal6-fckeditor-2.3
DISTFILES = ${DISTNAME}.tar.gz \
FCKeditor_2.6.6.tar.gz:0
EXTRACT_ONLY = ${DISTNAME}.tar.gz
MASTER_SITES0 = ${MASTER_SITE_SOURCEFORGE:=fckeditor/}
post-extract:
cd ${WRKDIST} && tar zxf ${FULLDISTDIR}/FCKeditor_2.6.6.tar.gz
chmod -R u+wX ${WRKDIST}/fckeditor
post-install:
mv ${PREFIX}/${DRUPAL_MODS}/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php \
${PREFIX}/${DRUPAL_MODS}/fckeditor/fckeditor/editor/filemanager/connectors/php/default.config.php
.include <bsd.port.mk>