diff options
-rw-r--r-- | www/typolight/Makefile | 8 | ||||
-rw-r--r-- | www/typolight/files/README | 19 | ||||
-rw-r--r-- | www/typolight/files/typolight.conf | 4 |
3 files changed, 9 insertions, 22 deletions
diff --git a/www/typolight/Makefile b/www/typolight/Makefile index b96e6bcbe2b..832faadba23 100644 --- a/www/typolight/Makefile +++ b/www/typolight/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2008/11/06 11:23:14 taca Exp $ +# $NetBSD: Makefile,v 1.5 2008/12/09 07:27:39 taca Exp $ # DISTNAME= typolight-${TL_VERSION} +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=typolight/} @@ -49,7 +50,8 @@ REQD_FILES+= ${TL_EGDIR}/${f} ${TL_WEBDIR}/${f} .endfor .for f in ${WWW_EG_FILES} -CONF_FILES_PERMS+= ${TL_EGDIR}/${f} ${TL_WEBDIR}/${f} www www 0644 +CONF_FILES_PERMS+= ${TL_EGDIR}/${f} ${TL_WEBDIR}/${f} \ + ${APACHE_USER} ${APACHE_GROUP} 0644 .endfor SUBST_CLASSES+= conf @@ -69,9 +71,11 @@ WWW_SYSFILES= config/.htaccess constants.php drivers functions.php \ INSTALLATION_DIRS+= ${TL_DOCDIR} ${TL_EGDIR} ${TL_WEBDIR}/system/config OWN_DIRS_PERMS+= \ ${TL_WEBDIR} ${BINOWN} ${APACHE_GROUP} 0775 \ + ${TL_WEBDIR}/plugins ${BINOWN} ${APACHE_GROUP} 0775 \ ${TL_WEBDIR}/system ${BINOWN} ${APACHE_GROUP} 0775 \ ${TL_WEBDIR}/system/drivers ${BINOWN} ${APACHE_GROUP} 0775 \ ${TL_WEBDIR}/system/html ${BINOWN} ${APACHE_GROUP} 0770 \ + ${TL_WEBDIR}/system/libraries ${BINOWN} ${APACHE_GROUP} 0775 \ ${TL_WEBDIR}/system/logs ${BINOWN} ${APACHE_GROUP} 0770 \ ${TL_WEBDIR}/system/modules ${BINOWN} ${APACHE_GROUP} 0775 \ ${TL_WEBDIR}/system/themes ${BINOWN} ${APACHE_GROUP} 0775 \ diff --git a/www/typolight/files/README b/www/typolight/files/README index d2e941e49e6..76a945d765c 100644 --- a/www/typolight/files/README +++ b/www/typolight/files/README @@ -1,34 +1,17 @@ -$NetBSD: README,v 1.1 2008/10/06 14:02:05 taca Exp $ - -Note: currently, PostgreSQL isn't tested well. +$NetBSD: README,v 1.2 2008/12/09 07:27:39 taca Exp $ 1. First, create a database for TYPOlight CMS. - * MySQL - # mysqladmin -p -u <administrator> create <dbname>. - * PostgreSQL - - # su pgsql - % createdb -E utf-8 <dbname> - 2. Next, create a user for accessing that database. - * MySQL - # mysql -p -u <administrator> <dbname> mysql> grant select, insert, update, delete, create, drop, index, alter, create temporary tables, lock tables on <dbname>.* to '<dbuser>'@'localhost' identified by '<dbpass>' ; - * PostgreSQL - - % createuser -D -A -R -P -E <dbuser> - Enter password for new role: <dbpass> - Enter it again: <dbpass> - 3. Edit ${PKG_SYSCONFDIR}/typolight.conf and include from httpd.conf. Include ${PKG_SYSCONFDIR}/typolight.conf diff --git a/www/typolight/files/typolight.conf b/www/typolight/files/typolight.conf index 47b92e11419..fa08876d052 100644 --- a/www/typolight/files/typolight.conf +++ b/www/typolight/files/typolight.conf @@ -1,4 +1,4 @@ -# $NetBSD: typolight.conf,v 1.1 2008/10/06 14:02:05 taca Exp $ +# $NetBSD: typolight.conf,v 1.2 2008/12/09 07:27:39 taca Exp $ # # If you set DocumentRoot to "@PREFIX@/@TL_WEBDIR@", @@ -6,7 +6,7 @@ # If you want to access typolight via sub directory, uncomment # below line. (http://www.example.org/typolight/) # -#Alias /typolight "@PREFIX@/@TL_WEBDIR@" +#Alias /@TL_WEBDIR@ "@PREFIX@/@TL_WEBDIR@" <Directory "@PREFIX@/@TL_WEBDIR@"> DirectoryIndex index.php index.html |