pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/typolight - Add write permission to plugins and sy...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8a578c8665d2
branches: trunk
changeset: 551163:8a578c8665d2
user: taca <taca%pkgsrc.org@localhost>
date: Tue Dec 09 07:27:39 2008 +0000
description:
- Add write permission to plugins and system/libraries directories.
- Remove description of using PostgreSQL for backend database
from files/README.
- Replace remained www/www to APACHE_USER/APACHE_GROUP in Makefile.
- Don't hardcord /typolight in files/typolight.conf.
Bump PKGREVISION.
diffstat:
www/typolight/Makefile | 8 ++++++--
www/typolight/files/README | 19 +------------------
www/typolight/files/typolight.conf | 4 ++--
3 files changed, 9 insertions(+), 22 deletions(-)
diffs (92 lines):
diff -r d19b23d4ceb2 -r 8a578c8665d2 www/typolight/Makefile
--- a/www/typolight/Makefile Tue Dec 09 07:24:14 2008 +0000
+++ b/www/typolight/Makefile Tue Dec 09 07:27:39 2008 +0000
@@ -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 @@
.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 @@
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 -r d19b23d4ceb2 -r 8a578c8665d2 www/typolight/files/README
--- a/www/typolight/files/README Tue Dec 09 07:24:14 2008 +0000
+++ b/www/typolight/files/README Tue Dec 09 07:27:39 2008 +0000
@@ -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 -r d19b23d4ceb2 -r 8a578c8665d2 www/typolight/files/typolight.conf
--- a/www/typolight/files/typolight.conf Tue Dec 09 07:24:14 2008 +0000
+++ b/www/typolight/files/typolight.conf Tue Dec 09 07:27:39 2008 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index