summaryrefslogtreecommitdiff
path: root/doc/makerepropkg.1.asciidoc
blob: 301b73e434032c058e9dc1eff6d0e29fc5adef30 (plain)
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
makerepropkg(1)
================

Name
----
makerepropkg - Rebuild a package to see if it is reproducible

Synopsis
--------
makerepropkg [OPTIONS] <package_file>

Description
-----------

Given the path to a built pacman package, attempt to rebuild it using the
PKGBUILD in the current directory. The package will be built in an environment
as closely matching the environment of the initial package as possible, by
building up a chroot to match the information exposed in the package's
linkman:BUILDINFO[5] manifest. On success, the resulting package will be
compared to the input package, and makerepropkg will report whether the
artifacts are identical.

This implements a verifier for pacman/libalpm packages in accordance with the
link:https://reproducible-builds.org/[Reproducible Builds] project.

Options
-------

*-d*::
	If packages are not reproducible, compare them using diffoscope.

*-c*::
	Set the pacman cache directory.

*-M* <file>::
	Location of a makepkg config file.

*-h*::
	Show this usage message

include::footer.asciidoc[]