Summary: | net-mgmt/ocsinventory-server and net-mgmt/ocsinventory-ocsreports fixes and upgrade from 2.5 to 2.6 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | geoffroy desvernay <dgeo> | ||||||||||
Component: | Individual Port(s) | Assignee: | Kurt Jaeger <pi> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Only Me | CC: | mikael, pi | ||||||||||
Priority: | --- | ||||||||||||
Version: | Latest | ||||||||||||
Hardware: | Any | ||||||||||||
OS: | Any | ||||||||||||
Attachments: |
|
Created attachment 198382 [details]
svn diff net-mgmt/ocsinventory-ocsreports
testbuilds@work @Kurt did it worked for you ? thanks for reminding me, I'll re-do the testbuild. It has been too long, I do not remember the results. I have problems with the builds for ocsreports, because of this: ===> ocsinventory-ocsreports-2.5_1 depends on file: /usr/local/lib/php/20180731/mysqli.so - not found ===> Installing existing package /packages/All/php73-mysqli-7.3.4.txz [cur-default] Installing php73-mysqli-7.3.4... [cur-default] Extracting php73-mysqli-7.3.4: .......... done ===> ocsinventory-ocsreports-2.5_1 depends on file: /usr/local/lib/php/20180731/mysqli.so - not found This happens because I have ZTS=on: Force Zend Thread Safety (ZTS) build for lang/php73, and this installs /usr/local/lib/php/20180731-zts/mysqli.so but the check is for /usr/local/lib/php/20180731/mysqli.so I have not yet found a solution for this (but I did spend much time on it). This doesn't seems related to this particular port, but to ports's php.mk, doesn't it ? If I get it well, using ZTS does break all ports using USE_PHP. This should be worked on in another PR I think… Do I miss something here ? (I wouldn't be surprised to :) It seems that PHP_EXT_DIR is not correctly determined in Mk/Uses/php.mk ? As if "php-config --extension-dir" returned a bad path ? Sorry I don't have a ZTS version here to check this quickly… Created attachment 212160 [details]
svn diff net-mgmt/ocsinventory-server
2.6
Created attachment 212161 [details]
svn diff net-mgmt/ocsinventory-ocsreports
patches updated for 2.6 A commit references this bug: Author: mikael Date: Wed Mar 18 10:25:34 UTC 2020 New revision: 528638 URL: https://svnweb.freebsd.org/changeset/ports/528638 Log: net-mgmt/ocsinventory-server: update to 2.6 Update to 2.6 Add missing lang/p5-Switch dependency PR: 232460 Submitted by: geoffroy Desvernay (maintainer) Approved by: manu (mentor, implicit) Changes: head/net-mgmt/ocsinventory-server/Makefile head/net-mgmt/ocsinventory-server/distinfo head/net-mgmt/ocsinventory-server/files/pkg-message.in head/net-mgmt/ocsinventory-server/pkg-plist Merci ! A commit references this bug: Author: mikael Date: Wed Mar 18 10:26:45 UTC 2020 New revision: 528639 URL: https://svnweb.freebsd.org/changeset/ports/528639 Log: net-mgmt/ocsinventory-ocsreports: update to 2.6 PR: 232460 Submitted by: geoffroy Desvernay (maintainer) Approved by: manu (mentor, implicit) Changes: head/net-mgmt/ocsinventory-ocsreports/Makefile head/net-mgmt/ocsinventory-ocsreports/distinfo head/net-mgmt/ocsinventory-ocsreports/files/apache.conf.in head/net-mgmt/ocsinventory-ocsreports/pkg-plist |
Created attachment 198381 [details] svn diff net-mgmt/ocsinventory-server * Some bugs stayed in templates files * Rename ocsreport's ETCDIR to get server and ocsreports live in same ETCDIR (moves only apache config templates, no break on existing setups) * setup.pl script would need some work too, but no these ones should be a better start - document it * add missing lang/p5-Switch dependency