- Move SQL setup scripts from DATADIR to WWWDIR/etc, so the web setup wizard can find it

- Mention the SQL setup scripts in pkg-message for use in a manual configuration
- Bump PORTREVISION
This commit is contained in:
Lars Engels 2015-10-08 14:07:20 +00:00
parent 820c4ba247
commit e12f772942
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398826
3 changed files with 9 additions and 8 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= icingaweb2
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.0
PORTREVISION= 1
CATEGORIES= net-mgmt www
MAINTAINER= lme@FreeBSD.org
@ -41,11 +42,8 @@ do-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/bash_completion.d/
${INSTALL_DATA} ${WRKSRC}/etc/bash_completion.d/icingacli \
${STAGEDIR}${EXAMPLESDIR}/bash_completion.d
${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}/etc && \
${COPYTREE_SHARE} schema ${STAGEDIR}${DATADIR})
(cd ${WRKSRC} && ${RM} -r .mailmap changelog.py icingaweb2.spec \
bin/license_writer.py etc packages test)
bin/license_writer.py packages test)
${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && \
${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})

View file

@ -8,3 +8,6 @@ cd %%WWWDIR%% && ./bin/icingacli setup token create --config=%%ETCDIR%%
Enter this token on Icinga Web 2's setup interface at
http://localhost/icingaweb2/setup
If you like to create the database schemas manually, you can find the
SQL files at %%WWWDIR%%/etc/schema

View file

@ -1,10 +1,10 @@
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/apache/icingaweb2.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bash_completion.d/icingacli
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nginx/icingaweb2.conf
%%DATADIR%%/schema/mysql-upgrades/2.0.0beta3-2.0.0rc1.sql
%%DATADIR%%/schema/mysql.schema.sql
%%DATADIR%%/schema/pgsql-upgrades/2.0.0beta3-2.0.0rc1.sql
%%DATADIR%%/schema/pgsql.schema.sql
%%ETCDIR%%/schema/mysql-upgrades/2.0.0beta3-2.0.0rc1.sql
%%ETCDIR%%/schema/mysql.schema.sql
%%ETCDIR%%/schema/pgsql-upgrades/2.0.0beta3-2.0.0rc1.sql
%%ETCDIR%%/schema/pgsql.schema.sql
%%WWWDIR%%/AUTHORS
%%WWWDIR%%/COPYING
%%WWWDIR%%/ChangeLog