1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

net-mgmt/icingadb: include sql files needed for upgrade

Not sure how this worked without this change.

PR:		280595
This commit is contained in:
Dan Langille 2024-08-04 14:55:03 +00:00
parent 496fc69ac5
commit 703ed60153
2 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,5 @@
PORTNAME= icingadb
PORTREVISION= 1
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.0
CATEGORIES= net-mgmt
@ -43,7 +44,7 @@ post-patch:
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${MKDIR} ${STAGEDIR}${ETCDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
(cd ${WRKSRC} && ${COPYTREE_SHARE} "schema" ${STAGEDIR}${EXAMPLESDIR})
${INSTALL_DATA} ${WRKSRC}/config.example.yml ${STAGEDIR}${ETCDIR}/config.yml.sample
.include <bsd.port.mk>

View File

@ -1,8 +1,12 @@
bin/%%PORTNAME%%
@sample(root,wheel,0640) etc/%%PORTNAME%%/config.yml.sample
%%EXAMPLESDIR%%/schema/pgsql/upgrades/optional/1.2-0-history.sql
%%EXAMPLESDIR%%/schema/pgsql/upgrades/1.1.1.sql
%%EXAMPLESDIR%%/schema/pgsql/upgrades/1.2.0.sql
%%EXAMPLESDIR%%/schema/pgsql/schema.sql
%%EXAMPLESDIR%%/schema/mysql/schema.sql
%%EXAMPLESDIR%%/schema/mysql/upgrades/optional/1.2.0-history.sql
%%EXAMPLESDIR%%/schema/mysql/upgrades/1.1.1.sql
%%EXAMPLESDIR%%/schema/mysql/upgrades/1.0.0.sql
%%EXAMPLESDIR%%/schema/mysql/upgrades/1.0.0-rc2.sql
%%EXAMPLESDIR%%/schema/mysql/upgrades/1.2.0.sql