Unbreak by converting to GITLAB and a specfic commit.

The upstream project updates the tarball with hotfixes.
This is why the distfile was unfetchable.

Add LICENSE_FILE

Take maintainership. I might soon regret this.
This commit is contained in:
Dan Langille 2019-09-06 16:13:44 +00:00
parent e6f200df13
commit 371f00fd5c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=511325
4 changed files with 16 additions and 14 deletions

View File

@ -3,16 +3,14 @@
PORTNAME= nagiosql
PORTVERSION= 3.4.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net-mgmt www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/NagiosQL%20${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= dvl@FreeBSD.org
COMMENT= Web based administration tool for Nagios
LICENSE= GPLv2
BROKEN= unfetchable
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= nagios:net-mgmt/nagios \
${PEARDIR}/HTML/Template/IT.php:devel/pear-HTML_Template_IT@${PHP_FLAVOR}
@ -20,13 +18,17 @@ RUN_DEPENDS= nagios:net-mgmt/nagios \
USES= cpe gettext mysql php:web tar:bzip2
USE_PHP= filter gettext mysqli session simplexml
USE_GITLAB= yes
GL_ACCOUNT= wizonet
GL_COMMIT= 0f1c063740b4d3dae98d74f293c53234f341b06e
USERS?= nagios
GROUPS?= nagios
NAGIOSUSER?= nagios
NO_BUILD= yes
NO_ARCH= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}-${GL_COMMIT}-${GL_COMMIT}
SUB_FILES= pkg-message
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} NAGIOSUSER=${NAGIOSUSER}
@ -50,10 +52,10 @@ post-patch:
-e "s|nagiosql/etc/|${ETCDIR}/|" \
-e "s|>/etc/nagiosql|>${ETCDIR}|g" \
-e "s|>/etc/nagios/|>${LOCALBASE}/etc/nagios/|g" \
${WRKSRC}-${PORTVERSION}/install/sql/nagiosQL_v32_db_mysql.sql
${WRKSRC}/install/sql/nagiosQL_v32_db_mysql.sql
${REINPLACE_CMD} -e "s|\"/etc/|\"${LOCALBASE}/etc/|" \
${WRKSRC}-${PORTVERSION}/install/install.php
${WRKSRC}/install/install.php
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
@ -65,6 +67,6 @@ do-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}/backup/hosts
@${MKDIR} ${STAGEDIR}${ETCDIR}/backup/services
@${MKDIR} ${STAGEDIR}${ETCDIR}/backup/ssh
(cd ${WRKSRC}-${PORTVERSION} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} "! ( -name *\.orig -o -name *\.bak )")
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} "! ( -name *\.orig -o -name *\.bak )")
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1539089848
SHA256 (nagiosql-3.4.0.tar.bz2) = b03a8ef59785cf52ec9cce152c49198a7ae2ac14c54120740d53df834156d403
SIZE (nagiosql-3.4.0.tar.bz2) = 1032592
TIMESTAMP = 1567783899
SHA256 (wizonet-nagiosql-0f1c063740b4d3dae98d74f293c53234f341b06e_GL0.tar.gz) = 6de025f9cf79c199e0a6e37df76c82f0318e11f141f1dde603a74d9b1ba0ceea
SIZE (wizonet-nagiosql-0f1c063740b4d3dae98d74f293c53234f341b06e_GL0.tar.gz) = 1466412

View File

@ -3,4 +3,4 @@ It helps you to easily build a complex configuration with all options,
manage and use them. NagiosQL is based on a webserver with PHP, MySQL and
file access to the Nagios configuration files.
WWW: https://sourceforge.net/projects/nagiosql/
WWW: https://gitlab.com/wizonet/nagiosql

View File

@ -1,3 +1,4 @@
%%WWWDIR%%/LICENSE
%%WWWDIR%%/admin.php
%%WWWDIR%%/admin/administration.php
%%WWWDIR%%/admin/alarming.php
@ -106,7 +107,6 @@
%%WWWDIR%%/doc/CHANGELOG
%%WWWDIR%%/doc/INSTALLATION_deDE.txt
%%WWWDIR%%/doc/INSTALLATION_enGB.txt
%%WWWDIR%%/doc/LICENSE
%%WWWDIR%%/doc/README_SSH_KEY
%%WWWDIR%%/favicon.ico
%%WWWDIR%%/functions/Autoloader.php