tweak the mysql socket dir instructions

ok espie@
This commit is contained in:
jasper 2012-06-10 16:33:00 +00:00
parent 29f3695280
commit a7e47a4850
2 changed files with 7 additions and 6 deletions

View File

@ -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 <espie@openbsd.org>
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

View File

@ -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.