File: README.md

package info (click to toggle)
pkgdiff 1.8-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 428 kB
  • sloc: xml: 3,918; perl: 3,794; sh: 705; javascript: 82; makefile: 19
file content (66 lines) | stat: -rw-r--r-- 1,680 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
PkgDiff 1.8
===========

Package Changes Analyzer (pkgdiff) — a tool for visualizing changes in Linux software packages (RPM, DEB, TAR.GZ, etc).

Contents
--------

1. [ About   ](#about)
2. [ Install ](#install)
3. [ Usage   ](#usage)

About
-----

The tool is intended for Linux maintainers who are interested in ensuring compatibility of old and new versions of packages. The tool can compare directories as well (with the help of the -d option).

Sample report: https://abi-laboratory.pro/tracker/package_diff/libssh/0.6.5/0.7.0/report.html

The tool is developed by Andrey Ponomarenko.

Install
-------

    sudo make install prefix=/usr

###### Requires

* Perl 5
* GNU Diff
* GNU Wdiff
* GNU Awk
* GNU Binutils
* Perl-File-LibMagic

###### Suggests

* ABI Compliance Checker 1.99.1 or newer: https://github.com/lvc/abi-compliance-checker/
* ABI Dumper 0.97 or newer: https://github.com/lvc/abi-dumper

Usage
-----

    pkgdiff PKG1 PKG2 [options]

###### Example

    pkgdiff libssh-0.6.5.tar.xz libssh-0.7.0.tar.xz

###### Compare directories

    pkgdiff -d DIR1/ DIR2/ [options]

###### Useful options

| Option              | Meaning                                      |
|---------------------|----------------------------------------------|
| -c/-hide-unchanged  | Don't show unchanged files in the report     |
| -list-added-removed | Show content of added and removed text files |
| -skip-pattern REGEX | Don't check files matching REGEX             |
| -tmp-dir DIR        | Use custom temp directory                    |
| -d/-directories     | Compare directories instead of packages      |

###### Adv. usage

For advanced usage, see output of -help option.