rpminfo

RPM information


Retrieve RPM information using librpm.
Available functions:
- rpmvercmp to compare 2 EVRs
- rpminfo to retrieve information from a RPM file
- rpmdbinfo to rerieve information from an installed RPM
- rpmdbsearch to search installed RPMs

License: PHP 3.01

Latest releases

Version Release Download
0.5.0 2020-04-07 rpminfo-0.5.0.tgz
0.4.2 2020-03-25 rpminfo-0.4.2.tgz
0.4.1 2020-03-18 rpminfo-0.4.1.tgz
0.4.0 2020-03-13 rpminfo-0.4.0.tgz
0.3.1 2020-03-12 rpminfo-0.3.1.tgz
Show all releases

Changelog

Version Message
0.5.0 - add rpmaddtag() function
0.4.2 - improve reflection with better parameter names
- speed optimization: open DB only once per request
0.4.1 - fix build with RPM 4.12 (Fedora 21-22 only)
- add type hinting in reflection
- return NULL instead of FALSE on failure
0.4.0 - improve search logic, use index when exists and no search mode
- add 'full' parameter to rpmdbsearch
- allow 'rpmdbinfo' to search on NEVR (instead of name only)
- first "stable" release
0.3.1 - allow search by Pkgid, Hdrid, Installtid with specific input
- fix search with various other tags (Version, ...)
Show complete changelog