Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 289569 Details for
Bug 213443
ocsinventory (New package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch needed for the latest agent version
equery-invocation.patch (text/plain), 670 bytes, created by
sulfinu
on 2011-10-11 14:51:06 UTC
(
hide
)
Description:
Patch needed for the latest agent version
Filename:
MIME Type:
Creator:
sulfinu
Created:
2011-10-11 14:51:06 UTC
Size:
670 bytes
patch
obsolete
>--- lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Gentoo.pm 2011-09-08 17:54:06.000000000 +0300 >+++ lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging/_Gentoo.pm 2011-10-11 14:50:49.000000000 +0300 >@@ -12,8 +12,7 @@ >-# TODO: This had been rewrite from the Linux agent _WITHOUT_ being checked! >- foreach (`equery list -i`){ >- if (/^([a-z]\w+-\w+\/\.*)-([0-9]+.*)/) { >- $common->addSoftware({ >- 'NAME' => $1, >- 'VERSION' => $2, >- }); >- } >+ foreach (`equery list -F '\$cp \$version \$repo' '*'`){ >+ /^(\S+) (\S+) (\S+)/; >+ $common->addSoftware({ >+ 'NAME' => $1, >+ 'VERSION' => $2, >+ 'FROM' => $3 >+ });
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213443
:
146162
|
146163
|
146165
|
146166
|
205123
|
205124
|
205126
|
205127
|
212694
|
212695
|
212703
|
212712
|
212714
|
226255
|
265481
|
266133
|
289567
| 289569 |
289601
|
294871
|
389718
|
391328
|
391330
|
391332
|
391334
|
391336
|
391338
|
391340
|
391342
|
396172
|
401148
|
401150