-
Notifications
You must be signed in to change notification settings - Fork 53
Home
Package Changes Analyzer (pkgdiff) is a tool for analyzing changes in Linux software packages (RPM, DEB, TAR.GZ, etc). The tool is intended for Linux maintainers who are interested in ensuring compatibility of old and new versions of packages.
The latest release can be downloaded from this page.
Read-only access to the latest development version:
git clone git://github.com/pkgdiff/pkgdiff
This program is free software. You may use, redistribute and/or modify it under the terms of the GNU GPL
GNU/Linux, FreeBSD
- Perl 5 (5.8-5.14)
- GNU Wdiff
- GNU Binutils (readelf)
- RPM (rpm2cpio, rpm) for analysis of RPM packages
- DPKG (dpkg-deb, dpkg) for analysis of DEB packages
- ABI Compliance Checker (>=1.96)
The tool is ready-to-use after extracting the archive. You can also use a Makefile to install the tool into the system:
cd pkgdiff-x.y.z/ sudo perl Makefile.pl --install --prefix=PREFIX [/usr, /usr/local]
This command will install a pkgdiff
program to the PREFIX/bin
system directory and private modules into the PREFIX/share
.
pkgdiff -old OLD.rpm -new NEW.rpm
The HTML report will be generated to:
pkgdiff_reports/<pkg>/<v1>_to_<v2>/compat_report.html
For advanced usage, see output of --help option:
pkgdiff --help
If you need to analyze a group of packages then you can create an XML-descriptor of this group (OLD.xml
file):
<group> libglib </group> <packages> libglib2.0-devel-2.24.1-1mdv2010.1.i586.rpm libglib2.0_0-2.24.1-1mdv2010.1.i586.rpm </packages>
And then pass XML-descriptors of old and new versions of a group to the tool:
pkgdiff -old OLD.xml -new NEW.xml
The HTML report will be generated to:
pkgdiff_reports/<group>/<v1>_to_<v2>/compat_report.html
Please post your bug reports, feature requests and questions to the issue tracker.
The tool is developed by the ROSA Laboratory.
Andrey Ponomarenko is the leader of this project.