NAME

RPM::Verify - Run rpm -v on every installed rpm, and give you a descriptive hash of the relevant changes.

VERSION

version 1.000

SYNOPSIS

# Ask for everything changed that isn't config, ghost, documentation, readmes or license files
# optionally pass a list of "known good" files which are modified without being config/ghosted
# as it is a regrettably common occurrence for commercial software and admins to engage in such shenanigans

use Data::Dumper;
use RPM::Verify;

print Dumper(RPM::Verify::alterations( skip_files => [qw{/bin/totally_not_suspicious_program}], skip_types => [qw{config ghost documentation readme license}] ));

SUBROUTINES

alterations(%options) = HASH

Dies in the event rpm or xargs aren't present on the system. If you don't have an RPM managed system with these available, I can't help you.

The skip_types argument will disregard changes of the provided types.

The skip_files argument will disregard changes to a particular file.

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/teodesian/RPM-Verify/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHORS

Current Maintainers:

  • George S. Baugh <teodesian@gmail.com>

COPYRIGHT AND LICENSE

Copyright (c) 2023 Troglodyne LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.