diff --git a/net-mgmt/icingadb/Makefile b/net-mgmt/icingadb/Makefile index 93e83b0e2dcf..c2057938ebf6 100644 --- a/net-mgmt/icingadb/Makefile +++ b/net-mgmt/icingadb/Makefile @@ -1,49 +1,50 @@ PORTNAME= icingadb DISTVERSIONPREFIX= v DISTVERSION= 1.4.0 +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= dvl@FreeBSD.org COMMENT= Publish, synchronize, and visualize Icinga data WWW= https://icinga.com/docs/icinga-db/latest/doc/02-Installation/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules pgsql WANT_PGSQL= contrib USE_RC_SUBR= icingadb PLIST_SUB= PORTNAME=${PORTNAME} # As copied from net-mgmt/icinga2 ICINGA2USER?= icinga ICINGA2GROUP?= icinga USERS= ${ICINGA2USER} GROUPS= ${ICINGA2GROUP} SUB_LIST= ICINGA2GROUP=${ICINGA2GROUP} \ ICINGA2USER=${ICINGA2USER} USE_GITHUB= yes GH_ACCOUNT= Icinga GH_PROJECT= icingadb GO_MODULE= github.com/icinga/icingadb GO_TARGET= ./cmd/icingadb SUB_LIST+= ICINGA2USER=${ICINGA2USER} \ PREFIX=${PREFIX} post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX|${PREFIX}|g' ${WRKSRC}/internal/config/config.go post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${MKDIR} ${STAGEDIR}${ETCDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} "schema" ${STAGEDIR}${EXAMPLESDIR}) ${INSTALL_DATA} ${WRKSRC}/config.example.yml ${STAGEDIR}${ETCDIR}/config.yml.sample .include diff --git a/net-mgmt/icingadb/pkg-plist b/net-mgmt/icingadb/pkg-plist index 2f3a3e154b7c..c9476a0fcbef 100644 --- a/net-mgmt/icingadb/pkg-plist +++ b/net-mgmt/icingadb/pkg-plist @@ -1,12 +1,16 @@ 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.0.0.sql +%%EXAMPLESDIR%%/schema/mysql/upgrades/1.1.1.sql %%EXAMPLESDIR%%/schema/mysql/upgrades/1.2.0.sql +%%EXAMPLESDIR%%/schema/mysql/upgrades/1.2.1.sql +%%EXAMPLESDIR%%/schema/mysql/upgrades/1.4.0.sql +%%EXAMPLESDIR%%/schema/mysql/upgrades/optional/1.2.0-history.sql +%%EXAMPLESDIR%%/schema/pgsql/schema.sql +%%EXAMPLESDIR%%/schema/pgsql/upgrades/1.1.1.sql +%%EXAMPLESDIR%%/schema/pgsql/upgrades/1.2.0.sql +%%EXAMPLESDIR%%/schema/pgsql/upgrades/1.2.1.sql +%%EXAMPLESDIR%%/schema/pgsql/upgrades/1.4.0.sql +%%EXAMPLESDIR%%/schema/pgsql/upgrades/optional/1.2-0-history.sql