Bug 192996 - net-mgmt/ocsinventory-agent: fix dependencies and upgrade to 2.1.1
Summary: net-mgmt/ocsinventory-agent: fix dependencies and upgrade to 2.1.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Many People
Assignee: John Marino
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-25 19:39 UTC by Philippe BEAUMONT
Modified: 2014-08-25 21:00 UTC (History)
1 user (show)

See Also:


Attachments
patch made with svn diff (15.31 KB, patch)
2014-08-25 19:39 UTC, Philippe BEAUMONT
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe BEAUMONT 2014-08-25 19:39:16 UTC
Created attachment 146268 [details]
patch made with svn diff

Hi,

I made a new version of the port for net-mgmt/ocsinventory-agent. 

The main feature is upgrading to 2.1.1.

I also correct a big failure in the port : dmidecode and lspci are essential for OCS Inventory NG Unix agent to run.

I have add some possibilities to add optionnals dependencies too. 

Regards, 

Philippe BEAUMONT
Comment 1 John Marino freebsd_committer freebsd_triage 2014-08-25 20:01:00 UTC
It looks pretty good, but the port is unmaintained.  Is there any chance you can provide poudriere, reports or other type of testlogs?
Comment 2 Philippe BEAUMONT 2014-08-25 20:41:53 UTC
I don't have any poudriere install on my test vm. I have do all test describe in the porter's handbook with succes but the "port test" give me an error that I don't understand :

====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
pkg-static: No packages installed
pkg-static: No packages installed
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: @dirrmtry %%PERL5_MAN3%%
Error: Orphaned: @dirrmtry lib/perl5/%%PERL_VER%%/man
Error: Orphaned: @dirrmtry lib/perl5/%%PERL_VER%%
Error: Orphaned: @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
Error: Orphaned: @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%
Error: Orphaned: @dirrmtry %%SITE_PERL%%
Error: Orphaned: @dirrmtry lib/perl5/site_perl
Error: Orphaned: @dirrmtry lib/perl5
===> Checking for directories owned by MTREEs
===> Checking for directories handled by dependencies
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
===> Warning: Test was done with PREFIX != LOCALBASE
===> Warning: The port may not be properly installing into PREFIX
*** Error code 1

Stop.
make: stopped in /root/ocsinventory-agent
===> Error running make check-orphans
===> Cleaning up

I have verify : the actual port do the sames error. 

The only thing I don't have do as test : install the binary package on a freebsd without perl installed to verify if the dependancy is add. 

I can answer many question on this software as I'm one member of the official dev team.
Comment 3 John Marino freebsd_committer freebsd_triage 2014-08-25 20:45:02 UTC
strange.  Let me run it through poudriere to see if I get the same.
Comment 4 John Marino freebsd_committer freebsd_triage 2014-08-25 20:55:40 UTC
There is something wrong with your test method, it built cleanly for me:

====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for directories owned by MTREEs
===> Checking for directories handled by dependencies
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)
====>> Checking for staging violations... done
=======================<phase: package        >============================
===>  Building package for Ocsinventory-Unix-Agent-2.1.1,1

I'll just commit it now.
Comment 5 commit-hook freebsd_committer freebsd_triage 2014-08-25 20:58:53 UTC
A commit references this bug:

Author: marino
Date: Mon Aug 25 20:58:32 UTC 2014
New revision: 366151
URL: http://svnweb.freebsd.org/changeset/ports/366151

Log:
  net-mgmt/ocsinventory-agent: Upgrade version 2.0.5 => 2.1.1

  PR:		192996
  Submitted by:	Phillip Beaumont

Changes:
  head/net-mgmt/ocsinventory-agent/Makefile
  head/net-mgmt/ocsinventory-agent/distinfo
  head/net-mgmt/ocsinventory-agent/files/patch-Makefile.PL
  head/net-mgmt/ocsinventory-agent/files/pkg-message.in
  head/net-mgmt/ocsinventory-agent/pkg-plist
Comment 6 John Marino freebsd_committer freebsd_triage 2014-08-25 21:00:54 UTC
Sorry about the anglisized spelling of your name.  I meant to check it before committing the fix, but I forgot to.