Summary: | net-mgmt/nagiosql: Update to 3.4.0 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Helmut Ritter <freebsd-ports> | ||||||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Only Me | CC: | chris, freebsd-ports | ||||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(chris) |
||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
Created attachment 197548 [details]
Update to 3.4.0
[helmut@BSDHelmut1164 /usr/ports/net-mgmt/nagiosql]$ sudo port test
===> Using ports tree /usr/ports
===> Validating port with portlint
WARN: Makefile: Consider adding support for a NLS knob to conditionally disable gettext support.
0 fatal errors and 1 warning found.
===> flags: PREFIX=/tmp/nagiosql-3.4.0 NO_DEPENDS=yes PKG_DBDIR=/tmp/pkg_db.l14Ik7t9 PORTSDIR=/usr/ports
--
===> Cleaning workspace before port test
===> Cleaning for nagiosql-3.4.0
===> Options unchanged
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by nagiosql-3.4.0 for building
===> Extracting for nagiosql-3.4.0
=> SHA256 Checksum OK for nagiosql-3.4.0.tar.bz2.
===> Patching for nagiosql-3.4.0
/usr/bin/sed -i.bak -e "s|\'/etc/nagiosql/|\'/tmp/nagiosql-3.4.0/etc/nagiosql/|g" -e "s|/opt/nagios/etc/objects/|/usr/local/etc/nagios/objects/|" -e "s|/opt/nagios/bin/nagios|/usr/local/bin/nagios|" -e "s|/var/nagios/nagios.lock|/var/spool/nagios/nagios.lock|" -e "s|/var/nagios/rw/nagios.cmd|/var/spool/nagios/rw/nagios.cmd|" -e "s|nagios/etc/|etc/nagios/|" -e "s|nagiosql/etc/|/tmp/nagiosql-3.4.0/etc/nagiosql/|" -e "s|\>/etc/nagiosql|\>/tmp/nagiosql-3.4.0/etc/nagiosql|g" -e "s|\>/etc/nagios/|\>/usr/local/etc/nagios/|g" /usr/ports/net-mgmt/nagiosql/work/nagiosql-3.4.0/install/sql/nagiosQL_v32_db_mysql.sql
/usr/bin/sed -i.bak -e "s|\"/etc/|\"/usr/local/etc/|" /usr/ports/net-mgmt/nagiosql/work/nagiosql-3.4.0/install/install.php
===> Configuring for nagiosql-3.4.0
===> Options unchanged
===> Staging for nagiosql-3.4.0
===> Generating temporary packing list
===> Creating groups.
===> Creating users
(cd /usr/ports/net-mgmt/nagiosql/work/nagiosql-3.4.0 && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . /usr/ports/net-mgmt/nagiosql/work/stage/tmp/nagiosql-3.4.0/www/nagiosql "! ( -name *\.orig -o -name *\.bak )")
====> Compressing man pages (compress-man)
===> Options unchanged
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)
===> Options unchanged
===> Building package for nagiosql-3.4.0
actual-package-depends: dependency on /usr/local/lib/libintl.so not registered (normal if it belongs to base)
actual-package-depends: dependency on /usr/local/lib/mysql/libmysqlclient.so.18 not registered (normal if it belongs to base)
actual-package-depends: dependency on /usr/local/bin/nagios not registered (normal if it belongs to base)
actual-package-depends: dependency on /usr/local/share/pear/HTML/Template/IT.php not registered (normal if it belongs to base)
actual-package-depends: dependency on /usr/local/include/php/main/php.h not registered (normal if it belongs to base)
===> Options unchanged
===> Installing for nagiosql-3.4.0
===> Checking if nagiosql already installed
actual-package-depends: dependency on /usr/local/lib/libintl.so not registered (normal if it belongs to base)
actual-package-depends: dependency on /usr/local/lib/mysql/libmysqlclient.so.18 not registered (normal if it belongs to base)
actual-package-depends: dependency on /usr/local/bin/nagios not registered (normal if it belongs to base)
actual-package-depends: dependency on /usr/local/share/pear/HTML/Template/IT.php not registered (normal if it belongs to base)
actual-package-depends: dependency on /usr/local/include/php/main/php.h not registered (normal if it belongs to base)
===> Registering installation for nagiosql-3.4.0
Installing nagiosql-3.4.0...
===> Creating groups.
Using existing group 'nagios'.
===> Creating users
Using existing user 'nagios'.
=======================================================================
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/ "/tmp/nagiosql-3.4.0/www/nagiosql/"
You will also need to enable the installer by creating a file
ENABLE_INSTALLER in the install dir
# touch /tmp/nagiosql-3.4.0/www/nagiosql/install/ENABLE_INSTALLER
=======================================================================
===> Checking pkg info
pkg: No package(s) matching nagiosql-3.4.0
===> Checking shared library dependencies
===> Deinstalling for nagiosql
===> Deinstalling nagiosql-3.4.0
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):
Installed packages to be REMOVED:
nagiosql-3.4.0
Number of packages to be removed: 1
The operation will free 6 MiB.
[1/1] Deinstalling nagiosql-3.4.0...
[1/1] Deleting files for nagiosql-3.4.0: 100%
==> You should manually remove the "nagios" user.
==> You should manually remove the "nagios" group
===> Extra files and directories check
===> Cleaning up after port test
===> Cleaning for nagiosql-3.4.0
===> Removing existing /tmp/nagiosql-3.4.0 dir
===> Done.
[helmut@BSDHelmut1164 /usr/ports/net-mgmt/nagiosql]$
Created attachment 197965 [details]
Update to 3.4.0
Aplogies for srewing up the patch, please use the latest one. Tests: https://www.charlieroot.de/FreeBSD/PRs/build_net-mgmt_nagiosql_2018-10-09-14-57.log A commit references this bug: Author: swills Date: Sat Nov 10 05:05:54 UTC 2018 New revision: 484572 URL: https://svnweb.freebsd.org/changeset/ports/484572 Log: net-mgmt/nagiosql: Update to 3.4.0 PR: 231671 Submitted by: Helmut Ritter <freebsd-ports@charlieroot.de> Approved by: maintainer timeout (chris@smartt.com, >2 weeks) Changes: head/net-mgmt/nagiosql/Makefile head/net-mgmt/nagiosql/distinfo head/net-mgmt/nagiosql/pkg-plist Committed, thanks! |
Created attachment 197440 [details] Update to 3.4.0 A new version of NagiosQL is available which works with PHP7. I started to work on the Makefile but due to the lack of time I was not able to complete it, pkg-plist still gives errors.