Bug 231671 - net-mgmt/nagiosql: Update to 3.4.0
Summary: net-mgmt/nagiosql: Update to 3.4.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-24 15:29 UTC by Helmut Ritter
Modified: 2018-11-10 05:07 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (chris)


Attachments
Update to 3.4.0 (2.71 KB, text/plain)
2018-09-24 15:29 UTC, Helmut Ritter
no flags Details
Update to 3.4.0 (9.91 KB, patch)
2018-09-27 14:03 UTC, Helmut Ritter
no flags Details | Diff
Update to 3.4.0 (10.65 KB, patch)
2018-10-09 13:05 UTC, Helmut Ritter
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Ritter 2018-09-24 15:29:39 UTC
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.
Comment 1 Helmut Ritter 2018-09-27 14:03:51 UTC
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]$
Comment 2 Helmut Ritter 2018-10-09 13:05:17 UTC
Created attachment 197965 [details]
Update to 3.4.0
Comment 3 Helmut Ritter 2018-10-09 13:06:38 UTC
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
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-11-10 05:06:30 UTC
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
Comment 5 Steve Wills freebsd_committer freebsd_triage 2018-11-10 05:07:00 UTC
Committed, thanks!