summaryrefslogtreecommitdiff
path: root/www/drupal/Makefile
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2007-04-09 19:28:27 +0000
committeradrianp <adrianp@pkgsrc.org>2007-04-09 19:28:27 +0000
commit212a511685e1a3b358de0ecb45baedba7f6dc121 (patch)
tree0946a5cc52b5ea0cbc38ddcc454e20dd85fabead /www/drupal/Makefile
parentcc310470668ec037f99291f9cfd97800fd902263 (diff)
downloadpkgsrc-212a511685e1a3b358de0ecb45baedba7f6dc121.tar.gz
Update to 5.1
Drupal 5.1, 2007-01-29 ---------------------- - fixed security issue (code execution), see SA-2007-005 - fixed a variety of small bugs. Drupal 5.0, 2007-01-15 ------------------------ - completely retooled the administration page * /admin now contains an administration page which may be themed * reorganised administration menu items by task and by module * added a status report page with detailed PHP/MySQL/Drupal information - added web-based installer which can: * check installation and run-time requirements * automatically generate the database configuration file * install pre-made 'install profiles' or distributions * import the database structure with automatic table prefixing * be localized - added new default Garland theme - added color module to change some themes' color schemes - included the jQuery JavaScript library 1.0.4 and converted all core JavaScript to use it - introduced the ability to alter mail sent from system - module system: * added .info files for module meta-data * added support for module dependencies * improved module installation screen * moved core modules to their own directories * added support for module uninstalling - added support for different cache backends - added support for a generic "sites/all" directory. - usability: * added support for auto-complete forms (AJAX) to user profiles. * made it possible to instantly assign roles to newly created user accounts. * improved configurability of the contact forms. * reorganized the settings pages. * made it easy to investigate popular search terms. * added a 'select all' checkbox and a range select feature to administration tables. * simplified the 'break' tag to split teasers from body. * use proper capitalization for titles, menu items and operations. - integrated urlfilter.module into filter.module - block system: * extended the block visibility settings with a role specific setting. * made it possible to customize all block titles. - poll module: * optionally allow people to inspect all votes. * optionally allow people to cancel their vote. - distributed authentication: * added default server option. - added default robots.txt to control crawlers. - database API: * added db_table_exists(). - blogapi module: * 'blogapi new' and 'blogapi edit' nodeapi operations. - user module: * added hook_profile_alter(). * e-mail verification is made optional. * added mass editing and filtering on admin/user/user. - PHP Template engine: * add the ability to look for a series of suggested templates. * look for page templates based upon the path. * look for block templates based upon the region, module, and delta. - content system: * made it easier for node access modules to work well with each other. * added configurable content types. * changed node rendering to work with structured arrays. - performance: * improved session handling: reduces database overhead. * improved access checking: reduces database overhead. * made it possible to do memcached based session management. * omit sidebars when serving a '404 - Page not found': saves CPU cycles and bandwidth. * added an 'aggressive' caching policy. * added a CSS aggregator and compressor (up to 40% faster page loads). - removed the archive module. - upgrade system: * created space for update branches. - forms API: * made it possible to programmatically submit forms. * improved api for multistep forms. - theme system: * split up and removed drupal.css. * added nested lists generation. * added a self-clearing block class.
Diffstat (limited to 'www/drupal/Makefile')
-rw-r--r--www/drupal/Makefile29
1 files changed, 19 insertions, 10 deletions
diff --git a/www/drupal/Makefile b/www/drupal/Makefile
index 84f9d8feb6b..728361cffc7 100644
--- a/www/drupal/Makefile
+++ b/www/drupal/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2007/02/22 19:27:19 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2007/04/09 19:28:27 adrianp Exp $
-DISTNAME= drupal-4.7.6
+DISTNAME= drupal-5.1
CATEGORIES= www
MASTER_SITES= http://drupal.org/files/projects/
@@ -13,11 +13,16 @@ DEPENDS+= ${PHP_PKG_PREFIX}-gd>=4.3.3:../../graphics/php-gd
NO_BUILD= YES
DRUPAL= ${PREFIX}/share/drupal
-PAX_DIRS= database includes misc modules scripts themes
+PAX_DIRS= includes misc modules scripts themes
BUILD_DEFS+= APACHE_USER APACHE_GROUP
+OWN_DIRS+= ${DRUPAL}/sites/default
+OWN_DIRS_PERMS+= ${DRUPAL}/files ${APACHE_USER} ${APACHE_GROUP} 0750
+
CONF_FILES= ${PREFIX}/share/examples/drupal/drupal.conf \
${PKG_SYSCONFDIR}/drupal.conf
+CONF_FILES+= ${PREFIX}/share/examples/drupal/default.profile \
+ ${DRUPAL}/profiles/default/default.profile
CONF_FILES_PERMS+= ${PREFIX}/share/examples/drupal/settings.php \
${DRUPAL}/sites/default/settings.php \
@@ -40,18 +45,22 @@ post-extract:
do-install:
${INSTALL_DATA_DIR} ${DRUPAL}
${INSTALL_DATA_DIR} ${DRUPAL}/files
+ ${INSTALL_DATA_DIR} ${DRUPAL}/profiles
+ ${INSTALL_DATA_DIR} ${DRUPAL}/profiles/default
${INSTALL_DATA_DIR} ${DRUPAL}/sites
+ ${INSTALL_DATA_DIR} ${DRUPAL}/sites/all
${INSTALL_DATA_DIR} ${DRUPAL}/sites/default
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/drupal
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/drupal
-
${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/drupal
+ ${INSTALL_DATA} ${WRKSRC}/sites/all/README.txt \
+ ${DRUPAL}/sites/all
${INSTALL_DATA} ${WRKSRC}/drupal.conf \
- ${PREFIX}/share/examples/drupal
- ${INSTALL_DATA} ${WRKSRC}/sites/default/settings.php \
- ${PREFIX}/share/examples/drupal
+ ${PREFIX}/share/examples/drupal/drupal.conf
${INSTALL_DATA} ${WRKSRC}/sites/default/settings.php \
- ${DRUPAL}/sites/default/settings.php.example
+ ${PREFIX}/share/examples/drupal/settings.php
+ ${INSTALL_DATA} ${WRKSRC}/profiles/default/default.profile \
+ ${PREFIX}/share/examples/drupal/default.profile
${INSTALL_DATA} ${WRKSRC}/*.php ${DRUPAL}
. for i in ${PAX_DIRS}
@@ -62,7 +71,7 @@ do-install:
${CHMOD} 0770 ${DRUPAL}/files
post-install:
- ${FIND} ${DRUPAL}/themes -name \*.jpg | ${XARGS} ${CHMOD} 0644
- ${FIND} ${DRUPAL}/themes -name \*.png | ${XARGS} ${CHMOD} 0644
+ ${FIND} ${DRUPAL} -name \*.jpg | ${XARGS} ${CHMOD} 0644
+ ${FIND} ${DRUPAL} -name \*.png | ${XARGS} ${CHMOD} 0644
.include "../../mk/bsd.pkg.mk"