svn commit: r511325 - head/net-mgmt/nagiosql
Dan Langille
dvl at FreeBSD.org
Fri Sep 6 16:13:46 UTC 2019
Author: dvl
Date: Fri Sep 6 16:13:44 2019
New Revision: 511325
URL: https://svnweb.freebsd.org/changeset/ports/511325
Log:
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.
Modified:
head/net-mgmt/nagiosql/Makefile
head/net-mgmt/nagiosql/distinfo
head/net-mgmt/nagiosql/pkg-descr
head/net-mgmt/nagiosql/pkg-plist
Modified: head/net-mgmt/nagiosql/Makefile
==============================================================================
--- head/net-mgmt/nagiosql/Makefile Fri Sep 6 16:05:59 2019 (r511324)
+++ head/net-mgmt/nagiosql/Makefile Fri Sep 6 16:13:44 2019 (r511325)
@@ -3,30 +3,32 @@
PORTNAME= nagiosql
PORTVERSION= 3.4.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-mgmt www
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/NagiosQL%20${PORTVERSION}/
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= dvl at FreeBSD.org
COMMENT= Web based administration tool for Nagios
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN= unfetchable
-
RUN_DEPENDS= nagios:net-mgmt/nagios \
${PEARDIR}/HTML/Template/IT.php:devel/pear-HTML_Template_IT@${PHP_FLAVOR}
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>
Modified: head/net-mgmt/nagiosql/distinfo
==============================================================================
--- head/net-mgmt/nagiosql/distinfo Fri Sep 6 16:05:59 2019 (r511324)
+++ head/net-mgmt/nagiosql/distinfo Fri Sep 6 16:13:44 2019 (r511325)
@@ -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
Modified: head/net-mgmt/nagiosql/pkg-descr
==============================================================================
--- head/net-mgmt/nagiosql/pkg-descr Fri Sep 6 16:05:59 2019 (r511324)
+++ head/net-mgmt/nagiosql/pkg-descr Fri Sep 6 16:13:44 2019 (r511325)
@@ -3,4 +3,4 @@ It helps you to easily build a complex configuration w
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
Modified: head/net-mgmt/nagiosql/pkg-plist
==============================================================================
--- head/net-mgmt/nagiosql/pkg-plist Fri Sep 6 16:05:59 2019 (r511324)
+++ head/net-mgmt/nagiosql/pkg-plist Fri Sep 6 16:13:44 2019 (r511325)
@@ -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
More information about the svn-ports-all
mailing list