summaryrefslogtreecommitdiff
path: root/www/drupal/Makefile
diff options
context:
space:
mode:
authoradrianp <adrianp>2007-10-18 13:01:35 +0000
committeradrianp <adrianp>2007-10-18 13:01:35 +0000
commita5628173bf9e7bee91a2ef2b8935cc028edffcb1 (patch)
tree65a04c516a90365b8e977b095a2cafc2d335b63f /www/drupal/Makefile
parent47f3e5c5699f9ac385db52bda4ee1aef2d7035e8 (diff)
downloadpkgsrc-a5628173bf9e7bee91a2ef2b8935cc028edffcb1.tar.gz
Update to 5.3
Fix a number of security issues: SA-2007-024 - Drupal Core - HTTP response splitting SA-2007-025 - Drupal Core - Arbitrary code execution via installer. SA-2007-026 - Drupal Core - Cross site scripting via uploads SA-2007-029 - Drupal Core - User deletion cross site request forgery SA-2007-030 - Drupal Core - API handling of unpublished comment Bugs: Redirect to home page after user registration requiring admin approval. More correct wording since some modules will actually work despite warning. variable search_cron_limit was not removed on search uninstall Append to instead of overwrite #suffix. hide administration pages links on module help pages if there are no admin links for the module See http://drupal.org/node/184395 for all the details
Diffstat (limited to 'www/drupal/Makefile')
-rw-r--r--www/drupal/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/www/drupal/Makefile b/www/drupal/Makefile
index c3db7c58070..d70bea4afdd 100644
--- a/www/drupal/Makefile
+++ b/www/drupal/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2007/07/27 21:44:32 adrianp Exp $
+# $NetBSD: Makefile,v 1.24 2007/10/18 13:01:35 adrianp Exp $
-DISTNAME= drupal-5.2
+DISTNAME= drupal-5.3
CATEGORIES= www
MASTER_SITES= http://drupal.org/files/projects/
@@ -18,6 +18,8 @@ PAX_DIRS= includes misc modules scripts themes
PKG_GROUPS_VARS+= APACHE_GROUP
PKG_USERS_VARS+= APACHE_USER
+BUILD_DEFS+= APACHE_USER APACHE_GROUP
+
OWN_DIRS+= ${DRUPAL}/sites/default
OWN_DIRS_PERMS+= ${DRUPAL}/files ${APACHE_USER} ${APACHE_GROUP} 0750
@@ -39,6 +41,14 @@ SUBST_MESSAGE.conf= Fixing configuration files.
.include "../../mk/apachever.mk"
.include "../../lang/php/phpversion.mk"
+.if ${PKG_PHP_VERSION} == "4"
+DEPENDS+= php>=4.4.7:../../www/php4
+.endif
+
+.if ${PKG_PHP_VERSION} == "5"
+DEPENDS+= php>=5.2.4:../../lang/php5
+.endif
+
.include "options.mk"
post-extract: