summaryrefslogtreecommitdiff
path: root/www/drupal/Makefile
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-03-04 01:29:39 +0000
committertaca <taca@pkgsrc.org>2010-03-04 01:29:39 +0000
commit62578286bb809bf0d0f4b3fa53a742c3dac02ed3 (patch)
tree427d506c36266c2169619038e2b732ccb046b3d1 /www/drupal/Makefile
parent3cfab9afd736479b41c1d2a202a5a93fed58491e (diff)
downloadpkgsrc-62578286bb809bf0d0f4b3fa53a742c3dac02ed3.tar.gz
Update drupal package to 5.22.
Drupal 5.22, 2010-03-03 ----------------------- - Fixed security issues (Open redirection, Locale module cross site scripting, Blocked user session regeneration), see SA-CORE-2010-001.
Diffstat (limited to 'www/drupal/Makefile')
-rw-r--r--www/drupal/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/www/drupal/Makefile b/www/drupal/Makefile
index 6ec70083e9f..c4cc97ed2f2 100644
--- a/www/drupal/Makefile
+++ b/www/drupal/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2009/12/19 09:20:23 taca Exp $
+# $NetBSD: Makefile,v 1.44 2010/03/04 01:29:39 taca Exp $
-DISTNAME= drupal-5.21
+DISTNAME= drupal-5.22
CATEGORIES= www
MASTER_SITES= http://drupal.org/files/projects/
@@ -43,15 +43,11 @@ SUBST_FILES.conf= drupal.conf
SUBST_SED.conf= -e "s|@DRUPAL@|${DRUPAL}|g"
SUBST_MESSAGE.conf= Fixing configuration files.
-PKG_DESTDIR_SUPPORT=destdir
+PKG_DESTDIR_SUPPORT= user-destdir
.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
@@ -84,9 +80,6 @@ do-install:
cd ${WRKSRC}/${i} && pax -rw . ${DESTDIR}${DRUPAL}/${i}
. endfor
- ${CHOWN} ${APACHE_USER}:${APACHE_GROUP} ${DESTDIR}${DRUPAL}/files
- ${CHMOD} 0770 ${DESTDIR}${DRUPAL}/files
-
post-install:
${FIND} ${DESTDIR}${DRUPAL} -name \*.jpg | ${XARGS} ${CHMOD} 0644
${FIND} ${DESTDIR}${DRUPAL} -name \*.png | ${XARGS} ${CHMOD} 0644