www/contao: clean up

Remove support files for Contao 4 and later.
This commit is contained in:
taca 2019-04-09 13:07:42 +00:00
parent d0e79b03e7
commit e350b45850
3 changed files with 1 additions and 48 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.110 2018/09/18 16:14:35 taca Exp $
# $NetBSD: Makefile.common,v 1.111 2019/04/09 13:07:42 taca Exp $
#
# used by www/contao35/Makefile
@ -6,8 +6,6 @@ CT_VER= ${CT_VERSION:C/([0-9]+)\.([0-9]+)\..*/\1\2/}
CT_VERBASE= ${CT_VERSION:C/([0-9]+)\.([0-9]+)\..*/\1.\2/}
CT_PKGVER= ${CT_VERSION:S/.RC/rc/}
FILESDIR= ${.CURDIR}/../../www/contao/files
FILES_SUBST+= PAX=${PAX} CT_EGDIR=${CT_EGDIR:Q} CT_WEBDIR=${CT_WEBDIR:Q} \
WWWGRP=${APACHE_GROUP:Q} WWWOWN=${APACHE_USER:Q}
MESSAGE_SUBST+= CT_VER=${CT_VER}

View file

@ -1,22 +0,0 @@
$NetBSD: README,v 1.4 2015/12/16 09:23:54 taca Exp $
1. First, create a database for Contao Open Source CMS.
# mysqladmin -p -u <administrator> create <dbname>.
2. Next, create a user for accessing that database.
# 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>' ;
3. Edit ${PKG_SYSCONFDIR}/contao.conf and include from httpd.conf.
Include ${PKG_SYSCONFDIR}/contao.conf
4. Set DocumentRoot to ${CT_WEBDIR}/web, then reload or restart Apache.
5. Start setup from Contao installer, the installer's URL is
http://www.example.org/install.php.

View file

@ -1,23 +0,0 @@
# $NetBSD: contao.conf,v 1.4 2015/12/13 14:37:08 taca Exp $
#
# If you want to use contao for whole web site, set your DocumentRoot to
# "@PREFIX@/@CT_WEBDIR@/web". (http://www.example.org/)
#
# If you want to use contao on sub directory, uncomment below line.
# (http://www.example.org/subdir/)
#
#Alias /subdir "@PREFIX@/@CT_WEBDIR@/web"
<Directory "@PREFIX@/@CT_WEBDIR@">
DirectoryIndex index.php index.html
Options Indexes SymLinksIfOwnerMatch FollowSymLinks
AllowOverride All
<IfModule !mod_authz_core.c>
Order allow,deny
Allow from all
</IfModule>
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
</Directory>