NagiosQL is a web based administration tool for Nagios.
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.
===> The following configuration options are available for nagiosql-3.5.0.20241012:
CURL=off: Configure with cURL support
FTP=off: Configure with FTP support
NAGIOS4=off: Configure with Nagios 4
===> Use 'make config' to modify these settings
Nagiosql is now installed. If you install it for the first time,
you may have to add an alias in apache config for it.
Alias /nagiosql/ "/usr/local/www/nagiosql/"
You will also need to enable the installer by creating a file
ENABLE_INSTALLER in the install dir
# touch /usr/local/www/nagiosql/install/ENABLE_INSTALLER
net-mgmt/nagiosql: Update to nagiosql-3.5.0.20240119
This picks up recent changes for PHP 8.2
I have tested it with PHP 8.3 and it works here.
Reported by: bofh
bsd.sites.mk: Update all ports using USE_GITLAB
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is
backwards-compatible (accepting any commit hash as before), but also
understands an actual tag name. Moving to tag names where appropriate is
left to individual ports' maintainers.
Approved by: portmgr (tcberner, mentor)
Differential Revision: https://reviews.freebsd.org/D37077
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
net-mgmt: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* @BABOLO <.@babolo.ru>
* Alex Samorukov, samm@freebsd.org
* Alexander Kriventsov <avk@vl.ru>
* Alexander Sulfrian <alexander@sulfrian.net>
* Alexander Y. Grigoryev <alexander.4mail@gmail.com>
* Alexandre Biancalana <ale@biancalanas.net>
* Alexandre Snarskii <snar@paranoia.ru>
* Alexandre Snarskii <snar@snar.spb.ru>
* Alexey Bobkov <mr.deadlystorm@gmail.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alexey V. Degtyarev
(Only the first 15 lines of the commit message are shown above )
Regenerate all distfiles using gitlab as source.
This regeneration is required as the new gitlab version changed
the address and the directory the source files can be downloaded.
This commit also applies some small fixes to make sure all ports using
gitlab are buildable.
Reviewed by: mat
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D29628
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.
net-mgmt/nagiosql: Remove redundant regex escapes
nagiosql's Makefile currently has some redundant escaping of single
quotes in its Makefile. These get passed through as escaped single
quotes to regex(3), which is an escape of an ordinary character.
Such escapes will be forbidden in a future version of regex(3), so
we'll get ahead of the game and remove said escapes now.
While here, there are two questionable expressions: -e
"s|\>/etc/nagiosql|\>${ETCDIR}|g" and the one immediately following
it. \> is a word delimiter (see reformat(7)), and will only match
as such. If this were to match, it would replace <word
delimiter>/etc/nagiosql with >${ETCDIR} -- this likely works as
intended now, but I think it was intended that it matches a literal
>/etc/nagiosql, so the included patch treats it accordingly.
- While here reset MAINTAINER after a timeout of 3 months and
repeated previous timeouts
PR: 233458
Submitted by: kevans
Approved by: chris@smartt.com (maintainer timeout, 3 months)
Introduce PHP flavors.
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
flavored. They will automatically get flavors (php56, php70, php71, php72)
depending of the versions they support (set with IGNORE_WITH_PHP). As a
consequence, ports using USES=pear and USES=horde are also flavored.
PR: 226242
Submitted by: mat
Exp-run by: antoine
Approved by: portmgr
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D14208
Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category N.
CR: D307
Approved by: portmgr (bapt)
update to nagiosql 3.2.0_SP2
- use OPTIONS-NG
- make php5-ftp to optional (I suspect local file or SSH is the preferred config
distribuiton methode)
- remove all patch files, they are already included in the re-rolled sourcefile
- use DISTSUBDIR (unluckily distversion does not increment with applied patches)
- WWWGROUP is not defined it is WWWGRP (Makefile)
- define WRKSRC
- use COPYTREE_SHARE instead cp
- use post-install script to create $ETCDIR structure
additional for fresh install (adjust paths in sql script)
- change default nagiosql paths from /etc/nagiosql -> ${ETCDIR}
- change default nagios paths from /etc/nagios -> ${LOCALBASE}/etc/nagios
PR: 175457
Submitted by: ohauer
Approved by: maintainer timeout
NagiosQL is a web based administration tool for Nagios.
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: http://www.nagiosql.org/
PR: ports/152974
Submitted by: Chris St Denis <chris at smartt.com>