From a7e47a4850dc326b62456431bf8e1045a69f12f0 Mon Sep 17 00:00:00 2001 From: jasper Date: Sun, 10 Jun 2012 16:33:00 +0000 Subject: [PATCH] tweak the mysql socket dir instructions ok espie@ --- www/drupal7/core/Makefile | 7 ++++--- www/drupal7/core/pkg/README | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/www/drupal7/core/Makefile b/www/drupal7/core/Makefile index b8d143e67be..9e5ee455a0a 100644 --- a/www/drupal7/core/Makefile +++ b/www/drupal7/core/Makefile @@ -1,16 +1,17 @@ -# $OpenBSD: Makefile,v 1.2 2012/05/11 06:59:16 espie Exp $ +# $OpenBSD: Makefile,v 1.3 2012/06/10 16:33:00 jasper Exp $ COMMENT = powerful content management system MAINTAINER = Marc Espie - + DISTNAME = drupal-7.14 PKGNAME = drupal-7.14 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} +REVISION= 0 MODULES = lang/php RUN_DEPENDS = php-pdo_mysql-${MODPHP_VSPEC}|php-pdo_sqlite-${MODPHP_VSPEC}|php-pdo_pgsql-${MODPHP_VSPEC}:lang/php/${MODPHP_VERSION},-pdo_sqlite \ lang/php/${MODPHP_VERSION},-gd - + do-install: mkdir -p ${PREFIX}/${DRUPAL_ROOT} # copy base distrib diff --git a/www/drupal7/core/pkg/README b/www/drupal7/core/pkg/README index a3925fdb129..1511470eab2 100644 --- a/www/drupal7/core/pkg/README +++ b/www/drupal7/core/pkg/README @@ -1,4 +1,4 @@ -$OpenBSD: README,v 1.1 2012/04/10 12:52:32 espie Exp $ +$OpenBSD: README,v 1.2 2012/06/10 16:33:00 jasper Exp $ To enable a decent configuration of drupal, please create a symbolic link: @@ -13,9 +13,9 @@ In order to run with standard OpenBSD chroot'ed httpd: - make sure you can connect to your database. -Create a directory for the mysql socket. +Create a directory for the mysql socket and adjust permissions: - mkdir -p /var/www/var/run/mysql + install -d -g _mysql -o _mysql /var/www/var/run/mysql Adjust ${SYSCONFDIR}/my.cnf to put the mysql socket into the chroot.