Bug 245453 - net-mgmt/ocsinventory-server: update to 2.7
Summary: net-mgmt/ocsinventory-server: update to 2.7
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: 2020-04-08 13:53 UTC by Mikael Urankar
Modified: 2020-04-11 15:47 UTC (History)
1 user (show)

See Also:
dgeo: maintainer-feedback+


Attachments
patch (32.35 KB, patch)
2020-04-08 13:53 UTC, Mikael Urankar
no flags Details | Diff
svn diff net-mgmt/ocsinventory-server (1.05 KB, patch)
2020-04-11 15:22 UTC, geoffroy desvernay
no flags Details | Diff
svn diff net-mgmt/ocsinventory-ocsreports (31.30 KB, patch)
2020-04-11 15:23 UTC, geoffroy desvernay
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer 2020-04-08 13:53:32 UTC
Created attachment 213192 [details]
patch

Update ocsinventory-server and ocsinventory-ocsreports

Fetch ocsreports with MASTER_SITES as the github repo doesn't contain the "vendor" directory which is needed for ocsreports.
Add two missing php modules (simplexml and curl)
Sort USE_PHP
Fix pkg-message, the conf is in dbconfig.inc.php

There is mention of ocsreports.conf in pkg-message, I don't find it in the plist, is it ocsreports.inc.sample?
Comment 1 geoffroy desvernay 2020-04-11 15:20:16 UTC
Thank you !

I started the same but did not found time to resolve the vendor dir issue :)
Comment 2 geoffroy desvernay 2020-04-11 15:22:30 UTC
Created attachment 213288 [details]
svn diff net-mgmt/ocsinventory-server

separate diffs and relative to port's tree
poudriere tested
Comment 3 geoffroy desvernay 2020-04-11 15:23:02 UTC
Created attachment 213289 [details]
svn diff net-mgmt/ocsinventory-ocsreports
Comment 4 geoffroy desvernay 2020-04-11 15:23:34 UTC
Comment on attachment 213192 [details]
patch

replaced by two diffs
Comment 5 geoffroy desvernay 2020-04-11 15:24:52 UTC
ready to apply :) (I can't "hide" the first diff)
Comment 6 commit-hook freebsd_committer 2020-04-11 15:45:19 UTC
A commit references this bug:

Author: mikael
Date: Sat Apr 11 15:44:31 UTC 2020
New revision: 531430
URL: https://svnweb.freebsd.org/changeset/ports/531430

Log:
  net-mgmt/ocsinventory-server: update to 2.7

  Changelog: https://github.com/OCSInventory-NG/OCSInventory-ocsreports/releases/tag/2.7

  PR:		245453
  Approved by:	Geoffroy Desvernay <dgeo@centrale-marseille.fr> (maintainer)

Changes:
  head/net-mgmt/ocsinventory-server/Makefile
  head/net-mgmt/ocsinventory-server/distinfo
Comment 7 commit-hook freebsd_committer 2020-04-11 15:47:21 UTC
A commit references this bug:

Author: mikael
Date: Sat Apr 11 15:46:44 UTC 2020
New revision: 531431
URL: https://svnweb.freebsd.org/changeset/ports/531431

Log:
  net-mgmt/ocsinventory-ocsreports: update to 2.7

   - Fetch ocsreports from MASTER_SITES as the github repo doesn't contain the
     "vendor" directory which is needed for ocsreports.
   - Add two missing php modules (simplexml and curl)
   - Sort USE_PHP
   - Fix pkg-message, the conf is in dbconfig.inc.php

  Changelog: https://github.com/OCSInventory-NG/OCSInventory-ocsreports/releases/tag/2.7

  PR:		245453
  Approved by:	Geoffroy Desvernay <dgeo@centrale-marseille.fr> (maintainer)

Changes:
  head/net-mgmt/ocsinventory-ocsreports/Makefile
  head/net-mgmt/ocsinventory-ocsreports/distinfo
  head/net-mgmt/ocsinventory-ocsreports/files/pkg-message.in
  head/net-mgmt/ocsinventory-ocsreports/pkg-plist